1 |
commit: ac16e2806043709c7c5fb63f1b35bc279b64a4f6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 08:55:44 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 08:59:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac16e280 |
7 |
|
8 |
dev-python/hypothesis: Bump to 4.44.2 |
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.44.2.ebuild | 49 ++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
17 |
index 229227db266..ada7f15f74a 100644 |
18 |
--- a/dev-python/hypothesis/Manifest |
19 |
+++ b/dev-python/hypothesis/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST hypothesis-python-3.74.3.tar.gz 552616 BLAKE2B e19a0991e7ae2fa6208c81d336cc |
21 |
DIST hypothesis-python-3.83.1.tar.gz 564466 BLAKE2B 7b4c00a46b5a547bfc98711b795525c09d91ed41ac2c1dcf9c3c571e32819c77c6f6a4311ff32020a6d8e837dfcd03f7e2d842613148201d476615831483a737 SHA512 d828dbfe8637b6388b8c77af08970c2b45cd8f6960f26b1c54f3fbeba012e225d116802cae70ee28321de9d961397e60a5ff8cbefc02d085b6f6978f6bddf56e |
22 |
DIST hypothesis-python-3.85.1.tar.gz 568995 BLAKE2B 65297e73ec833beee05f7ad4f137cdbfe1b28cc478df31fedf8fc2c5183e70c10d5254fdba906842551fcfb7280ac59b3a7dc5cf752700c770c90d158cb81324 SHA512 cf6951d8cb70539b57147f422e43296518edf416200eec220f0c3f258ee6215f858e496f66b340ea68d1754cd936fc26a4ce4d1ee7a38cf338398d316c06cc24 |
23 |
DIST hypothesis-python-4.15.0.tar.gz 1175925 BLAKE2B f3e3888b3f4e542d567bdaad2582eb23bd8ab2e218f1bde82ba1639123f32e8c147313c22b15781d8986574813b5f6eb7c23ce28367e86bb304d33a23f179fa0 SHA512 7d9788b351196fc20e66e210b7d60b4ddb1507b85cf5a29de228600e07f676ccd1352f5d2ab0820b3c8c1a1e8ff145225f00a25aec5f325cc7405ffd0dfcd9f7 |
24 |
+DIST hypothesis-python-4.44.2.tar.gz 3240386 BLAKE2B 3fe3295ba1f7401e1fb74af894d91eda525f8ef51eb893f1f8e5224cead8572f3c06f6a4bb345c123e56ed06d0676c85dc4477a80e54480baa6bd9f5f2bc069e SHA512 bebc5da337fa74a75d08cb57531c2f6b8ba1ab16d1a3d9be8348cd56ada1ab25a34e3b812a4aa71bf172bc97ebc8df0accdad37466f9162c3f8f2a8edbea9da9 |
25 |
|
26 |
diff --git a/dev-python/hypothesis/hypothesis-4.44.2.ebuild b/dev-python/hypothesis/hypothesis-4.44.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4d3e97251e3 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/hypothesis/hypothesis-4.44.2.ebuild |
31 |
@@ -0,0 +1,49 @@ |
32 |
+# Copyright 1999-2019 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_{5,6,7} pypy{,3} ) |
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 ~sh ~sparc ~x86" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+CDEPEND=" |
53 |
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) |
55 |
+" |
56 |
+RDEPEND="${CDEPEND}" |
57 |
+DEPEND="${CDEPEND} |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+ test? ( |
60 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
61 |
+ dev-python/mock[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/pytest-4.3[${PYTHON_USEDEP}] |
63 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
68 |
+ |
69 |
+python_test() { |
70 |
+ py.test -v tests/cover/test_testdecorators.py || die "Tests fail with ${EPYTHON}" |
71 |
+} |
72 |
+ |
73 |
+pkg_postinst() { |
74 |
+ optfeature "datetime support" dev-python/pytz |
75 |
+ optfeature "dateutil support" dev-python/python-dateutil |
76 |
+ optfeature "numpy support" dev-python/numpy |
77 |
+ optfeature "django support" dev-python/django dev-python/pytz |
78 |
+ optfeature "pandas support" dev-python/pandas |
79 |
+ optfeature "pytest support" dev-python/pytest |
80 |
+} |