diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-22 03:04:39 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-22 03:04:39 -0500 |
| commit | ce93cedd7048accb306b7c8ec7450111c49757fc (patch) | |
| tree | b8e2380158a74a131d322e7713db98863f34242c /dev-python/hypothesis | |
| parent | e96e88fa0d43a67ac8a6eda8bc6819000d1604f4 (diff) | |
| download | baldeagleos-repo-ce93cedd7048accb306b7c8ec7450111c49757fc.tar.gz baldeagleos-repo-ce93cedd7048accb306b7c8ec7450111c49757fc.tar.xz baldeagleos-repo-ce93cedd7048accb306b7c8ec7450111c49757fc.zip | |
Adding metadata
Diffstat (limited to 'dev-python/hypothesis')
| -rw-r--r-- | dev-python/hypothesis/Manifest | 8 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.156.9.ebuild | 133 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.0.ebuild | 143 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.1.ebuild | 143 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.2.ebuild | 143 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.3.ebuild | 143 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.4.ebuild | 143 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.6.ebuild | 143 | ||||
| -rw-r--r-- | dev-python/hypothesis/hypothesis-6.165.9.ebuild | 143 |
9 files changed, 0 insertions, 1142 deletions
diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 7160d727b6e6..8c103cc286ee 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,18 +4,10 @@ DIST getrandom-0.3.4.crate 50932 BLAKE2B 34165a6994877aeaf3063affd48eb499512371a DIST half-2.7.1.crate 61040 BLAKE2B bd78abf71b1b0ae219d2293f8edd5084fa630150016c95786d0af38a898d2775ff73ce848c4b2bbf02c2ea2dc8a610b2e045df78892d2b1de28981e8033625a7 SHA512 f47cc8bfb4c754a8585d4e8eca1a35039dc0879e87e59acb72e91bf2d33eca8c4f8dd17b3a56e8953bcba62cb08122120866e9d4b3ab9f008847d86a5f81716d DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST hypothesis-6.155.7.gh.tar.gz 9606080 BLAKE2B aa57b12df421b8194564b85f09307add06c35b98ad923e3c1704ad5cdc5581c47e56e4bf0cf77048306395884a11b6b1b0131f94381250e2203b80c1f3fb6962 SHA512 2c4042084b918c249183b311b3037711043b3c43f685712a51b0751cbb781b065150db949f48ecf2e0ed7fcc9a530c395063252d868d893cfb36cd10af3e31f0 -DIST hypothesis-6.156.9.gh.tar.gz 9621697 BLAKE2B ff3b9f098c9097285976a44c68f1c4c4d431e757439d3faea759e7633f57d6ada94a5749d990dbaec7d936c12ecd9c2401dec0f68cbf5048a7819dd4a94e2ec7 SHA512 630dd5c026247535bcbbabd7c99eadc7c9d6831a3f8db301b6488045ee9d895487d629eac712331432ff2a4b9ea42e11bd4b7feb32813c8b635cf2aa9819f03a DIST hypothesis-6.157.2.gh.tar.gz 9627621 BLAKE2B f7e9c4bc145912b523339958efde77eed366b143a9e41102ddd31ee3c4874f5cb01b087abce0f6cdb473fd115015a062d25f9a5c40905b8a5b3d91211c1db287 SHA512 69037e21f93a742ab75ec40b33fe2e8896725c32d671c109fccd06a52a5e657b1fb937a7fdafa8acbf22e4980e5131ff928e14565a8728ad0e21be128379e500 DIST hypothesis-6.161.8.gh.tar.gz 9649785 BLAKE2B 7058bec35557b223b4539401c830a806b20f8fae23577782d1917a14aacf64b62c4af3c59df2554b98aff9f21fe93b324150112ccceb1f8dbe21c04b1ed4630f SHA512 d1ee1f48e9589854ed1df59d6be7a385edcde03f325d43573867d8abd44cfa817406c31102c969bcfd8e9c4455c30397379742e1aaa8eaff057f02a77567043c DIST hypothesis-6.164.0.gh.tar.gz 9665401 BLAKE2B 9d5c5fc98191166cb0da35ac03ae5a377dd5c6d77144974d1b76e8e83368bbf0ad24d3c9ab6cf9758b77db59a5c5863b6ede859f91749ca5ded863fef554d9c8 SHA512 081e8643a6046eebfa4eec792ec001420e07be1acccbe6fc738a7baf476fa705991b34072d5b04dcf1a88ab77b90d6c26f99ee9edb2c1439cef54f16120e0def -DIST hypothesis-6.165.0.gh.tar.gz 9669080 BLAKE2B fae1270a51d0dada2554b9446f9a97d6de05ac4d1f1d7e463ec63ca0bece1a90afed8b799fa53da5ba6bd14c10ed69d18bede30b1eef3af5b5bce65c8b362aec SHA512 997fbe2c06e3a855cf450d71b69c1d483175c58428683534978eb839f5e466635355eb69c43acf2c450b678ddf97e450307ab96799468b65b90f4475c178a141 -DIST hypothesis-6.165.1.gh.tar.gz 9677686 BLAKE2B 89efd4cceac0e13f20651d1624fd7b3d5683a24453c61b95146a9ed84c950a37ebb908aec9334d0a338dc28b50910ccdd03c2c345fd39ee88b08d4411ec6aac6 SHA512 0b77b83adfa06664a10befb6ae90bb03b4ae8ac50227c3e568020f00767f4d899ec108cb4342259db2961cde612b2eecdfe5347629e45d4f55034bbaeb987063 DIST hypothesis-6.165.10.gh.tar.gz 9696772 BLAKE2B 12d76870dcd6f5a4e8d4495137cd3c4a7a6a35b79a36a4de9a3069dd4c0f485720b45ee0488491f8c6d0091af4c4cda3160197eb05e16834f7615be1ea0a9716 SHA512 1c41ab3816d8943b6addfcf21980521b2c2c35c5a744a265410d012350227dee72b782b1bfc39f3f5c76da4c1e4dc2b114ef2704218ae9f7dea16684f81ffc28 -DIST hypothesis-6.165.2.gh.tar.gz 9690432 BLAKE2B 3060e1bdf0e9d6a4d6cca9a505a3964a15ac2c87aece049f92107cf03c7b19fbc26a96d1cf97517fcbe682577c49296598b8e3e53566ea911bc82f8bc56497ef SHA512 0fc89a80f23a05184443f16050fc81c7a39a33e9787add96b9d56ffca43c9b6e51db1aaaa8a26d89e2d6de21c770b7b787e1580f1863a24b6ac3b2c2f29f9703 -DIST hypothesis-6.165.3.gh.tar.gz 9690125 BLAKE2B 2e7e38489dd1cf0986cefb06fc825f22be31fdc2f388c9f76d379290b7a020a61aab864cbf6e6ee78ed81dae6d024e6d400b607f37e8cf79eeb610d28cec0c05 SHA512 50690692c3e230edee1c5d7c65fca50ffb359eba5ba9ed8d048997db8b61164c978e7978b91ffd93da0d786f5d49813ac34a308e225de906e5efa9b791b9db63 -DIST hypothesis-6.165.4.gh.tar.gz 9693372 BLAKE2B 6f3786d9f4eca7086dcc305935d80a9f9fefe1703ac7c9299170eb3a8699f8d009744fcd8dbec0dcae2ded6343c91b8515d6b2492d81e8623d7d5deec6d2a70f SHA512 c5051671fa665d7ad7c3871e4d5ee154493c1338bd831a2260102d93fc16b52425d6778db1d6d884a43340015a8b36b9b51e5bd92f3f7b238695ee6cc0a640e1 -DIST hypothesis-6.165.6.gh.tar.gz 9693494 BLAKE2B ced341367cf4d5fc4bbad26ba8df0b06d4d14695def0d8649e0fdbaf77062f1968883c71f32408b196f8980fe6432f96c2792add469124a8d5d329c7428cd7d1 SHA512 465c03263edc5f36b3a956f93ed0e46f71908af2b738e21653a453302b2c11b82e8c1e51e931fe19d70b9f12f7189b04ff22097690b2b43fa63c96d48e64f481 -DIST hypothesis-6.165.9.gh.tar.gz 9695205 BLAKE2B 29bfdc590211a525f63c95dcab913fdef3de464da816d02b3db14ae1ae2d608b348f4b3fec417841897d5f8f8ad76781bd9fb7acb4c33047373e6efb4886942d SHA512 1b1a6526350cfb9b5ae3ed3393011999891f0931b6c045cba57f109e8c8f9c57124e8fc59b81c6a4c83ba6c022e2ed4bf919cf923f1bf75a23ff1b5f56adfd4b DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690 DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155 DIST portable-atomic-1.13.1.crate 197001 BLAKE2B 6d0898c2a537a9bf204b7749cca5f5fddf280772b56eb7ce8fdd9cf7d71561137b26ef89f415c40277a1c89981333eef78e5bb4624515a294ba28fdaeb4c70ea SHA512 2a1b31ac9814af884640b3398ab824a9795c72d260527a0966b193113808cfbb3345d50cd1beaebb45863437c3d06c8706d34b26efecceefc649319a4bc274a3 diff --git a/dev-python/hypothesis/hypothesis-6.156.9.ebuild b/dev-python/hypothesis/hypothesis-6.156.9.ebuild deleted file mode 100644 index 08b90f0a27a8..000000000000 --- a/dev-python/hypothesis/hypothesis-6.156.9.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - proc-macro2@1.0.106 - pyo3-build-config@0.29.0 - pyo3-ffi@0.29.0 - pyo3-macros-backend@0.29.0 - pyo3-macros@0.29.0 - pyo3@0.29.0 - quote@1.0.46 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0-with-LLVM-exceptions Unicode-3.0 - || ( Apache-2.0 MIT ) -" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest -o filterwarnings= tests/{cover,pytest,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.165.0.ebuild b/dev-python/hypothesis/hypothesis-6.165.0.ebuild deleted file mode 100644 index 8903f56543dd..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.0.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.0 - pyo3-ffi@0.29.0 - pyo3-macros-backend@0.29.0 - pyo3-macros@0.29.0 - pyo3@0.29.0 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest -o filterwarnings= tests/{cover,pytest,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.165.1.ebuild b/dev-python/hypothesis/hypothesis-6.165.1.ebuild deleted file mode 100644 index a94a8d9b2396..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.1.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.0 - pyo3-ffi@0.29.0 - pyo3-macros-backend@0.29.0 - pyo3-macros@0.29.0 - pyo3@0.29.0 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/{cover,pytest,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.165.2.ebuild b/dev-python/hypothesis/hypothesis-6.165.2.ebuild deleted file mode 100644 index a94a8d9b2396..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.2.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.0 - pyo3-ffi@0.29.0 - pyo3-macros-backend@0.29.0 - pyo3-macros@0.29.0 - pyo3@0.29.0 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/{cover,pytest,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.165.3.ebuild b/dev-python/hypothesis/hypothesis-6.165.3.ebuild deleted file mode 100644 index bf665e6799ed..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.3.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.2 - pyo3-ffi@0.29.2 - pyo3-macros-backend@0.29.2 - pyo3-macros@0.29.2 - pyo3@0.29.2 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/{cover,pytest,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.165.4.ebuild b/dev-python/hypothesis/hypothesis-6.165.4.ebuild deleted file mode 100644 index bf665e6799ed..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.4.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.2 - pyo3-ffi@0.29.2 - pyo3-macros-backend@0.29.2 - pyo3-macros@0.29.2 - pyo3@0.29.2 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/{cover,pytest,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.165.6.ebuild b/dev-python/hypothesis/hypothesis-6.165.6.ebuild deleted file mode 100644 index bf665e6799ed..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.6.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.2 - pyo3-ffi@0.29.2 - pyo3-macros-backend@0.29.2 - pyo3-macros@0.29.2 - pyo3@0.29.2 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/{cover,pytest,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.165.9.ebuild b/dev-python/hypothesis/hypothesis-6.165.9.ebuild deleted file mode 100644 index bf665e6799ed..000000000000 --- a/dev-python/hypothesis/hypothesis-6.165.9.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -CLI_COMPAT=( python3_{12..15} ) -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="threads(+),sqlite" - -RUST_MIN_VER="1.91.0" -CRATES=" - cfg-if@1.0.4 - crunchy@0.2.4 - getrandom@0.3.4 - half@2.7.1 - heck@0.5.0 - libc@0.2.186 - once_cell@1.21.4 - portable-atomic@1.13.1 - ppv-lite86@0.2.21 - proc-macro2@1.0.106 - pyo3-build-config@0.29.2 - pyo3-ffi@0.29.2 - pyo3-macros-backend@0.29.2 - pyo3-macros@0.29.2 - pyo3@0.29.2 - quote@1.0.46 - r-efi@5.3.0 - rand@0.9.4 - rand_chacha@0.9.0 - rand_core@0.9.5 - syn@2.0.118 - target-lexicon@0.13.5 - unicode-ident@1.0.24 - wasip2@1.0.4+wasi-0.2.12 - wit-bindgen@0.57.1 - zerocopy-derive@0.8.53 - zerocopy@0.8.53 -" - -inherit cargo distutils-r1 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/hypothesis/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${P}/hypothesis" - -LICENSE="MPL-2.0" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) -EPYTEST_RERUNS=5 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -QA_PREBUILT="usr/lib/python.*/site-packages/hypothesis/_native.*" - -python_test() { - # NB: paths need to be relative to pytest.ini, i.e. start with hypothesis/ - local EPYTEST_DESELECT=( - # broken somehow (xdist?) - 'hypothesis/tests/pytest/test_constant_collection_timing.py::test_constant_collection_timing[True]' - ) - local EPYTEST_IGNORE=( - # require syrupy - tests/cover/test_custom_reprs.py - ) - - case ${EPYTHON} in - python3.15*) - EPYTEST_DESELECT+=( - 'hypothesis/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lookup.py::test_resolves_builtin_types[sentinel]' - 'hypothesis/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' - ) - ;; - esac - - local -x HYPOTHESIS_NO_PLUGINS=1 - epytest tests/{cover,pytest,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 -} |
