summaryrefslogtreecommitdiff
path: root/dev-python/hypothesis
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r--dev-python/hypothesis/Manifest2
-rw-r--r--dev-python/hypothesis/hypothesis-6.34.2.ebuild66
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 2f518fed692a..79b2ed4a697c 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -3,9 +3,11 @@ DIST hypothesis-python-6.31.4.tar.gz 9183157 BLAKE2B a8c82cd2e798b7dc0b149a09d52
DIST hypothesis-python-6.32.1.tar.gz 9176925 BLAKE2B 0b57c8b46b766055a19c8831620b6ad780bd1a3b3e4835496cbd01f4fb861c64679171c685797458ec56ff07fe9524840cffce1e1930390de71225b707163880 SHA512 f64b0ca16a47d9f4dbce4986aa2c4414e86e596b6e167bd8be373fda05f8bbb626de7a615861a71313faebde50b1fe55e54c8b20247c71fa4ecb2223de171502
DIST hypothesis-python-6.33.0.tar.gz 9177426 BLAKE2B ad1b1a358345f9b92bf41cee196c7bba5374054c84b7ca96500cf41b095e7ae6df12499dcb3b656907df30b360d167630d3d4c640c9d5d903125158af6db3089 SHA512 0165b7c431980d7758be50e834dbe04356478590d5fc54656ea9d31508bbae81f9fbb53b38178862b2d4959e17fa3564bc6971d466ba95555c8e80a6fb208639
DIST hypothesis-python-6.34.1.tar.gz 9178792 BLAKE2B 72cbb1b372fb23da8ecf4eb8355cb054216c78b6464b5ddbc7ee5534652d69e4f3cc094241c0434bc0d80cc555c87699504f87bcf4659724f77d70deaa19b871 SHA512 234b8a814994b0e93cae24233cc30ab8eba853a081d4cce4309b4af5e13234a3de8d704f3255cce11195603645c2641fa1985529d64631df90a61cfd1c4a7f06
+DIST hypothesis-python-6.34.2.tar.gz 9178843 BLAKE2B 24bbc19ea5c207880d577a3c451f6e90c4b124a934aa1cd103c11ec77cbb5076d75e3860abd2b9bd2fc75640ba562b81d3fa038cc7752109625990e0ac0e1039 SHA512 a03233a2b84b1e009ad246663b0c7f6b56f2c04d08d69297ff50b02b8af292fdee37f877ca2f709e6ef64192d31e3d9bf18f78a6f5c92b8f03bf04ba398d063c
EBUILD hypothesis-6.30.1.ebuild 1754 BLAKE2B afe7c86d0907a4c0500ff94249349431c435567753fba197261ce9bceedb03da6ecab286780b66ac4c83361528fe93ff4422c8615bbc6ef20faf289efaa3dcf6 SHA512 b3199308c4981d523366fb48c5d6bee4e1d0eeaa3e9854627cdd23b5d81d22ba4bde02b2669368a5d8bbcccdfb3941aa692c78b18524e907d70c24470e284385
EBUILD hypothesis-6.31.4.ebuild 1762 BLAKE2B 160ab670a5db81e8ff41937a560cbb11efc1e9ae4bf41fc85176e9ab7c640e81da405ba4d477261def8f04c3a6b479ced41b7bb1c9b109e82a024bfaae62819f SHA512 2158da223e25cd54f10fd64167d3d25032e1d3647b5dca501f6c2ca8f977ee829550f7526d538b31dc192a9fdacdd9b4fea2f61204db4d0dc94571358af2b2dc
EBUILD hypothesis-6.32.1.ebuild 1762 BLAKE2B 160ab670a5db81e8ff41937a560cbb11efc1e9ae4bf41fc85176e9ab7c640e81da405ba4d477261def8f04c3a6b479ced41b7bb1c9b109e82a024bfaae62819f SHA512 2158da223e25cd54f10fd64167d3d25032e1d3647b5dca501f6c2ca8f977ee829550f7526d538b31dc192a9fdacdd9b4fea2f61204db4d0dc94571358af2b2dc
EBUILD hypothesis-6.33.0.ebuild 1919 BLAKE2B 0c970e7d2910f7d6c270ef62d2de074f8095a0a03efc71bd166e84d4a1abe635d6410e46018f6803ebb2c26378df5bb50c54ab4545fe281e5a1e125e6355f5b0 SHA512 adb7968c328f2985ae3533a7925859d6804a15b5c14d0a34a5e49d7362aba1e9918634e5f09e2c53a3f615d191ad91373f52a593745089a9fac239dcc50234df
EBUILD hypothesis-6.34.1.ebuild 1919 BLAKE2B 0c970e7d2910f7d6c270ef62d2de074f8095a0a03efc71bd166e84d4a1abe635d6410e46018f6803ebb2c26378df5bb50c54ab4545fe281e5a1e125e6355f5b0 SHA512 adb7968c328f2985ae3533a7925859d6804a15b5c14d0a34a5e49d7362aba1e9918634e5f09e2c53a3f615d191ad91373f52a593745089a9fac239dcc50234df
+EBUILD hypothesis-6.34.2.ebuild 1919 BLAKE2B 6b445f0902299913e613578ca46b6cd8cfb22a7de4a07d8fcb18b3ddcd8fc145e9ab24053dc0afc0ebdb64b32fbbbbc37c85db140d9d90699fa75f1d9d8ebdc5 SHA512 3e6b41f3ac713598f82ff5bc36138b7d36904f4f7a6040f0022da4e5300be83b2f3c79adb5da4fa90909fc852ce306621badeddc0ce6498dcace25f991bda1a9
MISC metadata.xml 756 BLAKE2B 26e40ab96ddcbd5751023e3c0cc9aa86e96d73ba02bca750ad15eb4301beb0318d3d694c54c2c2a2cb50937731af727411e8afb67e1a21e58e0ff611eeea9149 SHA512 cd48d35c5fe41aa9efcfea9eb7b2d78a4646658b5aab7533ca6492d4700032099fd34ca2dc45a6198c27351650c9e901c8b7c4d53ade2b56695d5e26ca371238
diff --git a/dev-python/hypothesis/hypothesis-6.34.2.ebuild b/dev-python/hypothesis/hypothesis-6.34.2.ebuild
new file mode 100644
index 000000000000..0d2f0a38a35b
--- /dev/null
+++ b/dev-python/hypothesis/hypothesis-6.34.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} 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 ~m68k ~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}]
+ ' python3_{8..9})
+ )
+"
+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 || ! has "${EPYTHON}" python3.{8..9}; then
+ sed -i -e '/console_scripts/d' setup.py || die
+ fi
+}
+
+python_test() {
+ # subtests are broken by warnings from random plugins
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
+
+ distutils_install_for_testing
+ epytest tests/cover tests/pytest tests/quality \
+ -x \
+ -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
+}