1 |
commit: 25d908a0a23295698facdb50b3a403193a5130f1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 6 01:52:37 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 02:30:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d908a0 |
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 | 1 - |
13 |
dev-python/hypothesis/hypothesis-4.50.8.ebuild | 58 -------------------------- |
14 |
2 files changed, 59 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
17 |
index f06525b0f2e..f27189dafde 100644 |
18 |
--- a/dev-python/hypothesis/Manifest |
19 |
+++ b/dev-python/hypothesis/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST hypothesis-python-4.50.8.tar.gz 6814518 BLAKE2B f2c39cae3708fe88d1854cda97633ba420c32fda38093bb852ef45929762cade0f7f0d1ef696ff96f7ebe7460e8bf53f63de9c959bbbd9e8ec162196d307aac0 SHA512 8c77439fd029e2380afbc059d2edf977414997ba81ecdfde14dfe9dbe9515a92e701751d13879c6b879271f817e01926c2dc66945ae76eb141818da1775bc545 |
22 |
DIST hypothesis-python-4.57.1.tar.gz 9005030 BLAKE2B 3d318896cbe2d24fa6847e764a109791d3acf3821852f8e170991b0be5b069f166e16bdacf7a82fbe49bd9db5188315cdec7cdb4592647571233949ec5732991 SHA512 28622ce8a1d89d09df65f3fbf7e92a1ad98dac140ab646fe11fcb15e6aa9a9672eb51d459f984384d92b819f902de911b06cec2542582d529dd556d2f99ed952 |
23 |
DIST hypothesis-python-5.16.3.tar.gz 9011952 BLAKE2B d74a68c4ee1e5aacf4be1da5a4656011b0a15f990106c21298101d36e9a097c5dfd165987ad90a45f3a0b74375c4da609cd750f618242b94f34e03b6de0ee866 SHA512 912d984995d4ad8f06e98eb2cc327629328990fc1c072527ce261b637e16622acaf4d0d93928f9dd2d6601ab78f69aa6cf129d5cd7c1c00e50754ebc06957df0 |
24 |
DIST hypothesis-python-5.21.0.tar.gz 9025422 BLAKE2B acd6f3b0f945ae65656af2a718add06fe440e221fda7793e3557ab194ccee4c6327e7946a58ce51e9efe3c08274888a648d9021c49fdcf663a04c28b99a0f636 SHA512 1921e5ea8d0f2a6e55d80611004d35671f7a7a02cb8a8f101b45e64e4ef23f9c2c8a9c467fb6c9f33ae440622020e1ad504f51a7d725a6449ca715ad1f373e40 |
25 |
|
26 |
diff --git a/dev-python/hypothesis/hypothesis-4.50.8.ebuild b/dev-python/hypothesis/hypothesis-4.50.8.ebuild |
27 |
deleted file mode 100644 |
28 |
index e780d7c770e..00000000000 |
29 |
--- a/dev-python/hypothesis/hypothesis-4.50.8.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,58 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
38 |
-PYTHON_REQ_USE="threads(+),sqlite" |
39 |
- |
40 |
-inherit distutils-r1 eutils |
41 |
- |
42 |
-DESCRIPTION="A library for property based testing" |
43 |
-HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
44 |
-SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
45 |
- |
46 |
-LICENSE="MPL-2.0" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86" |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
54 |
- $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) |
55 |
-" |
56 |
-BDEPEND=" |
57 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
- test? ( |
59 |
- ${RDEPEND} |
60 |
- dev-python/mock[${PYTHON_USEDEP}] |
61 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
62 |
- >=dev-python/pytest-4.3[${PYTHON_USEDEP}] |
63 |
- !!<dev-python/typing-3.7.4.1 |
64 |
- ) |
65 |
-" |
66 |
- |
67 |
-S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
68 |
- |
69 |
-src_prepare() { |
70 |
- # avoid pytest-xdist dep for one test |
71 |
- sed -i -e 's:test_prints_statistics_given_option_under_xdist:_&:' \ |
72 |
- tests/pytest/test_statistics.py || die |
73 |
- distutils-r1_src_prepare |
74 |
-} |
75 |
- |
76 |
-python_test() { |
77 |
- local pyver=$(python_is_python3 && echo 3 || echo 2) |
78 |
- pytest -vv tests/cover tests/pytest tests/py${pyver} || |
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 |
-} |