1 |
commit: 700eaf0092c1704b9302d4c496a43477acb4be94 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 30 09:31:33 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 30 09:31:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700eaf00 |
7 |
|
8 |
dev-python/hypothesis: version bump to 3.85.1 |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
dev-python/hypothesis/Manifest | 1 + |
13 |
dev-python/hypothesis/hypothesis-3.85.1.ebuild | 48 ++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
17 |
index 5689596eb72..8ff8ddff2ae 100644 |
18 |
--- a/dev-python/hypothesis/Manifest |
19 |
+++ b/dev-python/hypothesis/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST hypothesis-3.6.0.tar.gz 73586 BLAKE2B b0ec133e8c71f752114211061155c15a7d536 |
21 |
DIST hypothesis-python-3.59.1.tar.gz 500529 BLAKE2B 5c171045e363f2337d7ca30797b9fc7f96430c805dd4b3ec78fe927247d2c2ba4a216789a82f1e956b89d66c5ecdb2050a5f93467f2d557a05d1d48507fc06db SHA512 c3aad4cc54152963806e09af5f351e60e30cd64ad48ba3d922451b10dbb1747ea3e5d432ebc611dcb0646687d7e8755051b967304e74798d091be0b2901c832f |
22 |
DIST hypothesis-python-3.74.3.tar.gz 552616 BLAKE2B e19a0991e7ae2fa6208c81d336cc66e3392bb78663f567fe28b570a1463a5359ccf713776f1f9cbd19a27a53b9a71a5be6eedfa05599fa12c047c373aa339592 SHA512 f4927d6e908a9222fa06f82ad6e4cf90c62a0a3d0c7632c17ee57a3705239901fcb5dbbcfca402c153bf2bea9dde0e51c852d2024ed5a236888327963fe13a3e |
23 |
DIST hypothesis-python-3.83.1.tar.gz 564466 BLAKE2B 7b4c00a46b5a547bfc98711b795525c09d91ed41ac2c1dcf9c3c571e32819c77c6f6a4311ff32020a6d8e837dfcd03f7e2d842613148201d476615831483a737 SHA512 d828dbfe8637b6388b8c77af08970c2b45cd8f6960f26b1c54f3fbeba012e225d116802cae70ee28321de9d961397e60a5ff8cbefc02d085b6f6978f6bddf56e |
24 |
+DIST hypothesis-python-3.85.1.tar.gz 568995 BLAKE2B 65297e73ec833beee05f7ad4f137cdbfe1b28cc478df31fedf8fc2c5183e70c10d5254fdba906842551fcfb7280ac59b3a7dc5cf752700c770c90d158cb81324 SHA512 cf6951d8cb70539b57147f422e43296518edf416200eec220f0c3f258ee6215f858e496f66b340ea68d1754cd936fc26a4ce4d1ee7a38cf338398d316c06cc24 |
25 |
|
26 |
diff --git a/dev-python/hypothesis/hypothesis-3.85.1.ebuild b/dev-python/hypothesis/hypothesis-3.85.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..5e0c71eda1d |
29 |
--- /dev/null |
30 |
+++ b/dev-python/hypothesis/hypothesis-3.85.1.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2018 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_{4,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 ~amd64-fbsd" |
49 |
+IUSE="test" |
50 |
+ |
51 |
+CDEPEND=" |
52 |
+ >=dev-python/attrs-16.0.0[${PYTHON_USEDEP}] |
53 |
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' pypy) |
54 |
+" |
55 |
+RDEPEND="${CDEPEND}" |
56 |
+DEPEND="${CDEPEND} |
57 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
+ test? ( |
59 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
60 |
+ dev-python/mock[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
62 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
67 |
+ |
68 |
+python_test() { |
69 |
+ pytest tests/cover/test_testdecorators.py || die "Tests fail with ${EPYTHON}" |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ optfeature "datetime support" dev-python/pytz |
74 |
+ optfeature "dateutil support" dev-python/python-dateutil |
75 |
+ optfeature "numpy support" dev-python/numpy |
76 |
+ optfeature "django support" dev-python/django dev-python/pytz |
77 |
+ optfeature "pandas support" dev-python/pandas |
78 |
+ optfeature "pytest support" dev-python/pytest |
79 |
+} |