1 |
commit: abf241efe63eafdc32acebf26e5e638ad750d665 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 11 16:50:53 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 17:33:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf241ef |
7 |
|
8 |
dev-python/hypothesis: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hypothesis/Manifest | 2 - |
13 |
dev-python/hypothesis/hypothesis-5.10.4.ebuild | 56 -------------------------- |
14 |
dev-python/hypothesis/hypothesis-5.10.5.ebuild | 56 -------------------------- |
15 |
3 files changed, 114 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
18 |
index 8f68149db54..68e9fcedab9 100644 |
19 |
--- a/dev-python/hypothesis/Manifest |
20 |
+++ b/dev-python/hypothesis/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545 |
23 |
DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952 |
24 |
-DIST hypothesis-python-5.10.4.tar.gz 9007617 BLAKE2B 47e82ae1deae77f1d658093ae6578a70371792468185691bb5a6efa12349eb0df4511e19167fa89593a6af63d93ac6cae8bdd21048e87d952f3b351cf44677f0 SHA512 a22613ddb3d5bb9c038765e75269ff2e4b6351d6eac64267ad2f9ec6add0293ef21143ac9a0af20f2d858a0226e977ffca40e0b2929e92876fa702695d94b3fd |
25 |
-DIST hypothesis-python-5.10.5.tar.gz 9007682 BLAKE2B 65801e4188c7eed4ba67f2352d8b14d2b529dae9747f55a4f192510597d599586ce56e45e483a14b199a56a667ad0b148cffb9940ba7118635a42951b05ab7ec SHA512 72113c63de8674964bee7903e7af4d4cec58e4cca69e2cc60e3d4c457fab0855ce74ee006426ac86fe5d70ccf810555e0fc9baaac87601860c709e0ab1f2959f |
26 |
DIST hypothesis-python-5.11.0.tar.gz 9007902 BLAKE2B c9a924ae6496d2ff8babd688b36d36963bf169c309c26af95cba73567a3c2d76def08f511d7eb62e254b8b6c9db6e13b2e91a940148013ea0fe6ecbcba07e467 SHA512 64a39eb18b435c18fed3bb595d73d6929b090fdacac11445e7e0c07b80616b46bc1e1c7fc3b4c7137ff4cadd6da467c2b0ba02aadf8dc18f6900268c4e33d677 |
27 |
|
28 |
diff --git a/dev-python/hypothesis/hypothesis-5.10.4.ebuild b/dev-python/hypothesis/hypothesis-5.10.4.ebuild |
29 |
deleted file mode 100644 |
30 |
index 161feb37e78..00000000000 |
31 |
--- a/dev-python/hypothesis/hypothesis-5.10.4.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,56 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
41 |
-PYTHON_REQ_USE="threads(+),sqlite" |
42 |
- |
43 |
-inherit distutils-r1 eutils |
44 |
- |
45 |
-DESCRIPTION="A library for property based testing" |
46 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
47 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
48 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
49 |
- |
50 |
-LICENSE="MPL-2.0" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~x86" |
53 |
-IUSE="test" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-RDEPEND=" |
57 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
58 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
59 |
-" |
60 |
-BDEPEND=" |
61 |
- test? ( |
62 |
- ${RDEPEND} |
63 |
- dev-python/mock[${PYTHON_USEDEP}] |
64 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
65 |
- >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] |
66 |
- !!<dev-python/typing-3.7.4.1 |
67 |
- ) |
68 |
-" |
69 |
- |
70 |
-src_prepare() { |
71 |
- # avoid pytest-xdist dep for one test |
72 |
- sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ |
73 |
- tests/pytest/test_statistics.py || die |
74 |
- distutils-r1_src_prepare |
75 |
-} |
76 |
- |
77 |
-python_test() { |
78 |
- pytest -vv tests/cover tests/pytest tests/quality || |
79 |
- die "Tests fail with ${EPYTHON}" |
80 |
-} |
81 |
- |
82 |
-pkg_postinst() { |
83 |
- optfeature "datetime support" dev-python/pytz |
84 |
- optfeature "dateutil support" dev-python/python-dateutil |
85 |
- optfeature "numpy support" dev-python/numpy |
86 |
- optfeature "django support" dev-python/django dev-python/pytz |
87 |
- optfeature "pandas support" dev-python/pandas |
88 |
- optfeature "pytest support" dev-python/pytest |
89 |
-} |
90 |
|
91 |
diff --git a/dev-python/hypothesis/hypothesis-5.10.5.ebuild b/dev-python/hypothesis/hypothesis-5.10.5.ebuild |
92 |
deleted file mode 100644 |
93 |
index 161feb37e78..00000000000 |
94 |
--- a/dev-python/hypothesis/hypothesis-5.10.5.ebuild |
95 |
+++ /dev/null |
96 |
@@ -1,56 +0,0 @@ |
97 |
-# Copyright 1999-2020 Gentoo Authors |
98 |
-# Distributed under the terms of the GNU General Public License v2 |
99 |
- |
100 |
-EAPI=7 |
101 |
- |
102 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
103 |
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
104 |
-PYTHON_REQ_USE="threads(+),sqlite" |
105 |
- |
106 |
-inherit distutils-r1 eutils |
107 |
- |
108 |
-DESCRIPTION="A library for property based testing" |
109 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
110 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
111 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
112 |
- |
113 |
-LICENSE="MPL-2.0" |
114 |
-SLOT="0" |
115 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~x86" |
116 |
-IUSE="test" |
117 |
-RESTRICT="!test? ( test )" |
118 |
- |
119 |
-RDEPEND=" |
120 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
121 |
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
122 |
-" |
123 |
-BDEPEND=" |
124 |
- test? ( |
125 |
- ${RDEPEND} |
126 |
- dev-python/mock[${PYTHON_USEDEP}] |
127 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
128 |
- >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] |
129 |
- !!<dev-python/typing-3.7.4.1 |
130 |
- ) |
131 |
-" |
132 |
- |
133 |
-src_prepare() { |
134 |
- # avoid pytest-xdist dep for one test |
135 |
- sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ |
136 |
- tests/pytest/test_statistics.py || die |
137 |
- distutils-r1_src_prepare |
138 |
-} |
139 |
- |
140 |
-python_test() { |
141 |
- pytest -vv tests/cover tests/pytest tests/quality || |
142 |
- die "Tests fail with ${EPYTHON}" |
143 |
-} |
144 |
- |
145 |
-pkg_postinst() { |
146 |
- optfeature "datetime support" dev-python/pytz |
147 |
- optfeature "dateutil support" dev-python/python-dateutil |
148 |
- optfeature "numpy support" dev-python/numpy |
149 |
- optfeature "django support" dev-python/django dev-python/pytz |
150 |
- optfeature "pandas support" dev-python/pandas |
151 |
- optfeature "pytest support" dev-python/pytest |
152 |
-} |