summaryrefslogtreecommitdiff
path: root/dev-python/hypothesis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-python/hypothesis
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r--dev-python/hypothesis/Manifest22
-rw-r--r--dev-python/hypothesis/hypothesis-6.10.0.ebuild (renamed from dev-python/hypothesis/hypothesis-6.3.4.ebuild)9
-rw-r--r--dev-python/hypothesis/hypothesis-6.10.1.ebuild (renamed from dev-python/hypothesis/hypothesis-6.4.3.ebuild)9
-rw-r--r--dev-python/hypothesis/hypothesis-6.6.0.ebuild4
-rw-r--r--dev-python/hypothesis/hypothesis-6.8.1.ebuild2
-rw-r--r--dev-python/hypothesis/hypothesis-6.8.9.ebuild (renamed from dev-python/hypothesis/hypothesis-6.2.0.ebuild)18
-rw-r--r--dev-python/hypothesis/hypothesis-6.9.0.ebuild62
-rw-r--r--dev-python/hypothesis/hypothesis-6.9.1.ebuild62
-rw-r--r--dev-python/hypothesis/hypothesis-6.9.2.ebuild62
9 files changed, 219 insertions, 31 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index b12cf1eb43e9..c0aed69c32c8 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -1,11 +1,17 @@
-DIST hypothesis-python-6.2.0.tar.gz 9108590 BLAKE2B 73a6b71c68aec1ec51f791187bbe5be679d5e3b4da9e66745767dafb109d298b0c61bd461ed838a0c75884d155fb408bddebc75d1cf887629da5cf5d6b053e03 SHA512 b249124f90d1d68aa6e106965b0ae78e37f095be0adc1833895f0895357d46c907074e2abe458be566708ba006b6c4375908b40ef89d52300fd41ad63abc2e52
-DIST hypothesis-python-6.3.4.tar.gz 9112374 BLAKE2B 78867f0ff142d6059a20c437c3fab333de06eff5247d93c1e70f75d801e54984c20da01322b7d4d4999cb30f2c59c6e7cf955fe60ecc0e90b452b8ddf6b6f2ff SHA512 7baee8758d86afbb0a8a16e18b2f14d3870ee2f5623857fc691ca1afc7f0c6555b367fbe758ff02c08af492b4569ef2aeb8d61bf3bd91ac458312a43b02d02f6
-DIST hypothesis-python-6.4.3.tar.gz 9113616 BLAKE2B f3761a22b574edc0b001a25c836c3a845fb3a1396dbc4afc2caa1f31870793cfca8646e6b9b45386e835fce97b9bc68226018c50675931e48968e9502ad41844 SHA512 010d140538bd6a361326d00bf38a50ffbbe08adc55cc7597cf69563b5d028335493c1925bcb91f618afd87f4d754e8109776be89f229e8b25b91510fbf64d7bd
+DIST hypothesis-python-6.10.0.tar.gz 9126095 BLAKE2B 7dbcbb1d1099490c5329fb9a134b87449a8224565c4ccc88692c6cdedc847b0c3143b438f1d7bed98932ddfdf53fb5d09980ec0cc7d5e23fe60e651aef10ddbe SHA512 a9ced1baccaa411c264aa02de3ebc2d76985b3f61a378f9ec413b510b7b16c40cc3072d0d042a03046593b303ee367f3dd34f8b09987a1b0fb97de77f6fe3e8d
+DIST hypothesis-python-6.10.1.tar.gz 9126246 BLAKE2B cc8cb3436d1de5d3d65a13cb5edefdbaae8bf9daed296eea9111ac46c002c34f43119f10b2ab1f45c5cbca5fe46d00738676290eb0e8437f2c10b5926d9e0915 SHA512 586b7f380cb850089f7d5321f11da92ef4a9b80e2ea925103e29c1f6c6c9da0a2a899a1a45ce77e0a40073f147561bc4fcbd5cb2ce77a9c0c65f6f64dfe4b716
DIST hypothesis-python-6.6.0.tar.gz 9117847 BLAKE2B bb88ebee9db53f1c5753730d04e5dfe6a39ac4c5f7d534778b22b813ba188a55de6ad8a34f611f7863d1c3287be39ed7e10981e9d6ed8d8dd106688f154c3a49 SHA512 a446b4a11c6ee013225bfcd58e26efc6c9d867545d9bcf90a19468cb01fc5e2c5a7280ff9a80d4a1adbfe06dd155df6152941d5f53869d85e1d259e68a33a5e2
DIST hypothesis-python-6.8.1.tar.gz 9119495 BLAKE2B 4d98e30a04f652af79dd49e921b856124a312b63f087a6fd200282e9b0a0cd6fcad1a42a6008406bc347f21bf9cd6c5ff2db79d013987281f59365bd9d91550d SHA512 2f25e994438479b5faa15b2038146ab385445bf2722b0951ff55f324b074248d7322c4c6f3e9c659c18d0aa94150eea4c6567a7ac24debf2de4b32bab37a4dcc
-EBUILD hypothesis-6.2.0.ebuild 1849 BLAKE2B 9515ada34767c85fad60ece3c12a46243e74e242c579c19b091683f74c69a729c0d3cc564aadbb1f67ac44f8a91e829b036b5960fb3f0c5b6e2eded695e90b52 SHA512 c5eac04dba95a69fd204c9787a02b2ff69dd8f5d20bf622a5f6a774bdf59f3f990894b960fb47428bb751a42ee4651d6c149e4fd6e0b18f61b3d5983625f6a42
-EBUILD hypothesis-6.3.4.ebuild 1810 BLAKE2B f24b2ef4037fee550337dbb719f727725a0b50ce8187e37708f91afcf80d048f2e3053332aa0d4ac0316259f916cc4345bc28305dc080c64546a9d3e45d29233 SHA512 cb2c9c312783f9e00e24175f4b65d5a8a396c59a9827bd4de63c67ca2556a082cf46f0c9b0700b56617c0e9298b451f2b9375309f2df0b38d39d7dd4a1df441b
-EBUILD hypothesis-6.4.3.ebuild 1810 BLAKE2B f24b2ef4037fee550337dbb719f727725a0b50ce8187e37708f91afcf80d048f2e3053332aa0d4ac0316259f916cc4345bc28305dc080c64546a9d3e45d29233 SHA512 cb2c9c312783f9e00e24175f4b65d5a8a396c59a9827bd4de63c67ca2556a082cf46f0c9b0700b56617c0e9298b451f2b9375309f2df0b38d39d7dd4a1df441b
-EBUILD hypothesis-6.6.0.ebuild 1810 BLAKE2B f24b2ef4037fee550337dbb719f727725a0b50ce8187e37708f91afcf80d048f2e3053332aa0d4ac0316259f916cc4345bc28305dc080c64546a9d3e45d29233 SHA512 cb2c9c312783f9e00e24175f4b65d5a8a396c59a9827bd4de63c67ca2556a082cf46f0c9b0700b56617c0e9298b451f2b9375309f2df0b38d39d7dd4a1df441b
-EBUILD hypothesis-6.8.1.ebuild 1758 BLAKE2B 851664ea210f1d73d74597e16cdad4a3ecb7a94f69876aa4fe1518b7cb90041e148fa703d4260ce0321f99b561a3352e45369ccddd2cd3b9ade733e4f7f42d59 SHA512 75a7c6d83e2d9dc1f6b6571876483d8ee019b82b0eb1ee670d2db92c3541e1acdc344ff8a8fe6ce2dac3e7ea3b56c9672149f21f20f490aebec0702975aee33a
+DIST hypothesis-python-6.8.9.tar.gz 9122168 BLAKE2B 2568dcfcbc7182071247d0b7d978abf2184be4583937a42568c3e199eac6ce538adb7b3687747979fc6ab9da1e61088db7d1a01294982e75cb04992cdc10537a SHA512 4dc3884e2487f27a3b6b362e04cecd281f9072fdd2e8e91738899baf589d6d48df9eeacb9a158251c20b210d1190b78eadd191aa95f151023bd81091131dff66
+DIST hypothesis-python-6.9.0.tar.gz 9123041 BLAKE2B 5c9a4d1bed02417dd35e67f7f8e63accc7a9c071fde03b7c38b835945605377d8898fbc760fa8149e8476beb247ce19ec946f5365065dfa66b2cb52381760373 SHA512 8d63b22ec3ac9418dde758f70f2a8b65b455cffa32fbbf1fc99c2e64ca40f73436ee9eddea7ada34d8d68a41e88b50d54166babee9869fc03b32926bd85a4507
+DIST hypothesis-python-6.9.1.tar.gz 9123088 BLAKE2B 6a960622fc14d507d5ac66737b88e7b7184c827f31c505797be33766ac8d1721191e48334b58d1d73ef1058eaf94d88ef9d7ddf256948180a12c707b6963d1de SHA512 ad5f18ecbb0376b04eb26f58ad2b72ae6789029bf89f36d4880e5212a4cf7d669a048bb8d4f0bdeb0f5c1f1cc053d054d60235224f5154803fd0319d7b140b3b
+DIST hypothesis-python-6.9.2.tar.gz 9124848 BLAKE2B f1d13f37ee2c9fa4d2716e6c4df412cf652704c1fecda575be2959cde10c9e8b9e54b4a772bda4f1c476936817e6d47d8c17880fa13714daaa9e7b7fd0eca56d SHA512 c209e921e89b5b5863e7b103462cf34a0fd5d06c373c4d880b2aafd8b9521fcd95f58cd00f55eff81804352721b1114f208ce0e19f9142783834e93867ba336b
+EBUILD hypothesis-6.10.0.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
+EBUILD hypothesis-6.10.1.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
+EBUILD hypothesis-6.6.0.ebuild 1795 BLAKE2B 55f094af24a70891b7029c691b48515905f2c57b75e3802e0db49ce61e896abf33d824efe20ff2361c3be546c44474010925eeef4ae2a0db54aafc57758d082f SHA512 b7084976bf688e4b25eef954ead0bd80908baf4e54d84e7a6ff23abab22f6408191f8225b9e79a5ea52144a946f7a34f8be7a0919bb400a5daa17d2e058d959a
+EBUILD hypothesis-6.8.1.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
+EBUILD hypothesis-6.8.9.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
+EBUILD hypothesis-6.9.0.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
+EBUILD hypothesis-6.9.1.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
+EBUILD hypothesis-6.9.2.ebuild 1751 BLAKE2B f84f1719fece3b44d09ba88e12404b0c74d045ce4752dd2360f5479cf0cf88fbb764a19f3b43fda536629a45da0981d1d50c45c1f8446696c7c62a9c30b23cee SHA512 c1d8d55ed2ec689845a4901efe22835ba98da8e358f0d96a4c2d64893e27467d9ed179d41807cd937dd14931bac1a5695416d78a38b6a87e7cf83fb1c86a757e
MISC metadata.xml 755 BLAKE2B da1fcfe4509905d2058d448b0178dacbb87026a3542368d8aa3ffca38edf1cd3d76d9542f8badc0220f5b5c916fdbb054f65b054a361977e0258e475768e3cf3 SHA512 3f046788581ef05937ec8376538cc60628f9d8e25486fc6e4421dd8461a9a085f51540e1d5203ccf85007adf1a978a23da9ac39cc486d698967412eeb3f2a793
diff --git a/dev-python/hypothesis/hypothesis-6.3.4.ebuild b/dev-python/hypothesis/hypothesis-6.10.0.ebuild
index 46ee7df74d3c..d27660625403 100644
--- a/dev-python/hypothesis/hypothesis-6.3.4.ebuild
+++ b/dev-python/hypothesis/hypothesis-6.10.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite"
-inherit distutils-r1 eutils multiprocessing optfeature
+inherit distutils-r1 multiprocessing optfeature
DESCRIPTION="A library for property based testing"
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
@@ -47,10 +47,9 @@ python_prepare() {
}
python_test() {
- distutils_install_for_testing --via-root
- pytest -vv tests/cover tests/pytest tests/quality \
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
- die "Tests fail with ${EPYTHON}"
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}
pkg_postinst() {
diff --git a/dev-python/hypothesis/hypothesis-6.4.3.ebuild b/dev-python/hypothesis/hypothesis-6.10.1.ebuild
index 46ee7df74d3c..d27660625403 100644
--- a/dev-python/hypothesis/hypothesis-6.4.3.ebuild
+++ b/dev-python/hypothesis/hypothesis-6.10.1.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite"
-inherit distutils-r1 eutils multiprocessing optfeature
+inherit distutils-r1 multiprocessing optfeature
DESCRIPTION="A library for property based testing"
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
@@ -47,10 +47,9 @@ python_prepare() {
}
python_test() {
- distutils_install_for_testing --via-root
- pytest -vv tests/cover tests/pytest tests/quality \
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
- die "Tests fail with ${EPYTHON}"
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}
pkg_postinst() {
diff --git a/dev-python/hypothesis/hypothesis-6.6.0.ebuild b/dev-python/hypothesis/hypothesis-6.6.0.ebuild
index 46ee7df74d3c..d7dd6c54f55c 100644
--- a/dev-python/hypothesis/hypothesis-6.6.0.ebuild
+++ b/dev-python/hypothesis/hypothesis-6.6.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite"
-inherit distutils-r1 eutils multiprocessing optfeature
+inherit distutils-r1 multiprocessing optfeature
DESCRIPTION="A library for property based testing"
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
LICENSE="MPL-2.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
IUSE="cli"
RDEPEND="
diff --git a/dev-python/hypothesis/hypothesis-6.8.1.ebuild b/dev-python/hypothesis/hypothesis-6.8.1.ebuild
index 75d02aad2bd3..d27660625403 100644
--- a/dev-python/hypothesis/hypothesis-6.8.1.ebuild
+++ b/dev-python/hypothesis/hypothesis-6.8.1.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite"
-inherit distutils-r1 eutils multiprocessing optfeature
+inherit distutils-r1 multiprocessing optfeature
DESCRIPTION="A library for property based testing"
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
diff --git a/dev-python/hypothesis/hypothesis-6.2.0.ebuild b/dev-python/hypothesis/hypothesis-6.8.9.ebuild
index 60bc6007a399..d27660625403 100644
--- a/dev-python/hypothesis/hypothesis-6.2.0.ebuild
+++ b/dev-python/hypothesis/hypothesis-6.8.9.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} pypy3 )
PYTHON_REQ_USE="threads(+),sqlite"
-inherit distutils-r1 eutils multiprocessing optfeature
+inherit distutils-r1 multiprocessing optfeature
DESCRIPTION="A library for property based testing"
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
@@ -16,9 +16,8 @@ S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
LICENSE="MPL-2.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
-IUSE="cli test"
-RESTRICT="!test? ( test )"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="cli"
RDEPEND="
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
@@ -32,15 +31,15 @@ RDEPEND="
"
BDEPEND="
test? (
- ${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pexpect[${PYTHON_USEDEP}]
- <dev-python/pytest-6.2[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
!!<dev-python/typing-3.7.4.1
)
"
+distutils_enable_tests --install pytest
+
python_prepare() {
if ! use cli || [[ ${EPYTHON} != python* ]]; then
sed -i -e '/console_scripts/d' setup.py || die
@@ -48,10 +47,9 @@ python_prepare() {
}
python_test() {
- distutils_install_for_testing --via-root
- pytest -vv tests/cover tests/pytest tests/quality \
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" ||
- die "Tests fail with ${EPYTHON}"
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}
pkg_postinst() {
diff --git a/dev-python/hypothesis/hypothesis-6.9.0.ebuild b/dev-python/hypothesis/hypothesis-6.9.0.ebuild
new file mode 100644
index 000000000000..d27660625403
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.9.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="cli"
+
+RDEPEND="
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+ cli? (
+ $(python_gen_cond_dep '
+ dev-python/black[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ ' 'python*')
+ )
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ !!<dev-python/typing-3.7.4.1
+ )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare() {
+ if ! use cli || [[ ${EPYTHON} != python* ]]; then
+ sed -i -e '/console_scripts/d' setup.py || die
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+}
+
+pkg_postinst() {
+ optfeature "datetime support" dev-python/pytz
+ optfeature "dateutil support" dev-python/python-dateutil
+ optfeature "numpy support" dev-python/numpy
+ optfeature "django support" dev-python/django dev-python/pytz
+ optfeature "pandas support" dev-python/pandas
+ optfeature "pytest support" dev-python/pytest
+}
diff --git a/dev-python/hypothesis/hypothesis-6.9.1.ebuild b/dev-python/hypothesis/hypothesis-6.9.1.ebuild
new file mode 100644
index 000000000000..d27660625403
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.9.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="cli"
+
+RDEPEND="
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+ cli? (
+ $(python_gen_cond_dep '
+ dev-python/black[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ ' 'python*')
+ )
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ !!<dev-python/typing-3.7.4.1
+ )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare() {
+ if ! use cli || [[ ${EPYTHON} != python* ]]; then
+ sed -i -e '/console_scripts/d' setup.py || die
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+}
+
+pkg_postinst() {
+ optfeature "datetime support" dev-python/pytz
+ optfeature "dateutil support" dev-python/python-dateutil
+ optfeature "numpy support" dev-python/numpy
+ optfeature "django support" dev-python/django dev-python/pytz
+ optfeature "pandas support" dev-python/pandas
+ optfeature "pytest support" dev-python/pytest
+}
diff --git a/dev-python/hypothesis/hypothesis-6.9.2.ebuild b/dev-python/hypothesis/hypothesis-6.9.2.ebuild
new file mode 100644
index 000000000000..d27660625403
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.9.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_REQ_USE="threads(+),sqlite"
+
+inherit distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="A library for property based testing"
+HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
+SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="cli"
+
+RDEPEND="
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+ >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
+ cli? (
+ $(python_gen_cond_dep '
+ dev-python/black[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ ' 'python*')
+ )
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pexpect[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ !!<dev-python/typing-3.7.4.1
+ )
+"
+
+distutils_enable_tests --install pytest
+
+python_prepare() {
+ if ! use cli || [[ ${EPYTHON} != python* ]]; then
+ sed -i -e '/console_scripts/d' setup.py || die
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
+}
+
+pkg_postinst() {
+ optfeature "datetime support" dev-python/pytz
+ optfeature "dateutil support" dev-python/python-dateutil
+ optfeature "numpy support" dev-python/numpy
+ optfeature "django support" dev-python/django dev-python/pytz
+ optfeature "pandas support" dev-python/pandas
+ optfeature "pytest support" dev-python/pytest
+}