diff options
Diffstat (limited to 'dev-python/hypothesis')
-rw-r--r-- | dev-python/hypothesis/Manifest | 12 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.100.1.ebuild (renamed from dev-python/hypothesis/hypothesis-6.62.1.ebuild) | 30 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.100.2.ebuild (renamed from dev-python/hypothesis/hypothesis-6.65.1.ebuild) | 30 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.100.4.ebuild (renamed from dev-python/hypothesis/hypothesis-6.63.0.ebuild) | 30 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.100.5.ebuild (renamed from dev-python/hypothesis/hypothesis-6.64.0.ebuild) | 30 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.65.0.ebuild | 77 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.65.2.ebuild | 77 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.66.0.ebuild | 77 | ||||
-rw-r--r-- | dev-python/hypothesis/hypothesis-6.66.1.ebuild | 77 |
9 files changed, 92 insertions, 348 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 5ddde784332b..e4b3b168e0d0 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,8 +1,4 @@ -DIST hypothesis-6.62.1.gh.tar.gz 9342261 BLAKE2B 68ffa2294e667e1182ddc96d2b2595723ae38077a63c8f5c8d45ed232536f6749c15912ca9fa61280e9564ac117fc8f94555a564aef5bdfcb8f9bdc38faa8c3e SHA512 1f886de0ae1c4e3371a60e45f00f265542cefa89ce1a109f794ceff3eaa648e2faf566b86b0921e5741b5d8b8d285169387426d8a069410e86642a95380e312e -DIST hypothesis-6.63.0.gh.tar.gz 9342417 BLAKE2B edd4795c9fc4e254fda89fff7554965f350c9dcb738095f4ddb1da16a169ea0b72a52ce4321543efa97f69382a76307d622c37e81e3372867e57ad9ef2060d0b SHA512 9e863d72abea9431d027fbffe39107bb95dc9e80c423d2a69b039489119841fbcc99ddf54248b5d8a797bccdeb450760101862baa3be113c7715430591d054a6 -DIST hypothesis-6.64.0.gh.tar.gz 9345246 BLAKE2B 2ee9a14e84bb72a8248c28096a31b4873f51c121b6446cbcd5d2831418f769ba464d2aead1a52f3da23e640f46e05e7af8927c65113fc7fb3ea59086324c2210 SHA512 4da49b4ab62e9c90770c098653d3b43bbf3fbf8b7aca27546ae2ce0be7923cbabe240a73d124e4e48fc9b8a3e06d31e336b18b875b743992e175acfe2cddd270 -DIST hypothesis-6.65.0.gh.tar.gz 9347619 BLAKE2B 5e67e4659d883209aefe3a459620a2d9774122cb15137851f291365846b179130a1209b18aabd4cb120dd5f522e2ac1b3928904e9b25b10109ae779926712220 SHA512 93ecf5bd72e6f8ff69acb8056f2bb26011cbc997c58bbf3055f17c4690d6fe21f22d6e2a86bc3e7172063c85278b7abc42904028ac73174d6f2855ff7175449f -DIST hypothesis-6.65.1.gh.tar.gz 9347804 BLAKE2B 555b8eb742b35cffbc0985394b7b830fbff0c601c031b270ffb50c8e1e8437b99c4f827b92cfc74f5239aac43b34e70520b3674129c70338ad010b289552b14b SHA512 faa1330477a5932b47af5c0b70742a81455aba85f5ba19e355a1678a23e62612a8972e510f3bd0f133491fdd5c2f293a4ea2f75e181dedaa3304d789e3bc90cc -DIST hypothesis-6.65.2.gh.tar.gz 9349189 BLAKE2B 4a36cde376a56c9eee7645c76606777e8c40144f0495a1a6f2d2d840262be26f52e077f932e90790214decfbc3fbb9b3f64add1830e451bb8e56b8c9c5ba5f34 SHA512 0955e95d9d97f44170dfc937c3ea6b43f6c4ac74dbb48e16a4998e735310f72448083382f6628b4bb9620ac0d21d6c749a5464c6a7caee24cdb7af8cd0c01dcb -DIST hypothesis-6.66.0.gh.tar.gz 9349578 BLAKE2B 3dcdd9bcca00849d68a4bf1368784099bf69e25634b7d1dae13b40be2ac67959151c1b9cdf233349197de1a0f100d57baebbeb9a691ce56ec2d81d21c9f48989 SHA512 a73648ba0b4e3a0621e843ad3ea32f3f692374b82881b096c86a9609f4f7d1a277dd5265a4104863c648c6d5ee4dbccdb1d80ffe62bcc303f837cea26f7d40f2 -DIST hypothesis-6.66.1.gh.tar.gz 9349822 BLAKE2B 728b6e1cb2a28a07cae066bb2e2f8099f21f9a27dbbcc27db1c4f97f6541f60464d90344630df75eb5cea9a65e865a296dbd8b5e20bcbbc17840c92d8f269ac7 SHA512 58ddb6c2bb77064d25ace1740bc5a9ba4d4b6c311da065aa065854c19d4920ec9d70b83935e1b9d057eb10c96c4fdfb445d17c6f321578cbde449df3c5edf704 +DIST hypothesis-6.100.1.gh.tar.gz 9450717 BLAKE2B b27e3be6b43ee7d140ee00064748cd651683414b1b9f8d697c166ddec7596c11e2c47a814de91b567b4d08568e7bcaab42a88665f8b6882d2807afcfdb967257 SHA512 4b46c5dfb330c65c8fc4afce90ed28309fc377e39d65b1ba0bf086efb5fe53b2be021bcb5e6a90fa6bdad463de6254761faab14fe2ad7814e84dfff08ff1a9d9 +DIST hypothesis-6.100.2.gh.tar.gz 9452773 BLAKE2B 46519695d9fdefeeb3c24abacfb0dd495003c21e02b154a5873f1a0ec1f9ba04998398fd7a29c570b15f2fcce95e5ca9451687c37aae2e2b27190534480f8c4e SHA512 ba4cbc3ee7cb958e32c59cfba095eafe8108f5a614316bf490105939e7c487bd56890794aa5d9583feeb4a0b7852a966da16f7e4fac1721f55eb105d03637cbe +DIST hypothesis-6.100.4.gh.tar.gz 9453201 BLAKE2B 0df377ae666646748fd15f70e296edab92587e0aa2deeb026950dff5e440c1d52d89a48245ba43044061b85ec0a009a8b88500b5e39513a8d0bce9afcc16dafa SHA512 089d8975ccfc8c13d092ddc67003d20ffe181950343b7bddd80769c7a55211cd073c4a0b29f5b46d2be6dc849263d79114e141becf732cdc895addeb2e535c5a +DIST hypothesis-6.100.5.gh.tar.gz 9453477 BLAKE2B 8b0ea09b30002a07f91ad8ac59c71b3aece27739c1c3d7a1cf4806dbd7d0cb280277937e0c4f88f64dfc97991753e6c7185ffa5c414c4ba061b87d68a3ca5bd2 SHA512 183aa4ef3425b2bbc632ad77c2ce4b7b7137a81b8344607082e5993593fbc820c68944c1a30c826c655d55145251dc5d53193eb444ce28fce930404ce33621c6 diff --git a/dev-python/hypothesis/hypothesis-6.62.1.ebuild b/dev-python/hypothesis/hypothesis-6.100.1.ebuild index 53e3bebd8313..231433159471 100644 --- a/dev-python/hypothesis/hypothesis-6.62.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.100.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 multiprocessing optfeature @@ -29,11 +29,11 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv IUSE="cli" RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=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.8 3.9 3.10) + ' 3.9 3.10) cli? ( $(python_gen_cond_dep ' dev-python/black[${PYTHON_USEDEP}] @@ -43,8 +43,8 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/mock[${PYTHON_USEDEP}] dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] !!<dev-python/requests-toolbelt-0.10.1 ) @@ -55,9 +55,23 @@ 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,pytest_forked,_hypothesis_pytestplugin + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" + # 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= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality } python_install() { diff --git a/dev-python/hypothesis/hypothesis-6.65.1.ebuild b/dev-python/hypothesis/hypothesis-6.100.2.ebuild index c793a8a143d2..13d62b8d6bd1 100644 --- a/dev-python/hypothesis/hypothesis-6.65.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.100.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 multiprocessing optfeature @@ -29,11 +29,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~ IUSE="cli" RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=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.8 3.9 3.10) + ' 3.9 3.10) cli? ( $(python_gen_cond_dep ' dev-python/black[${PYTHON_USEDEP}] @@ -43,8 +43,8 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/mock[${PYTHON_USEDEP}] dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] !!<dev-python/requests-toolbelt-0.10.1 ) @@ -55,9 +55,23 @@ 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,pytest_forked,_hypothesis_pytestplugin + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" + # 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= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality } python_install() { diff --git a/dev-python/hypothesis/hypothesis-6.63.0.ebuild b/dev-python/hypothesis/hypothesis-6.100.4.ebuild index c793a8a143d2..13d62b8d6bd1 100644 --- a/dev-python/hypothesis/hypothesis-6.63.0.ebuild +++ b/dev-python/hypothesis/hypothesis-6.100.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 multiprocessing optfeature @@ -29,11 +29,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~ IUSE="cli" RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=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.8 3.9 3.10) + ' 3.9 3.10) cli? ( $(python_gen_cond_dep ' dev-python/black[${PYTHON_USEDEP}] @@ -43,8 +43,8 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/mock[${PYTHON_USEDEP}] dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] !!<dev-python/requests-toolbelt-0.10.1 ) @@ -55,9 +55,23 @@ 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,pytest_forked,_hypothesis_pytestplugin + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" + # 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= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality } python_install() { diff --git a/dev-python/hypothesis/hypothesis-6.64.0.ebuild b/dev-python/hypothesis/hypothesis-6.100.5.ebuild index c793a8a143d2..c2bf166b155f 100644 --- a/dev-python/hypothesis/hypothesis-6.64.0.ebuild +++ b/dev-python/hypothesis/hypothesis-6.100.5.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 python3_13 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 multiprocessing optfeature @@ -29,11 +29,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~ IUSE="cli" RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=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.8 3.9 3.10) + ' 3.9 3.10) cli? ( $(python_gen_cond_dep ' dev-python/black[${PYTHON_USEDEP}] @@ -43,8 +43,8 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/mock[${PYTHON_USEDEP}] dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] !!<dev-python/requests-toolbelt-0.10.1 ) @@ -55,9 +55,23 @@ 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,pytest_forked,_hypothesis_pytestplugin + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" + # 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= -n "$(makeopts_jobs)" --dist=worksteal \ + tests/cover tests/pytest tests/quality } python_install() { diff --git a/dev-python/hypothesis/hypothesis-6.65.0.ebuild b/dev-python/hypothesis/hypothesis-6.65.0.ebuild deleted file mode 100644 index c793a8a143d2..000000000000 --- a/dev-python/hypothesis/hypothesis-6.65.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.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.8 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/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.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,pytest_forked,_hypothesis_pytestplugin - - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${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.65.2.ebuild b/dev-python/hypothesis/hypothesis-6.65.2.ebuild deleted file mode 100644 index c793a8a143d2..000000000000 --- a/dev-python/hypothesis/hypothesis-6.65.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.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.8 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/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.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,pytest_forked,_hypothesis_pytestplugin - - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${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.66.0.ebuild b/dev-python/hypothesis/hypothesis-6.66.0.ebuild deleted file mode 100644 index c793a8a143d2..000000000000 --- a/dev-python/hypothesis/hypothesis-6.66.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.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.8 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/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.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,pytest_forked,_hypothesis_pytestplugin - - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${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.66.1.ebuild b/dev-python/hypothesis/hypothesis-6.66.1.ebuild deleted file mode 100644 index c793a8a143d2..000000000000 --- a/dev-python/hypothesis/hypothesis-6.66.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..10} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_11 pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing 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 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-19.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.8 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/mock[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.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,pytest_forked,_hypothesis_pytestplugin - - epytest tests/cover tests/pytest tests/quality -n "$(makeopts_jobs)" -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${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 -} |