diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-02 03:04:32 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-02 03:04:32 -0500 |
| commit | 062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2 (patch) | |
| tree | 4d40457c00bac6e801aa3ed267d67f0ab1696d63 /dev-python | |
| parent | ab43701157ca1662c9ed2c0da7aa0a795c2e3852 (diff) | |
| download | baldeagleos-repo-062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2.tar.gz baldeagleos-repo-062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2.tar.xz baldeagleos-repo-062a52bd61f4f8d6a9eb95e7a1057ad2970ff3d2.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
64 files changed, 743 insertions, 321 deletions
diff --git a/dev-python/aiohappyeyeballs/Manifest b/dev-python/aiohappyeyeballs/Manifest index d00e749df21c..d5b961221695 100644 --- a/dev-python/aiohappyeyeballs/Manifest +++ b/dev-python/aiohappyeyeballs/Manifest @@ -1 +1,2 @@ DIST aiohappyeyeballs-2.6.2.gh.tar.gz 78386 BLAKE2B fc4829c2344551711421e4fa373049411df0ab01c3d82b805d2ed4e0b95f857ce223391e510221f545e3c4175b851afc4c44e6ffb9cc90411072e4bdd7d7073e SHA512 5cd61bbad58bed019a03a0bdbc5c64511443150e6e0853c2f6231b64020efba52c4719a969ee417f1699912167f2b55a31ab1f3250da01ccb145695021dff71f +DIST aiohappyeyeballs-2.7.1.gh.tar.gz 82362 BLAKE2B 5f18a686fd4892665cc6e47ed2798b0a9c8effaf322f8957ed4f8ef8166b8ed1129f32a1ea2e500d24d65c39e0a8527af462b675b52d6e959d26462d569cc8c7 SHA512 b2fc315b9c2d349e040dda7444189bdc22be3d5c7194b006bf9c5b3537bad7479e5ea45c4761400a3aa9ab8a3ad6ff604fc6ada128df458166b530ed399080f8 diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.7.1.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.7.1.ebuild new file mode 100644 index 000000000000..6452a2109137 --- /dev/null +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.7.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Happy Eyeballs for pre-resolved hosts" +HOMEPAGE=" + https://pypi.org/project/aiohappyeyeballs/ + https://github.com/aio-libs/aiohappyeyeballs/ +" +SRC_URI=" + https://github.com/aio-libs/aiohappyeyeballs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=dev-python/poetry-core-2.0.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index cf051db1054f..3af6e5a34dfd 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1,4 @@ DIST argcomplete-3.6.3.tar.gz 73754 BLAKE2B f910e9a10ce05b87faa58997938c406b9ba51a7f5770ae9d403331a1bef4b669e000bd316c055b8d2cf281ee232b640a300d1e152e0ac9c7619d4bf144fd97f0 SHA512 d07756a8439fd8f30ea2823bbbe35b102c6822af907eed5d43649a378a703d8c20394127a842c9d6ce0af50d333518450d15c29fc3471e178c681ad95fa43a0a DIST argcomplete-3.6.3.tar.gz.provenance 9621 BLAKE2B 19ff13f7e1d428bc331daa13002e37d716088642c77f1e748fb344021871179729913eab3639fd160b19e3d04864f45a4e4ccbaddb817348efd216def3e9e644 SHA512 2d40fb2cc0f503558e6ed679bac79c202485e5d2433afb6a2c864f2a491e16e9705f126647e850f95a4a51da62e68e91e17d88dc93e4df006ad6203c8db226bd +DIST argcomplete-3.7.0.tar.gz 73284 BLAKE2B 3ddc792c685e7c1360a26e3f08172a4af567560e2eda174b0db73194f81a12b918e4af31399aa095da2770de14eea42e28f0b0b37d2359004ea0be9a1a92f35f SHA512 040dafb7ed84632c730dc2889aa1b0480c632efd758662539cdcfb4e98748068b11ca2b336e17e2f0ddb735c7efcece648412e79a18343e5d65de2130cd8f50a +DIST argcomplete-3.7.0.tar.gz.provenance 10008 BLAKE2B 8c318a26b820764f90c1029e8c075ac2956607a1e8d6c618f5ca8edf553123b6411060b110375db7ca81920445bf5982bf40fb543a20b48c69f3677109282c62 SHA512 b3093040cfffd9e64ebf2f81775ef9b2d25e84ebb8594601182f15e9aaff52271f86a11b2f62cb06a46f56ff0ff0cba4a4f8b25086502fcbc4bbeedd55e676d3 diff --git a/dev-python/argcomplete/argcomplete-3.7.0.ebuild b/dev-python/argcomplete/argcomplete-3.7.0.ebuild new file mode 100644 index 000000000000..9430671528ae --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.7.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/kislyuk/argcomplete +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +# setuptools is needed for package tests +# zsh pin: https://github.com/kislyuk/argcomplete/issues/544 +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + app-shells/tcsh + ~app-shells/zsh-5.9 + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # increase test timeouts -- this is particularly necessary + # for entry point tests because they read metadata of all installed + # packages which can take real long on systems with lots of packages + "${FILESDIR}/argcomplete-3.1.6-timeout.patch" + + # run pip tests without build isolation, so they don't download + # setuptools + "${FILESDIR}/argcomplete-3.7.0-no-build-isolation.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch b/dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch new file mode 100644 index 000000000000..ddc1ce533b18 --- /dev/null +++ b/dev-python/argcomplete/files/argcomplete-3.7.0-no-build-isolation.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index 7b1e6ff..9c5e947 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -1397,7 +1397,7 @@ class TestBashZshGlobalBase(TestBashZshBase): + self.sh.run_command("export PATH=$PATH:./bin") + self.sh.run_command("export PYTHONPATH=.:$PYTHONPATH") + test_package = os.path.join(TEST_DIR, "test_package") +- command = "pip install {} --target .".format(test_package) ++ command = "pip install {} --no-build-isolation --target .".format(test_package) + if not wheel: + command += " --no-binary :all:" + install_output = self.sh.run_command(command) diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index a52b4fb46341..0de766c46f55 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1 +1,2 @@ DIST serverless-application-model-1.110.0.gh.tar.gz 8137346 BLAKE2B 0f56aa0a4fc44a42f684ec18a639eae517dc3fdb615f1c5a82c5e40ac46878e707c6dbc4a3c6a742f9a38197a9ac8d32ba52b89dd31f94ff925b8824f8745e77 SHA512 3a4092c4e728ac5eec28d0524caaa573f96418e242f282341f1ae653c4e150611d9c17dc23e78543e05285e9933a51259570ed834dfa8aed50532da4afec4500 +DIST serverless-application-model-1.111.0.gh.tar.gz 8162075 BLAKE2B ff12941f0285c12740df8753769137ce87133a7d77b25fb527d47849ce5d98c78f401d17998a7d1320194f2b5fd6c8a168dbf6bcbc6969213b60607de915b51b SHA512 d08cdb94a5654f0e47689911e808fbf45d50c2f27055b98ad5fba75c5d39beb019cc4ead6ea38117b363a4e68d2a5c03f736f3bb5d2eaf476bb305b8881aa4e1 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.111.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.111.0.ebuild new file mode 100644 index 000000000000..0d8190acb68d --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.111.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=serverless-application-model-${PV} +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + <dev-python/boto3-2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.34.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23[${PYTHON_USEDEP}] + <dev-python/pydantic-3[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.12.5[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -o filterwarnings= +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 579f04fcceef..e7fa00f7d6a4 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.43.35.gh.tar.gz 1169237 BLAKE2B aeaaedfa5adf47d8453511be0c490187427 DIST boto3-1.43.36.gh.tar.gz 1169288 BLAKE2B c316bf8bc804c7c7a70eed0b01a66d7cf8ffdd0662e3bdb54864a9c78d3baa1d092c99fd43dd2df93314fc4795738a6ad432cad6a333f0a5535e13b9c6765fca SHA512 bd9f623a67508741cd45b239a4e575bf5688146d38bdb4f3af0b294f17898205e23b57d04bf6ed9584b92088515be1fd6f11922fdba5cd19bcf3ea4340d16f55 DIST boto3-1.43.37.gh.tar.gz 1171489 BLAKE2B 55d1a012b3c2aa98591a25c367b18fed3435bb3d02e35a1e97f5a69c79af13fe7e6775e7bc9fa7feff7848854c761ad33e3815aa9d6ac3c98f272852238c6774 SHA512 15e191664a7f1cc275f9d54efa0781a0b362755a4142c7fe51cef0a300dd0ceedd8d1f706c120daa193dc6e29e2909103059bb86e6479a005728696999d3b7e0 DIST boto3-1.43.38.gh.tar.gz 1173715 BLAKE2B ed41aaf26c81150ac7e8f76b31cba3cfe475aad5e999b5863c01c569197ba6f84bbc81348e3a0b48fb8937a8c5bc3bf10645e3b9d02e358da1749be97814731c SHA512 5bb455bacb8ac867459df7d99805280c222ec59f046f01b74adb25213629f2e020edb0ea55c83d98ec9f29ede82c5258e510a150231c5bc6987d55b1403a4f06 +DIST boto3-1.43.39.gh.tar.gz 1174977 BLAKE2B 209342f9903a9497bff3445e95d557898b5fecad0886af536dc1ffd98ae17cc7949920332bfa5d274eb959ae01dec3453725933c9f9dced73363cea949720513 SHA512 069cf9d26a292f673340798905ab7bb1a55c4b9b9e204c5b3a835aa5f1d9cd3f6b6db971fa1b0ddaf1f596166d8aa1537fad408b676e95df5eeb3c52815e48be diff --git a/dev-python/boto3/boto3-1.43.39.ebuild b/dev-python/boto3/boto3-1.43.39.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.39.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.19.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 36d291632680..52ceede6c770 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,3 +7,4 @@ DIST botocore-1.43.35.gh.tar.gz 16602288 BLAKE2B b2b61f787a3bf4cbd9100a1825b155f DIST botocore-1.43.36.gh.tar.gz 16601718 BLAKE2B b4643995a2c173c9df865923d6912e2c804da45b3bcfaf2e73e941366df02c23f4cb05408550992e9747aaacf1acaaced06dc497625e5e3dd5d8dc1eafc881b9 SHA512 02754b7766b91b569fa9aa3f83797c4b01834914415b535d690308e373583cafadf0b35846309aabbc0c66413d7adec05db0132e441eae273c4b9b78327570a8 DIST botocore-1.43.37.gh.tar.gz 16625905 BLAKE2B ff085acb7ab6cc50ae0b93e99b45c871110408ccc72b87327a5a85767330947d292175af402a92d61e12154f8efb3d65d08d70e5bd719f4c1a2d13f3be369d6f SHA512 b58ac57522daf0ce17e91b3a3e1f40fa89b689dc98f74575e9a67719a97ddc87b3110797af084ea136b7fc8b5527136c581385a2e8585c7f773cde641bc590ab DIST botocore-1.43.38.gh.tar.gz 16607002 BLAKE2B c6317c12154edf92d6a1330bca1a9a2957480d683a7abf41ad6401d3be337a2f980ca8758bb90b3c298256c3250c1cca4345ee27723c92a21ac1fdc098f5afb8 SHA512 8acf6cdeeb96049423be600a178a82f63d1579ed635045c3fd75d32866ff0b86c2e48062666810ebc65cbbdb193760457093d17d87b5bd9a8568fb65e20dd71d +DIST botocore-1.43.39.gh.tar.gz 16619085 BLAKE2B cbef4cba1ad18a2cd67e0da4758af4ca5c3a9e8c2b383715733105c6dbb7352282e07974f78858fc5bf01f10f4137c3039fbd43f83da8ad18870d98484ce8427 SHA512 50d74d78f2b728564208779d329d3938f27a5f22664ed47627a3cd89e31a7f4b8b09ba7a1d0f98c97ee765f0a9a06a577ac97149d9238b4d84daa80135deac9c diff --git a/dev-python/botocore/botocore-1.43.39.ebuild b/dev-python/botocore/botocore-1.43.39.ebuild new file mode 100644 index 000000000000..a3a161f78545 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.39.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +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_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/elastic-transport/elastic-transport-9.4.2.ebuild b/dev-python/elastic-transport/elastic-transport-9.4.2.ebuild index 546e3970bfa9..783f24054cc6 100644 --- a/dev-python/elastic-transport/elastic-transport-9.4.2.ebuild +++ b/dev-python/elastic-transport/elastic-transport-9.4.2.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/elasticsearch/elasticsearch-9.4.1.ebuild b/dev-python/elasticsearch/elasticsearch-9.4.1.ebuild index 8fdfeaa220e6..5129f7d2f2bd 100644 --- a/dev-python/elasticsearch/elasticsearch-9.4.1.ebuild +++ b/dev-python/elasticsearch/elasticsearch-9.4.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" <dev-python/aiohttp-4[${PYTHON_USEDEP}] diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index 1fb6af480b91..87b50f6e40b2 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -2,3 +2,4 @@ DIST faker-40.19.1.tar.gz 1969318 BLAKE2B b2e7fdda254c8c1c0a4ec2a756ec7b7b31f9c3 DIST faker-40.21.0.tar.gz 1970295 BLAKE2B 7df1c57d91d604e748532351240369d1b08992a3cecf2f60cf472a907e7ad8912befb2a9fc840fc28c1d1b5af96ed539d4083ead4e7005156973f4899677aa19 SHA512 64acde47e79732466efdf65cca8e76640bb2538956b72baafde307b412d7f54ebb9293bf1ec7b1a38e51cbcbc61fbe53c298bef5e4b014295f17043c464bbdb3 DIST faker-40.23.0.tar.gz 1972975 BLAKE2B bd31c81933c72a1cb367e764331295656e5b92f8b2aab19ee15bbf41a5c9cadae504e76068ee3882b90f13be9a323131e4d1b2af224f9462121acdbf9c6b5988 SHA512 734a4e51073596f6ba8b46cea54257e32f5f1567c21c44f15d82e5eff19a8209a07dd130767d57c02626d95e17cd517ee3c0aec3fc4682761b56e10c25058165 DIST faker-40.27.0.tar.gz 2018361 BLAKE2B 0a2caa035f137738669b57c50a79209f3c3dfedd0fd077992c2290d3cbde4fca3605d797630327cf82afac50f592cb972f10622832483ed45e7d18cd796906a2 SHA512 33734d76f291e6b36b3551201b6055c515d06d943ec1aaeeba739d38d4709849a99af785e1c49a5473ac12fc58d43114a5493a46de52a0d56861dbe5c84c9b0f +DIST faker-40.28.1.tar.gz 2022717 BLAKE2B a677249f4144ae6c123b438bae2e7d10c8e7faff839fe7371fe4c7d6fdbe61f0d70a4e90c0cc12448f857afb5aec1d4a424cd9ac3f998f5b78d5ff942aaf136d SHA512 3b0c86a85e4772a10b8995df39af498878d2961e4caa5bda61ef3a2f88e26dc1c3f97781f714e46ef67b0dece68ebfb37390379c06f5768a2914f074c7254d92 diff --git a/dev-python/faker/faker-40.28.1.ebuild b/dev-python/faker/faker-40.28.1.ebuild new file mode 100644 index 000000000000..125fe3904e57 --- /dev/null +++ b/dev-python/faker/faker-40.28.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2026 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_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +python_test() { + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/gherkin-official/gherkin-official-41.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-41.0.0.ebuild index 46e2dca9e598..b6d0b991f8b3 100644 --- a/dev-python/gherkin-official/gherkin-official-41.0.0.ebuild +++ b/dev-python/gherkin-official/gherkin-official-41.0.0.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/gherkin-${PV}/python LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 arm64" RDEPEND=" dev-python/typing-extensions[${PYTHON_USEDEP}] diff --git a/dev-python/markdown-include/markdown-include-0.8.1.ebuild b/dev-python/markdown-include/markdown-include-0.8.1.ebuild index e2e102728de5..f3aa3ff78c09 100644 --- a/dev-python/markdown-include/markdown-include-0.8.1.ebuild +++ b/dev-python/markdown-include/markdown-include-0.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,4 +30,5 @@ PATCHES=( "${FILESDIR}"/${PN}-0.8.1-setup.patch ) +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/mdx-gh-links/mdx-gh-links-0.4.ebuild b/dev-python/mdx-gh-links/mdx-gh-links-0.4.ebuild index 8673377385f6..450de9750203 100644 --- a/dev-python/mdx-gh-links/mdx-gh-links-0.4.ebuild +++ b/dev-python/mdx-gh-links/mdx-gh-links-0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild b/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild index 177bf7615442..2862214437a7 100644 --- a/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild +++ b/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,11 +10,11 @@ inherit distutils-r1 DESCRIPTION="Auto documentation for MkDocs" HOMEPAGE=" - https://github.com/tomchristie/mkautodoc/ + https://github.com/lovelydinosaur/mkautodoc/ https://pypi.org/project/mkautodoc/ " SRC_URI=" - https://github.com/tomchristie/mkautodoc/archive/${PV}.tar.gz + https://github.com/lovelydinosaur/mkautodoc/archive/${PV}.tar.gz -> ${P}.gh.tar.gz " @@ -32,6 +32,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest src_test() { diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index c5df3c7383c5..a755f0a44a30 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,2 +1,4 @@ DIST narwhals-2.22.1.tar.gz 647493 BLAKE2B 46d228e1d5dac6aefd084593e6caa0e44152f1a8747604c27c81c970605e6d76f4300df69064d8261b1dfcc19af3bb28fcb6ca2c696e7c8f657f2c2c54652f35 SHA512 88406008edb73f64fee1bc5ccdf9aeb9bd5e6a59c97955095b5540a19dd34f5c2813bba322285d8a2bf82706420e432efd1bacf59922d778f9069cab3ad99ae1 DIST narwhals-2.22.1.tar.gz.provenance 9801 BLAKE2B 292135ea0a646db5d29a90457dcfa1d3a95818106ff7f08cc7cbfcfe4ab82809727eede03da9c9512b9840ca39066e4b8107bebab02b0ee18c79f03f9e438cb5 SHA512 fc108f76456c48cb48e031d2832ac37536a9967b455e8ae809b3deb803981418cbf6ef3316901fd0cabf4d571b6c45e7678d3a9ca421e0bac8669051e47c42a2 +DIST narwhals-2.23.0.tar.gz 656209 BLAKE2B 160d4c985d20267dca45994690f531a7fcd9094de69517aba84c34783006ea60a58a810570a64c25c3ccfd4e906f3eeb221f531e755a79296695942da258ec05 SHA512 72752d620db34fd24fc048adb38ad8988ca88303d4bde18e4a47c21b3924699316141d7d111b2bf578a2a0f55568f9cb3112e27aad485684e53908c4698f2b3e +DIST narwhals-2.23.0.tar.gz.provenance 10087 BLAKE2B 7ea5b09a6d8bef5e790a7d631a4956205026422ed0b1c313a28e9e50b89c8af63c18b4378f251ea1b9fc47d7d9dc0493bbe64424092f9537f59de06b8733e351 SHA512 8dc8218f971eb799617a0ba7c2f98ceca2d123c00ad3d73cf49eea76070cd9fa5f3b404b7cf661c21754bbb08e46ae16a0340c6fe0e9130fdbda43180477ee0f diff --git a/dev-python/narwhals/narwhals-2.23.0.ebuild b/dev-python/narwhals/narwhals-2.23.0.ebuild new file mode 100644 index 000000000000..359955646416 --- /dev/null +++ b/dev-python/narwhals/narwhals-2.23.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/narwhals-dev/narwhals +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" +HOMEPAGE=" + https://github.com/narwhals-dev/narwhals/ + https://pypi.org/project/narwhals/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + >=dev-python/pandas-1.1.3[${PYTHON_USEDEP}] + >=dev-python/pyarrow-13.0.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-env ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # segfaults + # https://github.com/apache/arrow/issues/47252 + 'tests/modern_polars/unpivot_test.py::test_unpivot[pyarrow]' + # fragile to parallel merges that can cause non-atomic .dist-info + # changes + tests/system_info_test.py::test_get_deps_info + ) + + epytest --runslow --constructors="pandas,pandas[nullable],pandas[pyarrow],pyarrow" +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index 90b2a9bbd327..9526b4cf8e4a 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,2 +1,3 @@ DIST pillow-12.2.0.gh.tar.gz 47057046 BLAKE2B 448a928cdaef49c21db4b0b61e2045610ff6bf6c9c52c7ab541d531205149b8a60aa02b1e286c7dc15dac98fa23a07a4c685f524df6e7592013b0914e65a8cc8 SHA512 cd66b5b033f82127934624c474aed55c014d10d5e7cc9455ea6a3470d1b7e9f0b94ad2c0a5f1559e01ce003fc179b01fee89aa1b51d78dff3f04927d8252a41e +DIST pillow-12.3.0.gh.tar.gz 47120631 BLAKE2B 52b795378340207c692c716a65f1c6687415096fc9fb599395dbeef2f55ee8cc6a8be1845f7c4ec01e1962ade62b30a445eacf1d2f57355a67052f54ce3e2586 SHA512 41453e23021fdb08ed9bf8b67a912f8217010840f99665e49465088e76c608fca78c2ca4dda3de8728ba9f8002c7e98231135669990d88758c5944afa0a13f64 DIST pillow-test-images-7077675d2cda485d63de4aefe0fefbf6f655c5a0.gh.tar.gz 57430276 BLAKE2B 6e8dcde60832004f5a0ea0e14024fdcd0b08cf0e225f27e39b7c2058582d6d5efe7fcaccb5bd28754affa6fe4125735fb4beeaa2075e6aceea0a998ebc0747fe SHA512 795f015c9b73a8c941fb5cd880b1ab36b24d38612db53367ab0e6c05dd1cdbfd47034decb7e36d7de940eeea1582d644ca7bee3b131577578692569c2c60c32b diff --git a/dev-python/pillow/pillow-12.2.0-r1.ebuild b/dev-python/pillow/pillow-12.2.0-r1.ebuild index 25b890b693c8..212de0098fd6 100644 --- a/dev-python/pillow/pillow-12.2.0-r1.ebuild +++ b/dev-python/pillow/pillow-12.2.0-r1.ebuild @@ -35,7 +35,7 @@ S=${WORKDIR}/${MY_P} LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 arm64 ppc ~riscv x86" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ~ppc64 ~riscv x86" IUSE="avif examples imagequant +jpeg jpeg2k lcms raqm test tiff tk truetype webp xcb zlib" REQUIRED_USE=" raqm? ( truetype ) diff --git a/dev-python/pillow/pillow-12.3.0.ebuild b/dev-python/pillow/pillow-12.3.0.ebuild new file mode 100644 index 000000000000..01886feadd7f --- /dev/null +++ b/dev-python/pillow/pillow-12.3.0.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# setuptools wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 multiprocessing toolchain-funcs virtualx + +MY_PN=Pillow +MY_P=${MY_PN}-${PV} + +# upstream always fetches from main +TEST_IMAGE_COMMIT="7077675d2cda485d63de4aefe0fefbf6f655c5a0" + +DESCRIPTION="Python Imaging Library (fork)" +HOMEPAGE=" + https://python-pillow.github.io/ + https://github.com/python-pillow/Pillow/ + https://pypi.org/project/pillow/ +" +SRC_URI=" + https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/python-pillow/test-images/archive/${TEST_IMAGE_COMMIT}.tar.gz + -> pillow-test-images-${TEST_IMAGE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="avif examples imagequant +jpeg jpeg2k lcms raqm test tiff tk truetype webp xcb zlib" +REQUIRED_USE=" + raqm? ( truetype ) + test? ( jpeg jpeg2k lcms tiff truetype ) +" +RESTRICT="!test? ( test )" + +DEPEND=" + avif? ( media-libs/libavif:= ) + imagequant? ( media-gfx/libimagequant:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:=[jpeg,zlib] ) + truetype? ( + media-libs/freetype:2 + media-libs/harfbuzz:= + raqm? ( media-libs/raqm:= ) + ) + webp? ( media-libs/libwebp:= ) + xcb? ( x11-libs/libxcb ) + zlib? ( virtual/zlib:= ) +" +RDEPEND=" + ${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pybind11[${PYTHON_USEDEP}] + >=dev-python/setuptools-77[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # https://github.com/python-pillow/pillow/pull/7634 + "${FILESDIR}/${PN}-10.2.0-cross.patch" + ) + + distutils-r1_src_prepare + + if use test; then + mv "${WORKDIR}/test-images-${TEST_IMAGE_COMMIT}"/* \ + Tests/images || die + fi + + # just in case + rm -r src/thirdparty/{fribidi-shim,raqm} || die +} + +usepil() { + usex "${1}" enable disable +} + +python_configure_all() { + cat >> setup.cfg <<-EOF || die + [build_ext] + debug = True + disable_platform_guessing = True + $(usepil avif)_avif = True + $(usepil imagequant)_imagequant = True + $(usepil jpeg)_jpeg = True + $(usepil jpeg2k)_jpeg2000 = True + $(usepil lcms)_lcms = True + $(usepil raqm)_raqm = True + $(usepil tiff)_tiff = True + $(usepil truetype)_freetype = True + $(usepil webp)_webp = True + $(usepil xcb)_xcb = True + $(usepil zlib)_zlib = True + EOF + + tc-export PKG_CONFIG + export MAX_CONCURRENCY=$(makeopts_jobs) +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO (is clipboard unreliable in Xvfb?) + Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard + # requires xz-utils[extra-filters]? + Tests/test_file_libtiff.py::TestFileLibTiff::test_lzma + ) + + case ${ARCH} in + ppc) + EPYTEST_DESELECT+=( + # https://github.com/python-pillow/Pillow/issues/7008 + # (we've reverted the upstream patch because it was worse + # than the original issue) + Tests/test_file_libtiff.py::TestFileLibTiff::test_exif_ifd + ) + ;; + esac + + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + # leak tests are fragile and broken under xdist + # nonfatal implied by xvfb + nonfatal epytest -k "not leak" || die "Tests failed with ${EPYTHON}" +} + +python_install() { + python_doheader src/libImaging/*.h + distutils-r1_python_install +} + +python_install_all() { + if use examples ; then + docinto example + dodoc docs/example/* + docompress -x /usr/share/doc/${PF}/example + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pyaes/pyaes-1.6.1-r3.ebuild b/dev-python/pyaes/pyaes-1.6.1-r3.ebuild index 563f0b989031..237bb0869f7e 100644 --- a/dev-python/pyaes/pyaes-1.6.1-r3.ebuild +++ b/dev-python/pyaes/pyaes-1.6.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pydiffx/pydiffx-1.1.ebuild b/dev-python/pydiffx/pydiffx-1.1.ebuild index ea35a4d2b4f4..23c204595cfa 100644 --- a/dev-python/pydiffx/pydiffx-1.1.ebuild +++ b/dev-python/pydiffx/pydiffx-1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pydot/pydot-4.0.1.ebuild b/dev-python/pydot/pydot-4.0.1.ebuild index d7a7367cf749..3087daa4edd1 100644 --- a/dev-python/pydot/pydot-4.0.1.ebuild +++ b/dev-python/pydot/pydot-4.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pyformance/pyformance-0.4-r2.ebuild b/dev-python/pyformance/pyformance-0.4-r2.ebuild index 6d1b4fcc1b88..b9fe04887ba7 100644 --- a/dev-python/pyformance/pyformance-0.4-r2.ebuild +++ b/dev-python/pyformance/pyformance-0.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest PATCHES=( diff --git a/dev-python/pykakasi/pykakasi-2.3.0.ebuild b/dev-python/pykakasi/pykakasi-2.3.0.ebuild index 288185513e1a..620609fcb25b 100644 --- a/dev-python/pykakasi/pykakasi-2.3.0.ebuild +++ b/dev-python/pykakasi/pykakasi-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024-2025 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,7 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest PATCHES=( diff --git a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild index c19898e3c5b7..19691cec204b 100644 --- a/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild +++ b/dev-python/pymacaroons/pymacaroons-0.13.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pymetar/pymetar-1.4-r2.ebuild b/dev-python/pymetar/pymetar-1.4-r2.ebuild index 39c195f8ba1f..c1628fd61645 100644 --- a/dev-python/pymetar/pymetar-1.4-r2.ebuild +++ b/dev-python/pymetar/pymetar-1.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2025 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pysnmpcrypto/pysnmpcrypto-0.0.4.ebuild b/dev-python/pysnmpcrypto/pysnmpcrypto-0.0.4.ebuild index 76bc2dd4e4a0..515db477d365 100644 --- a/dev-python/pysnmpcrypto/pysnmpcrypto-0.0.4.ebuild +++ b/dev-python/pysnmpcrypto/pysnmpcrypto-0.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024-2025 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,4 +23,5 @@ RDEPEND=" dev-python/pycryptodome[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/pytest-lazy-fixtures/Manifest b/dev-python/pytest-lazy-fixtures/Manifest index 3101abb6a779..2b0a1cb45c68 100644 --- a/dev-python/pytest-lazy-fixtures/Manifest +++ b/dev-python/pytest-lazy-fixtures/Manifest @@ -1,2 +1 @@ -DIST pytest_lazy_fixtures-1.3.3.tar.gz 34294 BLAKE2B bab4edfca0a889893b4b098b9bce21202007965920b08330edd7fa34e9d31f6648f82a58be19aa61f33e006a8ed0fb0cbd7c845dffc0c0bc6c618549a24a2f99 SHA512 bc661cf44f204f29741eba70b3d83bab1ab9deaca55b1c93c9ef7a25989b8d85cf16315aa8b9e2a205eb1cbad1d4875d9c61be6a48297baa5e6d64fd5b947cff DIST pytest_lazy_fixtures-1.4.0.tar.gz 36188 BLAKE2B c950a222fc12f4fca293aff1ce68fa8d831c89d85b3c6a9e4d55b3f1076893bb906abf0b76a4a45052e6093681955416548773e2b86153f19678d12d0d17a9ce SHA512 05e083174cbb1e3f89fe714cbd302fe435d11ecf443476200df9f5ae026847ffd11e348f002ec7a257085179f8340cbf93f1062553e6538b475272fc629d4a6f diff --git a/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild deleted file mode 100644 index dc9151279ff8..000000000000 --- a/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.3.3.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# 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_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Allows you to use fixtures in @pytest.mark.parametrize" -HOMEPAGE=" - https://github.com/dev-petrov/pytest-lazy-fixtures/ - https://pypi.org/project/pytest-lazy-fixtures/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/pytest-7[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( "${PN}" ) -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - # test for pytest-deadfixtures compatibility - tests/test_deadfixtures_support.py -) diff --git a/dev-python/pytest-rerunfailures/Manifest b/dev-python/pytest-rerunfailures/Manifest index d3b0e0c263e1..ac6cc34593ff 100644 --- a/dev-python/pytest-rerunfailures/Manifest +++ b/dev-python/pytest-rerunfailures/Manifest @@ -1 +1,2 @@ DIST pytest_rerunfailures-16.3.tar.gz 34148 BLAKE2B 29e9d4e0f7455b7f41b7654e1399d0735f40ce508ce7def89eeb42aa4d1eaf2ab749b05312158e450316262ff6fa95ec6633345ad94f7c6d92165a07e4ea0e41 SHA512 084fe9eee35d7158d20ea9b0c49315c2cf6503a0a6e0aafabb9f4ec8e42955160cb0b9f2c75a8dc6fd1ab9188c5e1aa1a39bb26639ba0a94e9983de5a4ab3f5e +DIST pytest_rerunfailures-16.4.tar.gz 36635 BLAKE2B 7c58727d8a7a0525a385744df124b4c7cf0ae0342407e3f458809316b66afeae4f0635d210fdab4d3222c0795a53cb652b8c6ec926430406702ee1cec2cb7b72 SHA512 d8b9f6fec33305654b7283802cad6b3741d91e0157f1ba901aa4f75c853a3bd73e7be6be0de17ae95707f161755f7a0905267a9171c20fa904033fcb0ad460ef diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-16.4.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-16.4.ebuild new file mode 100644 index 000000000000..58e4cd8777e3 --- /dev/null +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-16.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin to re-run tests to eliminate flaky failures" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-rerunfailures/ + https://pypi.org/project/pytest-rerunfailures/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] + >=dev-python/pytest-8.2.3[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest diff --git a/dev-python/python-slugify/python-slugify-8.0.4.ebuild b/dev-python/python-slugify/python-slugify-8.0.4.ebuild index 62b691c8cfd9..e18cf88023d5 100644 --- a/dev-python/python-slugify/python-slugify-8.0.4.ebuild +++ b/dev-python/python-slugify/python-slugify-8.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pyupgrade/pyupgrade-3.21.2.ebuild b/dev-python/pyupgrade/pyupgrade-3.21.2.ebuild index 93823a57585a..f2bab31b30ed 100644 --- a/dev-python/pyupgrade/pyupgrade-3.21.2.ebuild +++ b/dev-python/pyupgrade/pyupgrade-3.21.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/qtsass/qtsass-0.4.0.ebuild b/dev-python/qtsass/qtsass-0.4.0.ebuild index eb542da5ca92..d22c67e6e9b7 100644 --- a/dev-python/qtsass/qtsass-0.4.0.ebuild +++ b/dev-python/qtsass/qtsass-0.4.0.ebuild @@ -26,10 +26,5 @@ RDEPEND=" >=dev-python/libsass-0.22.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - ) -" - +EPYTEST_PLUGINS=( flaky ) distutils_enable_tests pytest diff --git a/dev-python/seedir/seedir-0.5.1.ebuild b/dev-python/seedir/seedir-0.5.1.ebuild index 54f1e46d8575..54495368efe7 100644 --- a/dev-python/seedir/seedir-0.5.1.ebuild +++ b/dev-python/seedir/seedir-0.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2025 Gentoo Authors +# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,4 +26,5 @@ RDEPEND=" dev-python/natsort[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/spake2/Manifest b/dev-python/spake2/Manifest index a0dbf66952ae..68ed8caa4789 100644 --- a/dev-python/spake2/Manifest +++ b/dev-python/spake2/Manifest @@ -1,2 +1 @@ -DIST python-spake2-0.8.gh.tar.gz 62425 BLAKE2B 64215362af26fff0785fdabf4282f7111a4cc917750827075b616f009cb1fa6373fc2325382c26b43c051aa5b94e414ca2a5223d9ab666289eb2d04723b15cb5 SHA512 908c377c831f4a11551973ca917b113d51a66c533d35fd19b2692fdb7e575ed2a5045d9b632bc55c37b68ad092f01dff5da191e9dfbfb5599b72844788438d68 DIST python-spake2-0.9.gh.tar.gz 61563 BLAKE2B e8179a90bf71d72f19ae4bdeda2092147f409c8b5bf3b8eb98bb624e413bcbd73306de20ffa0d36fca010a00dea0f16aafa660f08ae5e15425c2756fafeaf24d SHA512 557b17b8e28214b9c2cd0362c991ac0f61996812fd747e66397c48fdbbb314eb4e9acba9670ca41d0924f4b688931f2b32a7e9ba947ee1db3df00e9e9670d497 diff --git a/dev-python/spake2/files/spake2-0.8-do_not_use_hkdf_package.patch b/dev-python/spake2/files/spake2-0.8-do_not_use_hkdf_package.patch deleted file mode 100644 index 40e9e17a6843..000000000000 --- a/dev-python/spake2/files/spake2-0.8-do_not_use_hkdf_package.patch +++ /dev/null @@ -1,113 +0,0 @@ -From 930bfabc17748ea3772e6a40b04e84fc4aafcf04 Mon Sep 17 00:00:00 2001 -From: meejah <meejah@meejah.ca> -Date: Wed, 9 Nov 2022 23:42:33 -0700 -Subject: [PATCH 1/2] use cryptography's HKDF implementation - ---- - setup.py | 2 +- - src/spake2/ed25519_basic.py | 2 +- - src/spake2/groups.py | 21 ++++++++++++++------- - src/spake2/test/test_compat.py | 9 +++++---- - 4 files changed, 21 insertions(+), 13 deletions(-) - -diff --git a/setup.py b/setup.py -index 660f055..ba3cc28 100755 ---- a/setup.py -+++ b/setup.py -@@ -79,5 +79,5 @@ def abbrev(t): - "Programming Language :: Python :: 3.6", - "Topic :: Security :: Cryptography", - ], -- install_requires=["hkdf"], -+ install_requires=["cryptography"], - ) -diff --git a/src/spake2/ed25519_basic.py b/src/spake2/ed25519_basic.py -index 1890be7..dbab56d 100644 ---- a/src/spake2/ed25519_basic.py -+++ b/src/spake2/ed25519_basic.py -@@ -273,7 +273,7 @@ def arbitrary_element(seed): # unknown DL - # oversized string (128 bits more than the field size), then reducing - # down to Q. But it's comforting, and it's the same technique we use for - # converting passwords/seeds to scalars (which *does* need uniformity). -- hseed = expand_arbitrary_element_seed(seed, (256/8)+16) -+ hseed = expand_arbitrary_element_seed(seed, int((256/8)+16)) - y = int(binascii.hexlify(hseed), 16) % Q - - # we try successive Y values until we find a valid point -diff --git a/src/spake2/groups.py b/src/spake2/groups.py -index de4f75d..66b08e7 100644 ---- a/src/spake2/groups.py -+++ b/src/spake2/groups.py -@@ -1,6 +1,7 @@ - from __future__ import division - import hashlib --from hkdf import Hkdf -+from cryptography.hazmat.primitives.kdf import hkdf -+from cryptography.hazmat.primitives import hashes - from .six import integer_types - from .util import (size_bits, size_bytes, unbiased_randrange, - bytes_to_number, number_to_bytes) -@@ -63,9 +64,12 @@ - - - def expand_password(data, num_bytes): -- h = Hkdf(salt=b"", input_key_material=data, hash=hashlib.sha256) -- info = b"SPAKE2 pw" -- return h.expand(info, num_bytes) -+ return hkdf.HKDF( -+ algorithm=hashes.SHA256(), -+ length=num_bytes, -+ salt=b"", -+ info=b"SPAKE2 pw" -+ ).derive(data) - - def password_to_scalar(pw, scalar_size_bytes, q): - assert isinstance(pw, bytes) -@@ -77,9 +81,12 @@ def password_to_scalar(pw, scalar_size_bytes, q): - return i % q - - def expand_arbitrary_element_seed(data, num_bytes): -- h = Hkdf(salt=b"", input_key_material=data, hash=hashlib.sha256) -- info = b"SPAKE2 arbitrary element" -- return h.expand(info, num_bytes) -+ return hkdf.HKDF( -+ algorithm=hashes.SHA256(), -+ length=num_bytes, -+ salt=b"", -+ info=b"SPAKE2 arbitrary element" -+ ).derive(data) - - class _Element: - def __init__(self, group, e): -diff --git a/src/spake2/test/test_compat.py b/src/spake2/test/test_compat.py -index 3c636be..1c1340c 100644 ---- a/src/spake2/test/test_compat.py -+++ b/src/spake2/test/test_compat.py -@@ -1,7 +1,8 @@ - import unittest - from binascii import hexlify, unhexlify - from hashlib import sha256 --from hkdf import Hkdf -+from cryptography.hazmat.primitives.kdf import hkdf -+from cryptography.hazmat.primitives import hashes - from .myhkdf import HKDF as myHKDF - from spake2 import groups, ed25519_group - from spake2.spake2 import (SPAKE2_A, SPAKE2_B, SPAKE2_Symmetric, -@@ -213,14 +214,14 @@ def test_vectors(self): - {"salt": "00", "IKM": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "info": "", "L": 4, "OKM": "37ad2910"}, - ] - --class HKDF(unittest.TestCase): -+class TestHKDF(unittest.TestCase): - def test_vectors(self): - for vector in HKDF_TEST_VECTORS: - salt = unhexlify(vector["salt"].encode("ascii")) - IKM = unhexlify(vector["IKM"].encode("ascii")) - info = unhexlify(vector["info"].encode("ascii")) -- h = Hkdf(salt=salt, input_key_material=IKM, hash=sha256) -- digest = h.expand(info, vector["L"]) -+ h = hkdf.HKDF(algorithm=hashes.SHA256(), length=vector["L"], salt=salt, info=info) -+ digest = h.derive(IKM) - self.assertEqual(digest, myHKDF(IKM, vector["L"], salt, info)) - #print(hexlify(digest)) - expected = vector["OKM"].encode("ascii") diff --git a/dev-python/spake2/spake2-0.8-r1.ebuild b/dev-python/spake2/spake2-0.8-r1.ebuild deleted file mode 100644 index 2ceadf9562df..000000000000 --- a/dev-python/spake2/spake2-0.8-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -MY_P=python-spake2-${PV} -DESCRIPTION="python implementation of SPAKE2 password-authenticated key exchange algorithm" -HOMEPAGE=" - https://github.com/warner/python-spake2/ - https://pypi.org/project/spake2/ -" -SRC_URI=" - https://github.com/warner/python-spake2/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${P}-do_not_use_hkdf_package.patch -) - -distutils_enable_tests pytest - -src_prepare() { - # remove outdated bundled versioneer - rm versioneer.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/spake2/spake2-0.9.ebuild b/dev-python/spake2/spake2-0.9.ebuild index 6a424a6a7bba..e45d6b4456fb 100644 --- a/dev-python/spake2/spake2-0.9.ebuild +++ b/dev-python/spake2/spake2-0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -32,6 +32,7 @@ BDEPEND=" dev-python/versioneer[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest src_prepare() { diff --git a/dev-python/sphinx-argparse/Manifest b/dev-python/sphinx-argparse/Manifest index 8ff35ffbbb5d..9e18df21187d 100644 --- a/dev-python/sphinx-argparse/Manifest +++ b/dev-python/sphinx-argparse/Manifest @@ -1 +1,2 @@ DIST sphinx_argparse-0.5.2.tar.gz 27838 BLAKE2B 273b08c02ed9d43483988170857389c3e933a850774a721e59049c8c42c82f85cfd60aa324d8189a9f06993166bbe079449fff48a4947c271a8ebe19cbb13d86 SHA512 d200099392f7ab657f98b98bf0a02992baa5e2762805f4b066cc971a8181fb53ea20c522fbc1927e7be73cb69725c31a0aa9433b59a1deea0d1a805321fa77dd +DIST sphinx_argparse-0.6.0.tar.gz 37208 BLAKE2B 5af6dfaa389ddb646f979fd1b95917e4b5c0b27c86d3fcc56f9656f02b33a694d5862f09c78959f861b75405cc6a5846b2addac3bc3edb50c1666d78e44b2342 SHA512 98654e2866adb677953020b29419fe1043a6dcb49d99e95781297505ee17c62226782db36d0e243b6efda1cdc5afbf461230adb863e142c9852e688da8fa5900 diff --git a/dev-python/sphinx-argparse/sphinx-argparse-0.6.0.ebuild b/dev-python/sphinx-argparse/sphinx-argparse-0.6.0.ebuild new file mode 100644 index 000000000000..658755212875 --- /dev/null +++ b/dev-python/sphinx-argparse/sphinx-argparse-0.6.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension that automatically documents argparse commands and options" +HOMEPAGE=" + https://github.com/sphinx-doc/sphinx-argparse/ + https://pypi.org/project/sphinx-argparse/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/docutils-0.19[${PYTHON_USEDEP}] + >=dev-python/sphinx-5.1.0[${PYTHON_USEDEP}] + >=dev-python/commonmark-0.5.6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-2.0.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-2.0.ebuild index c751ccb5a433..6c2d274704b2 100644 --- a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-2.0.ebuild +++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,6 +27,7 @@ RDEPEND=" dev-python/sqlalchemy[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest src_prepare() { diff --git a/dev-python/syrupy/Manifest b/dev-python/syrupy/Manifest index fbc6f6d721ae..95d843d5e8fb 100644 --- a/dev-python/syrupy/Manifest +++ b/dev-python/syrupy/Manifest @@ -1,4 +1,4 @@ -DIST syrupy-5.3.1.tar.gz 83987 BLAKE2B c4be861eb695f7615a2c47fa23da065516e14df8541e89c69da33be85c01590cb663138f3d97e339e9b8273405b1fc35fa272b55ebfba698025b03bfff63d34c SHA512 d9e2efcab3ecef699df14b6a8dfdc1fa28e7007010e042013e5d43d56c23ea912311be0ff397db4add7e7a2f1e5a8b8ae401f57e23f759abe70bdf6ad0c6774d -DIST syrupy-5.3.1.tar.gz.provenance 9793 BLAKE2B de4074fca40c56f3517040d98c26ac2f5985ef33fcd14a0146054475f1c3adc6e23a322b81191fb84c296c9728fa02d0b193a0c0373151d4c3287333e78251c8 SHA512 f48bb5a19575a6122fd29d250c0ad28ef18212bad80e43b4407f19650f5845361f1e1e4a097e95f8ec501a7b445af85b8213dff726821378f0cdd42942f24929 DIST syrupy-5.3.4.tar.gz 87078 BLAKE2B 5cdd37f060611cf651e510cc3f7e9ba684c4ff561f8c6e70fbd494f2e2c8a865f1cdc30a0f15e7e1d8cb86612a0416a02c3d80c03df1cd91a04a1841087298a2 SHA512 c5caabfcd17862c352efe49035ebd68960dcfe6b5fb0830d67350eae3236c2f385e9bd6c046a4bd0216e2f8e8609d4f1aebdf12083598ba14f213c65ebd40f4a DIST syrupy-5.3.4.tar.gz.provenance 9793 BLAKE2B e5ced34de898326a3df3d7c9f89b63d3ad6958aefef3a1c83bf85a4087d56cfcad8d05cf2889a93d2b10397055dad36b05806982c426bbeeb6d7ab7ad4a42cb4 SHA512 52cfaec0f39b4d987277937422229c2c8f36728e1dbeb353522cdbdb5276c68e1b4733b3c1e4993736fc9c0165e1b8c75961d5eda9756944b72de391f510cb3b +DIST syrupy-5.4.0.tar.gz 87881 BLAKE2B c2dabe23553234f39553ad83c00263467d1f508c1d70be5ad5c16bf72a16468111092eea9d1f6bdeb47f385d64c6a652afdde9a0c8a1a2f3c890db003d77b215 SHA512 153a979b9ab28b8823e15e8b7b058b0b768984c9e11ba3e06b35b7fbccc580191278c45d59be6e89b236a0f6133815c6c9baeef8456e2a1421cc589392d1c22c +DIST syrupy-5.4.0.tar.gz.provenance 9934 BLAKE2B 399bc3b67ff9cfc197a9ef576f5cd2d33f0deb5a702604906566156f848fe943b4f2712b5290975bf6a874d7880dd8fa2aac7b9a97824f69ec2a229bba7fea39 SHA512 0cf10057cca9807e7e961f662bf855f8c1ba819f7e5ee0cd5e6fe71284a314e3e93af5596f61ac4cca545d378005e40547c2fa2d6f74899b61748171c689c553 diff --git a/dev-python/syrupy/syrupy-5.3.1.ebuild b/dev-python/syrupy/syrupy-5.4.0.ebuild index 79ebfc3cbb57..79ebfc3cbb57 100644 --- a/dev-python/syrupy/syrupy-5.3.1.ebuild +++ b/dev-python/syrupy/syrupy-5.4.0.ebuild diff --git a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild index 0b287dcaf892..241d154e5232 100644 --- a/dev-python/three-merge/three-merge-0.1.1-r1.ebuild +++ b/dev-python/three-merge/three-merge-0.1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,11 +26,5 @@ RDEPEND=" dev-python/diff-match-patch[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - +EPYTEST_PLUGINS=( flaky pytest-timeout ) distutils_enable_tests pytest diff --git a/dev-python/tinycss2/tinycss2-1.5.1.ebuild b/dev-python/tinycss2/tinycss2-1.5.1.ebuild index f1493f9d1a58..9db9b83d76ab 100644 --- a/dev-python/tinycss2/tinycss2-1.5.1.ebuild +++ b/dev-python/tinycss2/tinycss2-1.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=flit +DISTUTILS_USE_PEP517=flit-core PYPI_VERIFY_REPO=https://github.com/Kozea/tinycss2 PYTHON_COMPAT=( python3_{13..14} ) diff --git a/dev-python/tinyhtml5/tinyhtml5-2.1.0.ebuild b/dev-python/tinyhtml5/tinyhtml5-2.1.0.ebuild index f0e212cb07ea..c3cca209cb92 100644 --- a/dev-python/tinyhtml5/tinyhtml5-2.1.0.ebuild +++ b/dev-python/tinyhtml5/tinyhtml5-2.1.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=flit +DISTUTILS_USE_PEP517=flit-core PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi diff --git a/dev-python/trakit/trakit-0.2.5.ebuild b/dev-python/trakit/trakit-0.2.5.ebuild index 8383110fc182..91f8db29b4f6 100644 --- a/dev-python/trakit/trakit-0.2.5.ebuild +++ b/dev-python/trakit/trakit-0.2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index 276ec59ad61c..b6dfa2d90222 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1,2 +1,4 @@ DIST treq-25.5.0.tar.gz 83588 BLAKE2B 671e3e1f79f76abd1bda8b7826500bfc18c2d0bb192c668667f138fc123b178dcaee33e99e29f0ef437cbcaf12b511d54641b6300e6f068e85850a178dcf6617 SHA512 59fb457c2b4bc60ffa6fc0649c55fedcf4c64fdc43d7ea5c74241ab8e7a8afc23f878138dea249890e64ac0ba33959e8de443decb6ac388a976d8d4dabf64086 DIST treq-25.5.0.tar.gz.provenance 9226 BLAKE2B 74d098c97cc3d3587cb75313de70e8d4ce0538e3628a6778ae0408147833759b6cfbc67d68726fc911550396c87b091b776e51633f1d9031a6f6dc2bfe32bada SHA512 07db7962c10f74fa5bbde44e04a4d62cd9834cbfc9a02cc2ca356791d7f86e61b7aeb1e0d4476e5fe0c67613640abb72bd926996f327ea3b205738dba2df15cf +DIST treq-26.7.0.tar.gz 81748 BLAKE2B 245c22c3504e8bac4049fd91f8d234835e0d5ffd98db2a6e79e1eeb8e7b1da7326c8532d899a6408005398e268fa382d1e2bf302f16b287bc3b823607a7b27b0 SHA512 5fba3c6f13804f7004e13a83e512f3bfb65e0d208df06aaa0d1968e65399b42337a848ae6153a19e896fdb0919b3edb8da09d48f91f9ef3053379a26c086cc9d +DIST treq-26.7.0.tar.gz.provenance 9624 BLAKE2B a1cfe43820e7edefd93b7e1ddb16cfabe91f05d4fd35eca1c9004bdf3b08a90dfdaed4d8adee8efb12b483846f333ddc259974a6ba9287b24c45a8c47c7b5cf7 SHA512 a5b3d848db3c2694b964610de9cc8b963ae10ee48304fa02826799d3b6eee0f15f174bccdc859d174e35fd205f1a9e096e35f0071015b6bf5fbb50c09d67ec1c diff --git a/dev-python/treq/treq-26.7.0.ebuild b/dev-python/treq/treq-26.7.0.ebuild new file mode 100644 index 000000000000..aa68a7de80c2 --- /dev/null +++ b/dev-python/treq/treq-26.7.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/twisted/treq +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A requests-like API built on top of twisted.web's Agent" +HOMEPAGE=" + https://github.com/twisted/treq/ + https://pypi.org/project/treq/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] + >=dev-python/incremental-24.7.2[${PYTHON_USEDEP}] + dev-python/multipart[${PYTHON_USEDEP}] + >=dev-python/twisted-22.10.0[ssl,${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/incremental-24.7.2[${PYTHON_USEDEP}] + test? ( + dev-python/httpbin[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +src_prepare() { + distutils-r1_src_prepare + + # fix relative path for docs generation + sed -e 's@("..")@("../src")@' -i docs/conf.py || die +} + +python_test() { + "${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/warlock/warlock-2.1.0.ebuild b/dev-python/warlock/warlock-2.1.0.ebuild index 37420d54aa27..4cc094701b73 100644 --- a/dev-python/warlock/warlock-2.1.0.ebuild +++ b/dev-python/warlock/warlock-2.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=flit +DISTUTILS_USE_PEP517=flit-core PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 @@ -27,6 +27,7 @@ RDEPEND=" =dev-python/jsonschema-4*[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest src_prepare() { diff --git a/dev-python/webob/webob-1.8.10.ebuild b/dev-python/webob/webob-1.8.10.ebuild index 1722c15d2fa6..22415bc49629 100644 --- a/dev-python/webob/webob-1.8.10.ebuild +++ b/dev-python/webob/webob-1.8.10.ebuild @@ -23,14 +23,14 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 RDEPEND=" $(python_gen_cond_dep ' >=dev-python/legacy-cgi-2.6[${PYTHON_USEDEP}] - ' 3.{13..14}) + ' 3.{13..15}) " EPYTEST_PLUGINS=() distutils_enable_tests pytest python_test() { - if [[ ${EPYTHON} == python3.14* ]] ; then + if [[ ${EPYTHON} == python3.1[45]* ]] ; then EPYTEST_DESELECT+=( # https://github.com/Pylons/webob/issues/479 tests/test_in_wsgiref.py::test_interrupted_request diff --git a/dev-python/wsproto/wsproto-1.3.2.ebuild b/dev-python/wsproto/wsproto-1.3.2.ebuild index 7c02911a32bd..b35008fd55b3 100644 --- a/dev-python/wsproto/wsproto-1.3.2.ebuild +++ b/dev-python/wsproto/wsproto-1.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/x-wr-timezone/x-wr-timezone-2.0.1.ebuild b/dev-python/x-wr-timezone/x-wr-timezone-2.0.1.ebuild index 36c3a26790df..bd62155e4db3 100644 --- a/dev-python/x-wr-timezone/x-wr-timezone-2.0.1.ebuild +++ b/dev-python/x-wr-timezone/x-wr-timezone-2.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,11 +10,11 @@ inherit distutils-r1 DESCRIPTION="Convert calendars using X-WR-TIMEZONE to standard ones" HOMEPAGE=" - https://github.com/niccokunzmann/x-wr-timezone/ + https://github.com/pycalendar/x-wr-timezone/ https://pypi.org/project/x-wr-timezone/ " SRC_URI=" - https://github.com/niccokunzmann/x-wr-timezone/archive/v${PV}.tar.gz + https://github.com/pycalendar/x-wr-timezone/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz " @@ -29,11 +29,11 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/pytest-click[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-click ) distutils_enable_tests pytest EPYTEST_IGNORE=( diff --git a/dev-python/xvfbwrapper/Manifest b/dev-python/xvfbwrapper/Manifest index a931e7f03420..d3223930229a 100644 --- a/dev-python/xvfbwrapper/Manifest +++ b/dev-python/xvfbwrapper/Manifest @@ -1,2 +1,3 @@ DIST xvfbwrapper-0.2.23.tar.gz 13130 BLAKE2B 77556dafbaec6a74db9d6033424cf4d51225ca98645e077aa3e57798c74dc9dcc0f2dcada6dc1114bd2b0ecbda27dfe0d70a62b608fbaf0f8406d9f6784acd36 SHA512 92c1887f8a16b2df12f410b26abc919f59c3e3e50517edcbed26f31d9602f23c0e284f1eada99c3b0a30f374fd2df1dba29422cf3b15446ca2404aa4797f80b4 DIST xvfbwrapper-0.2.25.tar.gz 12711 BLAKE2B dc063eab0316f10797926f59714317cfe58a7692234ad451b160641e1561ff3eb51a5fb15c3803b54507e42dc4be4e87ffc9723dc901b29221fd910f0adf01ae SHA512 8fd1d33282c18f4e98a399b3ef8fb640ca8acf8b323b90e732c23a5c1168b6eff7a89314ad9508ec7d1c2ac8a0c72b723199629a6dcfc2df353113df37012127 +DIST xvfbwrapper-0.2.27.tar.gz 12716 BLAKE2B ae79a18c0bce0ce2ba48242b845370083b3db70411c22b59deacbba1dc727a320f27c93613b71002c3dcbb0ecb3ac2b9b1590d9f01c1b77b8817a676672b7d15 SHA512 4cf5254767d483dad45d9365e9cc09c98a1bce0ea730994d5db0516f7ff84596d06d7ca0fde884687920052742390ee981af2241b8db4c95e850aada7c23575c diff --git a/dev-python/xvfbwrapper/xvfbwrapper-0.2.27.ebuild b/dev-python/xvfbwrapper/xvfbwrapper-0.2.27.ebuild new file mode 100644 index 000000000000..787856574075 --- /dev/null +++ b/dev-python/xvfbwrapper/xvfbwrapper-0.2.27.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for running a display inside X virtual framebuffer" +HOMEPAGE=" + https://github.com/cgoldberg/xvfbwrapper/ + https://pypi.org/project/xvfbwrapper/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-base/xorg-server[xvfb] +" +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index 1dbc9210a76a..fdd30299c9c3 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,4 +1,2 @@ -DIST yarl-1.23.0.tar.gz 194676 BLAKE2B aeef8f23358fcd9a003f5bb78e220197cb4c9eb3f77c594a2d0de887541ab0ea342054b4ee07981ebcf93815f72b447e254c93bd7d433030dbaea1961184b3bb SHA512 b696d996a335a27590579142c90d0787965801df023e867ed7bda2d0e21b5bdf8ff34673a236e5fdbb1cbb492798173a6f7fefc8b3c1fb30677516762d7fb89e -DIST yarl-1.23.0.tar.gz.provenance 9221 BLAKE2B b38cc0d9d8d3d5cb564dea65b98ff28b0b8d6547393b343581389ed096d9365d5bb394d3a7b1dee40ab86fd486febb3dd0d1663ca6b7d0949f61ed0eb6292400 SHA512 27ba254d9262ba4ae43de0fcc7dbc67085ae84402d4c94dfe48350dc3a1f4cdc7e898a39bfc723cf2e1246b76de1be8f3f77362d9614eb8a00029e595b539f31 DIST yarl-1.24.2.tar.gz 210798 BLAKE2B 24307407fe04c59e33a34bc4c8a529f47966328a592134fc7af3c8fe7170404f5bc7cf0886c05b6d26fae62e7f42470491e92161d71ceb6757998f13a9724942 SHA512 1804d105d20d828c29827cf593aecabb3369af3a5edb62c46af4daa54bb39e452b815258e2a5e6a9fcfcd2485d93e4354822549abd3de29cd681aa0d04e46aab DIST yarl-1.24.2.tar.gz.provenance 9271 BLAKE2B 2cecf60ef6c52ab36fd04d243d854dcff16f7d37228b941d2ceda934a4a65ed94eb3d8e73f93df7e51cb84cd52a71c701b1f251667c6e17ea597bcef9430f86a SHA512 8bbdecb0632757b2e63428d2ba12dc600366583ec3e41bc7409a57c0ae939d09cfb6b0273a1d015e6bdcc480d82954a23571d2fde0c00b0f3b484fb83c8efd4c diff --git a/dev-python/yarl/yarl-1.23.0.ebuild b/dev-python/yarl/yarl-1.23.0.ebuild deleted file mode 100644 index 977ab5b19ce1..000000000000 --- a/dev-python/yarl/yarl-1.23.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=standalone -PYPI_VERIFY_REPO=https://github.com/aio-libs/yarl -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Yet another URL library" -HOMEPAGE=" - https://github.com/aio-libs/yarl/ - https://pypi.org/project/yarl/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -RDEPEND=" - >=dev-python/idna-2.0[${PYTHON_USEDEP}] - >=dev-python/multidict-4.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.1[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - dev-python/expandvars[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( hypothesis ) -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # override insane flag defaults - cat >> packaging/pep517_backend/_cython_configuration.py <<-EOF || die - @contextmanager - def patched_env(*args, **kwargs): - yield - EOF -} - -python_compile() { - local -x YARL_NO_EXTENSIONS=0 - if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then - YARL_NO_EXTENSIONS=1 - fi - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # benchmarks - tests/test_quoting_benchmarks.py - tests/test_url_benchmarks.py - ) - - local opts=() - # note different boolean logic than for backend (sigh) - local -x YARL_NO_EXTENSIONS= - if ! use native-extensions || [[ ${EPYTHON} != python* ]]; then - YARL_NO_EXTENSIONS=1 - fi - - rm -rf yarl || die - epytest -o addopts= "${opts[@]}" -} diff --git a/dev-python/yaspin/yaspin-3.4.0.ebuild b/dev-python/yaspin/yaspin-3.4.0.ebuild index af6779c42f7d..8d5fbd6666f6 100644 --- a/dev-python/yaspin/yaspin-3.4.0.ebuild +++ b/dev-python/yaspin/yaspin-3.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=poetry +DISTUTILS_USE_PEP517=poetry-core PYTHON_COMPAT=( python3_{13..14} ) PYPI_VERIFY_REPO=https://github.com/pavdmyt/yaspin |
