diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-27 22:44:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-27 22:44:15 +0000 |
| commit | 54e07853700b4f51c5c2f7f31a2657bac87d5b88 (patch) | |
| tree | d6fce8307180e726f6e4fadfcb74900c3412e1a7 /dev-python | |
| parent | 53d43dfbb4e19fa3b38817c263c48ed2b8f00b0b (diff) | |
| download | baldeagleos-repo-54e07853700b4f51c5c2f7f31a2657bac87d5b88.tar.gz baldeagleos-repo-54e07853700b4f51c5c2f7f31a2657bac87d5b88.tar.xz baldeagleos-repo-54e07853700b4f51c5c2f7f31a2657bac87d5b88.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
49 files changed, 1027 insertions, 128 deletions
diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index 404a756fc3fb..7e7915a1707f 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1,3 +1,4 @@ DIST blessed-1.23.0.tar.gz 6745236 BLAKE2B 4d211d840f964412b62089d96c364409d6ce80e119841b037287f68f667f640aac56ad37dda19ac47bba54053faf26c6c81bab52d01acfa155e2e9738c0a658d SHA512 0b343d4b55df2aaa516e7c0ac41f0bf5ad00bdc282eeace219eb5515fe464770bb1d35fbed9f65705213394e679691c96aa957f93652d6dda6d1958d4074bfda DIST blessed-1.25.0.tar.gz 6746381 BLAKE2B d729c5963fc388d9672a660719ecafbd995b6b1b38feacd26b6db57a5857846286b6f3d99bf391f008bed28d111918a3cc50e47db30490285b85a032c7f1ebd6 SHA512 28ffc5bb6b84d9ae4019ec74bb6a5144611cdbf72f2aebb1c9776179a018b454e0a5f9a5e771ac3f46cdda4a1c074c18e72aa27ba7fdf6d6bcfda9864ce39264 DIST blessed-1.27.0.tar.gz 6761573 BLAKE2B 1549bc7e327cdd445d1c70033e637dbdb35bb686054e294d8c67422aa61eb44e3c37dc5a3d83e1b4ca920f786401bfa586008945aa70fee3b44c3a8caaaa8d72 SHA512 939262883b367bcae29f9b1f5f750adb5d0c4c7cd4ae7b61d13e00d1e1820384e3b38a5bf7f6694d3682c432ea6a058d6b487eb72c860b93b34093389068238a +DIST blessed-1.28.0.tar.gz 13950742 BLAKE2B 585b3db3a388db79f30d262187bacd983a6c5b48a19579c5598ec8296ef4443200e1b996dec7aa2df1dfcefc416ba2fee92be178c2f11f85fae9e194666d8888 SHA512 4772e917e2164120867e9ce454ae7bf9b31f90e85367ae5b1c737cb4656cd1c57bf4cf7501223d4306493ba5d03ab73d9c195803865dc33da7366a46b30d3d09 diff --git a/dev-python/blessed/blessed-1.28.0.ebuild b/dev-python/blessed/blessed-1.28.0.ebuild new file mode 100644 index 000000000000..9bd4311dfb1b --- /dev/null +++ b/dev-python/blessed/blessed-1.28.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning" +HOMEPAGE=" + https://github.com/jquast/blessed/ + https://pypi.org/project/blessed/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/wcwidth-0.5[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +EPYTEST_PLUGINS=() +# tests are flaky with xdist +distutils_enable_tests pytest + +python_prepare_all() { + # Skip those extensions as they don't have a Gentoo package + # Remove calls to scripts that generate rst files because they + # are not present in the tarball + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \ + -e '/^for script in/,/runpy.run_path/d' \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to timing + tests/test_sixel.py::test_sixel_height_and_width_fallback_to_xtwinops + ) + + # COLORTERM must not be truecolor + # See https://github.com/jquast/blessed/issues/162 + local -x COLORTERM= + # Ignore coverage options + epytest --override-ini="addopts=" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index ae220289a7ea..84a59636b9a4 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,4 +7,5 @@ DIST boto3-1.42.31.gh.tar.gz 1073739 BLAKE2B b8d4917f4567d05278278094ff41e627874 DIST boto3-1.42.32.gh.tar.gz 1074285 BLAKE2B 650353f9502b0857e75ec342d8da128471e091128fd4e18e3b4615ca397a1ffc375d7585ddd250ef9f0c9ed750f692f7ec85830918574bf8c17e12ce74798945 SHA512 0f9de9374c7e3d51700d4d787cdc203fb5f3d42650977e5ce904c7346436554c7775f4d5de0ec031d76964060a6281a53e6c11fb6bc0b14646fa700233f91860 DIST boto3-1.42.33.gh.tar.gz 1075387 BLAKE2B 7ce3dc11cacc0f9eeaf0e79e7347e45086e9e9a2edba209686295b097254c33ad1b6efd31f657052361372e0c0a1e99ddc3f367b84850eba11fc192071472925 SHA512 0b41602fc491a51caae9c180937e50bc4f7feba6cfd92bb24a9e07fc0dfca3f4ecfcac5c6688a130a1d81e25ae458021a399e73819a9778d5a26068e5f26affd DIST boto3-1.42.34.gh.tar.gz 1075720 BLAKE2B 52881dd1683dc36c7f3360113d5418fd0e133d61954f16ca6703bb811b49fa5a9f22889383c3ab44a6a6b5a98aef047e605dc970148e9911c84a3720ef244d94 SHA512 f07639b74736c16c7b57d00dea4c9b961ef97db1ab808c238e966728f70a4b655beb2c6b2081f08c3fca39724b68f0aa353328e52dec89273b9988397b72bd6b +DIST boto3-1.42.35.gh.tar.gz 1076240 BLAKE2B 533ae1d59dc7f370e6e9ec1f73c45f54677b9ccc016785b743b6969e5a404daee8d46b9d9a0ba9797c07b326219217adb7113185244bc165bac53987c0ec239b SHA512 88c22015843523dde3dbe229faa1ee5951f804819f72a79af12393882e5c36715914499453661a80e7fe0b5c130d72081a66bb6fc913bb08aeb15f331381cb7b DIST boto3-1.42.9.gh.tar.gz 1059745 BLAKE2B 78fba4fe807a3ea8eea22cd81cff67c90cd36e281665545bc9d7dc9bfaa1089d668e1994ba6e950eedfe2cfa1495f192b43f8fdae2b9b8b6bd74b62e0ab699d8 SHA512 92ecb0d609ba2f7df6a444b9d840e2a070b22ec38f8ae3bd376e9473e5b4efbefc9bc924046cc6d79576967e33eed270633396171e6102331b58519021435fe8 diff --git a/dev-python/boto3/boto3-1.42.35.ebuild b/dev-python/boto3/boto3-1.42.35.ebuild new file mode 100644 index 000000000000..6e5f06a012ad --- /dev/null +++ b/dev-python/boto3/boto3-1.42.35.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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 01566e72b38c..1c5ce6ae444b 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -7,4 +7,5 @@ DIST botocore-1.42.31.gh.tar.gz 15766802 BLAKE2B 06171344b9d0c33342ae0728ca4b71a DIST botocore-1.42.32.gh.tar.gz 15772486 BLAKE2B a6aac0e927ee993ea9a3477e44fdb4f468f4285b862504b0ce786164016708ca97213229e7bbe760c5c750deea0fbe5b2ba2c839bfe9426d5823a779f9566c88 SHA512 a7272ca27a6a11bd6d149957ab61bae4306da6dc66e23d96b06a3ef0828eb8dd9e0309642a41c424cf702a4129b4005ced013a2f3c9ec7cfe6aa37d2f8fd1bfd DIST botocore-1.42.33.gh.tar.gz 15774060 BLAKE2B 18ba48842711d6549233dadf64827281cafaa2c0c92f2a19a325d58753605920698ec8b1bb62de1f54df57d03229f57493eeefe8eb7e5cce9f9baa066b941037 SHA512 ea32417e60e2770733f07ca3e2e1acc3c6005af003fbe8399c2e0aa225ed6b37860cbb2521007391f4392f2ec31f007260e7b049a9412e90590feb694101c27f DIST botocore-1.42.34.gh.tar.gz 15781471 BLAKE2B 694d24a74d14db50f6532c92032e3f0e213b777f701938ce3a8eb0f2120d43f41e5e1197c3d6ce6e1578ca731d6f56d39423b838f49cb28cd04924e268f0d986 SHA512 9f9d9f07badaec82c33c3d0d90cee0a54d8ace7bc54e4ca32716ca21498c600d8f0a321f9aaebb2fe4d4721819b62fca4e47daa1b35d09f8496f30055e66f257 +DIST botocore-1.42.35.gh.tar.gz 15782577 BLAKE2B 72743c23cca0a258210208c1f1e2c6f76ed6f4e8869551c0a9a6ae162e81ba7ab60c072dede2af6d35df6508ba4e66eace57312ccf9272062636f013e2ac2eed SHA512 7e8c4ea994b27ba0a4fb02941c77cd905ee078bd90988f706969bdd5663406d52d324681eea0e1636159d30469756baa5fe242628f3f6316c88dd5e095b5236f DIST botocore-1.42.9.gh.tar.gz 15723096 BLAKE2B 2cb1489fa48546abe3306935367744f918d053e02af58d6b85ed84a50bbfc659ec20763055e9783d492f6f248af81e571b8452487bf8ca3267e15d12ce8773bb SHA512 54cc19ca34474e8bfd7eda403452af24b6f73e611442ba4b7ed5f4f223ae279bdf95a3bc4945d16eba6ccca53d2dbefee6d2157ecb6b4ef23a1e960d5469dcc9 diff --git a/dev-python/botocore/botocore-1.42.35.ebuild b/dev-python/botocore/botocore-1.42.35.ebuild new file mode 100644 index 000000000000..f6ce0d9ed8d5 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.35.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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/cffi/cffi-2.0.0.ebuild b/dev-python/cffi/cffi-2.0.0.ebuild index 4e75cb751b83..f1ae2a40d7e7 100644 --- a/dev-python/cffi/cffi-2.0.0.ebuild +++ b/dev-python/cffi/cffi-2.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -47,6 +47,7 @@ distutils_enable_tests pytest PATCHES=( "${FILESDIR}"/cffi-1.14.0-darwin-no-brew.patch + "${FILESDIR}"/${P}-pycparser-tests.patch ) src_prepare() { diff --git a/dev-python/cffi/files/cffi-2.0.0-pycparser-tests.patch b/dev-python/cffi/files/cffi-2.0.0-pycparser-tests.patch new file mode 100644 index 000000000000..aff09198d654 --- /dev/null +++ b/dev-python/cffi/files/cffi-2.0.0-pycparser-tests.patch @@ -0,0 +1,106 @@ +https://github.com/python-cffi/cffi/commit/c36c02fa6f4f1d12a9cead81861c6f42af47da22 + +From c36c02fa6f4f1d12a9cead81861c6f42af47da22 Mon Sep 17 00:00:00 2001 +From: Eli Bendersky <eliben@gmail.com> +Date: Sat, 24 Jan 2026 17:54:58 -0800 +Subject: [PATCH] Make test_parsing more resilient to changes in pycparser + (#224) + +* Make test_parsing more resilient to changes in pycparser + +Several tests expect precise error messages from pycparser, which pycparser +doesn't guarantee. While testing CFFI with pycparser 3.0, some tests needed +to be made more resilient. I've used the .startswith() approach already used +in this file, instead of exact string matching. + +Ref #223 + +* Loosen error message assertion even more +--- + testing/cffi0/test_parsing.py | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/testing/cffi0/test_parsing.py b/testing/cffi0/test_parsing.py +index 8d4dd016..3e47bcdd 100644 +--- a/testing/cffi0/test_parsing.py ++++ b/testing/cffi0/test_parsing.py +@@ -197,7 +197,7 @@ def test_dont_remove_comment_in_line_directives(): + + some syntax error here + """) +- assert str(e.value) == "parse error\nbaz.c:9:14: before: syntax" ++ assert str(e.value).startswith("parse error\nbaz.c:9:") + # + e = pytest.raises(CDefError, ffi.cdef, """ + #line 7 "foo//bar.c" +@@ -205,21 +205,21 @@ def test_dont_remove_comment_in_line_directives(): + some syntax error here + """) + # +- assert str(e.value) == "parse error\nfoo//bar.c:8:14: before: syntax" ++ assert str(e.value).startswith("parse error\nfoo//bar.c:8:") + ffi = FFI(backend=FakeBackend()) + e = pytest.raises(CDefError, ffi.cdef, """ + \t # \t 8 \t "baz.c" \t + + some syntax error here + """) +- assert str(e.value) == "parse error\nbaz.c:9:14: before: syntax" ++ assert str(e.value).startswith("parse error\nbaz.c:9:") + # + e = pytest.raises(CDefError, ffi.cdef, """ + # 7 "foo//bar.c" + + some syntax error here + """) +- assert str(e.value) == "parse error\nfoo//bar.c:8:14: before: syntax" ++ assert str(e.value).startswith("parse error\nfoo//bar.c:8:") + + def test_multiple_line_directives(): + ffi = FFI(backend=FakeBackend()) +@@ -233,7 +233,7 @@ def test_multiple_line_directives(): + #line 8 "yadda.c" + extern int zz; + """) +- assert str(e.value) == "parse error\nbaz.c:7:14: before: syntax" ++ assert str(e.value).startswith("parse error\nbaz.c:7:") + # + e = pytest.raises(CDefError, ffi.cdef, + """ # 5 "foo.c" +@@ -245,7 +245,7 @@ def test_multiple_line_directives(): + # 8 "yadda.c" + extern int zz; + """) +- assert str(e.value) == "parse error\nbaz.c:7:14: before: syntax" ++ assert str(e.value).startswith("parse error\nbaz.c:7:") + + def test_commented_line_directive(): + ffi = FFI(backend=FakeBackend()) +@@ -262,7 +262,7 @@ def test_commented_line_directive(): + some syntax error + """) + # +- assert str(e.value) == "parse error\nbar.c:9:14: before: syntax" ++ assert str(e.value).startswith("parse error\nbar.c:9:") + e = pytest.raises(CDefError, ffi.cdef, """ + /* + # 5 "foo.c" +@@ -275,7 +275,7 @@ def test_commented_line_directive(): + */ + some syntax error + """) +- assert str(e.value) == "parse error\nbar.c:9:14: before: syntax" ++ assert str(e.value).startswith("parse error\nbar.c:9:") + + def test_line_continuation_in_defines(): + ffi = FFI(backend=FakeBackend()) +@@ -365,7 +365,7 @@ def test_unknown_name(): + e = pytest.raises(CDefError, ffi.cast, "foobarbazunknown*", 0) + assert str(e.value).startswith('cannot parse "foobarbazunknown*"') + e = pytest.raises(CDefError, ffi.cast, "int(*)(foobarbazunknown)", 0) +- assert str(e.value).startswith('cannot parse "int(*)(foobarbazunknown)"') ++ assert 'foobarbazunknown' in str(e.value) + + def test_redefine_common_type(): + prefix = "" if sys.version_info < (3,) else "b" + diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 1aabb7276f39..f69c7c75cb85 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -14,4 +14,6 @@ DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e9815261 DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856ff6ee50687319d621cdf42e895abf67e05cc51cb7493308e2b506ab60dbdbaca7aa75eb9f78d91d42c81f9682a36f4042e9d SHA512 10f58eff58ed6e701d0f123b15e68c82ab8cbdf99b1c86c0d83e3b8553e90ea51055e30327e8e442ded57c8f503e2a2de9ee075e9c28b5ba815a0f8922f8671c DIST llvm-project-22.1.0-rc1.src.tar.xz 166976000 BLAKE2B eec2cf8822aa6937c751d94f07c6505a3cebda83c544299ff8eaeeedbadc36054b32fb1a0b655993bd604f9c82ac6fa419e974b1dc9c3f4b6c35aa94e9f4e929 SHA512 545ca31b2a24cab3d3a8d5ebfa2a25439eab4258cef01b53706a7a9e5174a75050fb3d36ad2ac4ebb9a23e34a005707c73383cd3cddd78f6789f5b1d4d446e7c DIST llvm-project-22.1.0-rc1.src.tar.xz.sig 119 BLAKE2B e3d5a6c00d7960b0694919ff083e02f0273e97da6a40ad452fbb8261b9edfc52d4262733d82a59f03ad7d15b3b62de743b37a1b2e191417443ecb730520be376 SHA512 51326b9402d7719c491ac5c6ab80a678896743dd88e3f997245adb77e7b3f5e0f84f6389c75872aea268de8a7a049684c84cdf575c1f19c4971bb280a9374de6 +DIST llvm-project-22.1.0-rc2.src.tar.xz 166979860 BLAKE2B d4d58b2615ce596f97ad743ba43a774a7b1e69f8aa394411cfdfdae6abf76ef23c9f483a8db590eac6012a965dbe720111c3c779cf20d1483bd216a3fe5111a0 SHA512 2690f582950a2b8b4dccfce849080b841b34068bbd07acd25ae7d18ef0bc6919f83cd57edda8b90a00327b73aa5cb3411d413ea800247cf541c89143ca26ef98 +DIST llvm-project-22.1.0-rc2.src.tar.xz.sig 119 BLAKE2B 797d0fb36d5ff979504bf094c574ab6473d6d428b0ee0f80c95f6b700c534b8d390f0685e01bd9681fd0b33c0fe39af2d6a8b79372d05af1d87b0a602ba7ff2f SHA512 619a9ef733d7f89ed1e7564d027b4d1ad714dbe7912cd7ff258436e9ee6b878cc806d2856f00b600f982a472644cd9ba54739f8d034f5b5033c1036fcddf9a09 DIST llvm-project-9eaa1ff11ccde52f2e3bf86f253b6b646548c7cc.tar.gz 259436517 BLAKE2B effc5d342ef8440834d03ca7f9d56dc9f5a0aaa10f62aa81fb3d468cfcd0f28a41b343dc12d91e087a5e509a8bb6aa00b477582f42b87efbf22ea580b48a981e SHA512 fda87f688a8a3626c3b025d2a783d7deb0c64ae83cb9c9c89adb73eba764435981545844eb654d7094361fb3786ea955101ba261f0e4af5ee4beffdd9c2449d7 diff --git a/dev-python/clang/clang-22.1.0_rc2.ebuild b/dev-python/clang/clang-22.1.0_rc2.ebuild new file mode 100644 index 000000000000..bdbb6bbefa8b --- /dev/null +++ b/dev-python/clang/clang-22.1.0_rc2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/cli-helpers/Manifest b/dev-python/cli-helpers/Manifest index 92447f1b65c7..8cb563de437e 100644 --- a/dev-python/cli-helpers/Manifest +++ b/dev-python/cli-helpers/Manifest @@ -1,2 +1,3 @@ DIST cli_helpers-2.7.0.gh.tar.gz 36537 BLAKE2B 843d88f5f1eac62b3d37a6d423ec9bce47daedc4b3ea1896d5e84c6dae76a4af687a6fbc01f29d8146cca6ac89f638d2eec0a5d439258369636c7008fac3d499 SHA512 ef9976a7cd4c7853edee598d188003d7f1e1d73d3ca0be2030f2af9db246d394d1ac961408b8e222d45e9dbabda622dbc194cd9fa7aeacf958cd9206428781f6 DIST cli_helpers-2.8.1.gh.tar.gz 36594 BLAKE2B c713c771a742f992ee5468de70d1d965672ae6b24ade26d397f1aa411040a5d6561d3ca807c8be509217cb0d46f14c10bece2b181798ba8dee1952fb3358886a SHA512 b5228702e7de009404004f0fcc002a8876ee962885dcfc4cd04c8863fba5c5eed802fffe411cf0136ba2bc391ec5e6870e450acb17e5aa91b0962b509f1a2963 +DIST cli_helpers-2.9.0.gh.tar.gz 36958 BLAKE2B e9cbe7560846bd05a24a2da66ea309e8d29869bdd22b42d9130f42217b58500da022857d1f4ac6a9d069f7e918d353847632a134cc9c49e134c3d7d4c179e5c0 SHA512 aa022d28c295837976f4d9c3ec20ea12fa80ba7600e2e73e30895127e8d2697d28865778e96962a49f2060f06fe58e5f0147eb3747e103fd3a16a54aebde1a75 diff --git a/dev-python/cli-helpers/cli-helpers-2.9.0.ebuild b/dev-python/cli-helpers/cli-helpers-2.9.0.ebuild new file mode 100644 index 000000000000..0edd93e7a7d5 --- /dev/null +++ b/dev-python/cli-helpers/cli-helpers-2.9.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=cli_helpers-${PV} +DESCRIPTION="Python helpers for common CLI tasks" +HOMEPAGE=" + https://cli-helpers.rtfd.io/ + https://github.com/dbcli/cli_helpers/ + https://pypi.org/project/cli-helpers/ +" +SRC_URI=" + https://github.com/dbcli/cli_helpers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 7cccc91f768e..bde96cac0111 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1,3 +1,2 @@ -DIST django-polymorphic-4.10.3.gh.tar.gz 336534 BLAKE2B bac9ba266486ad8e51eea6eecad8a1fcdf1ac78495af033a8195893e100e2505dc90c4f085fc41f9f922296c791089cc47bb0ff459b2e0986bb997b748350976 SHA512 58ef83c0da3cac1c2ae784c31f07260ad4d2970a5b397bc3f77289b411e76d040f88c6c48c909805523fee49f74b647816599619856ba678e0ec3ff04418c66e DIST django-polymorphic-4.10.4.gh.tar.gz 337203 BLAKE2B 57ef0c5b63462b3d2f95918a0cecb3af7be7b0ae39e5bbc36e794e9cea24315df07e731b5fbc39bb0cdc0d66f4bbcbaec60358eab6dce7f8d5c7841e66b293f3 SHA512 810269dd8369417864ed496acb5947ee568635fbcf03e2b3846dce3dd3a8d3432bd3b7b4023d287727f5e00baee5595d1df94b0821facb9c5a886a2233d29341 -DIST django-polymorphic-4.9.1.gh.tar.gz 308612 BLAKE2B c882cf193079df08256f9b2234b110ba69d0563d48d0743171faf2994f2ae4fe2a3428d554b03b629d48d88e0140bcb53c19a9809496e5d65fa4c6987221be3c SHA512 d0fa5c727d3c0f553686210042c12fc1304048622295f2d48b4962102c3fbce0d041dbf5097a2c019ec502f8a8abb67d761d5812a48bd74ca031bc21dcc7c2f9 +DIST django-polymorphic-4.10.5.gh.tar.gz 342175 BLAKE2B 2ef7df67582b7879dcf8ca1ecda1d78317bb2db406f175b0287506a64387aed6f326ab5ceb9d0a254908bef0f755425cfb2a4465e9c6614cbf9325b7d3d2cd24 SHA512 370ab066c722147956e1cf05d307d07ff0b9e821501d21960ebdf723954bf2e7dc35402518b45212cbe5ea03c2756b9619dd7ae6b8c1471453aed8ef762f5c2e diff --git a/dev-python/django-polymorphic/django-polymorphic-4.10.3.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.10.5.ebuild index aa91f2161455..0dded430ddf4 100644 --- a/dev-python/django-polymorphic/django-polymorphic-4.10.3.ebuild +++ b/dev-python/django-polymorphic/django-polymorphic-4.10.5.ebuild @@ -43,6 +43,7 @@ python_test() { # some of them require playwright, others break subsequent tests src/polymorphic/tests/examples # require django-test-migrations + src/polymorphic/tests/test_migration_managers.py src/polymorphic/tests/test_migrations src/polymorphic/tests/test_serialization.py ) diff --git a/dev-python/django-polymorphic/django-polymorphic-4.9.1.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.9.1.ebuild deleted file mode 100644 index 0cb1fb652ba7..000000000000 --- a/dev-python/django-polymorphic/django-polymorphic-4.9.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2026 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 - -DESCRIPTION="Seamless Polymorphic Inheritance for Django Models" -HOMEPAGE=" - https://github.com/jazzband/django-polymorphic/ - https://pypi.org/project/django-polymorphic/ -" -SRC_URI=" - https://github.com/jazzband/django-polymorphic/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/django-4.2[$PYTHON_USEDEP] -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - dev-python/dj-database-url[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-django ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # requires playwright - src/polymorphic/tests/test_admin.py - src/polymorphic/tests/examples/views/test.py - # require django-test-migrations - src/polymorphic/tests/test_migrations - src/polymorphic/tests/test_serialization.py - ) - - rm -f conftest.py || die - epytest -o addopts= -} diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest index d17cf01c24fc..3a9c27d7a363 100644 --- a/dev-python/fritzconnection/Manifest +++ b/dev-python/fritzconnection/Manifest @@ -1 +1,2 @@ DIST fritzconnection-1.15.0.gh.tar.gz 167546 BLAKE2B 203ff8e0e3211ebe4cf9486096434cb30e19af01b21b2f0b8a4513bc27145f87d2b73d1849bfcf6079d2b89a63d5c85c9ad290bf3e09f2c9605bc8d60e178c9e SHA512 12743d0071d388b1bc2213401d84b25182e867977a82fcfc6b4086a73fee4dcc6c9c1d948b96060c8c0c8989f3a374299b406913d5f7a7bc98448d74423e225b +DIST fritzconnection-1.15.1.gh.tar.gz 167688 BLAKE2B 2dbd8122e8c6d3ff1a7050319d44ec139fbce46abdd7df38b780a2ea2fe867d534d9b7d15ca9dcca9ab437363b3cab05a594019c6a5d06601c2034fc9d0243b0 SHA512 b4350835ddc05bfd66fad5911f6375bbf0f71a7e5e599581c4f9a738fbbc33c3d8065ca882ae8ff04ed5a40a5fce5c049613f796707fcb9ed8c0d002f7248e8d diff --git a/dev-python/fritzconnection/fritzconnection-1.15.1.ebuild b/dev-python/fritzconnection/fritzconnection-1.15.1.ebuild new file mode 100644 index 000000000000..2a91e7d29a39 --- /dev/null +++ b/dev-python/fritzconnection/fritzconnection-1.15.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2026 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="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP" +HOMEPAGE=" + https://github.com/kbr/fritzconnection/ + https://pypi.org/project/fritzconnection/ +" + +LICENSE="MIT" +SLOT="0" +IUSE="qrcode" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/kbr/fritzconnection" + inherit git-r3 +else + SRC_URI=" + https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +RDEPEND=" + >=dev-python/requests-2.22[${PYTHON_USEDEP}] + qrcode? ( + dev-python/segno[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # flaky (relies on time.sleep(0.01) magically being sufficient) + fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection + ) + + # "routertest" marks tests against live hardware + epytest -m "not routertest" +} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index f696ed0e254c..ef26ebc57695 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,6 +1,7 @@ DIST google_auth-2.41.1.tar.gz 292284 BLAKE2B 8351dee7d5f0c40d9898ab0cd70cec379a9c39981d024caacc2d9e62428e18c8ea71a54aac43456fe669a31e24202e76b7a4b7df5e3a23cb79cb1b92701f0b70 SHA512 af2912c8be751659b701c5ffafb0c955ef8ad5609911d15ee58ad2e3e72dd041cded34bf3b56b37d5fe64ab17f0c625dfcb95c31d2dbf27ea61fd27e5f4777a7 -DIST google_auth-2.43.0.tar.gz 296359 BLAKE2B 6b9d518710ec15276cfc01e7bb53dd10ba7b37707d7aaf42089f9923a86e530f91d26de924067bd0a53ed8657b6f1ec7e83f52740564829f49f447c8a25a0f7c SHA512 9e935d6431b556677aa2399100f3d25d7fdbf2ceb333688fcb9d4bda1fbc2b46a66dd86128eb1e81f0d5b9a1e1ca26dcaa312d6295a508a27454e4cbf785dd4e DIST google_auth-2.45.0.tar.gz 320708 BLAKE2B 5fd4ec54cab28761fb62882e6cf66bd8836b01b20e97cf06cd967e16302891add74e2d0b351b9a9a66b6105d95b279e14540305fb9f997c8ee3a3a1f3b234000 SHA512 73c5b88c1c04eeedfc7529f42ea6128a2de80286385b44684d2de8c4ac20680b731df9a23bbde275c847fabd21a042a3a2cc8c7de70f518dbc001252f2bd18d6 DIST google_auth-2.46.0.tar.gz 321766 BLAKE2B 130742ce25f177e35e15b77a7e5b912428ca0ac7a2290cd5b11ff59910b7ab2cb6ff4d604f39e1072888b5c08200db8208c9422a03123a077bd7e91b195b1eab SHA512 00908d8ee725011918fd723544d5b3ced49b44f440c295da6f534fcf25fe14647f2d0e0bd19178b13a42231dc8af8afa017c51fce031a13a001b5a978d84fba5 DIST google_auth-2.47.0.tar.gz 323719 BLAKE2B 49bfb4441d4e9272903c19960221d2822370b392d1614ed815172a322739292798ad6b0bceac73b3e8053ea018ef884d2f0d092d00f0f4505ce5ad8fa3a42099 SHA512 fb3aa20d391767337ccdf6b127435d0aeedb9b639976a625bddabb4155ab8d83f17b298e606af5854f9baf3f42ac7c5d62c0799b90b888aae84d7379682d4ecb DIST google_auth-2.47.0.tar.gz.provenance 5763 BLAKE2B 8cd21eb438cec8c132d5f7728e8283459a27ffbdd78c149669d563dc487cb478686b59211d2b64317aa3822ca69869ec4b9ebae8f7b00cc65b3539b9bb9decc1 SHA512 11262a96d2d16ba61e2769364f63773bd706bbb5be46c9a1acb8bf3ddbd966f97786db341b0997794fa7ea26aa477ee29c86d42f6351af178cc3901b8aea80f4 +DIST google_auth-2.48.0.tar.gz 326522 BLAKE2B 9633a1480afc64115780b3ed00f84a2a0cce02da8168dde6205175ec588505338ab212071311e363b1031bbfc35c22e2c746848bfec26ca7b9b4021ede1bb4e7 SHA512 efa7b3142fbac1e790913c7a1640b6a4133cc132c6ba296bd5d6a20a6951fd6b1a62c3db90aa936caa6290472d658ca1d30549d8e3db1d92c8fa7ab189b4ab01 +DIST google_auth-2.48.0.tar.gz.provenance 5888 BLAKE2B 8b87ee062cfd54fb37e5ae1163853a3f854409d705a71548ff1695afdf6699c4b769f8aada11549f0237c8e1c814bd62cdc4fe13605f333823b34b0e7ad9160b SHA512 26a4020e1f10e1c80a68c32d7793d2592f175bc128ba524f10e0e4e5e0b3ab543ef82fc47b89d1e3d478b2110298952f4ca1a9fda451e17ac8a439b819060d13 diff --git a/dev-python/google-auth/google-auth-2.43.0.ebuild b/dev-python/google-auth/google-auth-2.48.0.ebuild index 0be31633686f..c443b87d2b3d 100644 --- a/dev-python/google-auth/google-auth-2.43.0.ebuild +++ b/dev-python/google-auth/google-auth-2.48.0.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -16,10 +17,10 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] @@ -27,10 +28,8 @@ RDEPEND=" BDEPEND=" test? ( dev-python/aioresponses[${PYTHON_USEDEP}] - >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] dev-python/flask[${PYTHON_USEDEP}] dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/pyu2f[${PYTHON_USEDEP}] diff --git a/dev-python/gssapi/Manifest b/dev-python/gssapi/Manifest index 75215605a404..252ba266875d 100644 --- a/dev-python/gssapi/Manifest +++ b/dev-python/gssapi/Manifest @@ -1,3 +1,3 @@ DIST gssapi-1.10.0.gh.tar.gz 112079 BLAKE2B 7b52005994f7a93430ff6af124aacf1de7a8fff8867807497d1e770264d876184c0bfa3ed4d7b678a7e3bc3f1942ce5a6134ae1026e7b2150f647365179abded SHA512 49fcd1d658955dffb5fab1745ec3fc835ac475b77afe87cb81ed7f5ab9cf8a1d804954e99c81a31cf7e2ee8ad65038cbcabecf852762fa1c0ea4f6e41be23147 DIST gssapi-1.10.1.gh.tar.gz 113109 BLAKE2B b8ba68b31881adb5c5a4d111791a10c9f0fb91bb685660a321e0c56c09d93d3faa4645ca95227ac9f3a6366fd21c564afb25f717047f5f62cbb76f85c2707b9c SHA512 742b80c1638df010d4a63e9eb94ff75b89a20ceaea073e355a67cf0aa78a8b64f7ace4f183ef52c1356e6182be6ef37e7c26eda5820c18ea599f13dc1d2d9dd1 -DIST gssapi-1.9.0.gh.tar.gz 112822 BLAKE2B 4a91c2639a5186afa408b35540e248b5d17e74957669fbe8274e9619ef30172507559612f6a425df383145e5ac10e16d243fec9dbdc0a10e43ef29aa9f208c12 SHA512 05ca208d37eb3af3cba91607b61c4472a0d83e92f43342994e0fca575290c47b67c7c46440e95d3712c2409f43280a1e95b906e1e8918ebd9da7e6f46e4031fc +DIST gssapi-1.11.1.gh.tar.gz 113666 BLAKE2B ac433606171949a4dcc49ec8a00d4bb55fd2cd5ef6e399a0be76faa956289062e55da10a15f526141d9b433f7972ea3a5a7d867ae052626df1d60de186ddadb2 SHA512 ee963596708643d35f5def529ab9e19163225b1553beaad69c191783d99474222c22df6f440a96f635a6c62640e8c9f78a024d27f2aabf90e8c27c7e2d7500ad diff --git a/dev-python/gssapi/gssapi-1.9.0.ebuild b/dev-python/gssapi/gssapi-1.11.1.ebuild index 5309200c0c70..7b58e03a1120 100644 --- a/dev-python/gssapi/gssapi-1.9.0.ebuild +++ b/dev-python/gssapi/gssapi-1.11.1.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools +# TODO: freethreading PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 @@ -20,9 +21,9 @@ SRC_URI=" " S="${WORKDIR}"/python-${P} -LICENSE="MIT" +LICENSE="ISC" SLOT="0" -KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/decorator[${PYTHON_USEDEP}] @@ -30,7 +31,7 @@ RDEPEND=" " BDEPEND=" - >=dev-python/cython-3.0.3[${PYTHON_USEDEP}] + >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] virtual/krb5 test? ( dev-python/k5test[${PYTHON_USEDEP}] @@ -38,6 +39,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest python_test() { diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 1a48058e35b9..68a9a20c0f97 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -4,3 +4,4 @@ DIST hypothesis-6.149.1.gh.tar.gz 9932484 BLAKE2B 41bdda077c6cdd1e2b2f7650e8b4f5 DIST hypothesis-6.150.2.gh.tar.gz 9878291 BLAKE2B b9ae21ff95afe8bd4918d7298b7f1ff10528fc70cc358f9106f79ddb9a84fe6aa0c8f34538b75c5b55afa442b9e70534c07a04102569b62b16d11421ca9f8016 SHA512 648112f870904a922162c099fd982d3a3756209efd272531c3c848383e2a6df02c3ff4c57f4be68408084542075a194ac9fe5fdac158c566c1a3045358e1045a DIST hypothesis-6.150.3.gh.tar.gz 9878751 BLAKE2B 4b1995a52a8d195e5cc04eba89093458ca0244e1c20c5c8ce4cd13473598eb7d652c04656bd5df264ae766262fba4e084b61269df4bc77a2537a8177964fa4d3 SHA512 317235eacafaa415683cb7b1a50738655ab6704f4ba529657f5496625c5542812eb44a5cde999c4805ad5a74232edde0c8fc2e81aef3be367374a6302d3f3fa2 DIST hypothesis-6.151.0.gh.tar.gz 9878804 BLAKE2B 42ef6bf0c5bb8346b38a647804aecfcad20991c6ae70a48838050d424377f1e9256fb36df3e440250f3fb8f7fed6fd80cfd1288c38c446ffed62f3166aa571e2 SHA512 418af03dc2eaf456c96c0395c32fdcfc018e8543ed5029f7c6058e9e5d1368afbb04cdfc6a21bd44f87a0c064680927d75284eb5670f6f28b1b3ac2aee90823b +DIST hypothesis-6.151.2.gh.tar.gz 9878376 BLAKE2B 11f6da8ede480bffb503e67d6ed943eb1497686ef61a401f6fa7d6d819ab293f1595284205f5a7c9b534076d607a5d6c7a9a5eea2a89be2375f658d4b6a93924 SHA512 6f8f73a740e046f4e96e7c1f5d6ececd75a2d9a12e52b94fcf2419cfe2cb02807a16e030a0ce0335793c12beb07f07423cdc13a61d432a3836d9fc767c3e912e diff --git a/dev-python/hypothesis/hypothesis-6.151.2.ebuild b/dev-python/hypothesis/hypothesis-6.151.2.ebuild new file mode 100644 index 000000000000..79b828d4dffe --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.151.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{10..14} ) +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/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.14t) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_lambda_formatting.py::test_modifying_lambda_source_code_returns_unknown[False]' + ) + ;; + esac + + local -x HYPOTHESIS_NO_PLUGINS=1 + epytest -o filterwarnings= tests/{cover,pytest,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/lit/Manifest b/dev-python/lit/Manifest index 1aabb7276f39..f69c7c75cb85 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -14,4 +14,6 @@ DIST llvm-project-21.1.8.src.tar.xz 158958576 BLAKE2B 0d3d4ee920f8e5db50e9815261 DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856ff6ee50687319d621cdf42e895abf67e05cc51cb7493308e2b506ab60dbdbaca7aa75eb9f78d91d42c81f9682a36f4042e9d SHA512 10f58eff58ed6e701d0f123b15e68c82ab8cbdf99b1c86c0d83e3b8553e90ea51055e30327e8e442ded57c8f503e2a2de9ee075e9c28b5ba815a0f8922f8671c DIST llvm-project-22.1.0-rc1.src.tar.xz 166976000 BLAKE2B eec2cf8822aa6937c751d94f07c6505a3cebda83c544299ff8eaeeedbadc36054b32fb1a0b655993bd604f9c82ac6fa419e974b1dc9c3f4b6c35aa94e9f4e929 SHA512 545ca31b2a24cab3d3a8d5ebfa2a25439eab4258cef01b53706a7a9e5174a75050fb3d36ad2ac4ebb9a23e34a005707c73383cd3cddd78f6789f5b1d4d446e7c DIST llvm-project-22.1.0-rc1.src.tar.xz.sig 119 BLAKE2B e3d5a6c00d7960b0694919ff083e02f0273e97da6a40ad452fbb8261b9edfc52d4262733d82a59f03ad7d15b3b62de743b37a1b2e191417443ecb730520be376 SHA512 51326b9402d7719c491ac5c6ab80a678896743dd88e3f997245adb77e7b3f5e0f84f6389c75872aea268de8a7a049684c84cdf575c1f19c4971bb280a9374de6 +DIST llvm-project-22.1.0-rc2.src.tar.xz 166979860 BLAKE2B d4d58b2615ce596f97ad743ba43a774a7b1e69f8aa394411cfdfdae6abf76ef23c9f483a8db590eac6012a965dbe720111c3c779cf20d1483bd216a3fe5111a0 SHA512 2690f582950a2b8b4dccfce849080b841b34068bbd07acd25ae7d18ef0bc6919f83cd57edda8b90a00327b73aa5cb3411d413ea800247cf541c89143ca26ef98 +DIST llvm-project-22.1.0-rc2.src.tar.xz.sig 119 BLAKE2B 797d0fb36d5ff979504bf094c574ab6473d6d428b0ee0f80c95f6b700c534b8d390f0685e01bd9681fd0b33c0fe39af2d6a8b79372d05af1d87b0a602ba7ff2f SHA512 619a9ef733d7f89ed1e7564d027b4d1ad714dbe7912cd7ff258436e9ee6b878cc806d2856f00b600f982a472644cd9ba54739f8d034f5b5033c1036fcddf9a09 DIST llvm-project-9eaa1ff11ccde52f2e3bf86f253b6b646548c7cc.tar.gz 259436517 BLAKE2B effc5d342ef8440834d03ca7f9d56dc9f5a0aaa10f62aa81fb3d468cfcd0f28a41b343dc12d91e087a5e509a8bb6aa00b477582f42b87efbf22ea580b48a981e SHA512 fda87f688a8a3626c3b025d2a783d7deb0c64ae83cb9c9c89adb73eba764435981545844eb654d7094361fb3786ea955101ba261f0e4af5ee4beffdd9c2449d7 diff --git a/dev-python/lit/lit-22.1.0_rc2.ebuild b/dev-python/lit/lit-22.1.0_rc2.ebuild new file mode 100644 index 000000000000..2cc4b6485aed --- /dev/null +++ b/dev-python/lit/lit-22.1.0_rc2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index f512499f53f6..3166acac30cf 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,2 +1,2 @@ -DIST mkdocs-git-revision-date-localized-plugin-1.4.7.gh.tar.gz 444162 BLAKE2B fee1e8e617362b45ee5901b7f9d10fbc24e5ac405d9de7fec13f26d71add9ca39c0091790a30229e5c33ec3f03956d50a4ab0d44ee6f65c3723b25028d446aa4 SHA512 86a1844eb5005630524d90eb381d297a21b8ccb3b0d9dbd102457554ce47f9dffce418a23e95816df040899259823fea0a339bfdb32b51af39430e747a57ad58 DIST mkdocs-git-revision-date-localized-plugin-1.5.0.gh.tar.gz 454910 BLAKE2B 344d0744b26fb7667ac486b6e1fb8295df29bed798f6b34e193463c00fc5585bf5365330150bea5178f4f1d96fa8b3233b125362fbb9846a9354104437cc9a18 SHA512 280a1b2d101b665b9510993c0997c38678ce48c52bacf742d366e3f7a6e98952c836f3938899aa5580eb1d3dd27f6fb957ee4e6fd52eef94d8591468e5b38b99 +DIST mkdocs-git-revision-date-localized-plugin-1.5.1.gh.tar.gz 443717 BLAKE2B d47418b6af586bfb7447916f0caaaea913e74d5a290e9acb7e823b7f076d4e7663928823d2b264c92959442919679cb7a0989b818cd22646293faacc6c999faa SHA512 07d92edbdd3b313cb86a225e862688cbc9a259286d2f5b9ab92354da8ed2548d62ae3a0d9d2478076986a91c644f8ccef3c5afb5dcf6d5589a3bf19039434b34 diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.7.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.5.1.ebuild index 3d2534adf1ad..ed352eb414c8 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.7.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -29,13 +29,12 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" RDEPEND=" >=dev-python/babel-2.7.0[${PYTHON_USEDEP}] dev-python/gitpython[${PYTHON_USEDEP}] >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] @@ -55,6 +54,7 @@ EPYTEST_DESELECT=( "tests/test_builds.py::test_tags_are_replaced[mkdocs file: techdocs-core/mkdocs.yml]" ) +EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index bd5338d47a9c..a75168170ab3 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,4 +1,4 @@ DIST notebook-7.4.7.tar.gz 13937702 BLAKE2B 3c63eb57e0e439de7d08b319a1770767ae0bd32a2ff6caec4bf371a948f208eb03ac63ddf44f1d7f78ee898147696082e188ae53b096cb79dcb0d65feb77c95a SHA512 038046d891e7af6d64259e7f52e10be1bb5cd8d5928f44a8039eb916e48f8d4a926a55bb6ab5f5fd803baa32972636afd4498ec41911797e7bb1396bc8ca257f -DIST notebook-7.5.0.tar.gz 14052074 BLAKE2B 26cf6bd8d23ac20f00bb6fd8d2f6d4475cf708d42288cbc6fdb035b12370b1639f59694cac7fb06aa97f94c61bbb47602df741c3376dd4f99b7b179a48d0be1e SHA512 628e3bf9e54f58f8084675860b6e316e312dd4fc436280b2a642a08743ec9f23c2d16a808474eb8f07ba53ffcd9f14681216bc6c9c14ee42ac4a066657e4e85e DIST notebook-7.5.1.tar.gz 14058696 BLAKE2B ae9a4695e6cb476f2fbd877df28c24c7658c3eebb58d7f8dc3c55f7bf7db9e10480dd0e7101b16d4fa2bd271600dce1b785658845a4cd3fedfbe9ccee1cf2681 SHA512 c6c54fce9625eeb298499b637a5db9b5d1e646498bc414b93ce0d2a6fa29bdf00a3b34475ab350a4b8c759fd7b37b3c598c0bd2fdc1f9f370dbc50b638f90a9d DIST notebook-7.5.2.tar.gz 14059605 BLAKE2B e88de3cefd7703edd8b37c03ad622b026985e8886209d5fe2f6290d5293f67c3b67b30dd4cb61a59db016e269ef3cef6c04c9d78e7afdbe6bdff4dbdace610a9 SHA512 c7b4d14bfd2f70886950bf54a226a0ea23fb441affcd08b4b6426a3e1d7520fad51b8a0fc7cb27e5c19df9a1e4e4c50297186727317c58bd83a9ab5c63083709 +DIST notebook-7.5.3.tar.gz 14073140 BLAKE2B 30909fa181fcc92f769cfafd2855b98a4a0f53e0a431d678dc305e160a01c3dd7cfd4c43755a7d0c2ea83608d6d0b3fa670256800b62594dc9fdf4ce58574b0a SHA512 e0f2a77d8f2436f45b7702e04d5743da03322eac3d018042710856af70e058e191f946bf7b9cd1dd6fb8ee4a4a6c9face48c633a551833fa8142c0ecb532e39e diff --git a/dev-python/notebook/notebook-7.5.0.ebuild b/dev-python/notebook/notebook-7.5.3.ebuild index 34e562439413..1061e0d11367 100644 --- a/dev-python/notebook/notebook-7.5.0.ebuild +++ b/dev-python/notebook/notebook-7.5.3.ebuild @@ -18,12 +18,12 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" RDEPEND=" >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] <dev-python/jupyter-server-3[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-4.5[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-4.5.1[${PYTHON_USEDEP}] <dev-python/jupyterlab-4.6[${PYTHON_USEDEP}] >=dev-python/jupyterlab-server-2.28.0[${PYTHON_USEDEP}] <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] @@ -33,7 +33,7 @@ RDEPEND=" " BDEPEND=" - dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + >=dev-python/hatch-jupyter-builder-0.5[${PYTHON_USEDEP}] >=dev-python/jupyterlab-4.5[${PYTHON_USEDEP}] <dev-python/jupyterlab-4.6[${PYTHON_USEDEP}] test? ( diff --git a/dev-python/pathspec/Manifest b/dev-python/pathspec/Manifest index 7dad9c04992c..29f998844b41 100644 --- a/dev-python/pathspec/Manifest +++ b/dev-python/pathspec/Manifest @@ -7,3 +7,5 @@ DIST pathspec-1.0.2.tar.gz 130502 BLAKE2B f1557a9b1b110f7e3611aba0dd34e260ab404c DIST pathspec-1.0.2.tar.gz.provenance 9518 BLAKE2B 26e62b12d506e5bb58a01945381dbaa2e3c894c3d0259aeba6ef19050b1535380c85a5df9c2612e034ddbbf32f27945f9b978a65fc9b38901a1d1d533ffcb558 SHA512 99884148ab3c59b823c335d60f665c59521aaa6d5bb90472f5e7dd223a861fafc625a9d3730383fe8ad4e856942548dadc999e431d5058f44f1a218f904d27cd DIST pathspec-1.0.3.tar.gz 130841 BLAKE2B c8c092c579b8214595b9a081857d4df9b5373858a7c64b26a681c1748c6764eb7ecb1df14025ccae47759df48d80e7b6497ea07ae587030db3ae2a0eef9650db SHA512 8ca509c3085949827274efd73f5bb618b7446eab5e08e0c1a19b27dc5910d35b3e9dac36dc2f60152c2db4c95c776e5c4b9a436a17d9ade5da71a2bcf098dea8 DIST pathspec-1.0.3.tar.gz.provenance 9471 BLAKE2B f521d6821e6a39ae2caef6cf513bf5ede906888528bf12c4d6a207f264e25f4aade217fae7943da762dd3e6df49922f1244a0816ef52cdefd5de3c65611db50c SHA512 ed78f5b351c1434e040ef9f67dc243880de977a462e2cf3e82f1775c80d5e2600a9a131428d890b15a96a23a3c2d92e82e55aa7a05241f24c8992312642a16ea +DIST pathspec-1.0.4.tar.gz 131200 BLAKE2B 32af605bb8f2e85adfe97627af35d31f4e9a92d864343ec8f290468ac5637600b6869b0a241a77fa2b2f7a41a899f158359f16672cffd6d35506e2e23f39e8d5 SHA512 1004dc55111a4cbf8767775894ed79da465598cd700afbeb96f6ef1f997dcb43cfba8af0b0a1de6232da9725a6e08577ce531da7faa16125c2b7bda0a378d5c3 +DIST pathspec-1.0.4.tar.gz.provenance 9992 BLAKE2B 5468d5c3fd4054f1f253247901203faa00d0e3d1c8a083942945adefac5ad8d7dec82a802e3d6f4f5d748938e02a54ac464c30d6c87e9206ff34cf5582fbe493 SHA512 5fafada724fddd4e6611f62913b9e59a8a6f8df04d638f85c3fa2764450d66d621425d7a2d5039e490b491828fa8a67f82149aded45dfb561024f5b57f5caec8 diff --git a/dev-python/pathspec/pathspec-1.0.4.ebuild b/dev-python/pathspec/pathspec-1.0.4.ebuild new file mode 100644 index 000000000000..532e68598e96 --- /dev/null +++ b/dev-python/pathspec/pathspec-1.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/cpburnz/python-pathspec +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility library for gitignore style pattern matching of file paths" +HOMEPAGE=" + https://github.com/cpburnz/python-pathspec/ + https://pypi.org/project/pathspec/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 1a3ef2d0dcf6..8376cad77afd 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,4 +2,5 @@ DIST pypdf-6.4.2.gh.tar.gz 8295275 BLAKE2B 745936795cabbdd7f561743fb7a0e6b497a68 DIST pypdf-6.5.0.gh.tar.gz 8301408 BLAKE2B 9df78a6d9cd8da07d55649ad92491a97d9fc02ea5329b8d6697a05f27a3c0dd1225271dfc4fda7cee6f6c571e328559cd42ead3535904f69c7517a90aa4dceb9 SHA512 09b098660affaaab94c2b7c3aec25538c639c1b15190aee01fa6d9e5882ad75299d53629bd4566bc7c667bfbad8cc8dc05a389598f29dd777121ea9eb10bea40 DIST pypdf-6.6.0.gh.tar.gz 8363620 BLAKE2B 69462ebf40aa8eeb0392f463a761e72af118abe94ff120e85226f2a6a276a03c62c1726d0d6a5b552ab6d28b81d19fb6aee4c12b494863fc0ce4281530a57a9b SHA512 edbbe417fca077f4ddbd7d4ffe01cc4cabc66e1bdd5f14607c16baceb945a6dc534bc10dae6af25c9f2d85b0b9873ca47981ad1266b6b64672074846dd3d0382 DIST pypdf-6.6.1.gh.tar.gz 8364036 BLAKE2B ae556f4742961150012b71206ee54ca9f275c7229cb797b9fd5cc58c7c44a1252dcd3dba6c2e8b9211ba6498086081109b4ab62bc9d955e30662f95a57325204 SHA512 971c6cefd0593804866a311a45feac51f816b420512ebc412f4a36551c1527117307281997d8eec33a19ee9cc65a1d71d1868c72514235a40e32e239fdf18749 +DIST pypdf-6.6.2.gh.tar.gz 8364619 BLAKE2B 8aed0d554c764ab5626a86fa4d6513e9a0c0fed26843d2f84ca1c613a67284660b6607d1a12678a41f3086dc1624770b558134f765b49268d28d9ce25ac2732d SHA512 310261c47f9d1dfcbbdb95138d76b90ceb202573e148edbb3a30cf74f1e20f0afd831131d3dcbd39e918ac44507a32cd50465f44e8aff5780ed66ed611bd6c22 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.6.2.ebuild b/dev-python/pypdf/pypdf-6.6.2.ebuild new file mode 100644 index 000000000000..6a4b0c6b2c64 --- /dev/null +++ b/dev-python/pypdf/pypdf-6.6.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/python-ironicclient/Manifest b/dev-python/python-ironicclient/Manifest index 798e89ee8b5d..578f577b96e6 100644 --- a/dev-python/python-ironicclient/Manifest +++ b/dev-python/python-ironicclient/Manifest @@ -1,2 +1,2 @@ -DIST python_ironicclient-5.13.0.tar.gz 225872 BLAKE2B 528827c20507b23a2d4fe2c2bb158ccca5bff1c269b9b58b0293b772942c7fb30460a3f933eed554f848c8e58453e4a9024111fec2c7fe5107099c5326d409a1 SHA512 2c9bfeea82df5156a283baf182bf21f46e56bec555ec64849d12b540f269f5f5a421e5949e86070eeeb79d26295e20556596a896710f9f3fe9e7bd7fd67ad458 DIST python_ironicclient-5.14.0.tar.gz 226166 BLAKE2B 2dd9160b9c193e8f857125cf5b9d38b879286eb400e0ba7db26b477fd6e8b30f41398b48b6afc0a1f4d5add4ea7334680550163069de07219e41a4070b10af49 SHA512 acd7407916a44fa62e1e450d4cddc987cfc9132a25f195b8ca0aa9af81ed1c4b5cdd6c5cfbc1d1e6e8cf3ac5ae62fa21fc207d186e38da9040cdb8e219de9d1a +DIST python_ironicclient-5.15.0.tar.gz 228639 BLAKE2B fbf49c7adb1c39aea7d1056c4796dfd7f4fa8dd16e860416b3984f7e3462c87bbc5e624c25c821a3f7dd87ab2204d4374ff42c711500aa6814737ff9d8f233fa SHA512 1fbb6787bdc8a1e8c27326b7f9d6bf076fc41d37990d76e9b05d76b81e89a48ff49c0b30e400358a800a227ac60ffedf6707bcf2d15b9682abc97457e0cedfb3 diff --git a/dev-python/python-ironicclient/python-ironicclient-5.13.0.ebuild b/dev-python/python-ironicclient/python-ironicclient-5.15.0.ebuild index e69fba6fa434..3f3818dacfe9 100644 --- a/dev-python/python-ironicclient/python-ironicclient-5.13.0.ebuild +++ b/dev-python/python-ironicclient/python-ironicclient-5.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/pbr-6.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/qtawesome/Manifest b/dev-python/qtawesome/Manifest index 6b9a754a0754..047e49b3e74c 100644 --- a/dev-python/qtawesome/Manifest +++ b/dev-python/qtawesome/Manifest @@ -1,2 +1,3 @@ DIST QtAwesome-1.3.1.tar.gz 2372190 BLAKE2B d7a0a0d5ac1ff8e60e14ce407a2220ef9bc5463304274df7d04a00178b3021dd4f5e35c028a4038f53adf04c85eabd8e33b10c59d57804733265ee17d5875563 SHA512 6b50a4fce231331ec05497905f4fb1e7d91d5bbc9dfd963f3b2dd649d3d28f20436d1c3aed574457ff4afaf277d0e53b371ead7e0ddfb208ab8a4b5ddd4bc2f1 DIST qtawesome-1.4.0.tar.gz 2614365 BLAKE2B 5c7c941878f9c1fd06de75abe2ec37743ea13330fc937da0287d3fb10da1e8f93f9956247af0c8e5fff70ab34f246031f96ad4c6e6931ddd29facb8bf02e5b28 SHA512 3fe617526c31da3dfd9ba59a7d2b8cef8a6327308c0e622e6ed1be7924d77aab322db625dd37a280c5538c511effe2e3855875db8cc8d48014ba696b27fe28c9 +DIST qtawesome-1.4.1.tar.gz 2614043 BLAKE2B f93a0c7c4775ad936ce68b6a4ad67b492da39f1e52aba5d16193e627fd8a57c2533b3e2e2a5a2dffad66004160437f4f926b29e3d4789aa5dc8b387993e1c1a0 SHA512 750f82d420b568d8dde45278fc1f9ceb73e41033c6f30920e0be0818079c9f7615177959b492f86ebc63941d188628a038ae064251a551fa3d20eac7ca7880f9 diff --git a/dev-python/qtawesome/qtawesome-1.4.1.ebuild b/dev-python/qtawesome/qtawesome-1.4.1.ebuild new file mode 100644 index 000000000000..800f60e292df --- /dev/null +++ b/dev-python/qtawesome/qtawesome-1.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Enables iconic fonts such as Font Awesome in PyQt" +HOMEPAGE=" + https://github.com/spyder-ide/qtawesome/ + https://pypi.org/project/QtAwesome/ +" + +LICENSE="MIT" +# bundled fonts +# ------------- +# Font Awesome, Elusive Icons: OFL-1.1 +# Phosphor: MIT +# Material Design Icons, Remix Icon: Apache-2.0 +# Codicons: CC-BY-4.0 +LICENSE+=" Apache-2.0 CC-BY-4.0 MIT OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + media-fonts/fontawesome + dev-python/qtpy[gui,${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-qt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs/source \ + dev-python/sphinx-rtd-theme + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + nonfatal epytest || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest index da01c549c1c3..4d9f5bf0e568 100644 --- a/dev-python/sigstore/Manifest +++ b/dev-python/sigstore/Manifest @@ -1,4 +1,4 @@ -DIST sigstore-python-3.6.5.gh.tar.gz 281176 BLAKE2B 23d4ccffaa2e779fdb65406f452d0c559a2c0699560d996f3b71d326d38da38bc6a264c3d4195b866d9764289a986de7f732afc64f33995f98557e759baf0c79 SHA512 a4fd2cfe1619db363b33ea03e940ae6d3b97bb838501d704926cf32b63f7c2ce75ace9915ec466ab4a9714c9a2b45578aa3006b9c19ca022c588d50bb53ae5bb DIST sigstore-python-3.6.6.gh.tar.gz 281340 BLAKE2B 79a2d099e4c7dfe611ef666479bad6923ad70ba6d0e737d25855fe32a6178c5966449ac1c120e3b6a1b801ab01f63fa82eb041cd97f7ce03b117cc7244d35a2b SHA512 d233a3412d185b26c722f9a1d228f597934ea61d1613fb7c7ef5b5861c17a11ab6251b74f069f61aa4228d7aaff34f64e1caae784a34d32ebad7d3e23a858c5c DIST sigstore-python-4.0.0.gh.tar.gz 299794 BLAKE2B ba6da6348436e9cdf43251556f7557015c5023ab80c90d801fd6ecc6f110a479d61e4edfa5f49a3a2a3204c411bc756a8c7a074798264c8f4a6036761804b052 SHA512 32fb6ce24635a0cedfea48d87f59c48d4794fd49399ca9fe1c10f945179888cd238dddb8be8ec5830b39e5d5faea0c5e8adec59c6710356ccd14067b817c0709 DIST sigstore-python-4.1.0.gh.tar.gz 296902 BLAKE2B 381eb809baedb3078f2acfe83070522901fbcc0d717e32ba12be89aa2d891906fad93be570f77aadef386928e6576d11623572b22a1d5293cd82a6fdc5c83521 SHA512 57641886bec8c193097d57cc61c94247f7e32d24ea83599527a09c1db9f0c8e0dd97d8422b6ec2055fe9474ff4be23a11a373be55b71ed11b7c308f0cf2cf0ae +DIST sigstore-python-4.2.0.gh.tar.gz 300449 BLAKE2B 07a5e9682283867af0350e383054e9f9ec62ba022620925ee4baa4e0e2808d4e03ab720fb8a7fb6611284565a3d8ecb1436d60b4dc60050605b8c129ca53ba75 SHA512 8dc3ddad69ed3a72f5b6b8f013f8f7355dc88e8b429f53e23765153ed0d32b019c9372429389a2c660433569fa956e5c7f7ee1d3f084b1bb5c730d415a7d9ec1 diff --git a/dev-python/sigstore/sigstore-3.6.5.ebuild b/dev-python/sigstore/sigstore-4.2.0.ebuild index 77741b98ab66..ed9d90f5255b 100644 --- a/dev-python/sigstore/sigstore-3.6.5.ebuild +++ b/dev-python/sigstore/sigstore-4.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024-2025 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64 ~ppc ~ppc64" RDEPEND=" >=dev-python/cryptography-42[${PYTHON_USEDEP}] @@ -37,7 +37,7 @@ RDEPEND=" ~dev-python/rfc3161-client-1.0.3[${PYTHON_USEDEP}] >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] >=dev-python/rich-13[${PYTHON_USEDEP}] - ~dev-python/sigstore-protobuf-specs-0.3.2[${PYTHON_USEDEP}] + ~dev-python/sigstore-models-0.0.6[${PYTHON_USEDEP}] ~dev-python/sigstore-rekor-types-0.0.18[${PYTHON_USEDEP}] >=dev-python/tuf-6.0[${PYTHON_USEDEP}] " diff --git a/dev-python/sphinx-lv2-theme/Manifest b/dev-python/sphinx-lv2-theme/Manifest index 96ffe31721f5..e63d4c60a3c3 100644 --- a/dev-python/sphinx-lv2-theme/Manifest +++ b/dev-python/sphinx-lv2-theme/Manifest @@ -1,3 +1 @@ -DIST sphinx_lv2_theme-1.4.2.tar.gz 14331 BLAKE2B 3d0e40af9a48c0595b1b99b87ca6fc35a557d0f7543609ab71deb277563c9c460ac6310179f0384510143fa4056bce1c1338e481f812393ffa82e063c14bc067 SHA512 51c9cca9cd28878496706a4716ec722b695257392ab09adfbfe70e3dadeb72c7620cdbb56562411e8b99d3af942cec63a346781512ead188c6b2d6eae3623336 -DIST sphinx_lv2_theme-1.4.4.tar.gz 15110 BLAKE2B a70ca2b2ff4f390a833e1aae43674e29436f5fe4d9a61b0f800cb8cfc63a03b7f80ada497bb786f148a8079b7993583d8dc928c712c2e685710ef116cd17ea10 SHA512 0ac460a190ef5de3fc3056f3e1fea68df1468140824aebc6c253bdcc39435860676c454dd31447b820afa7e75cd3e2514a1b21dd29a221ef2dd9f12761c92414 DIST sphinx_lv2_theme-1.4.6.tar.gz 14464 BLAKE2B 7d71a9e7f89b9ce5bd527fbb1a9c7b86e81e6dc96f83f8a54524df58d3dc63104e27efd263da42d0380da49f927ab0f77db6e7715ee47f1ce72a655299b08ccb SHA512 43b789fe6a88d66218741633342ed6848364d49b28a2fd24f4f561b1c7acc9714da9cb67347dce1bfbfdd521dc94eb2a3c9de7cd119ba7927d9350113ea3960b diff --git a/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.2.ebuild b/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.2.ebuild deleted file mode 100644 index 3de24e071733..000000000000 --- a/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.2.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# 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="Minimal pure-CSS Sphinx theme using the LV2 plugin documentation style" -HOMEPAGE=" - https://gitlab.com/lv2/sphinx_lv2_theme/ - https://pypi.org/project/sphinx-lv2-theme/ -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86" diff --git a/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.4.ebuild b/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.4.ebuild deleted file mode 100644 index d7f9f69423cb..000000000000 --- a/dev-python/sphinx-lv2-theme/sphinx-lv2-theme-1.4.4.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# 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="Minimal pure-CSS Sphinx theme using the LV2 plugin documentation style" -HOMEPAGE=" - https://gitlab.com/lv2/sphinx_lv2_theme/ - https://pypi.org/project/sphinx-lv2-theme/ -" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -src_prepare() { - distutils-r1_src_prepare - - # https://gitlab.com/lv2/sphinx_lv2_theme/-/issues/4 - find -name '*.pyc' -delete || die -} diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index ec9eb76bfcc9..7897d8b0fea8 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -6,3 +6,4 @@ DIST uv_build-0.9.21.tar.gz 357539 BLAKE2B 721e12e0260301d3234f3fbc76d5944c9b15e DIST uv_build-0.9.22.tar.gz 357175 BLAKE2B 684bfc438483ebcb7b818456fa88994c4f677cc550de06dfee0b05c5a55f058e5079b7851b0e5aa88153e50a78aa28efa6216388a0a6cb1c620b12f80400523d SHA512 dbb19e42fae9ba49eae7a5e55395b4c04542142a22a421ced43195eb616eeec53126452b1f716e9d4cb8a528adf54ab72ab1f36236e5ea1a7a0e7da8d28cf36a DIST uv_build-0.9.24.tar.gz 359788 BLAKE2B 79cd6452e95d99a01e8212d80c7c0b30aeb5796a75f18c6fa031b1b9800032d3643625db1d9780c649dfa7b14876adac507fb98cac1c62b08aad93ac86be094a SHA512 9b28f7037a2f30e7ebfed6e54af10c1c3c540311723099afcac8ddce1e7c34b34e50e344da8a20e22d8840991342f8fea6ab17e8899a513a70c958f250d8a1d8 DIST uv_build-0.9.25.tar.gz 359005 BLAKE2B b0c8307919092aa0abbca7da379efd315f54c4d70c066633a3524fb1a78fcff0831e071086050b240536a123d965706337f09c716814e5655c9051cd4d879a19 SHA512 601eea260c615b6102c0e6a766d7c5fd0585c72005fb813a22cdc3f568c2f57042f72d3d16822f1c1773e1f9e8580d1f77b1e73b940a026c0a8e8783ef817f7b +DIST uv_build-0.9.27.tar.gz 359927 BLAKE2B 59b28b510f3d6b00e1cc3d4d7b2513181d2b0b494beeb3bc715e02a88ed42efddd2d5baa76c220dd94128bda9283f80f4bbf4fd7510101d022c9a070a7205cf8 SHA512 9b7ddba6293f6b2b6df8d4d5d5d2ededdea9c2806551d61ca32f1831bd0f073c68463336cbfb75e69a202af0cba2f61a9d03c80e19cf4b1c7e5a314b34c59bd7 diff --git a/dev-python/uv-build/uv-build-0.9.27.ebuild b/dev-python/uv-build/uv-build-0.9.27.ebuild new file mode 100644 index 000000000000..639745396c25 --- /dev/null +++ b/dev-python/uv-build/uv-build-0.9.27.ebuild @@ -0,0 +1,99 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maturin compiles uv-build executable for every impl, we do not want +# that, so we use another backend. And since we use another backend, +# why not dogfood it in the first place? +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP517 uv build backend" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv-build/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/uv-${PV} +" +BDEPEND=" + test? ( + app-arch/unzip + dev-python/build[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + distutils-r1_src_prepare + + # use the executable from dev-python/uv instead of building + # a largely overlapping uv-build executable (at least for now) + sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die + + # replace the build-system section + sed -i -e '/\[build-system\]/,$d' pyproject.toml || die + cat >> pyproject.toml <<-EOF || die + [build-system] + requires = ["uv_build<9999"] + build-backend = "uv_build" + backend-path = ["src"] + EOF + + # rename to make uv-build find it + mv python src || die +} + +python_test() { + "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" + + local zip_result=$( + unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die + ) + local zip_expected="\ +Archive: dist/uv_build-${PV}-py3-none-any.whl + testing: uv_build/ OK + testing: uv_build/__init__.py OK + testing: uv_build/__main__.py OK + testing: uv_build/py.typed OK + testing: uv_build-${PV}.dist-info/ OK + testing: uv_build-${PV}.dist-info/WHEEL OK + testing: uv_build-${PV}.dist-info/METADATA OK + testing: uv_build-${PV}.dist-info/RECORD OK +No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ +" + if [[ ${zip_result} != ${zip_expected} ]]; then + eerror ".zip result:\n${zip_result}" + eerror ".zip expected:\n${zip_expected}" + die ".whl result mismatch" + fi + + local tar_result=$( + tar -tf "dist/uv_build-${PV}.tar.gz" || die + ) + local tar_expected="\ +uv_build-${PV}/PKG-INFO +uv_build-${PV}/ +uv_build-${PV}/README.md +uv_build-${PV}/pyproject.toml +uv_build-${PV}/src +uv_build-${PV}/src/uv_build +uv_build-${PV}/src/uv_build/__init__.py +uv_build-${PV}/src/uv_build/__main__.py +uv_build-${PV}/src/uv_build/py.typed\ +" + if [[ ${tar_result} != ${tar_expected} ]]; then + eerror ".tar.gz result:\n${tar_result}" + eerror ".tar.gz expected:\n${tar_expected}" + die ".tar.gz result mismatch" + fi +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index d28a82a7e1e9..19d501758923 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -14,3 +14,5 @@ DIST uv-0.9.24-crates.tar.xz 48574824 BLAKE2B ad3fd45f6ad0ff2b84dd092adaec061539 DIST uv-0.9.24.gh.tar.gz 4821236 BLAKE2B bb35fc9b0d9ef11bd318c9387f04e14b99968e43bca7e34afae2b32513eda6de3d2fbe1be7fe20d0859ef2866b013b3fab2d3497ef5a6976f6765ebe4d0c3d8e SHA512 713f9dfda0e55b330246643618236f005e3bbee76b9b48499d1608778a7fb190e9daf19c9967fb492426f0cda31028dcaa61867b23fb861e050d2f0f36439478 DIST uv-0.9.25-crates.tar.xz 48574824 BLAKE2B ad3fd45f6ad0ff2b84dd092adaec061539b46293bce4c05c694a1aac32ba00cafd3b6ae419149e8251baf7bc6928f8a07c7237e356731d29e222a13093d9388f SHA512 c022e7cb8f9d539e9e52c48f31b8958e570cbd117db8bac4b8ecaf1ba5fd434dab451ebb32a419e426d845f3edafa07b6ad87f270da09f37d61e2ba4104ad046 DIST uv-0.9.25.gh.tar.gz 4834894 BLAKE2B 2aa0542dd6754213a61973541b08c03bb0b42733c518899ccb770a81fdcff7ff57183de60540ae1c878390a358ff765b3f2c5639a1b1790e04b9751ff49a8093 SHA512 f578b7f51f4330e55fa3e9db4db428f074bb8762e41ce840032857893304a807a00d6544fc23588abbe9dc584925261f5a3232a62c8cf5da5b237fafef5b520e +DIST uv-0.9.27-crates.tar.xz 40486928 BLAKE2B 51f658d27d85b40b2eabb1e4369e43517e86a211a81ec946f4ca58c4507e0685d65f26ffdf07c0c821213edda865d249a7f3f346ffda9c176eaeab8323fc9f12 SHA512 9f942d809ed5a3806887d8bca616bb904ebe9d0d1c83beec62bd5dcade2c2d566c6db5f0a00abe018cc28ab4ef3e7ff567faa0687557040cbe5a79401d9012b3 +DIST uv-0.9.27.gh.tar.gz 4895904 BLAKE2B 52a2ddb30979b2be31cabdd242aa448397b86a13d63e121bd97633787d278cb1340ee9d3f0ae664212268da891efccbf4e1c089f6b89fc345a9c82fbd24a8fae SHA512 3c71f9e7d64a32466697124b9b6e96ee3f260deb3abe016cf765e325976d5f1cafb2bc5a1e1aaf876efe5f2b5bc2d347560c2dc6c917f749da63d936621e96fd diff --git a/dev-python/uv/uv-0.9.27.ebuild b/dev-python/uv/uv-0.9.27.ebuild new file mode 100644 index 000000000000..30f3883671ff --- /dev/null +++ b/dev-python/uv/uv-0.9.27.ebuild @@ -0,0 +1,161 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.91.0" + +inherit cargo check-reqs + +CRATE_PV=${PV} +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 + CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 + ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + dev-lang/python:3.13 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # force thin lto, makes build much faster and less memory hungry + # (i.e. makes it possible to actually build uv on 32-bit PPC) + sed -i -e '/lto/s:fat:thin:' Cargo.toml || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/uv/uv-9999.ebuild b/dev-python/uv/uv-9999.ebuild index 3fb5535d922d..e71a4b9b7ff8 100644 --- a/dev-python/uv/uv-9999.ebuild +++ b/dev-python/uv/uv-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -RUST_MIN_VER="1.90.0" +RUST_MIN_VER="1.91.0" inherit cargo check-reqs git-r3 diff --git a/dev-python/wcwidth/Manifest b/dev-python/wcwidth/Manifest index d01c434b039d..c7f8f123b3d9 100644 --- a/dev-python/wcwidth/Manifest +++ b/dev-python/wcwidth/Manifest @@ -3,3 +3,4 @@ DIST wcwidth-0.3.0.tar.gz 172238 BLAKE2B ffb6a0db47f924cb1263df9e95024e7e76436ea DIST wcwidth-0.3.1.tar.gz 233057 BLAKE2B dca2e1458299b9dd76ee5abf23dbf42179c214a27d03e297bfed4e806367b17eb80adeb2d132b6af854c736ce566827fbd71700b6732665e75ccb6c264dbd9fb SHA512 46accd22f52176d5ccbb11bacd588488d07fab6eb2e713ee5fd4cb7f66ba881611a1d553a6232d970db994841f71b074779a84aed9e658e3c41350f70bf6958c DIST wcwidth-0.3.2.tar.gz 233633 BLAKE2B c342a44c7a7419c6d225dd4b567139ad162b355610c0c42d5e729950676205c63e96b3b5c01189bd3a76863a4c12bd0b47843f3cd774b28b1a6c14aa1fc78776 SHA512 40b4fac28d95d1ba58b2268dec053d4f26b93c0518825a1a86abf9db31f5fc94894eddbcb6f76c203ea5eb5d832be999848106a947efdfb68475f792035cda3a DIST wcwidth-0.4.0.tar.gz 237625 BLAKE2B 4bbbbb93b7742b435d7c835601788d86ac383ee2cae9f55a344690fc24d94d8f636aa08e0b92307abcffdef805f93f5490324d72158b38ad5ea39e5a0e0e7210 SHA512 fb8e22359098c6a0281669d01dbad98741a7a60c72420288efe731b211ebdaf12bd0f49e943c20b5bf2a26af074e39354e7b629e4cb6a43a27333aa64e80a546 +DIST wcwidth-0.5.0.tar.gz 246585 BLAKE2B fa18ed5474efdcb96d2da23efdb123bb22a3bf0cda3e85065898c6e3dcec7d2fcf1c2a6589080182fd72bed94d086bfc38a3f913feb34c187563de206e26ebef SHA512 0ef0c4a5e3de2496f3cab9da69e6e80dc9e3d6770aaa1735909769ff4ceaf1901dbd31f4565c5fca156f1f554d90398e7e10aee3b1cbd98b8ea150c093935ab7 diff --git a/dev-python/wcwidth/wcwidth-0.5.0.ebuild b/dev-python/wcwidth/wcwidth-0.5.0.ebuild new file mode 100644 index 000000000000..93cfddfcb5d7 --- /dev/null +++ b/dev-python/wcwidth/wcwidth-0.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2026 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="Measures number of Terminal column cells of wide-character codes" +HOMEPAGE=" + https://pypi.org/project/wcwidth/ + https://github.com/jquast/wcwidth/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} + +python_install_all() { + docinto docs + dodoc docs/intro.rst + distutils-r1_python_install_all +} |
