diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-24 19:17:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-24 19:17:57 +0000 |
| commit | ead6d91d515e7c733ef57637623e050e5219653f (patch) | |
| tree | 153832aebe25933508d13f7ac54ee024f0bf11fc /dev-python | |
| parent | 2de41bea1f10fd6e7a8cd42b5756ca964ff37779 (diff) | |
| download | baldeagleos-repo-ead6d91d515e7c733ef57637623e050e5219653f.tar.gz baldeagleos-repo-ead6d91d515e7c733ef57637623e050e5219653f.tar.xz baldeagleos-repo-ead6d91d515e7c733ef57637623e050e5219653f.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
37 files changed, 514 insertions, 404 deletions
diff --git a/dev-python/aiosqlite/Manifest b/dev-python/aiosqlite/Manifest index 4dd2dc5bad17..1f02dc08332f 100644 --- a/dev-python/aiosqlite/Manifest +++ b/dev-python/aiosqlite/Manifest @@ -1,3 +1,4 @@ -DIST aiosqlite-0.21.0.tar.gz 13454 BLAKE2B cd6bb6670732e05628a2724abc2675063fd2822912751077550572bfb3971c02548ee7a681c68d8e69365ad8cf534c47ca1996e2e4c204eea8bc4371180375fa SHA512 64d65c8b683687559f698b191697f765db18719318259a6c9d778f7577d23eec5e0f382f71f63f7aba9aedcb3189bc5d946cd6382ae6c2f16af7a553b8a8c9e2 DIST aiosqlite-0.22.0.tar.gz 14707 BLAKE2B c2e86c9eaea10f6494e0bfebf6435fc4c7cfd0975a89b69ba28e63a3a9e021ff8fd0f025b0bd796ec5d4802191fe9fac74e748df3175e162463cc53ee0f32b0a SHA512 3ecafae2a726c620e666abc5b14499305a294df7a7f69a9aa516755900debcefe1c58b7d59c4eaf1970035f882ef5a73e00be71bee2066845e791fd6dce08491 DIST aiosqlite-0.22.0.tar.gz.provenance 9081 BLAKE2B ec112f125ddd61bdb6e7f1a62da1a7316703931deaebc5562133e3d2be122b210f0c8899e41ffe27a8fcd5a109525407150763b0d5008d32f487f6fc77e99f61 SHA512 931e7c5654e23d11fc90ccc9001cbd6671bc2160dfda077786c8625c2ca710876ea7b0bc0d9b5a1ae2be1f79e14e1bc5998f28f6655a1dc4667d8ad0ecb459fd +DIST aiosqlite-0.22.1.tar.gz 14821 BLAKE2B 6d7d365b75208451f55203c0495c6b7a1b59a2c7d1181214d52dd875f37f847972ee6551154b80cf54ff2e8a73caef14735463b4764014c97b292de2270f107e SHA512 a207dc89b8e7d1dc6ae219a94f6f1f561b2c829739a5881025092a7247732e713ae71ce470787d9a38b02f3efbc617d1faf1ff62d8f45e9db1539d5ff3bd7943 +DIST aiosqlite-0.22.1.tar.gz.provenance 9128 BLAKE2B bcb08005633df1a7450d0c39a571a1425c062f0becaccb19612dddde4997b03a62659ff2ec4bfb9651e79a7b50b45a45e6ebec19da191d5ee0e6757a00363e90 SHA512 f94d936bdd529efabe923e3c0dc69ba0ace9b23fecee435c97897d35b30b0a7b2026817eea922052dfbe06cd4e04ce551c4464bdf1a6891c53896d5613ede801 diff --git a/dev-python/aiosqlite/aiosqlite-0.21.0.ebuild b/dev-python/aiosqlite/aiosqlite-0.22.1.ebuild index 4769701c02e0..ad287fda57f2 100644 --- a/dev-python/aiosqlite/aiosqlite-0.21.0.ebuild +++ b/dev-python/aiosqlite/aiosqlite-0.22.1.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/omnilib/aiosqlite PYTHON_COMPAT=( python3_{10..14} ) PYTHON_REQ_USE="sqlite" @@ -13,17 +14,13 @@ DESCRIPTION="asyncio bridge to the standard sqlite3 module" HOMEPAGE=" https://aiosqlite.omnilib.dev https://pypi.org/project/aiosqlite/ - https://github.com/omnilib/aiosqlite + https://github.com/omnilib/aiosqlite/ " LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -RDEPEND=" - >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] -" - distutils_enable_tests unittest # AttributeError: 'str' object has no attribute 'supported' diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 69de7b447944..a57b4aa49299 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,5 +3,6 @@ DIST boto3-1.41.2.gh.tar.gz 1047105 BLAKE2B ac62862f9430604d6056e9ee9c0c6747bc8a DIST boto3-1.41.5.gh.tar.gz 1047828 BLAKE2B c4ff68f8851f56539998186d6dab74d015e5752aa3e1f29226ff67b7457618f48d04637a6532e73016203970be82ca3fe9f295dbf6fb68c6a126058bfe452999 SHA512 c41c80a42513ae9aa09789aed69798b8946042d9cbf9de67c8541cce254cacc06ee965d53d61b0bd773762e4bf49e533d6c9ca11c5bce390544be317b60a601b DIST boto3-1.42.14.gh.tar.gz 1064304 BLAKE2B 8338168f8acf09e5bd9b4bede0759bc77d40cf9576248346d748636916f351e6324f8e73eddea627da702efd57e70e50cd14830a6a00ffed43166e47f0caa79f SHA512 23c6823c5469647c6ed389ab1dec9ed70fc7aeb5ae8304a68ecef88ce009b5f04aa1b7991e0bc5c7576a5a5cacbf7862ff8b6cea173cd74ccdbeedc0aa97568e DIST boto3-1.42.15.gh.tar.gz 1064569 BLAKE2B 80f4bcdbc981f2d16f6b220086537bbf57cd419b1af89e046dc7b203cd2d8544a26984dacc682dcd574a496b8d23368444c11b57eb8d5af289282c3c7cb5a328 SHA512 1754e033d2467154d22af0ab76d94fa3e3c2a36f18bc89053f30141c2441e1ff2a2a9cbc18b086f73ea01e35ad344657a39d3bf72ec3f2e3626cb7c21a0495a7 +DIST boto3-1.42.16.gh.tar.gz 1064829 BLAKE2B 315e8cec75fbc8d596fb41535cec5e9a7aff67bcc24df20d8a2ad0dbb9b8b2dde2238227f3fcfe47ce3244ce72182231de96396089adcd19802304fa0489ca35 SHA512 93ea18662be155e3bfb055f8e577ec42b84eb287cc62d7fb9fcdfdfb8c4db05b8e6c16e488f22cf7f66232fc86186e75d9c7511fe893b9eab32e9ae4685aa6d5 DIST boto3-1.42.4.gh.tar.gz 1055570 BLAKE2B a9990bb04ce59111c6371536692c6e4d5440f3f0dc79e1ecc119652603bcd8bc15839400758999faffd7df9bda9efb4991393fcab32baa16c7a0e51ff7c5cc94 SHA512 95950ba80f31c3951a88237ff5edd1367285c3ab263c7f8ad1b7556d610d553dd4e2021fbbcc0d9bdcf578fe34ad9fcf6231511f54ee71917f69c1cdb6adab28 DIST boto3-1.42.9.gh.tar.gz 1059745 BLAKE2B 78fba4fe807a3ea8eea22cd81cff67c90cd36e281665545bc9d7dc9bfaa1089d668e1994ba6e950eedfe2cfa1495f192b43f8fdae2b9b8b6bd74b62e0ab699d8 SHA512 92ecb0d609ba2f7df6a444b9d840e2a070b22ec38f8ae3bd376e9473e5b4efbefc9bc924046cc6d79576967e33eed270633396171e6102331b58519021435fe8 diff --git a/dev-python/boto3/boto3-1.42.16.ebuild b/dev-python/boto3/boto3-1.42.16.ebuild new file mode 100644 index 000000000000..b692316316e5 --- /dev/null +++ b/dev-python/boto3/boto3-1.42.16.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_{10..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.16.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 76a88d4e9106..392bc1d68993 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,5 +3,6 @@ DIST botocore-1.41.2.gh.tar.gz 15504253 BLAKE2B 3c3967e3876ec2529ed0fbd192594f96 DIST botocore-1.41.5.gh.tar.gz 15519699 BLAKE2B 05c9cd0768013d6e3af76ad9daf8b957bb8d6e3f17b3bfb85d4dc73de36ab71ff5da14306d5147375ec1d5a3080f5b25c056e2796c7918f21aba1fafe32deff8 SHA512 8f95ce652ef670129966aca8265022c79544bcb0927504ee0567272412437dc8789df10c7f77696434864ec541b6b17dc39aabb1ec16ee690a22617fe8d7da03 DIST botocore-1.42.14.gh.tar.gz 15774512 BLAKE2B 7c88b33bb001079890fa0a9f49134f5e2c9cd0bb8bef3a3fb46fdd8b60b3a939232eb893cdd03cc6f0b5a49e8623f211603b4e16c5bc38cefcfc9dce4554e436 SHA512 044df7ec561d300762d0e9373819e409a9e924abf74fa7a3de28d72527c535f7408bd5cd302799f816f543a966440a999279f8feb177650ad5a547e52f1d9902 DIST botocore-1.42.15.gh.tar.gz 15775038 BLAKE2B 258285b123c6826e7df80e50d5b814a2ee3d8c9347de84af9611006f7bd879f4551b28adb63e7f0735ee9d13e24c90d69d2e95be8f93bb33ae9415cfa04f4f02 SHA512 0ffc0c2568f9f978ad427caf42f84a12683858c2ffe2fc8535635c87179cc6b5a3e9eb67df354e679c556029508a711c642455c5c0b70d1a9e9e900ac3d7a2c8 +DIST botocore-1.42.16.gh.tar.gz 15776713 BLAKE2B afe3ae9aa0564cd3d25a366e13b83fb8044adb8870261df79dc62b79425a6e75e9ae620e63acd3f15c62b62d878a31e9368ba57617ae9c7af0eb79679d93b8e7 SHA512 2ffd0739a51cd62ba770aa4c98b5ff0729a5321ced7cbd558d401d62f5bfc0a963b3e3584c649c9129b11fad1944c54df584ce32252cce5896684a1651ac519e DIST botocore-1.42.4.gh.tar.gz 15703399 BLAKE2B ffd1613284a8487fd2abf10f53fcdaa13746990f519e2bc511bd09daa2efdbbc03cd141f40d36c83dc8180229daddb3a064c6d5aae2bc14f46921f50edf0f528 SHA512 22bbda9f4bc36bd18802812c63d650b2267565c27e432f7105daaa2c85660d2e3786ee11837ce2affe6d130504f9a7bf5c9e7ea3be5699b5d32be3090fb71914 DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb SHA512 54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9 diff --git a/dev-python/botocore/botocore-1.42.16.ebuild b/dev-python/botocore/botocore-1.42.16.ebuild new file mode 100644 index 000000000000..cbe29570b2e5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.16.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_{10..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/Manifest b/dev-python/elastic-transport/Manifest index b6c3239a6660..b58b4fcaba62 100644 --- a/dev-python/elastic-transport/Manifest +++ b/dev-python/elastic-transport/Manifest @@ -1,3 +1,2 @@ -DIST elastic-transport-python-8.17.1.gh.tar.gz 77401 BLAKE2B 1660de0e941c2b387d97a1c3ce5f95b27c6219e46bf63a2cfa770a2c728b7d735c4289dbb0b758b06a9df54000fcc6b89afb906b3828e4b671a0e932884bc85d SHA512 631a9dd65ea0ea5d42de258d97b5b9582eb68a73712f6c1bcc2948c3d6198808ec68ef8a81f08dbe62b7ae1947440ea01c7303ee6e1d5dc6cd00b42373191e4d -DIST elastic-transport-python-9.1.0.gh.tar.gz 77490 BLAKE2B 018daeaf7b9e5b89bf05cdf263b5d5fcdb6cfa9dc857fbb13c6536309a8957b5cfed64a835bd6f1d06f75629899decdb6abc0fac9ef20c36e4576de1eaa3ba6e SHA512 70a7301376d8e19d3d29d118a46efe52c74bb32758572eaf007cb6018363294c3c559298c54f0a483907daac0ff8ab60fd9e5704088658d5f4955922cb998615 DIST elastic-transport-python-9.2.0.gh.tar.gz 78196 BLAKE2B bbd44d8495f217386f85d3841237cd16b07cd9c5b1d06870f0a600e10e1275e58a76868dc62c1b9431b201b993b0d0adf9aefd2f8a2c05cdbf02026128a7c189 SHA512 f99f6890bdd7d60e2af0d01f201b55fb24477cbe47579437416d4c439ae3f61fe0968ca14c9a1720a470983a02b03c9e84869facdf3398a824f29be11242bcb5 +DIST elastic-transport-python-9.2.1.gh.tar.gz 78272 BLAKE2B d469e4caa01f741dac083e30fd06b8770739060ae4eee5e4b6b5de1c043bbaf4a5267b3bac3bae63513416d0ddde2981b7c4867cd8a14dd53ea16e14e5187b4f SHA512 5de5929b01e213f61891c6e535da2d4a6197f31a8bc68b372622ce128141a1521fe2c20a92c83afdd0fd65487c9c753755bc0f08716e252fbc3e8ed1906305a6 diff --git a/dev-python/elastic-transport/elastic-transport-8.17.1.ebuild b/dev-python/elastic-transport/elastic-transport-8.17.1.ebuild deleted file mode 100644 index 5ac10f783ab3..000000000000 --- a/dev-python/elastic-transport/elastic-transport-8.17.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=elastic-transport-python-${PV} -DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" -HOMEPAGE=" - https://github.com/elastic/elastic-transport-python/ - https://pypi.org/project/elastic-transport/ -" -SRC_URI=" - https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/opentelemetry-api[${PYTHON_USEDEP}] - dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] - dev-python/orjson[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/respx[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/sphinx \ - dev-python/furo \ - dev-python/sphinx-autodoc-typehints -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # fragile to random warnings - tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off - tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -o addopts= -} diff --git a/dev-python/elastic-transport/elastic-transport-9.1.0.ebuild b/dev-python/elastic-transport/elastic-transport-9.2.1.ebuild index 5035a84caf73..e9072c930d35 100644 --- a/dev-python/elastic-transport/elastic-transport-9.1.0.ebuild +++ b/dev-python/elastic-transport/elastic-transport-9.2.1.ebuild @@ -22,12 +22,13 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" PROPERTIES="test_network" RESTRICT="test" RDEPEND=" dev-python/certifi[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] " BDEPEND=" @@ -37,9 +38,6 @@ BDEPEND=" dev-python/opentelemetry-api[${PYTHON_USEDEP}] dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] dev-python/orjson[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/respx[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] @@ -49,7 +47,7 @@ BDEPEND=" distutils_enable_sphinx docs/sphinx \ dev-python/furo \ dev-python/sphinx-autodoc-typehints -EPYTEST_PLUGINS=( pytest-asyncio pytest-httpbin pytest-httpserver ) +EPYTEST_PLUGINS=( anyio pytest-asyncio pytest-httpbin pytest-httpserver ) EPYTEST_XDIST=1 distutils_enable_tests pytest @@ -58,6 +56,10 @@ EPYTEST_DESELECT=( tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off tests/node/test_http_aiohttp.py::test_ssl_assert_fingerprint tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain + # hardcodes supported Accept-Encoding + # https://github.com/elastic/elastic-transport-python/issues/269 + tests/async_/test_async_transport.py::test_async_transport_httpbin + tests/async_/test_httpbin.py::test_node ) python_test() { diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index e6763a37c3c6..392e66466f2f 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,3 +1,2 @@ -DIST elasticsearch-py-9.1.1.gh.tar.gz 2248284 BLAKE2B 55789d5eab7dd1135dd5aa706063662bde70d20bba95ea68bb90b4bec6ad13d6647ddeb680e7da0d6b83343d75d6a8cb510e0452f0ac457a671f302429e8842c SHA512 ca4257220fc432331ad501d9e47a78a3f823d2bc4d5842ceabc9a11a83b2fa8a0fbba3404b9e46152b14143cc57735c3d8a970500fb31f9fdc05fc3bf2df0659 -DIST elasticsearch-py-9.1.2.gh.tar.gz 2256205 BLAKE2B ba00f0e7906b8accc50fedaf272c4cfeb6639d32b769f07a2fa36f436c195105745ddbddfcd1f8b332afd16d7f85223c9c0d84cbfc1125dde4b455bb47522eda SHA512 0fd3852bb23b6ead931c398332e77d437663a46a36921352c42c275d99b24e680adc762c217935083b5ab3602f57bf853a3a7dae282b87d510935cbfa511c987 DIST elasticsearch-py-9.2.0.gh.tar.gz 2499087 BLAKE2B 89d8d2adcdf8567c2cc54374e3c86eb5e7c4f6fbb456a4d5ba208ac838b6f97934380921feac6ee3bdcf76e7fe29c595e3b26f5fab12302d86e23c216837c196 SHA512 8162597177dd5dcde62b7b345e3db932d8bbe43abdc6df8bbf6f4132143a858cdab89fe3c00b0e7363045ce2114438840e056b9f83ba603558b0bc30f5b2d415 +DIST elasticsearch-py-9.2.1.gh.tar.gz 2503341 BLAKE2B afa392b4b25145bf62410bb652853889ab218e5e736a94edbcbc41e56355d8b154045c4788e9168bdaa11f28b43894f78edbbf5a9c364b474f136decd340a13a SHA512 969f05da00a1f158b883842e45ab19764069685ecb88d10da596085448ba914b2c5c1850addb59221469450f111750c35bbe42bad203849e0df5d9565c0c592e diff --git a/dev-python/elasticsearch/elasticsearch-9.1.1.ebuild b/dev-python/elasticsearch/elasticsearch-9.1.1.ebuild deleted file mode 100644 index 1dd2f1eb3e02..000000000000 --- a/dev-python/elasticsearch/elasticsearch-9.1.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 - -MY_P="elasticsearch-py-${PV}" -DESCRIPTION="Official Elasticsearch client library for Python" -HOMEPAGE=" - https://ela.st/es-python - https://github.com/elastic/elasticsearch-py/ - https://pypi.org/project/elasticsearch/ -" -SRC_URI=" - https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - <dev-python/aiohttp-4[${PYTHON_USEDEP}] - >=dev-python/aiohttp-3[${PYTHON_USEDEP}] - <dev-python/elastic-transport-10[${PYTHON_USEDEP}] - >=dev-python/elastic-transport-9.1.0[${PYTHON_USEDEP}] - >=dev-python/orjson-3[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - >=dev-python/requests-2.4[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/opentelemetry-api[${PYTHON_USEDEP}] - dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pyarrow[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - dev-python/unasync[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/sphinx \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinx-rtd-theme - -EPYTEST_PLUGINS=( pytest-asyncio ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # REST api tests are a black hole for effort. It downloads the tests - # so its an ever moving target. It also requires effort to blacklist - # tests for apis which are license restricted. - "test_elasticsearch/test_server/test_rest_api_spec.py" - # Counting deprecation warnings from python is bound to fail even - # if all are fixed in this package. Not worth it. - "test_elasticsearch/test_client/test_deprecated_options.py" - # Running daemon for tests is finicky and upstream CI fails at it - # as well. - "test_elasticsearch/test_server/" - "test_elasticsearch/test_async/test_server/" - "test_elasticsearch/test_dsl/test_integration/" - "test_elasticsearch/test_dsl/_async/test_esql.py" - "test_elasticsearch/test_dsl/_sync/test_esql.py" - # require nltk - "test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py" - "test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_vectors.py" - ) - - local -x TEST_WITH_OTEL=1 - epytest -o addopts= -} diff --git a/dev-python/elasticsearch/elasticsearch-9.1.2.ebuild b/dev-python/elasticsearch/elasticsearch-9.2.1.ebuild index 724941d322ff..2a2ad1a1db96 100644 --- a/dev-python/elasticsearch/elasticsearch-9.1.2.ebuild +++ b/dev-python/elasticsearch/elasticsearch-9.2.1.ebuild @@ -28,25 +28,30 @@ KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" <dev-python/aiohttp-4[${PYTHON_USEDEP}] >=dev-python/aiohttp-3[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] <dev-python/elastic-transport-10[${PYTHON_USEDEP}] - >=dev-python/elastic-transport-9.1.0[${PYTHON_USEDEP}] + >=dev-python/elastic-transport-9.2.0[${PYTHON_USEDEP}] >=dev-python/orjson-3[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] <dev-python/requests-3[${PYTHON_USEDEP}] >=dev-python/requests-2.4[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] " BDEPEND=" test? ( ${RDEPEND} + dev-python/httpx[${PYTHON_USEDEP}] dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/opentelemetry-api[${PYTHON_USEDEP}] dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] dev-python/unasync[${PYTHON_USEDEP}] ) " @@ -55,7 +60,7 @@ distutils_enable_sphinx docs/sphinx \ dev-python/sphinx-autodoc-typehints \ dev-python/sphinx-rtd-theme -EPYTEST_PLUGINS=( pytest-asyncio ) +EPYTEST_PLUGINS=( anyio pytest-asyncio ) distutils_enable_tests pytest python_test() { diff --git a/dev-python/fixtures/Manifest b/dev-python/fixtures/Manifest index f3eb26a03c66..7991f8f0061e 100644 --- a/dev-python/fixtures/Manifest +++ b/dev-python/fixtures/Manifest @@ -1 +1,2 @@ DIST fixtures-4.2.6.tar.gz 46938 BLAKE2B 12ac91812b4831f84ee71f80b9e8ee955b4375f3107330e2d1b679731afc3c6b764a51fb52f50fdf458568a44f1eb06002aaf3ff8faf2625d8ab5ab6960744fb SHA512 58c0dec249071f7ff6dc8063ad52a54b43a518d01758b3979b62393f2d58ff39fc58e20b1324eb1f8518cb4b155859777c6d7570c09551ef2baee4167cd7ac6d +DIST fixtures-4.2.8.tar.gz 46738 BLAKE2B 22f8265e7da782acbc867256392599fd92992bdd86df273eeda1816cd97b50e674858fca8ffc813afe1e38ba48ed7e28f1881dea13d80d325ae175a6b76b89d2 SHA512 c2844764ba493301c5d14e7f31a65cca371a7d3134277eb6aad49ad3c6e42848f6dbdad31837652ef27dfcbe19a03890f8fa6dcfc8e877460eae6083de278227 diff --git a/dev-python/fixtures/fixtures-4.2.8.ebuild b/dev-python/fixtures/fixtures-4.2.8.ebuild new file mode 100644 index 000000000000..67d5bd3c9d31 --- /dev/null +++ b/dev-python/fixtures/fixtures-4.2.8.ebuild @@ -0,0 +1,30 @@ +# 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fixtures, reusable state for writing clean tests and more" +HOMEPAGE=" + https://github.com/testing-cabal/fixtures/ + https://pypi.org/project/fixtures/ +" + +LICENSE="|| ( Apache-2.0 BSD )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/intervaltree/Manifest b/dev-python/intervaltree/Manifest index 0f3e38c732cc..bc96f46ad693 100644 --- a/dev-python/intervaltree/Manifest +++ b/dev-python/intervaltree/Manifest @@ -1,2 +1,3 @@ DIST intervaltree-3.1.0.tar.gz 32861 BLAKE2B 311b7937526495ff0d5d85b4e6a01744d585714c119e6b128ae47740a50234bfe32395728e55c1c9d0670c92b4e815901dbf26c9a83bbe8271875967e9f11f1b SHA512 adb49726912ad6e9cf6c0985b4fb94df91b4ef54aa2eb327186d7f15bc992745d81654d49f1dd2ce95f7173683ba2a072787ef1e8b389cd9b7e23b9ae743906a DIST intervaltree-3.2.0.tar.gz 32679 BLAKE2B 0bec009e0862bfd8381ff34f474d4314c16e2df1266aa2cd19cabacf783dff0a0f75fc6021a8ca4847238bfba105cdd63d35e67e3cf84546fefe2dc6becee355 SHA512 980cd381940f6f97be938f6a8c2c3cd4441aa911d4fcbea7431bf0bbc99602f4f80c04a5f7695837fca70eb13b3fcbfb24e4091f417d9e7e28d233b109cc43a8 +DIST intervaltree-3.2.1.tar.gz 1231531 BLAKE2B 71a6d014afc14745c6c73a04c21eb29493ff700b9d1b476afd8c2af937f0fc60c7d653834b401e62898cfe0c604b9ab9e8c6c8b9cc1687c2b87d3fff695ea8d7 SHA512 c38a4943fb70d39559e159a397eef686ce8df80fed2293cf32bcbfac5cb53a0893e4f93351bd49f80c61cd1b91c9f6c8dfd0ee56e74b4bbe66aa82eeca28316c diff --git a/dev-python/intervaltree/intervaltree-3.2.1.ebuild b/dev-python/intervaltree/intervaltree-3.2.1.ebuild new file mode 100644 index 000000000000..96fcced175d5 --- /dev/null +++ b/dev-python/intervaltree/intervaltree-3.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Editable interval tree data structure for Python 2 and 3" +HOMEPAGE=" + https://github.com/chaimleib/intervaltree/ + https://pypi.org/project/intervaltree/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/sortedcontainers-2.4.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mistune/Manifest b/dev-python/mistune/Manifest index 60c5ea135073..49811bf74300 100644 --- a/dev-python/mistune/Manifest +++ b/dev-python/mistune/Manifest @@ -1,2 +1,3 @@ -DIST mistune-3.1.3.tar.gz 94347 BLAKE2B 3464e6b5e4e48faacc303cbf50b15fca235eb9af4fd862bfa7eb4f97a97b4fcefdf4d221151c1e2e546693b3c539d6c71844fe6a2234a2fd9303fb5a9f29f1fd SHA512 6728543398f0e86612adbf2828b4706da8901738cb8f14df68797bf9cb20e8b9fc15b63e9cd88ee6dd8199fc47676bc4586c54063412256548e429bc4c27488b DIST mistune-3.1.4.tar.gz 94588 BLAKE2B f08207242c8b91afcfe64cc75d4c3c079f7ffc68a7336772deb410cfdc92be3be7692ab29db18a3ef3dca2ef42f07a00a399127b683022e3be34cb835d816da2 SHA512 e41b096ad7ef08a4e82ceffae74370a8eaaf634b40440e551a9b96ba76f3c274994eed56315abcc5f8dc3dedbd02e6d8eb29bf750a5b4793080ee9bea05f8d11 +DIST mistune-3.2.0.tar.gz 95467 BLAKE2B d88ab7247dff9db4ccac7bfb47774881da3b3e5ce945b8fd2d58567eb4cbb72d6715dfbda986aff03a0fd41c6d35b5cf5924a23a3288b00effe97a32e496debf SHA512 0fc30fb323bc901830472626fc34fc4d99fc066a7492c61c7d2672df473e95220accad02f98ddcf070ddbd9fe918585319251f767e7c41443eaa37918e007838 +DIST mistune-3.2.0.tar.gz.provenance 9203 BLAKE2B 39533037d52f637cdcd52095cad9e22ec9cda53c431385539f1c4e2c8347052a53b15847de417185ddc39b789f51036016dd87d34bd3ce464a9ea658110a66f7 SHA512 0bddb4fbfba7b7eb7b0e88b51e1a80a3c6858c60d45c796e314c710230d7ca81ad7fa1644b82e402651ad1e808445430477ec183e2dd452e076253279b775b9d diff --git a/dev-python/mistune/mistune-3.1.3.ebuild b/dev-python/mistune/mistune-3.2.0.ebuild index a02262c80acd..bd6a9c51c370 100644 --- a/dev-python/mistune/mistune-3.1.3.ebuild +++ b/dev-python/mistune/mistune-3.2.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/lepture/mistune PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -16,6 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest index bcbfb49d11bb..2e4c4366f247 100644 --- a/dev-python/nbclient/Manifest +++ b/dev-python/nbclient/Manifest @@ -1,2 +1,3 @@ DIST nbclient-0.10.2.tar.gz 62424 BLAKE2B f0efae4b3eed70f04f3d0cc830ef4cc47ed98b93785c6048103b62aff9537eaeebc0ad54a513c142c3d76c64d093c9bac3003608c6510b719d9b5de7b67ad463 SHA512 e19e58950822711af8588fdb7a24c1df028c77c2e128023494335973ff28f524478637c491b16329c38edb2ff7714632d4216e6483bb9aa79e2b393e3de72be8 DIST nbclient-0.10.3.tar.gz 62564 BLAKE2B ebcbbbe09e1b2ee18423d2010627bb551e99762c5847341e44df8a1a41977d7cbf3652046dfe3e44ad8569a5d36befe041030001a3d37b6440eff17f223f7e68 SHA512 ae618a81baec30d9bb239b4fcc3e79c873e1163700ab15b646b552951c4f3156a986f5d7f041d7def56116115d24eb2be413028f2c7b076113d70abf4efb3ebc +DIST nbclient-0.10.4.tar.gz 62554 BLAKE2B f8af764820ac6f9da69bd9ad32584b873c826ae5eff51ec4efd41f161e95be3f4079a87a822f4520ba2e6018485be589f90ec9c3533caf82f26a6d7b85c11ec0 SHA512 c8be6d60e0adb6ed2c4f168affe2581d57bfa510461459e9a7c01066998a0dadee73c501fb0144a8148744e95942238b11c8bfce54fe7744add9d20663da859b diff --git a/dev-python/nbclient/nbclient-0.10.4.ebuild b/dev-python/nbclient/nbclient-0.10.4.ebuild new file mode 100644 index 000000000000..d464be36eb6e --- /dev/null +++ b/dev-python/nbclient/nbclient-0.10.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client library for executing Jupyter notebooks" +HOMEPAGE=" + https://nbclient.readthedocs.io/en/latest/ + https://github.com/jupyter/nbclient/ + https://pypi.org/project/nbclient/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/jupyter-client-6.1.12[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.1.3[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.19.3[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + >=dev-python/nbconvert-7.1.0[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( flaky pytest-asyncio ) +EPYTEST_RERUNS=3 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # hangs? + 'tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' +) diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 016218cf53ca..d3367a556f21 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1,3 @@ DIST pdm-2.26.1.tar.gz 2671172 BLAKE2B cb0360e4973adf162c5980158633df6e64b3164e4af8b1f741ed613141b6b46b8bf3dce5306991b46a3d1f6b9a7e70da1c9bcbcc4326502578cdbd0aff548502 SHA512 b51f15441ae1b71b4efadb6a74043a717ec1b7247091b665129c38b32b6514392c6b2d274a3667f38d7ba477d666eeeb3696b082dc2ec287ca8857fb51c12854 DIST pdm-2.26.2.tar.gz 2671330 BLAKE2B caf784dd2e55a5853b7dd0fa901d3f78cf49146ce1547cce238b6ad7a4180b4bad9d875a19398c596889c82c359141d559982138cdde76c31e2d732a9afe7708 SHA512 231afc9565afd68fb0e4e05895b28a61ea2e704166f3139f56c25a9b73ca26f4ebb3879cf31f764c199acfbb766e0e2a3bffbdc43169c126b250da571afb4752 +DIST pdm-2.26.3.tar.gz 2673653 BLAKE2B 63affba97b2d1073bcecc63b4656da84f67fb03ab71ddcb64fd782466723e792bf71748b81ad993afc1027e3dbd8a3c9b29e5ef389b49743bf3cd65cf448b648 SHA512 5d06d48620d9a304de086c3c544c5db60621cb8a097a261255f243419cd93a1bb69d85a2eb3d7b734150a50454db8b64e1bae18516e4a7430ec86f1bde443a34 diff --git a/dev-python/pdm/pdm-2.26.3.ebuild b/dev-python/pdm/pdm-2.26.3.ebuild new file mode 100644 index 000000000000..72da634857fe --- /dev/null +++ b/dev-python/pdm/pdm-2.26.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.5[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.7.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/id-1.5.0[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + >=dev-python/packaging-22.1[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.10.07[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/truststore-0.10.4[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.5[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/uv + ) +" + +EPYTEST_PLUGINS=( pytest-{httpserver,httpx,mock,rerunfailures} ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die + # remove pkgutil namespace magic, as it doesn't work and makes + # dev-python/pdm-backend tests test the wrong package + rm src/pdm/__init__.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + # unhappy about extra packages being installed? + # (also fails randomly in venv) + tests/cli/test_build.py::test_build_with_no_isolation + # TODO: random regression? + tests/cli/test_python.py::test_find_python + # TODO + tests/test_formats.py::test_export_from_pylock_not_empty + ) + + epytest -m "not network and not integration and not path" +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index e703da282c72..30647f321d0e 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -2,4 +2,6 @@ DIST pikepdf-10.0.2.tar.gz 4548116 BLAKE2B a9e354696bd86de5aac8b84b199e133115a56 DIST pikepdf-10.0.2.tar.gz.provenance 9406 BLAKE2B 3c47807fe5198e5a0e29b2ee07ad2bc655effbc938d7f0f79da6e6c504f7c340bb03be75f73d7707759bd416205daecb6ead137438406413904c64ced9176aec SHA512 7af0d74baff7b50d5cbeda85f4fd63187a56349351be44781263ad780f8e2ce5bf35cf489f99c33f365f4b42b38f6b92926ebcad33fdbaf2e6f2b3f7d4dd6d5b DIST pikepdf-10.0.3.tar.gz 4549203 BLAKE2B fb251a55ab2750bdf705e132b2938f84f80e4b4461284138aea2809cf50c39ffda9c91bf95c997f23639bd7485cf83e93a7e5709d9a5e6648a95b31464d9e254 SHA512 9d7bb739b27555524c4c70018c5d8425d079cfd70234b66a8e005980f19bcc27ac6f363e2aeb54badc042906a486ffc4eadbe4bd22a930c1eb969b7d46a0442f DIST pikepdf-10.0.3.tar.gz.provenance 9263 BLAKE2B 02c21d953ae667dfa59d65bfbff86b99198f8b081602e6b7f2c611b5aa5f5efc8966d5678965abf348bd014be87806b9e7d8a34633c61b95906c19a258f480ce SHA512 bc96941d5775c41a0b8e0feea568ba9395aa4e182b365d317871530776be574a1f0c41c6c43a096f08b3ca28bb79a4ef1e7e815f5d502b9b1639ac571ab692e3 +DIST pikepdf-10.1.0.tar.gz 4566184 BLAKE2B cd0a039f7fcc868919ee4886ab0f7f1ce1c2d85ffbe4636330e74ea8dee803ee98b9cf40ad7b9d7f9196ec241f8cc37b0a89d8d365e44482a04090b0297374c5 SHA512 3d9b697633e05dcc1c949a4b195b6b218955a48b33e7e2e29db764ffc293ffb6f2a54080e4e59198e1dda585e01bec514ed00d262ee3bdb37c747c162d2cb5e5 +DIST pikepdf-10.1.0.tar.gz.provenance 9306 BLAKE2B 0d8c5ac4a52707630c6893894039e8f5cfb8cf041870fcedaaf12e943bf49b1ae47926b19c1280bb5762a8d96e5b440203611053d079352c6d81d9feeef0a0f9 SHA512 673e639638d9240ba08ef6c09921644bfc77a73a5e5579d9e50af14f02b5abd2f98a18d01ea5124e0b1fcfbf8fc64e706b392cd65cf29a58eb00e97937ea64e2 DIST pikepdf-9.11.0.tar.gz 4546289 BLAKE2B 267a8f834cf9da21a5d8f4b5e4734eaaaa9889f9ae919e6c9f030ffda3a36e951f3a8aedecc8168234264ffd5792ca1eefc2e1833ec8a6b540b0978a5638e8e4 SHA512 b92c1aa285935faccf8f1058aff25bf1ba906d8e6e4cca986f6fed59c2faf9cb9f1c5a3aeebd2899dac7fbe2489af627c76a751963657aa476c16eb1374b34ad diff --git a/dev-python/pikepdf/pikepdf-10.1.0.ebuild b/dev-python/pikepdf/pikepdf-10.1.0.ebuild new file mode 100644 index 000000000000..c7547773acca --- /dev/null +++ b/dev-python/pikepdf/pikepdf-10.1.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pikepdf/pikepdf +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="big-endian" + +# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as +# https://qpdf.readthedocs.io/en/stable/release-notes.html. +DEPEND=" + >=app-text/qpdf-12.2.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[lcms,${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + !big-endian? ( + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) + media-libs/tiff[zlib] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-timeout ) +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -e '/-n auto/d' -i pyproject.toml || die +} diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index 32de4543defb..7b7092ed15ef 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -1,4 +1,2 @@ -DIST psutil-7.1.0.tar.gz 497660 BLAKE2B 77c6adb50d4c8191bc47d3511735e97fffefd02cb6bdd85e2c9ef5f3cd7b3eee439e959d968bac05d5a26bd7cd3b6833519e71aac960d4fe578b845b1aeb1453 SHA512 6bf0fdaa7c1241126f99041bdfde87c3fe834b8364e306eb72deebafcc272a135d64502e12157e1134ebf0353893dee906fa00517ca3d399e97ea486b238ee6c -DIST psutil-7.1.1.tar.gz 487067 BLAKE2B 7c3d5833bdc6c08fd8686d1a0f563c336cd8d4ddc86d38947b570cbc18d2ff1a0a5559d94da864260ff1b199a6eb0f376fb2e7e6bc648bcc0d36a2c7e6a05672 SHA512 e363a12e16e3cfb5df3f6df54af09a9f585e641cae41df1a9f5420dbb5a6e61c53e54c1a1eaf4fe29cb7d28adea9278dba9b374f0d57689f2fe6b7984ff8f2a4 -DIST psutil-7.1.2.tar.gz 487424 BLAKE2B d2f98b49c8b0d90639e0524864c4f6ce221240d4b79218fe1d72f11fd47e95eb6e79d705ac07239e59cca597880d8de8a5c9f89875e8f44811692256c9ab8b44 SHA512 89721868fcbf9a99ff21ddcfa6b5ae991d89f30b31db6c10dc8e712295640c2e4f0987975bba7f94a1d9153362c20e5628994c9e013c1e2ab106a2344a1fc5bb DIST psutil-7.1.3.tar.gz 489059 BLAKE2B 860fce273fd5f6977eeef3a47c97fbe9500e750fadb2bb7e9d4d8e7859e566202f8436fa5c022005c4d90e84265e50f0bf9b560f749831e6ea6c60fbe2ba8529 SHA512 6c4a4ef94e634a808cce94c143d5f4164d2012dc314091257ba122a7963fa6bf982c4c54ba3b60da6c52535fbe83de19a4e3181e07fde1807ec4acc47eb44621 +DIST psutil-7.2.0.tar.gz 489863 BLAKE2B ad41b82c50346c58824c2db6d0fbf456b7080c290fc1669f7edd1fe716b3637c44aec6567720ffc463d209e43eef14d1ee2df99850762473e815b045faa78956 SHA512 d90b6198080b0e33cc24906365d825f8583e1c69f202df1de222b57f0e7140be2357df321406447215d0fd7f2f6f0781d2ba7dd0b4f52e9bef2f22bc2e3c3f3f diff --git a/dev-python/psutil/psutil-7.1.0.ebuild b/dev-python/psutil/psutil-7.1.0.ebuild deleted file mode 100644 index 18c242ec54cd..000000000000 --- a/dev-python/psutil/psutil-7.1.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Retrieve information on running processes and system utilization" -HOMEPAGE=" - https://github.com/giampaolo/psutil/ - https://pypi.org/project/psutil/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -EPYTEST_PLUGINS=( pytest-subtests ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # hardcoded assumptions about the test environment - tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked - tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs - tests/test_linux.py::TestSystemNetIfAddrs::test_ips - tests/test_posix.py::TestProcess::test_nice - tests/test_process.py::TestProcess::test_ionice_linux - tests/test_system.py::TestDiskAPIs::test_disk_partitions - - # mocking is broken - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail - tests/test_linux.py::TestSensorsBattery::test_emulate_no_power - tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined - - # doesn't like sandbox injecting itself - tests/test_process.py::TestProcess::test_weird_environ - - # extremely flaky - tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used - tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used - - # nproc --all is broken? - tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc - - # broken on some architectures - tests/test_linux.py::TestSystemCPUCountCores::test_method_2 - tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file - tests/test_system.py::TestCpuAPIs::test_cpu_freq - tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison - - # broken in some setups - tests/test_linux.py::TestMisc::test_issue_687 - tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity - tests/test_linux.py::TestSystemCPUStats::test_interrupts - tests/test_posix.py::TestProcess::test_cmdline - tests/test_posix.py::TestProcess::test_name - tests/test_posix.py::TestSystemAPIs::test_users - tests/test_process.py::TestProcess::test_memory_maps_lists_lib - tests/test_process.py::TestProcess::test_terminal - tests/test_unicode.py::TestFSAPIs::test_memory_maps - - # fails on all AT containers - tests/test_system.py::TestMiscAPIs::test_users - - # failing without /sys/class/power_supply? - tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery - tests/test_misc.py::TestMisc::test_serialization - ) - - # Since we are running in an environment a bit similar to CI, - # let's skip the tests that are disabled for CI - local -x TRAVIS=1 - local -x APPVEYOR=1 - local -x GITHUB_ACTIONS=1 - - rm -rf psutil || die - epytest --pyargs psutil -o addopts= -} - -python_compile() { - # Force -j1 to avoid .o linking race conditions - local MAKEOPTS=-j1 - distutils-r1_python_compile -} diff --git a/dev-python/psutil/psutil-7.1.1.ebuild b/dev-python/psutil/psutil-7.1.1.ebuild deleted file mode 100644 index d9260c8c317b..000000000000 --- a/dev-python/psutil/psutil-7.1.1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Retrieve information on running processes and system utilization" -HOMEPAGE=" - https://github.com/giampaolo/psutil/ - https://pypi.org/project/psutil/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - -EPYTEST_PLUGINS=( pytest-subtests ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # hardcoded assumptions about the test environment - tests/test_linux.py::TestRootFsDeviceFinder::test_disk_partitions_mocked - tests/test_linux.py::TestSystemDiskPartitions::test_zfs_fs - tests/test_linux.py::TestSystemNetIfAddrs::test_ips - tests/test_posix.py::TestProcess::test_nice - tests/test_process.py::TestProcess::test_ionice_linux - tests/test_system.py::TestDiskAPIs::test_disk_partitions - - # mocking is broken - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_0 - tests/test_linux.py::TestSensorsBattery::test_emulate_energy_full_not_avail - tests/test_linux.py::TestSensorsBattery::test_emulate_no_power - tests/test_linux.py::TestSensorsBattery::test_emulate_power_undetermined - - # doesn't like sandbox injecting itself - tests/test_process.py::TestProcess::test_weird_environ - - # extremely flaky - tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used - tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used - - # nproc --all is broken? - tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc - - # broken on some architectures - tests/test_linux.py::TestSystemCPUCountCores::test_method_2 - tests/test_linux.py::TestSystemCPUCountLogical::test_emulate_fallbacks - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_cpuinfo - tests/test_linux.py::TestSystemCPUFrequency::test_emulate_use_second_file - tests/test_system.py::TestCpuAPIs::test_cpu_freq - tests/test_system.py::TestCpuAPIs::test_cpu_times_comparison - - # broken in some setups - tests/test_linux.py::TestMisc::test_issue_687 - tests/test_linux.py::TestProcessAgainstStatus::test_cpu_affinity - tests/test_linux.py::TestSystemCPUStats::test_interrupts - tests/test_posix.py::TestProcess::test_cmdline - tests/test_posix.py::TestProcess::test_name - tests/test_posix.py::TestSystemAPIs::test_users - tests/test_process.py::TestProcess::test_memory_maps_lists_lib - tests/test_process.py::TestProcess::test_terminal - tests/test_unicode.py::TestFSAPIs::test_memory_maps - - # fails on all AT containers - tests/test_system.py::TestMiscAPIs::test_users - - # failing without /sys/class/power_supply? - tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery - tests/test_misc.py::TestMisc::test_serialization - ) - - # Since we are running in an environment a bit similar to CI, - # let's skip the tests that are disabled for CI - local -x TRAVIS=1 - local -x APPVEYOR=1 - local -x GITHUB_ACTIONS=1 - - rm -rf psutil || die - epytest --pyargs psutil -o addopts= -} - -python_compile() { - # Force -j1 to avoid .o linking race conditions - local MAKEOPTS=-j1 - distutils-r1_python_compile -} diff --git a/dev-python/psutil/psutil-7.1.2.ebuild b/dev-python/psutil/psutil-7.2.0.ebuild index d9260c8c317b..de60305104db 100644 --- a/dev-python/psutil/psutil-7.1.2.ebuild +++ b/dev-python/psutil/psutil-7.2.0.ebuild @@ -42,8 +42,10 @@ python_test() { tests/test_process.py::TestProcess::test_weird_environ # extremely flaky + tests/test_heap.py::TestHeap::test_mmap_used tests/test_linux.py::TestSystemVirtualMemoryAgainstFree::test_used tests/test_linux.py::TestSystemVirtualMemoryAgainstVmstat::test_used + tests/test_system.py::TestMiscAPIs::test_heap_info # nproc --all is broken? tests/test_linux.py::TestSystemCPUCountLogical::test_against_nproc @@ -73,6 +75,13 @@ python_test() { # failing without /sys/class/power_supply? tests/test_memleaks.py::TestModuleFunctionsLeaks::test_sensors_battery tests/test_misc.py::TestMisc::test_serialization + + # tests for calling setup.py, fail over removed psutil dir + tests/test_scripts.py + ) + local EPYTEST_IGNORE=( + # requires psleak + tests/test_memleaks.py ) # Since we are running in an environment a bit similar to CI, @@ -82,7 +91,7 @@ python_test() { local -x GITHUB_ACTIONS=1 rm -rf psutil || die - epytest --pyargs psutil -o addopts= + epytest -o addopts= } python_compile() { diff --git a/dev-python/pyserial/files/pyserial-3.5-glibc-2.42.patch b/dev-python/pyserial/files/pyserial-3.5-glibc-2.42.patch new file mode 100644 index 000000000000..3a4e95a85449 --- /dev/null +++ b/dev-python/pyserial/files/pyserial-3.5-glibc-2.42.patch @@ -0,0 +1,39 @@ +https://github.com/pyserial/pyserial/issues/805 +https://github.com/pyserial/pyserial/pull/808 + +From 152f2639c630141b9d23f023178b619751e624a0 Mon Sep 17 00:00:00 2001 +From: Alexander von Gluck IV <alex@terarocket.io> +Date: Sun, 24 Aug 2025 20:17:51 -0500 +Subject: [PATCH] serial_posix: Fix custom baud rates for glibc >=2.42; solves + #805 + +* https://sourceware.org/pipermail/libc-alpha/2025-July/168553.html +* Based on changes recommended by JoaoBarioni in #805 +* Reverts 0085e1e1d (#519) +--- + serial/serialposix.py | 11 ++--------- + 1 file changed, 2 insertions(+), 9 deletions(-) + +diff --git a/serial/serialposix.py b/serial/serialposix.py +index 0464075b..6f843918 100644 +--- a/serial/serialposix.py ++++ b/serial/serialposix.py +@@ -430,15 +430,8 @@ def _reconfigure_port(self, force_update=False): + ispeed = ospeed = self.BAUDRATE_CONSTANTS[self._baudrate] + except KeyError: + #~ raise ValueError('Invalid baud rate: %r' % self._baudrate) +- +- # See if BOTHER is defined for this platform; if it is, use +- # this for a speed not defined in the baudrate constants list. +- try: +- ispeed = ospeed = BOTHER +- except NameError: +- # may need custom baud rate, it isn't in our list. +- ispeed = ospeed = getattr(termios, 'B38400') +- ++ # Use safe placeholder for tcsetattr(), try to set special baudrate later ++ ispeed = ospeed = termios.B38400 + try: + custom_baud = int(self._baudrate) # store for later + except ValueError: + diff --git a/dev-python/pyserial/pyserial-3.5-r3.ebuild b/dev-python/pyserial/pyserial-3.5-r3.ebuild new file mode 100644 index 000000000000..4cba340dbaf5 --- /dev/null +++ b/dev-python/pyserial/pyserial-3.5-r3.ebuild @@ -0,0 +1,42 @@ +# 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Serial Port extension" +HOMEPAGE=" + https://github.com/pyserial/pyserial/ + https://pypi.org/project/pyserial/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="examples" + +DOCS=( CHANGES.rst README.rst ) + +PATCHES=( + "${FILESDIR}/${P}-unittest-fix.patch" + "${FILESDIR}/${P}-glibc-2.42.patch" +) + +distutils_enable_sphinx documentation --no-autodoc + +python_test() { + "${EPYTHON}" test/run_all_tests.py loop:// -v || + die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index f04ce65cfbf7..2db3bef9687d 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,6 +1,4 @@ -DIST unearth-0.17.5.tar.gz 284542 BLAKE2B 091813721c1d2218a75cf47c5cf07a818e9f21b567d5afab25d1585efd77de6a94d3ce14c46b89943ca833e78c2624e90804964b14161c18a45c4ade0a0125ef SHA512 8a4d273c216296ca7d86d0a2aadb0a9626b9cd606819b45dc80b02211d0e6bf11c2903d33a389ca4b10d88b800a94f2cce5349051bd97c5b66d13186c55074b6 -DIST unearth-0.17.5.tar.gz.provenance 9059 BLAKE2B 05dd9970903e4c87fdb2b1ece357ad309dce351b7d461ce9409e34a333576fe3c230afcc675997272015c5f25f390f54fa1b6ec19249edd12c2938d5f1674379 SHA512 ffbc09e43ecbdf3260157226e9d1b1a39bed90e20c6b9542ab5531ef853d3c1d3a1ef6a671f3dbfaeb90aec62432d85af266c1b55327e4d690155e85fb6d25d5 -DIST unearth-0.18.0.tar.gz 285062 BLAKE2B abd76a0c697566157fca2dcce3b2957b821b335470cb1742040b8188054f50d23411cb5196604d1c1ef39a0119974408a683e8dca675fe9cb9b67af18e2d37ef SHA512 196c91fa146b0a02cfcf3cf75846e41aa422cf9866847f2575eedb6f45e4a4b451f55e1f8104ac424c384a7e11c6601b4df655ed5db6d48b44b020f96b38df98 -DIST unearth-0.18.0.tar.gz.provenance 9156 BLAKE2B 8c2536d8af2f31a7248b432f6317fbe01314b8a2d61d9a004af905e66ca7af108a6bfdae8e87ab6018e933d123e98185140a30385fd536341b9d98725d4830ec SHA512 9452c562af79fe633619ec61e3b85cef3f82ae9360244dcf320d197945b783f290b2d41d1bd725d02575fc99e2123cc4670512ee1db142f993e38919b4401c66 DIST unearth-0.18.1.tar.gz 285044 BLAKE2B 492d3bdd4eb56a007c9fa8efa095e6f6f4ab6c10099923de69ec90543d4cfbb8b5581716976d652ab0fe3be93d98e78fc200ad53ee143270892dc558b5f7be40 SHA512 0e48b0830eedea887fad992c7a4209b95f59e26da96775dfe40e143d808f58a2cf8dc6f0e97b950659802f99b180f353731527fbfd7061fb3bda46a0f36214c5 DIST unearth-0.18.1.tar.gz.provenance 9219 BLAKE2B 1142df01d1b06245b78ca8aa1cf100a7270f86b635edab92c5e1f7030b6e285af02d93d8884b28acd29574dac9026adfe7f652db9b0cff973efb3a5b9d20c03c SHA512 9790c25b42c153faebc8e7ea15b4b54696df650173b1453a1ec583f9a03c4eea2c640b18a812c457d06bbe0be69250bfd67ed687c5486f0b8c0b5e794c1d3a14 +DIST unearth-0.18.2.tar.gz 285169 BLAKE2B 53e1d714276ee6c456b8d21ab12fe6abfa816dc3f8c407279f680d85e85a9a71f7e3ab841a24728a7d26a580f2bc032b2875bfe3943c500af7344ac973e27365 SHA512 a6e676ffc5ea543184ba17f7b5e355dc346147d1584fe850eea7adb69fff4e0df88d47fd8e1c0d9264f188a385d22e0759fd73d278efa9c1d6048976dad3531f +DIST unearth-0.18.2.tar.gz.provenance 9710 BLAKE2B 6fd70dd262848f23979b7e17c90a7f4b240ec86727c0c46f899035b715b8f29d5cd7281747be578ca43e0a6295331deaec1d8ebbd64f45d542271cd6f3f8c9b1 SHA512 9f1c515d3be2b4c391a544d042ad4843833a8ad714ba7b987a570b738af578facd03c71181a1a4b7ef72117ce0ff768aef2f0d1ecdd6b9c7e7e8229aecbd1c7b diff --git a/dev-python/unearth/unearth-0.18.0.ebuild b/dev-python/unearth/unearth-0.18.0.ebuild deleted file mode 100644 index edd0fbab7bd2..000000000000 --- a/dev-python/unearth/unearth-0.18.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYPI_VERIFY_REPO=https://github.com/frostming/unearth -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A utility to fetch and download python packages" -HOMEPAGE=" - https://pypi.org/project/unearth/ - https://github.com/frostming/unearth/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - <dev-python/httpx-1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-{httpserver,mock} ) -distutils_enable_tests pytest diff --git a/dev-python/unearth/unearth-0.17.5.ebuild b/dev-python/unearth/unearth-0.18.2.ebuild index edd0fbab7bd2..edd0fbab7bd2 100644 --- a/dev-python/unearth/unearth-0.17.5.ebuild +++ b/dev-python/unearth/unearth-0.18.2.ebuild |
