From dceb2d4b615c2300017aa284ad1a2c1ee5764f44 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 19 Aug 2025 20:57:12 +0000 Subject: Adding metadata --- dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.40.12.ebuild | 53 +++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.40.12.ebuild | 67 +++++++++++++ dev-python/cfn-lint/Manifest | 2 +- dev-python/cfn-lint/cfn-lint-1.38.2.ebuild | 61 ------------ dev-python/cfn-lint/cfn-lint-1.39.0.ebuild | 61 ++++++++++++ dev-python/django-allauth/Manifest | 2 +- .../django-allauth/django-allauth-65.11.0.ebuild | 48 ++++++++++ .../django-allauth/django-allauth-65.9.0.ebuild | 65 ------------- dev-python/jaraco-functools/Manifest | 1 + .../jaraco-functools/jaraco-functools-4.3.0.ebuild | 56 +++++++++++ dev-python/jsonschema/Manifest | 1 + dev-python/jsonschema/jsonschema-4.25.1.ebuild | 59 ++++++++++++ dev-python/langdetect/Manifest | 2 + .../files/langdetect-1.0.9-explicit-config.patch | 13 --- dev-python/langdetect/langdetect-1.0.9.ebuild | 6 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/pbs-installer/Manifest | 2 +- .../pbs-installer/pbs-installer-2025.08.08.ebuild | 35 ------- .../pbs-installer/pbs-installer-2025.08.18.ebuild | 35 +++++++ dev-python/pyghmi/Manifest | 1 + dev-python/pyghmi/pyghmi-1.6.5.ebuild | 33 +++++++ dev-python/pyopengl-accelerate/Manifest | 1 + .../pyopengl-accelerate-3.1.10.ebuild | 60 ++++++++++++ .../pyopengl-accelerate-9999.ebuild | 4 +- dev-python/pyopengl/Manifest | 1 + dev-python/pyopengl/pyopengl-3.1.10.ebuild | 66 +++++++++++++ dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild | 50 ++++++++++ dev-python/pyotherside/pyotherside-1.6.2.ebuild | 104 --------------------- dev-python/pypiserver/Manifest | 1 + dev-python/pypiserver/pypiserver-2.4.0.ebuild | 76 +++++++++++++++ .../pytest-asyncio/pytest-asyncio-0.26.0.ebuild | 8 ++ .../pytest-asyncio/pytest-asyncio-1.0.0.ebuild | 8 ++ .../pytest-asyncio/pytest-asyncio-1.1.0.ebuild | 8 ++ dev-python/pytest-lazy-fixtures/Manifest | 1 + .../pytest-lazy-fixtures-1.3.3.ebuild | 32 +++++++ dev-python/pyyaml/pyyaml-6.0.2.ebuild | 2 +- dev-python/requests/Manifest | 1 + dev-python/requests/requests-2.32.5.ebuild | 65 +++++++++++++ dev-python/time-machine/Manifest | 1 + dev-python/time-machine/time-machine-2.18.0.ebuild | 36 +++++++ dev-python/typing-extensions/Manifest | 1 + .../typing-extensions-4.15.0_rc1.ebuild | 34 +++++++ dev-python/xmltodict/xmltodict-0.14.2.ebuild | 2 +- dev-python/zstandard/Manifest | 1 + dev-python/zstandard/zstandard-0.23.0-r2.ebuild | 81 ---------------- dev-python/zstandard/zstandard-0.24.0.ebuild | 72 ++++++++++++++ 48 files changed, 957 insertions(+), 374 deletions(-) create mode 100644 dev-python/boto3/boto3-1.40.12.ebuild create mode 100644 dev-python/botocore/botocore-1.40.12.ebuild delete mode 100644 dev-python/cfn-lint/cfn-lint-1.38.2.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.39.0.ebuild create mode 100644 dev-python/django-allauth/django-allauth-65.11.0.ebuild delete mode 100644 dev-python/django-allauth/django-allauth-65.9.0.ebuild create mode 100644 dev-python/jaraco-functools/jaraco-functools-4.3.0.ebuild create mode 100644 dev-python/jsonschema/jsonschema-4.25.1.ebuild delete mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch delete mode 100644 dev-python/pbs-installer/pbs-installer-2025.08.08.ebuild create mode 100644 dev-python/pbs-installer/pbs-installer-2025.08.18.ebuild create mode 100644 dev-python/pyghmi/pyghmi-1.6.5.ebuild create mode 100644 dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild create mode 100644 dev-python/pyopengl/pyopengl-3.1.10.ebuild create mode 100644 dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild delete mode 100644 dev-python/pyotherside/pyotherside-1.6.2.ebuild create mode 100644 dev-python/pypiserver/pypiserver-2.4.0.ebuild create mode 100644 dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild create mode 100644 dev-python/requests/requests-2.32.5.ebuild create mode 100644 dev-python/time-machine/time-machine-2.18.0.ebuild create mode 100644 dev-python/typing-extensions/typing-extensions-4.15.0_rc1.ebuild delete mode 100644 dev-python/zstandard/zstandard-0.23.0-r2.ebuild create mode 100644 dev-python/zstandard/zstandard-0.24.0.ebuild (limited to 'dev-python') diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 60e798d98584..974f3b56efa8 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,6 +2,7 @@ DIST boto3-1.39.14.gh.tar.gz 974493 BLAKE2B 14c6295f20cab6390c81d399585c9bd82911 DIST boto3-1.40.1.gh.tar.gz 978197 BLAKE2B c93f3550d41c13292dd8f4dcaab9d896faca127684a3ca72c253aa42ac44277c27ff0d68f47754c408701e97f0cefeda81e94565fba808544d5c16efaabb00d9 SHA512 c94eb4584161932f2d03ca9bf402a6e55358124e48fea94b71a5e22774aac6312f8ba7c69a18824c306b16a494cb3ed613cb96244c2718adbd53dd3b5829f934 DIST boto3-1.40.10.gh.tar.gz 984242 BLAKE2B 3d51a264c47daea902d580911a72f6539f7051a3efded16cea995e2b46c948d90be8998ea3810cdc5118d24251fcdfce64d6b64e58060640401694100d9d41ac SHA512 ebe751526f4237f5a6ad2fe4cbd6317f81f456bc59787a89cfe57e4f3ab4ebcb9e68109e506fd06293642fe85372600adbbba2ad2484805cd3ecebe951e776e5 DIST boto3-1.40.11.gh.tar.gz 984481 BLAKE2B f484d37bd38fe8bc80ec6a8e64ecf85eeec8a4c777e30d11a0d108a135d31b2b96a684095fc4ef868def656f04f23d652459bb000f9f8764a27434fbfb923a01 SHA512 bcee5774a56a99ebc23bddaa49f89d85f128f02bb0eb95b9d04dec7c6b335464545fd6d0ad117ac6cb6766d17919049f174057349dd37a4262ed3fd7a654feb2 +DIST boto3-1.40.12.gh.tar.gz 985061 BLAKE2B 6b79d1140a15c3249f65f4602c6aa3a25fde1ddb77a78bb29da735948989c48230b00e56702a61d7f629fdd79f733df8daba850fab5ac23597d935edf7872ce5 SHA512 6377af0bd3d3e7c46656cfcfa63310c6ea812a6ae5117130678e37043599e11068d57e4ed6fee535816a27c4f6d32cdf6f6c4d3518c51c06137e104ba1b5b185 DIST boto3-1.40.6.gh.tar.gz 981330 BLAKE2B 929b4326d8d48e46750128e6236776b86fd5e59f0aab113e3ec797f18f138c7f52b30a79724f97de8083fd8e8baa04169e68e219ef5acf592561dabb838b4374 SHA512 65431a0d084298f51e0eee1753119f811261e9e57fdc5fa0491c9ce8d4fc745e705aed22527c8c06e003227c5c0bccc1a659e04bcc96a68fafb61bc53ec70a84 DIST boto3-1.40.7.gh.tar.gz 982158 BLAKE2B 36ab4722eab1c76514138e93e4ebf5ebf50714649d02c7465ecdbc74fdf32921270d3a71d67ffc788940ba0ef1b4c4b9e588c7c7777171de91dceecde18f7559 SHA512 48b237fb61d28f44543dbb6e4ea19e2dfd8c766ca9e7c17ef0d7728af72eed09a7ecb6354427d6aacf89a28a6dc54391c665a5aa248b65680918f9518f33dbbf DIST boto3-1.40.8.gh.tar.gz 982609 BLAKE2B 2078913b650e09d356efb8c79c1a916c1574472b94e787d8e961fb3cdf8b646800bc4d01792c333f04117b877d51c3387054b3146482228c77265bb47936409b SHA512 1ea19fbb142400e8b17c345f2f94c14f6a7f13e12cdcf76714c7a28eb50a9cb038784b0c79d20587586bb0c1c21b0a42e12b8687beae364c6bd3b5b5b5fc51ed diff --git a/dev-python/boto3/boto3-1.40.12.ebuild b/dev-python/boto3/boto3-1.40.12.ebuild new file mode 100644 index 000000000000..bd6e26787db4 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.12.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_{11..14} ) + +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.13.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +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() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 09a8d9419847..7f0d85b23cde 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,6 +2,7 @@ DIST botocore-1.39.14.gh.tar.gz 15002421 BLAKE2B a054f85ee0076f1445e122e497683b3 DIST botocore-1.40.1.gh.tar.gz 15055179 BLAKE2B 0fd7e4f74e51fe45284fe550bb853964e3f6039c2d5904996bc3f40e3912b75af4eab4c378edbc85b61fb6b3f5d1583493ad71540c7170c5a0ffb7ffefc5d99f SHA512 4a0b5d075f8335c5b9c08bad1088c31ded92deced98a7f606cf07853657f41d8f3ab224b13172d007c8de6d2127edce662c4deadcb8d4ed8693432d77b8e38e6 DIST botocore-1.40.10.gh.tar.gz 15122814 BLAKE2B bf89d87f5e5f550bf45dee6bf827b99d12ce5e3240f47449a5e67eb5735323d92ac768bdb9b3de96dd8df8738ba21b357edee94750543686378eee119804418f SHA512 e855a5166dfcbd3562d1ca1192444967484306d93b71861ff4c238376b719482522825da7dd42556cf7fc2ffed5584f1b817db0c2f5ccbd225a2a8d65251abb8 DIST botocore-1.40.11.gh.tar.gz 15124864 BLAKE2B 3a9657b4d0d5c0f86f68f1e7c9fd2fa7145b807e015abb64c20c0ad80ce337b660cf617de3e0b1d5524eb7d766afa75aa253b1388383fdfe8509599b8d9bb200 SHA512 853bec0829b5fc17d373c3f9d617be671abb145dbffd0a672f3a9fe48a0b7c8099310bce43ca84f45a72aca1fbabbfb6acf74aefa5bf11fc1baf751959d098b7 +DIST botocore-1.40.12.gh.tar.gz 15136147 BLAKE2B bcf52602e06b58a6576f93b6877bd5c9a1d506afaebcd4d7fbe1116e4da088504278ea4bbd00e9714f5ffab1901e086a4690cd0d7c18055e3dfbc9141b802695 SHA512 cad0e44af507be66a0f9b256544fdbf4b6f60d4aa9c5c3318a3761087aa88b8b056b550a02c55346bd3bd07362548871c4a13be02d93dec44cbc8428ca1d8224 DIST botocore-1.40.6.gh.tar.gz 15096678 BLAKE2B fb76ace4058c814bb8ef17bb216f5f7355eec401e4108d8a6569e07f97b14becb9e99652364dacb7e46e62f3ffaea2e5e1cd241ae832fe0a359ed58bbcfe3500 SHA512 faa311f29da484083f49a9ae7beda844b8878750c7474916ff7200b4a5fdc01e26295923c7a0f0bc4e4b1c22e5381f69546b8685fdeb2112f1c61810d3c9b58d DIST botocore-1.40.7.gh.tar.gz 15098734 BLAKE2B d1ac4800e3cdce6a47f4c9da23b30768df3acad0113bf9da87ae2523d74840a79ee29775c072615e2080f7e98b268060801fe9cec653f5b1251c3b6d592422f6 SHA512 e1e81e4d0d0224614680244e4f7986f47a3042039b50ad61ceb4c589a14d11eaacfa1aa501a5791174a202813bd1db256802a73fb8d66c2b517d75ddfa67760b DIST botocore-1.40.8.gh.tar.gz 15100807 BLAKE2B 0ecd33358b2d6edd6646b092fbc50d90ce4a5accf5427f9296a6bf66f610018659a75abf7f80375e40a561ca7b09139736b1cab0920810f97e65d6060adb20e7 SHA512 18db4b3c2f546700eccebc92e13b0e0ad57c98a0e2f1a5aeab0ea5f710d952d0206e8e4a9ce8f91da756c4f9589f6c5be80341dd6d5ed052ce9ae205a8dec2dd diff --git a/dev-python/botocore/botocore-1.40.12.ebuild b/dev-python/botocore/botocore-1.40.12.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.12.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_{11..14} ) + +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/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_PLUGINS=() +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 + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 04d7dfdae7ea..cfe9d04261ca 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,3 +1,3 @@ DIST cfn_lint-1.37.2.tar.gz 3105967 BLAKE2B afa47f8c3669b32a6471e6bd438b68407f87f76c1473d848b8bc70474616418505ffcb69f7a35124fc2c5c1b2a5135d2d9ed51f2227b36e753d7a481fbc5b362 SHA512 e5a24a4cc506c287af3229ca86bee6ece335b8b80c7083f9b8c52a79d09c441043b176464e84051d05e135d2e47b11b307531a9ab0b24de98545e9e276697f64 -DIST cfn_lint-1.38.2.tar.gz 3534485 BLAKE2B 490b22ab540944a2feb4ad8b9e4ff02d8f4e3520b1c077eed83e925118f6d4de29858e470d703b7aee2788b9ab07c8c4e11ac5af54446be3b67ae8ac61145954 SHA512 670e52e26eaae0cc70b7f3573f03bde3632c8932fc5525942f981c592e37bf622d785b2f1f6d490cb96cb9b148a348c7e2f4ee8573fa146a10d0b888693d3be7 DIST cfn_lint-1.38.3.tar.gz 3547091 BLAKE2B d1e05090f3d6bf43b4a4ab90f658fe3c958d78804d2fbb1e07ad8d799f261799104c83eb71bc62fb04a84a66733243d38434948b7156398ce570539a5cf4058f SHA512 392dad7a58abdaa4b6416701381164c7dc98ca483aacbdc335ae26ba64ee2f15f680bfc931e4cfb6c21a6accb3f5c6c27c52e158a52d500820f086cbda06f7f5 +DIST cfn_lint-1.39.0.tar.gz 3539764 BLAKE2B 5e03ffab22bb11e887279b044f97f0206352e4f3918ac64e10106209d33b0df8dff5e6c82b35d6a175fc3fdf0e1e65c2b52ab836fbdde6694d5a09d9fb53003e SHA512 4ce87af557eb8c4dfb11bfdf6c57e4f30762644f55e32e5b3248df73cd50a94f958b58345f94fab2b80dbd4c551873fb5d062b68b4f224c8e94b5e512e28a987 diff --git a/dev-python/cfn-lint/cfn-lint-1.38.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.38.2.ebuild deleted file mode 100644 index 6a1d53b2d46a..000000000000 --- a/dev-python/cfn-lint/cfn-lint-1.38.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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.97.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=" - >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] - test? ( - dev-python/defusedxml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # different line wrapping somehow - test/unit/module/template/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # TODO: suddenly started failing in older versions too - # https://github.com/aws-cloudformation/cfn-lint/issues/4207 - test/integration/test_good_templates.py - test/unit/module/override/test_exclude.py::TestExclude::test_success_run - test/unit/module/test_api.py::TestLintFile::test_good_template - test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-1.39.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.39.0.ebuild new file mode 100644 index 000000000000..6a1d53b2d46a --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.39.0.ebuild @@ -0,0 +1,61 @@ +# 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.97.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=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # different line wrapping somehow + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # TODO: suddenly started failing in older versions too + # https://github.com/aws-cloudformation/cfn-lint/issues/4207 + test/integration/test_good_templates.py + test/unit/module/override/test_exclude.py::TestExclude::test_success_run + test/unit/module/test_api.py::TestLintFile::test_good_template + test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest +} diff --git a/dev-python/django-allauth/Manifest b/dev-python/django-allauth/Manifest index f9b0898af8b1..59a313cf6131 100644 --- a/dev-python/django-allauth/Manifest +++ b/dev-python/django-allauth/Manifest @@ -1,2 +1,2 @@ -DIST django-allauth-65.9.0.gh.tar.gz 1448683 BLAKE2B 12b45ee96fda1c42924aab8ddc19b668e07c140414cfaa4c567f1c9427f034dd3451809dbefba8304d8bf749f13413c29d11ea6135aabf57f68ac888dc097af5 SHA512 aaa555c8dbd5aa61f72375ae3b6e73edeb3b947ecd3dc5917dfb7e51c9e28a6424e3779f1f0c107f9571deb6df4ace340c9d564443db03a631e659f78899ff33 DIST django_allauth-65.10.0.tar.gz 1897777 BLAKE2B c4e0297f1354fecaacf0e9fdc798c15e32023ea55fbe8170f8546b52a81db170fc98ff473951807a84e1ada807dd41c0d68c1a4615cd557505255198d09c40f4 SHA512 c282aae8032e41d20f52b1cf1c36c799ba5e3d3198374d5c31ccae96d06e179fa21b69b8ad6432b1c146cb06245a448576b62c93657b8df7ca7720622ff01d13 +DIST django_allauth-65.11.0.tar.gz 1914618 BLAKE2B d423781da469f5371a329dd1c3fbf91bb5ccb345494e81b0cb373555be64e2931d28060d7580640364d54fb012a0146854542ed95fddf9aef94b9829d03a6ce8 SHA512 f80144b379842e5018c3fadc94197ce3c65a287f45e047b6ce122c4229892d3bed3899eb00778a823fe925e1c274e5f49c147bc7902df0db3bec21ecc890208e diff --git a/dev-python/django-allauth/django-allauth-65.11.0.ebuild b/dev-python/django-allauth/django-allauth-65.11.0.ebuild new file mode 100644 index 000000000000..60cdffb85312 --- /dev/null +++ b/dev-python/django-allauth/django-allauth-65.11.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2024-2025 Liguros 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 optfeature + +DESCRIPTION="Django 3rd party (social) account authentication" +HOMEPAGE=" + https://allauth.org/ + https://codeberg.org/allauth/django-allauth + https://pypi.org/project/django-allauth/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-3.2[${PYTHON_USEDEP}] + >=dev-python/python3-openid-3.0.8[${PYTHON_USEDEP}] + >=dev-python/pyjwt-1.7[${PYTHON_USEDEP}] + >=dev-python/requests-oauthlib-0.3.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] +" +# cryptography via pyjwt[crypto] +RDEPEND+=" + dev-python/cryptography[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=dev-python/pytest-django-4.5.2[${PYTHON_USEDEP}] + >=dev-python/qrcode-7.0.0[${PYTHON_USEDEP}] + >=dev-python/python3-saml-1.15.0[${PYTHON_USEDEP}] + pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "jaraco.functools" + version = "${PV}" + description = "Functools like those found in stdlib" + EOF +} + +python_install() { + distutils-r1_python_install + # rename to workaround a bug in pkg_resources + # https://bugs.gentoo.org/834522 + mv "${D}$(python_get_sitedir)"/jaraco{_,.}functools-${PV}.dist-info || die +} diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index 259c5f36d826..912ad5a15806 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1,3 +1,4 @@ DIST jsonschema-4.24.0.tar.gz 353480 BLAKE2B d063c9e55f25472b403645f9b274b8274cbaeca68f9cd1c88867431d05fca07a5885b805a7e91bd82f30cc6bc76dd44a2c561c0a69e5f1847dcea5a3ecbf90c2 SHA512 64840a1c989874fbdda2a996288ac0c5f46fe1ae9d5254eface832326b49d0090f33c3a06de952965b910eb8857daf9548e790de604abaf9cea588c8e3d89234 DIST jsonschema-4.24.1.tar.gz 356635 BLAKE2B 971d94dec0da08885fd20742186ab5094979c2d885f5306596f857d54a41edca3d1619d212b94901a63225fab78971831af36ce94a14aa6e0d28cabfcdef005c SHA512 de4afa98061ab797b1690a74f9e3e694d522b7f24008fc4bc80eb8fa1138dd446581bd8d6a9c211e578fb6db0f4211867fdc728914fc8fe15037e1769e6ce5f9 DIST jsonschema-4.25.0.tar.gz 356830 BLAKE2B 351043a1fb78929c58a7a5c594848ce8612b070f38c64f4848ba0f90ac8ab3221ea36b76ca09d5c819a3651d0d6e6457f7a4f3ef67f79b4fe2b623b028fb9742 SHA512 b50ba733a6eaa4bae8958515fa6144204466d656ce19cced9efb53d53a3bf74d0169f57ea3f0e0450b012bfd6f98fbf0753a46b572e5a488144e4fc9bc23e210 +DIST jsonschema-4.25.1.tar.gz 357342 BLAKE2B b31f67a5fb304461568cd25c98ea7f10a6001e95fcc090ecbf8ec45b541eaea7bd12eaaa5cc7b5f7ead9c92f2fb96077c330ddb97c5ac980a7be77daad69b076 SHA512 292f8345044a9d94d0a355b531b9310f94e5811de7b17b0bdbd2e9a6ff72fcddac8d43c3d3ccf457a5f01d5e359178698086f04190d496be3bb663cdf39690f4 diff --git a/dev-python/jsonschema/jsonschema-4.25.1.ebuild b/dev-python/jsonschema/jsonschema-4.25.1.ebuild new file mode 100644 index 000000000000..2755bd3d0693 --- /dev/null +++ b/dev-python/jsonschema/jsonschema-4.25.1.ebuild @@ -0,0 +1,59 @@ +# 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="An implementation of JSON-Schema validation for Python" +HOMEPAGE=" + https://pypi.org/project/jsonschema/ + https://github.com/python-jsonschema/jsonschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] + >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + dev-python/jsonpath-ng[${PYTHON_USEDEP}] + !!dev-python/shiboken6 + ) +" + +# formatter deps +RDEPEND+=" + dev-python/fqdn[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/isoduration[${PYTHON_USEDEP}] + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/rfc3986-validator[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + dev-python/uri-template[${PYTHON_USEDEP}] + >=dev-python/webcolors-24.6.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires pip, does not make much sense for the users + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license + # fragile warning tests + jsonschema/tests/test_deprecations.py + # wtf? + jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug +) diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..d12ab8aeaca8 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 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch 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 99577c43fc3e..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -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 @@ - pastalian46@gmail.com - Takuya Wakazono + marcin.deranek@slonko.net + Marcin Deranek - - gentoo-guru-overlay + + https://github.com/Mimino666/langdetect/issues + + slonko-overlay \ No newline at end of file diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index b806fc0f3844..db0cd2289483 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1,2 +1,2 @@ -DIST pbs-installer-2025.08.08.gh.tar.gz 91778 BLAKE2B 348dd70c255d769de49f023aea5b1a0cd7bae1791109443b943fcabfd8a4bd472194ce924971f44c1afa28d6764589ff261b2f976c4d7f0af9798db34fc61682 SHA512 07d39cecc1d09d2988c85b0459d89232292ec934839cc8b5fa43115157ef101231ef493afa769bf2cfe67154ffe9c87d5f36d4b2f5c1fdabb2326e779c2e8076 DIST pbs-installer-2025.08.14.gh.tar.gz 91760 BLAKE2B 2c501130847c128cc8dd816eb1ef543954ff88f1d3d1e5dfc6e1413e0380c5f10978004a7aae65af07108af41b9189f52ac8570e233e4dcbf705a3a3a7ca0033 SHA512 b5d80eaa3c365624c41772b857d2406a700ed82f9c63c04e2fb1bb524cbdace40e4272505ecf28242d63b947b0a3cf627bb0172b5611dfc9fc8961f97461134f +DIST pbs-installer-2025.08.18.gh.tar.gz 92435 BLAKE2B 82723d9097c6083340de8d53476f5ba4befcff5aa25c0c10b577f39767324c55f4bda2d4dcce685f2df5ca2d25b854d63aca2eb5e8cd54e2f30d69abf3ed4fe9 SHA512 63c0365d25812b13893a3ff7863e23f3551067b752e1114df26f5ba44d479c7a789cb81e37df5fb3a1ed5e97700e3ce7472733daaac2c3176c42cbe3c4f700c2 diff --git a/dev-python/pbs-installer/pbs-installer-2025.08.08.ebuild b/dev-python/pbs-installer/pbs-installer-2025.08.08.ebuild deleted file mode 100644 index 272948979211..000000000000 --- a/dev-python/pbs-installer/pbs-installer-2025.08.08.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Installer for Python Build Standalone" -HOMEPAGE=" - https://pypi.org/project/pbs-installer/ - https://github.com/frostming/pbs-installer/ - -" -SRC_URI=" - https://github.com/frostming/pbs-installer/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -BDEPEND=" - dev-python/zstandard[${PYTHON_USEDEP}] -" - -# upstream does not provide any tests -RESTRICT=test - -python_configure_all() { - export PDM_BUILD_SCM_VERSION=${PV} -} diff --git a/dev-python/pbs-installer/pbs-installer-2025.08.18.ebuild b/dev-python/pbs-installer/pbs-installer-2025.08.18.ebuild new file mode 100644 index 000000000000..272948979211 --- /dev/null +++ b/dev-python/pbs-installer/pbs-installer-2025.08.18.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Installer for Python Build Standalone" +HOMEPAGE=" + https://pypi.org/project/pbs-installer/ + https://github.com/frostming/pbs-installer/ + +" +SRC_URI=" + https://github.com/frostming/pbs-installer/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + dev-python/zstandard[${PYTHON_USEDEP}] +" + +# upstream does not provide any tests +RESTRICT=test + +python_configure_all() { + export PDM_BUILD_SCM_VERSION=${PV} +} diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index 3944e82550bf..26d1c93c3fce 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,2 +1,3 @@ DIST pyghmi-1.6.2.tar.gz 277107 BLAKE2B 41d6f5301675407b96bd3c6f612b1baab9066cf945053ff47f930161794c5bd7848a279a349ec7494cd2f85731e077a4414c8b6507c0b8c418a0554e467a8376 SHA512 b37d92fdb83e44b5ca14119134cf57345fcd8eea9fb667099339d248fb197f09e0ee1404cf68d87583813b1e1ef049f8ee5d896bd00723a991c006839fd76607 DIST pyghmi-1.6.3.tar.gz 277404 BLAKE2B 1b3572e0be87de18a3ed066defbea9475c621fbb8d3cd2e96dd255ec3b79c1498a226c3e0a5454cec5b8b3469ccf00af34c0a2c9111f67709d0619b8f4d12326 SHA512 9acb9e06d2acada93550065db877311cc361da8bdb11b3f3048b88e59c37abe8a93b666e057e53c705df1df45f3f928561f6789175d85c83943c2150e337b8db +DIST pyghmi-1.6.5.tar.gz 277990 BLAKE2B 5e989a78762153614605dce7a9d4028854add8cfdab5cdf6a69d3c2bc1905324f119c84e57d24ca5699033b5db0102ae19d493ec348690c746477df044e030f9 SHA512 7c506f249564f7f5ff1f247e843314017f4a6925c706901c7fae8b4d90bbb997d03b8fcd4191af1c1001e881499c9727daf003f204017453d018d001d01ac041 diff --git a/dev-python/pyghmi/pyghmi-1.6.5.ebuild b/dev-python/pyghmi/pyghmi-1.6.5.ebuild new file mode 100644 index 000000000000..405adffe103b --- /dev/null +++ b/dev-python/pyghmi/pyghmi-1.6.5.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_{11..14} ) + +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/pyopengl-accelerate/Manifest b/dev-python/pyopengl-accelerate/Manifest index a30cf9e4c854..0a4ad0b3cf7b 100644 --- a/dev-python/pyopengl-accelerate/Manifest +++ b/dev-python/pyopengl-accelerate/Manifest @@ -1 +1,2 @@ +DIST pyopengl_accelerate-3.1.10.tar.gz 21930 BLAKE2B 9843d8420d20df10f6946d9d6a9be78e7730ec08425f7b0ca7d43ee13b02b10ddf240589538313ba64cb5098d1c36adf0b65bc5abdbc6fd6ac10a7d97f529be2 SHA512 85a3eb19ead97ed4820bd70757e41c9a6719a8dd3fab2f7c4f57f654a216fd3fd3a21bc731d5c2e2c07fdd1236756f79ee70e3600c2cc22105b2885feb2187a7 DIST pyopengl_accelerate-3.1.9.tar.gz 21799 BLAKE2B cf0a69d55dd1971fcd91d147e71035e3a59c55dbbf10eb2ae6d5e8e78ac932632a4867c4762ea56be5e79afa0c25b4e3d313557e6b3e1f4fcc3553df12096fce SHA512 a6e4dc2ee88f2133e02384113fa7947f9a30bd2b0dff5905c29fe46b346ba7e61b2d4dc2d598901524f46560025026d5163f750be0a2b58864b3863fa7179fcf diff --git a/dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild b/dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild new file mode 100644 index 000000000000..f6a0bbad2056 --- /dev/null +++ b/dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild @@ -0,0 +1,60 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Accelerate module for PyOpenGL" +HOMEPAGE=" + https://pyopengl.sourceforge.net/ + https://github.com/mcfletch/pyopengl/ + https://pypi.org/project/PyOpenGL-accelerate/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="numpy" + +DEPEND=" + numpy? ( + dev-python/numpy:=[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${DEPEND} + dev-python/pyopengl[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/pyopengl-accelerate-3.1.9-cpython3.1.0.patch +) + +src_configure() { + if ! use numpy; then + cat > "${T}"/numpy.py <<-EOF || die + raise ImportError("building numpy extension disabled") + EOF + fi +} + +python_compile() { + local -x PYTHONPATH=${T}:${PYTHONPATH} + distutils-r1_python_compile +} + +python_test() { + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild b/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild index 27ba7785a73f..51353a9b7f9f 100644 --- a/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild +++ b/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.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 @@ -47,6 +47,7 @@ BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest src_prepare() { @@ -75,7 +76,6 @@ python_compile() { } python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 cd "${T}" || die epytest "${S}"/tests } diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest index b2db5a337246..200d345d8e93 100644 --- a/dev-python/pyopengl/Manifest +++ b/dev-python/pyopengl/Manifest @@ -1,2 +1,3 @@ +DIST pyopengl-3.1.10.tar.gz 1915580 BLAKE2B 9c050c077b552f64253d930a38e8ddfc5ddb236d2f01b891dff37e42c9964a161c449ff467804e7f3feb4d2f1e4348047ff573cd12a9f2e977d180d5c5a3d79b SHA512 f11c94e442e0954453974900de5c1ef984d19f92ffc152fcc904a81aedc39ed294f4c51a6f1247e85499224f60422c4567e52516c156079d4efabbdd437e8f7d DIST pyopengl-3.1.8.gh.tar.gz 3599436 BLAKE2B 7f33345d68d66d3cc81278eaa5f54298694f41f40583ee08a1f9f677705fb4414b6b2afbcd7b9345199b5f573478bfeba050e185b6534cbb19b45cb25c241b47 SHA512 d95014a36bd889fa014043e4640ba7f319bb996cb56e5f7086ee05d39c53d3928512d52b0ce181d7c144775a4da7eff7403cada0f91f23f56a699a1b023e00e6 DIST pyopengl-3.1.9.tar.gz 1913642 BLAKE2B 2c2b768773b0531b432fb9add49d3c32dd468a4d8dfe0ee992064089ba3a51ecb19a7ce21c6c964935ff51fe1e37c49092540eff88f0a23c6cc754d457bbcef0 SHA512 b0fae0031cf0c47899d3cef6a334ee885595b4bc7d3da5055cd12240e6612b2ade1dc75afe1b1f6fe8e4572b994b88c4ec557d893e6606353f4700111cb6f161 diff --git a/dev-python/pyopengl/pyopengl-3.1.10.ebuild b/dev-python/pyopengl/pyopengl-3.1.10.ebuild new file mode 100644 index 000000000000..d17afbf0404b --- /dev/null +++ b/dev-python/pyopengl/pyopengl-3.1.10.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=PyOpenGL +PYTHON_REQ_USE="tk?" +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Python OpenGL bindings" +HOMEPAGE=" + https://pyopengl.sourceforge.net/ + https://github.com/mcfletch/pyopengl/ + https://pypi.org/project/PyOpenGL/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="tk" + +RDEPEND=" + media-libs/freeglut + virtual/opengl + x11-libs/libXi + x11-libs/libXmu + tk? ( dev-tcltk/togl ) +" +DEPEND=" + ${RDEPEND} +" + +# The tests need an X server with the GLX extension. Software rendering +# under Xvfb works but only with llvmpipe, not softpipe or swr. +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygame[${PYTHON_USEDEP},opengl,X] + dev-python/python-xlib[${PYTHON_USEDEP}] + !prefix? ( + media-libs/mesa[llvm] + x11-base/xorg-server[-minimal,xorg] + ) + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile memory tests + tests/test_checks.py::test_test_glgetfloat_leak + tests/test_vbo_memusage.py::test_sf_2980896 + # missing EGL stuffs? + tests/test_checks.py::test_check_egl_es2 + tests/test_checks.py::test_egl_ext_enumerate + # TODO + tests/test_core.py::TestCore::test_glCallLists_twice2 +) + +src_test() { + virtx distutils-r1_src_test +} diff --git a/dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild b/dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild new file mode 100644 index 000000000000..604e61ec1a26 --- /dev/null +++ b/dev-python/pyotherside/pyotherside-1.6.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit qmake-utils python-single-r1 + +DESCRIPTION="Asynchronous Python 3 Bindings for Qt" +HOMEPAGE=" + https://github.com/thp/pyotherside/ + https://thp.io/2011/pyotherside/ +" +SRC_URI="https://github.com/thp/pyotherside/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + dev-qt/qtbase:6[opengl] + dev-qt/qtdeclarative:6[opengl] + dev-qt/qtquick3d:6[opengl] + dev-qt/qtsvg:6 +" +RDEPEND="${DEPEND}" + +pkg_setup() { + python_setup +} + +src_prepare() { + default + sed -i -e "s/qtquicktests//" pyotherside.pro || die +} + +src_configure() { + eqmake6 +} + +src_test() { + QT_QPA_PLATFORM="offscreen" tests/tests || die +} + +src_install() { + emake install INSTALL_ROOT="${D}" +} diff --git a/dev-python/pyotherside/pyotherside-1.6.2.ebuild b/dev-python/pyotherside/pyotherside-1.6.2.ebuild deleted file mode 100644 index 62f52f558ff3..000000000000 --- a/dev-python/pyotherside/pyotherside-1.6.2.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit multibuild qmake-utils python-single-r1 - -DESCRIPTION="Asynchronous Python 3 Bindings for Qt" -HOMEPAGE=" - https://github.com/thp/pyotherside/ - https://thp.io/2011/pyotherside/ -" -SRC_URI=" - https://github.com/thp/pyotherside/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" -IUSE="qt5 qt6" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - || ( qt5 qt6 ) -" - -DEPEND=" - ${PYTHON_DEPS} - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtsvg:5 - ) - qt6? ( - dev-qt/qtbase:6[opengl] - dev-qt/qtdeclarative:6[opengl] - dev-qt/qtquick3d:6[opengl] - dev-qt/qtsvg:6 - ) -" -RDEPEND=" - ${DEPEND} -" - -pkg_setup() { - MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) - python_setup -} - -src_prepare() { - default - sed -i -e "s/qtquicktests//" pyotherside.pro || die - multibuild_copy_sources -} - -src_configure() { - myconfigure() { - pushd "${BUILD_DIR}" > /dev/null || die - - case ${MULTIBUILD_VARIANT} in - qt5) - eqmake5 - ;; - qt6) - eqmake6 - ;; - *) - # This should never happen if REQUIRED_USE is enforced - die "Neither Qt5 nor Qt6 support enabled, aborting" - ;; - esac - - popd > /dev/null || die - } - - multibuild_foreach_variant myconfigure -} - -src_compile() { - mycompile() { - emake -C "${BUILD_DIR}" - } - - multibuild_foreach_variant mycompile -} - -src_test() { - mytest() { - QT_QPA_PLATFORM="offscreen" "${BUILD_DIR}"/tests/tests || die - } - - multibuild_foreach_variant mytest -} - -src_install() { - myinstall() { - emake -C "${BUILD_DIR}" install INSTALL_ROOT="${D}" - } - - multibuild_foreach_variant myinstall -} diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 87ce67e8eaba..50d84639256a 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-2.3.2.gh.tar.gz 164673 BLAKE2B 7982c3fdb4cdb159e7450476a9f845825ad1d3bd1327fa125f978f1848f3a15d4d6d5f8676c8c050e25d49dd4a83e806496c863dd7f4d3e9005764b33e4a9a5e SHA512 83e48cf55892affee04533e0e1bb17dfa79548cd3629d1a61dd8f84cad635eb220ebe4207d1ceebe939eea0953fa17ffe6e549a015a9d9d6f627c9041e5786d2 +DIST pypiserver-2.4.0.gh.tar.gz 156766 BLAKE2B 99254c4cbc4290a80a2e272c1932f91e33aa7ee68a28463faf2dbad27fca505c52697aeaea812ae7aff6b0ee5e109d7c535f0d6c4bbe3af804de29a5ccabff53 SHA512 543f8bf98bface6a6db996c130be5acb19aa31ab85d5d37d9766e132b38713aed1eb0a46c67f767185409bf8c4eaef6fdfdcb5137af2651b5b6191032b5c5268 diff --git a/dev-python/pypiserver/pypiserver-2.4.0.ebuild b/dev-python/pypiserver/pypiserver-2.4.0.ebuild new file mode 100644 index 000000000000..0820b68cad80 --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.4.0.ebuild @@ -0,0 +1,76 @@ +# 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="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/pip-7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/importlib-resources[${PYTHON_USEDEP}] + ' 3.11) +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-1.2.0[${PYTHON_USEDEP}] + >=dev-python/passlib-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unbundle bottle + sed -e 's:pypiserver[.]bottle_wrapper[.]::' \ + -i pypiserver/bottle_wrapper/__init__.py || die + rm pypiserver/bottle_wrapper/bottle.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.26.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.26.0.ebuild index ffddd8a80c5c..090866164ab2 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.26.0.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.26.0.ebuild @@ -31,6 +31,14 @@ BDEPEND=" EPYTEST_XDIST=1 distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # redundant, and breaking setuptools-scm >= 1.2.0 + # https://github.com/pypa/setuptools-scm/issues/1216 + rm setup.cfg || die +} + python_test() { local EPYTEST_DESELECT=( # rely on precise warning counts diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild index ad773e146839..5b3429ea01bb 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.0.0.ebuild @@ -30,6 +30,14 @@ EPYTEST_PLUGIN_LOAD_VIA_ENV=1 EPYTEST_XDIST=1 distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # redundant, and breaking setuptools-scm >= 1.2.0 + # https://github.com/pypa/setuptools-scm/issues/1216 + rm setup.cfg || die +} + python_test() { local EPYTEST_DESELECT=( # fail due to mismatched warning count diff --git a/dev-python/pytest-asyncio/pytest-asyncio-1.1.0.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-1.1.0.ebuild index eed31775d8bc..20c36a7b816a 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-1.1.0.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-1.1.0.ebuild @@ -36,3 +36,11 @@ EPYTEST_DESELECT=( tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen ) + +src_prepare() { + distutils-r1_src_prepare + + # redundant, and breaking setuptools-scm >= 1.2.0 + # https://github.com/pypa/setuptools-scm/issues/1216 + rm setup.cfg || die +} diff --git a/dev-python/pytest-lazy-fixtures/Manifest b/dev-python/pytest-lazy-fixtures/Manifest index b459825dbb17..030bfc55e788 100644 --- a/dev-python/pytest-lazy-fixtures/Manifest +++ b/dev-python/pytest-lazy-fixtures/Manifest @@ -1 +1,2 @@ DIST pytest_lazy_fixtures-1.3.2.tar.gz 34114 BLAKE2B 7c3f53fbd12a6af4de3a7d43364e8a6b0a061e059c784ddbec0a83c6cd95f31f7537e5b60a6b7435a25c0fac49a24574af7df8a22d948be4d4fcec9469f1e2e9 SHA512 a9f5972cd936b2861dfc346b6aa156222ae45f3a2e1f794d9c6e6516dca36fbc5c1b08c9b129d98be4701acaed468bca722d2d7767531ef5c26731829cb044ac +DIST pytest_lazy_fixtures-1.3.3.tar.gz 34294 BLAKE2B bab4edfca0a889893b4b098b9bce21202007965920b08330edd7fa34e9d31f6648f82a58be19aa61f33e006a8ed0fb0cbd7c845dffc0c0bc6c618549a24a2f99 SHA512 bc661cf44f204f29741eba70b3d83bab1ab9deaca55b1c93c9ef7a25989b8d85cf16315aa8b9e2a205eb1cbad1d4875d9c61be6a48297baa5e6d64fd5b947cff diff --git a/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild new file mode 100644 index 000000000000..9cbf33555ede --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild @@ -0,0 +1,32 @@ +# 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="Allows you to use fixtures in @pytest.mark.parametrize" +HOMEPAGE=" + https://github.com/dev-petrov/pytest-lazy-fixtures/ + https://pypi.org/project/pytest-lazy-fixtures/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # test for pytest-deadfixtures compatibility + tests/test_deadfixtures_support.py +) diff --git a/dev-python/pyyaml/pyyaml-6.0.2.ebuild b/dev-python/pyyaml/pyyaml-6.0.2.ebuild index 9e48ece15f9e..05837c058f97 100644 --- a/dev-python/pyyaml/pyyaml-6.0.2.ebuild +++ b/dev-python/pyyaml/pyyaml-6.0.2.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples" DEPEND=" diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 777c8b683d53..4f13ccf67b68 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1 +1,2 @@ DIST requests-2.32.4.tar.gz 135258 BLAKE2B 2ae4706d3a07b8484f9cddcb80a56121ecc2f16c345f6d518a259c45d20584d09e62eabb6e60ea76c2f558b5950c29e947c5ccb453774b1aeb953f5147c68f83 SHA512 8308da5ec2b1bd4442497dc8ecb21d4c1d3aba82987a264bc0f55b75d2522b303e5779f704d1b557a0f7d8a8f0a3533925cc34a58d98a95ce463a0dd59c5ac2d +DIST requests-2.32.5.tar.gz 134517 BLAKE2B 82bb875be132b815fd8eb51c896f41bdd3f16ef335f7a273d2b27d139f1a587d0cdcfae5975ce366426687b42796af1d65317d24e8e6cd069864bc259da9942f SHA512 2fbc05f5b638cefe59b9edaac86d53666d0416cebdbe8343caa818cae677a733c1f3a9ae62ef5c880b77cf706a2e3da57e0783d8936bda128f071367524189de diff --git a/dev-python/requests/requests-2.32.5.ebuild b/dev-python/requests/requests-2.32.5.ebuild new file mode 100644 index 000000000000..bac2235413dd --- /dev/null +++ b/dev-python/requests/requests-2.32.5.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP library for human beings" +HOMEPAGE=" + https://requests.readthedocs.io/ + https://github.com/psf/requests/ + https://pypi.org/project/requests/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="socks5 test-rust" + +RDEPEND=" + >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] + =dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] ) +" + +BDEPEND=" + test? ( + >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_PLUGINS=( pytest-{httpbin,mock} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet (doctests) + requests/__init__.py::requests + requests/api.py::requests.api.request + requests/models.py::requests.models.PreparedRequest + requests/sessions.py::requests.sessions.Session + # require IPv4 interface in 10.* range + tests/test_requests.py::TestTimeout::test_connect_timeout + tests/test_requests.py::TestTimeout::test_total_timeout_connect + ) + + if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_requests.py::TestRequests::test_https_warnings + ) + fi + + epytest +} diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index 5b85f573390e..4445a117cabb 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,2 +1,3 @@ DIST time-machine-2.16.0.gh.tar.gz 30522 BLAKE2B 71b1d2848bd0a72d193b262299976da4aeac3deb52776ebcc855dfc9e6eabc8d9459c123980d7b0b9e29bc2df66193f287a4817ec351ae43994b969731da7bc9 SHA512 19b764cccdff07056a7d42841da576d90037661a9f124e3fbab408bfa61dccf4b51b88a7e0741c87b03e7a8cc3306bb0ed32bd66588e45c9ab7e9d9cb5ba44ae DIST time-machine-2.17.0.gh.tar.gz 72389 BLAKE2B b1c926c691086bddfefec77b101a0f99404c4d48907ae07e380a4dea2dee42b04543efc357759c10758bd8b2ee1f8989af21fb024d9e4534f4d76d7394a4b582 SHA512 adf7236588daf3362abce6034c1ee3ed60c0533b4340010ad62d83d2480c9082a17653ae1efd2db6bd04b233e33a9fd7e6fc2e8d2fea6fca05c31543e9447c35 +DIST time-machine-2.18.0.gh.tar.gz 77005 BLAKE2B 9bab547de40fabc0f412ed97ab8829a991974ae0c8644a6520c4aa1270c9c822f58ecfab30fda12b03cf97f08ad813a779974742dff09624bbbec1d2ac74ff4e SHA512 ccc510a2b9678c651546e186f21a6e69042e67318dea25904126c3ff8d97ca1e5924b3409f6cde0d9792b2a27f5a3d371de91366e944af28fda7de518a0a6fea diff --git a/dev-python/time-machine/time-machine-2.18.0.ebuild b/dev-python/time-machine/time-machine-2.18.0.ebuild new file mode 100644 index 000000000000..432482a180fc --- /dev/null +++ b/dev-python/time-machine/time-machine-2.18.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-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_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Travel through time in your tests" +HOMEPAGE=" + https://github.com/adamchainz/time-machine/ + https://pypi.org/project/time-machine/ +" +SRC_URI=" + https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/tokenize-rt[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index 3509fb722e74..7c502462a247 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ DIST typing_extensions-4.14.1.tar.gz 107673 BLAKE2B 02f48033a36b66d541f49c3c84a65f6a47bf63a09d23bece262182cb3d9a527dd2eef17ec9c74b33b0cacbd52472eebfb4243a31575ef6c0c2846ae7499fca7c SHA512 9db9e56d321e707562b07d633c1c4bcfe2505947d9d40a3540273e1337619e8573ee014708686fba45d14fac7841ed2cddbe53288d8283a8fcede62a5afe5eee +DIST typing_extensions-4.15.0rc1.tar.gz 109126 BLAKE2B 46875d124d9065c2d80d9c4b4fb60df78bbde0cc8d3a45bb374562c56041e844a120c31cebcf2bf7d318344862f911cf74f97bf9c9d2390dfedbc204a1a59847 SHA512 fe8b3fb0cc0e74c56b0f8aeb34a29cea66bd191e78a830d86d3b946e5759a01bcdd07fdd73d53053b5f0c3ad32a8fc6c868fda3b36288206f31106477c5ce23e diff --git a/dev-python/typing-extensions/typing-extensions-4.15.0_rc1.ebuild b/dev-python/typing-extensions/typing-extensions-4.15.0_rc1.ebuild new file mode 100644 index 000000000000..a25f13f9c29f --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.15.0_rc1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" + +LICENSE="PSF-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + >=dev-python/flit-core-3.11[${PYTHON_USEDEP}] + test? ( + dev-python/test[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + cd src || die + eunittest +} diff --git a/dev-python/xmltodict/xmltodict-0.14.2.ebuild b/dev-python/xmltodict/xmltodict-0.14.2.ebuild index adc214340e16..01fddc8da4b4 100644 --- a/dev-python/xmltodict/xmltodict-0.14.2.ebuild +++ b/dev-python/xmltodict/xmltodict-0.14.2.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos" distutils_enable_tests pytest diff --git a/dev-python/zstandard/Manifest b/dev-python/zstandard/Manifest index 0f80da98f1cc..a39812850990 100644 --- a/dev-python/zstandard/Manifest +++ b/dev-python/zstandard/Manifest @@ -1 +1,2 @@ DIST python-zstandard-0.23.0.gh.tar.gz 732448 BLAKE2B 920b53dc4a221059411062229ddf0ff51c478c2212e5599dec21298fef8e30b7a160c2f7d958ef95251ce5fb1357eaf4a8c3e4eca37304ef7a43176f723f3394 SHA512 06d799f8c5e89e5cc2f5b8ff100aeb3c3ff938757ce39852affb075487f65406d7d3f6d611b1864ec025fff86a51bf15b80c8af6260beda050b4fef5b7edd206 +DIST python-zstandard-0.24.0.gh.tar.gz 751192 BLAKE2B 6bf54d96b3cbc06ff052fc3b1d373b745ac325dd61ee958c2dfa890533f0b164b23f5e9df0580525dab4c56920d48724a2614c05d8f06b1607fe31752063ea57 SHA512 9a06db18a3ac5d8583b5c28a27f93c9cb3310308a5cdf71df4324c442b1a2960d8df5ae47d38d765e6bb33e8f6d73ffad26f3c27d9649802a292f74d7933f00d diff --git a/dev-python/zstandard/zstandard-0.23.0-r2.ebuild b/dev-python/zstandard/zstandard-0.23.0-r2.ebuild deleted file mode 100644 index 33e30f69e1ef..000000000000 --- a/dev-python/zstandard/zstandard-0.23.0-r2.ebuild +++ /dev/null @@ -1,81 +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=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=python-zstandard-${PV} -DESCRIPTION="Zstandard Bindings for Python" -HOMEPAGE=" - https://github.com/indygreg/python-zstandard/ - https://pypi.org/project/zstandard/ -" -SRC_URI=" - https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -DEPEND=" - >=app-arch/zstd-1.5.7:= -" -RDEPEND=" - ${DEPEND} - $(python_gen_cond_dep ' - >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] - ' 'python*') -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - # https://github.com/indygreg/python-zstandard/pull/255 - "${FILESDIR}/${P}-zstd-1.5.7.patch" - ) - - # the C backend is repeatedly broken, so force CFFI instead - sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ - -i zstandard/__init__.py || die - # unbundle zstd - rm zstd/* || die - > zstd/zstd.c || die - # it does random preprocessing on that, so we can't use #include - local f - for f in zdict.h zstd.h; do - cp "${ESYSROOT}/usr/include/${f}" "zstd/${f}" || die - done - sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die - - distutils-r1_src_prepare - - DISTUTILS_ARGS=( - --no-c-backend - ) -} - -python_test() { - local EPYTEST_DESELECT=( - # unreliable, fails on x86 - tests/test_data_structures.py::TestCompressionParameters::test_estimated_compression_context_size - # check for bundled zstd version, fails on other system zstd - tests/test_module_attributes.py::TestModuleAttributes::test_version - ) - - rm -rf zstandard || die - epytest -} diff --git a/dev-python/zstandard/zstandard-0.24.0.ebuild b/dev-python/zstandard/zstandard-0.24.0.ebuild new file mode 100644 index 000000000000..8e842eaa062c --- /dev/null +++ b/dev-python/zstandard/zstandard-0.24.0.ebuild @@ -0,0 +1,72 @@ +# 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 + +MY_P=python-zstandard-${PV} +DESCRIPTION="Zstandard Bindings for Python" +HOMEPAGE=" + https://github.com/indygreg/python-zstandard/ + https://pypi.org/project/zstandard/ +" +SRC_URI=" + https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=" + >=app-arch/zstd-1.5.7:= +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] + ' 'python*') +" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +src_prepare() { + # the C backend is repeatedly broken, so force CFFI instead + sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ + -i zstandard/__init__.py || die + # unbundle zstd + rm zstd/* || die + > zstd/zstd.c || die + # it does random preprocessing on that, so we can't use #include + local f + for f in zdict.h zstd.h zstd_errors.h; do + cp "${ESYSROOT}/usr/include/${f}" "zstd/${f}" || die + done + sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die + + distutils-r1_src_prepare + + DISTUTILS_ARGS=( + --no-c-backend + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # unreliable, fails on x86 + tests/test_data_structures.py::TestCompressionParameters::test_estimated_compression_context_size + # check for bundled zstd version, fails on other system zstd + tests/test_module_attributes.py::TestModuleAttributes::test_version + ) + + rm -rf zstandard || die + epytest +} -- cgit v1.3