diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-17 07:16:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-17 07:16:29 +0000 |
| commit | d0fb07699e3e62f12bce95adb79fc035d31a2ac8 (patch) | |
| tree | 415eb354c741046da424dc98ddbe9d2036c106f7 /dev-python | |
| parent | c80a086d3e4b91d45c159216e76ae66ed9f05aa2 (diff) | |
| download | baldeagleos-repo-d0fb07699e3e62f12bce95adb79fc035d31a2ac8.tar.gz baldeagleos-repo-d0fb07699e3e62f12bce95adb79fc035d31a2ac8.tar.xz baldeagleos-repo-d0fb07699e3e62f12bce95adb79fc035d31a2ac8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
49 files changed, 1198 insertions, 68 deletions
diff --git a/dev-python/aiorpcx/Manifest b/dev-python/aiorpcx/Manifest index dffa34dd1f32..1b023ac9e896 100644 --- a/dev-python/aiorpcx/Manifest +++ b/dev-python/aiorpcx/Manifest @@ -1,2 +1,3 @@ DIST aiorpcX-0.22.1.gh.tar.gz 75206 BLAKE2B 92c481388198fec94faa10482ad4195fe6dce5ae4aa445ce2812e1e81e084c629712b87a3c157aa33ae42335c1a96bdcafa5e389802740fcae8eb9e4aaf43dd2 SHA512 3484da36ce6042d8d4c6b168fd2326c0fc77a825691b95631e54510697708a27ea07e9a808445d504056432adf04f04cb0bc28d4b7194c55c1995096bb938b4d DIST aiorpcX-0.23.1.gh.tar.gz 70759 BLAKE2B e61aeee430670962491d165fe6841653b035b96cd07a70e6be0a0f4f5d5891859398826e4a964cd119ae7e42f2e02808363ab44b6b8f28054d86539c5067cf7b SHA512 e92f68da0783bcf66926047ab2af12b5971f4bab0a028a639e53440c9cfc39ba54ddbdd1c2a20a6dacf73dac583305f692851c0d911cd68d6aabdbe131b1a8e1 +DIST aiorpcX-0.24.gh.tar.gz 70778 BLAKE2B d747fa2fe37eb67782c1c6327c45afcef1b332c177962590f81e220fa8eb6b19a95f8926fb48e71a2713bc1760e46d570c81375bcf89cb6787c8cd68c4d41d43 SHA512 e2701b6625982b10c01e6ee59fdfabb2dd2e0595cddf6b3cbaeb36692273f74eb73f9b0336fd27922cf08ac76a3020f8f5515d9b38c9fb37dd33cde78f3c32b8 diff --git a/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild b/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild index cce59ff1c673..80eb2bfe38df 100644 --- a/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild +++ b/dev-python/aiorpcx/aiorpcx-0.23.1.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/aiorpcx/aiorpcx-0.24.ebuild b/dev-python/aiorpcx/aiorpcx-0.24.ebuild new file mode 100644 index 000000000000..b08ceb550b7a --- /dev/null +++ b/dev-python/aiorpcx/aiorpcx-0.24.ebuild @@ -0,0 +1,40 @@ +# 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 + +MY_P=aiorpcX-${PV} +DESCRIPTION="Generic async RPC implementation, including JSON-RPC" +HOMEPAGE=" + https://github.com/kyuupichan/aiorpcX/ + https://pypi.org/project/aiorpcX/ +" +SRC_URI=" + https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/uvloop[${PYTHON_USEDEP}] + >=dev-python/websockets-0.14[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # require Internet + tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good +) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 3f0266e43213..5beaf7c24b0e 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B e333a53118122ddd70e77e3f158171507e64 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 +DIST boto3-1.36.1.gh.tar.gz 923135 BLAKE2B 7935b58d3a5815ec5e34541981d18c82400e0ba31b27956106d408732887cc8be560831b6aa4397fca91d1caed19f6a03b0cdf13a47735119c5d9246ef237b40 SHA512 b0c5ef5d34068290d4de7e546131f0ccfded90db61f4e480ed98627bf7a649b07311d3ebff85d4782bd46fd7749ef3ac90fd7530f8d9bb035f6a5bafcb8ed38f diff --git a/dev-python/boto3/boto3-1.36.1.ebuild b/dev-python/boto3/boto3-1.36.1.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.1.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 1a006aea309e..7654b32acccf 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.35.97.gh.tar.gz 14178448 BLAKE2B dd5f48480abe1495925215a77ca29a4 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 +DIST botocore-1.36.1.gh.tar.gz 14190157 BLAKE2B ff3c5ef62d6eb7c3907187ccb29bedc4515456d1d50fe3169d27dfd6e8374d953a33761dce0958131fb8d25681be3dfc3b07495e0082292a278695199a93d1bf SHA512 cc50a7b84c8002dad65434899958ef07b0fd9368efeed59d1419580c96824a0e4f34edbf39668138a200169cfdec3820d5ce669b8e0aedf498c7c45497efc127 diff --git a/dev-python/botocore/botocore-1.36.1.ebuild b/dev-python/botocore/botocore-1.36.1.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.36.1.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/cstruct/Manifest b/dev-python/cstruct/Manifest index 3229b3e29c9f..ecbc39030375 100644 --- a/dev-python/cstruct/Manifest +++ b/dev-python/cstruct/Manifest @@ -1 +1,2 @@ DIST python-cstruct-5.3.gh.tar.gz 38987 BLAKE2B 49fc1d7bc70faa1b437a82e22c5e187800dbaacd152685eae2defe3c6cf748ebe73910cf43066661b9f456261619a59c1ac546dc8ddc461bd1967bee6ffe7672 SHA512 71ad411c6733676c165c9724554a7c1b5f56921ac925020817d812b53b1dfcc9a30d794e8aa8da75bae144e3d659a7426034b5cced4262a699e4626e287b3790 +DIST python-cstruct-6.0.gh.tar.gz 40316 BLAKE2B 7dfc5c7515c08f18795dba886cfec64c4a86780b721738bd0377c85d62543bcb8ebdb854c4b1a24d0972f73435b92deb3ca6bbbf6324352d6f34ff582775477c SHA512 77ca6876cfc68e0c27a84eebcf3a356d3a9241cb68b7e912dbd9db29d17f074f115d983de6216a068d754506f301616ed0e7e9284023f7a27304e787beb7a547 diff --git a/dev-python/cstruct/cstruct-6.0.ebuild b/dev-python/cstruct/cstruct-6.0.ebuild new file mode 100644 index 000000000000..56979994cb87 --- /dev/null +++ b/dev-python/cstruct/cstruct-6.0.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} ) + +inherit distutils-r1 + +MY_P=python-cstruct-${PV} +DESCRIPTION="C-style structs for Python" +HOMEPAGE=" + https://github.com/andreax79/python-cstruct/ + https://pypi.org/project/cstruct/ +" +SRC_URI=" + https://github.com/andreax79/python-cstruct/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( README.md ) + +distutils_enable_tests pytest diff --git a/dev-python/emoji/Manifest b/dev-python/emoji/Manifest index 069ae8f08f35..910ff4bd0f7b 100644 --- a/dev-python/emoji/Manifest +++ b/dev-python/emoji/Manifest @@ -1 +1,2 @@ DIST emoji-2.14.0.gh.tar.gz 664189 BLAKE2B 1bde169cfb1d82d86cc2a5720036fdc44e2009880c21756bc48588f0e6b8e34a512309b0b01899717c49fc9dd6800344e182386e72d0824f120012a29941d8c2 SHA512 6e91a67702b42e246003feca13b24794faf55cbcbcc06c66ed7671f0407cf68ac66f8b076655b550c5b5ed7835d1c13ba680128fea8a656721780eac2fd9ea46 +DIST emoji-2.14.1.gh.tar.gz 668132 BLAKE2B 99e1d0dbf7694ff44a2dab4d3c3095c866dd48603f3b394fcad05d156014186673dd9117a7f6d885da859c34d869ee72b34c14ded1e7ccccf64f85f231cb098f SHA512 05151df1ddda61efad85c42f4f2c0e049883bd9a2c1a2ffdda59aa9e90c1105662f8529071aa507a8ee7fa264893db45450ae65f6727bec785c7c485e93f6ef2 diff --git a/dev-python/emoji/emoji-2.14.1.ebuild b/dev-python/emoji/emoji-2.14.1.ebuild new file mode 100644 index 000000000000..295ec847107a --- /dev/null +++ b/dev-python/emoji/emoji-2.14.1.ebuild @@ -0,0 +1,25 @@ +# 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="Emoji for Python" +HOMEPAGE=" + https://github.com/carpedm20/emoji/ + https://pypi.org/project/emoji/ +" +SRC_URI=" + https://github.com/carpedm20/emoji/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index fbd1fa01a8d8..4a12d1c42fdf 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,2 +1,2 @@ -DIST griffe-1.5.1.gh.tar.gz 385601 BLAKE2B 0d38626937af61000d2e0e1520353b00b103b33eccb9dc356e93615d0a85cc3a23d51cf9967e98666fbebb81368486bd1c87731ee9ea4f102586cce56abe3002 SHA512 9c4edbba478adb480aff15590c2b2a0c9619298652f34606f872088b05a60ce39d2f3ae8ca6a60c6fdc03a1e7ac1c8ec3a0ac6bae21043d349b87edd95b8e500 DIST griffe-1.5.4.gh.tar.gz 391756 BLAKE2B 61f027aaaff3a1476c74646322d01db4c7f1dc2cc6c70b5d6dc27c53b71967a2304870e916120e5777612f36ce3b208227e06824bb6b5a3db0216e1016f416c5 SHA512 fa924f62a03c94f1ad45cbbff8f38262b24883ff464e3c72bce08bcdfee0722aa54a84660894e2a75a7294a041d3c928e2ce2e210c8229951d0b7e8453c88351 +DIST griffe-1.5.5.gh.tar.gz 393243 BLAKE2B a365cd210d3c11ea3e327bd38298a81b4849f0f902db949c84a4e745766753191df461cf6309abd0c3f3bc340f9cc5303484549acd7c3666595bfec600835f9d SHA512 49757656dd7ddbcb648329fb92d21742c69d13ebe49e725d70c945726833236f128851434a0095d725e4e74624473bc86948094d2d86bc898296bd860569b6cc diff --git a/dev-python/griffe/griffe-1.5.1.ebuild b/dev-python/griffe/griffe-1.5.5.ebuild index 06ef983f39dd..393939f16103 100644 --- a/dev-python/griffe/griffe-1.5.1.ebuild +++ b/dev-python/griffe/griffe-1.5.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/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 08fd177f658e..d0c6584e8956 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.123.16.gh.tar.gz 9507597 BLAKE2B 15876ea1a5a8c7916ea8724a84889 DIST hypothesis-6.123.17.gh.tar.gz 9508250 BLAKE2B 494c41299a646856050889e2093dae477386c76ac3e57576698178a65cfe4b3bb7a2cfe19204904ae0ca8d25cf8d347389c7eb76b7d8ac046067fc4b11bd509f SHA512 73f2c2cd1bb9063d74448cfba0f85308398b52fcb0cd948a64b6396f698b914154a93b7afdf2b3c32a902f21f6a84996218572af700c35c518d9a41bbe6cae8f DIST hypothesis-6.123.2.gh.tar.gz 9506171 BLAKE2B a7033cf2b5d56753ce19c5b369889b62d88c86df8254c840341c599dd97f575fc84e73236e701f4303d6141146bdef24f13f8d666f30a578ff80b067976934ba SHA512 d46b3d83a14b629a39f7eb2dcb0915802ee8185b4796ea38d053e44f2e8e4025a053c99a0aea7b4b59442a24fd3600b78d5a19e1f0bbd13e8a2d9f93cdca3df6 DIST hypothesis-6.123.7.gh.tar.gz 9509012 BLAKE2B 71def0634aee97b4d64bacf9b4a09e091fb209c9de2d2ecbcbb86ad0f7bc2e330e7d7b93e1c810b864fd80ecd82eb6bf51aaf6a6de99c74c338609062ce1e90e SHA512 00b26f4e040a948aaf64554ee395fad4c9b0bb116c87d97bd3ef20be1d25068a79ed1c856c497c1d3d5122481386625c3323be77c0ec851fab823a706350b437 +DIST hypothesis-6.124.0.gh.tar.gz 9509075 BLAKE2B 06bcce0c2f3772ae16c623367e53410b1d5237a2f62f77643080d69e4b32b47f0cbbeba98c66a83247c35d3d6a3d9e7c6493383393a13fc63d86792ef464ca59 SHA512 f876e18fcc784f9b61c18435c66a9aaf9aee76875f5d5e29dbca31448421e7691977660946ea5e3d3f0c33d740ddee55d860995636ff54706cd5c01d39663dc4 diff --git a/dev-python/hypothesis/hypothesis-6.124.0.ebuild b/dev-python/hypothesis/hypothesis-6.124.0.ebuild new file mode 100644 index 000000000000..b67bbcacc7ba --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.124.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/imageio-ffmpeg/Manifest b/dev-python/imageio-ffmpeg/Manifest index b784b0c55423..c1a99527fa38 100644 --- a/dev-python/imageio-ffmpeg/Manifest +++ b/dev-python/imageio-ffmpeg/Manifest @@ -1,3 +1,2 @@ -DIST imageio-ffmpeg-0.4.9.gh.tar.gz 27344 BLAKE2B f9bf6421859f8b17aee5300613a14de9883436aaa724b61b8068498f533cc24ab4c8372a6de6ce4ab49218abb84af8a35e29e1ccbe9c913fcdcf2db159f13a92 SHA512 ebf63b9ac9c733d4c12d3aa4c6a9e81dd0128795a040e65df03bfae00e3562a3976eaa2f4058562bbddc3f8d63d6bf2a38133de4d2ddb0d2dc62ffab2449e143 -DIST imageio-ffmpeg-0.5.0.gh.tar.gz 27594 BLAKE2B 371aceb4760aac6a593d72f58526cedde2ce16c177adf421f5a9edecc1b6ae3eba0af307514014f1a8b45bf58375d9d3367167242d660f1b5e94778bc13bcc13 SHA512 e38d28da5b06f70e0a53647a2d490efb2c4b0201fd81395163bb1ed1dec3db4a1a29802ff1c6cbed0d7714db710304fe58b8e8e4f7cc0553f77417e97af21551 DIST imageio-ffmpeg-0.5.1.gh.tar.gz 27587 BLAKE2B da508b5627e7b842e123a6b56302f8c4a6f6d8a5fe6a7ff82949a6d3f156b898c05e4f2ffe2b074223e788b31a68d6b49f8165f55d9aa5ab1e5c5a3b16ba10c5 SHA512 7971417ff3c5b36b2b0e09da6ee52a19efd662a3f8896a316e537d0c72ff7d65bffb87c2d01a6bd72ec6442d3aa736ebe38785e82cbe1d4b27a653fb83d08bef +DIST imageio-ffmpeg-0.6.0.gh.tar.gz 27896 BLAKE2B f6d1916e2eef32c6ed4e0fa28081dc7afc8725321b810ea7a9d4de66333ec065c52d74e02ae2c18222b9201fa79a67eb4d990cf500404ee13800f7cce5db3a1f SHA512 93b871b9ece52cff6c1bec63c1567e3842aea306a4d0274d996b701891690ca3ee5067e623b00233cdc3378108c43b9306e27916a0f89285157e0aa802c59dfc diff --git a/dev-python/imageio-ffmpeg/files/imageio-ffmpeg-0.4.9-ffmpeg-6.patch b/dev-python/imageio-ffmpeg/files/imageio-ffmpeg-0.4.9-ffmpeg-6.patch deleted file mode 100644 index 196c21523426..000000000000 --- a/dev-python/imageio-ffmpeg/files/imageio-ffmpeg-0.4.9-ffmpeg-6.patch +++ /dev/null @@ -1,25 +0,0 @@ -From e2ec5ea3b7d9e5fd3225a05891f3611e29adbd1d Mon Sep 17 00:00:00 2001 -From: Tom Vercauteren <tom.vercauteren@kcl.ac.uk> -Date: Thu, 7 Mar 2024 14:28:21 +0000 -Subject: [PATCH] Add a null filter to re-enable frame count - -This aims at addressing https://github.com/imageio/imageio-ffmpeg/issues/99 ---- - imageio_ffmpeg/_io.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/imageio_ffmpeg/_io.py b/imageio_ffmpeg/_io.py -index b85c453..faf1ee8 100644 ---- a/imageio_ffmpeg/_io.py -+++ b/imageio_ffmpeg/_io.py -@@ -153,8 +153,8 @@ def count_frames_and_secs(path): - path, - "-map", - "0:v:0", -- "-c", -- "copy", -+ "-vf", -+ "null", - "-f", - "null", - "-", diff --git a/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.4.9-r1.ebuild b/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.4.9-r1.ebuild deleted file mode 100644 index 24f9e5048aa9..000000000000 --- a/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.4.9-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2021-2024 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="FFMPEG wrapper for Python" -HOMEPAGE=" - https://github.com/imageio/imageio-ffmpeg/ - https://pypi.org/project/imageio-ffmpeg/ -" -SRC_URI=" - https://github.com/imageio/imageio-ffmpeg/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -PROPERTIES="test_network" -RESTRICT="test" - -# ffmpeg is used as an executable during runtime -RDEPEND=" - media-video/ffmpeg:* -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/imageio/imageio-ffmpeg/pull/107 - "${FILESDIR}/${P}-ffmpeg-6.patch" -) diff --git a/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.5.0.ebuild b/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.6.0.ebuild index bf91a05ed63b..c48bdeedd9cc 100644 --- a/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.5.0.ebuild +++ b/dev-python/imageio-ffmpeg/imageio-ffmpeg-0.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest index 098cfe031457..5351231d54a0 100644 --- a/dev-python/mcbootflash/Manifest +++ b/dev-python/mcbootflash/Manifest @@ -1,3 +1,4 @@ DIST mcbootflash-10.0.0.tar.gz 43202 BLAKE2B 78ddf1a0711a5147ecc55abbbeb2a220d41981ef547e609b0360ac2966f21826d7e0a11d324f82476af97501412dcfd7a72f4c593810f94c83d43d993588dc89 SHA512 5dd765af0dfb106e009f06d677cc892a53cd66611194cf4a990358d7060f3e13919132fdba8d91c5ed7523b0e25eb62553576e875e8976fc0890a148a7abe9b7 +DIST mcbootflash-10.1.0.tar.gz 44252 BLAKE2B d6fe39af1dfc253a376f7ea9dd5948af9fc3eb16b43da517377ee395b34b33de1a27c044a6e406d39ec1109158e0e436b29d67b05bae150b14856f93c24ff70e SHA512 256464c27a8173d2aa42e120354e51bf992dd7c6905ff45ded61952edb6057b795b8c0dcb0cfb954b8b1fd9fd9a5a9449390671487d6b225eead842538b956a7 DIST mcbootflash-9.0.1.tar.gz 26858 BLAKE2B d8d8486a8713d46f7b93443dcfd9cbd9a93452fa7c8e76aeba1f4bfbf52765fbe3807fe8206b994015c094f9fba1626d5a3bb2fa93bd6b6400a9cbaaee7c19a9 SHA512 0c001a0a2c10e9d4bf111136d08ec89c4bc62568934ef9d8b75d7c58d59f451f5459ccc387c72424e8d16c5e49e7bba903efce403f41923ca33d87c2290a84e9 DIST test_mcbootflash.jsonl 9259 BLAKE2B d05287760b3dc82ccf720a140390e027758a4e1e79d72364aed741937298d872127f11db8d5a4c07a93cb72f091ab89bd606062446f9108359205ec75c92321f SHA512 b9f5ea649a8cff9ea576b96e22bb352c61f8cd1f3e7ca0a7a0ae84a2c03fa07b1ecc7a3d8a83de868e4f946ef9fb22a5fc757038be4c5ba2398c483c67bbd9ca diff --git a/dev-python/mcbootflash/mcbootflash-10.1.0.ebuild b/dev-python/mcbootflash/mcbootflash-10.1.0.ebuild new file mode 100644 index 000000000000..d60dc64eb18b --- /dev/null +++ b/dev-python/mcbootflash/mcbootflash-10.1.0.ebuild @@ -0,0 +1,37 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Flash firmware to devices running Microchip's 16-bit bootloader" +HOMEPAGE=" + https://pypi.org/project/mcbootflash/ + https://github.com/bessman/mcbootflash/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/bincopy-20.0.0[${PYTHON_USEDEP}] + dev-python/datastructclass[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-reserial[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p reserial --replay +} diff --git a/dev-python/oslo-concurrency/Manifest b/dev-python/oslo-concurrency/Manifest index eda3e3c74754..4940482f43f1 100644 --- a/dev-python/oslo-concurrency/Manifest +++ b/dev-python/oslo-concurrency/Manifest @@ -1 +1,2 @@ DIST oslo.concurrency-6.2.0.tar.gz 60573 BLAKE2B f5ddfbf0f566e6bc4925526738e6823732c8acb1552929009423f87e8766295a5be578bb82dffb2d0b756fb15089616788228dca7abb91fb6e9fbac290294eb2 SHA512 d15dd2049a717e4530c778a3dfb41f9df538835d2f4ea47fbea1fc8f584981b1cbd54a3d5eca273f0202dc4bb8b19b6c59b377690420aa471cf3006f246be8c2 +DIST oslo.concurrency-7.0.0.tar.gz 59671 BLAKE2B f8462d9d2ca7b5b665fe92572775c0b9ca7b35eb7a48256b25f7df9038305a3ee1898cc3f7a3d0236c9959f30410d83f807a93f46941feb932bd80de4460afe4 SHA512 1bb310b4804c1c7f55d699d04281a1926b6f9414bc73ddafd7904180603243b324b82a45d2d1a637db740aa910e87c225e543e23866933a7e592120a19fa079e diff --git a/dev-python/oslo-concurrency/oslo-concurrency-7.0.0.ebuild b/dev-python/oslo-concurrency/oslo-concurrency-7.0.0.ebuild new file mode 100644 index 000000000000..e0cd13345810 --- /dev/null +++ b/dev-python/oslo-concurrency/oslo-concurrency-7.0.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo Concurrency library" +HOMEPAGE=" + https://opendev.org/openstack/oslo.concurrency/ + https://github.com/openstack/oslo.concurrency/ + https://pypi.org/project/oslo.concurrency/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # fails, then hangs + rm oslo_concurrency/tests/unit/test_lockutils_eventlet.py || die + distutils-r1_src_prepare +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + eunittest +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index fc24c9227987..23da5981d1c2 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.13.52.gh.tar.gz 4916262 BLAKE2B 51267704170ca614f93f8dee5cc1bbe3a8ef833e3aaf7d9ba48e9715eb1f37a7742f942c3bfb543f140d9c08d83006fc698c34fa3264a3b9e9d626bf741b586b SHA512 ac2fa94cffeabc18197a2ca0e2e5ac62f4584e417fb1bee0d52eaeec71d7ce5f1d12722f0f5a48b7d2ff89cfb394f49ec02006a7e8247bb20b2375d0a617132c +DIST python-phonenumbers-8.13.53.gh.tar.gz 4915816 BLAKE2B cdb981c096318c9b2132a9da1524702d022655c9c3061ddcfc23af17d89966c2e998913808ea3112621ea59f5f17c733290e158f027e9a153fe2893695160ba2 SHA512 b3c73c1b1a98e8c6b501f99dede4883b1e5f9e3c2764d45056f11365f5541a3d99c863180202c23b59a0cd18944c8d0ba9af249e803a6cf75377cb648c66ca2a diff --git a/dev-python/phonenumbers/phonenumbers-8.13.53.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.53.ebuild new file mode 100644 index 000000000000..85e8daf426e4 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.53.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 + +MY_P=python-${P} +DESCRIPTION="Python port of Google's libphonenumber" +HOMEPAGE=" + https://github.com/daviddrysdale/python-phonenumbers/ + https://pypi.org/project/phonenumbers/ +" +SRC_URI=" + https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/python + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/protobuf[${PYTHON_USEDEP}] + ) +" + +DOCS=( ../README.md ) + +python_test() { + "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pyarrow/Manifest b/dev-python/pyarrow/Manifest index 1df70652cc04..01b8a0bee628 100644 --- a/dev-python/pyarrow/Manifest +++ b/dev-python/pyarrow/Manifest @@ -1,4 +1,5 @@ DIST apache-arrow-18.0.0.tar.gz 19113236 BLAKE2B c358f8e61155432540a4002c6dfba7a3763d934a43eddae0a9a6f98bb26879df51e3cdcc64db6dd684ffde2ef8ef6dcff8906355b5769f71afae907aa1e920c5 SHA512 4df30ab5561da695eaa864422626b9898555d86ca56835c3b8a8ca93a1dbaf081582bb36e2440d1daf7e1dd48c76941f1152a4f25ce0dbcc1c2abe244a00c05e DIST apache-arrow-18.1.0.tar.gz 19132388 BLAKE2B 4a8c60d8a5dcf2b8ac4e2ae3a7f555dd0604d5ccc4b72ba317f18e16e75725b24553050fe88a02f382b0581310f20d0b795133b243f2851fa0e8d3801a839358 SHA512 7249c03a6097bc64fb0092143e4d4aaef3227565147e6254f026ddd504177c8dd565a184a0df39743dc989070dc3785e5b66f738c8e310ed9c982b61c2ec4914 +DIST apache-arrow-19.0.0.tar.gz 17830405 BLAKE2B cf611106b0ee5f92a4cbf341e9f5b6771f377710bb11c6eab555706a52b5c72fcf4590ba55c36100a97c6219ec421813f51ef6337530d84eb8394735ef2787b5 SHA512 6820de33a5d5b0922ea64dd8ff55d186ef02596ad0415578067aaf3e5cf7d3eead473bc3a5f92d6d3f19b97d153fe1c901359008d922d1ffb0fc2a65dc860c79 DIST arrow-testing-4d209492d514c2d3cb2d392681b9aa00e6d8da1c.tar.gz 3572558 BLAKE2B fe5b6a46babbde8e2becefea09fecf090201a49faa7d4ee2f44b0bb4da42c344b37564999d32fdbd54a81a56c33fbde9b2d9d2fa664bf127cb5661e845fb6229 SHA512 6758ad936e1eeb2c5dd2b4b40fe90822a48a4ce67ee4d36657c168e1db5d9a17c092f4cf571b13d56b568a773515385441874d1ea36a1f6e5b15a99f67176fa3 DIST parquet-testing-cb7a9674142c137367bf75a01b79c6e214a73199.tar.gz 1068025 BLAKE2B 0fdd12d04108b27b17564c60ca36e751453f5d74cfbbe3a076e8befa1696aa0f093e2d1a5eacb99e69a98deda502930ba79b8329403af1e8b9d696e6617c6075 SHA512 dd221d9d59442cebb7158d7cf769d6e5323416bfcde2852eee37a26ff089bc04ea10b9ae7158a37d8694c10469d77c7d251d0dd2549596a7b3899d9c39b45997 diff --git a/dev-python/pyarrow/pyarrow-19.0.0.ebuild b/dev-python/pyarrow/pyarrow-19.0.0.ebuild new file mode 100644 index 000000000000..42ec8b9fbaef --- /dev/null +++ b/dev-python/pyarrow/pyarrow-19.0.0.ebuild @@ -0,0 +1,116 @@ +# Copyright 2023-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 multiprocessing + +# arrow.git: testing +ARROW_DATA_GIT_HASH=4d209492d514c2d3cb2d392681b9aa00e6d8da1c +# arrow.git: cpp/submodules/parquet-testing +PARQUET_DATA_GIT_HASH=cb7a9674142c137367bf75a01b79c6e214a73199 + +DESCRIPTION="Python library for Apache Arrow" +HOMEPAGE=" + https://arrow.apache.org/ + https://github.com/apache/arrow/ + https://pypi.org/project/pyarrow/ +" +SRC_URI=" + mirror://apache/arrow/arrow-${PV}/apache-arrow-${PV}.tar.gz + test? ( + https://github.com/apache/parquet-testing/archive/${PARQUET_DATA_GIT_HASH}.tar.gz + -> parquet-testing-${PARQUET_DATA_GIT_HASH}.tar.gz + https://github.com/apache/arrow-testing/archive/${ARROW_DATA_GIT_HASH}.tar.gz + -> arrow-testing-${ARROW_DATA_GIT_HASH}.tar.gz + ) +" +S="${WORKDIR}/apache-arrow-${PV}/python" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="+parquet +snappy ssl" + +RDEPEND=" + ~dev-libs/apache-arrow-${PV}[compute,dataset,json,parquet?,re2,snappy?,ssl?] + >=dev-python/numpy-1.16.6:=[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-libs/apache-arrow[lz4,zlib] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # cython's -Werror + sed -i -e '/--warning-errors/d' CMakeLists.txt || die +} + +src_compile() { + export PYARROW_PARALLEL="$(makeopts_jobs)" + export PYARROW_BUILD_VERBOSE=1 + export PYARROW_CXXFLAGS="${CXXFLAGS}" + export PYARROW_BUNDLE_ARROW_CPP_HEADERS=0 + export PYARROW_CMAKE_GENERATOR=Ninja + export PYARROW_WITH_HDFS=1 + if use parquet; then + export PYARROW_WITH_DATASET=1 + export PYARROW_WITH_PARQUET=1 + use ssl && export PYARROW_WITH_PARQUET_ENCRYPTION=1 + fi + if use snappy; then + export PYARROW_WITH_SNAPPY=1 + fi + + distutils-r1_src_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # wtf? + tests/test_fs.py::test_localfs_errors + # these require apache-arrow with jemalloc that doesn't seem + # to be supported by the Gentoo package + tests/test_memory.py::test_env_var + tests/test_memory.py::test_specific_memory_pools + tests/test_memory.py::test_supported_memory_backends + # require mimalloc + tests/test_memory.py::test_memory_pool_factories + # hypothesis health check failures + # https://github.com/apache/arrow/issues/41318 + tests/interchange/test_interchange_spec.py::test_dtypes + tests/test_convert_builtin.py::test_array_to_pylist_roundtrip + tests/test_feather.py::test_roundtrip + tests/test_pandas.py::test_array_to_pandas_roundtrip + tests/test_strategies.py::test_types + tests/test_types.py::test_hashing + # fragile memory tests + tests/test_csv.py::TestSerialStreamingCSVRead::test_batch_lifetime + tests/test_csv.py::TestThreadedStreamingCSVRead::test_batch_lifetime + # takes forever, and manages to generate timedeltas over 64 bits + tests/test_strategies.py + "tests/test_array.py::test_pickling[builtin_pickle]" + # scipy.sparse does not support dtype float16 + "tests/test_sparse_tensor.py::test_sparse_coo_tensor_scipy_roundtrip[f2-arrow_type8]" + ) + + cd "${T}" || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PARQUET_TEST_DATA="${WORKDIR}/parquet-testing-${PARQUET_DATA_GIT_HASH}/data" + local -x ARROW_TEST_DATA="${WORKDIR}/arrow-testing-${ARROW_DATA_GIT_HASH}/data" + epytest --pyargs pyarrow +} diff --git a/dev-python/python-box/Manifest b/dev-python/python-box/Manifest index e08449a8f39e..7c1c3ccbd5a7 100644 --- a/dev-python/python-box/Manifest +++ b/dev-python/python-box/Manifest @@ -1,2 +1,3 @@ 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 +DIST Box-7.3.2.gh.tar.gz 88125 BLAKE2B c5f1fb1aa0ebad873869e401ebf74ba9dd99dde79585248f2f91c11d0f8bbf673447b2a521e209452c706e7d3fc8eee0b1e80e37f48ca5d9f7742fb9edadee5d SHA512 82baa150fbc7fbc4659b4395f6329daffc1fcfbf773112c05ba114316468e46fb0757f607a15c69ad94c5d9e0dfcfa6fed294debb70fd93063458345e7f295e4 diff --git a/dev-python/python-box/python-box-7.3.2.ebuild b/dev-python/python-box/python-box-7.3.2.ebuild new file mode 100644 index 000000000000..dfaea3d68266 --- /dev/null +++ b/dev-python/python-box/python-box-7.3.2.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/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest index 0abea54cb913..39525c286ce3 100644 --- a/dev-python/python-neutronclient/Manifest +++ b/dev-python/python-neutronclient/Manifest @@ -1 +1,2 @@ DIST python-neutronclient-11.3.1.tar.gz 211410 BLAKE2B db1bed173ca546529502dc2ce564e950c6908f4fa3dc81eb78bc59dfa4ba3e608a058c2b143db111afba153eef9e62f3a7f3bb588faed9d306e3bc960fc33e94 SHA512 76e17bf2f0bce6bad939029beb3a75b840675582fcef766f61ac139d29d7f0632dae3a7ee3aea596c60e3b86b9e5cf24c8070f75a03a9c8066b92437fcdd03be +DIST python-neutronclient-11.4.0.tar.gz 211796 BLAKE2B 5e34719a525d9744fe74fd9433b587433d594886f0518462159f8e495eb7fdace7e28c3f2e3a2b8efb4a184e9a367dcf12b7eb94f826eaf800b0aa319d956751 SHA512 6b53551dcfb897b0751797a7380e3b01d2b0b473513db78c06d8b57f1900aa6a8af7f8579db1646dc05b91d35979d743449e7b488bce5d5e2fb28fd6fc9668b5 diff --git a/dev-python/python-neutronclient/python-neutronclient-11.4.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-11.4.0.ebuild new file mode 100644 index 000000000000..77c9c7159c8a --- /dev/null +++ b/dev-python/python-neutronclient/python-neutronclient-11.4.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Quantum API" +HOMEPAGE=" + https://opendev.org/openstack/python-neutronclient/ + https://github.com/openstack/python-neutronclient/ + https://pypi.org/project/python-neutronclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.4.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-1.5.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/bandit[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslotest[${PYTHON_USEDEP}] + dev-python/python-openstackclient[${PYTHON_USEDEP}] + dev-python/python-subunit[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Needs osprofile + rm neutronclient/tests/unit/test_http.py || die + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b neutronclient.tests.unit +} + +python_install() { + distutils-r1_python_install + # stupid stupid stupid + local SITEDIR="${D}$(python_get_sitedir)" || die + cd "${SITEDIR}" || die + local egg=( python_neutronclient*.dist-info ) + [[ -d ${egg[0]} ]] || die "python_quantumclient*.dist-info not found" + ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die + ln -s neutronclient quantumclient || die + ln -s neutron quantumclient/quantum || die +} diff --git a/dev-python/python-novaclient/Manifest b/dev-python/python-novaclient/Manifest index be6c192e50e9..ad17b29440d5 100644 --- a/dev-python/python-novaclient/Manifest +++ b/dev-python/python-novaclient/Manifest @@ -1 +1,2 @@ DIST python-novaclient-18.7.0.tar.gz 340344 BLAKE2B c21122bef909453ee33e4fda3a49349dc228759012f2ed627a07d4abf6a83eeee83d12b3cef6a4adb6fdefa69f416b0e6248baab63c8c7f46c5a461ec0437901 SHA512 32ff8e3bb6b2c91d9d6fc157147e2e44cb2e1efd1da31407c6de2f504498aa896d76157907c784ee3c8b3b1cb6f5030880fecc42d5f3437f0ae8968bb7e5cf4f +DIST python-novaclient-18.8.0.tar.gz 340549 BLAKE2B 2c443379573027bdddb66f9365ded3050cf9b206c2b073001408e23d7c16d945ab836f920c513081c128afa543bff0de0acf38c8e875ee9815f0616b206a64b6 SHA512 d97157fbeee76bb937efc355b9f25c2e3f53d30f3acc566919ab1434adc104d8e9c3d43ae4ea7ae37c75a6b9a0622512a49970dc6f4f6db58c7ca2e48c89d6a5 diff --git a/dev-python/python-novaclient/python-novaclient-18.8.0.ebuild b/dev-python/python-novaclient/python-novaclient-18.8.0.ebuild new file mode 100644 index 000000000000..b4584fe728e0 --- /dev/null +++ b/dev-python/python-novaclient/python-novaclient-18.8.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pbr +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Nova API" +HOMEPAGE=" + https://opendev.org/openstack/python-novaclient/ + https://github.com/openstack/python-novaclient/ + https://pypi.org/project/python-novaclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.5.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.2[${PYTHON_USEDEP}] + >dev-python/requests-2.12.2[${PYTHON_USEDEP}] + >=dev-python/stevedore-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bandit[${PYTHON_USEDEP}] + dev-python/ddt[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/python-keystoneclient[${PYTHON_USEDEP}] + dev-python/python-cinderclient[${PYTHON_USEDEP}] + dev-python/python-neutronclient[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/openstacksdk[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + sed -e 's/test_osprofiler/_&/' -i novaclient/tests/unit/test_shell.py || die + sed -e 's/novaclient\.tests\.unit\.//' -i novaclient/tests/unit/test_api_versions.py || die + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b novaclient/tests/unit +} diff --git a/dev-python/referencing/Manifest b/dev-python/referencing/Manifest index 0552de56138a..dac9b5104837 100644 --- a/dev-python/referencing/Manifest +++ b/dev-python/referencing/Manifest @@ -1 +1,2 @@ DIST referencing-0.35.1.tar.gz 62991 BLAKE2B b434d3b24bb01c7ea2b97300408571483ecfaa49b52867374a8734b4dafd06404c8b993757620329668fa01eb791c2a6f938aa4be20ff841fe691a4b47dcf6b3 SHA512 b737afb45bfb1adb91f457b78ab4a31a6f33839ef61095663fd66d91c09fc379d900f778bacaa36722770ce80eccd6a227a074cb44836e69205bed06165d033d +DIST referencing-0.36.1.tar.gz 74661 BLAKE2B a5eb713a0f227f4e331169e7aed7691d12712279ce3851cc58da87e7ba41ba291a80066360f7d6fc6f5e170977ae1718717438c7383c9e33bfc0a14f30e4c805 SHA512 2e2cbe9614811a650cd1dd6a63dd42ddb152ed934e9f3cb93671965ae66b982d7fc5207412f3c3fc4216727cc54499c9a39102e20dfc6d6a668a5d5d4c3ec604 diff --git a/dev-python/referencing/referencing-0.36.1.ebuild b/dev-python/referencing/referencing-0.36.1.ebuild new file mode 100644 index 000000000000..f8376bb3b242 --- /dev/null +++ b/dev-python/referencing/referencing-0.36.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Cross-specification JSON referencing (JSON Schema, OpenAPI...)" +HOMEPAGE=" + https://github.com/python-jsonschema/referencing/ + https://pypi.org/project/referencing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.4.0[${PYTHON_USEDEP}] + ' 3.{10..12}) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index bafd22ba2d7b..ddef2112107b 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1,2 +1,3 @@ DIST s3transfer-0.10.4.tar.gz 145287 BLAKE2B 0b15068862236237287243237639310d35de942b0d3d399edd5ee924195ee8f45b2badea4b02f8dceef64f034111a810910b8208cb6e0c5db070b39f5c39f615 SHA512 671d95e9f507bdca8cf53b88cd28285f9c2ae1456fcb24ba4a61a75d30e8c8fa8b2a4faa8c8364114dc3e5c57f630d5b61575847b167e37b3de44b42c45f6a63 DIST s3transfer-0.11.0.tar.gz 146986 BLAKE2B 050e757482c5b7524b2cc0b7aee1d41cbbff2ee26f62caff481077a4985932ffc486abe7076e4f4e4e4549eb616b302da0a279d86b826a780f4cf017168ad828 SHA512 8e12199fbcec039f228df877ff2026a1e977eafb9fd967d7e5669a9e6f8b73673f295df1a469ed6ce082a1882dab4518b1f6621ca3714c13f8febaa90dfee922 +DIST s3transfer-0.11.1.tar.gz 146952 BLAKE2B 25da68be52e1ba6723061ac87628235062ce4fef0a03d8c9958f72bade37b2851f77f5ed3944c8f43b82b45c65d90fecc41b5dbf4830215e4a533c2e5186088a SHA512 c1a9e14dd1f19166944193d5891c58b4392c2693d8171900937f473a2f55bc504a667c23730f0da837a7252948c62faa1476448c1254d61d4cc01db881d33cb7 diff --git a/dev-python/s3transfer/s3transfer-0.11.1.ebuild b/dev-python/s3transfer/s3transfer-0.11.1.ebuild new file mode 100644 index 000000000000..87658147ab54 --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.11.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=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.36.0[${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/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 7de1fb308759..85d9df24886c 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -1,2 +1,3 @@ DIST sphinx_autodoc_typehints-2.5.0.tar.gz 40822 BLAKE2B 0d09c878f0f8462879bec6fe786577a8587065a757218b775f6642aa5cf28cca82b85aeedb1c7dd3cf0788758d00b56c2a775f44bb550ff95aa947c88f1a642d SHA512 4308873ee2bd794c822e76ed712b0c0547815f5e3125e158e79f512fdd31dd482a60b172a39f6f53ae57d5c2bf156eb4c4ff2fe3c8f39446fc2acd69004f8bc0 DIST sphinx_autodoc_typehints-3.0.0.tar.gz 35943 BLAKE2B 591fa66e0ebf55cb89077c299b08dee4ba01ff85ab958cbe2c703873e4e7f6b924305a8ae1b4f58fb29fc34f35099014cb6254d8745fecd7f8e5c60ed96d0c81 SHA512 23e0017d68e12bedc56ff59b3620e981733816be5803bb86446821d0b5d66b5b472bee9fc242ad084913034fab1241200b8835a8f82fc89a1ae85b9e22e2f03c +DIST sphinx_autodoc_typehints-3.0.1.tar.gz 36282 BLAKE2B 44fbb2de34cd788e400d0556599cac9501d65cbccc1338be3b927d9c35e2141042885376da6df488cfae05af0667210b6d74c240710af5c848eff0a03c83eeca SHA512 f15a14c010328d46ab50c8f28c84d332502b577b95d739439a8b583e95303105fa403058443f4120c043a3d3635d4cff8274adc9472e1876aa9f476e78b4abcd diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.ebuild new file mode 100644 index 000000000000..95f410a47c34 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.0.1.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=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-8.1.3[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # this package is addicted to Internet + tests/test_sphinx_autodoc_typehints.py::test_format_annotation + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/structlog/Manifest b/dev-python/structlog/Manifest index e3465d5f8617..0d454e783b70 100644 --- a/dev-python/structlog/Manifest +++ b/dev-python/structlog/Manifest @@ -1 +1,2 @@ DIST structlog-24.4.0.tar.gz 1348634 BLAKE2B 29b35ad7471e6e681c86363880397869b5a149ff06bd1e5c68c7587ff2da6663ded7d278788b77fbc6d945cadda89073dbb3f43fbd4b0e21a71380a6d361593a SHA512 0dedb73caa9cd8f288267f129b9b61ae7db542fec1c92a38d785e1606d56a1272fb9fb5dd23c04a8fd0ce0a3c41f430d51230475bde4eab1919998187fbe680b +DIST structlog-25.1.0.tar.gz 1364973 BLAKE2B 6e7237eb87e0e8669a42bdee214d9a9d7095363b42fcf4f86be8d50e6d320bf9199d08de13e138cd520c42dadb68cfd676dbe8f6792a892fe1f79738d1c711a6 SHA512 190722bbd71355fce1dc6842ca3b358a2de99b4823e1175e52205e719b8164e3d5d16f55307e93bb3b4b03d9f655ae01a8ccb89cd3a5908d6d5cf3fa63e0f03a diff --git a/dev-python/structlog/structlog-25.1.0.ebuild b/dev-python/structlog/structlog-25.1.0.ebuild new file mode 100644 index 000000000000..e2bd589d42fa --- /dev/null +++ b/dev-python/structlog/structlog-25.1.0.ebuild @@ -0,0 +1,36 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Structured Logging for Python" +HOMEPAGE=" + https://github.com/hynek/structlog/ + https://pypi.org/project/structlog/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 5bc83c2dbd0b..189d2a5e7458 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,2 +1,3 @@ DIST translate-3.14.4.gh.tar.gz 1174947 BLAKE2B 1a4f9b4b146145ef215ca0118c328c5c6153461b3f6899c665d1c69762bfe543ffffb7e590229b6d5ada5c5373b46484d4ebf6fbc4d9cac4b908174fde358d04 SHA512 4cb4b94f02858348c7e2e66cc3b0efa495084fbf03fb659ec701349f693c27647b11f2aefefca7b585b2c6e68a699149e85cedccbcf796e57edf825925e4f7d2 DIST translate-3.14.5.gh.tar.gz 1175068 BLAKE2B d3627d8a69f98d01fceb3d8e233ff9d19238ff42aa5255e5f4b8372ecacb07f1cea02ff75c6e7e27eec684eeda207db83b91c6905edf7b82d93ca1a275db4564 SHA512 40467e48aeca0a51caf6baabce13a3daa3b643a5416a1dc8b8ce70198b7b6f13688f808c0e050ca2e2e6d977347dab59b454b6d9c537b4d615f623d5531bcc10 +DIST translate-3.14.6.gh.tar.gz 1175486 BLAKE2B 3cfd844815adcd7ac24a41df41f3e717d7afa7c19f4e4467f9ce7892ec9adb321ed2e499358cdaa294c5a5d8ca8e20271ac47cc598b8e7585c290eea8e9b8235 SHA512 a2e23c4ec29e61fdcc0c28e7789478d595a11751c6117b7b5cc9191deec01e31309cea8a6e39c81635105b8b6b10c34533af5b91b736f7c2bbd4780146b79b3d diff --git a/dev-python/translate-toolkit/translate-toolkit-3.14.6.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.14.6.ebuild new file mode 100644 index 000000000000..88f3a44eb072 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.14.6.ebuild @@ -0,0 +1,119 @@ +# 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} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + >=dev-python/cwcwidth-0.1.9[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! use ini; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest index 25d970d10aa6..5001a63c5c00 100644 --- a/dev-python/webtest/Manifest +++ b/dev-python/webtest/Manifest @@ -1 +1,2 @@ DIST webtest-3.0.2.tar.gz 79331 BLAKE2B 2fa124c25889e5d256861b9df6d2b7b3af18a8ea367197b7dcf38e6182c64e8c3fbba6855f1b95f69917caef6cc82bab3a24064f8ec496775fe1f972d838c63d SHA512 f94d78a09368575f772136f7263244d0dfacd344d94d819b15a7e7d5af2a4186cb88659249f1e7009754ac45fbb9f5a3ee0f9bb7f6eccf903f955b9072bb0433 +DIST webtest-3.0.3.tar.gz 79391 BLAKE2B 7ac8362c325d5570446ed587d725b3e4a81e6167295de3030070078e209c692ed95c1a4a03f5db2b2a2e390cfb80ab17adf1a359ec3b349e11514f4bcd4c483d SHA512 5122fa995f9fc4a2338cfe9c3516648d56b0e843c66b8e40b869d5ba3e3ed1bd442836712ed6dd683ea1db2080ce7d5674d71f053c7a29a80812e4cc2606f1de diff --git a/dev-python/webtest/webtest-3.0.3.ebuild b/dev-python/webtest/webtest-3.0.3.ebuild new file mode 100644 index 000000000000..9b7e8ded1897 --- /dev/null +++ b/dev-python/webtest/webtest-3.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="WebTest" +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Helper to test WSGI applications" +HOMEPAGE=" + https://docs.pylonsproject.org/projects/webtest/en/latest/ + https://github.com/Pylons/webtest/ + https://pypi.org/project/WebTest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-python/paste[${PYTHON_USEDEP}] + dev-python/pastedeploy[${PYTHON_USEDEP}] + >=dev-python/webob-1.2[${PYTHON_USEDEP}] + >=dev-python/waitress-3.0.2[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyquery[${PYTHON_USEDEP}] + dev-python/wsgiproxy2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.13) + ) +" + +PATCHES=( + "${FILESDIR}/webtest-2.0.33-no-pylons-theme.patch" +) + +distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/zconfig/Manifest b/dev-python/zconfig/Manifest index 2555384ea9fe..90cac129532f 100644 --- a/dev-python/zconfig/Manifest +++ b/dev-python/zconfig/Manifest @@ -1 +1,2 @@ DIST zconfig-4.1.tar.gz 146996 BLAKE2B fd4299121b418ba7517ef17c2f9be9e0f0a975199a0fb59bd45f54338becb921c2bf0fd87344e08b21734b80dc11abd64d7bef27d7d17313197d9c781b5e5017 SHA512 71dd5a9ce5f72eda76fde19fa2bec4aaf542ebe4b617753b14c07239366d934d9d635aa63407c76bc00edfb305c85c1cecdd187ee7f2b85f25acaa7682839363 +DIST zconfig-4.2.tar.gz 127198 BLAKE2B a533d39c32280bdc5d4b869b9128444e0a36919100bbf7cbe86bf3cd3a67d9be7d20abd6bca831cedff8e8d3f8af4d412fbd92c0db6b1996e72c19d8d2f79879 SHA512 35cc83c51ecfc894edf7d8f2408f63f0c8f59affebb38bab171cc7a56a46916e2f7dae985f0cc9cde92c85cbe93667e2b91b236f60b418f4551d2e5520220a4b diff --git a/dev-python/zconfig/zconfig-4.2.ebuild b/dev-python/zconfig/zconfig-4.2.ebuild new file mode 100644 index 000000000000..0f13c6ba267b --- /dev/null +++ b/dev-python/zconfig/zconfig-4.2.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 +PYPI_PN="ZConfig" +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Configuration library supporting a hierarchical schema-driven model" +HOMEPAGE=" + https://github.com/zopefoundation/ZConfig/ + https://pypi.org/project/ZConfig/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.rst ) + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + dev-python/sphinxcontrib-programoutput + +python_test() { + eunittest -s src/ZConfig/tests +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index d0885d5a1197..59ddce5ea174 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,3 +1,4 @@ DIST zeroconf-0.136.2.tar.gz 238720 BLAKE2B c47bd38a75f01c1e4268c6567a13e664638c05efa1a45ff1593b3d1347e369acd7a284580a02d34f398710f5faf319150c9eca151667dbb6a184bad35f24d4ce SHA512 30e352cfa2c3b7e7c3b9e38d6d1db0471d1f2c7dcd6785b0aab63a1027da21e966565803d4b2bfde6a89d4362039165f19b5c179117128a992f4960af2ac031d DIST zeroconf-0.137.2.tar.gz 237962 BLAKE2B 9ff84381cbd465a49fffeb18e671e8ab55f1c0d0e44f96312177d5a6372c6558e2175846d0cbd96c8e8b8ccd449e56ce614078e0ae22eeed8458b8a421f97192 SHA512 a4ed7146016a68bbc077cc1c61e9299d0f7d636b96da0d3dc9a4d161f709b429d7d44948435a0ed1151e280c173093dd1aaeacf4370958fd2c1b30337e3216af DIST zeroconf-0.139.0.tar.gz 240030 BLAKE2B b06f229334d18a840d5e203b3823375ba81f96076df4487c7090e0a971f9c15570dac11f7306d8da8d29fe964c231d3bdd142229a4ab96d6c7b2ef9b35dfc27e SHA512 e989a4b6c9f2a259d916da9808df5ff75db7375bbdc2cfc4b4c76fec8adda0c54112fd10d6a7266a28c408ac47c5955be5bd8e658ba87492dbdc54ed38eccf95 +DIST zeroconf-0.140.1.tar.gz 240320 BLAKE2B 70d10656f8a79a837d24901ceffb106ff86c805f922569aef48aa4e7b94f0f88e80c48085a282d3a928a863509309593f8f6457d6a0b0608eb0143c5dd56c7aa SHA512 b92c25dad0e313f72870da54d0f9f9f96c889130f23eba2946702fb95c82757a40f96285771568074d78346f67f9e366ef0e488256a669daf602971919f48ab1 diff --git a/dev-python/zeroconf/zeroconf-0.140.1.ebuild b/dev-python/zeroconf/zeroconf-0.140.1.ebuild new file mode 100644 index 000000000000..4922d99649a2 --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.140.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + epytest -o addopts= +} |
