diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-14 18:54:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-14 18:54:39 +0000 |
| commit | 04b3cbdcadf8b6cd1ec0f2ba8203f225c7063388 (patch) | |
| tree | a59c2655a3374c8b91f49989db2698d276e5c18b /dev-python | |
| parent | 0be235f8934321008d0fd1842ff461d9e1edfbbc (diff) | |
| download | baldeagleos-repo-04b3cbdcadf8b6cd1ec0f2ba8203f225c7063388.tar.gz baldeagleos-repo-04b3cbdcadf8b6cd1ec0f2ba8203f225c7063388.tar.xz baldeagleos-repo-04b3cbdcadf8b6cd1ec0f2ba8203f225c7063388.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
35 files changed, 717 insertions, 218 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 4acbe6cf03c5..58d13565f7e1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,4 +3,5 @@ DIST boto3-1.36.16.gh.tar.gz 898785 BLAKE2B fa3de504bb8c58fa5653a3fc3414a333283c DIST boto3-1.36.17.gh.tar.gz 899108 BLAKE2B 3c1694499e7bc48abf3d8bd8e6c783258798d3600aedfe95299634ef6f848e531bd68010e8e6c2f0dc777dd8b379a40902272e8e623d177891da4e6f4e52156e SHA512 9574ed2b26e95a54f1300c52a9511462676dcdc06d05f216c4e722ec3b8f8d6730b3aaae218d4607fcb87d9a99a83587d76146b3188bc01a5635ac638576178a DIST boto3-1.36.18.gh.tar.gz 899576 BLAKE2B 03fb22fa6e34fdb09000ce93078b7d465ede8bca7933b0254544a55dfe036616091b293af71669b0f43a99a5322cf08c0bdc18050fa26ddc148b2d8b885198b1 SHA512 138d7d5c70920a890519aabc50504b9a8210c2a3140daa1b8ebbe9cfebf6699c43a9215b0915625974c66a44d63398f0190072392d98ada25178cfad56627b0f DIST boto3-1.36.19.gh.tar.gz 900374 BLAKE2B 4c53174c011f32f197ca0594df51968242edecbbe8411a02299816a07c9eb59b04d44da1c1ae18c255bb1959f10b2b382d1d25dfbb17b0f66470c390fa03ef9c SHA512 d604978b7444aa9fccaf939d45cb53dddd13472458ff5a2ec0d666bd593844623c4568dce223c688ebd302bdcf2ef68f8f6f508f119621ee663ef45d6b578285 +DIST boto3-1.36.20.gh.tar.gz 901031 BLAKE2B 36c33c7d4058f2cb42e8a11a7e82a5b64a29778d644027514a3795b3fcfee489806eac44c17ab1e958d8febb4eda6def5d64222a410234b444b57ef36323e9e6 SHA512 a3b378456730630b723e5df9ca3dd614878257298cbb8dee83ee68d817f86cd411a2018a5fa340cbc30d93c0cd288b0916e96f4964a43349f2e3b53c9e7cf09b DIST boto3-1.36.6.gh.tar.gz 925646 BLAKE2B 71db3ff552033c187e19b699d193e4834649b80d2c0dd2ed35496bfef798371f7794e58d445aeeafcc3e4aef50d4dc6e17347b04ae82b4f3b7778a1a5e419daf SHA512 c638903cb3afff4867dbee7295e387f5ce91d9d3d9f37b28c103ead87883377a69fbccfce34850da5c77186ced0bb56f5dc5f4549e84871d10a9134c731d4c36 diff --git a/dev-python/boto3/boto3-1.36.20.ebuild b/dev-python/boto3/boto3-1.36.20.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.20.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,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 ~loong ~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.11.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 12845ee0e0f0..77ccda88e612 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,4 +3,5 @@ DIST botocore-1.36.16.gh.tar.gz 14211411 BLAKE2B 88ea5860e628985d7643acc430b62ed DIST botocore-1.36.17.gh.tar.gz 14211225 BLAKE2B e589bc5bdd5d8f350fb281fd4b3367a8c47beebafe3e4c087bfd8919a65e2e1adaab3cb0cb8fff877c813656835a12537e7ffdec8e9daf13841279b3ead58142 SHA512 8f30247d21a01c3cafe8f1ef938207f14a626fe17b7c29a510886014af866d985804f83563be0ac2a7894fbf8a5b6cc78554904e8f5f9f9ca69ecf615a30d613 DIST botocore-1.36.18.gh.tar.gz 14215558 BLAKE2B b8f142da59626db83ded0c165bd05c312ba98aaebc7eab9217702057ee5876146518e9095dae8443daaae1eadad2a045405fc8a57ae5f04266ec82fe15b3308c SHA512 b3cc042e83db579da5a3d24fbacdbab6df98381d6e34ef0c19d3285669599f023ffccbb235620646ed02c3a7d6ab87cc31d732889cb1bdd797f405c8df292a8a DIST botocore-1.36.19.gh.tar.gz 14217764 BLAKE2B 2c7c00ab07ed3955809451a47e9b38ebe3ff8d4cf729b4c1a6ddc18f0564d79ef18b9c60c685006beedf19db224dba868116a515096332c110975b073fda0413 SHA512 c19c4bb0412addeb009d7d1d621a54efa616b3ddb219bada0abc48f4b421e705bdd14e7d71540b8021c01e04b707389f0cc38f4648f42ecc0fdcd6b21990ac4c +DIST botocore-1.36.20.gh.tar.gz 14223948 BLAKE2B ba2e8ce8e12a192d0db504447e267fd0133eecb8740433f53e7216f315603aaeda6976ff0a8ecfcda231ded660b4e56da735fd2077abc5a8da940552a71d86d7 SHA512 c614d5d7e6f8e6655a6ac93975d5e30284bd68a19e18db903736bfd6aa60298340442fe32427159a9e72be6c30d507048a54b68a67af32a090c05c60642c057f DIST botocore-1.36.6.gh.tar.gz 14173329 BLAKE2B 1eea293adad312439f2c60e0f73f721fa207439af2918fb5db98304a565e44d33f953f517e5526e865cbf58751892be4a6cc275545f295638109ee4051d2a276 SHA512 bcd1077bfeb5709e8c6224560f7974d70a884310539b531f520b20446aeaf3aa5d9aba6cbd19d75526d34dd7ab68be578f5ece7bddf7986997f9f5bbd5cee905 diff --git a/dev-python/botocore/botocore-1.36.20.ebuild b/dev-python/botocore/botocore-1.36.20.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.36.20.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=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 + ) + + 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 ed662bc4f70b..098f8471553d 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,3 +1,4 @@ DIST cfn_lint-1.22.7.tar.gz 2735518 BLAKE2B 4357981083d1a32c6be9194552ddb6d2064d8da59b869d617f0047833386232e7fbfede778ad5949a1a10708a1ea166c6bcdfecbaac0e4684e209c812fbde564 SHA512 c079f0b3f7947545ad79d8700833fca1ddc74bc9a224604ced3ab09981e6c363f73a6b214981fbdc16264611213d9a8a41e960de077943a4c407c79af458c551 DIST cfn_lint-1.23.1.tar.gz 2789263 BLAKE2B 7b437de438c7da771f43b656307f30b23ef6c3981f459cc4bdd08f558533deb64d534cd32010212d8841f187ea81cfcaaa08e86c85e21dfb4af976145c16bcc8 SHA512 dd0a6ef52f2fec5169c384c82ca6fcd3a60ebfb12331e60e6fe06e9887b99057f849921bb3d38cf10f1b2590e0362f4b94b0d873bac9a9d4f13a3d868cb2e47c DIST cfn_lint-1.24.0.tar.gz 2803280 BLAKE2B b859d41231c915c1a06939c75af91da619cc7c3ed7cd95196e0dc708a460e320eaa312197007e54037601db861b5332bdb27d5bae9a5d603171adf492d89968a SHA512 c9d1984671fbcadc659211d74cdc797924d7a0cffe3baaa284438831fca61b53adfcc615b93e23e946058a9ffc278cc5c088e5c24f2745035f32e9f6cdae24be +DIST cfn_lint-1.25.1.tar.gz 2837233 BLAKE2B 0779afe85f8cc1190f24fb9531c576b61a2921be1e725289c164c5113cfffeca6ad984832c0efa10cb6e7dbb78515b24fea3dbb5da3ef4b63765ed80eb1294af SHA512 f623dc24d3a6e3425e9c764498c874afcbc9406a31d8aa4f2c1a0a14e3dd4446584a0524d5a6d016bdcc95810907418b7dda9883d80d9ff2f3ae9385453d428a diff --git a/dev-python/cfn-lint/cfn-lint-1.25.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.25.1.ebuild new file mode 100644 index 000000000000..3ae37d5581a5 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.25.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,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.94.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${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/faker/Manifest b/dev-python/faker/Manifest index d6007448ef4e..5fd60b1e0519 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -2,3 +2,4 @@ DIST faker-35.0.0.tar.gz 1855098 BLAKE2B 38429e14ccca4e315b562903e218ceb3942818d DIST faker-35.2.0.tar.gz 1874908 BLAKE2B ded1ef4e9afec3395e78ebcf28c7c5f428a46873f9fc4b75681eb045315c35fcd682c83cf04fa09ad91feacb828e6cea429de51ae53264fb8ec4b9e4ef36b922 SHA512 70e5f8165c740596952245b2635c9c88efef894f4e86fa352f7bee08eeaf44c6f0050c9ccd435cdde76f9e24b84957db9d4a1601cc12f1d3f30519c7391975df DIST faker-35.2.2.tar.gz 1874955 BLAKE2B 4ff2e056cd1fbdd7c70af2efbd0757005fbe7aa1f73233bcb2f41fcae6ad5b85ab6732602afe0bf671799d48ae97069a462e3d3a174d17497155c2d5c29b8a57 SHA512 91f5dc3e7930b1192fed2d13f98e36eac8698411dda2ff5dc471c273aa415d41959f5d18826b888296ef87d6ca07513ec68b4bee7828e2934ab2ff349055063b DIST faker-36.1.0.tar.gz 1874804 BLAKE2B ea004f4d3a03c430f16ce53aeb3124838240f86a99576fb2dec8e4746e01d03f22b0e0b4c50eb9f7664dca0ab7fd3495d500f5e77dcdec06c02b01e5a2806fee SHA512 c2dea115c589171bb727405dbba6a19631f3751557445172a51d0e62f2b417f4800b367fe6538d73fa04503b28df2a7721d47074d6910c9e7e9b9f74d5bc9b21 +DIST faker-36.1.1.tar.gz 1874935 BLAKE2B 501926d322a468943f730f7de48a0e68ff9388f39e638170606f5aa3884029aa27a21bdda68cb19224432e1d44f8de63da591688150a62e8b33bea54f44ad083 SHA512 c5afc49c76a97b7326fbc30eeb3c1d6102cdfcc35f52a7db61d1f58b37b812554274e002cac9ff9003a9669ce9c106e02e71e697045920b4ed006e1292de8a93 diff --git a/dev-python/faker/faker-36.1.1.ebuild b/dev-python/faker/faker-36.1.1.ebuild new file mode 100644 index 000000000000..07e6ec6efccf --- /dev/null +++ b/dev-python/faker/faker-36.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/tzdata[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/fixtures/Manifest b/dev-python/fixtures/Manifest index eee140ba5603..800cc1fe1673 100644 --- a/dev-python/fixtures/Manifest +++ b/dev-python/fixtures/Manifest @@ -1,2 +1,3 @@ DIST fixtures-4.2.2.tar.gz 59199 BLAKE2B 4e390e767e180009533dda5d68e4f4bbbe903acb75d3227a3a447c2b17a3d0497131271888a8ccb5385db447f1f892300811a8a7224ae95fedbeeb37cd31cda6 SHA512 fabb1092bee985d446e7f6eccb7f61d7e89a50b6fb98455d3ea6a45670568a4200fd57409ab78edf288c4103c45f5bf0bd62fc9886a6f9101c1d626078b1fb38 DIST fixtures-4.2.3.tar.gz 73164 BLAKE2B b4c271c3662ab7dc6948f4e30fb160b04c17a67f03bc95da549ed879ebc5d514456175a468a3e64c4c93dd38106c4224eac0a5525b8863e2fae6f32d88067e5a SHA512 4adb655535897c66966828c406b694a3a211ca84072c5d3efe11d2e09bb40eaa5c0d3b4d17f4604da6ed938d0b1387f1fd96278495dcf206c094f02166f2e65f +DIST fixtures-4.2.4.post1.tar.gz 35345 BLAKE2B caab6f9a6a5f12687995ebe9e17a19ca717de34b789cd3ab3ac6910390b1e67b50dde675102c92e98740d78248505631c54143c25952adce7ce61bf0d91d3293 SHA512 a68842ff8730fe6fa5df642c4943f4618aa4617ad42fd7dfc6876732cb28a0d5652ae02cc7fa2b9d3933392862fd5ce43bc35c702054d192701bfdc62c9058c2 diff --git a/dev-python/fixtures/fixtures-4.2.4_p1.ebuild b/dev-python/fixtures/fixtures-4.2.4_p1.ebuild new file mode 100644 index 000000000000..4f38d9652fbb --- /dev/null +++ b/dev-python/fixtures/fixtures-4.2.4_p1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fixtures, reusable state for writing clean tests and more" +HOMEPAGE=" + https://github.com/testing-cabal/fixtures/ + https://pypi.org/project/fixtures/ +" + +LICENSE="|| ( Apache-2.0 BSD )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 790bb39f0e1d..c1084c30fc8f 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,2 +1,3 @@ DIST google_api_python_client-2.159.0.tar.gz 12302576 BLAKE2B a4cf681694930b303aab3a1756fee9af2bbd52258fa6ce3a3ede3db0a211467b0ad3a8d4d75e756d66d08ee5d5b58d799136ebc6d4e739bb9e655fbf6ca24eae SHA512 57295f7a9d651466760cfb69c61e52478951da083c4c7a2238d1b0e55860cbe9d1f6d76c9b89acf36bfa39beac28c8594f96c4ecfeb04f174474d259434c32e5 DIST google_api_python_client-2.160.0.tar.gz 12304236 BLAKE2B 572e12ea6d7e496b7d84646ddff48fc0656681fdd7efa54410efaa8a0a5a4cfa4171d7816c5127c951b46f2b7eaf97df9e586618a504b4d0a9f7b72c25165250 SHA512 1a232b3b840f71348f38d9587696c2795e88fdfead3a77db8725f59d0e263d0864d1143b6421bc8a364f19129e00770ef2143153a44d1b8c1266844b1f2f565a +DIST google_api_python_client-2.161.0.tar.gz 12358839 BLAKE2B b7537f29c078adc2a2a0b89da52acc9fe53db4ecae742f367019ef780951d668f8ff7e6390fd417644bdae2ab97f472b99f3472d642382b3341f5894de477cad SHA512 19fd8cf49d96fba19381a9ca891ee53cf521ff9fb3103c6f1f22207ab6e7d0dd0de445d5f96d9d6a7d464139a9c38052bdaf4878fbacf9d64fa97006f1ea6da5 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.161.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.161.0.ebuild new file mode 100644 index 000000000000..b2220fafe3ef --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.161.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,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/httplib2-1[${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}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index bf5688b45ce5..fc92c7d015f5 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,3 +1,4 @@ DIST inline_snapshot-0.19.3.tar.gz 88636 BLAKE2B 537e68eec4f7db9ddeb8cea1e93f872160129d8b7b51b3d693c0cebb94c2cf5652d57989ccb44b7a3f3157ffbe6322c032fce42594d94f8daf454f922accad0b SHA512 b1f3a0123a1f17ffb85cb296861e3558057d45a8a576d72b2dca1ad1ce3151d4354b6bf86f9e0fb21d941d7ee708fd33c3961fdd1c0bad4c7368b720388fcf85 DIST inline_snapshot-0.20.0.tar.gz 89597 BLAKE2B 264020c3e3413e6e687d0ffb8c1659778782e065ef1fe7b4dc058fc547ddbba29302b653005543b6200a0bea948ae9d3eec5a981899aba65c1cba083fc41eea3 SHA512 d06243899c4a391bc27965d30db307fb14249797e83710773c392514fe82c8d199cd09a75d0b86374b59def2b9000bf636e27a15b76df0355fd464498f08f9ef DIST inline_snapshot-0.20.1.tar.gz 89634 BLAKE2B 2fc5633bee452f6eb69ad604a5dc4ada30916d698eeb44e4928490d6f56346c8cb6f43341ddb425cdc725216ba949610e133d977e32b3ac82a5a289b851826b3 SHA512 41df474a0f4a0e93d20a6729e5c8a93bd36b796f42a10c087144f816641df3680c905ca5b72aac923a7db782730e111a85b0594987b00470dc5cf33cfd8305fe +DIST inline_snapshot-0.20.2.tar.gz 91060 BLAKE2B dc5dd87a809727f48a2bb376ffb602517c2acfad8ce8738d443f2dcf863b268b9ef1408771bdbfee6ccbb6d25ea3e8afdf2d690df021de196f30514a57ea0fb2 SHA512 e749efea54bdca1f399aa81335e65ab0e48887de6d4a9aa9905086886bdd44ef31eaf95c75edd5ee1e6ee011e31c450fb077d09f49415653e5c8e19a3ad4a944 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.20.2.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.20.2.ebuild new file mode 100644 index 000000000000..d2fabb0e8e2a --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.20.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/click-8.1.4[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin + local -x PYTHONPATH=${S}/src + epytest -p pytest_mock +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index aaad4bb26f47..814fb5a0a68e 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-2.6.3.tar.gz 3867473 BLAKE2B 77d6d173c130166b26a8cce7ce9b21658f832d86f99022bb43057d8e535d085fabecc0f4541d60eb3fc7b3c6c7785b87d7af789e2d05692408a2e6d9e0550859 SHA512 5e31812dc5351afeb8a172bb3a3b46133d34e8a569940182abe439adb929f6eb810ffdef6b50312e7a5645b97c3b7ec71f5c180ddfc4981b9f4445dc329812e7 DIST Nuitka-2.6.4.tar.gz 3867647 BLAKE2B 2cac28a64ce52bf9d8f2d60b9cd1741f82a4bda7d34852867683e9d398a1b472b0af00ab67ec8424963318714ccfb07662627ce592999da769bf9836c6da7402 SHA512 a59c966c4f3925c6d2b8914e19c1125fb5efd1e05c32f3a6dbe2600157927e59485216fe990338911c9b1d4dd9e99823a700db5c08f33a836b295c81eb2f719e +DIST Nuitka-2.6.5.tar.gz 3866446 BLAKE2B 6bdbd3e9dd43e061c507dfbc7a7a902a387dcb7695ad9bc340aad448e5e8453ed4afb465a403bb185bcba81125cced21b6f5ba107e3bada1fc29614f0538533b SHA512 4b96cb29ea59afa90345e5cbeb77c174d4931414a5cd3df8178cdc320b9e29b2316964bc3384d5d4f16ac948cbfc5b3e428e0d826748ce2a04f57cd42defb77e diff --git a/dev-python/nuitka/nuitka-2.6.5.ebuild b/dev-python/nuitka/nuitka-2.6.5.ebuild new file mode 100644 index 000000000000..c97d7f3c6ae8 --- /dev/null +++ b/dev-python/nuitka/nuitka-2.6.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-build/scons[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.15[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka.1 doc/nuitka-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" dev-util/patchelf +} diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index bdc662226c1b..f7185a80d97c 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,6 +1,5 @@ DIST numpy-1.26.4.tar.gz 15786129 BLAKE2B ee759d3a857111bc494d5e989a7b005375d942b2a89cda69be4a3bd7c6cb195003fd2a8a0535f1858d8977ff688b0ec36360dcba9c3160206eedce5e28f191ef SHA512 f7121ab4099fa0686f9c095d456baa4a5869d651d7b7a06385f885f329cf08f11024b5df5e7b4ee705970062a8102ec4f709512eabbfd5c9fccce4ef83b9c208 DIST numpy-2.0.2.tar.gz 18902015 BLAKE2B 63f993e3429bff1dac1ff79fad23a36a2493fd2c8a825ef96b6b87d82b0e68393d2829c5ecd9065df345c8bfbb1f8f385077f154264f7d2810d311d1d6672bd7 SHA512 d769fd4f07e082fae1661c6856d6d726e189f6931f3028c6819f9806aa9dfd15ab2b49c48b94bfd925eb3f74fddb6f044c9ba93bbb785b5476440dd1cf0b4999 DIST numpy-2.1.3.tar.gz 20166090 BLAKE2B 746d343b17039d58738358168a613a2b85d6fb9cad1eeb367b851cd8d46fd42647990b47f0b4fb794ce5c4da2fa0a5d61e3ba42ea2f1945680f36cff31bb7b0d SHA512 59568acda3a77160908a23c354f0574970cb3daeea79ab535762a75a5f3a52a5cedd5754bb507cc238cf5948b37f0045523ed59c04cf6fc4a94ed22b9b77b8c1 -DIST numpy-2.2.0.tar.gz 20225497 BLAKE2B 87450bbe52085edd55cd99303bbb7d71b44bf14be8326bffe46886cf14d442bd51443b1c89e3f04ce13ee7724e39c9a2f302e2394f05781430e66efd8347c3dc SHA512 3a0776ac175beb82b2aea0d384b60896cd1ee1055b414765965edd621839c8292fadaaaa18482c975c8e34319578cb20db4aa8f4ad06bd41a1833563c55fc3e9 -DIST numpy-2.2.1.tar.gz 20227662 BLAKE2B 2b963af971b0fff6ea5802aa6e4b7ed33fcb885aec40b529cd97de9b5887697cd3cd857ffdedcce7f9b9d077ed388947683bc0b3f8fa7ef724acf382378da2c5 SHA512 15876635bd2b26a0f511472c447ff95102f3016eea02e5117d7f5a1ae4782cd656c10706e8b2e00adee0920a7673f216056fb842700d634fbb5630b672f26ddf DIST numpy-2.2.2.tar.gz 20233295 BLAKE2B 5b95ae4ff511468e55c0367066e9d4b8939fd1da2dd7ce39e5c7cb5897789599ba622c3c7ad53e787903042c1fcfd6225205f0da3d54110410b635e4179f9941 SHA512 f30c400b0a0296ac7990bfe143d4e01e9429e14a09f0525843c6f8e29d2e589289774e4c803fc9de640bf920749dcb3e50663da812b3541f4dc1b7046ab27b40 +DIST numpy-2.2.3.tar.gz 20262700 BLAKE2B 9e165ea70a49dfd4f361438575433b4cec9d202282408f1710cb1b16316c34ba59964d9665d782689cf129dc49a314fd2958b37cbd3587121e0530ca6ba658d1 SHA512 78c876d8ecc13aa0f802460f6c1462b53162dfdf85c658e32f1cf9823eeef829b6f1af8285a6c0c75719f5a2e05ff8b987dab88a416df6a8371c16fd032f5e6a diff --git a/dev-python/numpy/numpy-2.2.1.ebuild b/dev-python/numpy/numpy-2.2.1.ebuild deleted file mode 100644 index 2c54dfd11fc4..000000000000 --- a/dev-python/numpy/numpy-2.2.1.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+)" -FORTRAN_NEEDED=lapack - -inherit distutils-r1 flag-o-matic fortran-2 pypi - -DESCRIPTION="Fast array and numerical python library" -HOMEPAGE=" - https://numpy.org/ - https://github.com/numpy/numpy/ - https://pypi.org/project/numpy/ -" - -LICENSE="BSD" -SLOT="0/2" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" -# +lapack because the internal fallbacks are pretty slow. Building without blas -# is barely supported anyway, see bug #914358. -IUSE="big-endian +lapack" - -RDEPEND=" - lapack? ( - >=virtual/cblas-3.8 - >=virtual/lapack-3.8 - ) -" -BDEPEND=" - ${RDEPEND} - >=dev-build/meson-1.1.0 - >=dev-python/cython-3.0.6[${PYTHON_USEDEP}] - lapack? ( - virtual/pkgconfig - ) - test? ( - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] - ' 'python*') - dev-python/charset-normalizer[${PYTHON_USEDEP}] - >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - ) -" - -QA_CONFIG_IMPL_DECL_SKIP=( - # https://bugs.gentoo.org/925367 - vrndq_f32 -) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - # bug #922457 - filter-lto - # https://github.com/numpy/numpy/issues/25004 - append-flags -fno-strict-aliasing - - distutils-r1_python_prepare_all -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dallow-noblas=$(usex !lapack true false) - -Dblas=$(usev lapack cblas) - -Dlapack=$(usev lapack lapack) - # TODO: cpu-* options - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # Very disk-and-memory-hungry - numpy/lib/tests/test_io.py::TestSaveTxt::test_large_zip - numpy/lib/tests/test_io.py::TestSavezLoad::test_closing_fid - numpy/lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load - - # Precision problems - numpy/_core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals - - # Runs the whole test suite recursively, that's just crazy - numpy/core/tests/test_mem_policy.py::test_new_policy - - numpy/typing/tests/test_typing.py - # Uses huge amount of memory - numpy/core/tests/test_mem_overlap.py - ) - - if [[ $(uname -m) == armv8l ]]; then - # Degenerate case of arm32 chroot on arm64, bug #774108 - EPYTEST_DESELECT+=( - numpy/_core/tests/test_cpu_features.py::Test_ARM_Features::test_features - ) - fi - - case ${ARCH} in - arm) - EPYTEST_DESELECT+=( - # TODO: warnings - numpy/_core/tests/test_umath.py::TestSpecialFloats::test_unary_spurious_fpexception - - # TODO - numpy/_core/tests/test_function_base.py::TestLinspace::test_denormal_numbers - numpy/f2py/tests/test_kind.py::TestKind::test_real - numpy/f2py/tests/test_kind.py::TestKind::test_quad_precisionn - - # require too much memory - 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - ) - ;; - hppa) - EPYTEST_DESELECT+=( - # https://bugs.gentoo.org/942689 - "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype[int]" - "numpy/_core/tests/test_dtype.py::TestBuiltin::test_dtype[float]" - numpy/f2py/tests/test_kind.py::TestKind::test_real - numpy/f2py/tests/test_kind.py::TestKind::test_quad_precision - numpy/tests/test_ctypeslib.py::TestAsArray::test_reference_cycles - numpy/tests/test_ctypeslib.py::TestAsArray::test_segmentation_fault - numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_scalar - numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_subarray - numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_structure - numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_structure_aligned - numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_union - numpy/tests/test_ctypeslib.py::TestAsCtypesType::test_padded_union - ) - ;; - ppc|x86) - EPYTEST_DESELECT+=( - # require too much memory - 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' - 'numpy/_core/tests/test_multiarray.py::TestDot::test_huge_vectordot[float64]' - ) - ;; - esac - - if [[ ${CHOST} == powerpc64le-* ]]; then - EPYTEST_DESELECT+=( - # long double thingy - numpy/_core/tests/test_scalarprint.py::TestRealScalars::test_ppc64_ibm_double_double128 - ) - fi - - if use big-endian; then - EPYTEST_DESELECT+=( - # ppc64 and sparc - numpy/linalg/tests/test_linalg.py::TestDet::test_generalized_sq_cases - numpy/linalg/tests/test_linalg.py::TestDet::test_sq_cases - "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[s1]" - "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f77[t1]" - "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[s1]" - "numpy/f2py/tests/test_return_character.py::TestFReturnCharacter::test_all_f90[t1]" - ) - fi - - if ! has_version -b "~${CATEGORY}/${P}[${PYTHON_USEDEP}]" ; then - # depends on importing numpy.random from system namespace - EPYTEST_DESELECT+=( - 'numpy/random/tests/test_extending.py::test_cython' - ) - fi - - if has_version ">=dev-python/setuptools-74[${PYTHON_USEDEP}]"; then - # msvccompiler removal - EPYTEST_DESELECT+=( - numpy/tests/test_public_api.py::test_all_modules_are_expected_2 - numpy/tests/test_public_api.py::test_api_importable - ) - EPYTEST_IGNORE+=( - numpy/distutils/tests/test_mingw32ccompiler.py - numpy/distutils/tests/test_system_info.py - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -p rerunfailures --reruns=5 -} - -python_install_all() { - local DOCS=( LICENSE.txt README.md THANKS.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/numpy/numpy-2.2.0.ebuild b/dev-python/numpy/numpy-2.2.3.ebuild index 51e5ddf971b4..f293e0bef960 100644 --- a/dev-python/numpy/numpy-2.2.0.ebuild +++ b/dev-python/numpy/numpy-2.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -45,6 +45,7 @@ BDEPEND=" dev-python/charset-normalizer[${PYTHON_USEDEP}] >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] ) " @@ -183,9 +184,6 @@ python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die epytest -p rerunfailures --reruns=5 - - # https://github.com/numpy/numpy/issues/27942 - rm xm.np.npy || die } python_install_all() { diff --git a/dev-python/oslo-utils/Manifest b/dev-python/oslo-utils/Manifest index f86080417d0e..8a40b55e3e16 100644 --- a/dev-python/oslo-utils/Manifest +++ b/dev-python/oslo-utils/Manifest @@ -1 +1,2 @@ DIST oslo.utils-8.0.0.tar.gz 137260 BLAKE2B cb172de17e4e219b46bf862fbb9c9ca30f48cbc56d3967f4a1efe7c0a84485e81cae552a84683982480578acd5018df70caa07be71eda82e9331b40a5a89c0f6 SHA512 aa874638e8de5917de79e71b5f78213248ff079217f9c418a289dc8c3be17eec995e3787bc414e232ef78d0ce66cb3c2f7be84760a382066d2729fd8e3daf406 +DIST oslo_utils-8.1.0.tar.gz 138093 BLAKE2B 1d057953e5a15ae52f75e72e780b71e97a105420d5f93722712f8672e53e3e90828adb522ce73d232b67c0bdef805a5f56c3c37a6a78643e170e73286f87ce6f SHA512 5208f57401f3721e73ceb8f3b478dd4dfc733fb6ce627c241230e193c0b902ad305317baaa493233bbbc56e58918eaf9f18114fde6b089356d3beabb0f451d64 diff --git a/dev-python/oslo-utils/oslo-utils-8.1.0.ebuild b/dev-python/oslo-utils/oslo-utils-8.1.0.ebuild new file mode 100644 index 000000000000..1b98bc6b2c61 --- /dev/null +++ b/dev-python/oslo-utils/oslo-utils-8.1.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit check-reqs distutils-r1 pypi + +DESCRIPTION="Oslo Utility library" +HOMEPAGE=" + https://opendev.org/openstack/oslo.utils/ + https://github.com/openstack/oslo.utils/ + https://pypi.org/project/oslo.utils/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.10.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/pbr-6.1.0[${PYTHON_USEDEP}] + >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +# qemu needed for qemu-img +BDEPEND=" + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + test? ( + app-cdr/cdrtools + app-emulation/qemu + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +# note this only applies to USE=test +CHECKREQS_DISK_BUILD=8G + +pkg_pretend() { + use test && check-reqs_pkg_pretend +} + +pkg_setup() { + use test && check-reqs_pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + + # require eventlet + rm oslo_utils/tests/test_eventletutils.py || die +} diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 0fec45d3af8b..1414324aee6f 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1,2 +1,2 @@ -DIST pbs-installer-2025.01.06.gh.tar.gz 82694 BLAKE2B 171754b6b2d8ce99618e0f241188a8565332fcbd0bdf29ea2b52ec874780adce0c563ae464a2c7a4f74c1fe06d9d334e61b91fa4e50380160403a228ebc55d56 SHA512 f3b150acbfcf64dc6ad1ec1915744b9e1663ef4e13b78e65d6d259e6bf6d844e93a0c432109c6eb5919a26a17ff923699227738fdf9e8d4244810fb63258f2a2 DIST pbs-installer-2025.02.05.gh.tar.gz 84182 BLAKE2B 1202e066d50228ea32b307449c9bcfabb0d174cc655b831cec9443a94aebbac9123dabb58b02f49a9cd4f813b634ecebd7bcadae2f7967bedae9b152911e3713 SHA512 7075c2083832d294150ff6b5448e5ad4a90da678ab301192d672ef02e5bff872d327e63603aa6d8e283b065b9190d1f46cc73705c71079cab5fa7c80aefc3657 +DIST pbs-installer-2025.02.12.gh.tar.gz 84756 BLAKE2B e2b9063f36b0e53877dbf88536194c89a74ea4abaeeecf823caf95d98a680608f1e4b673fde6d528b69e55dc81a9b5533065ea79f3262ba33dd9453d7656fdd8 SHA512 9f342684f4338dd1dd9b409a31d0cf2626d444f3222adbcf9fc93c54e79f8870d07804265a0935c139ae9c5261bed76225fe22aa36d3736fb511a024dc174a91 diff --git a/dev-python/pbs-installer/pbs-installer-2025.01.06.ebuild b/dev-python/pbs-installer/pbs-installer-2025.02.12.ebuild index 3844530d8280..3844530d8280 100644 --- a/dev-python/pbs-installer/pbs-installer-2025.01.06.ebuild +++ b/dev-python/pbs-installer/pbs-installer-2025.02.12.ebuild diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index 917e63f93908..e4cb46e9fc73 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -1,2 +1,3 @@ DIST psutil-6.1.0.tar.gz 508565 BLAKE2B 2b5095613854c8e77e5e5ac8bb67b3d631bb29515c8d958e7cedb81a56c03d639663602f01337e191084f1511a6cb921a85394ecc8ac64af2270cf75cdc44262 SHA512 76865df4fdb2a9df45e47589b76b34d0d9d9251491091683e47b4509863e32e46dc62ee2f760b983f0f762b8288d1ea7f32268a6857c049ad12f399908e19c82 DIST psutil-6.1.1.tar.gz 508502 BLAKE2B ebd8ee40cd86fdbc1ed70e192228889dbae74295ba5b17baa629ca8c3d05945b61ad4b02a836af30886bbf78d65de842cd25486c292ed5b727f37645c6bde93b SHA512 db8a2f4b0b451ca46aaa21b1faae03c4328b1effd04f240a7c8efc94a1c8ca7fc080fc6d16f6ca2046b9232ec43e447be0c414b125f8f511131dc6dff95bd72c +DIST psutil-7.0.0.tar.gz 497003 BLAKE2B d5bd3845f4a1a9852ea0136d43f3c4ef9534f08cde7acc3e7a02d7725e52a517882986cf48be241d51b001646b0550d8d7d964dd38ba15e6777d82c3605c34af SHA512 83c17e5dd975bd403d8ece3bcfe021e5b845eb53260f8857999ebc6fdea8aca83e136b945aaa0b3974dc387191988c22fcdcab03effc8e943382989a106aeaf3 diff --git a/dev-python/psutil/psutil-7.0.0.ebuild b/dev-python/psutil/psutil-7.0.0.ebuild new file mode 100644 index 000000000000..bc51e1cfabe4 --- /dev/null +++ b/dev-python/psutil/psutil-7.0.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Retrieve information on running processes and system utilization" +HOMEPAGE=" + https://github.com/giampaolo/psutil/ + https://pypi.org/project/psutil/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hardcoded assumptions about the test environment + tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked + tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs + tests/test_linux.py::TestSystemNetIfAddrs::test_ips + tests/test_posix.py::TestProcess::test_nice + tests/test_process.py::TestProcess::test_ionice_linux + tests/test_system.py::TestDiskAPIs::test_disk_partitions + + # mocking is broken + tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 + tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail + tests/test_linux.py::TestSensorsBattery::test_emulate_no_power + tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined + + # doesn't like sandbox injecting itself + tests/test_process.py::TestProcess::test_weird_environ + + # extremely flaky + tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used + tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used + + # nproc --all is broken? + tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc + + # broken on some architectures + tests/test_linux.py::TestSystemCPUCountCores::test_method_2 + tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks + tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo + tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file + tests/test_system.py::TestCpuAPIs::test_cpu_freq + tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison + + # broken in some setups + tests/test_linux.py::TestMisc::test_issue_687 + tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity + tests/test_linux.py::TestSystemCPUStats::test_interrupts + tests/test_posix.py::TestProcess::test_cmdline + tests/test_posix.py::TestProcess::test_name + tests/test_posix.py::TestSystemAPIs::test_users + tests/test_process.py::TestProcess::test_terminal + tests/test_unicode.py::TestFSAPIs::test_memory_maps + + # fails on all AT containers + tests/test_system.py::TestMiscAPIs::test_users + + # failing without /sys/class/power_supply? + tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery + tests/test_misc.py::TestMisc::test_serialization + ) + + # Since we are running in an environment a bit similar to CI, + # let's skip the tests that are disabled for CI + local -x TRAVIS=1 + local -x APPVEYOR=1 + local -x GITHUB_ACTIONS=1 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf psutil || die + epytest --pyargs psutil +} + +python_compile() { + # Force -j1 to avoid .o linking race conditions + local MAKEOPTS=-j1 + distutils-r1_python_compile +} diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index 9475bc9b4a3e..a4b5e9e3e5ee 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,2 +1,3 @@ DIST pyghmi-1.5.72.tar.gz 260374 BLAKE2B e68420c86e98de450ddc873bd29bfb64b9651b5b4dc14990b7147ab7973d1b9ee1d4fc6ce4ebdcf460b0ff8d8575ac8f7db77caabff40fe984d7ca5eb03dccf4 SHA512 c9cc5486d6bea6e9ef60f4b98328f42690350432c5b742adb8f69e136a1f001bd47c078ac52a4d147d636e694e4a1efb9a9fe1b704559afe9303020bb0c86d73 DIST pyghmi-1.5.75.tar.gz 266358 BLAKE2B 59ed934322b9f7acd842e2c625007ef9ec23b86088a183359fafbcafa9ce11ecf38c7aeb0fa8d8d9b9de2fffa8ff54a9e7180e1b2423bd64de6d947d92104643 SHA512 73bcb9a37016af6a173c853cef0089fa5d060e9c58e92d0ea1a90594ca8dff60dcb0c69e4640cd1c59b0b451abc1662ac9e0f8b3df9274aaa948474bb33cdf1b +DIST pyghmi-1.5.76.tar.gz 267216 BLAKE2B 3a21eae13bff6853e5fad3bb2ecd4868eb99d792c8d4b5cf5a495aad7814e35108364be3d7355f4787c920f7db4b3fb57e2087e733075c32dafb82f19b7cb324 SHA512 973da5f4fa00c0733680fcc4b33808a80afebadf7b82437262880326de3e479f5603dcac9392c3858ce0c2d71e16786db73cfb6a81e3bc506df136e1b6b53bb7 diff --git a/dev-python/pyghmi/pyghmi-1.5.76.ebuild b/dev-python/pyghmi/pyghmi-1.5.76.ebuild new file mode 100644 index 000000000000..89bd4f6c4398 --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.5.76.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A pure python implementation of IPMI protocol" +HOMEPAGE=" + https://opendev.org/x/pyghmi/ + https://pypi.org/project/pyghmi/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] + dev-python/pbr[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/recurring-ical-events/Manifest b/dev-python/recurring-ical-events/Manifest index fe980ebc74b0..c9fd20a67a22 100644 --- a/dev-python/recurring-ical-events/Manifest +++ b/dev-python/recurring-ical-events/Manifest @@ -1,2 +1,3 @@ DIST python-recurring-ical-events-3.5.0.gh.tar.gz 519274 BLAKE2B 153c65210a4bcbc3fad9140c9f8c19c0391a2da8e3e4bf712ea341d822486f9d56704966cdbcdfa432dc01edac730dd97c1bf55b2338c4d28925f63a5ce98f6f SHA512 7f3e96ddb23c677d947608610955bef9f1eec91372b5dca66b6e085b304f17252f31458e5c0c62dd20e2a3f654e0ffcbf7473359901223a82695e506ba0bd0c7 DIST recurring_ical_events-3.5.1.tar.gz 602738 BLAKE2B 9bb39037f10dc5dcf58c4e38b102cdaf9860108a5c48f7d9d2a80a061e95a3f2295a13319b9a5ada372383ecd1ee37af93846822411b9451de87ed7a9c736761 SHA512 b0bb79a1549dec28396fc80b307021ca74cb9d09ff55980215e376e93f3743be242e57427dcaf996f83363f9806a235bcb1ab3f8077e5e9a899e8c1daefe1e5a +DIST recurring_ical_events-3.5.2.tar.gz 604333 BLAKE2B 380373cea7fe8b854373b3834f966b81ca613d4d4d0aee2968bf7fb80174e00affcd9cc1a59c8dcf0297447426c51d7d7ede50672bf80519df61b81ae2f6f917 SHA512 11e713d2a1fbbcdfd6e2185581e9c8a1f108f01cbb05389d735ad82233eea9e23cfa28fb3b28f17eecafe012b6ae090adf31ae475c0aa0bcf28c2199525c5ef6 diff --git a/dev-python/recurring-ical-events/recurring-ical-events-3.5.2.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-3.5.2.ebuild new file mode 100644 index 000000000000..2a915b110f67 --- /dev/null +++ b/dev-python/recurring-ical-events/recurring-ical-events-3.5.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" +HOMEPAGE=" + https://github.com/niccokunzmann/python-recurring-ical-events/ + https://pypi.org/project/recurring-ical-events/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/icalendar-7[${PYTHON_USEDEP}] + >=dev-python/icalendar-6.1.0[${PYTHON_USEDEP}] + <dev-python/python-dateutil-3[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + <dev-python/x-wr-timezone-3[${PYTHON_USEDEP}] + >=dev-python/x-wr-timezone-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytz-2023.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + test/test_readme.py +) diff --git a/dev-python/tzlocal/Manifest b/dev-python/tzlocal/Manifest index 7fa9c8236ea0..2ed6b3ed1e0a 100644 --- a/dev-python/tzlocal/Manifest +++ b/dev-python/tzlocal/Manifest @@ -1 +1,2 @@ DIST tzlocal-5.2.gh.tar.gz 25734 BLAKE2B a2f1084e9128bc66ff861bd953a7c7a1c69e29d1e411f9489b9ff13cbadac75f42c126ddd3b66e8426e41d6376d3f9646192dc4bb5ed421b602b85bd8f109233 SHA512 21e25ef6756cb11277027dc388f779f68b1c5e03c1e7dced81fdebe0d3656c81c363a1c2f3a98344f34325bc9533d995c5a006ab7b34ff2907442a6994024d4e +DIST tzlocal-5.3.gh.tar.gz 26080 BLAKE2B 3bebf3872a11e1b75c450fa055c14cbc0158bf11dbdb6f67a57506772ebc142887d373abe0d3c1625c6b6b984469e11dd5e2ab1b620f13c03db9327d70e7f2ad SHA512 46461c368d16d9a8152ef2cc70f5705d2fc87756eaf3ae25065eaa1874f1adce6d7871ee73b9c68d9abb3a46915a29620d2bde018a9b51502247dfa488115b9b diff --git a/dev-python/tzlocal/tzlocal-5.3.ebuild b/dev-python/tzlocal/tzlocal-5.3.ebuild new file mode 100644 index 000000000000..3e1872fe09d2 --- /dev/null +++ b/dev-python/tzlocal/tzlocal-5.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="tzinfo object for the local timezone" +HOMEPAGE=" + https://github.com/regebro/tzlocal/ + https://pypi.org/project/tzlocal/ +" +# symlinks aren't correctly preserved in sdist, as of 5.0.1 +SRC_URI=" + https://github.com/regebro/tzlocal/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest |
