1 |
commit: 1e7c761464a83187b2a3794048681c388ce833eb |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 12:20:28 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 12:21:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e7c7614 |
7 |
|
8 |
dev-python/python-mpd: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
dev-python/python-mpd/python-mpd-1.0.0.ebuild | 43 ----------------------- |
14 |
dev-python/python-mpd/python-mpd-1.1.0.ebuild | 50 --------------------------- |
15 |
2 files changed, 93 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/python-mpd/python-mpd-1.0.0.ebuild b/dev-python/python-mpd/python-mpd-1.0.0.ebuild |
18 |
deleted file mode 100644 |
19 |
index bca3a1df982..00000000000 |
20 |
--- a/dev-python/python-mpd/python-mpd-1.0.0.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,43 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-DESCRIPTION="Python MPD client library" |
32 |
-HOMEPAGE="https://github.com/Mic92/python-mpd2" |
33 |
-SRC_URI="https://github.com/Mic92/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
- |
35 |
-LICENSE="LGPL-3" |
36 |
-KEYWORDS="amd64 ~ppc ~ppc64 x86" |
37 |
-SLOT="0" |
38 |
-IUSE="test +twisted" |
39 |
- |
40 |
-REQUIRED_USE="test? ( twisted )" |
41 |
- |
42 |
-BDEPEND=" |
43 |
- test? ( |
44 |
- dev-python/filelock[${PYTHON_USEDEP}] |
45 |
- dev-python/mock[${PYTHON_USEDEP}] |
46 |
- dev-python/toml[${PYTHON_USEDEP}] |
47 |
- dev-python/tox[${PYTHON_USEDEP}] |
48 |
- ) |
49 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
-" |
51 |
-DEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )" |
52 |
-RDEPEND="${DEPEND}" |
53 |
- |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-DOCS=( doc/changes.rst doc/topics/{advanced,commands,getting-started,logging}.rst README.rst ) |
57 |
- |
58 |
-S="${WORKDIR}/${PN}2-${PV}" |
59 |
- |
60 |
-distutils_enable_tests setup.py |
61 |
- |
62 |
-python_prepare_all() { |
63 |
- distutils-r1_python_prepare_all |
64 |
- rm tox.ini || die |
65 |
-} |
66 |
|
67 |
diff --git a/dev-python/python-mpd/python-mpd-1.1.0.ebuild b/dev-python/python-mpd/python-mpd-1.1.0.ebuild |
68 |
deleted file mode 100644 |
69 |
index de5bfd27925..00000000000 |
70 |
--- a/dev-python/python-mpd/python-mpd-1.1.0.ebuild |
71 |
+++ /dev/null |
72 |
@@ -1,50 +0,0 @@ |
73 |
-# Copyright 1999-2020 Gentoo Authors |
74 |
-# Distributed under the terms of the GNU General Public License v2 |
75 |
- |
76 |
-EAPI=7 |
77 |
- |
78 |
-DISTUTILS_USE_SETUPTOOLS="bdepend" |
79 |
-PYTHON_COMPAT=( python3_{6..9} ) |
80 |
- |
81 |
-inherit distutils-r1 |
82 |
- |
83 |
-DESCRIPTION="Python MPD client library" |
84 |
-HOMEPAGE="https://github.com/Mic92/python-mpd2" |
85 |
-SRC_URI="https://github.com/Mic92/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
86 |
- |
87 |
-LICENSE="LGPL-3+" |
88 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
89 |
-SLOT="0" |
90 |
-IUSE="examples test +twisted" |
91 |
- |
92 |
-REQUIRED_USE="test? ( twisted )" |
93 |
- |
94 |
-RDEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )" |
95 |
- |
96 |
-DEPEND="${DEPEND}" |
97 |
- |
98 |
-BDEPEND=" |
99 |
- test? ( |
100 |
- dev-python/mock[${PYTHON_USEDEP}] |
101 |
- dev-python/toml[${PYTHON_USEDEP}] |
102 |
- ) |
103 |
-" |
104 |
- |
105 |
-RESTRICT="!test? ( test )" |
106 |
- |
107 |
-DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. ) |
108 |
- |
109 |
-S="${WORKDIR}/${PN}2-${PV}" |
110 |
- |
111 |
-distutils_enable_sphinx doc --no-autodoc |
112 |
-distutils_enable_tests pytest |
113 |
- |
114 |
-python_test() { |
115 |
- pytest mpd/tests.py -vv || die "Tests fail with ${EPYTHON}" |
116 |
-} |
117 |
- |
118 |
-python_install_all() { |
119 |
- distutils-r1_python_install_all |
120 |
- |
121 |
- use examples && dodoc -r examples/. |
122 |
-} |