From fe0961fc9674dd24a017f474a34c1edbbd005965 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 19 Sep 2024 12:11:50 +0100 Subject: gentoo auto-resync : 19:09:2024 - 12:11:50 --- dev-python/Manifest.gz | Bin 271452 -> 271473 bytes dev-python/ansible-compat/Manifest | 2 + .../ansible-compat/ansible-compat-24.9.1.ebuild | 57 +++++++++ dev-python/boto3/Manifest | 4 + dev-python/boto3/boto3-1.35.21.ebuild | 53 ++++++++ dev-python/boto3/boto3-1.35.22.ebuild | 53 ++++++++ dev-python/botocore/Manifest | 4 + dev-python/botocore/botocore-1.35.21.ebuild | 76 ++++++++++++ dev-python/botocore/botocore-1.35.22.ebuild | 76 ++++++++++++ dev-python/cfn-lint/Manifest | 2 + dev-python/cfn-lint/cfn-lint-1.14.1.ebuild | 70 +++++++++++ dev-python/clang-python/Manifest | 3 + dev-python/clang-python/clang-python-19.1.0.ebuild | 54 +++++++++ dev-python/filelock/Manifest | 2 + dev-python/filelock/filelock-3.16.1.ebuild | 31 +++++ dev-python/google-api-python-client/Manifest | 2 + .../google-api-python-client-2.146.0.ebuild | 50 ++++++++ dev-python/jaraco-test/Manifest | 2 + dev-python/jaraco-test/jaraco-test-5.5.1.ebuild | 47 +++++++ dev-python/jupyter-client/Manifest | 2 + .../jupyter-client/jupyter-client-8.6.3.ebuild | 56 +++++++++ dev-python/keyring/Manifest | 2 + dev-python/keyring/keyring-25.4.0.ebuild | 55 +++++++++ dev-python/lit/Manifest | 3 + dev-python/lit/lit-19.1.0.ebuild | 46 +++++++ dev-python/mkdocs-material/Manifest | 2 + .../mkdocs-material/mkdocs-material-9.5.35.ebuild | 67 ++++++++++ dev-python/pipdeptree/Manifest | 2 + dev-python/pipdeptree/pipdeptree-2.23.4.ebuild | 56 +++++++++ dev-python/platformdirs/Manifest | 2 + dev-python/platformdirs/platformdirs-4.3.6.ebuild | 54 +++++++++ dev-python/podman/Manifest | 2 + dev-python/podman/podman-5.2.0.ebuild | 52 ++++++++ dev-python/pydantic/Manifest | 2 + dev-python/pydantic/pydantic-2.9.2.ebuild | 64 ++++++++++ dev-python/pypdf/Manifest | 2 + dev-python/pypdf/pypdf-5.0.0.ebuild | 68 +++++++++++ dev-python/pyproject-api/Manifest | 4 + .../pyproject-api/pyproject-api-1.7.2.ebuild | 43 +++++++ .../pyproject-api/pyproject-api-1.8.0.ebuild | 43 +++++++ dev-python/pyproject-fmt/Manifest | 2 + .../pyproject-fmt/pyproject-fmt-2.2.4.ebuild | 36 ++++++ dev-python/pytest-env/Manifest | 2 + dev-python/pytest-env/pytest-env-1.1.5.ebuild | 46 +++++++ dev-python/pytest-httpbin/Manifest | 2 + .../pytest-httpbin/pytest-httpbin-2.1.0.ebuild | 34 ++++++ dev-python/python-tests/Manifest | 2 + .../python-tests/python-tests-3.13.0_rc2_p1.ebuild | 69 +++++++++++ dev-python/simsimd/Manifest | 6 +- dev-python/simsimd/simsimd-5.1.4.ebuild | 63 ---------- dev-python/simsimd/simsimd-5.2.1.ebuild | 64 ---------- dev-python/simsimd/simsimd-5.4.0.ebuild | 64 ++++++++++ dev-python/sphinx-autodoc-typehints/Manifest | 8 +- .../sphinx-autodoc-typehints-2.4.0.ebuild | 44 ------- .../sphinx-autodoc-typehints-2.4.1.ebuild | 44 ------- .../sphinx-autodoc-typehints-2.4.3.ebuild | 44 +++++++ .../sphinx-autodoc-typehints-2.4.4.ebuild | 44 +++++++ dev-python/statsmodels/Manifest | 2 +- dev-python/statsmodels/statsmodels-0.14.3.ebuild | 7 +- dev-python/stripe/Manifest | 2 + dev-python/stripe/stripe-10.12.0.ebuild | 92 ++++++++++++++ dev-python/sympy/Manifest | 2 + dev-python/sympy/sympy-1.13.3.ebuild | 105 ++++++++++++++++ dev-python/tox/Manifest | 2 + dev-python/tox/tox-4.19.0.ebuild | 97 +++++++++++++++ dev-python/uv/Manifest | 5 +- dev-python/uv/uv-0.4.11.ebuild | 135 +++++++++++++++++++++ dev-python/uv/uv-0.4.9.ebuild | 135 --------------------- dev-python/virtualenv/Manifest | 2 + dev-python/virtualenv/virtualenv-20.26.5.ebuild | 118 ++++++++++++++++++ dev-python/xmlschema/Manifest | 2 + dev-python/xmlschema/xmlschema-3.4.2.ebuild | 37 ++++++ dev-python/zope-hookable/Manifest | 2 + dev-python/zope-hookable/zope-hookable-7.0.ebuild | 44 +++++++ dev-python/zope-i18nmessageid/Manifest | 2 + .../zope-i18nmessageid-7.0.ebuild | 44 +++++++ 76 files changed, 2261 insertions(+), 363 deletions(-) create mode 100644 dev-python/ansible-compat/ansible-compat-24.9.1.ebuild create mode 100644 dev-python/boto3/boto3-1.35.21.ebuild create mode 100644 dev-python/boto3/boto3-1.35.22.ebuild create mode 100644 dev-python/botocore/botocore-1.35.21.ebuild create mode 100644 dev-python/botocore/botocore-1.35.22.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.14.1.ebuild create mode 100644 dev-python/clang-python/clang-python-19.1.0.ebuild create mode 100644 dev-python/filelock/filelock-3.16.1.ebuild create mode 100644 dev-python/google-api-python-client/google-api-python-client-2.146.0.ebuild create mode 100644 dev-python/jaraco-test/jaraco-test-5.5.1.ebuild create mode 100644 dev-python/jupyter-client/jupyter-client-8.6.3.ebuild create mode 100644 dev-python/keyring/keyring-25.4.0.ebuild create mode 100644 dev-python/lit/lit-19.1.0.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-9.5.35.ebuild create mode 100644 dev-python/pipdeptree/pipdeptree-2.23.4.ebuild create mode 100644 dev-python/platformdirs/platformdirs-4.3.6.ebuild create mode 100644 dev-python/podman/podman-5.2.0.ebuild create mode 100644 dev-python/pydantic/pydantic-2.9.2.ebuild create mode 100644 dev-python/pypdf/pypdf-5.0.0.ebuild create mode 100644 dev-python/pyproject-api/pyproject-api-1.7.2.ebuild create mode 100644 dev-python/pyproject-api/pyproject-api-1.8.0.ebuild create mode 100644 dev-python/pyproject-fmt/pyproject-fmt-2.2.4.ebuild create mode 100644 dev-python/pytest-env/pytest-env-1.1.5.ebuild create mode 100644 dev-python/pytest-httpbin/pytest-httpbin-2.1.0.ebuild create mode 100644 dev-python/python-tests/python-tests-3.13.0_rc2_p1.ebuild delete mode 100644 dev-python/simsimd/simsimd-5.1.4.ebuild delete mode 100644 dev-python/simsimd/simsimd-5.2.1.ebuild create mode 100644 dev-python/simsimd/simsimd-5.4.0.ebuild delete mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.4.0.ebuild delete mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.4.1.ebuild create mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.4.3.ebuild create mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.4.4.ebuild create mode 100644 dev-python/stripe/stripe-10.12.0.ebuild create mode 100644 dev-python/sympy/sympy-1.13.3.ebuild create mode 100644 dev-python/tox/tox-4.19.0.ebuild create mode 100644 dev-python/uv/uv-0.4.11.ebuild delete mode 100644 dev-python/uv/uv-0.4.9.ebuild create mode 100644 dev-python/virtualenv/virtualenv-20.26.5.ebuild create mode 100644 dev-python/xmlschema/xmlschema-3.4.2.ebuild create mode 100644 dev-python/zope-hookable/zope-hookable-7.0.ebuild create mode 100644 dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 93d4d52efa36..34d3fa31faf8 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 961a5f17af45..f9fff663349b 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,5 +1,7 @@ DIST ansible-compat-24.8.0.gh.tar.gz 74341 BLAKE2B ce6edf8ed532815f2e307ac51eef0ac694805b0d5f8cad78c75c57478a21eb443348d636ca0e405fe63d32daf0f426c20e0f97183082f0eba3dd4b889fb8be80 SHA512 07da3a5d4f6eaa6edec3a03107d6e751e9754a84420a9839239d17811de01e8c70bed84e8c23a1308d18e8388581b0e269ae03c235bbc244e95a29c3be25567b DIST ansible-compat-24.9.0.gh.tar.gz 75290 BLAKE2B 0482d9eba967d4d846e35f3a2754410e1f42d34e451b2cf42bcbb88155fdf90859b9fbf6ead28a6e8c252d3a37522c1d1c903a38d4e47ba427678bc39d3c8e9c SHA512 e6803e598fabb1097bf0f10a7b9592af97152d108bc89a29547546de0eaa87ebba9232e78aeababb3ffd94c58af8b93499de9c059a6c42d04179d02b50d92a0f +DIST ansible-compat-24.9.1.gh.tar.gz 76018 BLAKE2B 581199ab65ccc884a3eeef246a8dbe527cac91fc3b588edaf1ad45e7aa83a2e77d44eab8e9dc5d7f2598b02a22fb724ccf235d25592ff8c9de0b7718b9ad5507 SHA512 d5da3cbd29bfb49b9ac68f004eb957edbfdfa303ce204e230117e9964df36c6bcbf3b47ef343d6a77b4f24c390266aebd649a8036cf9e7f29dc350d207ab7409 EBUILD ansible-compat-24.8.0.ebuild 1818 BLAKE2B ace93c01b61d04a32c33ccc7450cb9ceb2be8009cc5e7baa4117af835bd4bcc1aed460bd25b8e077a65ecc6a90214f00fc97aa2aaed5b8a218f273454bcb7fad SHA512 84d1934eb613ead748591fe870356122258fc328e1b5fabda2472697e3ca72655e07f31738c8e7ade5d0738ae6b8ad6c8e65d00b9822f6740bcbc188481d72e2 EBUILD ansible-compat-24.9.0.ebuild 1819 BLAKE2B 45f593be905c5424d724e507998528cf9b194372c497270a3dfd0fa8fe3404a6c6d01fa7c928b1aeabdc08e0ac2d4053657ec2c7e46b3b7632300d80f74dab6b SHA512 0cf744412ffcd8ac2e7446cff02f00ca5a3c91194b2e601456b2a5941391dc36a7903224cd35a9ba1580012ad04f72764bb56375fbe30e061a42bd0396f28add +EBUILD ansible-compat-24.9.1.ebuild 1819 BLAKE2B 45f593be905c5424d724e507998528cf9b194372c497270a3dfd0fa8fe3404a6c6d01fa7c928b1aeabdc08e0ac2d4053657ec2c7e46b3b7632300d80f74dab6b SHA512 0cf744412ffcd8ac2e7446cff02f00ca5a3c91194b2e601456b2a5941391dc36a7903224cd35a9ba1580012ad04f72764bb56375fbe30e061a42bd0396f28add MISC metadata.xml 404 BLAKE2B cd6a8ae349cbfd750d8e439a93902221cce72c0c03280ef1e99514981f6a1079bf9e16a9eaf58ad1758e83a82625b508ccf461ff487ddf8c378cdf7fd46260f8 SHA512 15330e4ae03c21f1db7a42cd9efca50a2fe60b828caef1dbb29901f39f4089d6b3a3c593ca2bd01c7873c8ff12b15227d0c8ae09450271d733cc36ff979b3365 diff --git a/dev-python/ansible-compat/ansible-compat-24.9.1.ebuild b/dev-python/ansible-compat/ansible-compat-24.9.1.ebuild new file mode 100644 index 000000000000..18c39cfc27c2 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-24.9.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" +# We normally use PyPI here but 4.1.12 has never been uploaded there for some reason +SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.14[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-plus[${PYTHON_USEDEP}] + ) +" + +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + test/test_runtime.py::test_install_collection + test/test_runtime.py::test_install_collection_dest + test/test_runtime.py::test_prepare_environment_with_collections + test/test_runtime.py::test_prerun_reqs_v1 + test/test_runtime.py::test_prerun_reqs_v2 + test/test_runtime.py::test_require_collection_no_cache_dir + test/test_runtime.py::test_require_collection_wrong_version + test/test_runtime.py::test_require_collection + test/test_runtime.py::test_upgrade_collection + test/test_runtime_example.py::test_runtime + # pip, failing due to internets + test/test_runtime_scan_path.py::test_scan_sys_path + # internets? + test/test_runtime.py::test_runtime_has_playbook +) + +distutils_enable_tests pytest diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 038bd359fe3c..6d9b64587c02 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,8 +2,12 @@ DIST boto3-1.35.10.gh.tar.gz 856679 BLAKE2B 03e7be74455b487a79188405796fc08bd940 DIST boto3-1.35.14.gh.tar.gz 859166 BLAKE2B eb201a319453097068b4711356ea930de739ff8874da7441fa3b931434c8a82a1692a5f67b10f06eaf7644335033e302f733fcc2267b782398e9edd28c32a613 SHA512 ade4b6bc0c816244d5335b1669090d8a5e3c8dcc8802b0aa10498ce8c5fe8e456958ff3bfd73a5c9376ce1658f9c2a90d5470c86c2b3399d7198bacd09764619 DIST boto3-1.35.19.gh.tar.gz 861578 BLAKE2B 5011df66763e646768232a65022080ffbe3db08253f1bf3e192cf57be010ccdd08f8add78ec365e1c04d78ba1722cf6ef54fbc170f7f2419fcd370c08d48e3ce SHA512 faabd3ef8eb35a323ed64a711e0a026f8f77974516b05a93d389fb82b84932f69a2c784a1065811699dac4db016549f3756f24b879485b2dfb6ca380e6873670 DIST boto3-1.35.20.gh.tar.gz 862207 BLAKE2B 06a45feaba2a8afdd213a6c059e3a3dce2608ab5f55bdccd17478be8b865ad3dddef2459481f4565bbb44736bf6ae2a68bbd26dcd1e3f0e12afc03290dc8433f SHA512 59854e97f957b58c391111aae2538771003414c04d46d50006306b84b3566dd7b1d369e68ecc658e66c04fdf89541184063aebec7859387503fbea2cfd40ea08 +DIST boto3-1.35.21.gh.tar.gz 862801 BLAKE2B 44f322177603bad3de23dc47d95dc8b80b442762986a4402ec441c96cbbaa4708a3a9532c477983c0e0d857975f42ee980e61328ac72dc8bd68151980014dba1 SHA512 67bf2a8051bb08c1b761f1a13df41806356c67826e7cc6bd3c38f82ff709e6baac43430ed720f8d1f31a7e6c1fb7e4bf14bf67e8fd66db3f133ba8b8c93384c3 +DIST boto3-1.35.22.gh.tar.gz 863521 BLAKE2B 758d3b7ad49d147278e5a3cbe222fdc1b21f925343c491b4f1708762e70e7b5cc89eb3003e3b8fd1430b8b04f8d9a59c7002c404597a03321a4a57c8827a5a5d SHA512 ad7524fd5850fd77d4f3f5ca5a94c3674639c3b4e7b6d65881cf2e546f8c5f9217d2513b43435b1a9ab97a63c9d94c20f00a3791a5fba52590b2eb4c5453bf22 EBUILD boto3-1.35.10.ebuild 1198 BLAKE2B 99a7fa08055cee13f14557124398df39119bae2e4b684265d4647ad0ec83a502bb422365e3797ff5c0440c4b1c9866ede4c62b1876510178dc2e6a0b05ed8781 SHA512 c020cc5535d63c948dd456d9f4af4e97339cb36dc0bb2b2c53d3da0c8c62737e0846ff71d9f85ca9b2936a8a7bfc43b67c3114f91440e75c9870beaa8997107a EBUILD boto3-1.35.14.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.19.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af EBUILD boto3-1.35.20.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.21.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.35.22.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.35.21.ebuild b/dev-python/boto3/boto3-1.35.21.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.21.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/boto3/boto3-1.35.22.ebuild b/dev-python/boto3/boto3-1.35.22.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.35.22.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 7d0451827414..0b7b5d6d652a 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,8 +2,12 @@ DIST botocore-1.35.10.gh.tar.gz 13328544 BLAKE2B cecad54696210597a09f4316a88b833 DIST botocore-1.35.14.gh.tar.gz 13340768 BLAKE2B 4ba023dbfc9e632d86028100910544e192a5b2d70ec76a21dfc5003c767a6043a144385561c35f4d7b4bfefbf4a1f3a38ef2845e323f93868e1f5ad86ae1f12b SHA512 c0dfdec80a45cf11796496bc2bef575a567368be3f29267b4d411d0615e6c8536036e47a5de11fb8f4626590dca051e891bb9430ed1ea80dfab2f43f070209d2 DIST botocore-1.35.19.gh.tar.gz 13376459 BLAKE2B ba64ff0dc221782ce23592a6d6a146a680e2b86aa734673d4b16d6fd83355958b32af0e86a6769d2237e6234d80fb7fb23d52e3bcd2187cfe7d3646307fdea38 SHA512 6988f442b573e951766f1978325937a29141436d976baedb9c29959d5ff64014520c1bee4a8ce9b0d4226f62a6efb081a0532b2a825811e8cb2de3217ed311ae DIST botocore-1.35.20.gh.tar.gz 13379086 BLAKE2B ea90039d3dd8848052e45e967d5a4598ca7eee3cfdad492660861b63eebba2fb1b012ac146a457d5ac4f299b5c3cbf81b5c002b6f9c88d8aa37eb32a4decfb8b SHA512 35e532c49a20a098d0694be93243eca285e311899d52eae9bbc99823d65464709ae7ad03f5a82e9dacba392b83be74fc84ede549d5dd33a875888346fff6d26f +DIST botocore-1.35.21.gh.tar.gz 13382479 BLAKE2B 6f63f736fd4bba93829dd4243bbc2ee46ee9e75f86c294cf8c2f0cb89f981f4b38146532fcb7a77184fb795d1d53d40791c6e7595b9db9ac340180cb18664dbd SHA512 c2341709b2b52fe9ee2512edab44721b00612b4f489f8dd67361c69ddc702a094aeb7dfd6fb6c15598a43c6ee4e6c530ead9525e4f5e4b59829b5ecfc18945cc +DIST botocore-1.35.22.gh.tar.gz 13397669 BLAKE2B 644cdd48d54a92fc8c2a1f024ee0e20662431f90f45340cf4ca50f2378c4cb8c0f322c2c86a1546ce0bac5b837295643a622816a2498fb643494a94b16f034c2 SHA512 5035a36bb8af933b871bb16ea617368058b3f4c6517f9bcc95291dcfe3cc479934aa70e5d746fc5fb7936d917f9e286cd5aefac271b27bbe25c49f267e87c9e6 EBUILD botocore-1.35.10.ebuild 1665 BLAKE2B 1171f3bdcbe2eada97adf58c2011691cb51300028737903ec51e9fea4d80943dc3e199f4a1671be350ca2cf921e5dbdd4e7c8ca4658261143646cf9c0c82f522 SHA512 db8027472dcb87b167d63ed89910783e104513361b9191f5e2e2928a2904493c22d9629aa206f61206c4f29c6a9c43e8208c57a9b9bf99b031101b915d326674 EBUILD botocore-1.35.14.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.19.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d EBUILD botocore-1.35.20.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.35.21.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d +EBUILD botocore-1.35.22.ebuild 1672 BLAKE2B 8e30dae387821aea270f5db3ece49d58df6706d6e4ced17b2a595e1bc3f40dc49f79811cc9a82ad935b34ab5a053d802ac6afce166fb4cca168affe6b47a6c23 SHA512 23b6b04cba2a0afccc82805c78853bec7ea4568c0c01122edc83e3fea544ce14841a41fb469acb6f5a7b8fc462060bda2e4cba19cd82a799b7261f61df880a5d MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.35.21.ebuild b/dev-python/botocore/botocore-1.35.21.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.21.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/botocore-1.35.22.ebuild b/dev-python/botocore/botocore-1.35.22.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.22.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index c3705a07ed02..fdbbfc309585 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -2,8 +2,10 @@ DIST cfn_lint-1.11.1.tar.gz 2415408 BLAKE2B c164f6cd520e4106ff9cfaaffdcb66860c3e DIST cfn_lint-1.12.4.tar.gz 2870663 BLAKE2B 90b1c2682a143108f077b1239171cb410657a33f1970e1f9fbc06774d1301ad0c28e364d7cf60163cb1d62a3c24221595e722db1fda5b79aebfd4fb321008396 SHA512 04092142a5de5da4cf2e94fe425c696cee3fd438fb569faa16bd390f3f3b8bfee63397a2aeedca99950eb656916b04456d59f2069c8479ce4c8acdffae01018a DIST cfn_lint-1.13.0.tar.gz 2378100 BLAKE2B a1fa12fe13df1f3f8c5e533c138036df7e2eae325641e7fd66a050a3bb81718caf353d867bf7bbc765942a93bb9025a97bd9691a5759f59118296c23daf7466e SHA512 eeec69657907cc145e533c390987f25374e9019a4c493d3a8ad98123f8db9445bac4890cbaef59b15af752d5a3437f75ea1687bc167198aec81ebb0a3c1ab097 DIST cfn_lint-1.14.0.tar.gz 2380297 BLAKE2B 27c72256f5ca353e40adb22c90754e37624962529a07e5f7b2af06a3c270d9a6b6e9721b1906de8992363dd42b66cba1b11f9e3c0f09e02cbd8c6f202f24eda8 SHA512 708d7776bc45bd5da722fda30b028f9ce403384ff584b0ea0aca47e1a002ddbb53845dc33db23ddb91e1b2984aee2a3c992c47357622c80a2954a9327c17ebae +DIST cfn_lint-1.14.1.tar.gz 2432006 BLAKE2B c59b5767dec67dd16a31878e2d9684b2aed77e20a7b6218c4fe4905667c2f031bfdd37e9a4e91090831bcf52891508d7b19bccc65cfdb3979e556f1a6b126408 SHA512 6277700dd6e7855bb555d920ce99085463495a8dae4d23d2310033ac3261edc7f134ef09ea170cbae7d6a1c321ab90e4fd397bdff3fadc5eef0ec3da065ad787 EBUILD cfn-lint-1.11.1.ebuild 2173 BLAKE2B 5e4c47efdb2519007e70bb5a736e25ef396631a967b23f6057e450a31358b2bf16fc3d85a30259dd2414e85a185784504b6d330a6568edccb8880d230fb81327 SHA512 da3c99f559c87c3b50c75a2055b1ca0fecc2eaf12f9601460efb853a31569aa081668ae2f300b4f0f1bb551dccba1c1b65bed2aa1cb60bbfbc09295d75cec3fb EBUILD cfn-lint-1.12.4.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.13.0.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a EBUILD cfn-lint-1.14.0.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a +EBUILD cfn-lint-1.14.1.ebuild 2176 BLAKE2B 0204895222e1591f9f275af74dcdac3435fa5a6cdf34c46242e63829e40b9f2fcd493db355f11454df539555da529321ebbfff2a7326c9f0a0f40beb8cbf6c43 SHA512 b82cada00e1b5238ed40b0ea35fc3a1f84f3deced456412abcd668b46aa99e29c3a88091cd0252188afdb6cf0fed38846124bf073ba3c794d934dce3a14ce46a MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.14.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.14.1.ebuild new file mode 100644 index 000000000000..086f03ea08df --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.14.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.91.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 9111f89fce6a..5f0c38c2b2ac 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -8,6 +8,8 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 +DIST llvm-project-19.1.0.src.tar.xz 141244872 BLAKE2B 972d028599006d528acdb0ff107b30af8bef247a0f174991646d07f0a47e7d237a5a1700ae668a9f4496295535d688eeeebe550669e78b0775aaab044f5b268e SHA512 396b34886f8442eeb5bc23152e8c2577e834d88f1d21a67829f9ca651b77c5ceb32df4e70c34dc1e6fea24abe45fa00f08502628de25fdbf32864f5b9066d23d +DIST llvm-project-19.1.0.src.tar.xz.sig 438 BLAKE2B b044fcc6f331e75f9340e390ef8a95242a7f74e7c9835e67161fc4dd0ba0a8a5400e8ec4efd0fe50d2a9a9d950d0b37d5c0725868f450619b161a36ebded6a67 SHA512 d596d4942750818f489f114ff953a2b27e220abcf132d4d4ce0d910b73dfc283262507fc35cc0b61363c4af22cb9112dd7a662a89ea4b9667827fa1bde6785ed DIST llvm-project-41f1b467a29d2ca4e35df37c3aa79a0a8c04bc4f.tar.gz 218633363 BLAKE2B 9367923a4257e0ce01cf443eca790a567c6d9224126ebff15849c829f04dbac39aee60de1f28eab71ee4143341105c46466e1983e0f2a1a478e75fd5363a8d02 SHA512 eca094df135f184e2c3a42a3984ac353b7a8286446da80f042aef8047761f5f5cc6eeccb9bff6056ff0ddd1babe31a468e279b028b9618364f88ae9f26053c22 DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 @@ -15,6 +17,7 @@ EBUILD clang-python-15.0.7.ebuild 1202 BLAKE2B b655ab7b2fa3a5334666e42d36e1e7773 EBUILD clang-python-16.0.6.ebuild 1203 BLAKE2B 7baa638bb302b5b97aea34e62d28035f6e2e7aab0bd626bae94d9b3ba9e776316a81003b55ae8a71008b13a664569c8587df927c5f925591addc99a2b4381832 SHA512 a2b00fe7edaf1cb1bb48c0e93555fbea3ef929f16d168b27e1ec1e3f38989e3220e6df1ab847ac2020faa7d44d957c6af7ec0723418e248677a40e29c071ddb2 EBUILD clang-python-17.0.6.ebuild 1203 BLAKE2B 13f87c2782967c4fded88a60220b87e9f9f50d9c37543f30ab2b9ae94cdc5f53d2b1fb422e13450df50ecbb0e36f2a531705fd75f021f265e67f67dd08c85eed SHA512 8abd5bdb175a8c24c542dbcbc73617f075e50a555d9da698ae3139414c2fc11b9ee96d42af0829432c0d2f9d3c820683a2ef5946fdc4332f3d06e40466bbb38f EBUILD clang-python-18.1.8.ebuild 1203 BLAKE2B afd17079dd42d349bc5b0a93415be0f26c5cf4c4e1ad26d9b651a3c179eef5455e68167d4d713cc922b109da3ede6b43221bac5f21b388d6394ce590b8c8920b SHA512 76d9addc51c8dac6d90cbb5e75f9b9e296c6bc6a968edec77c3f78f0e1dfe1acbff8ea5529175cbc621156afeef728355529f505f7ffe113dbe1d2bb83cff8db +EBUILD clang-python-19.1.0.ebuild 1205 BLAKE2B 609f06035ee58685b352f56b62925947fc3cb15f4ca04749256d4d49735443ddc6338c7121157bb722c9a45a60311c262a90a4bbe0ec280c8c6833df210c3b27 SHA512 4b07e79adeafb345896316114ec20ad2443e9b63d28181fe36d44285ed067e2ee73e04425aee255032699bef5e65cced1356967b7dd6f7fd221cbbf03d922057 EBUILD clang-python-19.1.0_rc4.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0.9999.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be EBUILD clang-python-20.0.0_pre20240830.ebuild 1170 BLAKE2B c6bb0527431ced05965e35f2f3d0d0c05db4f27c4286d28cc36c0bc0e2e1c704018650840ab6cb7fbb62cb0acc22bc0472f5dd61a4c4c49a8dabdcb14dc35043 SHA512 bda343468b925bea4580582a163413f6ab45354698c2d3ed818d638989f3cd11248fedef0b7da469d1bfe5fa388304718cd091ca0120ee56da0173e582bc58be diff --git a/dev-python/clang-python/clang-python-19.1.0.ebuild b/dev-python/clang-python/clang-python-19.1.0.ebuild new file mode 100644 index 000000000000..9b3ee513e023 --- /dev/null +++ b/dev-python/clang-python/clang-python-19.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index eb392afb8709..0aebe6d45d41 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -1,5 +1,7 @@ DIST filelock-3.15.4.tar.gz 18007 BLAKE2B bf64d43b189453c8c1fcf258edefb2df340d20578d942d147197423c433cd6629d5e73615201d7ef84857450d7a4cf1375d0dfc69a422c4319a76f2dc157442f SHA512 d809df84f321ab9d99f46609cc664af2d9b73161906308e1a9f949c745694577901def228c40a860c606d652f9ecefe9014159eeea92266f94e981eecc4fe103 DIST filelock-3.16.0.tar.gz 18008 BLAKE2B 076880fb7c3db622b8391a89dd9bf85acaeec39abe7f189c65dfc72d6a6742727c9fd3cac727f397097e9688d9fc1c21a0e28334689db92091b66454c312464a SHA512 bda22692d3a6b034a825fff6917b0c12614ef2615ff52fd78072b1c76c1d1e6019d9d503faa0edf54efc39566279a941b19f34e9e87ccabb7fc8fadb1b3aa825 +DIST filelock-3.16.1.tar.gz 18037 BLAKE2B 29340ea0b5ade185a0d402a5cae304a2b3588d03ae543be26ed70b79bd1d0af67a30368ba43d87e16ac42d01b83ed1852316aaff87c11fe115ac35393a258231 SHA512 d935a01de58d219968795fa97a3ed9330285786fced2fde4474b3426cfc3da97c5b7a44a21c1f41185c1ce6a2a71514d259e990dce255be6b53e644449d575eb EBUILD filelock-3.15.4.ebuild 763 BLAKE2B 0fffa2c3500f8b2fee00cdf881771038470b379dc0e3a56a1e5877b26907c0acdbbae86843bc7e21a9961c6d95abfe782db307c95098d4fbb56926eb0331fa0c SHA512 048ec60a4691ad442cd54a71952662a89487f2dfe0ab1e63a5ce6355e4247685f691749cd69f1bc780d2eafb336ec72c4a3c33e4eaf3bd14c372c8f1776cf68e EBUILD filelock-3.16.0.ebuild 771 BLAKE2B 177b1eb09edbdf9559eb684e1805ed2f2b27a887447ae852619f4aedd76f643e5fc91adc1bb49bf61c2b60be2fc9f72d9d13cee642d3974d2d596b3ba826ba11 SHA512 f2b9070298b4713cfdd4bd2d03908061de04d30d36e434b21fcd889a12f0e62d84ab5fe553be72eafe304dfb25865baf1020db9568e6828e241c44ce01646920 +EBUILD filelock-3.16.1.ebuild 771 BLAKE2B 177b1eb09edbdf9559eb684e1805ed2f2b27a887447ae852619f4aedd76f643e5fc91adc1bb49bf61c2b60be2fc9f72d9d13cee642d3974d2d596b3ba826ba11 SHA512 f2b9070298b4713cfdd4bd2d03908061de04d30d36e434b21fcd889a12f0e62d84ab5fe553be72eafe304dfb25865baf1020db9568e6828e241c44ce01646920 MISC metadata.xml 370 BLAKE2B 91fee1713e0ae7d6ad39c05769e769b05d0ddbdc514b9ea19ec9144e0452ce411ed08f45d4b3123dd8accb67077fe1113809512c8a3ec460fd70a2126b841899 SHA512 62afbe350d894dc05533ff9e532f24f351315a9fba3f2cb8a580fc056cc868592140ffa04ea08fde3ca594e6d398962343e18a0c4614d9e6d2211e07a1152117 diff --git a/dev-python/filelock/filelock-3.16.1.ebuild b/dev-python/filelock/filelock-3.16.1.ebuild new file mode 100644 index 000000000000..8312a00e020a --- /dev/null +++ b/dev-python/filelock/filelock-3.16.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A platform independent file lock for Python" +HOMEPAGE=" + https://github.com/tox-dev/filelock/ + https://pypi.org/project/filelock/ +" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 88754b8d2e04..5e0470a8187a 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,7 +1,9 @@ DIST google_api_python_client-2.143.0.tar.gz 11695158 BLAKE2B bff768420c0303403268aff68059e81852da89e1a353bae23c86f17314842e17986b39d5c2410adc8991d3966b1c718e88a49a22ed0e222758928928c519077b SHA512 c977599521402fa3b63c432d8e058a4c5a2ac5cf15eadcba7d43200a2c5eb246bdd25a7fecb98ba3c2791d0d566a518d8274f9f77561d0fc7c78c7378a0b05c5 DIST google_api_python_client-2.144.0.tar.gz 11688778 BLAKE2B 98ca8b9d389876abf16c809f72a6ed907676ae6607acc82aa4656f8c05757459a478f820db6dc364eb7484a839f402c43c50136e254e5d0501eeeba1a1274a67 SHA512 3e6a9a59408f994dd8b5fa6ef5e49b069d907006a29c6631fdc25d6f2cc885cb919387b1cc385d6ecfccab450b4a4787787e401be9b2d7d97ba455595d72d297 DIST google_api_python_client-2.145.0.tar.gz 11714260 BLAKE2B eb672bdf74519f7dfd984412348ee0c62aa6a942acbb3182648bce2018af72ba6737924cb82c754a94c02f5b749c1bfdd07edb66bb2294b98e2b636cac7c2107 SHA512 33452e866798cd82f79e4d9a8708b4ca32a1e3118e37fbfe5b6e8b8b431167560c4175a5155499bca864fbdb59623368663e0025f71e8bd64b44e365ac889ad8 +DIST google_api_python_client-2.146.0.tar.gz 11690645 BLAKE2B 850f8b5b383ab8485b4b8aef77e94a18971498b51e1689aa707997931ba908e97e590681900beec42fc0f50adcbe8488657fbf0be0d8d5c6a55dc424a49ed86c SHA512 5789e69f1d279f8e53d40348af770aa03738853ebf19cfd4e50f23dca3412ca7d360993e4e00c4f0e654c65b3dbddfc2ffca069ebb26cc13b674bd622e90ae2a EBUILD google-api-python-client-2.143.0.ebuild 1455 BLAKE2B 0c236e102819fa393880129e1ae048cce4a018e567de29e2d344a451a87dd0f261b05b5285ed660f8b36937cf0b2503eef3fee84ef7e64c3754269f5878a45bd SHA512 b2dc3d562f94b8ffc4c6b6fecbf7538fe676f1a8667e71886585231e0fa3ac2d1e0269d8afc3879f94e3c328faf99672bea5109275527236afc79e7b46fdbe1a EBUILD google-api-python-client-2.144.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 EBUILD google-api-python-client-2.145.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 +EBUILD google-api-python-client-2.146.0.ebuild 1458 BLAKE2B de0b7e7284c45a3a6eabbe54d470e5f216b867e16271dcc0535533bf53683c634faacb3ecf5a21589336e75ff85ab3dbcc9011085dea646df2008a72b162f009 SHA512 2c627f313081d9d186b7a75bcaa8fec68e75ed8ab4ff8f76ac3db2808b8e1ae20cace68afd4e02479c55016bf83aad38edbadea7e4cc78f61dc8f9c91813e114 MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.146.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.146.0.ebuild new file mode 100644 index 000000000000..58a0eb467bad --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.146.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + =dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 78c0573b5701..9d4cab282658 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -7,10 +7,12 @@ DIST pipdeptree-2.22.0.tar.gz 39555 BLAKE2B 6aae7c6a22176dbfcc5184086c37b0237629 DIST pipdeptree-2.23.0.tar.gz 39737 BLAKE2B 79fe45880f2942b2ded1d16e2767c4005aca52e0768a5723f37f764c7a60a8104a237ffe2a559f631bf760310143814b0e4afbaf1e5f3ef927828036c320da43 SHA512 9c5fdf7c6d3e519357d4aeb40f4aa2807dfec8fb387114cf40d99469becc68c5042af09f2cdebcca868dd78f3a3c1602b349dfe6cb581758c5c73efc3f6e52c6 DIST pipdeptree-2.23.1.tar.gz 39883 BLAKE2B 63b578cc466871dda284f66bacc7e262b18157e5fb98e3a884c5e3eddd6945ad3d41a95e2e24fc23d0917e902f0e9ead152259d5ddc919e77e2940c2e2933119 SHA512 bc62c9cf6ee01bb8167477a21c70a7dd4ae1141c1c0690a1e95aea49cd4cb7d7e18bf076a532b00b79014a23c069df8aa09ac1bfd2d328b57e444192f1b10e5d DIST pipdeptree-2.23.3.tar.gz 39804 BLAKE2B deabb55937cca02bad8040c6625cbe2e1688af9fa349d7e74923d73c484022818a28074921d5811f0d8e9189184185829ea4dc4e3004ed5456fcc9ed340de2f5 SHA512 26b5d08a24e297d6f30f3a479ae7f93a71b12cf4bc5ae25ff907f96bf7bef8e5403654b359d79e81aed79fec7961e2b8c4db984e5222f677a33839a125e59343 +DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d EBUILD pipdeptree-2.18.1-r1.ebuild 1354 BLAKE2B e038a5cb399fdce8ec9e4d228d76fdcce1de2e6395f62f91a90031bffd2da4c77de0cc2de3d433f9410c9b8f999b40bbf5dd53fea33d07e13b332f691223f68a SHA512 ef430841814440421200d052ddcee3fc94b0b303c1657d49277928382fe5846e3d6969c5423ed11f90b132360304c879cb9bdc0e063889a2b26873bd7e27ffa3 EBUILD pipdeptree-2.21.0-r1.ebuild 1267 BLAKE2B 55cf353976e06689c49d90397a64095f0b9631cad2855f8cd9f9422955bd992ff7ad4ccbd3ca7ed254083381a0218f44713f150f2b8e9e66b6f632c5112fabac SHA512 0d9a554ec7946910a13b28c7ece6fec5eab2b5acb7191ffb53111dabb02e79b222a528103fe0f48534ce1cc5e699b48a826469a449ad7ba4ac1f8aba3ae2761b EBUILD pipdeptree-2.22.0-r1.ebuild 1173 BLAKE2B 111184533b19f3510499d79ae0f988cc94f196d03ae5ba7698dfcacade79de462c9b69cbbe3a997954178c47bcf841a2721a45664d365f6c4fe1372f3158dc6e SHA512 2d29ec9227e49362744fad776bdf637d3383d5a194668beb6cfc5f603c72210564c1b23835bb1a08796e1facc1d404198e5511dc803b0a95dc51cc556dd21e63 EBUILD pipdeptree-2.23.0-r1.ebuild 1173 BLAKE2B 111184533b19f3510499d79ae0f988cc94f196d03ae5ba7698dfcacade79de462c9b69cbbe3a997954178c47bcf841a2721a45664d365f6c4fe1372f3158dc6e SHA512 2d29ec9227e49362744fad776bdf637d3383d5a194668beb6cfc5f603c72210564c1b23835bb1a08796e1facc1d404198e5511dc803b0a95dc51cc556dd21e63 EBUILD pipdeptree-2.23.1.ebuild 1172 BLAKE2B 93280046eb71dc4f2b419c1c7df7fd3b0386f46be636f9c19ee3f03ed448db273dad0196c1bc14c7f5575166b3306561e8d36f98373e1e46d0fdd6426ec0ac04 SHA512 977d83ddff71183ff625253b4cecf1db87d3e70341e5d5db3eca635a129e177efa428262dedb8b0f5e1612566a082d2dde896525852de4f4182b3effc7a7569b EBUILD pipdeptree-2.23.3.ebuild 1264 BLAKE2B 765a172d6bd53c904d1e85a2f952cb2c19c4b82fc833e2372e7517c009290e10e9adae86d9acd44a57dbaa4505cc5040465df4ba4bb2ee91557fa73a993ec5c5 SHA512 581f8711c177141fec16db38f9608ae576f9b6da22afdd0e05a075f74899ccfaaf06e0fca058ccb368f18db002cdf4c4ca194690c759c8adfd9ef437b1411876 +EBUILD pipdeptree-2.23.4.ebuild 1264 BLAKE2B 765a172d6bd53c904d1e85a2f952cb2c19c4b82fc833e2372e7517c009290e10e9adae86d9acd44a57dbaa4505cc5040465df4ba4bb2ee91557fa73a993ec5c5 SHA512 581f8711c177141fec16db38f9608ae576f9b6da22afdd0e05a075f74899ccfaaf06e0fca058ccb368f18db002cdf4c4ca194690c759c8adfd9ef437b1411876 MISC metadata.xml 545 BLAKE2B cf435473fd95ac0a5bafe2b52ddd78e09c16eb190e3a979924525607fc7ab152e249419e3a21d246cd1354a714116c6c0953ed55d1efceafae441ee282c2b1eb SHA512 ad2e8d4e7bac53b26ea0bb5c2f65e0c9dc8d30afc8c569d73bac820b2dda6a343b96e52abd0353e3f50269fb431e46bd3b51b3768d9c24f658fd2eca6cc1ce97 diff --git a/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild b/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild new file mode 100644 index 000000000000..108d23b345f5 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="Utility for displaying installed packages in a dependency tree" +HOMEPAGE=" + https://github.com/tox-dev/pipdeptree/ + https://pypi.org/project/pipdeptree/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/pip-23.1.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + >=dev-python/pytest-console-scripts-1.4.1[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + + find -name '*.py' -exec \ + sed -i -e 's:pip[.]_vendor[.]::' {} + || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock -p console-scripts +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +} diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index fac601e96119..6fce554f2805 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -2,8 +2,10 @@ DIST platformdirs-4.2.2.tar.gz 20916 BLAKE2B d7c551a950118a127664b8210f33497760c DIST platformdirs-4.3.1.tar.gz 21236 BLAKE2B 852d402831ad6060c6efc3841dd56a8484aca547e820ad9b46cc838d92f560407a769a01942bf03c31949e4b37240d292358617afdfa0dd7ea03eeba6bc62086 SHA512 6d4cd808190808bab5a90f44d9fe2fda0d624c7a76faf9f4a4a6093cd098a28b79782dbf895dcd0eeb82778aa094deeb0959fcbe25bdd93818a47b9e197b6299 DIST platformdirs-4.3.2.tar.gz 21276 BLAKE2B 9bd9a2b3258e2fe411062895bbcc5036c77d95e092df81c9b9b113f64b4568ee44623a747048c9011e9465fb22600db9256e4900c7710a75fc27cf19c07732c7 SHA512 0bad11558f3d60f1476cdcd36a405c7218b9ce68342e3a78f95936356d91fcaaa869549503cc35055d9ce3b3eec219a980ba35e814dd3706fb4b7812aff04dd4 DIST platformdirs-4.3.3.tar.gz 21304 BLAKE2B 94248b49ab0b0ea7c43231c15c3f479c1ea0a82242a9d274b6e6b71559710f1d3bbd8ad89083c89f7627956a983ad2902cbf33b8b99a12a1481214a969fcc292 SHA512 0dc8b8585c4130660a779a1846a4d468a182dfcc0f03700001242f1eb78ba2bd9799777f6ac29367034ed23c66f1af4eda4f294201197d6444d6fdd92e7f93a1 +DIST platformdirs-4.3.6.tar.gz 21302 BLAKE2B 3488d33c70c420a7234fa773a7b61eaabc85e7aabfa75c9de308074ef653b534823a133038eb8098d41f987596d7fa6c70abd6cdde28234590261ecd6c8a9f56 SHA512 8a14126346f5472798074bd9ef73b39cd0c6517951556f7ab839d2c1993d8001a3359101fe3a7a00e803d8a5540cf33057d99e1a2e93b1bd5e20a948c89e4e44 EBUILD platformdirs-4.2.2.ebuild 1406 BLAKE2B d1bf4b158897fbfd3240ed7b61a21662129b8d866468d8703b1b5e228e60a7ca0c88f9fd25f4944ec4c28196ea87da3e615c2723c43af8ab151af56b460694b1 SHA512 daaef49f67ada32d5e349f91e2563cbe840adb6972dd5da2b79ccd2b8f17948b51b50eaba6886b0b050fa7b9b3014d7671e17d2289afe381a039189e7e1e70ff EBUILD platformdirs-4.3.1.ebuild 1409 BLAKE2B 919cda0c9f57d4328b037afa1676664f11b8c215d2da933aef1562ab6d9c3b6d88a5625a1a710f2d2824791b955eb87505917f61770114b86665e4f641d864c1 SHA512 a0795d589e0459fdbdc9abd04b1c2b0b9c426097c018cfedb22c4b01c51483f0af935af7832b2603a448851e3943b54652acaf8711ee8cd9f529510ee36da0ed EBUILD platformdirs-4.3.2.ebuild 1409 BLAKE2B 919cda0c9f57d4328b037afa1676664f11b8c215d2da933aef1562ab6d9c3b6d88a5625a1a710f2d2824791b955eb87505917f61770114b86665e4f641d864c1 SHA512 a0795d589e0459fdbdc9abd04b1c2b0b9c426097c018cfedb22c4b01c51483f0af935af7832b2603a448851e3943b54652acaf8711ee8cd9f529510ee36da0ed EBUILD platformdirs-4.3.3.ebuild 1409 BLAKE2B 919cda0c9f57d4328b037afa1676664f11b8c215d2da933aef1562ab6d9c3b6d88a5625a1a710f2d2824791b955eb87505917f61770114b86665e4f641d864c1 SHA512 a0795d589e0459fdbdc9abd04b1c2b0b9c426097c018cfedb22c4b01c51483f0af935af7832b2603a448851e3943b54652acaf8711ee8cd9f529510ee36da0ed +EBUILD platformdirs-4.3.6.ebuild 1409 BLAKE2B 919cda0c9f57d4328b037afa1676664f11b8c215d2da933aef1562ab6d9c3b6d88a5625a1a710f2d2824791b955eb87505917f61770114b86665e4f641d864c1 SHA512 a0795d589e0459fdbdc9abd04b1c2b0b9c426097c018cfedb22c4b01c51483f0af935af7832b2603a448851e3943b54652acaf8711ee8cd9f529510ee36da0ed MISC metadata.xml 378 BLAKE2B 6dfade0f5452263f37028e8fa0e40a7a3199cb064abefd3b17b27f98c2a02305ae951b719d9466eca1bb73b38779a27071f861c24b692c3290efac77f4604955 SHA512 5953428380207486f118b2a78b89639f7ffb81396fbf0bdc6a6cb5b75a73f5c6ed5e4e772ae6776fab51fe794730838e9b30cfd898d9c12114824a09d93a2782 diff --git a/dev-python/platformdirs/platformdirs-4.3.6.ebuild b/dev-python/platformdirs/platformdirs-4.3.6.ebuild new file mode 100644 index 000000000000..7b2b77a80661 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.3.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/tox-dev/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/podman/Manifest b/dev-python/podman/Manifest index cae259acbf65..c1f8c6544925 100644 --- a/dev-python/podman/Manifest +++ b/dev-python/podman/Manifest @@ -1,3 +1,5 @@ DIST podman-py-5.0.0.gh.tar.gz 183844 BLAKE2B c2c5511815d37321a843dfe028839592f6e9b4cc580263e743b6a2ee0917b3307b77bf4d08b327781c6d765c231d8bfcc4d1e0027351c4297509433405887552 SHA512 3abcc4c989843fb82a09e32359018cb9b3352f014253def4bec46a7336c95405b50fe774192d2f4625748351c57293b70d393eb85671719833c0a9f1311612ed +DIST podman-py-5.2.0.gh.tar.gz 186468 BLAKE2B d993e50817c6251dae4fcff8bdd9b4d125b5f96b2d5a690922ea5294cc739e2132edd4878b1dca26e1ffb7deef1e971f94a6e34c1b869dbe412c7965b49b2973 SHA512 6189415d644cf74868ccc5d560414fa876c1e0525ca028e7436a804ffe3a1219dead37223619e3d248da455856989407482638856b68cabeaf3ca4f02a9cf25c EBUILD podman-5.0.0.ebuild 1194 BLAKE2B 44615ee89f0bb6cc42f0c76709e6b35feb070ba6e21344fe10dff66ad4ec9d5a2786a983d8c74562608e1521fd3f9221b7e0e06709065b3f01ad5e9209811585 SHA512 1b70acbe84de8bc636b75aac927efa7d1d3ef64500eb655984914b2d2c2f7cdc5d46a44a23a0fe46fc01190c73ed0296a48831c908b772b71d77e303ae25ce03 +EBUILD podman-5.2.0.ebuild 1151 BLAKE2B 9bf821ae471e25ff6d160026332567ec00b028dd644711090f287bfb4357c6bbd4a8a6588f93ed689255963f646a66c9c319ecd79e443ffd98bf0be416078063 SHA512 fd188d474951ef8c4eb39f8b1a837945cb8f7901d9e946ce8ea96da4b2716afb4ac1bf56efbc6ee8922b072d2b758928ee9fec47cd58f695ac6be5a342bc41b2 MISC metadata.xml 475 BLAKE2B 42fc2c044df94ebf8a4eb5088a39ad3075089cd5a007473db0964df4efb8c7a437c94db9c161d6ba81d2c017377919861f17b7fe3e133aa597312cad2df012f4 SHA512 017f54ebf56fc59c14ff0e9c2f15b899556ff3d512d22ed2abc35227c079ec64c8eb855f60e65299abd7f8b5433b2268dc7c2e428476efc334e24f0d90181bc8 diff --git a/dev-python/podman/podman-5.2.0.ebuild b/dev-python/podman/podman-5.2.0.ebuild new file mode 100644 index 000000000000..1d7ad260600f --- /dev/null +++ b/dev-python/podman/podman-5.2.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P=podman-py-${PV/_p/.post} +DESCRIPTION="A library to interact with a Podman server" +HOMEPAGE=" + https://github.com/containers/podman-py/ + https://pypi.org/project/podman/ +" +SRC_URI=" + https://github.com/containers/podman-py/archive/v${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/requests-2.24[${PYTHON_USEDEP}] + >=dev-python/rich-12.5.1[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/requests-mock-1.11.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404 + ) + + # integration tests require a workable podman server, + # and it doesn't seem to work in ebuild env + epytest podman/tests/unit +} diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index e61c1c1ccedc..9286184734df 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -3,9 +3,11 @@ DIST pydantic-2.8.2.tar.gz 739834 BLAKE2B d0168db26e02ac9fcf01fe85cd70c982e74f18 DIST pydantic-2.9.0.tar.gz 768298 BLAKE2B f196274c37af4b14b0ee17a5274d784a56ad2b2721ca022f572209348edb7e342ace1744e980ac5a8df0d8d7f9642d3157297f3cad24073b133ebb328b589673 SHA512 e4e2b961e831c1461446c1914176a5fca4b573ed5df7a4e5f1fe956b94568bf982e0ed0ee3ab8e08b518817b40dc76a24aaff95453a25e736890e5f0b30549d9 DIST pydantic-2.9.0b2.tar.gz 767194 BLAKE2B 407bbadc4cb8f962cb331a9ccdfa70dd96729830a4c5532962105889536ac436f50552d3d6bac4e6840d44fc7c0ef2e94e1cab4b54be1565ac636436ca8a9b0a SHA512 a0d2491c14f58bbd376545551b128c0c396713a4a73786ac004ee4a0ff9b65a220c22f93aaa11239181bd87a600bc9b10c7d594b23286b909e8e6ea397eea81c DIST pydantic-2.9.1.tar.gz 768511 BLAKE2B 37d840042933a3fc3976ada31c2c1a26a127f64fd928ac8014c9e5047d5c30f29ab23a0f023c2d19c9daec7976c6f66c8dd1d0bd5f2507cff26f7aa0f103a30a SHA512 b35241a0956f41bfcb9f61f34a5fead2c88a266a721d0dea584068f58c72fceda1a70236ca1f3c242c9ef22ac8f7e444b48e212088a3e7e7754008652a028664 +DIST pydantic-2.9.2.tar.gz 769917 BLAKE2B 4e34fda6a9e8e8331278d0b7d0c2dfd61bde637c126fa6dabf78a09c6ef993f84dc8df6af421c8fb6d69c8e1c387a40e4bcd38cbe02f5ac521c6c70821735763 SHA512 2aace9e79a98bd94e5dc626736a245051912a11fdce36013d2ad2f96b266052386a3e12b259dca30ddc38b63c6b00b5bcc9cd5e80f7805de4d8701064f0982aa EBUILD pydantic-2.7.4.ebuild 1300 BLAKE2B f9e8c50194cd43dcf1303f42ac88733e016c2dc0a57dbc3ba1a61de39dc3a7bd86c13bdcc70305712e982118f73bea84e798a1abd3960644ee68c6f0341d2a01 SHA512 ac3c61d6d7f9d4013fc53444da4b71eeadf615cdcb6443cc66924cac8ef2cfe23722ed23499039b05fc467c149bc05e87478f9fd6ade7857b799ed09de09c6ee EBUILD pydantic-2.8.2.ebuild 1425 BLAKE2B eba3766f414c827aa71d187ff5ebc4c8a165ec19e67d1a6a439c331e17b08d038712fcf8a72a12703ce5b50cd11051a3f5291170bd3c9a1af0bf351e39a6dc27 SHA512 40ee1b451c4ba794603b910f21067c9a48dffe4d312c130ad156ebcb253131255d607d89612dc53da913b8707a1272ddcfd193f78a4312f7a56f54f6853b1e92 EBUILD pydantic-2.9.0.ebuild 1552 BLAKE2B e25eeb7a5a0a68ae41ccbe60b5f814a71f7458a5fda404f51a798b1851c54cdce024eda89b84029a2898453cd21f17ea96e396f0e03c8e683221fb36a509dc22 SHA512 d129e73dd41775665dad2541bee6f5b048eaca38ff6591aaea777e5be847013ace1548b9f49917591b40cd80d98d6a6fa08e8de426f1009c614e8891eafc1391 EBUILD pydantic-2.9.0_beta2.ebuild 1552 BLAKE2B ab62a9e4029a748c3bcc559c944321e2764341118d92411f3b44db848d4d7b49220dfd4a56e78a18731fb7c6e004712f544f623650d9877d5a4579786edb4bb0 SHA512 f74781b0b875270174b0c8f92a3a8d675d83b21b6e5cc9166252c834a3fb8e8802c99bf2f1a7e3d29c3453dfe28f7e5fc028fe6bc9b49f9eabc7b01db8fbefc9 EBUILD pydantic-2.9.1.ebuild 1558 BLAKE2B 0ae57911eb01cdbb6cf29bd38b18172a1d4439ea6abcb576848b8520592caa9562a602f13ea21823f38b7c4a64c8348f94aa7593cc39af7a8025ee83de8d54da SHA512 0726c278a4f529a9b0c89bf9ab6d13e3ab7c5fde4b126cf2b49b40d7b6497592e79a4fffa9738e4e3c8a5b90f1d946aa567e9138bed7938567a2fe0aa4d596a7 +EBUILD pydantic-2.9.2.ebuild 1558 BLAKE2B 6cfd9ec0d600af88e8f910d9f2dd2fdf604df05b7b1f76693765e3235007cd295241fdab0aa459dbe4414974914816ff5aff5b31235446762d5221173b4ca460 SHA512 9717982b5a3cfa76919dd1582cfdbb3b90558d5cf130b1b23590b772dbceebc81f3d33d9947476a672894f0c03d8a55841e15f4754d440b6e440c53d664890b0 MISC metadata.xml 550 BLAKE2B ca3a62e01a928ac12964e9a8f291073465c66951082b68cb408a8dec48eeab226c1955782fbb6c82d95c495a790b7d5b84b8f69ab7d3b0acfd2883d3ad2d8e5e SHA512 247144ea1634fd80f8ec461fcb2f8e7383b65185426d0df283ec5345d7612abc3ceee7b6d0df7a3ba858ba8483884507fb443b75cd812bab8d0e6a8293cbb855 diff --git a/dev-python/pydantic/pydantic-2.9.2.ebuild b/dev-python/pydantic/pydantic-2.9.2.ebuild new file mode 100644 index 000000000000..55fae02778fc --- /dev/null +++ b/dev-python/pydantic/pydantic-2.9.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.23.4[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/Faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_pickle.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 247a8e0cd0a1..64908cf0a51b 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,6 @@ DIST pypdf-4.3.1.gh.tar.gz 8016393 BLAKE2B 1ff64b79dda008c92670188e174940137da5af721e169e3a45f4784aa5fdd41f9b679701009f9fa59ac31a401786cece8315d72bd7942ca5af8b05e4ed4564be SHA512 17e1b127efe744a0ff2e9733295effcbab8e497d65cae3cb821646df1c0178991771910f0ef0b4f72525d980d840bfdc4290a05ea191669887f2122ec3521825 +DIST pypdf-5.0.0.gh.tar.gz 8020126 BLAKE2B 81f1eab322365c52fde063908f474d3a4ae75f888b3e3adcbc083bb189fb0e0046ea8399da101d2725ddb2c2b605766a3a84f236619d290cb592c375dcff30c0 SHA512 f346414b232150c527b623f883f85e2c9010ff189cc41da3bcf7ce8718f529f5285a4a3af6d480115e68baf7a8b12a05bf6ec78c9ca9f346eff9ffba0b9785bd DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 EBUILD pypdf-4.3.1.ebuild 1614 BLAKE2B 44b8eb0d3d139253aae01d0065b74450f61ca4c948eda30a1217c3bea99784647c46becdaa4b3ade1bfd903ba0cf3653ed26313deabf6d05ff69f258ca4133ca SHA512 10c409912a3bd8ecaf0ba10e52d9128ea46cee3d4b16c8bbbd4e4b7bddbf8f5814e76904bfab3395d47c068baebd72a7e8e7cf90537c95e450bd26a3132c4c43 +EBUILD pypdf-5.0.0.ebuild 1663 BLAKE2B c7d25ba9e7ef1578cf759f515c8ca6f03fc346126dc5e517845877e31a8b60d61e19c4997c88809b9854928c330940910ece7f4170e2dfa60a6cc1e593fe66b8 SHA512 a555afa14553ac27444b904c4f6842c02f70de6b5321ad198ae75d5ee00d83d30768eaaffa8c1c96dfe26d8784adc6133e9dfc6f7f0d8c42338295745e8d8c74 MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-5.0.0.ebuild b/dev-python/pypdf/pypdf-5.0.0.ebuild new file mode 100644 index 000000000000..86a783051785 --- /dev/null +++ b/dev-python/pypdf/pypdf-5.0.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + tests/test_reader.py::test_decode_permissions + tests/test_workflows.py::test_text_extraction_layout_mode + # rely on -Werror + tests/test_utils.py::test_deprecate_no_replacement + tests/test_workflows.py::test_orientations + tests/test_writer.py::test_remove_image_per_type + tests/test_generic.py::test_name_object + # Internet + tests/test_generic.py::test_calling_indirect_objects + tests/test_writer.py::test_increment_writer + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest index cc2bf91f76f8..9da31e87d44c 100644 --- a/dev-python/pyproject-api/Manifest +++ b/dev-python/pyproject-api/Manifest @@ -1,3 +1,7 @@ DIST pyproject_api-1.7.1.tar.gz 22271 BLAKE2B 833001e4638594e61ba8dd97e2e62dffd25650cc30cbcdb9367f09605e128733d7c8945afeadc5ba16d15e932da0cc60eee2715eeef21290c04a73f74165e748 SHA512 e016d612578f46dbb5ab9d406d01513d8e1528524dcb58c4ebe76c5d7518289da187bed0e500d382b37aaac0e38236d54a88e7cc1f3a2a6876088b26d17337a8 +DIST pyproject_api-1.7.2.tar.gz 22353 BLAKE2B 483400bd8c79da5e3eb54ee42bcb74e6507824f3f7bfcbf5a9172c942af7488dd9896e55eba8b4153e250ddc549df8e0f56576e63b6ce472c1bbc2e0ea8ae344 SHA512 4e331249e0a6e38bcf0baa4143c0fef455e91e3b1c422233b813aa3fcbe81a7f67ce3c6f969a313e636ae19dbc4192e59add946fb57dc43907d27538116573d8 +DIST pyproject_api-1.8.0.tar.gz 22340 BLAKE2B 7087b04045870ab6ec62dbd93ca59fbab6a9200f1eb20140ac28355b6f88a719961949f06c1cb888b4ef2d9ad61c2f533cf4e361c64e34c04faf6d0db7762090 SHA512 9a598179cb31694c862a91040c453d767ecbddd7aed4156f044d6684316294e962bdaaff646cd8c9cf15af204efc9a03dbc781058610c334c7ea2f2df54f1883 EBUILD pyproject-api-1.7.1.ebuild 1049 BLAKE2B c90c0616375fcb653c76ea01796d9f4f7be5ead8611748c3b29c853c14725032a8a969d494d9c894a1a02f07bd5008ffb7e5a9cc522284111280f926276d3639 SHA512 a0ff339f469d59565e1a4e501de37fa672384a017e33df66f247c5e1f92ba7266c9064842e86d3337b0fd1040885291ee395fb03360801fd80d0b9b72993f312 +EBUILD pyproject-api-1.7.2.ebuild 1176 BLAKE2B e3bf487362a33d681dd874360d7cfe8553b58624f0907f4686b28cedc5f1e8bc530f5a9e15dbcd587c6b772ee9cce2e8cca11298e7e70bbc922caa8f92e47a3b SHA512 0825117463901ecdbb943255c1acc79e7f5cd26922a923892378b2782f86cffdbee124fd8ddfefb7bbf1e6ba2dcbcd340e03ba81116bbd2cc455182cf11738fc +EBUILD pyproject-api-1.8.0.ebuild 1176 BLAKE2B e3bf487362a33d681dd874360d7cfe8553b58624f0907f4686b28cedc5f1e8bc530f5a9e15dbcd587c6b772ee9cce2e8cca11298e7e70bbc922caa8f92e47a3b SHA512 0825117463901ecdbb943255c1acc79e7f5cd26922a923892378b2782f86cffdbee124fd8ddfefb7bbf1e6ba2dcbcd340e03ba81116bbd2cc455182cf11738fc MISC metadata.xml 402 BLAKE2B 97a109aafbedae6881b392c32a4b92d84e48561721750c2c0ab27742411d8615262aca179ca3cbe8a7bbd9e11bfa4369bc57497c143790a1911151af72245431 SHA512 52d9c21cbefa6e49acfb04bbf94e61e6a211dbdd369da1cf8893569964edef5862df18d7180023da9b56ced091c6baa597c5d6d07ba905a04ebc5c2a481e6178 diff --git a/dev-python/pyproject-api/pyproject-api-1.7.2.ebuild b/dev-python/pyproject-api/pyproject-api-1.7.2.ebuild new file mode 100644 index 000000000000..7ebc016f7130 --- /dev/null +++ b/dev-python/pyproject-api/pyproject-api-1.7.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="API to interact with the python pyproject.toml based projects" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-api/ + https://pypi.org/project/pyproject-api/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-24.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-68.1.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.40.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # hardcodes assumptions specific to setuptools-70.1.0 + tests/test_frontend_setuptools.py::test_setuptools_get_requires_for_build_wheel + # some minor formatting mismatch + tests/test_frontend_setuptools.py::test_setuptools_prepare_metadata_for_build_wheel +) diff --git a/dev-python/pyproject-api/pyproject-api-1.8.0.ebuild b/dev-python/pyproject-api/pyproject-api-1.8.0.ebuild new file mode 100644 index 000000000000..7ebc016f7130 --- /dev/null +++ b/dev-python/pyproject-api/pyproject-api-1.8.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="API to interact with the python pyproject.toml based projects" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-api/ + https://pypi.org/project/pyproject-api/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-24.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.11.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-68.1.2[${PYTHON_USEDEP}] + >=dev-python/wheel-0.40.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # hardcodes assumptions specific to setuptools-70.1.0 + tests/test_frontend_setuptools.py::test_setuptools_get_requires_for_build_wheel + # some minor formatting mismatch + tests/test_frontend_setuptools.py::test_setuptools_prepare_metadata_for_build_wheel +) diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 0652f27998e9..6fc1e2edf077 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -3,9 +3,11 @@ DIST pyproject_fmt-2.1.4.tar.gz 9023 BLAKE2B 1a44332ea829efb22d7b561abef1f362f7e DIST pyproject_fmt-2.2.0.tar.gz 9135 BLAKE2B e4ea7a11168257978fb607a7c1dcb6e9450d139c7db5f2e45fe065ddbd5e6edfca97b4f7dd80bd7cd632068ae86cca7ef7efbd2850cac4237065319f554c5366 SHA512 97d4e8e881b39fd47f0b2b96b413e6f4462bf35e4a9797811487931188bbfcb971e744012ebee545ede0ff94d7ebf2abee0b97b965ed452628c49c69fd47070e DIST pyproject_fmt-2.2.1.tar.gz 9175 BLAKE2B 8968163f175c22a7532a8f582d522708a4c5740a682a617fd8539009a5409d0d6f6f5679c754ac6023047923837675191c35906d0876b4e728d00e135cfd3c5a SHA512 ac2dea741cff18e0a12daf6e0076b1fc42bdb097f10a8f49a8d131fc37e4c16f811b95fb537e0c0a852eaa6fcc8c6efd9331be3087748720fc436daee0c7285d DIST pyproject_fmt-2.2.3.tar.gz 9157 BLAKE2B a9cc1771c05d504fa0e7321f1c97cfd09f44a39ec7bdadbbba31f0fbe62b955a1689aa2ff8edb0274e5f352cca872591babd7f6c62189cf5bee1567ffb1f306d SHA512 404b038aa7d189d17e2c1df873e4bc50a199dcb193c064e19eb54a5f671fdcdc2c51ce9b19dff10e6c0dda089aee7070f7408892b6ca393abc2ed5b5ff666812 +DIST pyproject_fmt-2.2.4.tar.gz 9140 BLAKE2B 19397db0f7e2a51391f99824645c73361eaa60e2430fe22f9aec85b7273d232ae8aab8d96e1276f93c7fa8612a768fa7bf66f207c4bf73e92e69d3f0f62c8b22 SHA512 54dd02060c93040ef09f23751e0ef6c853a892df077ca012717b4586dede5081365ee4df1daaf98095af364a0e9406e9a5afde74158d5dc6715425bed58db254 EBUILD pyproject-fmt-2.1.3.ebuild 818 BLAKE2B 8f0c6b65487bdf064145af0347c1c3fd4cb62ea510cf0775d181d016ba7b99c923c09c3495ae95a12c877f38db8e82633ff4a06487126b75a883472aae048cf2 SHA512 1e04c5d3bfc79f4d8b87162658abdcdcfb767822389b1f114663a75019f4fd69dfae404ac3a268abad530936e7ba16b2c967385dd3d6ce618c49bf3bebf0d8db EBUILD pyproject-fmt-2.1.4.ebuild 819 BLAKE2B fd43ff43d73f00d59160391e92060601d0da755b35faf3fea5fe8f5b4665ded9afaf51a9a2d04c6b7e087dda56df3c5a1e75e3287381080feaff78e8a7e2490a SHA512 b0af1e25b8bf31a21adbd428c686acd1b05363881e51d64e7e893f332204ae278c27bdfa9afcdac7cf2e789634a8532ad098fad907d0c35fc2ed294ac459452e EBUILD pyproject-fmt-2.2.0.ebuild 825 BLAKE2B cad79af72d3047ef688d2fff4acf55ece7cf1f9596cd19d362fac63e78dad905ec0d9ba85f376c3176ea3e47165b9998379671325f7e0894eff1715f6fbac857 SHA512 2bb0add009d2c3c2c1667bd7b3fb18661e7ca2cacb547e150e1654dbeab50362386d13b93c11929778c75754eb247b3dba2d3bfd161e7a989296bbc4bacdbdcd EBUILD pyproject-fmt-2.2.1.ebuild 819 BLAKE2B dd57658b6ac99fc9a69443aaab611f43339795b4a5d70983636110d7fbfd23fa3a01313377cda371126c55453f25baf5b8268aaf5bf49d756329e55b75ee235b SHA512 7d2a939cd03fb76271d7dcc560723f7595a29ee73d01938b19d033395d113d0d50824c1df1053e937811ea53241dfde4cd62011cd17395e64255121ceea5421f EBUILD pyproject-fmt-2.2.3.ebuild 825 BLAKE2B 663b63a459376f2e7a85cb721a0827d92230fef8e9924f556659841045b5ce1dca4a9e089cc37c159be7f9dd7e5837d209f33cf76f02a86f65327ff04e780580 SHA512 cfc628332a07500a8fc02e248fa10dafc848113b22f8a62b8ece22cd79783ee7318a7efdac3fcc5d5d228e9a150d6bd70cbfedff6dbd568d3e1cfbbaed3c32c5 +EBUILD pyproject-fmt-2.2.4.ebuild 825 BLAKE2B 663b63a459376f2e7a85cb721a0827d92230fef8e9924f556659841045b5ce1dca4a9e089cc37c159be7f9dd7e5837d209f33cf76f02a86f65327ff04e780580 SHA512 cfc628332a07500a8fc02e248fa10dafc848113b22f8a62b8ece22cd79783ee7318a7efdac3fcc5d5d228e9a150d6bd70cbfedff6dbd568d3e1cfbbaed3c32c5 MISC metadata.xml 380 BLAKE2B f139b3f6c22d40d7c91b9b35db262813e299d1a3c1a1f8d6129e457fac62e3e7029a05315a3bddd9c4542764a33160c89b58b3b62f457efb088a7ae7cd86a936 SHA512 38bd0633defb67ee1831480c8b3896e158d0735ec74057b13b3c389cf26bd6ecb878f21d172f83293789d81ca2c30afedab8eaeb4ab1774b39972fdd5f805a81 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.2.4.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.2.4.ebuild new file mode 100644 index 000000000000..6596694032a6 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.2.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/pyproject-fmt-rust-1.1.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + dev-python/tox + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-env/Manifest b/dev-python/pytest-env/Manifest index d2bad6555818..8e9324d5ac1a 100644 --- a/dev-python/pytest-env/Manifest +++ b/dev-python/pytest-env/Manifest @@ -1,5 +1,7 @@ DIST pytest_env-1.1.3.tar.gz 8627 BLAKE2B 04aee8a84b2224ce1f0bb018d0d5a8f8542d32aa3e3da0ed03afdace2562b1643f712152128f7d673e118a4db9ab10c7440f44728ba774519ceb989b4c9be7f2 SHA512 c38371a272987757774bed6b566b55ba2304ca37e69f3f5671fb03735bbdfe5e51c3b03cd885d6bdbd73496daa95a57d79e03bf5d9171f0e9c5c0ae38492b304 DIST pytest_env-1.1.4.tar.gz 8898 BLAKE2B 8e6d9af2de86af47b5429e64112f7bbd4824fa54a7ffd2a7deb63da2032f6104587594a9efcddfc56a4dd7ef969b1a6cb4150906c029437c960ad02b0e215513 SHA512 9cde819b4f68f1a19de58c86651427c608b160bdfb6b6e12c6f4b90f195a759573e442d92df08f70b807282d4b47a7c078fa0b4674433d8778a9b8fb5552209e +DIST pytest_env-1.1.5.tar.gz 8911 BLAKE2B 77195479f0a7bfe7b82b164f30c73e37f05002b33b19b605a056f476d02dedf8ed7eb0e116fe88c00dff2732f31d271539389eb790bcd4602c62f93e732530e9 SHA512 8f7df6d823067f55b3e761acee76744dc64e2e0f0c1e19ef5ab4db3215e92843279742782e654e652af025126f6c31ba86a54e3ef9e2223ca6057fbdc136ddd1 EBUILD pytest-env-1.1.3.ebuild 804 BLAKE2B e0a4cd49201b578ac9df7586f9f5a1dfca23f6e964fc8aced714befdba3ef5f1ddedb0edf1b40d2dcccd004e067ad2231c9ac80153e259caeebe3b0b362c4081 SHA512 bfed7133cd76c35677a0955612faa00f92188eda86e37fb2d02107fa6abe6bedbe828ddeb8eaa1f0e8502f5e5cb4ab773dab0bf10cd2e22a407f8d9309034e83 EBUILD pytest-env-1.1.4.ebuild 943 BLAKE2B 8135dcab5bd7a76146fcb591da1ee97349869b7779e2203fe3e97dbdb2f52653a75163454d221a82230d688412970d46a86ab44f744f167e63ccb07f49f94814 SHA512 7a66b2f55ef647ca5658e42905953ef547ec4d0d3631d85444941b3700e9d0b4ee36a7391af2c44b3f44c771c3336a6629368dd5e92254ffe3191b9f5a5e865a +EBUILD pytest-env-1.1.5.ebuild 943 BLAKE2B 8135dcab5bd7a76146fcb591da1ee97349869b7779e2203fe3e97dbdb2f52653a75163454d221a82230d688412970d46a86ab44f744f167e63ccb07f49f94814 SHA512 7a66b2f55ef647ca5658e42905953ef547ec4d0d3631d85444941b3700e9d0b4ee36a7391af2c44b3f44c771c3336a6629368dd5e92254ffe3191b9f5a5e865a MISC metadata.xml 399 BLAKE2B 15d67070d9ef65f186a5f67370347ed3a8eff0cbb81f292c3beb78ae34b336227de60d9fbd18ee30ead66a7d11a14910c166b961efde1e52a8aa24051f7f1ecc SHA512 a0271a2d9ae0ff90f3f1356ece7c0a95232a75b9dff094caad01758e837301152f8d7b10d8d8e228e0bd8daeece779b9d07294334e0e2067884c0b3cf09c9106 diff --git a/dev-python/pytest-env/pytest-env-1.1.5.ebuild b/dev-python/pytest-env/pytest-env-1.1.5.ebuild new file mode 100644 index 000000000000..bfda9aab1b32 --- /dev/null +++ b/dev-python/pytest-env/pytest-env-1.1.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin that allows you to add environment variables" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-env/ + https://pypi.org/project/pytest-env/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" + +RDEPEND=" + >=dev-python/pytest-7.4.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pytest-httpbin/Manifest b/dev-python/pytest-httpbin/Manifest index 1e483659946f..43a163cb324d 100644 --- a/dev-python/pytest-httpbin/Manifest +++ b/dev-python/pytest-httpbin/Manifest @@ -1,4 +1,6 @@ AUX pytest-httpbin-2.0.0-certs.patch 3725 BLAKE2B 4460298caf15ee802a350cb9525942523a89812ea74482fe38a232f05dd4da440faf326ae1cf9ab6e2ff61fc17b46a5ee79b7c55640d1950a13360ec8ead15a5 SHA512 1beb28d59e520737cd13c0735c350969fd8705c2641af7fca458d9011c674a3e3e3b063035262b0ad1fcc30a09101f23bdf4badc58618d5f5bb488b13b11e3a3 DIST pytest-httpbin-2.0.0.gh.tar.gz 19799 BLAKE2B 7725bc958417c076ee920abce83bdad8295bc4c9551500040867650d54c306e79a1ea92b013124b793058103fc9685dbb2202be5f1b2da935509f68457d63d68 SHA512 62876590bacae6601739f5cc2eccb087024e16731afc9613b5e6928c2a2f64b73418ddcb3c4f13a4bfe1f074510f922d85411d05ebf66f123a4a09d535771b64 +DIST pytest-httpbin-2.1.0.gh.tar.gz 13140 BLAKE2B d1108b8464dbc1075007b4695810afe46fed17b51a785f12dfa184ba27efcfe88818ab8073c050334398eecfd647cd9169ef2d053e3fb424a02ece8a8d8c1518 SHA512 849985f170318ea3ad1d2af8811f3e3fef0e62bd6bdc611f061a8cd7d84a2d85d0ba9caf8c97298e1c99b979b08f1a28476927fa7abc1fa57334732ecfbdf2db EBUILD pytest-httpbin-2.0.0-r1.ebuild 1282 BLAKE2B 5884fab595e91281aeab2101cf6a76a491beb4cf01a8694db609c23efa9a5ff94b797ae9cd2df61fe07c2cf1f3fffa4037a2cf925fd22e5293379992adf9e12a SHA512 91eab00fece133d0ee95b7215fe63c7d02a502caf388fc673e7ad112b69c7e54172296f16d7c9ebf94817e61ef4ed775cba07a3b17aca1a75ac9095f9c19b6bb +EBUILD pytest-httpbin-2.1.0.ebuild 783 BLAKE2B 3174aa1cbfb122262603dc7ed4aa18a0e7be88e13b9fbc57cbf73473c0c6acdbabe77f9d821779b28cd009debeab1033fc9559cb97607f313a271c9775c5b66a SHA512 489dc7aef06317ab9411320adaadf9e9bcbf22f75712aa2ab41d857a49ffbc832bd3c58bb94eda4659df61eaac584f577658241879672951e6f1b6974e6b0ac5 MISC metadata.xml 547 BLAKE2B d60e6b3e6c7d0c37dcc42dcffeed9e08fb7ad3dec5e4f5fdc0ffd1f7a2c46d89ef57a9576028457ee433d0ecbd100ae200ef507b22bb326838732751a7c644fc SHA512 4629dfe7e4cf27d5d52e7ce3e646f590b4d80a490c638cb035352416a587b494328d3f23e088d13ae1677c415080a7249301d9830be0cfbce7a44023302bf582 diff --git a/dev-python/pytest-httpbin/pytest-httpbin-2.1.0.ebuild b/dev-python/pytest-httpbin/pytest-httpbin-2.1.0.ebuild new file mode 100644 index 000000000000..302d6d0a6faf --- /dev/null +++ b/dev-python/pytest-httpbin/pytest-httpbin-2.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Easily test your HTTP library against a local copy of httpbin" +HOMEPAGE=" + https://github.com/kevin1024/pytest-httpbin/ + https://pypi.org/project/pytest-httpbin/ +" +SRC_URI=" + https://github.com/kevin1024/pytest-httpbin/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + dev-python/httpbin[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 74cb25dcba70..51a7545fd602 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -22,6 +22,7 @@ DIST python-gentoo-patches-3.12.5_p1.tar.xz 8632 BLAKE2B 13570bb465002cea3590b06 DIST python-gentoo-patches-3.12.6.tar.xz 6048 BLAKE2B 577032d7aa4bab423781bffad8e64f56b492dc31fbd20acd91f3d28356bd697603dfd47a3a9051538dde2af942ae513727ecea415d82f5082a992bd22b8cb2dd SHA512 6f1037e97bb362a3d04c3ec080dc062c5de6e4b779cda0d88f684422d757acd6fc6f971c7004a3f50bbc0161dd28c3146672f74e0e598066f9a8ba4e0eb2627e DIST python-gentoo-patches-3.13.0rc1_p3.tar.xz 15148 BLAKE2B 668060644372e8ddf2d9686796ec304ae7689f5c10ecbc6862f054f96504c418b0e4df28675e4fbb610889f9a665a7a54f23633036b0df35f19f40ef8e6bab32 SHA512 c0cbdf9e0fe2ad29175302e548ebfda1d2af42af0ffeb363eb8b0dc53e1059f5abd7dcd02fd8e9eb9ba7bef2b34b7693633f0a62dc1ab933f43077feacf00fbc DIST python-gentoo-patches-3.13.0rc2.tar.xz 5696 BLAKE2B 4e716d1d6225e811b598d029ef1dbdc413df614ef00ab8051ea697e633477a0114a3660cae037bdf4142f76c9f2efdefc25b604af11c31eb77d6d98d8f932cff SHA512 c20b53772bd7d305562657722aec70de78fffbf8ab7939f59d496e06c21b31fcd7b4a92573b1000d3bee4d90fd8b7422543f9cfdad15d60bc9a7ecf2a2259599 +DIST python-gentoo-patches-3.13.0rc2_p1.tar.xz 7360 BLAKE2B be41dfc96c333ca19a4a21f0931287503094676d1eba1e9e5ae86bf07be571fb7ddaf75eab87dc2ce9364ea1861ca5307ae1b8cdbe2c6f9a1a0e351f42f0fb97 SHA512 38b8b5f5ec21d3cf02a4db43929f4dd870200bde655b9b3acd0f398ed0468f9e43996821510cebb5e01b5633afc7e6fc254b0c80062bb577a044d85e25d28ff2 EBUILD python-tests-3.10.14_p3.ebuild 1523 BLAKE2B a64635f4a2e078134c5d216b258e058d1af2af55e8817cb0eadcee7325e31df5e59208eb4158db4a6e99244fbfed6c9ae72fbd4836e7b4891092d131f09f4af0 SHA512 acb8dfd3c41f97fdaaa3cfa24c5f6a63ee44f9c19d2ee140c87d1e63643bb20c9daecd921a127425f2b33482df01a4060ec7ac49b8f49f18f883abe86cb67f84 EBUILD python-tests-3.10.15.ebuild 1607 BLAKE2B 3cb2c3ac135119c565a24e38ea96279971bacbded4eab6e96ebd7ff37fa37b2496dcf351f5482d4148d582ada4526ad7cbc42dc2cae744240c7d656217f09ee6 SHA512 04afb123f0cb96fede9ed0c898c6abe116aed2553f017b452fccd641e83c55c9518c625cee004c135d1e8d7b1c5d4ca0a8fece4731e82e4ed84ac1bea226d1e2 EBUILD python-tests-3.11.10.ebuild 1593 BLAKE2B e86178d617789b795d0c71def51d5ee66e35aea915a59f89fdb0f1dcd89ab559d4ee2dd602edb5d6539c039ad741c6172eb4d6ccf6b00184abc05d50b41d8901 SHA512 a6536bfc1c0d2a2d55d4ce2aa09726cab27bc158e9ca51aef6a0522d856941f89e09ec7e39cc795b4d9ffa4b228dddf432e19212d657ae44b6e2e937059c5918 @@ -30,4 +31,5 @@ EBUILD python-tests-3.12.5_p1.ebuild 1420 BLAKE2B 92704f1963320d757fd1e753cc8506 EBUILD python-tests-3.12.6.ebuild 1505 BLAKE2B 0e7889822f8a821bcba5347ba8d1a32ca9b794c1ae547a3a449ba19b4464d744656b5ab872f01d51e2413208cf4e1f5f119f50f36c67eea9b069fff3c2675a3f SHA512 0f9168bdc7ea148a49d20e0514ad469506e051cdfdaf1fe2ea1109d9ffff68a91a400191b807b71b0b30a16b0ed38d617af037c4ba402890e9f532735bad7e4e EBUILD python-tests-3.13.0_rc1_p3.ebuild 1426 BLAKE2B c30aea2c2cd004f6fac36aff8cb6a328c37565f0125c1034b8050189764f26201238651d4cc9af3dec8716084cceff0014ebe72b4a22d7a5a26bb252c4b7b2de SHA512 6f7f79d82f030459a75bbaeb92ec5d1b55e7b6617450b02db1ef6f51fb7468a9a9bb449d8e70f8efc6cb5a4f34d4aabd4d1191030adf67e4478341a0307ca632 EBUILD python-tests-3.13.0_rc2.ebuild 1516 BLAKE2B ef7ae9677e2d4d56e2f6dfcd57d7f3cc35882a53bddb994a80ae294de92c206a96599e15e558f7dfe304a3e50138625d9212a2b185935f8dc774b775120cc770 SHA512 e420d4e082fa6e907bf01d38710f256621865ea331781733760a43a04b9714c5a2460767586dfed1fb034f55931fbbb87bdb3439d9b47cc1b455b016395f0bff +EBUILD python-tests-3.13.0_rc2_p1.ebuild 1516 BLAKE2B ef7ae9677e2d4d56e2f6dfcd57d7f3cc35882a53bddb994a80ae294de92c206a96599e15e558f7dfe304a3e50138625d9212a2b185935f8dc774b775120cc770 SHA512 e420d4e082fa6e907bf01d38710f256621865ea331781733760a43a04b9714c5a2460767586dfed1fb034f55931fbbb87bdb3439d9b47cc1b455b016395f0bff MISC metadata.xml 320 BLAKE2B 4a0e2e1a1885c485f99da97298accb9b35bf3bfa9b5e442ad0a92ed13e9e5b5d754bd10fff44e90862e7277aa11ebff8e41354cff1d63307258ed25ba9336d2f SHA512 5c78ec7965ba88dc488b4fa2a39f19f27e34c1ed770d03d13bb9f8b5b39257288957ede00ec85b46fff42f24e052960f0cfe94b48e2269465e0afe44adcdac99 diff --git a/dev-python/python-tests/python-tests-3.13.0_rc2_p1.ebuild b/dev-python/python-tests/python-tests-3.13.0_rc2_p1.ebuild new file mode 100644 index 000000000000..34d84eddd7b6 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.13.0_rc2_p1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_13 ) + +inherit python-r1 verify-sig + +MY_PV=${PV/_} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + ! "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index 4735c8ff6803..50a8a8014cda 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,3 +1,5 @@ DIST sympy-1.13.2.gh.tar.gz 8141028 BLAKE2B 7a51fa75f1733364d467b79174b71ba866751399d311212144fdc3abdc8cea99618baf0b0fe3f2fe4cb9ab7153ecae4fe4bf00716e97ea4466637633f5618089 SHA512 87f7da425ed577e78392671cb635c99a11f3d6431b8c49a41611f4d2be5da1cadd8d07e0e684f2674792a2ee750b4031baec53156e7192d4c47714d4537c3222 +DIST sympy-1.13.3.gh.tar.gz 7919933 BLAKE2B 94c601e79caf87eb0f08e15ca4cb79e16bcd97d347e1fd948b6ea98b044133ea99f52032f09e290668e4485393425254ff4062ccfd3a3ac0b8afba080da6ba19 SHA512 2ae7a400d4a2d9c826cfaa165e3e1f5d9ba210c25647984d997775d4ec3d7c8f3ad3c5468d9adf141a1dceec864ca988b4f3a01fd934b923c4486ddd458670a3 EBUILD sympy-1.13.2.ebuild 3047 BLAKE2B 22529829e33b29fe99541f4e69d3376d308bf8f899bd87172c3b56fce3fa46bcb46797f9a4b7887ca3bf73ea971365d9b8e215ab1d87b585939fb7cc28f8e2c3 SHA512 9c35247bbae7f1a22116e66df20e51384b8dd24d413ae295647d96f92afbbdc39aabe71d2f6a56a74d7fa19bf34e5a4be7fbbf0bab1a060fc0626f80b96c8813 +EBUILD sympy-1.13.3.ebuild 2947 BLAKE2B 4c6a17444c54988d35e52fa26433ffd1bff105d7a41ca973c847ef43e7d4bf9898a06094ba33dfa769ba0e723d59efc4b848836183132f5f5c956f13e6737008 SHA512 8f4d05ae6689966215aff9caf97f550c5d1649892b39250b750cc78d1db403b16197379fd95d22c9c5c22f455c2132da2e486ef8263ca60c3fd637e6d297a5df MISC metadata.xml 1639 BLAKE2B b539888e4658c640442db1cb6bd6561664ee6c50109926d69572f4e2cfcdbef230a56909e799b09b860a8688ce66455ae5c5ac86099893ba667feb0198f65abe SHA512 9ba4c310c759e9e7fa3a726850b342e79ed07e4ab369ad126a35b1741fd4d343ba75af457cfcd76c5539b3259e0eb198fb58ae965c231bb38a94c83c00f52e48 diff --git a/dev-python/sympy/sympy-1.13.3.ebuild b/dev-python/sympy/sympy-1.13.3.ebuild new file mode 100644 index 000000000000..b86ea4f35e26 --- /dev/null +++ b/dev-python/sympy/sympy-1.13.3.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE=" + https://www.sympy.org/ + https://github.com/sympy/sympy/ + https://pypi.org/project/sympy/ +" +# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 +SRC_URI=" + https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz + -> ${P/_/}.gh.tar.gz +" +S=${WORKDIR}/${P/_/} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" + +RDEPEND=" + >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( + dev-python/ipython[${PYTHON_USEDEP}] + ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_IGNORE=( + # TODO; virtx? + sympy/plotting/pygletplot + ) + local EPYTEST_DESELECT=( + # require old version of antlr4 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + # crash due to assertions in sys-devel/llvm[debug] + sympy/parsing/tests/test_c_parser.py + + # TODO: pytest? + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp + + # either very slow or hanging + sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check + sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 + sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 + + # known broken + # https://github.com/sympy/sympy/issues/26321 + sympy/solvers/tests/test_simplex.py::test_lp + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index d841315897d9..94d17f9facd2 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,5 +1,7 @@ DIST tox-4.18.0.tar.gz 180782 BLAKE2B dc9832ad75c3e8564317bd618fa644ff2f393e507d7ff03292f65f0b10884d010708820768b6acd403783fd78868eddedb1ce931280d1e06e8d83214d85d4879 SHA512 4934b6d9406cc4500e75da76157ceb2dd9d7d0fd5e803fcd2c2bc9b5d2837678eead5af21dd6eb82ae7fe04c90aef78cc3db445daeed194a444ad88687ec1eeb DIST tox-4.18.1.tar.gz 181159 BLAKE2B db9b2233363b6214b1c0bae2c0319b72a7ef4a7f833628833fecb7a8d04eef0594f1a93e17f8273d45873c2130e96b7adad8afe69662cb8fe37251028ba1581f SHA512 289ee3e8b7c941dbeb94adea24442169b33cfe3ae2c4d6eadd12974ee01488325d05beb92cc3b3d5aa1f795f9d3ffe65ed3da81bc62b0527edf56f5ddb9ceb32 +DIST tox-4.19.0.tar.gz 181219 BLAKE2B fd20fcce2b0cf59b572feb1c206b1d8188dcd8eafcb2c31b6c48d982badddb20bd4afa7eb0647e2dc4f2fec47da95e27b1cd870ec14e12e513da0202755ae722 SHA512 46b34524c48ac4e1d906633c8f1fb6da81d26a110638b24e95b97973ef7a17a0412dad584f4e8e9dbd01c5fde3ebd48053caad9bdbc07c1a5a4d17a0c16a34be EBUILD tox-4.18.0.ebuild 3011 BLAKE2B f291424f9c1e8963f127abc830d7fb316f3c785f85c0e08faf784c40e98f84e1a73712ed90a8847e698d916cc4fe872069bc12492b1ea36bb68c6080de0c9b07 SHA512 daa45e28c520a0b9bccedb1f86f642169042911a68e47ed1f8c835121932c68f159aacd768a11df4da0783d348162b848d5949f433942250548d79730468c87f EBUILD tox-4.18.1.ebuild 3019 BLAKE2B 2ddcfa08fce2dcaa4a3473a159d1d509be5589a2ddd79bdd6a330c820c959019728d7845e0ca46dcc89c0e3dcb96f5ec4791ef27f541f82ee27e747034dc4815 SHA512 c9294e85a911f25222863fbd240839780222b77e0442bb29be977fd35c4685d3e086151cae339df55a967812609e63fa2d86d241d15c8dbb885e83221d8c9998 +EBUILD tox-4.19.0.ebuild 3019 BLAKE2B 2ddcfa08fce2dcaa4a3473a159d1d509be5589a2ddd79bdd6a330c820c959019728d7845e0ca46dcc89c0e3dcb96f5ec4791ef27f541f82ee27e747034dc4815 SHA512 c9294e85a911f25222863fbd240839780222b77e0442bb29be977fd35c4685d3e086151cae339df55a967812609e63fa2d86d241d15c8dbb885e83221d8c9998 MISC metadata.xml 382 BLAKE2B 7c0704c5c187ce4a7972fe0372b23c5537a81a8d62fd83436d9558a61761f10764adb5a4d5f6795f0dd1fe905afa604c0be77fe1d48d291847f6ae65dc1b032c SHA512 9d0ced4df9352a81034a50d5766a01534ae8fa889985d99cc9e2a8d0889e31c6c11550677d9a5a74e2aab57c320192ce3a42708a6d23b0419ee34a6054398344 diff --git a/dev-python/tox/tox-4.19.0.ebuild b/dev-python/tox/tox-4.19.0.ebuild new file mode 100644 index 000000000000..9c69f24759e4 --- /dev/null +++ b/dev-python/tox/tox-4.19.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # https://github.com/tox-dev/tox/issues/3290 + 'tests/config/loader/test_str_convert.py::test_str_convert_ok_py39[1,2-value1-Optional]' + ) + ;; + esac + + epytest +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 10ce434c8eaa..1ad2fba83875 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -3,8 +3,9 @@ DIST reqwest-middleware-5e3eaf254b5bd481c75d2710eed055f95b756913.gh.tar.gz 40049 DIST rs-async-zip-011b24604fa7bc223daaad7712c0694bac8f0a87.gh.tar.gz 51706 BLAKE2B 354eb52c95ea355521e1e6a7c841102424c47c156fdb0efb62e3cac666ecf289806aeefab8a0273a7c3283429ac81502283bdb5424d5f925621e5c2b1430fd4d SHA512 6650eef354e84daf41a8572b98b29f2873b7f071dd1d6983292c70b2f580fdc50cd26762d2228a70c2b200eae2f40476e6604702aa62cc97558301195bf19eb8 DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 DIST uv-0.4.10.gh.tar.gz 2585899 BLAKE2B f941068e58877cc859b2eb52f3b35ea79cdf23aa33f746dc1e7e954a77d5a3f08fbbed8a8312f750143cef6a0eb812eb783750750eccf6144ef869f1f69732b3 SHA512 9582d8f97515bc182d699f9994a21f7c883203dabb338848c751d97737c864272e5efbaf3a81d08545caac6643ba9cbde2fe11769ec6b98062416d7501d022f8 +DIST uv-0.4.11-crates.tar.xz 46271540 BLAKE2B e0add4875653581f022ba72ee9c8167368901a507febe07f7fca2931f0952359b9529da56c0c1d7cb78bc618fb49f672b020eecd76be458f7d840c74263ec922 SHA512 5fb617bf63114b27131dd09354ff52faf7d055b73ac6ca83363d6bdae87e73dccb8d61193fee9570ac2209d8600c3229d903be826746b97dbcf4602212d46d6f +DIST uv-0.4.11.gh.tar.gz 2598363 BLAKE2B 44b04001ca796e59aec6b17984d89324de6cbf72c3e32c20e16c65b8dd1eee930f2a6358de6bbcc4b6bf01720786cc032c76ca6cdee64a21f91ee656aedd3f41 SHA512 23d79e4c485dde92958ef4a93cab184eda9aabe12441f0c88f752e98b8f24c177d6d08c6ae520490b841c1f3d9571a2c75ee324557b390ce8e716191abaf2b2f DIST uv-0.4.9-crates.tar.xz 46250584 BLAKE2B 6beb0a00885b674f3d8e35c67372d4ba04c6512306f78522fac2ff170d7cc6cb6c0702546da1d1de3dc84397f04258c56558c666b8f935130a0fea1debce01d0 SHA512 676f6a197af92bc9f6716c0e1df1f87d81b1b07dc81c591b94b34b985bbe4a49fb0b319fe8fba7f83d158124af84f64ebefe1ce0119e6238f9ae837e4652c5c0 -DIST uv-0.4.9.gh.tar.gz 2580667 BLAKE2B baadc0d950d57e224d7d4980424ab58c4e278c2d67a06e9d83d778ac5a6b561cdadfc514c5068ce365dbdb4da3b5165e4180567f7abe90f46d5597fce144b91d SHA512 d7746d71f1429df7d39c3f03c02934792124318f92d2eda03b68a255586567d053349e6d294da0910351d976844aee564334540563435d0e60f6a3792088f416 EBUILD uv-0.4.10.ebuild 3418 BLAKE2B 65ccb90ff42aca5661008932ae9da4e66a818313c4ad698fef14ba5414c342cac8a3d512bbd344684dd30c6843319d43ba68d891ec872714e40c67c296466c4e SHA512 121cd7db96da40225dc086e2658388f227818167777a8805d093e1e6546248fa8c3fc0523cac72548db690e3d52ab591751b51b9824a38254a93cf6cf3d227e9 -EBUILD uv-0.4.9.ebuild 3418 BLAKE2B 65ccb90ff42aca5661008932ae9da4e66a818313c4ad698fef14ba5414c342cac8a3d512bbd344684dd30c6843319d43ba68d891ec872714e40c67c296466c4e SHA512 121cd7db96da40225dc086e2658388f227818167777a8805d093e1e6546248fa8c3fc0523cac72548db690e3d52ab591751b51b9824a38254a93cf6cf3d227e9 +EBUILD uv-0.4.11.ebuild 3419 BLAKE2B c7754387f0bec6e3f2c113fe6197aea29651b0e61a5475689417a34fbbda59d782398702363be220fe02705069353e5f0ca957aa882fbcbf9d03c0cb35d440aa SHA512 c74b1a518ff6f75b7d7c514c7d522542bbf0a335e5ecb39517a5e017e1906a15bd66aa7f6ad74c4538ed35d4bad61f790d96c298ef2c34405f013f4b219f8701 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.4.11.ebuild b/dev-python/uv/uv-0.4.11.ebuild new file mode 100644 index 000000000000..36dafe2b1cc5 --- /dev/null +++ b/dev-python/uv/uv-0.4.11.ebuild @@ -0,0 +1,135 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;388685a8711092971930986644cfed152d1a1f6c;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' +) + +inherit cargo check-reqs + +CRATE_PV=0.4.11 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=virtual/rust-1.80 + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + sed -i -e 's:"static"::' crates/uv-extract/Cargo.toml || die + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/uv/uv-0.4.9.ebuild b/dev-python/uv/uv-0.4.9.ebuild deleted file mode 100644 index ae16e664c50f..000000000000 --- a/dev-python/uv/uv-0.4.9.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;388685a8711092971930986644cfed152d1a1f6c;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' -) - -inherit cargo check-reqs - -CRATE_PV=0.4.9 -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.80 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_prepare() { - default - - # remove patch.* that breaks GIT_CRATES - local reqmw=${GIT_CRATES[reqwest-middleware]} - reqmw=${reqmw#*;} - reqmw=${reqmw%;*} - sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - sed -i -e 's:"static"::' crates/uv-extract/Cargo.toml || die - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 25eb0c49e226..155297ac5f23 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,6 +1,8 @@ AUX virtualenv-20.26.3-ensurepip.patch 1231 BLAKE2B e70cb1a5f8dc8ccf6e08fce67aa3485c0f584937d8e7b693f0d0859d6ec9d9b16bf1492b9abe96d4c8c8eb12814eaa54f76ed8e318f3871ee956189ce08b3dff SHA512 86c98d7ce4a9ea073c72cd103cbce66ed720794fa4fa2b68ac19382e3c4f53303613aed80a6984a68cab513cb198d648c5c6f103308eacb3c7306b72e4321129 DIST virtualenv-20.26.3.tar.gz 9057588 BLAKE2B 74268cab291e7f1e3db6a4c56f0ede1d7995069cb5594341d9af0609196a8154e9153f920043b48100c2263b7020c819135e29532483b233f3c37bf3b780592f SHA512 0cd3b4dc082d071305b44dd2aba2b28527e630b6b4bf28b7b6c59f3e061b01c1dfcfb64293f2b1904109e9e27b70a873cc8c3f1a3cde73bfee114943cef92ca7 DIST virtualenv-20.26.4.tar.gz 9385017 BLAKE2B a9b7f2dd105e6d7e5c85456351fc85fd6b4daa697574b6c1c8d51139d0b64f06fff024d721c4182cadb7c207c03b5f8877917dc79eb6102373503479a9f70215 SHA512 afce31d4bea624c98893d2ab5d7ea02e87e1ea18ae25195864b32c8d127d44fe7e1d07c24949138496f571b71d745d2f571c0b2a895d2282bef04dfe496fcd93 +DIST virtualenv-20.26.5.tar.gz 9371932 BLAKE2B 3b85da76f00e44b4e9fd33ef159e06cad06e4b0663aff9433712db8dcc0abb0bad7b94f260e374687f81b09a12bb3438f533267035370efbdeef20e8f9371461 SHA512 616d6565731d8b1f4ddf90eea9c7018eb1bc553c9ad6feee5f9e6669a996205afbedd900bf8d74cbcca7113fddc985ae279454274a7ec8902ac068e5e4b1b5ba EBUILD virtualenv-20.26.3-r2.ebuild 3420 BLAKE2B f14f7f0d059ee5d5c4b1a18b4068d41ad6bbce2ee2bcd49b1cac89d896398f1a72a4a41caf041b1539a5b7c85fee4ec6fb5e92882ea52d184e70dc11e3e351c6 SHA512 5daf437d02672dfd5381844336edb86e3c83a07ca521d72a9f16fe467620a1abd454e4f85f0ca9c6a9db910d30b343dc52bd2737d5cb872e580947d71e63e670 EBUILD virtualenv-20.26.4.ebuild 3428 BLAKE2B 357c6a685e462336f5aa62e316143111454b7c32d75d56f080074099d81aa86705a58638b35db827d2c69642618959ee80a138700948695a051ae4f7f9513be4 SHA512 43f379b79040c4acb4e2e26a868b7ad8ce35b39dd11cfa7082728231e90cc14eb94b33427050c375418eac9aae24f05d3e6f4cf7440c71eae01bcd2dd3a3be94 +EBUILD virtualenv-20.26.5.ebuild 3428 BLAKE2B 357c6a685e462336f5aa62e316143111454b7c32d75d56f080074099d81aa86705a58638b35db827d2c69642618959ee80a138700948695a051ae4f7f9513be4 SHA512 43f379b79040c4acb4e2e26a868b7ad8ce35b39dd11cfa7082728231e90cc14eb94b33427050c375418eac9aae24f05d3e6f4cf7440c71eae01bcd2dd3a3be94 MISC metadata.xml 406 BLAKE2B 97fee04c2662c5c36b6e16538284def46eb2454424770f42edf2567ed804ca15c4e969c714c57573f897b0946246577ab6e35204ed1f3f1735713d8ab5d24667 SHA512 356d42db463b63a3b3a55c1e98eb661de0a10aa6a5fde4f8b3f888ec73020c6679e86efd8dbb0b3e4a5a720af95e658612ba460fe548e081a90beec75fb9c1b2 diff --git a/dev-python/virtualenv/virtualenv-20.26.5.ebuild b/dev-python/virtualenv/virtualenv-20.26.5.ebuild new file mode 100644 index 000000000000..acc7255ef749 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.26.5.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' pypy3) + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=180 +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.26.3-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:<[0-9.]*,::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + ) + case ${EPYTHON} in + python3.1[23]) + EPYTEST_DESELECT+=( + tests/unit/create/via_global_ref/test_build_c_ext.py + ) + ;& + python3.11) + EPYTEST_DESELECT+=( + # TODO + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + local plugins=( -p flaky -p pytest_mock ) + if [[ ${EPYTHON} == pypy3 ]]; then + plugins+=( -p freezer ) + else + plugins+=( -p time_machine ) + fi + epytest "${plugins[@]}" -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index 624335a3c5c8..00974815f8c3 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,3 +1,5 @@ DIST xmlschema-3.3.2.tar.gz 575004 BLAKE2B 4d92be6ec8933201198b38f741e06354c98ef9b2d02ecd20fefbf502d29ab82e705038ef966ad1e90e3fcfe6aae01e3c757b61e9d9acb506a0ab36074fbcc6c6 SHA512 6216373f8d8ebc2244267f2659a887b937fb5c529909b5afeb99dc7d0aed22080870b5d35543e32f16dc8e8c6fc1e0859a99fd9364c03e01aa69e71dd18078e6 +DIST xmlschema-3.4.2.tar.gz 584249 BLAKE2B 82c01c295932e0e0a503d89b878cd7972550b531edc2aa162b9e6139cf3657890d3b5fe15a8bd667e5adc24ab29b6458f095ad55f9a88b7cd9bca93eed200200 SHA512 fd8c3df89f1768a8670e8bfdb34eaf93b80e191afe6ee15904269f0e3ab728aaeca5c56e046893708aba0c7763421a50b085bd03ec8aba1326f6608b39871b03 EBUILD xmlschema-3.3.2.ebuild 830 BLAKE2B 92de18666c0d4e244dcd19605b401ec936b3a52fa9a79504bb2868e06a49ed4bce29051abd4722619cd766d85e381dfd05e5688afd5e50db1a7b5b1192560879 SHA512 6df68ddd025be02909d3d02353c7d85b8c408fa106d533abcd8911d440ab976b5242c0bda34903353f485fa4c665a6b516a158dd3c43deb9981bf3a76548df96 +EBUILD xmlschema-3.4.2.ebuild 838 BLAKE2B 2529b948ae53e4db100efb6899e8d791045e960fc37a2d5966904e277ca791c45a826e67cbe2e041ffdd293bbd6c07bc39e01b6a14a9e2742797a38fe177a9a3 SHA512 af167dba4af40638b59eb9276af8619351481a6d059c610e84e4eb667a6cee710636f6726cab3d53325e573c5c9d23f90a8a979c1f81b72fc96afc2053577129 MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb diff --git a/dev-python/xmlschema/xmlschema-3.4.2.ebuild b/dev-python/xmlschema/xmlschema-3.4.2.ebuild new file mode 100644 index 000000000000..ffac0df6b109 --- /dev/null +++ b/dev-python/xmlschema/xmlschema-3.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="An XML Schema validator and decoder" +HOMEPAGE=" + https://github.com/sissaschool/xmlschema/ + https://pypi.org/project/xmlschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + =dev-python/elementpath-4.4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_all.py -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest index 0260347f81b4..68be190b9aa7 100644 --- a/dev-python/zope-hookable/Manifest +++ b/dev-python/zope-hookable/Manifest @@ -1,3 +1,5 @@ DIST zope.hookable-6.0.tar.gz 24013 BLAKE2B 808005d0993e22967bc7a73a7b8a26f2263dfc9f3f33d840495a233ea8686a5e700ee46cf0dad8e37aeebb0383ec51b15a4f98323daf4d6bb606fc1ab149f39e SHA512 33d1200a24fc664ed9c7942f71b003704fda21ac42f5acc24611838aa4e8096a27a5da01956ec824105d454a0580480ce8a262c8f5c4f24782ab11416d9fdafd +DIST zope_hookable-7.0.tar.gz 21392 BLAKE2B e6b2921f68be1f5156fede45db2a71e6394785bd5e0a4aff86a5cf943b790e0d26163391bd448739ad074e8b792b37334e48c05086268509d980035bac260066 SHA512 f927a0e15aef9adca72f25c21f2c374d6235d8e3abca9d5d9832e9c8d9b70accebfec2cac339ae360d142e69f69f920c7b2bdbbf230c975fe2c362887380a34d EBUILD zope-hookable-6.0.ebuild 918 BLAKE2B 274508ea9f8f435af96d897f2190769924d1cd3cc86af21d3f646bc433dcaa6a8c239d1abfc5fde8b62c8928a68376215e4ee191a5e00f93f7b386e595da4bfd SHA512 f4ddb9f566edaec47a77335ce34862d07d4da3fdecc97cee3d9af11056e2793caf3d73f4289d9a66fa5f920e001ed631b53a9cde8139a6b3fc1bbc2563baa7dd +EBUILD zope-hookable-7.0.ebuild 901 BLAKE2B 638f2aab577b42256f7a76426c27a2771742bca8c027fa613997854c577b2cb6e100a94dc08a0b4376776d26ab737a7397e0eadbcd79ac05fce9865f823593c2 SHA512 0660bfa8e9216ef1fa20f1300b350532e860537501aa9eb8c833a2ca6ce9ae88298571d7452f99ec25bd9428781167b7d0b3cb3796ba0dc400470a5b1f2e3c44 MISC metadata.xml 363 BLAKE2B 292afad5ddaa2ae9ea128a842934b751d16d84aebd617a9e5f6c2165245137f11089670fc78791ce46ccb260c5acbf0527030889d709725f6f89532f3972c0c2 SHA512 40afd7e868b05d352bc5f268d056f3550e924e22b07b1f0e41afd25429017cb28fd5b6caf565df04bfcecf5cc1c183d12a122a906affd813542ef32cbbc230a3 diff --git a/dev-python/zope-hookable/zope-hookable-7.0.ebuild b/dev-python/zope-hookable/zope-hookable-7.0.ebuild new file mode 100644 index 000000000000..3704c02ccd78 --- /dev/null +++ b/dev-python/zope-hookable/zope-hookable-7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2024 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..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Efficient creation of 'hookable' objects" +HOMEPAGE=" + https://pypi.org/project/zope.hookable/ + https://github.com/zopefoundation/zope.hookable/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope/hookable/tests" +} diff --git a/dev-python/zope-i18nmessageid/Manifest b/dev-python/zope-i18nmessageid/Manifest index 576b20db14c3..21478def8db8 100644 --- a/dev-python/zope-i18nmessageid/Manifest +++ b/dev-python/zope-i18nmessageid/Manifest @@ -1,3 +1,5 @@ DIST zope.i18nmessageid-6.1.0.tar.gz 31187 BLAKE2B 1e616fe67d42e686928af298507afd1c5e962b4fcf89269fc69c00726814e51dd49c5a602d9da2153d3c11cb8e80fd4a9dfea354ee413d69a2022fb5479858c3 SHA512 13ca8d6c145ac48217d0f4fae4ae7fa2129a8d37ceeea640dcedca8815587cc9507935f0cc070bf37307cc21269b1a9decd2d18ae1bc79fdb0128f59f7e4b43b +DIST zope_i18nmessageid-7.0.tar.gz 27929 BLAKE2B fbe19aec71001b4779a390cf0fc596e86667e149900cf04eebb4d2b50a3cdad8f1bbd0f81c88e8841534540dacf4fed3ef91a1519d3364b32132c7c5f833f8c1 SHA512 91256e68fab4db59b6220f67ef42e09896f3643bea472218fbeefdea248a52fa018a7e6bef4777b5a02aa878195cc3e51d0408e96fcaef02747de4cb0fc0add6 EBUILD zope-i18nmessageid-6.1.0.ebuild 950 BLAKE2B ecb480ea3093f44606ae11119f6dfb0c51a0386e1484871fdbc5b954996aab5ccd379baf6c8cd56553177a7bd9371f5f4e832ca7d6a51aeb114232104fea01b5 SHA512 0117e729f06ab6a07922b59145cc9fb0283d9329548b830ac6ec2c1eedae85ca45411b156d1cfc572c229fcbebc5d9122fe33d41a03d0c59c52ec4ab21407e50 +EBUILD zope-i18nmessageid-7.0.ebuild 933 BLAKE2B 2d956fa871acc48d6156275764660c58daaa0704d9b7ea1244fc76e2a97f49c1dd7572ffe520fc4e1b6f392d6046b0bd4f26aaa20c96f3226e488bbf2d57620c SHA512 131c89e173e3782d8bc7f106697606422413a87ff420460d1ab5f3ca954d7aeefc53d66134791e922b2aefa2246e9db0ef214affc56b3c085e6552f48d766e11 MISC metadata.xml 488 BLAKE2B 2b413d726016bdcf199974f77972d7800a4d5f169463d9587f9d0563ee94f8f0cdafb9c384c387b7bf9c2f1814807a8ab32fae796275bc51d624133788df44c8 SHA512 3459883a636540739ecea197d7ebd1429dd6e8fb20d0df2337691e1742995edf50dd0fee6340695b6dc493d0d5fd7ea8d3f55277172cd7385df0b057f376fdbb diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild new file mode 100644 index 000000000000..8660dd75daec --- /dev/null +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-7.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 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..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" +HOMEPAGE=" + https://pypi.org/project/zope.i18nmessageid/ + https://github.com/zopefoundation/zope.i18nmessageid/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "s:'setuptools'::" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} -- cgit v1.2.3