1 |
commit: 1bda504d92487f3f2e4eaebd305f6e610424eaf3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 7 22:39:02 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 7 23:11:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bda504d |
7 |
|
8 |
dev-python/hypothesis: Bump to 6.8.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hypothesis/Manifest | 1 + |
13 |
dev-python/hypothesis/hypothesis-6.8.9.ebuild | 62 +++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest |
17 |
index 35fcb81cb69..35a3ab587f4 100644 |
18 |
--- a/dev-python/hypothesis/Manifest |
19 |
+++ b/dev-python/hypothesis/Manifest |
20 |
@@ -7,3 +7,4 @@ DIST hypothesis-python-6.8.5.tar.gz 9120852 BLAKE2B af15d2eaf0dbbd5d031c88af911b |
21 |
DIST hypothesis-python-6.8.6.tar.gz 9120971 BLAKE2B c172fae93e28853e75c1a9cb4922ff9fef8100460c9d4b4963df47c252794a95eb24a8f09b386c52033103a897417aa1e210d4fcc2f6f60c5eb8aede3e8aeb09 SHA512 67a614fdfb92128a399b88ceb6a4791a1d2316179c6526f084bcc60dad2fac3172443307ebfe28f729ca4fcd150576d27cb7da86c937708943c74071ed3b638f |
22 |
DIST hypothesis-python-6.8.7.tar.gz 9121168 BLAKE2B 87f0eafe558b9b87e69bbe5e5ee84ce8afc9cdfdf10bd2aa139ab3b334936ca7882367bcf18bc708a9ccd23a99c4a6abe8db4ca0a3d1ba50c033e5cdf7cbf70f SHA512 9b35d829a1b453a64eb17bd11a8981e8bf8e7aa99a8e59d9dd30c0fde98db1aaec36fac64ad2c9e319374240a7e6b612c01bc54401ef03112595630e6ff9286b |
23 |
DIST hypothesis-python-6.8.8.tar.gz 9121704 BLAKE2B 3c9aaf8e8ce9de4329a38bbbc098a51f0a05704e6166ac1022de76a0679302483e73c62639318ed4b7504f7a9f51ceb809e40d36049e9911677238543da6743f SHA512 8f9f6b738b43974263ff17bc166cdc1ebb092278007d075e9de2aa305315893f4201f800c926d40f0cfb03af514116ece69fb6082a706493b5a807a989e588ba |
24 |
+DIST hypothesis-python-6.8.9.tar.gz 9122168 BLAKE2B 2568dcfcbc7182071247d0b7d978abf2184be4583937a42568c3e199eac6ce538adb7b3687747979fc6ab9da1e61088db7d1a01294982e75cb04992cdc10537a SHA512 4dc3884e2487f27a3b6b362e04cecd281f9072fdd2e8e91738899baf589d6d48df9eeacb9a158251c20b210d1190b78eadd191aa95f151023bd81091131dff66 |
25 |
|
26 |
diff --git a/dev-python/hypothesis/hypothesis-6.8.9.ebuild b/dev-python/hypothesis/hypothesis-6.8.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..75d02aad2bd |
29 |
--- /dev/null |
30 |
+++ b/dev-python/hypothesis/hypothesis-6.8.9.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
39 |
+PYTHON_REQ_USE="threads(+),sqlite" |
40 |
+ |
41 |
+inherit distutils-r1 eutils multiprocessing optfeature |
42 |
+ |
43 |
+DESCRIPTION="A library for property based testing" |
44 |
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/" |
45 |
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz" |
46 |
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python" |
47 |
+ |
48 |
+LICENSE="MPL-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
51 |
+IUSE="cli" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] |
56 |
+ cli? ( |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ dev-python/black[${PYTHON_USEDEP}] |
59 |
+ dev-python/click[${PYTHON_USEDEP}] |
60 |
+ ' 'python*') |
61 |
+ ) |
62 |
+" |
63 |
+BDEPEND=" |
64 |
+ test? ( |
65 |
+ dev-python/mock[${PYTHON_USEDEP}] |
66 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
67 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
68 |
+ !!<dev-python/typing-3.7.4.1 |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+distutils_enable_tests --install pytest |
73 |
+ |
74 |
+python_prepare() { |
75 |
+ if ! use cli || [[ ${EPYTHON} != python* ]]; then |
76 |
+ sed -i -e '/console_scripts/d' setup.py || die |
77 |
+ fi |
78 |
+} |
79 |
+ |
80 |
+python_test() { |
81 |
+ distutils_install_for_testing |
82 |
+ epytest tests/cover tests/pytest tests/quality \ |
83 |
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" |
84 |
+} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ optfeature "datetime support" dev-python/pytz |
88 |
+ optfeature "dateutil support" dev-python/python-dateutil |
89 |
+ optfeature "numpy support" dev-python/numpy |
90 |
+ optfeature "django support" dev-python/django dev-python/pytz |
91 |
+ optfeature "pandas support" dev-python/pandas |
92 |
+ optfeature "pytest support" dev-python/pytest |
93 |
+} |