1 |
commit: b061d0167097e110479c4eae7b9ada35cf936709 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 1 19:20:56 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 1 19:20:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b061d016 |
7 |
|
8 |
dev-python/pytest: remove old |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
|
13 |
dev-python/pytest/Manifest | 2 - |
14 |
dev-python/pytest/pytest-3.0.3.ebuild | 73 ----------------------------- |
15 |
dev-python/pytest/pytest-3.4.1-r1.ebuild | 79 -------------------------------- |
16 |
3 files changed, 154 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest |
19 |
index ff48cfb5337..9b454ae9232 100644 |
20 |
--- a/dev-python/pytest/Manifest |
21 |
+++ b/dev-python/pytest/Manifest |
22 |
@@ -1,6 +1,4 @@ |
23 |
-DIST pytest-3.0.3.tar.gz 731934 BLAKE2B 7fb57d75bd54eb8a31d9701fdf739119715c475eaaacae3cd038057c1d2bf43fa86ccdc45b3c84962708ef606976ab39ad41e0c3690c8b5f4c04d870579a384e SHA512 ec0b4a5f0d6673a339c5a70b402c004c23db7001005454329eeaea15d890f53b8f2740f6c6254499d0f915b9058bfdfa535d9f22847bb382a060d65204fce4af |
24 |
DIST pytest-3.2.2.tar.gz 786396 BLAKE2B e669da930890e902b0323ec3a6685080ddd889e74655f7b4cb08ec421651f987597021a31471aab5a32d637b99620ce7792cbdf8f85561db3bb10ff06a446ba1 SHA512 6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db |
25 |
-DIST pytest-3.4.1.tar.gz 812928 BLAKE2B 27b25fcc5a268b1c92188c01bf16bf1eb4b8ced7d1a3c8095350ec55b1f1845a5d54bd6bd169142ca0d327f2f8d193774643174a356dd95fa07b3195bc1e8713 SHA512 75f728840cde6512619a03ce75fd0b04cb9d57a99f381366a0f9c10ffa3210448e7e85505357bfa9bfb0cca11cdedda2c0e091e5473ed82707a2597f234e659a |
26 |
DIST pytest-3.4.2.tar.gz 812719 BLAKE2B 96623d6cdea4bd79778175c18c949938505f1862010f700f9a8cb85f445910381af391a5b69e664fbbfc254bf46502c798c72026772070236a0a3bca7aeeb3d6 SHA512 787065ab76d4482799bb2da9f024c9c383e68cc1cc01f3b80f6ed9444ca6383d20953615696ed4dd01668777b094cf5002b23c4ce51828879dcf8ebf2170c71b |
27 |
DIST pytest-3.6.3.tar.gz 830949 BLAKE2B 4c0df5d157b8bb0ac6261a793aac2a8074c869b1a7cbda3eda600c79648b3722eaf2a57514c1fece60e0aac324b8ed09e8e889dda268619204e9e1f1637e1c9b SHA512 e18d8e972cb1b05b037b9441eea5981ce036d8e2c2bab80f6e50f283df9bd08740296133990424cf78449f6d3d2fbd1d59709770aa972af99fe061583f2d79a7 |
28 |
DIST pytest-3.8.1.tar.gz 867647 BLAKE2B ad8932b7ea1c441a838d56a9acd1ac3d8c9007d4be7ed137f228dbd20efa5b8c7013eb5b25554697b3b6a6bde3e78abf52431c0ac069aad97ac651ac5edc9992 SHA512 8d1b79f4c813f46109e8ca91e4e41ba5f2efe21905bfb94d39c195728d2f994da6a55773b77f3fee603c1d8e97d965a58b0ca3e5148d2dcf5462780c01f43480 |
29 |
|
30 |
diff --git a/dev-python/pytest/pytest-3.0.3.ebuild b/dev-python/pytest/pytest-3.0.3.ebuild |
31 |
deleted file mode 100644 |
32 |
index f6d776d3e09..00000000000 |
33 |
--- a/dev-python/pytest/pytest-3.0.3.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=5 |
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.org/project/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 ia64 ppc ppc64 sparc 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 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
- doc? ( |
60 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
61 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
62 |
- ) |
63 |
-" |
64 |
-DEPEND="${COMMON_DEPEND} |
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-1.3.0 |
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 -vv \ |
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.4.1-r1.ebuild b/dev-python/pytest/pytest-3.4.1-r1.ebuild |
111 |
deleted file mode 100644 |
112 |
index d9b4a24f1a2..00000000000 |
113 |
--- a/dev-python/pytest/pytest-3.4.1-r1.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,79 +0,0 @@ |
116 |
-# Copyright 1999-2018 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/" |
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 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux" |
132 |
-IUSE="doc test" |
133 |
- |
134 |
-# When bumping, please check setup.py for the proper py version |
135 |
-PY_VER="1.5.0" |
136 |
-COMMON_DEPEND=" |
137 |
- >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}] |
138 |
- >=dev-python/pluggy-0.5[${PYTHON_USEDEP}] |
139 |
- >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] |
140 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
141 |
- >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
142 |
- virtual/python-funcsigs[${PYTHON_USEDEP}] |
143 |
- doc? ( |
144 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
145 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
146 |
- )" |
147 |
- |
148 |
-DEPEND="${COMMON_DEPEND} |
149 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
150 |
- test? ( |
151 |
- >=dev-python/hypothesis-3.5.2[${PYTHON_USEDEP}] |
152 |
- >dev-python/pytest-xdist-1.13[${PYTHON_USEDEP}] |
153 |
- dev-python/nose[${PYTHON_USEDEP}] |
154 |
- dev-python/mock[${PYTHON_USEDEP}] |
155 |
- dev-python/requests[${PYTHON_USEDEP}] |
156 |
- )" |
157 |
- |
158 |
-RDEPEND=" |
159 |
- ${COMMON_DEPEND} |
160 |
- !<dev-python/logilab-common-1.3.0" |
161 |
- |
162 |
-python_prepare_all() { |
163 |
- chmod o-w *egg*/* || die |
164 |
- # Disable versioning of py.test script to avoid collision with |
165 |
- # versioning performed by the eclass. |
166 |
- sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed" |
167 |
- grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" |
168 |
- |
169 |
- # Something in the ebuild environment causes this to hang/error. |
170 |
- # https://bugs.gentoo.org/598442 |
171 |
- rm testing/test_pdb.py || die |
172 |
- |
173 |
- distutils-r1_python_prepare_all |
174 |
-} |
175 |
- |
176 |
-python_test() { |
177 |
- # test_nose.py not written to suit py3.2 in pypy3 |
178 |
- if [[ "${EPYTHON}" == pypy3 ]]; then |
179 |
- "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ |
180 |
- --ignore=testing/BUILD_nose.py \ |
181 |
- || die "tests failed with ${EPYTHON}" |
182 |
- else |
183 |
- "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX testing || die "tests failed with ${EPYTHON}" |
184 |
- fi |
185 |
-} |
186 |
- |
187 |
-python_compile_all(){ |
188 |
- use doc && emake -C doc/en html |
189 |
-} |
190 |
- |
191 |
-python_install_all() { |
192 |
- use doc && HTML_DOCS=( doc/en/_build/html/. ) |
193 |
- distutils-r1_python_install_all |
194 |
-} |