From 45bbedb7c6f3348251f35adbdfd6d78b750e75ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 11 Oct 2026 21:17:40 +0200 Subject: [PATCH] dev-python/hypothesis: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/hypothesis/Manifest | 1 - .../hypothesis/hypothesis-6.167.1.ebuild | 143 ------------------ 2 files changed, 144 deletions(-) delete mode 100644 dev-python/hypothesis/hypothesis-6.167.1.ebuild diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 458c31652b8f9..35c39b0085437 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,7 +3,6 @@ DIST crunchy-0.2.4.crate 3887 BLAKE2B f957597c82795eb10d43a6a98f7575e19b9484dcdf DIST getrandom-0.3.4.crate 50932 BLAKE2B 34165a6994877aeaf3063affd48eb499512371a1fdc0d890feee598b5e22c14cb8347642a0e9374cd5d8a59a8281db839e45923769260312379321bef54c687d SHA512 43c44ec3ba0668f388519b2cefbee63f959f0e078730b3f7563742522e5f4b120472024b95fc94aeb90900a15d327c3573271bb26b2de4785e589a8bc1bc9da8 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.167.1.gh.tar.gz 9702396 BLAKE2B 484559752fe8b3047df0ecd53d2eab79dc90ad83e6f98fddf18aebee6cfcbb845786bfa87f78186715f4e34f84ee628769ab274bb90366841c7e92ee35af92a5 SHA512 e38edc39515d5fe682804377fc75bf0d06c1db4d585cd30f2fb4cc6e95b5ff0da8b5928e475a6653f1e37f12003d4a293967d34b09132dcbf84bc737fa24154d DIST hypothesis-6.168.0.gh.tar.gz 9712003 BLAKE2B f6d77a8df01f8c385b4d0f23126503460f6c9a3e397a865481f0e02cfab5fe68450d3e2dfc5fac15e75ad03a08c03652e88bbd36996abb6fac7b200e50fc89b3 SHA512 38c38b042f3c7e0617a29b37681ef661dd30b6941f60699c809808474c74b1b6d25b533d32f68bd570837739217933d8e9faf2e89762acf8ef80450fa1f4731d DIST hypothesis-6.168.1.gh.tar.gz 9712065 BLAKE2B 7aa61ef58f527641192ad366330a9f4e2f8cc7a761ff1d64cf15f084e648a7d426d8e728881324e9be36c6775cd8bf987c09dab4b424bf9344bdb1b6c22d80a1 SHA512 b187073d81fb787e7a547fa625d7513eeadad99351fcfe118d7e602c78c4233068169f0e5f1ed4ef5477c7d85231f6ef3ca8fdec4b4b1bdf71ef3e52592087e0 DIST hypothesis-6.168.2.gh.tar.gz 9712765 BLAKE2B d3fc44380250a737fd78e6dd4696486d2f7299cca721a93b01c4220d8fc5a6457e133439a46f9ed7f25cee1298ef34cf4370d4230ddb968452492d1bc7feef48 SHA512 6bdc2c52be103805509bdda870d5e1eb2686b12b7acf3ec02148ab300621271f803177aa4c434510022e586a283ad6a2129027ef59fb15b604f060a2422113ad diff --git a/dev-python/hypothesis/hypothesis-6.167.1.ebuild b/dev-python/hypothesis/hypothesis-6.167.1.ebuild deleted file mode 100644 index 4636ca86c1c8b..0000000000000 --- a/dev-python/hypothesis/hypothesis-6.167.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=( "${CLI_COMPAT[@]}" python3_{14..15}t ) -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 -}