diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-16 07:07:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-16 07:07:05 +0000 |
| commit | eb1bb9324a7ee5a6925c1e4b0158569496594cfe (patch) | |
| tree | f463fe481a7877f8b40caaad98c48fa24483a080 /dev-python | |
| parent | 415def438c52aa0f9284059ef6748bab59e8837b (diff) | |
| download | baldeagleos-repo-eb1bb9324a7ee5a6925c1e4b0158569496594cfe.tar.gz baldeagleos-repo-eb1bb9324a7ee5a6925c1e4b0158569496594cfe.tar.xz baldeagleos-repo-eb1bb9324a7ee5a6925c1e4b0158569496594cfe.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
18 files changed, 246 insertions, 597 deletions
diff --git a/dev-python/fake-py/Manifest b/dev-python/fake-py/Manifest index 28a0ef2b5790..f339f4b094fa 100644 --- a/dev-python/fake-py/Manifest +++ b/dev-python/fake-py/Manifest @@ -1,2 +1,3 @@ +DIST fake.py-0.11.10.gh.tar.gz 118399 BLAKE2B 7bd1d12152c0be9f4e4e7887e3b3ffb372207d464a773acc8bd28035899ff72f6aa82c625fbfd97d4f27c92014db04795efe958d23a431ff7b6ad9ea923023ea SHA512 def8f9dfe89f038c6ff11fc6d40e18c20c5ffa36e3c6a5a3c6f90c08ffd8018b343e455a9763594d3aeb92152c9ac608ed941a75137cb1fc1d1157b2adbbf061 DIST fake.py-0.11.8.gh.tar.gz 117240 BLAKE2B b5900bd9e51ed0f774cd22202100fbe303de9fcc18a67c8f6a6d03817bdd7a03838443ab759146c0b6429a0fc724d311311d26f64b7bb9cfc0e287a3957dabec SHA512 92d4e0f01ed3e08846e12a5deace2da0cf3bd178359ec7a3b39dab3363a600b2552eb946d1baf94f47ab13b91946a61292d38ae69bafd6a3b269f02528a67675 DIST fake.py-0.11.9.gh.tar.gz 117622 BLAKE2B 8aa64086da9853a0fb63283f6761a050fa92e605a908aadd384d3dfc73bf4b696193586f111b7206d039bfe947413054315bdf476799ac5f2f6a0a8690447726 SHA512 0961813a3356950f952121e3bc24a4747204498ab6de2e53b890056dedad56e118088d607f43891538f38072c3b437d7d6b573e1ba13760b97b0ce516ad668a1 diff --git a/dev-python/fake-py/fake-py-0.11.10.ebuild b/dev-python/fake-py/fake-py-0.11.10.ebuild new file mode 100644 index 000000000000..a292bf381cd5 --- /dev/null +++ b/dev-python/fake-py/fake-py-0.11.10.ebuild @@ -0,0 +1,61 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=fake.py +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Minimalistic, standalone alternative fake data generator with no dependencies" +HOMEPAGE=" + https://github.com/barseghyanartur/fake.py/ + https://pypi.org/project/fake-py/ +" +# upstream removed examples (and their tests) from sdist around 0.11.8 +SRC_URI=" + https://github.com/barseghyanartur/fake.py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # avoid pytest-codeblock which is another nightmare NIH package + rm conftest.py || die +} + +python_test() { + # This package is a mess with tests thrown all over the place, + # and they need to be run separately because of how messy this is. + + local EPYTEST_DESELECT=( + # fails when started via 'python -m pytest' because of different + # argparse output + fake.py::TestCLI::test_no_command + ) + + epytest -o addopts= fake.py + + local suite + for suite in customisation dataclasses hypothesis lazyfuzzy; do + pushd "examples/${suite}" >/dev/null || die + epytest -o addopts= + popd >/dev/null || die + done +} diff --git a/dev-python/httplib2/httplib2-0.31.0.ebuild b/dev-python/httplib2/httplib2-0.31.0.ebuild index a2ea64666758..c9e26a74a5c4 100644 --- a/dev-python/httplib2/httplib2-0.31.0.ebuild +++ b/dev-python/httplib2/httplib2-0.31.0.ebuild @@ -21,10 +21,12 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="socks5" RDEPEND=" dev-python/certifi[${PYTHON_USEDEP}] dev-python/pyparsing[${PYTHON_USEDEP}] + socks5? ( dev-python/pysocks[${PYTHON_USEDEP}] ) " BDEPEND=" test? ( diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index bd29a969b3cd..5d5b3cc20d42 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,10 +1,5 @@ DIST hypothesis-6.139.2.gh.tar.gz 9623909 BLAKE2B 2b509474e06169191087932a47a0564fc5babf0f1e2acddd4f95d7d411befea444a80c7d7fea9c8582fb6ddc8153388a52a7a29d917f4f5ea8c142c8345e9036 SHA512 ffd797bc2ed6591fd67b2639665c606c1814a7ee2cca1b1f4272ef505a3ad83883988feb2dc32e4a92813c540dd485594d2c332e945ad7f58b9eb276af733869 -DIST hypothesis-6.142.2.gh.tar.gz 9624421 BLAKE2B b211bf50f2311e8854197a7b9350248885db01efd9d11447f618cf6a4dd89fb7c41de6a3d25485f7152aa04d4e463150253b31580fd3165975f87b97e351f6d3 SHA512 cfd43aafbe45fc575ebd746b8fac4c0932fcf46b78d64f6d9e419f55a1fca05c417915a714ceb57d0e251751cfbc5b1f4db6e91b8227bedf8702b6d095bf1a96 -DIST hypothesis-6.142.3.gh.tar.gz 9624774 BLAKE2B 0c61fc5cde52c782a11670ae09cb11bf3f322a64d1bed9d620a95aea3aed0318bcf4b4daf504d26bcb37e9cface73dee1df6b11099e4378a81d27f5890118f93 SHA512 f854fed77c4363d305f2f71a41ed517f81febcad6a6d401c053060605a9615637ec1ac9dc3fa88bf91eddbcdb57b82693efbdf12635a9b9d0de17340c52f7c2d -DIST hypothesis-6.142.4.gh.tar.gz 9624807 BLAKE2B ca10595f6d76b6b707428a9bbf432ddb3e61890b6e529b984ce8231ac3d0b7070e6a311f1a7f70e2c82f673694f3e39bd8a8dad716f5bdb02fdec08aa4f2205f SHA512 a34749a558bd688f66201601a5ce29f1180e6b5fe3d0c07da9f72f1c0152ea9bc516797e917a287a8a6b9da1c09886cf97c934a154fc090083b2b9cf37492426 DIST hypothesis-6.142.5.gh.tar.gz 9625137 BLAKE2B 2a0146541b95710419c5ede4288a3996d1e7688932b7f888d960fed5c69b344b1fb5e9e4509c97033d102137e315b10d3d1d336ed6964db8caaacdd23c160213 SHA512 5d7f21dd449a951ea9974dcb586087a5f0a43a2bc84ff5898ef81d53d9a543a7afdc26e85ffc21be01f300d6582eedb2f99cf086fd5eb9debb457b62f75500ea -DIST hypothesis-6.143.0.gh.tar.gz 9632960 BLAKE2B f09cbbefe2f8f08f395f7b985e0228ad187a5099e4324a42fb46b3b2717121d51adac443659179b8a71069b9588036d667a9d9190cbfdd7ea5af08dc32aacafe SHA512 3e64ca49152f776f719f25ad10f60616535eb7d9474237df64613997ce7bec9d8afbf15ecd1f0b84246b3befe7fe78398dc7a5b475f489573393c966aa31babc -DIST hypothesis-6.144.0.gh.tar.gz 9635457 BLAKE2B 1cfcdde69238b5e7233178e8df0f3351bba03eb2f9164cc8f45aafbaa0e7ae1877b1bf7c6619f4b8f3f4ded791f6736b0bbf4cdffcb0c98a04f9c39414d33510 SHA512 14794308624be4ed65f88a9fd6affec6e69372c8e03c17a475b71f7cf14f5a7c2fb656720257750f51c35b51c48c26902c854fb6854dff9ae50c94db113701a7 DIST hypothesis-6.145.1.gh.tar.gz 9636827 BLAKE2B e39544074d83b33b6e04eb26319d20dd48e4196f216c782149fdf9e2bd869b5f29aa97b3606a5235bcf41dc0a98db05966c6e542a64ab5a63470038f9eca02fd SHA512 3af66ecac9217a11dccba070f16af610e0ca0216d802ae298d9a5ded6c62546b70d260d7fd191785b84f106ff9786af2dbda400e30bd4fb5caa05ef6a0fd65ee -DIST hypothesis-6.146.0.gh.tar.gz 9638304 BLAKE2B 7b72b415062008c48ebc6022dabbde08cdbff5cbdd1e4666428a8da0fc7480e67980a8c7a2f9cdf7382e68c1fe3091def198f2f9409c12c253890f50d80f3d35 SHA512 c7251b2bba372519ea6f0a6c95c546285170375a210b8e0227f986f6c6e59207e94b0e2ae41a390955446bf222c36d2167c7a537b052d96d39f5a1ced9b3a6a1 DIST hypothesis-6.147.0.gh.tar.gz 9637937 BLAKE2B ee245790ce248a43dd6a25148b9adc40278bbdcedf169820a1047ef0a12707ab90083b285e952ecde2397e5ec313314b7dcd9b8939bbbefdc113509f27db09d9 SHA512 6c5da0c2ceec1110b1f310f9cb0d13ec9e0397ff2cdc53cc47e9e3d7147b2153cd1fbff870ca63589d08f20bb6f7f30a3a73c402312d202974f0ec08a6612918 +DIST hypothesis-6.148.0.gh.tar.gz 9637659 BLAKE2B 49f4a793181e308b5a4c8b134b7b222d42162e1dca0c424ab30a82a061e479028703237e550ea491e3a2ba10610f2c4e248b618527e554b82d95d442f98abced SHA512 169ca9a09c0a3752768cbbd48f8bb444382895f066e0f26c6f64df64dd957e8a5e3a4ef79c33bfc2643908b96159f212661dab7f04e2380a85a82330aaf139e1 diff --git a/dev-python/hypothesis/hypothesis-6.142.2.ebuild b/dev-python/hypothesis/hypothesis-6.142.2.ebuild deleted file mode 100644 index 69da4112ef36..000000000000 --- a/dev-python/hypothesis/hypothesis-6.142.2.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_{10..14} ) -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.142.3.ebuild b/dev-python/hypothesis/hypothesis-6.142.3.ebuild deleted file mode 100644 index 69da4112ef36..000000000000 --- a/dev-python/hypothesis/hypothesis-6.142.3.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_{10..14} ) -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.142.4.ebuild b/dev-python/hypothesis/hypothesis-6.142.4.ebuild deleted file mode 100644 index 69da4112ef36..000000000000 --- a/dev-python/hypothesis/hypothesis-6.142.4.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_{10..14} ) -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.143.0.ebuild b/dev-python/hypothesis/hypothesis-6.143.0.ebuild deleted file mode 100644 index 69da4112ef36..000000000000 --- a/dev-python/hypothesis/hypothesis-6.143.0.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_{10..14} ) -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.144.0.ebuild b/dev-python/hypothesis/hypothesis-6.144.0.ebuild deleted file mode 100644 index 51164dd25038..000000000000 --- a/dev-python/hypothesis/hypothesis-6.144.0.ebuild +++ /dev/null @@ -1,91 +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_{10..14} ) -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 -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.146.0.ebuild b/dev-python/hypothesis/hypothesis-6.148.0.ebuild index 3239d4fba180..3239d4fba180 100644 --- a/dev-python/hypothesis/hypothesis-6.146.0.ebuild +++ b/dev-python/hypothesis/hypothesis-6.148.0.ebuild diff --git a/dev-python/pytest-localftpserver/Manifest b/dev-python/pytest-localftpserver/Manifest index 8994f7365573..bb98830dcd24 100644 --- a/dev-python/pytest-localftpserver/Manifest +++ b/dev-python/pytest-localftpserver/Manifest @@ -1 +1,2 @@ DIST pytest_localftpserver-1.3.2.tar.gz 48883 BLAKE2B a1e78d632a24f1066e8e96dc54875379e471446d77755b5defd0a0b4a2f00e2f3812d82f7be364f3a414432ae023a9c949132d530d3a2f476dec2c0fe8285408 SHA512 d7be031abd616df9e146ab08f2fe406c1dd55b68e97271e945c20938c01deff53b48cbf5c6b46c90c2cb5388f377e078e5e701ddcc2fa4900d29df9f82c92c4e +DIST pytest_localftpserver-1.4.0.tar.gz 49338 BLAKE2B 4d8174073901523e93b91148b32f66ae4d69216eddbb698aafc818f02a9ed517b1317b10d605576202d22af352437c58f325a2bbe1b428ba35e0179fb22c65f7 SHA512 5e7c2789fd88c4178b2e01f57644d3f9c5740c9455ed838df5f7bb3eea96fb2dba687c7f1f6a28e131331a67c8629dd4be620ac973f74b21eb0f71c6def4a119 diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.4.0.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.4.0.ebuild new file mode 100644 index 000000000000..10d154e490ef --- /dev/null +++ b/dev-python/pytest-localftpserver/pytest-localftpserver-1.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A PyTest plugin which provides an FTP fixture for your tests" +HOMEPAGE=" + https://github.com/oz123/pytest-localftpserver/ + https://pypi.org/project/pytest-localftpserver/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_IGNORE=( + # these are broken upstream + tests/test_pytest_localftpserver_TLS.py + # TODO + tests/test_pytest_localftpserver_with_env_var.py +) + +EPYTEST_PLUGINS=( "${PN}" ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # nonsense pin to a vulnerable version + sed -i -e '/cryptography/d' pyproject.toml || die +} diff --git a/dev-python/tavern/Manifest b/dev-python/tavern/Manifest index 8d553cf35435..fc931664464a 100644 --- a/dev-python/tavern/Manifest +++ b/dev-python/tavern/Manifest @@ -1,2 +1,3 @@ DIST tavern-2.17.0.gh.tar.gz 243762 BLAKE2B aca42310622fe769ff6a6201c4fd4faa613ff2a73910044d4eed9ab60f3e731e1614e3cea9deee8a47c553f9156462da5312e358fe58b52beb45fe4a60e847e0 SHA512 33f01a13bf87a6015bb0896bb7184ca584da43b1543a620b0577cfe2f7ebc71c550008e0febd0634e9649394322a41ded32e1b482abfd26fe750a2c46a5a0894 DIST tavern-3.0.0.gh.tar.gz 280132 BLAKE2B c99076aaf402a47b904da65d97fb75b3518d5d683492ad3a47b04fae05ed305a3f0ce1841d25b25d96fb06542d020608b05fa3b4a9e53822ce0bf2114f7797f7 SHA512 7c7764bb3fae649969e8dd2ae86103abb31de2ccee7e792ca136be6294df251863da6ab783319a9d2e43219f3a7b34793d17282f3aca59ca7ddbe417b3ded24c +DIST tavern-3.0.1.gh.tar.gz 292514 BLAKE2B 2a2297c09ca39e97d8926cbda681606e5ffa29fe29d7a9c5690f78cc1090304edba8ad813bab28470a8f20d3ad0900c0b88854ee1e450425e3e306bb9c09834b SHA512 1c79899effd4abf148a4c9459fa3994a0b2ad972899d39ab79740951d0fd1671d8905d50e2ba1eeae397a822424db6f090f3ab1207511bd118ae9eecc3045eef diff --git a/dev-python/tavern/tavern-3.0.1.ebuild b/dev-python/tavern/tavern-3.0.1.ebuild new file mode 100644 index 000000000000..66bf5b84b4d4 --- /dev/null +++ b/dev-python/tavern/tavern-3.0.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A tool, library, and Pytest plugin for testing RESTful APIs" +HOMEPAGE=" + https://github.com/taverntesting/tavern/ + https://pypi.org/project/tavern/ +" +SRC_URI=" + https://github.com/taverntesting/tavern/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jmespath-1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.5.0[${PYTHON_USEDEP}] + >=dev-python/pykwalify-1.8.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + >=dev-python/python-box-6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/simpleeval-1.0.3[${PYTHON_USEDEP}] + >=dev-python/stevedore-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/faker[${PYTHON_USEDEP}] + dev-python/paho-mqtt[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires grpc + tests/unit/test_extensions.py::TestGrpcCodes + # broken with paho-mqtt-2 + tests/unit/test_mqtt.py::TestClient::test_context_connection_success +) +EPYTEST_IGNORE=( + # require grpc* + tavern/_plugins/grpc + tests/unit/tavern_grpc +) + +src_prepare() { + # strip unnecessary pins, upstream doesn't update them a lot + sed -i -E -e 's:,?<=?[0-9.]+::' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index ef909a4cdf24..1e1d7b186ce8 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1,3 +1,4 @@ DIST types_psutil-7.0.0.20251001.tar.gz 20469 BLAKE2B a0b3563bafe004553e56c2b50bef02dd35f03344dabaeaaa0e500778c02e021e8a11a55e53073c9c14f7b5424f1fd4ffa4afbb2adb95ca255da75129433c5e8d SHA512 4cbccedc01a350df478ba55d2823b139e769bb39ce8366b0b89d296dfa156ee52e0b781ba0431672bc0e6cc38df1c557de06aca6984ab8e1196b917075623c57 DIST types_psutil-7.0.0.20251111.tar.gz 20287 BLAKE2B 89843a8d09099344060c19962ec0d0f9b0ce119f82f7b7e264d83259b92acb7581f96af5440514645daad103cdf5fb86587a51f94eb61042fefe7994ea90894b SHA512 25778e2f23544a71df876dc22d40eedfe912e686de54ed520dc4eced95b7817a14c8c8a9d391f52782272f984cfd9ce536ac12d4dc351915bdeaa801aa906909 DIST types_psutil-7.0.0.20251115.tar.gz 21485 BLAKE2B 8c2a745640e1f51e30d64fdc53e82e3ba67b0cc9c3fed3d8a2b673308520ba0cc4cc48a33b8bb31edcfa6d728f47adc8dbc506cfa49b3c578225c6b35a4f8ee5 SHA512 474a109630782f06fc22b6a82088ccaabf81ca854412e8c8297bb0a2eef67ed7e682d27a7b2f51d317fd8d79b588434116322b6cb6e21baf8533f060fbfd8240 +DIST types_psutil-7.0.0.20251116.tar.gz 22192 BLAKE2B 65cf2d87db83c15499595325345d766259e4b5a17e101eca73d36e4c547bc8ff2d323283abe5291a3261838993d48ab9211420869869a86d6486082b243cabe4 SHA512 59d954e9ef69c28e9ed82d60c098f6a5274c4dfb973f9a0a45048c44d127fbda68679065e44071dea487e7f1e1a09088764c3c6e78ca8fef9a5d1fc5ede6d0ca diff --git a/dev-python/types-psutil/types-psutil-7.0.0.20251116.ebuild b/dev-python/types-psutil/types-psutil-7.0.0.20251116.ebuild new file mode 100644 index 000000000000..486007de99f8 --- /dev/null +++ b/dev-python/types-psutil/types-psutil-7.0.0.20251116.ebuild @@ -0,0 +1,16 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 11da516cd49a..41248a5188d5 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,2 +1,3 @@ DIST zope_interface-8.0.1.tar.gz 253746 BLAKE2B a09c110457a647abd3bd13d4deb1a63d8ec9ef4b74a20dafdfa6a7abdf84379e24a62c631213b68310673d87b7313c89f33eddb6f0100bd6b7e6a17210455564 SHA512 9a09a2ab938c050846fc7156e4a7788a2fc83003ed82fe926bae7df417cadf30b62f2d1a4a07ea8cac6ce04235944110a5ad603209cab62942301f75ca4c358c +DIST zope_interface-8.1.1.tar.gz 254748 BLAKE2B 380cad109ebb9fb91dbba9f8736552946f4dd240203413424effaf7c816abbd54a9618cd19586c97d0212c72287927b3ae46dddb8d6ea5c5c6b122f19c1f380b SHA512 707579b862992cb2d338a39be509a3ada0bfe26e1317d6487a9dc2e6a0ae389b0211942d449372ed31dc64084ebbe97b10095226adc6f7ba494c390c439c89cf DIST zope_interface-8.1.tar.gz 253831 BLAKE2B 2f63ace35f6eab24200f42475c069e98c513f7d37f7abc3b28a670cf6f2943706ed7c0fa858bdcb4b7e192adba628f44da476d0b70ca5a6d64d6ef932ef1c120 SHA512 ee9d86ad487eb150754aed7f0136b26603cbafb1dba04bd2296125be52c5d8a3dcef22525c85b37038289960b8f7428a1b6084da07239d8de65798aa31f23b75 diff --git a/dev-python/zope-interface/zope-interface-8.1.1.ebuild b/dev-python/zope-interface/zope-interface-8.1.1.ebuild new file mode 100644 index 000000000000..4e7083391e45 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-8.1.1.ebuild @@ -0,0 +1,51 @@ +# 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 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+native-extensions test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # force failure if extension build fails + sed -i -e "/'build_ext':/d" setup.py || die + if ! use native-extensions; then + sed -i -e '/ext_modules=/d' setup.py || die + fi +} + +python_test() { + local -x PURE_PYTHON=0 + if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then + PURE_PYTHON=1 + fi + + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope" +} |
