diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-09-22 19:04:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-09-22 19:04:31 +0000 |
| commit | 3afbcd2548572056324cf0d775924e04cbd6790a (patch) | |
| tree | 1d6617c229169a461c9bd31098ba4c92eed6b35e /dev-python | |
| parent | 4b843374640bbcd601727a8eb2d431fb9d508b35 (diff) | |
| download | baldeagleos-repo-3afbcd2548572056324cf0d775924e04cbd6790a.tar.gz baldeagleos-repo-3afbcd2548572056324cf0d775924e04cbd6790a.tar.xz baldeagleos-repo-3afbcd2548572056324cf0d775924e04cbd6790a.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
22 files changed, 455 insertions, 895 deletions
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index 75281ee36f68..c4666fd9d549 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,4 +1,5 @@ DIST coverage-7.10.5.tar.gz 821662 BLAKE2B 36fa0ecff03d140b36efdc93ddfdd8ae9d2cd3aa7a414a73afcda6e1f23c3f02ce5b36cf93250d83b2733c00a438984d7b2428454998238942ca44e0af1ca4a8 SHA512 885454d5b38f523e968df953e7008da23c110c7a8af42aab2fd1c8882784acd587f7f97a0f28bc58b14792ba5177e670683206f413ad4552c632b689b90aac2c DIST coverage-7.10.6.tar.gz 823736 BLAKE2B fbe443d98426213c275b3c32c6f0457f0e7994477da9a6fe95140c6876dfb42499e95d1239dc8e7ed796b17b81b9296e7a72962bf2b322fe97a09c6b8d4c6e7d SHA512 9b53246be27e009ba8639da2fdb9c975d743da6782f1d20a9f0da3ab07f4ebf2747124f3bb75c2694685c5b7fcdd09377a4611c85819123b9cc4defcf05c1cc3 +DIST coverage-7.10.7.tar.gz 827704 BLAKE2B a1361d23e192c6207a817d3cf0d6fc269292b6a5fe7c6d8ef453c554c64ba338449e75503aad912e61f34fb32046839760d1768dc13a718f625ea7748e0e8fca SHA512 3fd187c014d1eb3edd3aa91ff1946a325daa0cdec02f61d19fd8acd5bd65f8b3cb21d48a8875bce2f47543a1494b02f8d96070045a37d928c8e76d8563e776a1 DIST coverage-7.9.1.tar.gz 813650 BLAKE2B 42ea77277135a98d812c690aad744db427d6832ff01af68197015e4ff932c7ca88d2f804c0bceaca28b86087cb24245e5f57600444d064f1f008fc8b0a2353b5 SHA512 0bccbf802cdbd7d4df7c88cd7573466b024f7fb4cbf41fc5166a3e2dd70cd107caad01529971eb061cd571faadb342de057d0929f02b3b3e513666c052ecf591 DIST coverage-7.9.2.tar.gz 813556 BLAKE2B 6ed57a0011f7d05634c2a5c1e023f9ccfbb40d9a4bdd9011f2eaf03b658468a18df2044417f15108ec6429b6b62c63cd6a73e31904c0266137a4c6e65557207f SHA512 33ace642aada4b0ff5a72c3df628fe60fcc8b5f586f4851bfecc2ffa237cf019cbd78413c133aa8454e168b8895bfbc1363b722cf072eaf90979935b1982662c diff --git a/dev-python/coverage/coverage-7.10.7.ebuild b/dev-python/coverage/coverage-7.10.7.ebuild new file mode 100644 index 000000000000..e77b298e5776 --- /dev/null +++ b/dev-python/coverage/coverage-7.10.7.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE=" + https://coverage.readthedocs.io/en/latest/ + https://github.com/nedbat/coveragepy/ + https://pypi.org/project/coverage/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-{rerunfailures,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + if ! use native-extensions; then + local -x COVERAGE_DISABLE_EXTENSION=1 + fi + + distutils-r1_python_compile +} + +test_tracer() { + local -x COVERAGE_CORE=${1} + einfo " Testing with the ${COVERAGE_CORE} core ..." + epytest -o addopts= "${@:2}" tests +} + +python_test() { + local EPYTEST_DESELECT=( + # broken because of pytest plugins explicity loaded + tests/test_debug.py::ShortStackTest::test_short_stack{,_skip} + # these expect specific availability of C extension matching + # COVERAGE_CORE (which breaks testing pytracer on CPython) + tests/test_cmdline.py::CmdLineStdoutTest::test_version + tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer + # mismatch of expected concurrency in error message + # TODO: report upstream? + tests/test_concurrency.py::ConcurrencyTest::test_greenlet + tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code + # packaging tests, fragile to setuptools version + tests/test_setup.py + # looks like a difference in exit status reporting? + # https://github.com/nedbat/coveragepy/issues/2008 + tests/test_process.py::ProcessTest::test_save_signal_usr1 + ) + local EPYTEST_IGNORE=( + # pip these days insists on fetching build deps from Internet + tests/test_venv.py + ) + + "${EPYTHON}" igor.py zip_mods || die + + local -x COVERAGE_TESTING=True + # TODO: figure out why they can't be imported inside test env + local -x COVERAGE_NO_CONTRACTS=1 + + local jobs=${EPYTEST_JOBS:-$(makeopts_jobs)} + local xdist_args=() + if [[ ${jobs} -gt 1 ]]; then + # required upstream to avoid cross-test conflicts + xdist_args+=( --dist=loadgroup ) + fi + + local prev_opt=$(shopt -p nullglob) + shopt -s nullglob + local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so ) + ${prev_opt} + + if [[ -n ${c_ext} ]]; then + cp "${c_ext}" coverage/ || die + test_tracer ctrace "${xdist_args[@]}" + fi + + test_tracer pytrace "${xdist_args[@]}" + + case ${EPYTHON} in + *3.11) + ;; + *) + # available since Python 3.12 + test_tracer sysmon "${xdist_args[@]}" + ;; + esac + + if [[ -n ${c_ext} ]]; then + rm coverage/*.so || die + fi +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index fc88c577e8ab..43c17a46efd3 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,12 +1,5 @@ -DIST hypothesis-6.135.25.gh.tar.gz 9592222 BLAKE2B 42538cd2fa63968ea75cc42dfa92f998d50fb92e77726c8eee42e10c94ec69ea5a682e070e3c04bfe49b229cbf03e26d4ab04ac7dabe2c34f81e217ad8491f90 SHA512 bb245d38ac9f2b0aced7890cb6c7cba4ce4b98ccb8f843afe02094a63058aad63f6c7c4ad2dcaa4af753f5823544d394875049a0b56ea2d98f84db39351a7668 -DIST hypothesis-6.136.0.gh.tar.gz 9596080 BLAKE2B 65acbc8ea75e6fea22d7ee1329f68426a810b8e2fa5d31b37bb191a793a21e085d79b39de304a17979eebf3edc7202e2935e8fc3abef4e05d10aba648ff74ac9 SHA512 fb1cff6f9b6f48975928550c10bf13f9fcd48e32bb9363faf9abb204bf426ff980d6480688d06648ccc0163d0235e40b6c47ff2a1c988182ab35dc87b3434dcf DIST hypothesis-6.136.9.gh.tar.gz 9600678 BLAKE2B 85f37b3c0476e0a65da2ba656aa60b4464e835e8234ed2ae4d9f2b4f1320b4e7627e142c943182e5e644e6c32931402078885e78bfe256afcaa61e245e9cee3d SHA512 a3c9513d8bccfee2c3aef627d588d121c1c9365073719d816a0b1f7755b0f0460c6c3711a57aeca4b7e481f90433122b6ef0f4b2f16f3337fb2e64f01bb0ae39 DIST hypothesis-6.137.3.gh.tar.gz 9612265 BLAKE2B bc0c98872b08013194a11cad69e07632c04ac8f413a4dedb0a1a8a17112a477baecb2865fe11d189dff6b88d043d58a576e3d5de7edc944624dce680753cfe51 SHA512 6cdbd2d3e3aa69f8888d809fa81191279fa1a6321f6ba108dd8bc9956aab60fe82f22b3b442e561bb88961befc0dcdf3c854696ca979672122bea3285a7c163c -DIST hypothesis-6.138.11.gh.tar.gz 9621956 BLAKE2B d34c0a090720e4e7dac54a6726d42364ee80e23ada78f75e1fc3e1061a07a03eb16fa2832c850b88b773afcdbe8eea06f9539d5563dd284145cf38219050c340 SHA512 dea6a341d515d3372851d70caa518ceee78a658c58a11a5a830aeacc7c262ecba4ad676d3ce297cdd8dd7463830a17f6aaccd64d704887b2ced426377c316170 -DIST hypothesis-6.138.13.gh.tar.gz 9622656 BLAKE2B a9f834b0be3b003a482aa1a327eeff5599236bb765a4c25dfb5408e354062fa5b0c0cedefee527fba439d9c944f3f842f72ca60eb94f596a13a5a8e0bf9f9c8d SHA512 336f4ab84d512efd0341608ffcfae7348b64b38bb88a0a4a7c4aa2756e0013bec188d2b44d1f80e25d4050dd2adbad6aa20ee6c4757a0533888c613d4d59ce8c -DIST hypothesis-6.138.14.gh.tar.gz 9622789 BLAKE2B b982031224ba8c800a3b17bde04305db7c979d7e80839d3935ee4383f1900ef8b176722a1ed27b2889336e22eb140cb9c21de5b014345274d70093c9c7d6b5b9 SHA512 11a263e950d2bd51feb219e20423be5ac550d6a2c0a81d3f42d3a347ba8b5e569cb1652725c914219050d860c3f6c301226766416e79f0ee37e531f2a8673de3 -DIST hypothesis-6.138.15.gh.tar.gz 9622869 BLAKE2B 0192a1eeb3944fd3fd031f80b6cc039ae89916a9197294e27d5ad2684a77652894d27f9cc4c98c6abd20ef811b110d8e37dcd83e45beaf2dba84c8913fc0f7c9 SHA512 5c36c74444828dfc9c10a493959fd58fceceb12a236a4f9e2107eaa5b0413639d970abc3053efbe18f3e030220f1dc0bd0ca327ebfed59069862b969a599a5f5 -DIST hypothesis-6.138.16.gh.tar.gz 9622785 BLAKE2B 2092fb0131942f1e28145b92553b692281b3dcb79c68175c1649d2f31c5170acf009662f9ec52a9a288fcbe428af0ec285f13761db2de624fc67b0832c720374 SHA512 fe607d96b216d19753a1cb0c46729f2547d7d790d437e1a02be3b089cb29920a5e819683105523a2b024c6692b1ed7849b705b25458cc1d655b0370451e5c0d9 DIST hypothesis-6.138.17.gh.tar.gz 9622806 BLAKE2B ab53606527145ef5a33cdcf1771158d1a92acf45737b68f32270eaa3f3bb6a03665877cd3ea5a787481e5fe549f269f00d93d7552832379c52347d334d4c96fe SHA512 f0a7667f27580732b5a1f2c6ed69fbe03e7f0db828d4633b9a32956fff19aa8472776dafdb48a1b65c03d7faf1afa532dd6f24298ddbeb322bcc79a993cbff7b -DIST hypothesis-6.139.1.gh.tar.gz 9623905 BLAKE2B b7c2aa30ebd2bdfbd0808c56d87f28619625ff4a30396f8ccbe4c298b00044d1c7a224111b724cdcd23f3f9916574cf282a7d9f22fea85f38e2f21172c291bec SHA512 dba03341695c1fa6252c27e652f12955778742a0555414b18856f75bf1e710296efce1f9359be8fb1fafdc45a72866664d7bb5ca01bcfb0a6d8df29eef257251 DIST hypothesis-6.139.2.gh.tar.gz 9623909 BLAKE2B 2b509474e06169191087932a47a0564fc5babf0f1e2acddd4f95d7d411befea444a80c7d7fea9c8582fb6ddc8153388a52a7a29d917f4f5ea8c142c8345e9036 SHA512 ffd797bc2ed6591fd67b2639665c606c1814a7ee2cca1b1f4272ef505a3ad83883988feb2dc32e4a92813c540dd485594d2c332e945ad7f58b9eb276af733869 +DIST hypothesis-6.140.0.gh.tar.gz 9624664 BLAKE2B 9600322c753095501d64595030dc2a97aa929909b26625d2995bf2f9c89a0dc0ce99e682c41fe176be880c80f4134329b4366bff984a140f9e3da91689396858 SHA512 9a2c04a2846412dc7ece19702c64dab4e3db6734ca176af7e462e5479c1b6bf316e5c736e147c69b2a183f424618dbb24b388ae967af0cbaf433eab413dfdd78 diff --git a/dev-python/hypothesis/hypothesis-6.135.25.ebuild b/dev-python/hypothesis/hypothesis-6.135.25.ebuild deleted file mode 100644 index 9f7a918e9a81..000000000000 --- a/dev-python/hypothesis/hypothesis-6.135.25.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" - -EPYTEST_PLUGINS=( pytest-rerunfailures ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - # subtests are broken by warnings from random plugins - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - epytest -o filterwarnings= --reruns=5 \ - 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.136.0.ebuild b/dev-python/hypothesis/hypothesis-6.136.0.ebuild deleted file mode 100644 index f1e19967ecd5..000000000000 --- a/dev-python/hypothesis/hypothesis-6.136.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" -PDEPEND=" - dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( pytest-rerunfailures ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - # subtests are broken by warnings from random plugins - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - epytest -o filterwarnings= --reruns=5 \ - 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.138.13.ebuild b/dev-python/hypothesis/hypothesis-6.138.13.ebuild deleted file mode 100644 index 7a7443937da6..000000000000 --- a/dev-python/hypothesis/hypothesis-6.138.13.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" -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 - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - 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.138.14.ebuild b/dev-python/hypothesis/hypothesis-6.138.14.ebuild deleted file mode 100644 index 7a7443937da6..000000000000 --- a/dev-python/hypothesis/hypothesis-6.138.14.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" -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 - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - 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.138.15.ebuild b/dev-python/hypothesis/hypothesis-6.138.15.ebuild deleted file mode 100644 index 7a7443937da6..000000000000 --- a/dev-python/hypothesis/hypothesis-6.138.15.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" -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 - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - 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.138.16.ebuild b/dev-python/hypothesis/hypothesis-6.138.16.ebuild deleted file mode 100644 index 7a7443937da6..000000000000 --- a/dev-python/hypothesis/hypothesis-6.138.16.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" -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 - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - 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.139.1.ebuild b/dev-python/hypothesis/hypothesis-6.139.1.ebuild deleted file mode 100644 index 7a7443937da6..000000000000 --- a/dev-python/hypothesis/hypothesis-6.139.1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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}] - 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}] - ) -" -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 - -python_test() { - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - 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.138.11.ebuild b/dev-python/hypothesis/hypothesis-6.140.0.ebuild index 7a7443937da6..7a7443937da6 100644 --- a/dev-python/hypothesis/hypothesis-6.138.11.ebuild +++ b/dev-python/hypothesis/hypothesis-6.140.0.ebuild diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..98b2b0bf8d0b 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest index 9fd373b4949c..b6f4a15fc682 100644 --- a/dev-python/lxml/Manifest +++ b/dev-python/lxml/Manifest @@ -1,3 +1,4 @@ DIST lxml-5.4.0.gh.tar.gz 950906 BLAKE2B 00c47f34178df5f1b3555f5980a0c7ca9ecc5f0b54cc2756125fd6b2684e369563220c42d380f43af4e53ed2756ebfd71e9f6e1113aa192f14c76defb56c944a SHA512 a7f297b94fd88f20de9371bef207f8e95243a060b24e4006ec310c4a94f6147c8bb38fc3cff0f874f0b76282e745bb62e65a5cba2ce6e34ee54be0e3fde66724 DIST lxml-6.0.0.gh.tar.gz 987497 BLAKE2B 9d3d61c4f478014942b276d8e5bb8137d67edf05294a821461bd4304a857481cff694a2d97a8c9cbffe0fef7d755aff7c6a6f67eae832f637ff2e5bdc105a7f3 SHA512 05519e03067de5d85be76994070c0a25f35eb52c2df5fc540aa6d2661af09636021c9b6b60d102c687cd9b8f800ecffdb9f2407d7d0f5bbbc43c4c0b38a3b18e DIST lxml-6.0.1.gh.tar.gz 988844 BLAKE2B de4a2964f3118a40a1d2638134a29683297952b00c225477ede859be1f985c821e7125e3bb0be03866d08f7dff10971a23de63cfd16aa8ea805035b28124391b SHA512 7a41325af7b2b802ed368274444fbe4f272141c93f798ea60305c67a11484c73c5686dc24a37a784be1e574ad22bb4ff06111e868ef0567156e6a143f7742554 +DIST lxml-6.0.2.gh.tar.gz 990107 BLAKE2B c01a94fef56754599100b65927b40c2d786d631f02bbfe6cff3865a00531ab26fc6a0fe5cf9b02bdcf01beb45ef94fd4436ed4c06f5c8fd9e707bcae80c0f2f4 SHA512 164dc5e38e394f4396faf0b06729039f6807a227e1a2755a6991e6dce569cc64244d5edfd2cf2af0d4e845d7155a76f6e391e32f3d5aac21dff3c07cbbe06460 diff --git a/dev-python/lxml/lxml-6.0.2.ebuild b/dev-python/lxml/lxml-6.0.2.ebuild new file mode 100644 index 000000000000..a44822c565dd --- /dev/null +++ b/dev-python/lxml/lxml-6.0.2.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 optfeature toolchain-funcs + +DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" +HOMEPAGE=" + https://lxml.de/ + https://pypi.org/project/lxml/ + https://github.com/lxml/lxml/ +" +SRC_URI=" + https://github.com/lxml/lxml/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/lxml-${P} + +LICENSE="BSD ElementTree GPL-2 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples +threads test" +RESTRICT="!test? ( test )" + +# Note: lib{xml2,xslt} are used as C libraries, not Python modules. +DEPEND=" + >=dev-libs/libxml2-2.10.3:= + >=dev-libs/libxslt-1.1.38 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + >=dev-python/cython-3.1.4[${PYTHON_USEDEP}] + doc? ( + $(python_gen_any_dep ' + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-6.0.0-pypy.patch" +) + +python_check_deps() { + use doc || return 0 + python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/pygments[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version -b "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # don't use some random SDK on Darwin + sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ + setupinfo.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local DISTUTILS_ARGS=( + # by default it adds -w to CFLAGS + --warnings + ) + tc-export PKG_CONFIG + distutils-r1_python_compile +} + +python_compile_all() { + # disable automagic dep on coverage + use doc && emake CYTHON_WITH_COVERAGE= html +} + +python_test() { + local dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + cp -al "${BUILD_DIR}"/{install,test} || die + cp -al src/lxml/tests "${dir}/" || die + cp -al src/lxml/html/tests "${dir}/html/" || die + mkdir "${dir}"/../../doc || die + # this one needs to be copied, because upstream uses doc/../../../doc + cp -r "${S}"/doc "${dir}"/../../ || die + ln -s "${S}"/doc "${dir}"/../../../../ || die + + "${EPYTHON}" test.py --no-src -vv --all-levels -p || + die "Tests fail on ${EPYTHON}" +} + +python_install_all() { + if use doc; then + local DOCS=( README.rst *.txt doc/*.txt ) + local HTML_DOCS=( doc/html/. ) + fi + if use examples; then + dodoc -r samples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4 + optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect + optfeature "Support for lxml.html.clean sanitizer" dev-python/lxml-html-clean +} diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 56b01bddeda3..f015d734af0a 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -2,3 +2,5 @@ DIST pyzotero-1.6.11.tar.gz 552337 BLAKE2B 64487fb2316e3e20ec962218972ea77de922d DIST pyzotero-1.6.13.gh.tar.gz 580842 BLAKE2B b421759644e561b0ebaa07ad3ab7c532c446183953fec79e7d28e60a204d7e6e3827484b91752a460ae823e49db564dda1355576c87b690940ec86511a34729f SHA512 66bc50aab5528eb1b2ead3a307ee17c02d6fe481fe3b2acf3eaba3ca5ee5f915315941812ec8ec295077563e9815b8968b049f01093b20d135237e71b09e1004 DIST pyzotero-1.6.15.tar.gz 526457 BLAKE2B eea2b037975a7e5e0c2f57f29509626575575b8bf21ae64c266b1b70f27ef1bbadb49c856ee4ee042951b90679a1b9f06e671cdd5b3b16caa6b40469cf0bca67 SHA512 7a83674ad21f462ef019e27e1d051667eaed2c56c02fc524cbaac415da5a5d79400c78f0e16d00aa2a38db1af795f993103a6792fdef3ace28e3eca77cfe0ae3 DIST pyzotero-1.6.15.tar.gz.provenance 9000 BLAKE2B 3d0ecb436dbcdcc901acbb83aeabb33ebe488df7471c85f1b64f2a1e4628c01e3cdca87c67a5e23ae5e256ad1a2c09db258ca4ca309416bc0123d3a9b63b8f3d SHA512 b2b32e538f1736b67bf0e55c29a7ee86949c6c67b50616b51dac00d54618093e04fee7f4728cc3cd85bdf83efcf4547ca47fda34f1e33e95306d844d39e35f17 +DIST pyzotero-1.6.16.tar.gz 526904 BLAKE2B f5b385e3d22ec4a2bf9e35ea9578c60f2947fbff6edfe489e1ebbfbabf9f63d2088725be092e71a2eb4aa7c473e6008092121cf276182cb3cf7b043b6963eaed SHA512 e3ee2556f0411ad0c4f49f21630ba539cbe10fbb9deb849789a15c93a43327d5743312be8e71396e9354ee07a3edf64086680d566f45b9100a5f914effc4e5e3 +DIST pyzotero-1.6.16.tar.gz.provenance 9231 BLAKE2B 7e877621d092b4b8e07a5a9eac4c9d5143d0172eeb199fba11e3f34e92f145c01ea2a66ac2e2190b231004337b51ec25d0be9f685f98615db111a1a5edd60bf5 SHA512 debdfadded065a7abdac9ff43d0417d03518f876355515881dcbd1b7901c6b68240695d408c20a9b3b8f105f800a1a2066e83192b1b91ef081fc91b1121a84da diff --git a/dev-python/pyzotero/pyzotero-1.6.16.ebuild b/dev-python/pyzotero/pyzotero-1.6.16.ebuild new file mode 100644 index 000000000000..820dc35c88c9 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.6.16.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/urschrei/pyzotero +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="BlueOak-1.0.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + <dev-python/bibtexparser-2[${PYTHON_USEDEP}] + >=dev-python/bibtexparser-1.4.3[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.12[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] + >=dev-python/whenever-0.8.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] + test? ( + >=dev-python/httpretty-1.1.4[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/pytz-2025.2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/tzdata-2025.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.0.0.ebuild b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.0.0.ebuild index 5673bce22b9f..d544066dd1b1 100644 --- a/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.0.0.ebuild +++ b/dev-python/sphinxcontrib-mermaid/sphinxcontrib-mermaid-1.0.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" RDEPEND=" >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/whenever/Manifest b/dev-python/whenever/Manifest index deb25e9631e2..acb07479006e 100644 --- a/dev-python/whenever/Manifest +++ b/dev-python/whenever/Manifest @@ -67,6 +67,7 @@ DIST wasm-bindgen-shared-0.2.100.crate 8570 BLAKE2B 886fa72cae891d4c2311e12e28f0 DIST web-sys-0.3.77.crate 638246 BLAKE2B 3f21ab03a18d82cffd96432e4f08bfae183b24f9a50dcfc51c927e9973dabfb8b6bb1f3ae044890832809ec91709242c1c37463931770d347fdf521587a72515 SHA512 cd149286105288f7c385a29eae7df2306d4066edfca4de1255efc7bd8a4e8eaafc313dab85091025c3b5d5e333fce8b7fcef1fb824fe4d799bcc9bb78b73c97a DIST whenever-0.8.8.gh.tar.gz 350197 BLAKE2B 2994c59091c69619c4ee422c44b765338edf01572c1da3598a95bdad92bd852fa64bb1ff93a1f4a009c62884b23795e7d53e0c2e24f54fdde2aabe56fc5f2b41 SHA512 578a761aecbfdf0300275da409a0506b617d276ff83e915252c6da61773480c62f8f8947195b517b6d6f35c14d23953e060e3f0e3ade108898a32dd0b70372a7 DIST whenever-0.8.9.tar.gz 240155 BLAKE2B 4ef044338fddee3df1f3bb112da3ad2260fb8a15751c775edc57d1408baf16cb45a607b4767be33adc37aac0504827a96b70a3e3d08a99f8c15c017c6c6f6713 SHA512 aab1af71b23ece034650959eef890f0d79138376f493932b1bc78e13f698c019243a591ac40a92086fbc757c96131e2b57d2cdd4d7258e92dc346b0b0976b8e3 +DIST whenever-0.9.0rc0.tar.gz 253653 BLAKE2B 9a0433fd7a56e022380be8ddc0683cc9c6fce1c32924d67e5538009f438f751b7e7d72171a76f318f6606332f4fd9cb56616c199b5d9b9247bf124af62fcae31 SHA512 2cace6cbb5737f424e30f1eac1b4cd67126e43bc455308de834e79ba82900c9249e31d47eeb217925f4334879eff55055dd20e54b9675d22e28da31227cf3f29 DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 DIST windows-targets-0.52.6.crate 6403 BLAKE2B eb98d0a8daeed5fe76e7fa8edb2743e2a3e77dfb9c4ea68605a6ab10532cb7cfc43bc1cea0180869445bd940be762a40136500e26b84ca88b5e0c502004c7a4c SHA512 d6d2dbd96096c6c396dba141a9817e377c35877f3b2fe58b2553280c7cfcb1ed6ee75bd4d62c9b882662de67ddaf0c1049b91530d29c94dd709c230e08eb895f diff --git a/dev-python/whenever/whenever-0.9.0_rc0.ebuild b/dev-python/whenever/whenever-0.9.0_rc0.ebuild new file mode 100644 index 000000000000..25844bed0177 --- /dev/null +++ b/dev-python/whenever/whenever-0.9.0_rc0.ebuild @@ -0,0 +1,149 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +CARGO_OPTIONAL=1 +RUST_MIN_VER="1.86" +CRATES=" + ahash@0.8.12 + aho-corasick@1.1.3 + anes@0.1.6 + anstyle@1.0.11 + autocfg@1.5.0 + bitflags@2.9.1 + bumpalo@3.19.0 + cast@0.3.0 + cfg-if@1.0.1 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.41 + clap_builder@4.5.41 + clap_lex@0.7.5 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-deque@0.8.6 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.21 + crunchy@0.2.4 + either@1.15.0 + getrandom@0.3.3 + half@2.6.0 + hermit-abi@0.5.2 + is-terminal@0.4.16 + itertools@0.10.5 + itoa@1.0.15 + js-sys@0.3.77 + libc@0.2.174 + log@0.4.27 + memchr@2.7.5 + num-traits@0.2.19 + once_cell@1.21.3 + oorandom@11.1.5 + plotters-backend@0.3.7 + plotters-svg@0.3.7 + plotters@0.3.7 + proc-macro2@1.0.95 + pyo3-build-config@0.25.1 + pyo3-ffi@0.25.1 + quote@1.0.40 + r-efi@5.3.0 + rayon-core@1.12.1 + rayon@1.10.0 + regex-automata@0.4.9 + regex-syntax@0.8.5 + regex@1.11.1 + rustversion@1.0.21 + ryu@1.0.20 + same-file@1.0.6 + serde@1.0.219 + serde_derive@1.0.219 + serde_json@1.0.141 + syn@2.0.104 + target-lexicon@0.13.2 + tinytemplate@1.2.1 + unicode-ident@1.0.18 + version_check@0.9.5 + walkdir@2.5.0 + wasi@0.14.2+wasi-0.2.4 + wasm-bindgen-backend@0.2.100 + wasm-bindgen-macro-support@0.2.100 + wasm-bindgen-macro@0.2.100 + wasm-bindgen-shared@0.2.100 + wasm-bindgen@0.2.100 + web-sys@0.3.77 + winapi-util@0.1.9 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 + wit-bindgen-rt@0.39.0 + zerocopy-derive@0.8.26 + zerocopy@0.8.26 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Modern datetime library for Python" +HOMEPAGE=" + https://github.com/ariebovenberg/whenever/ + https://pypi.org/project/whenever/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+native-extensions" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + native-extensions? ( + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + ) + test? ( + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-order ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( benchmarks ) + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/whenever/_whenever.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_configure() { + if ! use native-extensions; then + export WHENEVER_NO_BUILD_RUST_EXT=1 + fi +} + +python_test() { + rm -rf whenever || die + epytest +} |
