From 5ce2273fa2607278dbc7825cd7f518b2f2c8561a Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 1 Sep 2025 09:05:03 +0000 Subject: Adding metadata --- dev-python/cattrs/Manifest | 1 + dev-python/cattrs/cattrs-25.2.0.ebuild | 140 ++++++++++++++++++++ dev-python/clang/Manifest | 1 + dev-python/clang/clang-22.0.0_pre20250831.ebuild | 53 ++++++++ dev-python/django-allauth/Manifest | 2 +- .../django-allauth/django-allauth-65.10.0.ebuild | 48 ------- .../django-allauth/django-allauth-65.11.1.ebuild | 48 +++++++ dev-python/django-guardian/Manifest | 2 +- .../django-guardian/django-guardian-3.0.3.ebuild | 29 ----- .../django-guardian/django-guardian-3.1.0.ebuild | 29 +++++ dev-python/dulwich/Manifest | 19 --- dev-python/dulwich/dulwich-0.22.8.ebuild | 115 ---------------- dev-python/fakeredis/Manifest | 1 + dev-python/fakeredis/fakeredis-2.31.1.ebuild | 91 +++++++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.138.11.ebuild | 125 ++++++++++++++++++ dev-python/lit/Manifest | 1 + dev-python/lit/lit-22.0.0_pre20250831.ebuild | 45 +++++++ dev-python/parse-type/parse-type-0.6.6.ebuild | 2 +- .../files/sphinx-8.2.3-testfix-docutils-0.22.patch | 50 +++++++ dev-python/sphinx/sphinx-8.2.3-r1.ebuild | 145 +++++++++++++++++++++ dev-python/sphinx/sphinx-8.2.3.ebuild | 142 -------------------- dev-python/trakit/trakit-0.2.5.ebuild | 2 +- dev-python/ytmusicapi/Manifest | 1 + dev-python/ytmusicapi/ytmusicapi-1.11.1.ebuild | 24 ++++ 25 files changed, 760 insertions(+), 357 deletions(-) create mode 100644 dev-python/cattrs/cattrs-25.2.0.ebuild create mode 100644 dev-python/clang/clang-22.0.0_pre20250831.ebuild delete mode 100644 dev-python/django-allauth/django-allauth-65.10.0.ebuild create mode 100644 dev-python/django-allauth/django-allauth-65.11.1.ebuild delete mode 100644 dev-python/django-guardian/django-guardian-3.0.3.ebuild create mode 100644 dev-python/django-guardian/django-guardian-3.1.0.ebuild delete mode 100644 dev-python/dulwich/dulwich-0.22.8.ebuild create mode 100644 dev-python/fakeredis/fakeredis-2.31.1.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.138.11.ebuild create mode 100644 dev-python/lit/lit-22.0.0_pre20250831.ebuild create mode 100644 dev-python/sphinx/files/sphinx-8.2.3-testfix-docutils-0.22.patch create mode 100644 dev-python/sphinx/sphinx-8.2.3-r1.ebuild delete mode 100644 dev-python/sphinx/sphinx-8.2.3.ebuild create mode 100644 dev-python/ytmusicapi/ytmusicapi-1.11.1.ebuild (limited to 'dev-python') diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index 1ba9cf2339ae..645a7f54791c 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1 +1,2 @@ DIST cattrs-25.1.1.gh.tar.gz 437481 BLAKE2B 89a79ba56108a819bdfda26c92a23cdcd671bca4c201bf7a78f50972526e6ba2a15555b4583e5a23a0a0ee861a98342662402a21183fe45e857fc685ef475014 SHA512 877a635b0f3db8648dfece8ec4beb98dc4c337b21d5913262634a99e5672665c7815e991aff059d806c9f36c7bf3c97af473669ec0dcf0e67f4b898c181ff83f +DIST cattrs-25.2.0.gh.tar.gz 507566 BLAKE2B b9b6078976ff347542027908446b021581a30154622429c6e8694e2f6ae1e3b15ac7183ff06310f423af7ff4708756836b23d9037f3a14b7fc40361105724ce9 SHA512 dc06822649085049dee59c7b38d0c299d806b9a789cf837f537822ea1690d9233ced9ce5bd3e8863e145c2383f367c52dd00ab451dca8ccbb06751cf7eff2536 diff --git a/dev-python/cattrs/cattrs-25.2.0.ebuild b/dev-python/cattrs/cattrs-25.2.0.ebuild new file mode 100644 index 000000000000..c50319b055bd --- /dev/null +++ b/dev-python/cattrs/cattrs-25.2.0.ebuild @@ -0,0 +1,140 @@ +# Copyright 2022-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 + +DESCRIPTION="Composable complex class support for attrs and dataclasses" +HOMEPAGE=" + https://pypi.org/project/cattrs/ + https://github.com/python-attrs/cattrs/ +" +SRC_URI=" + https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/attrs-24.3.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] + >=dev-python/immutables-0.20[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.5[${PYTHON_USEDEP}] + >=dev-python/pymongo-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.8[${PYTHON_USEDEP}] + >=dev-python/ujson-5.10.0[${PYTHON_USEDEP}] + test-rust? ( + $(python_gen_cond_dep ' + >=dev-python/orjson-3.10.7[${PYTHON_USEDEP}] + ' 'python*') + ) + ) +" + +# xdist can randomly break tests, depending on job count +# https://bugs.gentoo.org/941429 +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=( + # requires msgspec + tests/preconf/test_msgspec_cpython.py + ) + local EPYTEST_DESELECT=( + # these require msgspec + tests/test_preconf.py::test_literal_dicts_msgspec + tests/test_preconf.py::test_msgspec_efficient_enum + tests/test_preconf.py::test_msgspec_json_converter + tests/test_preconf.py::test_msgspec_json_unions + tests/test_preconf.py::test_msgspec_json_unstruct_collection_overrides + tests/test_preconf.py::test_msgspec_native_enums + ) + + if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_preconf.py::test_orjson + tests/test_preconf.py::test_orjson_converter + tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides + ) + fi + + # https://github.com/python-attrs/cattrs/issues/626 + # https://github.com/python-attrs/cattrs/pull/653 + if [[ ${EPYTHON} == python3.14* ]] ; then + EPYTEST_DESELECT+=( + 'tests/strategies/test_include_subclasses.py::test_circular_reference[with-subclasses]' + 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-child1-only]' + 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-child2-only]' + 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-grandchild-only]' + 'tests/strategies/test_include_subclasses.py::test_overrides[wo-union-strategy-parent-only]' + 'tests/strategies/test_include_subclasses.py::test_parents_with_generics[False]' + 'tests/strategies/test_include_subclasses.py::test_parents_with_generics[True]' + tests/strategies/test_include_subclasses.py::test_structure_as_union + 'tests/strategies/test_include_subclasses.py::test_structuring_unstructuring_unknown_subclass' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-child1-only]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-child2-only]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-grandchild-only]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-compose-child]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-compose-grandchild]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-compose-parent]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-non-union-container]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-parent-only]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-compose-child]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-compose-grandchild]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-compose-parent]' + 'tests/strategies/test_include_subclasses.py::test_structuring_with_inheritance[with-subclasses-union-container]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-child1-only]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-child2-only]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-grandchild-only]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-compose-child]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-compose-grandchild]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-compose-parent]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-non-union-container]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-parent-only]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-compose-child]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-compose-grandchild]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-compose-parent]' + 'tests/strategies/test_include_subclasses.py::test_unstructuring_with_inheritance[with-subclasses-union-container]' + tests/test_gen_dict.py::test_type_names_with_quotes + tests/test_generics.py::test_deep_copy + 'tests/test_generics.py::test_structure_nested_generics_with_cols[False-int-result0]' + 'tests/test_generics.py::test_structure_nested_generics_with_cols[False]' + 'tests/test_generics.py::test_structure_nested_generics_with_cols[True-int-result0]' + 'tests/test_generics.py::test_structure_nested_generics_with_cols[True]' + 'tests/test_self.py::test_nested_roundtrip[False]' + 'tests/test_self.py::test_nested_roundtrip[True]' + 'tests/test_self.py::test_self_roundtrip[False]' + 'tests/test_self.py::test_self_roundtrip[True]' + 'tests/test_self.py::test_self_roundtrip_dataclass[False]' + 'tests/test_self.py::test_self_roundtrip_dataclass[True]' + 'tests/test_self.py::test_self_roundtrip_namedtuple[False]' + 'tests/test_self.py::test_self_roundtrip_namedtuple[True]' + 'tests/test_self.py::test_self_roundtrip_typeddict[False]' + 'tests/test_self.py::test_self_roundtrip_typeddict[True]' + 'tests/test_self.py::test_subclass_roundtrip[False]' + 'tests/test_self.py::test_subclass_roundtrip[True]' + 'tests/test_self.py::test_subclass_roundtrip_dataclass[False]' + 'tests/test_self.py::test_subclass_roundtrip_dataclass[True]' + tests/test_structure.py::test_structuring_unsupported + ) + fi + + epytest -o addopts= tests +} diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 38b747e0bd0a..a4bbd921e419 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -8,6 +8,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1d8fdda7b0a9f47c443600bca6af2bc141e4abf7.tar.gz 246773192 BLAKE2B a61c1607586dd6f130c62a78a1f36d0e49d66d47d1244c3fe26df774131b3717cdbb2ab726428bd89d420190125dea5968d11b8094131c3214ab00e00a3ccd3b SHA512 3a1d83b6f016fa677da1eb18836b819e042d67a7a922cba83016147520eb2f44493c0cbc12015c4222804a641f410915efd0bb833a08c24efced7fc26801933b DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 DIST llvm-project-21.1.0.src.tar.xz 158971856 BLAKE2B ac8c3cc8d2c986abcaa523acc872b01311ec118a738654f9cc53a1d5fdba70ba10cfe829e23f3913557e460403ed6a2df81cb5e9a435c8e1ce08e7ead3511bf0 SHA512 1487dcdc041dd6cdcffa6cc95a565e18a9fce2a73215671e366a9601cecce6c8bf70065df5564de5998d1841c3d8d829a9fbd2cad72e3aab4db279e8885ff446 diff --git a/dev-python/clang/clang-22.0.0_pre20250831.ebuild b/dev-python/clang/clang-22.0.0_pre20250831.ebuild new file mode 100644 index 000000000000..4dd3bb26996f --- /dev/null +++ b/dev-python/clang/clang-22.0.0_pre20250831.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/django-allauth/Manifest b/dev-python/django-allauth/Manifest index 59a313cf6131..309d821b05c7 100644 --- a/dev-python/django-allauth/Manifest +++ b/dev-python/django-allauth/Manifest @@ -1,2 +1,2 @@ -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 +DIST django_allauth-65.11.1.tar.gz 1915592 BLAKE2B aed58e1f0d875423250801132d740c7490c8d453bef79cf2f99ac88c16a6de48211bbef9d3954115ebff8cd99217e2ad1c974cd334e04925f68366d295281aef SHA512 15c7ae147a74cc80c73e953c02c164a564c371dface08a026a88d103de7c3e717206b56c46c4e9ada1f8d5d394be17cdbabce37af66bfd683ef500d0701b3ff0 diff --git a/dev-python/django-allauth/django-allauth-65.10.0.ebuild b/dev-python/django-allauth/django-allauth-65.10.0.ebuild deleted file mode 100644 index 60cdffb85312..000000000000 --- a/dev-python/django-allauth/django-allauth-65.10.0.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# 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}] -