diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-16 06:52:07 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-16 06:52:07 +0000 |
| commit | 11072d534e9e673818a17cb077e5426e74318892 (patch) | |
| tree | ea5c77e3110d7d1cfa66d23423ec2fce61fee731 /dev-python | |
| parent | 2532dbd2174aef22371924f04efa58c41242e7fa (diff) | |
| download | baldeagleos-repo-11072d534e9e673818a17cb077e5426e74318892.tar.gz baldeagleos-repo-11072d534e9e673818a17cb077e5426e74318892.tar.xz baldeagleos-repo-11072d534e9e673818a17cb077e5426e74318892.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
72 files changed, 1431 insertions, 528 deletions
diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 37f74ab047c5..a99f02e45465 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,2 +1,3 @@ DIST ansible-compat-24.9.1.gh.tar.gz 76018 BLAKE2B 581199ab65ccc884a3eeef246a8dbe527cac91fc3b588edaf1ad45e7aa83a2e77d44eab8e9dc5d7f2598b02a22fb724ccf235d25592ff8c9de0b7718b9ad5507 SHA512 d5da3cbd29bfb49b9ac68f004eb957edbfdfa303ce204e230117e9964df36c6bcbf3b47ef343d6a77b4f24c390266aebd649a8036cf9e7f29dc350d207ab7409 DIST ansible_compat-24.10.0.tar.gz 81818 BLAKE2B 78afad41dbe2172cb485186d78a488343391b5feb39f233f8584dc65ece8f290b43c8a6b0112db4606329bc5f38a9e44c6e39fd48efcb5562292152d44276539 SHA512 636ccb66be3570bf7ab0a51f991fefe3b4754db3fddb4d45ebd116de2721082e8ad4049e0cdd975431f01daaa4cb9d24ca57a97913fa66ce1f1f47780734ab14 +DIST ansible_compat-25.0.0.tar.gz 86030 BLAKE2B 42e0b6ed23e5e9b91b9d07b15c60f60ce39d5756c4948eb20a8bb19c4178145275677ba68d75682b2e37842ba275d61346989947d764612a0459c2a986b316ba SHA512 f4aeb4be2af86cad50a1d340449b3b85992d5cd6b99761847e3c638f9fd18639c9783052bccff5f1fec45ee1392463d0a5700f58de826c4cfd27741578672ef8 diff --git a/dev-python/ansible-compat/ansible-compat-25.0.0.ebuild b/dev-python/ansible-compat/ansible-compat-25.0.0.ebuild new file mode 100644 index 000000000000..1c44e8e27b97 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-25.0.0.ebuild @@ -0,0 +1,57 @@ +# 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="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.18.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-plus[${PYTHON_USEDEP}] + ) +" + +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + test/test_runtime.py::test_install_collection + test/test_runtime.py::test_install_collection_dest + 'test/test_runtime.py::test_load_plugins[modules]' + test/test_runtime.py::test_prepare_environment_with_collections + test/test_runtime.py::test_prerun_reqs_v1 + test/test_runtime.py::test_prerun_reqs_v2 + test/test_runtime.py::test_require_collection_no_cache_dir + test/test_runtime.py::test_require_collection_wrong_version + test/test_runtime.py::test_require_collection + test/test_runtime.py::test_upgrade_collection + test/test_runtime_example.py::test_runtime + # pip, failing due to internets + test/test_runtime_scan_path.py::test_scan_sys_path + # internets? + test/test_runtime.py::test_runtime_has_playbook + # TODO + test/test_prerun.py::test_get_cache_dir_relative +) + +distutils_enable_tests pytest diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 0aef665d4b91..4b1ad2944db2 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1 +1,2 @@ DIST autopep8-2.3.1.tar.gz 92064 BLAKE2B 735abcd2e9a5cfc2783dbe3f25a46e841ab71575e3e22f75750a4c1a49a8ca1676723af76785b37f0f95aa8ebe798214be5e89964673dd3dcc767db1c850f87e SHA512 27751ea37d3067efb693acf4872b9e15f1815f1d4116d73b504d491382e4e54337afaef4a1f171979d4cc737b0014e8ebfbc0d34fe02255c39c6b5b09c263067 +DIST autopep8-2.3.2.tar.gz 92210 BLAKE2B f2bed11c2667667c260564637ecb9122cc70692b4c8c8ce00bda75994f9fdd05452cf23d3f321ccde8c827caebb60c938f160ddd40348c875f2f818614e156d4 SHA512 1fc897feec093e7e945b10bbd3cbbef5a83c4ec7d86215fb9643434d80a14ff54bf613dbb9dd0acacc9706ac35e8f0486ef643ae49da040471965d41fdd03cc4 diff --git a/dev-python/autopep8/autopep8-2.3.2.ebuild b/dev-python/autopep8/autopep8-2.3.2.ebuild new file mode 100644 index 000000000000..6248e74af4d1 --- /dev/null +++ b/dev-python/autopep8/autopep8-2.3.2.ebuild @@ -0,0 +1,29 @@ +# 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 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE=" + https://github.com/hhatto/autopep8/ + https://pypi.org/project/autopep8/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pycodestyle-2.12.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" + +distutils_enable_tests pytest diff --git a/dev-python/blurb/Manifest b/dev-python/blurb/Manifest index 6bee69ca3bf4..f7af6049713f 100644 --- a/dev-python/blurb/Manifest +++ b/dev-python/blurb/Manifest @@ -1,4 +1,2 @@ -DIST blurb-1.1.0.tar.gz 25064 BLAKE2B 4fbdd0d068cc7abb1ffa78dff70bd83feccc1bcfbf8ebb085c9f7e77e0f330d3759f10a94a5ca024b465c01f9d659496ae55162a52b7158a06caf2d114d36806 SHA512 9397173e7bf5babf02c96df27983462e7dd2a729e9eb0cacdf23ca3778336902d5c611ab5e2432bbc877344426d7c62ea8ae77719aa08da98f9b44365583b7ee -DIST blurb-1.2.0.tar.gz 23573 BLAKE2B a7a15fed82fca3f13eb840379b186210d6b8a039f61d48c65dce33ab80e970791add63efe9986adb54e7bedd452a3a867791237e250c1949b5b90f06bfac28ae SHA512 ebfe4c84d1f813822d7a583b337460a840235b61257428a47b7b61eb43b4b38fffc84f0fe758c6f61e9ae4b8c9c1affd9038077ddf846f17032e4497f87b78ad -DIST blurb-1.2.1.tar.gz 23333 BLAKE2B 57374a3c787845a867c77480f1826cc82eae8cbdb659eeff9871cb3cf69f8e040d616cf40f051b63160b209b443dc26113b0d319f810cfe78842a759a139881b SHA512 f2bec26dacaa5f3c2016a4712a693ff483c0765b93f61900e7fa69765908b1c16318791e51778b71ffc222d339b5454603e7baec4a1bdfdd4c0e7b41a095f49c DIST blurb-1.3.0.tar.gz 23864 BLAKE2B 15d82e7f2917391b8d514d03c060d5ea6a088658a6aa838fd3056767e42428764330e910406132c250f6f76174e57d031ab339d4dbd23c4a423d12712717132b SHA512 ae4d519353eae1725df45647d8345f3e04f1da176a20d3df281f0528e9ec0e3d7cf30edf94b811082fbe100141698aaba2886054e940191a56fbcaeb6fba4256 +DIST blurb-2.0.0.tar.gz 24666 BLAKE2B 74ff80ab4503278423c5ac600d71e5fea57e837f39aedf6f12b24841aa96ffadd030ae61898964527218fc32468efa8885374165221c7131882f63127ce9b981 SHA512 ef943797fb6c5a3716aa86af0741c267b6ed1760c305e779410cd7ce0e2c99b0ce2437b8c6f5b8b39c01850cc79819f5977eefdb3906269af321a78b60d95f49 diff --git a/dev-python/blurb/blurb-1.1.0.ebuild b/dev-python/blurb/blurb-1.1.0.ebuild deleted file mode 100644 index 8a17151c2748..000000000000 --- a/dev-python/blurb/blurb-1.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2018-2024 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Tool to create and manage NEWS blurbs for CPython" -HOMEPAGE=" - https://github.com/python/core-workflow/tree/master/blurb - https://pypi.org/project/blurb/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -src_test() { - # Tests expect to be run from github repo, in which code is inside dir - ln -s . blurb || die - distutils-r1_src_test -} - -python_test() { - "${EPYTHON}" -m blurb test || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/blurb/blurb-1.2.1.ebuild b/dev-python/blurb/blurb-1.2.1.ebuild deleted file mode 100644 index de89d35a0c4c..000000000000 --- a/dev-python/blurb/blurb-1.2.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2018-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Tool to create and manage NEWS blurbs for CPython" -HOMEPAGE=" - https://github.com/python/core-workflow/tree/master/blurb - https://pypi.org/project/blurb/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -BDEPEND=" - test? ( - dev-python/pyfakefs[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/blurb/blurb-1.2.0.ebuild b/dev-python/blurb/blurb-2.0.0.ebuild index de89d35a0c4c..8c09be65c6b2 100644 --- a/dev-python/blurb/blurb-1.2.0.ebuild +++ b/dev-python/blurb/blurb-2.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2024 Gentoo Authors +# Copyright 2018-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,6 +21,7 @@ KEYWORDS="~amd64 ~arm64 ~x86" BDEPEND=" test? ( dev-python/pyfakefs[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] ) " diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5204ec0cfe25..3f0266e43213 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,5 @@ DIST boto3-1.35.90.gh.tar.gz 918672 BLAKE2B a875ee6f59cac2a5f085719fed71090f8d71 DIST boto3-1.35.92.gh.tar.gz 919812 BLAKE2B fd52fbcb99538e46fd05e117353a93f8496150c6c518d445c2c78d8c91390fe6a15cdad419f25b1ced5b1433f1e63ff8204a25ee452e995f715dd915ea676d17 SHA512 7e9bc15b43e3e4babce3465e96b58f177eea316751f0c9982bc33e17ae3673cef026871bfb4bfdd254debfd3c7a342e3afa6aa65d9c97aefea13a9922b010fd0 DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B e333a53118122ddd70e77e3f158171507e6430d9f85d58fc8d9300801c68703834965016004826628bb20f9908034939d3f11598156e2bc93ea3412fccdfb33e SHA512 a22193cf6992cc6d30049d47d53048ba416ff21cb4b45bed9a8524ae2446800cb6843838f347484d0b4d5ff898dbdf5b15b598e7d079c1ee0273da25f71bea0e DIST boto3-1.35.98.gh.tar.gz 921601 BLAKE2B ec4b4e24a60174ce2799977f26fb1ce732ede9b6acdf8b1ef6fa0766e5fb49dbfcdacab6abc3f4e4df00d692b727dcfc2f944f3c9e7e0700d7588814d1791c68 SHA512 71eaf4dcd1ddaacc0080630022af1122395e93eb6eff5461b5d8f2d76a58da33d1da060818b42367a227ca5d4167b98097ff76e821107cb0f83f74a152a277a5 +DIST boto3-1.35.99.gh.tar.gz 921797 BLAKE2B f42ac47ce3e1c647555320f0434cfa3539053029efe0fbb06f12f7a165a7afc194acc0d9131fc3654dbcf4cc734c7fac634427fd19adadbcacc99d9693b88741 SHA512 0f04e7c45c022593da150e610cd8af5020b63fb1abeb0e0135936d949928147f6776676611509bf905f1ee6656292e0c4e0a36b87438f62e04769072186afed8 +DIST boto3-1.36.0.gh.tar.gz 923064 BLAKE2B 3e3afd985492be0e0a1bd2e66b1a645ab0f25f0809533a240ba109b97b55aa0683a8df7197367e9623f67b9308b9fec2bf1e8627339793981f5b8456db547ee4 SHA512 7701866feadd5115b255f8b9d783297774dfaeb2ceac503d10d682457144fcbd2f885ec0b5671b0ae317de6bf87669be3895a15c02b7442a99194b84a131dc62 diff --git a/dev-python/boto3/boto3-1.35.99.ebuild b/dev-python/boto3/boto3-1.35.99.ebuild new file mode 100644 index 000000000000..6e2d6153bcc2 --- /dev/null +++ b/dev-python/boto3/boto3-1.35.99.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.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/boto3/boto3-1.36.0.ebuild b/dev-python/boto3/boto3-1.36.0.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.0.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 910c41aeb99d..1a006aea309e 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,5 @@ DIST botocore-1.35.90.gh.tar.gz 14180996 BLAKE2B d3b39e375d33af6515649c9be4b783e DIST botocore-1.35.92.gh.tar.gz 14183742 BLAKE2B daace36b81ddb44f13e785979c37d1f22a997c88e32554595a0db910a93148fccbf74def98b64210ee8159bf41fec99f57750741f13e2b468268035413d9bce0 SHA512 fb916bbe9c572c02fec36748ec3c5c3d6f9b9e8c7afd09bd48221675a6738ca9cafd2a05862236275e3b156cb392953b9a23d958afa9ad88b2a2d89fa23c02b9 DIST botocore-1.35.97.gh.tar.gz 14178448 BLAKE2B dd5f48480abe1495925215a77ca29a4b5a79e79256ac1267c7c86cc1f5db4b14bf32fd5ea6e634f84f77fd28670adb33938f770c11c09ed979654af4f237c1a3 SHA512 28f7d7fc0d7535dca7e22acef0906188fe18da3a96877a88fffc2ae3fcf02433aa18220c32936c4713a8cfe47b15ec63387e836a6cb61574810943fd789a903e DIST botocore-1.35.98.gh.tar.gz 14182207 BLAKE2B 427a5d1fa48cea7f2862fcfc8e994c537558e793f74db28936e19a2264960f58780af538ccdd74ad9e8aa5ec26ad95208a383b27503ce5c0ec85feb75f604e8e SHA512 d273490e9f47ae316e8322a014dc36287d7a7dc9c2e7f7239bb00ca0b2b765e2f9a65d4a86a401143e86540d6e928e17c1a1ad4070839c25629b206204127bbe +DIST botocore-1.35.99.gh.tar.gz 14183345 BLAKE2B bc75753f1a18aa402ec4885daea1edc8c019a4d7558dd35a7848e01fef531cf20fd81de2a88cb4aff59972f11d8ef70e7df70c3ea68587f1855d06e9e236c5e0 SHA512 d0304fa26305fd8d451333892904bc0e5d87308222ba50cfe0b867f3bf0b0d4e2daf8c7f93d921374132384b9a3b89d4110f048c1a509070228fc5ef6c278989 +DIST botocore-1.36.0.gh.tar.gz 14191030 BLAKE2B 32e34c717fe5d2161c92380010b8f9936509bae4775626133b0f6c56ffe3096673902adc464ea392befbb97998277e907159659e2ede5ff31062d3c54ee8c2ff SHA512 95923e75a549c791588c58e5e5fef25ee5920b1f949fb93d8478926583de40216160147c2421fa90a1a23cb4f58dc4c2e194aabfb5fcabd30a31c944bc95567c diff --git a/dev-python/botocore/botocore-1.35.99.ebuild b/dev-python/botocore/botocore-1.35.99.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.35.99.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/botocore/botocore-1.36.0.ebuild b/dev-python/botocore/botocore-1.36.0.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.36.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 +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/btrfsutil/Manifest b/dev-python/btrfsutil/Manifest index a2be730e685c..06b1e86b2059 100644 --- a/dev-python/btrfsutil/Manifest +++ b/dev-python/btrfsutil/Manifest @@ -1,8 +1,2 @@ -DIST btrfs-progs-v6.10.1.tar.sign 566 BLAKE2B dc18c0048716e422475c6630c26c74e09b3595fb8c5c1a1826464eb837d16edfe7d5fa1f418631ae4d380b24bc3fb91fa79ba1e9b1d42a2534838558362ddc18 SHA512 a8a1805ab22feda9f0535841d44120200e48d6d3762ae98f3323be09c9bd7905ff69f21066a8de1fe5cb34a3113879b73ae030a74ccc74737f06dafb32093375 -DIST btrfs-progs-v6.10.1.tar.xz 2670604 BLAKE2B 7a2631b8462bb02be0936861a42b868907bd4f4e365293f9c95744b963e769b81248ba0a290fca517d689ff9f93d8709cc37e217264b2dac1469a47349f97e8c SHA512 cd10747d1f5f9377abfdf209b517791d3eb13b417c0be65fd5c0c044b01063125b4176c178345387bb3deda7a3a379953f31d46d7834854455a5dbfbf967aa97 -DIST btrfs-progs-v6.11.tar.sign 566 BLAKE2B 15db44b5db3265eff9d5195ad4842cef5d001c46e1170f219784fca8d049756dccbc1bd95f20fc343fbdf1078c610a166921c043828cdc5f64c0f465323ca0e4 SHA512 a2fdd9100ad3ddd30cb923a72a2b4f70634277e5fbbf0d2cf912c00dc876dad6cd2c24e624f41dbb83aabdda4e3c08aea9c0ae39084bb3481700491df3d47fd5 -DIST btrfs-progs-v6.11.tar.xz 2695752 BLAKE2B 6dec219394e39a821f29858eddf1d501537d3cebad2dc83f0cea6d88d0b0e94c4fe2e660a48a27942ccfb6f3ac0630d5930f44e083168de65b60af36e895b2af SHA512 fad3c7e908e2020a3983f9737a7e87367023e2ad35aea14197e2bfa71c1e0435bc3da3f7e6ef463de47c033323163f8b1b7933013042c6fcea673d0f4723ade1 DIST btrfs-progs-v6.12.tar.sign 566 BLAKE2B 3a32b52522acd9e2fcf34cbf90d91ca2491ae1b34142320b987084a60c9f6c13100fcfb554f877c0f659b60415234550c05d980c633015cd8d083df18521187a SHA512 86396dad38f15c19eb4b641632deb99073829896001b71fbdfaa3ebd11468e8b89ed324e563ec9db837c9095501227824f97085347dca4204cbaecceed9da7d3 DIST btrfs-progs-v6.12.tar.xz 2705336 BLAKE2B d1569ec7b2079a43ac370c3a7e9f1b37a06545675753490f16d6a7bb52281f76df39f924c96569a1c75daa8a998f251c5219e2f09a54cb94c42cba1db3cf43ca SHA512 57da37f460a33b5f5232a5c8e67eb5976fb13483a1437112bd433b179bc0e497a1aadfe24705eb4fb4e0a98d2a33fd3c46808b3ca161421475442a70b964c446 -DIST btrfs-progs-v6.9.2.tar.sign 566 BLAKE2B 4cd95496d355444c7d3e582a7e6c05fbb55683008b1585a26f38aef6cceb1afd5e80c9611518d6bd92dc1167798d4012c4bcab2f9bda752c459d94cfa6f3c477 SHA512 3fb04e1894e231abde388a39d2f0c90f43c1a1494622c2158fab9b94bb340e064404bcf96e24d913c60aaf5e06ade42fbb91a479949109b329682bb089f66bf2 -DIST btrfs-progs-v6.9.2.tar.xz 2661684 BLAKE2B 38ab189ac8271ba8d68b74e82569159c671cca1cb946f56ccab28b6b206cb6ee5b330d83afc3536b7e0d7399da3fb01e368809c1ef4a64b843ea88796ebd28bd SHA512 1df9d5456d07a035c38c17795996a4fc621eeaa244ef54383d4387205826d2a6e971910e55031d20bb1baf23193efa7439e110312ffd8471f07aaf8c0baca20a diff --git a/dev-python/btrfsutil/btrfsutil-6.10.1.ebuild b/dev-python/btrfsutil/btrfsutil-6.10.1.ebuild deleted file mode 100644 index 09e67b23a429..000000000000 --- a/dev-python/btrfsutil/btrfsutil-6.10.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2024 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} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc - -inherit distutils-r1 verify-sig - -DESCRIPTION="Library for managing Btrfs filesystems" -HOMEPAGE="https://github.com/kdave/btrfs-progs" - -MY_PN="btrfs-progs" -MY_PV="v${PV/_/-}" -MY_P="${MY_PN}-${MY_PV}" -SRC_URI=" - https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.xz - verify-sig? ( https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.sign ) -" -S="${WORKDIR}/${MY_P}/libbtrfsutil/python" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND="~sys-fs/btrfs-progs-${PV}" -RDEPEND="${DEPEND}" - -distutils_enable_tests unittest - -RDEPEND+=" !sys-fs/btrfs-progs[python(-)]" - -src_unpack() { - # Upstream sign the decompressed .tar - if use verify-sig; then - einfo "Unpacking ${MY_P}.tar.xz ..." - verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ - < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) - assert "Unpack failed" - else - default - fi -} diff --git a/dev-python/btrfsutil/btrfsutil-6.11.ebuild b/dev-python/btrfsutil/btrfsutil-6.11.ebuild deleted file mode 100644 index 09e67b23a429..000000000000 --- a/dev-python/btrfsutil/btrfsutil-6.11.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2024 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} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc - -inherit distutils-r1 verify-sig - -DESCRIPTION="Library for managing Btrfs filesystems" -HOMEPAGE="https://github.com/kdave/btrfs-progs" - -MY_PN="btrfs-progs" -MY_PV="v${PV/_/-}" -MY_P="${MY_PN}-${MY_PV}" -SRC_URI=" - https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.xz - verify-sig? ( https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.sign ) -" -S="${WORKDIR}/${MY_P}/libbtrfsutil/python" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND="~sys-fs/btrfs-progs-${PV}" -RDEPEND="${DEPEND}" - -distutils_enable_tests unittest - -RDEPEND+=" !sys-fs/btrfs-progs[python(-)]" - -src_unpack() { - # Upstream sign the decompressed .tar - if use verify-sig; then - einfo "Unpacking ${MY_P}.tar.xz ..." - verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ - < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) - assert "Unpack failed" - else - default - fi -} diff --git a/dev-python/btrfsutil/btrfsutil-6.9.2.ebuild b/dev-python/btrfsutil/btrfsutil-6.9.2.ebuild deleted file mode 100644 index 0edd5fb58808..000000000000 --- a/dev-python/btrfsutil/btrfsutil-6.9.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -# py3.13: https://github.com/kdave/btrfs-progs/issues/838 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc - -inherit distutils-r1 verify-sig - -DESCRIPTION="Library for managing Btrfs filesystems" -HOMEPAGE="https://github.com/kdave/btrfs-progs" - -MY_PN="btrfs-progs" -MY_PV="v${PV/_/-}" -MY_P="${MY_PN}-${MY_PV}" -SRC_URI=" - https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.xz - verify-sig? ( https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.sign ) -" -S="${WORKDIR}/${MY_P}/libbtrfsutil/python" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -DEPEND="~sys-fs/btrfs-progs-${PV}" -RDEPEND="${DEPEND}" - -distutils_enable_tests unittest - -RDEPEND+=" !sys-fs/btrfs-progs[python(-)]" - -src_unpack() { - # Upstream sign the decompressed .tar - if use verify-sig; then - einfo "Unpacking ${MY_P}.tar.xz ..." - verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ - < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) - assert "Unpack failed" - else - default - fi -} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 889b545eed10..7f17b877907f 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -2,3 +2,4 @@ DIST cfn_lint-1.21.0.tar.gz 2747268 BLAKE2B 580fffc95d5829374f1dda111e2cc805639a DIST cfn_lint-1.22.2.tar.gz 2848845 BLAKE2B 4f9194e019c1dae1d373b8432693be9463a668e5db522c7a23adcfaf04c591e49d0d1dc4853323f32fdb0d2c8db1c9e7a0bf6cddf652541bb057cfc3525ed53e SHA512 8e80892692e4458591f9863ad43af8bd8c5fbe2e554c75dda3029ac73a5a04987238221d50a3d2597dc0195dd049f36f9fcdc2b917c68b9a4d6807b4e8bf411c DIST cfn_lint-1.22.3.tar.gz 2700564 BLAKE2B d1bfed3fda2d5133919396a54257ad484c3c7fd50b1a387e94eff404f9b8175135f0f39455bc45b69c8112e2f2c57eb055d7b2c879415bdc4abfdad74b7bb34f SHA512 45502d913488784ff8e355a24317cce42fc7df39b3afd80b8fc170c9c5b7e6191f3ff41a460e8bb0277d1c21483aef8addb41d60fe2e8e5d13058aa85fefcc84 DIST cfn_lint-1.22.4.tar.gz 2707627 BLAKE2B 348dbbc46e1e7be9041ccd64e3f9a6409e7276533c275e2329b94c5dc63ba13a49955c1912447326cd79eba2ea1c4eb8941a4552de25d493b2594ef8d4910333 SHA512 01c2a581fd02ecc553dd1e95741eda174a7290aeabbe91a8f0da96bd77276aa134c627b78f60a7c18085252d16fa8a1fc0067faad78e59c623924a3bcaa0166a +DIST cfn_lint-1.22.5.tar.gz 2722622 BLAKE2B 147f1ec4543a2e54c6b6652b439ca4dd870aad44532a71bc75564bcb71e1aed0258b0387e3be57ef2c8059343cefaf2fef1af02b9442c37347987c018c9411ef SHA512 772430a958e53b90c529311a6f90602de7c2ced9d86840907a9c1e612f18db456c6678d2de43b3bee2e3498cc71b238e2ab8564238aef4467cc285c52ad3a6dd diff --git a/dev-python/cfn-lint/cfn-lint-1.22.5.ebuild b/dev-python/cfn-lint/cfn-lint-1.22.5.ebuild new file mode 100644 index 000000000000..3ae37d5581a5 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.22.5.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/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index ce9eb012e497..4bbb383ac2c3 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1 +1,2 @@ DIST cloudpickle-3.1.0.gh.tar.gz 62638 BLAKE2B f99e2c96aa60a98ed401c59d8bfb6fc18735cda685ce669747e50a28d19cf27bea6e863af42b8e93c28ee7ddd0a075359864b683fca356c74c425a13f9573833 SHA512 1ab356d394af43496ab426c58a33e087dc2c71da77a7e744f860115a40217bac9f16d10b9510543415f8b8c1799729c6a6bf0f4c6b4b5eb82fce7a25fabbfa1d +DIST cloudpickle-3.1.1.gh.tar.gz 63697 BLAKE2B 81a971fd2e96cab4bdd56adf3c6f9eb4349a978a2b5d7dddeb3a1c0ecf0b2c4f02f4fb64890759316d4ba978758aee042ede883f1803d5133d6012da8eef5a48 SHA512 a967f7236dde114d76b3b77e981bc274101e3bd5a11b05b57a23428bf6b9cd8f6b04113295170e40b9d30f1f09d646bc906879c0146aa81b7adf0368608f45b4 diff --git a/dev-python/cloudpickle/cloudpickle-3.1.1.ebuild b/dev-python/cloudpickle/cloudpickle-3.1.1.ebuild new file mode 100644 index 000000000000..2b455d8b6e69 --- /dev/null +++ b/dev-python/cloudpickle/cloudpickle-3.1.1.ebuild @@ -0,0 +1,39 @@ +# 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 + +DESCRIPTION="Extended pickling support for Python objects" +HOMEPAGE=" + https://github.com/cloudpipe/cloudpickle/ + https://pypi.org/project/cloudpickle/ +" +SRC_URI=" + https://github.com/cloudpipe/cloudpickle/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg + # -s unbreaks some tests + # https://github.com/cloudpipe/cloudpickle/issues/252 + epytest -s +} diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index ccdc090c9cd2..2694656a02b2 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,8 +1,8 @@ -DIST Django-4.2.17.checksum.txt 2420 BLAKE2B ad0f88aba31f6e78d7ce3624614e2515b48f4f22546ca637197a1b7561f831bd5742bd6823d311f34f801a271efdc92dc37cb73a99fea9a1b1bf43db2901134e SHA512 c5ddbadff0b56e87037d72416f80d55e6525b173c79d06dc92d4e7c2a5fb5e631ea396be11dca94d16865dc8e17cc4f4bde6c0612fa36ca12b8c872557bbdb15 -DIST Django-4.2.17.tar.gz 10437674 BLAKE2B c67e5cd8d52c418358bf4bc1bc9c01fcdfa3a923e956515e7bd833e2e83417d44075c07ce3d4f46e3c7c0c563d2636f1d716da17fb4cee656c4880121596e7fe SHA512 0811b9416800f3f03fe7eab38f836e130dad67d61117573220b74622e2d47ed71928a200878fe88c444fc5ad33db9e48d0549dfcfeb5482e466278818591ff9c -DIST Django-5.0.10.checksum.txt 2420 BLAKE2B 714bee82a128c2e6dc64a7d387a9021c3ff38abf128cd896718401f8c79dad72554446a178e8f6a8b742ef8825c93b81976316edac9fd39e2e60ad5dbb539e30 SHA512 d5df887ca330b0aa5b1a7a42c565fa790abfda6541cd8d3addaf4b8c43261a80eaff9d07157983db78081f96a81fa793c295d4e9c497bf9bd6a502e2beca9f39 -DIST Django-5.0.10.tar.gz 10651802 BLAKE2B 44c7107df7f73db662ccbc8e6fedfd52b4c27dd46cf37f0770cca65feb663847bcf1040703a5d14e60814d9f5bc4d7a604032131c2693dd733230a20d56f2793 SHA512 438a917b786e8d7496ebafbadca9a2cab14b4001f1ed80c7220b867459fd5cea9bd7cd4693a26bbaab728ac66c31b74b77b35081c284577812aa78d7255c1270 -DIST Django-5.1.4.checksum.txt 2410 BLAKE2B a83e84895865d76c44751ba2f2ee8abcf77172b6ba3653b44515fe9ff4c9d29e0f2c2f9a621d42bca303858b733a04746cd50a6ed8c3fe68996b537d1ec9358d SHA512 829b4317e1c754b990ea4510e2e35e0a63230bae88dba6a02de5fbf5c4d65809a544cfa64cc1626e4cc4e68dc8400d7374177e7210cb05bc007e59cb56cbb87b -DIST Django-5.1.4.tar.gz 10716397 BLAKE2B 678df9c8905a27d1c902c7065ffb1da83771c55117c23ba058931347c3be5362269e4accb30bc88299dff30e0bafd2286eab31745244793a861e61d49f7e23bd SHA512 252c185b82da60fb8b1be9c284e8912f5f2846f10a314bc5e611a24e499ea31d7dc29b31a4de16ee3329b1e6861d7faf02b65a043e8a2a28328541105a1e7dc3 +DIST Django-4.2.18.checksum.txt 2583 BLAKE2B 93f616de52243945fd8498c91dd27c92d10bab4d1782e2fe23f44f86fa9bfd72bc0fa088713948c9efad82bbfc84ee6bf2a981a4c8e8c3dfc7c9e59b9529e6a4 SHA512 a90bbf3e86c072d022cf462b15b69e60dbe2077982131451a105e4e1cac3222bbfba31c06839fdf5880698eef2a8d3a742def2a786a771f06c3a665d8631b2ad +DIST Django-4.2.18.tar.gz 10428204 BLAKE2B 45c2059e89ce988596120894e62c76ceb5054d2b7bbdc18befe7a0a54b4d19c3b5850b3d4dfed14950f2fb323a5b0196bee3a4d1520fcbfe9e734da6b9cdc2c4 SHA512 74469711d0238583c46cadd42737b9002417010796b713a0750c1f28ea17c9c6b2d33e0136fcc5556029a78e0c24b617ae366cb667051c09552298faee791609 +DIST Django-5.0.11.checksum.txt 2583 BLAKE2B e7cc6ed8c4f3d9398eb892cfb6e4d6b983485128180099ad069e0594f8a398ce8127cf934bd738df826d61ffd66d2c0cb27f4ac27630a3f3d2f20edf30e44f00 SHA512 16bdb35fa566db8995233841e53cc793a4656604f351913ad97b470b4044d9476a9bda094493d170d63d637d4f2cc1a22b3b372005f05ed043b1d1b56c6137f2 +DIST Django-5.0.11.tar.gz 10635979 BLAKE2B b55d539d541c661ebe0e4e3db21b89de3fb4a32dc1d07d6bae1be6cd22b82bf4c5692eb23ddb2d4425140ecdcab272d6fb5629c1b525b7fdad1469eb40376a8e SHA512 a43b3245a8e4f1b315ac75128f0d24cf4202471a9dce6791e1fffc88580427c7823c4abfeab6bfee821ff44407728089f563180525eb6bc172bf52858dce867e +DIST Django-5.1.5.checksum.txt 2573 BLAKE2B af41ffe32d60f10c99b558d32dbcf8658fe6ccadf21168afa6812ec9f40d6a0d2024cde733a26d515d90a025e8814c10ab745679133ed1f13a0ffbed8ce59319 SHA512 70c4af1a339a0b195b3788c10425ef83480274ba3efe5344bfa43d8245d681ed2622f48d62c284ad4bbeb77fb5132308197dfe1d308d027ea650c452e6454d90 +DIST Django-5.1.5.tar.gz 10700031 BLAKE2B 8de45f7574e2f74a06916018a12cf6df9c263cf754ff575d12735fb6921729c7d2937235fee57abb95e9f20e6de0282ec3e737a0a2ee9d9e38e70a1ee90fa6e9 SHA512 cc28eb7166d9babdb3f3d61cc87eb9ed038d7115bd7de7da5b9cff33da114c334fd51140d32c597229cd07e400520bc92ebf69611c6a455ac926f3e9eaa5ee88 DIST django-4.2.17-pypy3.patch.xz 5900 BLAKE2B 2a564fc31d8e2f3def5a532d3bca1a4426a496c659192f602d659e0c1a5f5882978baedb384cc3b67fda8c836513ce43aece80db1528c8e8b6e9ca420f7572ce SHA512 9c9d935aff6db7230a26931b5e7f5f94f3b5ff4fc8f7d4201178571de9d9c7929a0e1e558cc2d9b54b8ee91f85819a5680d24fad6251620515a4a020e3b2d66d DIST django-5.0-pypy3.patch.xz 6124 BLAKE2B 7eba7cc70b30743cf4e186a2c5b0f27c13f49114a7a80bcaa2b25fdd7a959583c115a302c9bc6da97c32f6401cf8f3616818ba759190d317c5b033a0f0088766 SHA512 c550e2b2c1243d13cd1f4908f4b6df606355d1491e3bf72042e4b4777a4474306ff0f67b1c2eb4ab4d137cc85bde52dcdbd54bec245d2ba2e092545be8a2993b diff --git a/dev-python/django/django-4.2.17.ebuild b/dev-python/django/django-4.2.18.ebuild index 018d579eb650..6861f703b51b 100644 --- a/dev-python/django/django-4.2.17.ebuild +++ b/dev-python/django/django-4.2.18.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 diff --git a/dev-python/django/django-5.0.10.ebuild b/dev-python/django/django-5.0.11.ebuild index 86a3c450fcf9..990a96e7a203 100644 --- a/dev-python/django/django-5.0.10.ebuild +++ b/dev-python/django/django-5.0.11.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 diff --git a/dev-python/django/django-5.1.4.ebuild b/dev-python/django/django-5.1.5.ebuild index ee742e0ed267..0e61bb21d319 100644 --- a/dev-python/django/django-5.1.4.ebuild +++ b/dev-python/django/django-5.1.5.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 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 1d0481a073af..920a35cd304d 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google_api_python_client-2.156.0.tar.gz 12230345 BLAKE2B 9ce77dc4fd962bf24a8046678c4c21501218dd1f3a356b364bb6940f564f9aa7e6d99c77db9b5e7fea271a17b10726a668f07dec6ec344bad5cad98a1975a107 SHA512 c29debb48f8504eb6316ec465613e87b083429344a9e74f4f52d07f6edf47b017a7f0b539557de4ca575ead3dda1d4b0579faf483102fab407c15386277d5078 DIST google_api_python_client-2.157.0.tar.gz 12275652 BLAKE2B 9410a8b7a726c94286f9ded13091cf59d8de7238c184969f0f7cdb9330f9e6e278b2953d70cf91fa2e74b62314f02ae5372ac661a04c426ac813cec651fdacbd SHA512 3ff7078c8ccb80d84cbe8df3eefb15f5a5c986285ab6e7b06e0b49962b96f25655fc618ae15416af2c33744673c36058ffcc9df3cc1b31fb78d4dd0f053a5d19 DIST google_api_python_client-2.158.0.tar.gz 12277176 BLAKE2B b2926912b1bdf6528a7ba9801bb31b599222fa65b67ba6d7fddd7897646196d6f1beebf1c5be7128286111eb443697b5e41a7ec3e863514cebd26d7f428f7aed SHA512 05296dd6a0a55de09c914596330edd92dae152a157c9e9194fe377420e163b22bd94de30ef55960798feca738d51a1e5fd0dcfc730d498f28687a40cf175ef31 +DIST google_api_python_client-2.159.0.tar.gz 12302576 BLAKE2B a4cf681694930b303aab3a1756fee9af2bbd52258fa6ce3a3ede3db0a211467b0ad3a8d4d75e756d66d08ee5d5b58d799136ebc6d4e739bb9e655fbf6ca24eae SHA512 57295f7a9d651466760cfb69c61e52478951da083c4c7a2238d1b0e55860cbe9d1f6d76c9b89acf36bfa39beac28c8594f96c4ecfeb04f174474d259434c32e5 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.159.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.159.0.ebuild new file mode 100644 index 000000000000..b2220fafe3ef --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.159.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 35df039a23da..9803cc0bf43d 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,3 +1,4 @@ DIST inline_snapshot-0.18.2.tar.gz 225777 BLAKE2B 45a08224c8ec94e052c6fe1393ad9b12c7227b9208ef591f323b15baf1622866fcfc7c91167fa8d352dae895e140348df4b3e492c52e441c2b8799e7f53f7ca5 SHA512 6b370ee0a717834f361b712ee71434362a44e92688df298572a801bbf384d69bd37816b2aa1e701f77d72149fff2ec5da9fceb24980af15de807973451e161c9 DIST inline_snapshot-0.19.0.tar.gz 87554 BLAKE2B 9cb8d15b1d33844053b0ed5df8a4d47ea290bf3c67872671e147fb284e1fb2013bffda21fb38e96c01336b768a1315b81ba8a71d9df8a716ee4ffd92658160a8 SHA512 bb528a6657196938994e678042e379159d28635cc7679ab21a42e550efb35e1edc58fd58ec0b25560866062c6956b8d73f475a682c43255ff18ce31ed55cf9fd DIST inline_snapshot-0.19.1.tar.gz 88072 BLAKE2B 83ddb98a9ff7fe6b4a5071cd9452b81ee92b0f2538c0b55876bc4e4a08770a64415c95334ce4cb825000e1bd295fa582eb3be6db400e75447fe85daed360c17e SHA512 3750de436a5b19002728df954d4b60e30f7fd6ff0ae49e1a0268cf61d5ba40b809ccaf2b8474b9c3a2b9195a9b0edb7ec98dc4d29af77738fab997e566890bd5 +DIST inline_snapshot-0.19.3.tar.gz 88636 BLAKE2B 537e68eec4f7db9ddeb8cea1e93f872160129d8b7b51b3d693c0cebb94c2cf5652d57989ccb44b7a3f3157ffbe6322c032fce42594d94f8daf454f922accad0b SHA512 b1f3a0123a1f17ffb85cb296861e3558057d45a8a576d72b2dca1ad1ce3151d4354b6bf86f9e0fb21d941d7ee708fd33c3961fdd1c0bad4c7368b720388fcf85 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.19.3.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.19.3.ebuild new file mode 100644 index 000000000000..8c2701d1b68a --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.19.3.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.1.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 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ 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 new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +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 56733bbffc48..eb2586280d80 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 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ 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 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/latexrestricted/latexrestricted-0.6.2.ebuild b/dev-python/latexrestricted/latexrestricted-0.6.2.ebuild index e0246fe5f6d6..78577ed92014 100644 --- a/dev-python/latexrestricted/latexrestricted-0.6.2.ebuild +++ b/dev-python/latexrestricted/latexrestricted-0.6.2.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 @@ -20,4 +20,4 @@ SRC_URI=" LICENSE="LPPL-1.3c" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" diff --git a/dev-python/legacy-cgi/Manifest b/dev-python/legacy-cgi/Manifest index 6effbd44b8ce..1bd464d794c7 100644 --- a/dev-python/legacy-cgi/Manifest +++ b/dev-python/legacy-cgi/Manifest @@ -1 +1,2 @@ DIST legacy_cgi-2.6.1.tar.gz 24782 BLAKE2B 4a147583a951e128282eef445fce9ad0acc6f63036d115b9f048956f17999946808f563e025bc6f45687e6ea095b459c10e90e01c114ff535a485de1fe344917 SHA512 584ed4c2fdf05e89944dc86dc31dd4de80efbad3e43f15e411f9eff0fabbeeaf3df757faa2a56527f61d661b6d73eb258135ab7763dd3a58c9611829c6d28cb0 +DIST legacy_cgi-2.6.2.tar.gz 24794 BLAKE2B 2651a11f86c92570ceca3c915654828d83d1af75e604bd5d2d9d4e5b049a44cfbc9775e64ebe1c98fadbadcd327492662f543fc24ed2bff33324abb50f58ee79 SHA512 7147806056edaddcc129d8f4495bb2b62835432591c080373b369c628d895914ec6c5221c236ab5e4d82a2f19f6c48944e9fcb64449d9215e3f0de3c3a8aa80b diff --git a/dev-python/legacy-cgi/legacy-cgi-2.6.2.ebuild b/dev-python/legacy-cgi/legacy-cgi-2.6.2.ebuild new file mode 100644 index 000000000000..820299498e20 --- /dev/null +++ b/dev-python/legacy-cgi/legacy-cgi-2.6.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fork of the standard library cgi and cgitb modules (deprecated)" +HOMEPAGE=" + https://github.com/jackrosenthal/legacy-cgi/ + https://pypi.org/project/legacy-cgi/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/more-itertools/Manifest b/dev-python/more-itertools/Manifest index 2cb8e7dac33b..585448cbb56a 100644 --- a/dev-python/more-itertools/Manifest +++ b/dev-python/more-itertools/Manifest @@ -1 +1,2 @@ DIST more-itertools-10.5.0.tar.gz 121020 BLAKE2B 16ab278873f4d7de97f61a2e865ff8561baa0aacd743c7483138c3dc7c8a219609ae80a0ff30bfc22f7064bfed45d764f17e35c2780ac6caf3a24231ab544e9b SHA512 fdb56b6bce26b335da61ae3a4bd0154a78389786132f62eaea53f0e8ee603c5609e35c69baccaac57935e81f839409b70f94cb8bbab9d541b0964a2c929c8168 +DIST more-itertools-10.6.0.tar.gz 125009 BLAKE2B f4bade093a730f7daf035d698bfb0fb8f0f8aa6832546e30f9e6d0c39aef96e9cd326d73682c7fa5458f7e75511d759c443a58fed96e831d11375818abb020d8 SHA512 57322c80252e79d1ef82fe5cfc3a3f0208ab6f90d2e59c47491974c23fc30ad1b48d1671c06507b0489b2bdb240c52dee5419a19b96ae06a3d2bdb3a3b483eab diff --git a/dev-python/more-itertools/more-itertools-10.6.0.ebuild b/dev-python/more-itertools/more-itertools-10.6.0.ebuild new file mode 100644 index 000000000000..7159caeed3a1 --- /dev/null +++ b/dev-python/more-itertools/more-itertools-10.6.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="More routines for operating on iterables, beyond itertools" +HOMEPAGE=" + https://github.com/more-itertools/more-itertools/ + https://pypi.org/project/more-itertools/ +" + +LICENSE="MIT" +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_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests unittest diff --git a/dev-python/nbclassic/Manifest b/dev-python/nbclassic/Manifest index 293fdc9514a0..8fd3f9fd7663 100644 --- a/dev-python/nbclassic/Manifest +++ b/dev-python/nbclassic/Manifest @@ -1 +1,2 @@ DIST nbclassic-1.1.0.tar.gz 20194834 BLAKE2B 7fe5e3d405964faf09a6f58b54d03dae7ec661e276d5e26e71e054b277f99db61dd7ef0c3ec2417230ea7d724814a4919514b4274772b5a73a89d0c59db09468 SHA512 a5348ff7bff944c12745111fcf64ca92d75bf7bc063d51baf04bc8894473ba0689ec4420ff1ce2d2a40601b55d14a1cd257215cd4f11839fa47e8ea93933268d +DIST nbclassic-1.2.0.tar.gz 20204389 BLAKE2B 37d2614b48e28d187b7f22aeab71bb5b1d8dbc0349654bbd8323a76bb6cd789ed6bd3d0c04764e6e9757d37df1131dde3fe3927d1933de6b9e2db2d4651e00b9 SHA512 416345cb773392b4d2b03a914ed3511bf75a7ea8dad02360a0623233af56f38a9853647ad1b62f0f7e397e6b3715bd66bc5e52e4736fe5b30884136fab0b459c diff --git a/dev-python/nbclassic/nbclassic-1.2.0.ebuild b/dev-python/nbclassic/nbclassic-1.2.0.ebuild new file mode 100644 index 000000000000..37f3c781b39c --- /dev/null +++ b/dev-python/nbclassic/nbclassic-1.2.0.ebuild @@ -0,0 +1,74 @@ +# 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} pypy3 ) +DISTUTILS_USE_PEP517=jupyter + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Notebook as a Jupyter Server Extension" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbclassic/ + https://pypi.org/project/nbclassic/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipython-genutils[${PYTHON_USEDEP}] + >=dev-python/nest-asyncio-1.5[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) + doc? ( + virtual/pandoc + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + dev-python/pydata-sphinx-theme \ + dev-python/nbsphinx \ + dev-python/sphinxcontrib-github-alt \ + dev-python/myst-parser \ + dev-python/ipython-genutils + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + # Notebook interferes with our tests, pretend it does not exist + echo "raise ImportError" > notebook.py || die + + epytest -p pytest_tornasync.plugin +} + +python_install_all() { + distutils-r1_python_install_all + # move /usr/etc stuff to /etc + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 8572cda16532..1cc36e6d9a74 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -1,8 +1,7 @@ DIST psycopg-3.1.19.gh.tar.gz 507073 BLAKE2B c10e2ba83f4a3bb0646d86c0f1311ae43e3fafbf9eb8ae91f8a77941dd2ef21d22c5fdeca724399bbcf5f7f010f5a3b0f78979720efec8f25613abbe568dabc9 SHA512 a7d02570632a28080ffd99fa492c2f1af623e7ca55e57e8c5d4664aff4d033ae85fc21cfbb1f85a90c48e01944ed1be68e857b5cb34c0547b51ca465bac0a361 -DIST psycopg-3.2.0.gh.tar.gz 549161 BLAKE2B 33997b5ee2f4f814561f83f92e9db4b61664f0ac84f6ff3bfd057d1cf9039a5e169478c8f40deb97e07433cf1481bfa7f4f79765158ec968ff6ab74b5aa6d14e SHA512 4466390a33f55eca73e1d490aca98ad7bb0e4c55b166d8956e1c940f5ea71c7cb07ba5602276f7510b2368d6c0c0e6eacac8d4ae67f465fd07afc4c75283f3c1 -DIST psycopg-3.2.1.gh.tar.gz 549277 BLAKE2B badea79ca48b99ae363ffa1d04de922add9456662e0909a2761f61f1a5d03e2afc01ee188814495029551d9521aff95caa7ef3123d96dfcfbb3c0d0a14597e3c SHA512 ecaeee67493ce849a2d7477d0373061ab3b329d228e3c0dd482d7ee8c7eea07c59127db2e6afc0233a78f073306d4adef915aba5f3fc6378c0335c3155350294 DIST psycopg-3.2.2.gh.tar.gz 550226 BLAKE2B 2731190da5b044f16eb0f90fb5417244e46fc0906dde6ee9bd1ee4d91613f59ef1943da6662ad1f3db1487b8cc2b4ccb4e0a79ecc056a8f72c7e2b7b70e39abd SHA512 48686101c9d568003ffbf90cf07bc4496fb161f599b60a2b2df41ac120f338bee7edbeae3786071969d6bbb9acdbe868fa568b9cfa3b7a17dec2d47e5d54f002 DIST psycopg-3.2.3.gh.tar.gz 550802 BLAKE2B 1f748fc2dc915fd82b2bc557ae4263ecf1070d5ba08681cb6ae21570acf601b03a2bde7e4324cd506e0146c86db976b003c57e99cd1948a930c074f0674d6ba8 SHA512 cf543652cfd27cf1cad3b1e3b8b50802562cc49f8fbd9ae5bd85ffdf26e30dc470f1f3380261c8cad418945ade8dc4f199ebcba08968cb87fd0b6c241fd8040d +DIST psycopg-3.2.4.gh.tar.gz 555758 BLAKE2B 1b74f8a6ee91266fb6c6a13ee51fd7d18514b4ce662f911f83baba652bb9198cae21636f6f1dad6eae916cc2c22f2322629dea346e61ce94a1d94a80c8e8b5be SHA512 026f4a74011c37e594903931da629fa0150834db0916bc02a45aa31eb79fbbcd9a0b6b59809d4db389e298101646409097d99c4950981ddb43413a7488e4f1ff DIST psycopg2-2.9.10.tar.gz 385672 BLAKE2B 4a3ad64f406c427b785ffeb85f6520aa67ed04de2d1749eb22d8275146b71ba451f7c04c9ead401d6f7a273781492cd6a5a36beba68b36b1e5203ee75f7df503 SHA512 d0916f6a645b5e87f89f2463dc22fad78340a85fbff320d099bf429a42557f40d3a4eebdc670768469aef1e9fcee60123767bfe49e1186e8574f95bfd6f46900 DIST psycopg2-2.9.4.tar.gz 384017 BLAKE2B 4bc0afcc890c8a257c1ccd5c6e4e5301857a80f8b1428aa46c1473c9e18f5d2914a2e592c13336b06106217bb334d9b0321835bdd123f1627cbeb29dedf97bf7 SHA512 259088e42e0ab0d8a1a0ccf04f5e560f32c6179b4a0a0059e91bcf269baa8f4b0f1f949c332c640a2438c927a29b2c144078a861f8e18ba9c764da7c93c73b8d DIST psycopg2-2.9.9.tar.gz 384926 BLAKE2B 8418fca1329703cedfc86be74d85cae5133a0604bb8a21fa43e5359a46626d38ef227d0cd8fbbeb497e2db517a469d7f3e86b74ef9163617a547e999073a6b4c SHA512 a691fd09762221e854861dedce37b05e5354e0701feea470a6d5046960056ef02a8c9ecfa751adeba485271ea7d5834643b7d3a3c3f3270087f5ed9c68509f5f diff --git a/dev-python/psycopg/psycopg-2.9.9-r1.ebuild b/dev-python/psycopg/psycopg-2.9.9-r1.ebuild deleted file mode 100644 index a9585f1c2b53..000000000000 --- a/dev-python/psycopg/psycopg-2.9.9-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN="psycopg2" -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="PostgreSQL database adapter for Python" -HOMEPAGE=" - https://www.psycopg.org/ - https://github.com/psycopg/psycopg2/ - https://pypi.org/project/psycopg2/ -" - -LICENSE="LGPL-3+" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="debug test" -RESTRICT="!test? ( test )" - -RDEPEND=">=dev-db/postgresql-8.1:*" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( >=dev-db/postgresql-8.1[server] ) -" - -python_prepare_all() { - distutils-r1_python_prepare_all - - # fix for py3.13 - sed -e 's:_PyInterpreterState_Get:PyInterpreterState_Get:' \ - -i psycopg/utils.c || die - # broken by different encoding of IPv4-mapped addresses - sed -e 's:test_\(cidr\|inet\)_adapt:_&:' \ - -i tests/test_ipaddress.py || die - - if use debug; then - sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die - fi -} - -src_test() { - initdb -D "${T}"/pgsql || die - # TODO: random port - pg_ctl -w -D "${T}"/pgsql start \ - -o "-h '' -k '${T}'" || die - createdb -h "${T}" psycopg2_test || die - - local -x PSYCOPG2_TESTDB_HOST="${T}" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - "${EPYTHON}" -c " -import tests -tests.unittest.main(defaultTest='tests.test_suite') -" --verbose || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/psycopg/psycopg-3.2.1.ebuild b/dev-python/psycopg/psycopg-3.2.1.ebuild deleted file mode 100644 index be2c0f7068d6..000000000000 --- a/dev-python/psycopg/psycopg-3.2.1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="PostgreSQL database adapter for Python" -HOMEPAGE=" - https://www.psycopg.org/psycopg3/ - https://github.com/psycopg/psycopg/ - https://pypi.org/project/psycopg/ -" -SRC_URI=" - https://github.com/psycopg/psycopg/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="+native-extensions" - -DEPEND=" - native-extensions? ( - >=dev-db/postgresql-8.1:= - ) - !native-extensions? ( - >=dev-db/postgresql-8.1:* - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) - test? ( - >=dev-db/postgresql-8.1[server] - >=dev-python/anyio-4.0[${PYTHON_USEDEP}] - >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_compile() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/935401 - # https://github.com/psycopg/psycopg/issues/867 - # - # Do not trust with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - # Python code + ctypes backend - cd psycopg || die - distutils-r1_python_compile - - # optional C backend - if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then - local DISTUTILS_USE_PEP517=standalone - cd ../psycopg_c || die - distutils-r1_python_compile - fi - cd .. || die -} - -src_test() { - rm -r psycopg{,_c} || die - - initdb -D "${T}"/pgsql || die - # TODO: random port - pg_ctl -w -D "${T}"/pgsql start \ - -o "-h '' -k '${T}'" || die - createdb -h "${T}" test || die - - local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" - distutils-r1_src_test - - pg_ctl -w -D "${T}"/pgsql stop || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests for the psycopg_pool package - tests/pool - # some broken mypy magic - tests/test_module.py::test_version - tests/test_module.py::test_version_c - tests/test_typing.py - tests/crdb/test_typing.py - # TODO, relying on undefined ordering in Python? - tests/test_dns_srv.py::test_srv - ) - - local impls=( python ) - if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then - impls+=( c ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PSYCOPG_IMPL - for PSYCOPG_IMPL in "${impls[@]}"; do - einfo "Testing with ${PSYCOPG_IMPL} implementation ..." - # leak and timing tests are fragile whereas slow tests are slow - epytest -p anyio -k "not leak" \ - -m "not timing and not slow and not flakey" - done -} diff --git a/dev-python/psycopg/psycopg-3.2.0.ebuild b/dev-python/psycopg/psycopg-3.2.4.ebuild index 6614702ee22f..6502f9a622b2 100644 --- a/dev-python/psycopg/psycopg-3.2.0.ebuild +++ b/dev-python/psycopg/psycopg-3.2.4.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 diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 7514ebd37ba4..e2f88e83b514 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1 +1,2 @@ DIST pyfakefs-5.7.3.gh.tar.gz 247632 BLAKE2B c57b90cdb1e054125a55b32ef5bb400295cc18a23496d614ce06daf1e2d99a194fc3fb7c9853112461779b95d6dd7f4f0d92efa8b1769898cd9868cddcec57ad SHA512 a9c41fcb75314a8674b29b678c5af610b4f75a1738da205e6c48c6acaadba537fcd827097130f82262560918a43e45ff0cc86639b1b3b776a57ab3f8d758e692 +DIST pyfakefs-5.7.4.gh.tar.gz 248270 BLAKE2B 3690b07f2030dc2428936fa34264c6e43b8145f1cfddade3c95bcebb337e483e9cff3e048f0a9d2d1bd6d542d9dc99a3b489a6fedf44c4ef84f2aaeb42200864 SHA512 305e794a66f3e490a60d1e256133edeef8266739fba73b99314a8e2c71990b9a8d774c5b8575709c0cfff7180ff2c4fcf41736d4f8207998053f87ba45d908be diff --git a/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild b/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild new file mode 100644 index 000000000000..52fdde14ec1f --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-5.7.4.ebuild @@ -0,0 +1,44 @@ +# 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="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + # test for regression with undefined package + pyfakefs/pytest_tests/pytest_fixture_test.py + ) + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + pyfakefs/pytest_tests/pytest_reload_pandas_test.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pyfakefs.pytest_plugin +} diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 134016605f6b..225f8b036a59 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1 +1,2 @@ DIST pysnmp-7.1.15.tar.gz 380504 BLAKE2B a0bc0d321c88fd3ab45b32be590172d67d721dacbd10effa4e535db907cd39ca191413007b2c1ff2f42553049b4ca4472abdde72bef541685edad474597e8e31 SHA512 8e24d5e7563c6299dbeaeb066a4045c44f860ed8fb9565bf621b3d6c99301c8a6f6e8661ecbb3285b4032b415bec3cbbe4969b856a22fad932ce5371fc019144 +DIST pysnmp-7.1.16.tar.gz 379606 BLAKE2B 7ba59e52b7d27ef9400e1ec4c2aee395f86873b03b9bbb3a313e23c3af69965b245e2f3d5c4c3cdc98ee257aa4bc41c213b9d0237e9d5bc960dda2a4606c57ff SHA512 ee6a86dbf104f510eb698cc705d24f2c67efcede0b4605f7ba0aa5f3b1ebdec50608eb1144a16e6418213f824f996a7185c1452fd144d5a0df1a4f2650dbf3a4 diff --git a/dev-python/pysnmp/pysnmp-7.1.16.ebuild b/dev-python/pysnmp/pysnmp-7.1.16.ebuild new file mode 100644 index 000000000000..f802845870d1 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.16.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 pypi + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest -p asyncio +} diff --git a/dev-python/python-box/Manifest b/dev-python/python-box/Manifest index 64bfd306d489..e08449a8f39e 100644 --- a/dev-python/python-box/Manifest +++ b/dev-python/python-box/Manifest @@ -1 +1,2 @@ DIST Box-7.3.0.gh.tar.gz 87791 BLAKE2B eba82f4fa083f2f7725547254143d86d034d1dbf0ad540eb4cef8eb387846053a44a7b7dc6b94878a124f98336cade4c6a64c89beb779e5db6008393b721ecc9 SHA512 9425dc339abac6649f9e78b279720ce191559e1629eb4451fc1a63495df1d5c64bf20a339407bbfc6f8e64d9def4accf312087958880a5300c83369ee9d6ceb4 +DIST Box-7.3.1.gh.tar.gz 88055 BLAKE2B a222af827b9774d482b335ec4854429ace81144d11622dcc55cbd648e6c550d086fc6dbcba885a882a56cc9d4d43808b0bdc65ebd641984f109b797172426c78 SHA512 cf6ddc38fad160ee651f19da5d1b24ce7e396590de490aa0874de139888128a1c673228acbe5a3a1b68deeabbe372c3be20f5b2bfc1c576bf1f827d8a042707d diff --git a/dev-python/python-box/python-box-7.3.1.ebuild b/dev-python/python-box/python-box-7.3.1.ebuild new file mode 100644 index 000000000000..dfaea3d68266 --- /dev/null +++ b/dev-python/python-box/python-box-7.3.1.ebuild @@ -0,0 +1,58 @@ +# 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 + +MY_P=Box-${PV} +DESCRIPTION="Python dictionaries with advanced dot notation access" +HOMEPAGE=" + https://github.com/cdgriffith/Box/ + https://pypi.org/project/python-box/ +" +SRC_URI=" + https://github.com/cdgriffith/Box/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+native-extensions" + +RDEPEND=" + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + if ! use native-extensions; then + # a cheap hack, extensions are auto-disabled if Cython.Build + # is not importable + > Cython.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + rm -rf box || die + epytest +} diff --git a/dev-python/roman/Manifest b/dev-python/roman/Manifest index 18dcda558ee7..a1f3a1f35678 100644 --- a/dev-python/roman/Manifest +++ b/dev-python/roman/Manifest @@ -1 +1,2 @@ DIST roman-4.2.tar.gz 7339 BLAKE2B 1315925ffc4324e21582030fa6d963ed50f9fe917056fdf8dba62d90812874dd40d8899ae47274fc584bb56877c5517f507ff8741266e95a89912aead3a23a15 SHA512 4b1ddd54078e5ab38a11cad29fe4ea1f8e4740d7a9d1b093bec7d08ba37ca2bbbf89b2c420987b74270b01a8af5c03bfbfe8cfb5a4dfeb8923894cb52f083e82 +DIST roman-5.0.tar.gz 7664 BLAKE2B 1e3b8f90eba33abe7bc061ca30b8f12da23976fc15315923813c97a9f9dfc5909de475c3db752f015aa34faa775165cd8518ede5c9a8b1a87da5778abf964305 SHA512 9acd5d1587338497080066d3cd01c0a2cf007c664145514acaaa38cbbd6bbc6eac55469db9015dcd050a2457c69837dd9cdccf110a771f6b09c2a9bd59de8c4e diff --git a/dev-python/roman/roman-5.0.ebuild b/dev-python/roman/roman-5.0.ebuild new file mode 100644 index 000000000000..cefe6083a903 --- /dev/null +++ b/dev-python/roman/roman-5.0.ebuild @@ -0,0 +1,26 @@ +# 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="An Integer to Roman numerals converter" +HOMEPAGE=" + https://pypi.org/project/roman/ + https://github.com/zopefoundation/roman +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest + +python_prepare_all() { + mv "${S}/src/tests.py" . || die "moving test file failed" + distutils-r1_python_prepare_all +} diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index e67351e2b608..bafd22ba2d7b 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1 +1,2 @@ DIST s3transfer-0.10.4.tar.gz 145287 BLAKE2B 0b15068862236237287243237639310d35de942b0d3d399edd5ee924195ee8f45b2badea4b02f8dceef64f034111a810910b8208cb6e0c5db070b39f5c39f615 SHA512 671d95e9f507bdca8cf53b88cd28285f9c2ae1456fcb24ba4a61a75d30e8c8fa8b2a4faa8c8364114dc3e5c57f630d5b61575847b167e37b3de44b42c45f6a63 +DIST s3transfer-0.11.0.tar.gz 146986 BLAKE2B 050e757482c5b7524b2cc0b7aee1d41cbbff2ee26f62caff481077a4985932ffc486abe7076e4f4e4e4549eb616b302da0a279d86b826a780f4cf017168ad828 SHA512 8e12199fbcec039f228df877ff2026a1e977eafb9fd967d7e5669a9e6f8b73673f295df1a469ed6ce082a1882dab4518b1f6621ca3714c13f8febaa90dfee922 diff --git a/dev-python/s3transfer/s3transfer-0.11.0.ebuild b/dev-python/s3transfer/s3transfer-0.11.0.ebuild new file mode 100644 index 000000000000..6c5929b9a47b --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.11.0.ebuild @@ -0,0 +1,39 @@ +# 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="An Amazon S3 Transfer Manager" +HOMEPAGE=" + https://github.com/boto/s3transfer/ + https://pypi.org/project/s3transfer/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/botocore-2[${PYTHON_USEDEP}] + >=dev-python/botocore-1.33.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # 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_src_prepare +} + +python_test() { + epytest tests/{unit,functional} +} diff --git a/dev-python/sphinxygen/Manifest b/dev-python/sphinxygen/Manifest index 8a610b47e5d2..7323c231749b 100644 --- a/dev-python/sphinxygen/Manifest +++ b/dev-python/sphinxygen/Manifest @@ -1 +1,2 @@ DIST sphinxygen-v1.0.4.tar.bz2 16224 BLAKE2B 6b06e015bc04a445b2f1983be193b2a17296c263efccb7a67a06e73c4f06d312d3cd103e6493c428d1ee5fb3058309b50cb066e8f988145edf3705181ab3c658 SHA512 54872ead6725aa41057347b5cf45285411db90266266f8805d34dc846d0a0a69c013f894958721238b1eb7f7c9d13e105bbd4e7d5afe50eaaf17bad6d4f46662 +DIST sphinxygen-v1.0.6.tar.bz2 16583 BLAKE2B e9838b66de1575fdb884978a2b33e0d5b4585063b9d3cd52ca464bbaf4af56af26fa264916564c54bfcdc36603d87648037a2b8c129f53a294b312e7e7a20c3d SHA512 298a7017480a51e29dd3f74d3615bb931175635a9169b7aa308eacd51cfa274a6504e9231f08b7e71fcd00ca2d18086030b4805cb4ad4517ea43c1b8ab0e1111 diff --git a/dev-python/sphinxygen/sphinxygen-1.0.6.ebuild b/dev-python/sphinxygen/sphinxygen-1.0.6.ebuild new file mode 100644 index 000000000000..25cba495fcdf --- /dev/null +++ b/dev-python/sphinxygen/sphinxygen-1.0.6.ebuild @@ -0,0 +1,35 @@ +# 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="Python module/script that generates Sphinx markup to describe a C API" +HOMEPAGE=" + https://gitlab.com/drobilla/sphinxygen/ + https://pypi.org/project/sphinxygen/ +" +SRC_URI=" + https://gitlab.com/drobilla/sphinxygen/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 +" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + app-text/doxygen + dev-python/sphinx[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 01adf82e52ee..acb7253bb69b 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -26,7 +26,6 @@ DIST is-terminal-0.4.13.crate 7665 BLAKE2B 47a024e135ca4931a04a8dc8151f999f816ab DIST itertools-0.10.5.crate 115354 BLAKE2B f24734bdfedf1dba48554e39b43669efcd4a43656eeb2c511096060daeaf049e1ad3eab232e757057750ce94aabad9fc8a0cf29a997edc6c4b167301c3443391 SHA512 d03c3cfba9841776913bbb6daad0c8945830c155f32ae4b48872e0f937c75a443f0ac9a0355f43b359ff75232f38b15f4f6d446b4be30b00b4209cf66ef770c3 DIST itoa-1.0.14.crate 11210 BLAKE2B b2d33dc384757963eab3ae7d80bb672d828a549967986e3af8c70fe71a0ad46c4a278da2db4dfccef99e804e6cd4934067e97c0697a33ac3302cafbc46eeb416 SHA512 ea2d38df373652ddacccd11e610dfdad4e3ae7f0d476514e6ac58092733c817bd834e8cd88c3bc4178dd5a646ba628ae626195e0aa407e8534ae3c2a7b049987 DIST js-sys-0.3.76.crate 54420 BLAKE2B 8d211aee6d8af87c339250e06e321bf02d2ff313b80505f696f66c43298e2aee8286076f2b291aa853730f8e1b9940f09c56535d3534fc7990aeb16653844250 SHA512 54e9a6be3f5a19021351d22d655a3aa55579c80f1453a99aba5989fafc7429078dea57ffebada4240b9185d3260d02f30da250fa539ac12c4bdda975adfe0dad -DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749cd65021f145fcf49fa7954d6251c8c2f3c9a796b46283c3bc014bccfd259ea52824459841911ad847fd7f5a SHA512 7ae8fe6a1db38ac6d951c0b4880d25a02f064f5e61d6057c20f7208dec8395d58efd085e41857bcf5f4da2b014d2952dc4ddaf18ac4acd3a23675bb659e70385 DIST libc-0.2.169.crate 757901 BLAKE2B 1012cf93d8975aa20fc3f2332e253426ff66be6aed63ace5292cc8568ee419b0f1a4b5b39ddbb78d9c2dfd8d72eb0d068c98faa229ab55556da5e674429f0e97 SHA512 c4566330a7967efc211edf31a23647d1a33aa51fc25aa4e9337716748c8fd4be0ae63679220ff2cf6e892f37d03bc5264c55e8f082eb82574a6ec1fa8e5e45ce DIST log-0.4.22.crate 44027 BLAKE2B 831dc5092db05123bf2e909eafa708339983edece9bc8cb802f0ab418d47ddc5045a72c1b58bc7c46ffa68080eebd0fd55d6e4f5b3d5ad3b0bc6b2ea0dcaace1 SHA512 bd7baa9c8a5523fd0864a53bcde955d484cacd782412b5b02c890b89dbf62137624da3a27337a310dd8f62bcc6606925a42bbd4ca161a3b7936ea4ff96bc0d71 DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2 @@ -50,14 +49,14 @@ DIST rayon-core-1.12.1.crate 70701 BLAKE2B a32eb9ae9a71b4f0881f7bfd5375aa7db5681 DIST regex-1.11.1.crate 254170 BLAKE2B 5cf41012fc2ba8a006c0eb4a922cbbf1614bf300be361c9e2d98956a9a5e9b140e37bea09132fab7bfb633d4439158723624bcf45e8c619c4061b399253c1b82 SHA512 d065f6dc405771518260425f39a5eaaf8cab62e78c91ceed3b3994a9a121674d2484cadaaf816bdad89c87a40550d57b66a3d9de6618a7119a658301ce7e67d8 DIST regex-automata-0.4.9.crate 618525 BLAKE2B ee3fc41c8c445be4c1aa3e5b19a3e61efd641b1a24e7a1ed55f837c1fba9c816272cb4645c13232b66b170bc7c413802928beb22e3891500141ad4ede65b60b0 SHA512 40bde0ec91cc27bc0c3fa237a37ecee5a1f023dbe006a999c5888f8f578ee2c4c64d9edfe1827546cea8e92ca3c10f8b4d494d81f3d0422b40d90bca9cf598d2 DIST regex-syntax-0.8.5.crate 357541 BLAKE2B fc6d125f7a8574c37d81c75cbfd447cbcff736f2d9991b19814ffc1a414ebc5b76e84fb8fd36c983b38e8e391d165cdd9047832b0d9100f0e1ba7085484b7db5 SHA512 549d8d130fea9ec0d5806126f57f31d433f50e9328c5532ad417c44bb5488ec0d20acb0983dbe54dabaa0b453cbea4533cf7baac7144df119e8f78dfe55c5ab8 +DIST rustc-hash-2.1.0.crate 13316 BLAKE2B 3e93739234cd36f3cda5d71522e3d2204e98b1d134cf01cae5a93a93e6c4340a7b1b0485c339f312145c723185fb83f6aa87ae2a0b9b726a34cd29c19d3ede56 SHA512 6f6a40586fd7a99016efd53888970c745888a06bb6b9d32eeb4936bcd16906c90ba22fad82a4a6b547df4b6c9cf6d73eaa8d36af097d65d3d6de18a0669d5ad2 DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84 DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c DIST serde-1.0.216.crate 79000 BLAKE2B 98c0f5cee2f9212c6b7620d2068665379471ceb7557d1454cab9b1c2120b526ef597fbb642f65440e70f92a4764cad33613b478bacf99138dd5bd51fdbdbee6b SHA512 baabf4c7aac4a540c9ed18b336662087258b71c9cb0e547c8d83a2734818ab2cbbe62f910d812eb61d3d46e653c41a3eebc99b1d679bfc51f95710c71a8ecc20 DIST serde_derive-1.0.216.crate 57674 BLAKE2B 12a9228679c16288c08c8b256707e276aec79f84ac7af0c4cfd1f109500dfea80438df17d798acdd30a9743c753e70093b22bd324217529bac483f257682a3e2 SHA512 80fcb552279ac7562297df878f2f5e9ac09241701f5cf1088fcbf473b638f58cd3092a7930d8937ca0df9a47b9ae1a42d490cd46a275259cd8089fe8f5426469 DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f -DIST sqlglot-26.0.1.tar.gz 19785413 BLAKE2B 64e1df5df4391222a845eeb2804f78e241cff00596701954d79fa58e14fd9ee9ac6231cb2b54536c793c54f95cf66090f5a9d2d85b33adb8d6df2f232627cbc9 SHA512 b4f09828a3264367c7e562c0750179edb1457caa77d0a0c5e234d44762b9446ccbcecb7d9ed59152d2e85a957f496e6b0787f898f8c0fca1258b9eecaf7283a9 -DIST sqlglot-26.1.2.tar.gz 19856813 BLAKE2B c7c04f336a83510311f50bef41bda450d38a338e2e08be9176db8dcbe590ee7d31dce04b87f5e5c05add1e0594f0e4f7877ba48de9eff564a92933d96594e1f1 SHA512 85b1df7af818060b0e0a40362d526d9c9ac24a6307e9ed7d65a909bb7368244af544dd1715290ad9065186cfe9d286020aeae80cfe592afb206f31ab105433fe DIST sqlglot-26.1.3.tar.gz 19858552 BLAKE2B d89dd7480dffc3028ac7f9687bbb99c74d2194426ae21420f1fc636f2649e69b29d616951ddb2dbae2a093e908c2ceff816d4ce81037033aadcd355e23349aba SHA512 0de92250a41b9390bd85370bafb2dd4e45f1078a17c67494d75e4d3a211294afd925f29fdbbc5394452911882dd821bcd0d59c21a8e9ca67fe89f4107d8a1ce4 +DIST sqlglot-26.2.1.tar.gz 19933689 BLAKE2B 6c04880973de1a0dd66b825cb7d1a1c32d140ca3a8885c09885c4f2c6a0b52b9ff36c65f2cfc2e62b564b7156c37522991518a7c4857b98fce77b3daaa82d935 SHA512 1bb0110bd572daaa3cfd2d93ff6f03d2175f304b31a5043020730ecb547d8638afcf75f1a1ad431aa03bf43f3331a39a15166ca9495962842afe00294f5fc8ac DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 diff --git a/dev-python/sqlglot/sqlglot-26.0.1.ebuild b/dev-python/sqlglot/sqlglot-26.0.1.ebuild deleted file mode 100644 index d48438a800cd..000000000000 --- a/dev-python/sqlglot/sqlglot-26.0.1.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2023-2024 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} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.4 - libc@0.2.150 - memoffset@0.9.0 - once_cell@1.19.0 - portable-atomic@1.9.0 - proc-macro2@1.0.89 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - quote@1.0.37 - syn@2.0.87 - target-lexicon@0.12.16 - unicode-ident@1.0.12 - unindent@0.2.3 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-26.1.2.ebuild b/dev-python/sqlglot/sqlglot-26.2.1.ebuild index 01b31a82b69d..8807dc7fd20d 100644 --- a/dev-python/sqlglot/sqlglot-26.1.2.ebuild +++ b/dev-python/sqlglot/sqlglot-26.2.1.ebuild @@ -60,6 +60,7 @@ CRATES=" regex-automata@0.4.9 regex-syntax@0.8.5 regex@1.11.1 + rustc-hash@2.1.0 ryu@1.0.18 same-file@1.0.6 serde@1.0.216 diff --git a/dev-python/tomli-w/Manifest b/dev-python/tomli-w/Manifest index f77287bc79a1..6030b78ccad7 100644 --- a/dev-python/tomli-w/Manifest +++ b/dev-python/tomli-w/Manifest @@ -1 +1,2 @@ DIST tomli-w-1.1.0.gh.tar.gz 64682 BLAKE2B ca4cee4931f2df5ddf58cfdc2d28a20fcac7c7efe576dcbe43f2d30e0f5b9747f10632dd2b466fc769e2823896450876592cf518665f071cf6af55d9d3f94bb5 SHA512 0755004461017d3a62059ab74651c1fa0d2c67e224935760daa8d569b996db99e6c4077c92127b303a9026cf689d3db6a75cdb8d9178d9d3009b747b43ca2057 +DIST tomli-w-1.2.0.gh.tar.gz 65320 BLAKE2B d48174d177a5ed13880ba8c9c6beefae8ed43b0a3539441ecc17aa32af07428d9f7d2c2d185264a20f27ab2ab9b5085b91da120e49dfc17a0cf36b590ebfa81b SHA512 d7b5888d7e60eda701c4d3d02189b9e26467a647ed4e09f55ee325c6d62618de6a6b299de522d105decaee68fb9804968c59d4c911bdfb7520a0beb6c05f432b diff --git a/dev-python/tomli-w/tomli-w-1.2.0.ebuild b/dev-python/tomli-w/tomli-w-1.2.0.ebuild new file mode 100644 index 000000000000..4ba6e30bd6ce --- /dev/null +++ b/dev-python/tomli-w/tomli-w-1.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-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 + +DESCRIPTION="A lil' TOML writer" +HOMEPAGE=" + https://pypi.org/project/tomli-w/ + https://github.com/hukkin/tomli-w/ +" +SRC_URI=" + https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/tomli[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest tests +} diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 0f203f3a5585..6ed054edbf85 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,3 +1,4 @@ DIST trove_classifiers-2024.10.21.16.tar.gz 16153 BLAKE2B 9170a2f78b41d2d6793a5bbf7df7ce2ae4c1d70a193a92874bf74cad5a083d8153a9cd8ae42c85da3cdedc690c485aff8d864626efdb52965301f2a377ebb048 SHA512 4fca7cc5d172ddcb210bfbd6e993fc3d7243887762ba37c05aca3d6c5fcece8f573372704160c8048eb39c68d284fe808ca289c8c07564b06334bed6bafdc61e DIST trove_classifiers-2025.1.10.15.tar.gz 16251 BLAKE2B 38e4cf90c855762fe2fda81c7bb4099127e0d6e92b160026b0b29a1da211d8ae6f63c3002e37aed5abbbdc77f1d715d116aa44a2db0c3a020881d0199c2793b7 SHA512 d07e3c68e08c7a9488bc05f59762eaf70934c7645b4714860944e720b43cad20ca844d6d40eb468a40b7127080c11f526ed688a1fd38181a1701a7fa2eea5223 +DIST trove_classifiers-2025.1.15.22.tar.gz 16236 BLAKE2B 23003b48c5f6b919559c3355b9eda56d229c5e19420368200952ab9a81a6ca850c779788ccb3c9340bd08e11f9c1da6ea67ecc180c206216313064881d3469f8 SHA512 460df4327866ea6ef19ea04e9ea4dd746eb733ceafec0db9920b1e6eb1649abfcc914f4e103700072696846c4af4c85003a1ef6323b4605a8f1659126d459503 DIST trove_classifiers-2025.1.7.14.tar.gz 16130 BLAKE2B 7c5278e30dd939bfdf8795a8d73a50293a64f3e1c0784fda44d546d9c70ec98c69e88a87160517e6d759597b06e9728b53ac9bb26b9e8ac2995d4356c245a2d9 SHA512 06210009c52e6d4bb070f40052a396a48d9643b09864d2ac370449a91200818aabb595703048b3cb1fb97551e8e86d17b4cccbc3dbc19b34d199bdcbe50c3d96 diff --git a/dev-python/trove-classifiers/trove-classifiers-2025.1.15.22.ebuild b/dev-python/trove-classifiers/trove-classifiers-2025.1.15.22.ebuild new file mode 100644 index 000000000000..e43d7ad35d9d --- /dev/null +++ b/dev-python/trove-classifiers/trove-classifiers-2025.1.15.22.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=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +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 + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease hatchling bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "trove-classifiers" + version = "${PV}" + description = "Canonical source for classifiers on PyPI (pypi.org)." + EOF +} + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 5273e538fd53..21f906067d17 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -9,5 +9,7 @@ DIST uv-0.5.16.gh.tar.gz 3195545 BLAKE2B 47ed5f0ebf8c9ab5c6035a91083a665ed52066e DIST uv-0.5.17-crates.tar.xz 47012000 BLAKE2B 0cfc660d087a3e5ea8fc78a5e8a7f0992d1af29050183241c19cb2b934e942ccbd0ced96f342fc797d6b16eca680a94efabeedf21f3049b6b3923b0688dc7931 SHA512 e1da8528ccd233b3a842851998f62e4ed819affc3b1a7f89f5b9cb64df9ff8b6c4025ac6b14a4587ee645e9f6d210dec34d68ee5ddf1dd9a2a559d95c2a211e3 DIST uv-0.5.17.gh.tar.gz 3229851 BLAKE2B ed463ce99e3ae32e846482cb4bc9d601bfe3953bd11e76b5803b5329eaf5a1e912a5a65fa07cbdb485839f63c0239fd657603f6954f304b48932b924b80af548 SHA512 6cab15b5c3f39844ddda0937257abd72c3878d745b0ae6a9f08dbfac64a7e35afb15e383c2b53d778a4d0dd7f28de9c9743f5b4f0d77905bac9a752db678c1bf DIST uv-0.5.18.gh.tar.gz 3230088 BLAKE2B 1244e352f2853dc66e8d99ce304b4b086d1f1b0c8c84fd06bb5c589e73ea0c82acbd477042a5f98da5229b6c4af81281d11b6397393001f7abe1c7218fc9af27 SHA512 3b0a709808155846a3d7d4ba1e916b93a6acc2c26a0a6fd0394f44791fbfe866adb15a1c4170893f7d9480568b87bcf3f38d1a445634376a4f7091f7eadda2b3 +DIST uv-0.5.20-crates.tar.xz 53845912 BLAKE2B 3ebe6099304f4520cba49bf36a7b900146b57740c6dcf783cf2f064707b5880041eac8ee0adf2e251819cb7f3ac3f2739dd89636a48618f6220bc21bdb7fd334 SHA512 fbfb6becb1008c5dbfd571871abe053721f4a9939f98e1d0b1c3c5ad405d1d4dcdd121986e12cdaab9e1ff7a9bc0353aa69345ddb2fbb8c0ac0a427bdbb6c9f9 +DIST uv-0.5.20.gh.tar.gz 3256266 BLAKE2B 595e8c6e868b469a3ec0366d77ce685feabd56351a276208d40f9f45e9b35e07df9b118766c1955d77cdacf80e4aeafb27fc16e668d8a48702ea68e906aa4a61 SHA512 388e406950266933e168a76399ff349b941caee38c99d49c866c191b3841936df8ed15564528bf351454f52f480a7bffce3e260d502d630e890609aa876b11c1 DIST uv-0.5.6-crates.tar.xz 46263172 BLAKE2B 73b1d2dc957f89f923dda09a8c038426041292c442ce253ff9110f996cd1e1f892a5a438d8e1c894fc0d823401cced0ddc8ad88b5e6a83199af7055a04ce85dc SHA512 c9d4f8085416bffb1e1872fd907d15a50cae0c0c5fba994d27b3acdc3c836dffd771558246573af4bb7467353a031ea56018d5ae1fbdffa4f63988462de00343 DIST uv-0.5.6.gh.tar.gz 2952255 BLAKE2B b815b60b99f959751f5839365b8b210919247ad99bff93ee4d202bc152bd06b83a62914cfbf341bfddb5b2c87d9e546c5e2a6d1baff1599d0218160ee89de504 SHA512 fc8c7f4f60a3d2ce997341450daf20ad039ef379ac5dd4575f8db0327284bd8278419b66f8f9695f2701a9579ab004b5b60476bd8dc4c27314211f795118bc5a diff --git a/dev-python/uv/uv-0.5.20.ebuild b/dev-python/uv/uv-0.5.20.ebuild new file mode 100644 index 000000000000..bd242a76bb09 --- /dev/null +++ b/dev-python/uv/uv-0.5.20.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 8ece7c23c036..9831b31d7928 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,2 +1,3 @@ DIST virtualenv-20.28.0.tar.gz 7650368 BLAKE2B b18ae57a929bb2a84a7ffa92771913dbd941cc2fc4c2962b18ce34dc105dcdfdb46b01366affea04ec44a7795b9c78a136b385eee8c457274079e65313d19896 SHA512 6a66663af74a240b9ad1cd3170f765ea44aea5f013d63c996a66af4aa0ad4e56c2c38c4f51d43181ac55c6099363694478d7ef15b640c56f8f801d3cd318966e DIST virtualenv-20.28.1.tar.gz 7650532 BLAKE2B 08b356a1547573f5a4d55e32e5d0c0f0d12f137d651a46efe79dba8680cdb7e8e24dc37adc7fcb12ba3a83ed7b0185c553dc2269767488d9280e0e4f99282da9 SHA512 f68f0c0cbcfb5a0a7e7d98eb695a9843ff20f8fbb50412919f1001f939c56ba1ccc64506c53d0c0f37bcd28db376bac7c72be99c0ebec8b584e2402cd17b2342 +DIST virtualenv-20.29.0.tar.gz 7658081 BLAKE2B e0413f9aa44a970108e9079afbbd9cb0eef8a8c74d4be1f6ea53164e4a1103fe730e08906b28e1b4373b831a9d4e865f4e9f63b17438a03084ab8402e1c16c2c SHA512 543b38365f6904c20560cc996a58aec081d166590a99f00ba176558bd9c487c6ef3007f1c60b7372ca7e10307932c62145508e4de596bb48c9cff70e201a4f55 diff --git a/dev-python/virtualenv/virtualenv-20.29.0.ebuild b/dev-python/virtualenv/virtualenv-20.29.0.ebuild new file mode 100644 index 000000000000..ef8e66b486df --- /dev/null +++ b/dev-python/virtualenv/virtualenv-20.29.0.ebuild @@ -0,0 +1,118 @@ +# 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 multiprocessing pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.12.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] + ' pypy3) + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_TIMEOUT=180 +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-20.26.3-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + ) + case ${EPYTHON} in + python3.1[23]) + EPYTEST_DESELECT+=( + tests/unit/create/via_global_ref/test_build_c_ext.py + ) + ;& + python3.11) + EPYTEST_DESELECT+=( + # TODO + tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x TZ=UTC + local plugins=( -p flaky -p pytest_mock ) + if [[ ${EPYTHON} == pypy3 ]]; then + plugins+=( -p freezer ) + else + plugins+=( -p time_machine ) + fi + epytest "${plugins[@]}" -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest index 6f25a321b97d..03c8ffe64f7b 100644 --- a/dev-python/wrapt/Manifest +++ b/dev-python/wrapt/Manifest @@ -1,2 +1,3 @@ DIST wrapt-1.17.0.gh.tar.gz 140517 BLAKE2B 0aa883d31cac6a72c18b48a03e3ba18326d2b6f71ab241a9c772a58662011c706db2526d3459b4d5c7017f911cdc9e2518b52abefae7239cc38ee635d47a46ba SHA512 b552676a9c41c2feadf9eeab78c011bcc068f6b160d5d91aa6afc8b880abaaf8f170071e8eb03811959d3510cb19cb8fcc0db41a3c4e7eb6c92cf04882d9c0d2 DIST wrapt-1.17.1.gh.tar.gz 140610 BLAKE2B 9e556a06094eb81853685632a311b9accf05d39979e4bdc66eb7a4560dad7ffb253239eb51ef9545f689e6eec6c80de2e6ee12747068c28dd3dae1a9b4bf6784 SHA512 b73f60c9ea0dae9bb0009b2f0d4149001645e4e2940bcd36d867fb44cb9b68cd7e726fb3c2d8d4345da44ff626dd2a457edbd527d46291ea030e13828fe68506 +DIST wrapt-1.17.2.gh.tar.gz 140660 BLAKE2B 58e9da7bb250a614717d18a20c61a0f6f45e77aa9c90e13be21e8e4094a1d24516d6388e15997cbbca296abb976bac0ce42f720f74fe4946d000dd570bca0da4 SHA512 12a6e610f180ce34a7edad39225b54f62d58d487e8b3379321e00e0d0c1b265a5a570de15ec5e5a6b38748052617dbb486f802ae924ab48b51b3ccd40d1170bf diff --git a/dev-python/wrapt/wrapt-1.17.2.ebuild b/dev-python/wrapt/wrapt-1.17.2.ebuild new file mode 100644 index 000000000000..6c34d8aab10a --- /dev/null +++ b/dev-python/wrapt/wrapt-1.17.2.ebuild @@ -0,0 +1,40 @@ +# 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=${P/_} +DESCRIPTION="Module for decorators, wrappers and monkey patching" +HOMEPAGE=" + https://github.com/GrahamDumpleton/wrapt/ + https://pypi.org/project/wrapt/ +" +SRC_URI=" + https://github.com/GrahamDumpleton/wrapt/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 ~x64-macos" +IUSE="+native-extensions" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +python_compile() { + local -x WRAPT_INSTALL_EXTENSIONS=$(usex native-extensions true false) + distutils-r1_python_compile +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zope-deprecation/Manifest b/dev-python/zope-deprecation/Manifest index 7dbd8f008faa..aa8d3ca1d06a 100644 --- a/dev-python/zope-deprecation/Manifest +++ b/dev-python/zope-deprecation/Manifest @@ -1 +1,2 @@ DIST zope.deprecation-5.0.tar.gz 23353 BLAKE2B 9b98291fe252942a8235c70c0a13bfbaf2cb3091e1502099f8a0651b517e748645cbda957f92c790c4d4f2b6ed7324cd5e21bae9d2906f2943e507376a980d76 SHA512 11313626e4141c2f92805c7c533b32160f88bf45667cd5a53a867daad3172947e5ac80433893c515243276030400a8a8e3d3a623ea51cb2b15bd5a5a0927bc46 +DIST zope_deprecation-5.1.tar.gz 24453 BLAKE2B 4dc7d9639a998ba11de839145bf4fb11d3b34de29c756c87de98b833ced4a6f2de4024d7b52a4f8c9ab225bf9c459ae79656d2073b9c76a38d9d8d1397aa06e2 SHA512 77b32d3456c5456ffc36eec936b176cdec365fd4561dd2ac06c3222dd4360ef6339ba34601abb29e273eabc3562b6bcdac5627c35b8b95f083015ba118be7979 diff --git a/dev-python/zope-deprecation/zope-deprecation-5.1.ebuild b/dev-python/zope-deprecation/zope-deprecation-5.1.ebuild new file mode 100644 index 000000000000..d24ed8903904 --- /dev/null +++ b/dev-python/zope-deprecation/zope-deprecation-5.1.ebuild @@ -0,0 +1,43 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Zope Deprecation Infrastructure" +HOMEPAGE=" + https://pypi.org/project/zope.deprecation/ + https://github.com/zopefoundation/zope.deprecation/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "s:'setuptools',::" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |
