Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-distutils-extra/
Date: Sat, 28 Mar 2020 21:11:46
Message-Id: 1585429858.12a21978151bac1a08ef892b5f2b42cf5ced252c.mgorny@gentoo
1 commit: 12a21978151bac1a08ef892b5f2b42cf5ced252c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 20:54:59 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 21:10:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a21978
7
8 dev-python/python-distutils-extra: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-distutils-extra/Manifest | 2 -
13 .../python-distutils-extra-2.38.ebuild | 41 ----------------
14 .../python-distutils-extra-2.39.ebuild | 54 ----------------------
15 .../python-distutils-extra-2.42.ebuild | 51 --------------------
16 4 files changed, 148 deletions(-)
17
18 diff --git a/dev-python/python-distutils-extra/Manifest b/dev-python/python-distutils-extra/Manifest
19 index e1bb79db7e3..5de44833a32 100644
20 --- a/dev-python/python-distutils-extra/Manifest
21 +++ b/dev-python/python-distutils-extra/Manifest
22 @@ -1,3 +1 @@
23 -DIST python-distutils-extra-2.38.tar.gz 27748 BLAKE2B 5f47e27dc639a6259a812bd618d35c4bc0a39362f3b7bf1a2e35331dfbd06b6b16a3030e125a8f5869770324a8df6eb446a5855639ed1b83379297509ea48891 SHA512 bbaea59a8f251f354e6cf3799b67c12225095cc869c7c4e299e719ad7bcfd1292cff99f95ab25f04fb9c3e2432da5ea614ee76154781388c47960fdf2c90a3d7
24 -DIST python-distutils-extra-2.39.tar.gz 27389 BLAKE2B 06deca885aa283e0a52e38c89f71637573d45d73dfbace5a06b4bbfa04098a7fa4fde1c2891bde5cc5ed3a3a65e31d243feaa8465a4fddb4623435e7a47c902e SHA512 e3b4d1ed22767fb4c6dbbdccef960865b6fda01d18dc38cb8f9357c09c7eabb78466fce053e407a196eca257d07d57c5c1ef47f358a5979c7f22e4b11775124e
25 DIST python-distutils-extra_2.42.tar.xz 37996 BLAKE2B dee4cc950bb34027b60dcf58e173bae502a7090062e3c2218fd2ec562d6350f5872ed5c0865b89f1463bd35be0f365f23e05bb0220f70a944181af40df42ee60 SHA512 ff0df0a25a29504bec89970dbbf24d0b618e9f2d5d07a037f67778b86c92e880eafee86dd102b4ada4f280abd3102de9f4a4e47dbc68c1eaaa05fb492cbbae29
26
27 diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild
28 deleted file mode 100644
29 index 35c8e55ac67..00000000000
30 --- a/dev-python/python-distutils-extra/python-distutils-extra-2.38.ebuild
31 +++ /dev/null
32 @@ -1,41 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
43 -HOMEPAGE="https://launchpad.net/python-distutils-extra"
44 -SRC_URI="https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="amd64 ppc x86"
49 -IUSE=""
50 -
51 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
52 -RDEPEND="${DEPEND}"
53 -
54 -DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} )
55 -
56 -DISTUTILS_IN_SOURCE_BUILD=1
57 -
58 -python_prepare_all() {
59 - # Disable broken tests.
60 - sed \
61 - -e "s/test_desktop/_&/" -e "s/test_po(/_&/" \
62 - -e "s/test_policykit/_&/" -e "s/test_requires_provides/_&/" \
63 - -i test/auto.py || die
64 -
65 - distutils-r1_python_prepare_all
66 -}
67 -
68 -python_test() {
69 - # 5 tests fail with disabled byte-compilation (they rely on exact
70 - # output from python).
71 - local -x PYTHONDONTWRITEBYTECODE
72 - "${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}"
73 -}
74
75 diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
76 deleted file mode 100644
77 index d361314f14e..00000000000
78 --- a/dev-python/python-distutils-extra/python-distutils-extra-2.39.ebuild
79 +++ /dev/null
80 @@ -1,54 +0,0 @@
81 -# Copyright 1999-2020 Gentoo Authors
82 -# Distributed under the terms of the GNU General Public License v2
83 -
84 -EAPI=6
85 -
86 -PYTHON_COMPAT=( python{2_7,3_6} pypy3 )
87 -
88 -inherit distutils-r1
89 -
90 -DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
91 -HOMEPAGE="https://launchpad.net/python-distutils-extra"
92 -SRC_URI="https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
93 -
94 -LICENSE="GPL-2+"
95 -SLOT="0"
96 -KEYWORDS="amd64 ppc x86"
97 -IUSE="test"
98 -RESTRICT="!test? ( test )"
99 -
100 -DEPEND="
101 - dev-python/setuptools[${PYTHON_USEDEP}]
102 - test? (
103 - dev-python/pytest[${PYTHON_USEDEP}]
104 - )
105 -"
106 -
107 -DOCS=( doc/{README,FAQ} )
108 -
109 -python_prepare_all() {
110 - # This line is run when the file is imported
111 - # https://bugs.launchpad.net/python-distutils-extra/+bug/1657919
112 - sed -i '/^unittest.main()$/d' test/auto.py || die
113 -
114 - distutils-r1_python_prepare_all
115 -}
116 -
117 -python_test() {
118 - # 5 tests fail with disabled byte-compilation (they rely on exact
119 - # output from python).
120 - # The other 4 are broken.
121 - pytest -vv -k "not (test_pot_manual or test_pot_auto_explicit or \
122 - test_pot_auto or test_modules or test_packages) and not \
123 - (test_desktop or test_po or test_policykit or \
124 - test_requires_provides)" test/auto.py || \
125 - die "tests failed with ${EPYTHON}"
126 -}
127 -
128 -python_install_all() {
129 - distutils-r1_python_install_all
130 -
131 - docinto examples
132 - dodoc doc/{setup.cfg.example,setup.py.example}
133 - docompress -x /usr/share/doc/${PF}/examples
134 -}
135
136 diff --git a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild b/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
137 deleted file mode 100644
138 index d41bb4926e4..00000000000
139 --- a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
140 +++ /dev/null
141 @@ -1,51 +0,0 @@
142 -# Copyright 1999-2020 Gentoo Authors
143 -# Distributed under the terms of the GNU General Public License v2
144 -
145 -EAPI=7
146 -
147 -PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 )
148 -
149 -inherit distutils-r1
150 -
151 -DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
152 -HOMEPAGE="https://launchpad.net/python-distutils-extra"
153 -SRC_URI="mirror://ubuntu/pool/universe/p/${PN}/${PN}_${PV}.tar.xz"
154 -
155 -LICENSE="GPL-2+"
156 -SLOT="0"
157 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
158 -IUSE="test"
159 -RESTRICT="!test? ( test )"
160 -
161 -DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
162 -
163 -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
164 -
165 -DOCS=( doc/{README,FAQ} )
166 -
167 -python_prepare_all() {
168 - # This line is run when the file is imported
169 - # https://bugs.launchpad.net/python-distutils-extra/+bug/1657919
170 - sed -i '/^unittest.main()$/d' test/auto.py || die
171 -
172 - distutils-r1_python_prepare_all
173 -}
174 -
175 -python_test() {
176 - # 5 tests fail with disabled byte-compilation (they rely on exact
177 - # output from python).
178 - # The other 4 are broken.
179 - pytest -vv -k "not (test_pot_manual or test_pot_auto_explicit or \
180 - test_pot_auto or test_modules or test_packages) and not \
181 - (test_desktop or test_po or test_policykit or \
182 - test_requires_provides)" test/auto.py || \
183 - die "tests failed with ${EPYTHON}"
184 -}
185 -
186 -python_install_all() {
187 - distutils-r1_python_install_all
188 -
189 - docinto examples
190 - dodoc doc/{setup.cfg.example,setup.py.example}
191 - docompress -x /usr/share/doc/${PF}/examples
192 -}