Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest/
Date: Fri, 24 Nov 2017 15:19:44
Message-Id: 1511536767.faddfcf2213668bde5f321b88aaf69e9c6859ede.floppym@gentoo
1 commit: faddfcf2213668bde5f321b88aaf69e9c6859ede
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 24 15:18:48 2017 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 24 15:19:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faddfcf2
7
8 dev-python/pytest: remove old
9
10 Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7
11
12 dev-python/pytest/Manifest | 3 --
13 dev-python/pytest/pytest-3.0.6.ebuild | 73 ----------------------------------
14 dev-python/pytest/pytest-3.0.7.ebuild | 74 ----------------------------------
15 dev-python/pytest/pytest-3.1.2.ebuild | 75 -----------------------------------
16 4 files changed, 225 deletions(-)
17
18 diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest
19 index 2e1ac94ee2c..c0ed6a1dea7 100644
20 --- a/dev-python/pytest/Manifest
21 +++ b/dev-python/pytest/Manifest
22 @@ -1,6 +1,3 @@
23 DIST pytest-2.7.2.tar.gz 532836 BLAKE2B abdb179ca82078ecf081055484d7fc1f1d63f7f3ce58b19ed27e10da25e163a24ad89e4afe8b7e5af0d5fa14ace6eb18c6dbe302845fb6bbf0a545a443fc7847 SHA512 5474a4fe58437a4971fb21b1b37dad3c08e18e5d154931ff23e597f881100a3515bf0cf71d06b143465594ad2a91a96f84f4836d84c39691143c8d88ca7a4360
24 DIST pytest-3.0.3.tar.gz 731934 BLAKE2B 7fb57d75bd54eb8a31d9701fdf739119715c475eaaacae3cd038057c1d2bf43fa86ccdc45b3c84962708ef606976ab39ad41e0c3690c8b5f4c04d870579a384e SHA512 ec0b4a5f0d6673a339c5a70b402c004c23db7001005454329eeaea15d890f53b8f2740f6c6254499d0f915b9058bfdfa535d9f22847bb382a060d65204fce4af
25 -DIST pytest-3.0.6.tar.gz 748748 BLAKE2B d0778374b3544dc19d5cdecda44a2c5215390db872093b3bbdb36346bb2eaeeae2159f708ddb3269099339164ca13389a3f987bbe686dc7cbcfb98eeb3794bf9 SHA512 0e983f1f52c18327537d20be30425f4c74037d1fbf6b4aedf2646cf21d450fa9b2b20625f26f5db759b4fe1fd28c6640cb1df88e667efaeea6642e7f02f01e06
26 -DIST pytest-3.0.7.tar.gz 743866 BLAKE2B b9636f6fcea06a51034144310ea31ee25d8bc2b151849302437eddb4aac5b1acba8fbc8a31e8ef7dee8335c069c7e029811b75b854c26ea4c4ac3ce03cf276f7 SHA512 f458929614fca5bc9542b9adfe2fa5d2c5b97ec13e331d3a9caf256d2d005b3dad9c11d01b2eb62332648f90608ba297a1edc2c20b7630ec4f69114299720a2a
27 -DIST pytest-3.1.2.tar.gz 766406 BLAKE2B 75d0e3c41b8c463fcec3ec4eab6e9d9857ea508ab4252a73bbb48e8de486f135059fc57dfaafe242a4d56bfaa97166ce8d4c03600d5b5057d969d1d5c8101d9a SHA512 6b8bf6280481295585169798351105749301a2b088fa89a48c463578a25edcb1fe7ea4100668bc3013a0a6dfd0ceab31c683e9280ece4f79575ca37909502d5c
28 DIST pytest-3.2.2.tar.gz 786396 BLAKE2B e669da930890e902b0323ec3a6685080ddd889e74655f7b4cb08ec421651f987597021a31471aab5a32d637b99620ce7792cbdf8f85561db3bb10ff06a446ba1 SHA512 6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db
29
30 diff --git a/dev-python/pytest/pytest-3.0.6.ebuild b/dev-python/pytest/pytest-3.0.6.ebuild
31 deleted file mode 100644
32 index 77e0facf03f..00000000000
33 --- a/dev-python/pytest/pytest-3.0.6.ebuild
34 +++ /dev/null
35 @@ -1,73 +0,0 @@
36 -# Copyright 1999-2017 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -
41 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
42 -
43 -inherit distutils-r1
44 -
45 -DESCRIPTION="Simple powerful testing with Python"
46 -HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
47 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
52 -IUSE="doc test"
53 -
54 -# When bumping, please check setup.py for the proper py version
55 -PY_VER="1.4.29"
56 -COMMON_DEPEND="
57 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
58 - doc? (
59 - dev-python/pyyaml[${PYTHON_USEDEP}]
60 - dev-python/sphinx[${PYTHON_USEDEP}]
61 - )
62 -"
63 -DEPEND="${COMMON_DEPEND}
64 - dev-python/setuptools[${PYTHON_USEDEP}]
65 - test? (
66 - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
67 - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
68 - dev-python/nose[${PYTHON_USEDEP}]
69 - dev-python/mock[${PYTHON_USEDEP}]
70 - dev-python/requests[${PYTHON_USEDEP}]
71 - )
72 -"
73 -RDEPEND="${COMMON_DEPEND}
74 - !dev-python/logilab-common
75 -"
76 -
77 -python_prepare_all() {
78 - chmod o-w *egg*/* || die
79 - # Disable versioning of py.test script to avoid collision with
80 - # versioning performed by the eclass.
81 - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
82 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
83 -
84 - # https://bugs.gentoo.org/598442
85 - rm testing/test_pdb.py || die
86 -
87 - distutils-r1_python_prepare_all
88 -}
89 -
90 -python_test() {
91 - # test_nose.py not written to suit py3.2 in pypy3
92 - if [[ "${EPYTHON}" == pypy3 ]]; then
93 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
94 - --ignore=testing/BUILD_nose.py \
95 - || die "tests failed with ${EPYTHON}"
96 - else
97 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -v testing || die "tests failed with ${EPYTHON}"
98 - fi
99 -}
100 -
101 -python_compile_all(){
102 - use doc && emake -C doc/en html
103 -}
104 -
105 -python_install_all() {
106 - use doc && HTML_DOCS=( doc/en/_build/html/. )
107 - distutils-r1_python_install_all
108 -}
109
110 diff --git a/dev-python/pytest/pytest-3.0.7.ebuild b/dev-python/pytest/pytest-3.0.7.ebuild
111 deleted file mode 100644
112 index 620f064201a..00000000000
113 --- a/dev-python/pytest/pytest-3.0.7.ebuild
114 +++ /dev/null
115 @@ -1,74 +0,0 @@
116 -# Copyright 1999-2017 Gentoo Foundation
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=6
120 -
121 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
122 -
123 -inherit distutils-r1
124 -
125 -DESCRIPTION="Simple powerful testing with Python"
126 -HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
127 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
128 -
129 -LICENSE="MIT"
130 -SLOT="0"
131 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86"
132 -IUSE="doc test"
133 -
134 -# When bumping, please check setup.py for the proper py version
135 -PY_VER="1.4.29"
136 -COMMON_DEPEND="
137 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
138 - doc? (
139 - dev-python/pyyaml[${PYTHON_USEDEP}]
140 - dev-python/sphinx[${PYTHON_USEDEP}]
141 - )
142 -"
143 -DEPEND="${COMMON_DEPEND}
144 - dev-python/setuptools[${PYTHON_USEDEP}]
145 - test? (
146 - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
147 - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
148 - dev-python/nose[${PYTHON_USEDEP}]
149 - dev-python/mock[${PYTHON_USEDEP}]
150 - dev-python/requests[${PYTHON_USEDEP}]
151 - )
152 -"
153 -RDEPEND="${COMMON_DEPEND}
154 - !dev-python/logilab-common
155 -"
156 -
157 -python_prepare_all() {
158 - chmod o-w *egg*/* || die
159 - # Disable versioning of py.test script to avoid collision with
160 - # versioning performed by the eclass.
161 - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
162 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
163 -
164 - # Something in the ebuild environment causes this to hang/error.
165 - # https://bugs.gentoo.org/598442
166 - rm testing/test_pdb.py || die
167 -
168 - distutils-r1_python_prepare_all
169 -}
170 -
171 -python_test() {
172 - # test_nose.py not written to suit py3.2 in pypy3
173 - if [[ "${EPYTHON}" == pypy3 ]]; then
174 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
175 - --ignore=testing/BUILD_nose.py \
176 - || die "tests failed with ${EPYTHON}"
177 - else
178 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -v testing || die "tests failed with ${EPYTHON}"
179 - fi
180 -}
181 -
182 -python_compile_all(){
183 - use doc && emake -C doc/en html
184 -}
185 -
186 -python_install_all() {
187 - use doc && HTML_DOCS=( doc/en/_build/html/. )
188 - distutils-r1_python_install_all
189 -}
190
191 diff --git a/dev-python/pytest/pytest-3.1.2.ebuild b/dev-python/pytest/pytest-3.1.2.ebuild
192 deleted file mode 100644
193 index c949a1553ce..00000000000
194 --- a/dev-python/pytest/pytest-3.1.2.ebuild
195 +++ /dev/null
196 @@ -1,75 +0,0 @@
197 -# Copyright 1999-2017 Gentoo Foundation
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=6
201 -
202 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
203 -
204 -inherit distutils-r1
205 -
206 -DESCRIPTION="Simple powerful testing with Python"
207 -HOMEPAGE="http://pytest.org/"
208 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
209 -
210 -LICENSE="MIT"
211 -SLOT="0"
212 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
213 -IUSE="doc test"
214 -
215 -# When bumping, please check setup.py for the proper py version
216 -PY_VER="1.4.33"
217 -COMMON_DEPEND="
218 - >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]
219 - doc? (
220 - dev-python/pyyaml[${PYTHON_USEDEP}]
221 - dev-python/sphinx[${PYTHON_USEDEP}]
222 - )
223 -"
224 -DEPEND="${COMMON_DEPEND}
225 - dev-python/setuptools[${PYTHON_USEDEP}]
226 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
227 - test? (
228 - >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}]
229 - >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}]
230 - dev-python/nose[${PYTHON_USEDEP}]
231 - dev-python/mock[${PYTHON_USEDEP}]
232 - dev-python/requests[${PYTHON_USEDEP}]
233 - )
234 -"
235 -RDEPEND="${COMMON_DEPEND}
236 - !dev-python/logilab-common
237 -"
238 -
239 -python_prepare_all() {
240 - chmod o-w *egg*/* || die
241 - # Disable versioning of py.test script to avoid collision with
242 - # versioning performed by the eclass.
243 - sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
244 - grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
245 -
246 - # Something in the ebuild environment causes this to hang/error.
247 - # https://bugs.gentoo.org/598442
248 - rm testing/test_pdb.py || die
249 -
250 - distutils-r1_python_prepare_all
251 -}
252 -
253 -python_test() {
254 - # test_nose.py not written to suit py3.2 in pypy3
255 - if [[ "${EPYTHON}" == pypy3 ]]; then
256 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \
257 - --ignore=testing/BUILD_nose.py \
258 - || die "tests failed with ${EPYTHON}"
259 - else
260 - "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX testing || die "tests failed with ${EPYTHON}"
261 - fi
262 -}
263 -
264 -python_compile_all(){
265 - use doc && emake -C doc/en html
266 -}
267 -
268 -python_install_all() {
269 - use doc && HTML_DOCS=( doc/en/_build/html/. )
270 - distutils-r1_python_install_all
271 -}