summaryrefslogtreecommitdiff
path: root/dev-python/hypothesis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-29 02:06:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-29 02:06:03 +0000
commit2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (patch)
tree67ecd2d13b251a03c4834bdec638d301818901eb /dev-python/hypothesis
parenta2148b9fab4c83209816a49f091d70873b19881d (diff)
gentoo auto-resync : 29:11:2024 - 02:06:03
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r--dev-python/hypothesis/Manifest8
-rw-r--r--dev-python/hypothesis/hypothesis-6.119.2.ebuild102
-rw-r--r--dev-python/hypothesis/hypothesis-6.119.3.ebuild102
-rw-r--r--dev-python/hypothesis/hypothesis-6.120.0.ebuild (renamed from dev-python/hypothesis/hypothesis-6.119.1.ebuild)4
4 files changed, 5 insertions, 211 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest
index 6b39fd34698f..53f133adc461 100644
--- a/dev-python/hypothesis/Manifest
+++ b/dev-python/hypothesis/Manifest
@@ -1,13 +1,9 @@
DIST hypothesis-6.116.0.gh.tar.gz 9480480 BLAKE2B 350abfd8bad65a33669345a71c3df9737e4defcfc12cd81a1d9ecb5603310372e039d1a148c2223a71f37f0ad485ca892ba322f9404e6d873016193b7f864f88 SHA512 5ae6848f16c21b9012d15eb71715df1fc9448b70264d18453d13e61fd71b84623150ce32c9b50ea4ce95494b0df21907368d0f6fabaa8cb8b26c71e474885703
DIST hypothesis-6.118.9.gh.tar.gz 9487943 BLAKE2B 3c8d17d2763877107c7342d9a9825cb733de91ce6c99c88ed7536ac0e82d728f54d762c9b26cb02d742c470afc05c2798fb20e1f3c6f52d3b9d0e2c9cea9e99a SHA512 ba4f32892088a3a4d1a3d9ca2d28b9828cd7e2f4c4878733943f34f431014d4ba4dfe07729878b4c87cc295b6d6f219094c1f774ac115acd3b375ecc3c58d580
-DIST hypothesis-6.119.1.gh.tar.gz 9491481 BLAKE2B e1485ac899f64fcc1a1d9d673e32b92e6311b90e9ed3d173b276b9fed0f34ee931d485f6b86250f426d947b511fc777304ae1d536cafb8524b609c3b4d1443e3 SHA512 479fb3b19278c94675dfb1a3e8962f1be8db1240350c59953fbaae67c382c58854a137b8df3e441c6e87f921b3ae781fe9d39c7eceb6d3087bc0bd8e34d797c4
-DIST hypothesis-6.119.2.gh.tar.gz 9490208 BLAKE2B 5c4531c96667046751b12e0d7aab7bc3a7cd57509194cdc727f5b57d23ff3749b791ce783f41760c759d760c8ac671479cd1283ae6c0b2011296c296eed79030 SHA512 8801fa47d2afdc3ed99021a93f0a29fedde4e448f8ba60a4585e7ee673fe5f78de3b269f20d89bcc36f42dc32207d87eb7834c5a5ddafac7ceea00370b37db53
-DIST hypothesis-6.119.3.gh.tar.gz 9490475 BLAKE2B e15af9c5dab27464ef0fd04c0b37fa098304acf539664b086fa4a9cf5d6e0bb759dba00a4ed1f51487b4373c7cb099db15ea1e8cf516f47bef4dc1235b2835f8 SHA512 9173ecea32edcf528964468a68c5655796fc43bb5c843b5957061bcb9f967b95cfac97e268726b2c21ab64a1acf5597988e390fbdd8efea031106be4dcc65232
DIST hypothesis-6.119.4.gh.tar.gz 9490666 BLAKE2B 99a45054b90026317bca165915b2ffe3b3abfa03a98efc6181bd64f6ca851f9a90e4ba1b41ba4f3b2181de02818a91367f1c29523b78bca303da4eea31db1284 SHA512 003b01fd3e1e4ae2ea68f72b80063928dd56a069fdf8b6ffc73f6ffb3db4b048523564bd616d604d04a3ea55b19c01940ad7ba60bf1e88c54e29359ca0e397db
+DIST hypothesis-6.120.0.gh.tar.gz 9491124 BLAKE2B 56e2441f7f1daddfac37d4288513d6140c9af01764bd32e5a14b1ae91982c28038c077038cbe278a48db77029af188857561122c6b347b6ea1992f46ab77f2d0 SHA512 9bf39b114cc9fa4eda77651bc02433c49f1d6526827a65086ca911839e4d8a7bf245b4e47b07f71ae533904c3ba90498bc632a6e18d3b8ef8e632a5d1a31b0ec
EBUILD hypothesis-6.116.0.ebuild 2579 BLAKE2B 9d6bf7e5080cf4e503d590b3f152648bcadc5ae6926aa64b112bcb60656b0c48b70be622a17a01b451ffe8d78853e3dbdc2e12ec12fd52abfbe4e46fc361828f SHA512 6377325432166d2539b3d71e24c802d1aad13b2617d8c2f2281c8ba4a6ee101f1d1f4ed890c7cd893f96a078f67880aecfa72cc56490dfe7a429f7f92932079c
EBUILD hypothesis-6.118.9.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f
-EBUILD hypothesis-6.119.1.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f
-EBUILD hypothesis-6.119.2.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f
-EBUILD hypothesis-6.119.3.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f
EBUILD hypothesis-6.119.4.ebuild 2546 BLAKE2B a0d28f72abedc005d8e8cd2ada7e933f24a804b2c6ed69447971a7dda156157e9f964735da5bf6fcf75c29212d533df69a467bb4f607a28dd060540164d9aecc SHA512 91b00667808773833c2ec4671f80f665fcaa08e37ca3cbb4b12f18dd216ffb5a456caa36b9014f28950e4aaefda1d4b288fd119d2e679f9d214b9b3a694fda2f
+EBUILD hypothesis-6.120.0.ebuild 2630 BLAKE2B 6f0903d9f3a4a67f16c4c492ab7dbbefa22675185c9236e889018360c9eea618e3705d3a44cf760d74f7aa17d50197788f4895e17c8d8bed56d1559eb05fb974 SHA512 1c52efd3ab43e01b4943d5f9b35960e224cb69091922e0df9a058f1b12dfb1199e67e261e489a6e7c90bc254e92bb38a55abca7fb73ae48e800e5206d45ec32d
MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e
diff --git a/dev-python/hypothesis/hypothesis-6.119.2.ebuild b/dev-python/hypothesis/hypothesis-6.119.2.ebuild
deleted file mode 100644
index 2f4ac73c1f89..000000000000
--- a/dev-python/hypothesis/hypothesis-6.119.2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-CLI_COMPAT=( pypy3 python3_{10..13} )
-PYTHON_COMPAT=( "${CLI_COMPAT[@]}" )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1 optfeature
-
-TAG=hypothesis-python-${PV}
-MY_P=hypothesis-${TAG}
-DESCRIPTION="A library for property based testing"
-HOMEPAGE="
- https://github.com/HypothesisWorks/hypothesis/
- https://pypi.org/project/hypothesis/
-"
-SRC_URI="
- https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/hypothesis-python"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="cli"
-
-RDEPEND="
- >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
- ' 3.9 3.10)
- cli? (
- $(python_gen_cond_dep '
- dev-python/black[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- ' "${CLI_COMPAT[@]}")
- )
-"
-BDEPEND="
- test? (
- dev-python/pexpect[${PYTHON_USEDEP}]
- >=dev-python/pytest-8[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-python_test() {
- # subtests are broken by warnings from random plugins
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin
- local -x HYPOTHESIS_NO_PLUGINS=1
-
- # NB: paths need to be relative to pytest.ini,
- # i.e. start with hypothesis-python/
- local EPYTEST_DESELECT=()
- case ${EPYTHON} in
- pypy3)
- EPYTEST_DESELECT+=(
- # failing due to warnings from numpy/cython
- hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture
- )
- ;;
- esac
-
- epytest -o filterwarnings= tests/cover tests/pytest tests/quality
-}
-
-src_install() {
- local HAD_CLI=
-
- distutils-r1_src_install
-
- if [[ ! ${HAD_CLI} ]]; then
- rm -r "${ED}/usr/bin" || die
- fi
-}
-
-python_install() {
- distutils-r1_python_install
- if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
- HAD_CLI=1
- else
- rm -r "${D}$(python_get_scriptdir)" || die
- fi
-}
-
-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.119.3.ebuild b/dev-python/hypothesis/hypothesis-6.119.3.ebuild
deleted file mode 100644
index 2f4ac73c1f89..000000000000
--- a/dev-python/hypothesis/hypothesis-6.119.3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-CLI_COMPAT=( pypy3 python3_{10..13} )
-PYTHON_COMPAT=( "${CLI_COMPAT[@]}" )
-PYTHON_REQ_USE="threads(+),sqlite"
-
-inherit distutils-r1 optfeature
-
-TAG=hypothesis-python-${PV}
-MY_P=hypothesis-${TAG}
-DESCRIPTION="A library for property based testing"
-HOMEPAGE="
- https://github.com/HypothesisWorks/hypothesis/
- https://pypi.org/project/hypothesis/
-"
-SRC_URI="
- https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
- -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${MY_P}/hypothesis-python"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="cli"
-
-RDEPEND="
- >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}]
- >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
- ' 3.9 3.10)
- cli? (
- $(python_gen_cond_dep '
- dev-python/black[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- ' "${CLI_COMPAT[@]}")
- )
-"
-BDEPEND="
- test? (
- dev-python/pexpect[${PYTHON_USEDEP}]
- >=dev-python/pytest-8[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-python_test() {
- # subtests are broken by warnings from random plugins
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin
- local -x HYPOTHESIS_NO_PLUGINS=1
-
- # NB: paths need to be relative to pytest.ini,
- # i.e. start with hypothesis-python/
- local EPYTEST_DESELECT=()
- case ${EPYTHON} in
- pypy3)
- EPYTEST_DESELECT+=(
- # failing due to warnings from numpy/cython
- hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture
- )
- ;;
- esac
-
- epytest -o filterwarnings= tests/cover tests/pytest tests/quality
-}
-
-src_install() {
- local HAD_CLI=
-
- distutils-r1_src_install
-
- if [[ ! ${HAD_CLI} ]]; then
- rm -r "${ED}/usr/bin" || die
- fi
-}
-
-python_install() {
- distutils-r1_python_install
- if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
- HAD_CLI=1
- else
- rm -r "${D}$(python_get_scriptdir)" || die
- fi
-}
-
-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.119.1.ebuild b/dev-python/hypothesis/hypothesis-6.120.0.ebuild
index 2f4ac73c1f89..dde5562c67da 100644
--- a/dev-python/hypothesis/hypothesis-6.119.1.ebuild
+++ b/dev-python/hypothesis/hypothesis-6.120.0.ebuild
@@ -45,6 +45,7 @@ BDEPEND="
test? (
dev-python/pexpect[${PYTHON_USEDEP}]
>=dev-python/pytest-8[${PYTHON_USEDEP}]
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
@@ -70,7 +71,8 @@ python_test() {
;;
esac
- epytest -o filterwarnings= tests/cover tests/pytest tests/quality
+ epytest -o filterwarnings= -p rerunfailures --reruns=5 \
+ tests/cover tests/pytest tests/quality
}
src_install() {