diff options
| author | Crucible <crucible@localhost> | 2026-09-22 18:47:35 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-22 18:47:35 -0500 |
| commit | cde96c5ea0c81397fd3214d455a374f76179a7aa (patch) | |
| tree | 12c86d59eb88887c244b1145411db084ae5a6c1f /dev-python | |
| parent | 47516b9667518dacb1efd6d257f7b3e6a481ec93 (diff) | |
| download | baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.tar.gz baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.tar.xz baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.zip | |
Publish baldeagleos-repo candidate 0000000325-20260922-184323
Diffstat (limited to 'dev-python')
99 files changed, 2609 insertions, 106 deletions
diff --git a/dev-python/amqp/Manifest b/dev-python/amqp/Manifest index dee0d7226620..dfcd557d0809 100644 --- a/dev-python/amqp/Manifest +++ b/dev-python/amqp/Manifest @@ -1 +1,2 @@ DIST amqp-5.3.1.tar.gz 129013 BLAKE2B e791792effba9efc7ceb320d7ece9fb5d8936ad0faf5c5519a63e419436258272271ab0f45b3828b6c68f9b8ab50641a73644c0c37687776cc7f5a29c3abd6f4 SHA512 4701ee40a6a88738ab2bb199114512af85f722afb99e2ee1d18c48563ceb6f925052315c5ca289e36db5d02aa72412b798442fd6c2f623d10a0ac43af3c2eca8 +DIST amqp-5.4.0.tar.gz 131733 BLAKE2B 55d9749c1ab2e7d4a2b8ad3ea7da9274ebc41b329463d3063970200a6cf4b33b7792375bb2b9b65dab5afbfa71416420fcde7150e3dcc00e0a04f1cf079aaf33 SHA512 86b64089ff2a1d19f0b389dda550f1a47031267d17c48cc069f8b5ed8effd964057b85a12176939f80b266f36fe21211fb9ac037acd2383b39f06d71ee4b665e diff --git a/dev-python/amqp/amqp-5.4.0.ebuild b/dev-python/amqp/amqp-5.4.0.ebuild new file mode 100644 index 000000000000..0874659abe83 --- /dev/null +++ b/dev-python/amqp/amqp-5.4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)" +HOMEPAGE=" + https://github.com/celery/py-amqp/ + https://pypi.org/project/amqp/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="extras" + +RDEPEND=" + >=dev-python/vine-5.0.0[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + '>=dev-python/sphinx-celery-2.1.3' +EPYTEST_PLUGINS=( pytest-rerunfailures ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fails when gssapi is installed (how does that test make sense?!) + t/unit/test_sasl.py::test_SASL::test_gssapi_missing +) + +src_test() { + einfo "Starting rabbitmq" + # TODO: enable TLS? + local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log" + local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia" + local -x RABBITMQ_LOGS="${T}/rabbitmq.log" + local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid" + local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins" + /usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 & + + einfo "Waiting for rabbitmq to fully load" + while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do + sleep 1 + done + einfo "rabbitmq is ready" + + distutils-r1_src_test + + einfo "Stopping rabbitmq" + kill "$(<"${RABBITMQ_PID_FILE}")" || die +} + +python_test() { + epytest -k "not tls" +} + +python_install_all() { + if use extras; then + insinto /usr/share/${PF}/extras + doins -r extra + fi + distutils-r1_python_install_all +} diff --git a/dev-python/atpublic/Manifest b/dev-python/atpublic/Manifest index b19d9287125e..a4eb6dd1f74e 100644 --- a/dev-python/atpublic/Manifest +++ b/dev-python/atpublic/Manifest @@ -1 +1,2 @@ DIST atpublic-7.0.0.tar.gz 17801 BLAKE2B d733b1ccd7c997c9b5eea7541bf9b29a119262782e30cd2d81403e150370bd5b0ba9fa4183567820b5dcd909b30cf83c1ee685d46494070dccd548cdc8fce355 SHA512 cb1bc639e49edfb3a34e075faa28a68d8e8528e26d1600f55e5dbff67f9b12da13c82d30fd4413a7c09bc4816eb1f72517ef42aea00c2ebe0d790daa5b7f7df0 +DIST atpublic-8.0.1.tar.gz 27401 BLAKE2B 58b053e1b5eafdd42943c6f4b522fedc9eb370b6c660723bf8ad2914936d0ff5747bcd093bf567794f863cb73ef2c2e10d9168c8ef0e3f4cf7d0f14685b24e93 SHA512 6a38c1c787626c3c943c718d3370e3b3a710d030c51ae80598ccfefb9faf6aa44059950022163d56a65f21615cdcc6bcf759d8dd04c1954f984fbe7ded761b52 diff --git a/dev-python/atpublic/atpublic-8.0.1.ebuild b/dev-python/atpublic/atpublic-8.0.1.ebuild new file mode 100644 index 000000000000..4c52a987bcd9 --- /dev/null +++ b/dev-python/atpublic/atpublic-8.0.1.ebuild @@ -0,0 +1,28 @@ +# 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_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A decorator to populate __all__ and the module globals" +HOMEPAGE=" + https://gitlab.com/flufl/public/ + https://pypi.org/project/atpublic/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/sybil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/backports-zstd/backports-zstd-1.7.0.ebuild b/dev-python/backports-zstd/backports-zstd-1.7.0.ebuild index 8b72d545ef85..f67e9c4ae35b 100644 --- a/dev-python/backports-zstd/backports-zstd-1.7.0.ebuild +++ b/dev-python/backports-zstd/backports-zstd-1.7.0.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" app-arch/zstd:= diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index de2cba40e132..cffa09dcf270 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.43.83.gh.tar.gz 1218064 BLAKE2B 0758e28dd9b086615b045e107aece2ef46b DIST boto3-1.43.89.gh.tar.gz 1225424 BLAKE2B 625bb37a542644c8fe37aab42a115bf8be2e36373d7f6149dcc7e150e327c75b334ef480897be1d4954809b233a47e02854d7b28b4a3904f0e5cdcea3f0440d7 SHA512 1c04fd6df819abbe60d551c6d706f7254fe6d6758e95fd53ec70d4dd892b6f7bf69981cb001fc6ca5bc5885f083718b80a4fd045b146e7f4add16a50ac3a9d38 DIST boto3-1.43.93.gh.tar.gz 1230597 BLAKE2B 183d94cea0d706147a75674cb85a600ad21c2683618ba18a14e8630f23b19c94c11d0bc03ddc517194dad42dfb9445d1b34076b1f1b3ecbcec51ceccf30e5db0 SHA512 01612175497aada3b3fdf62ffcdb0626dc0fd5090d7d156d2a1f5fad4ec19b904ffecfd4b59880cf71ec07658bf00c2245bdd3c989a7513689ab59a2511e06ea DIST boto3-1.43.98.gh.tar.gz 1235430 BLAKE2B 6a08b191374c1c31b69c975cb4281685bee4914b8f2ab32dd2eb13c7742ff7e228a151f0e78b7f323d43ffe9b4dd7e4574104bc4a63cd573726715eceeb13137 SHA512 550c5daf6b3110562ba08e0694cdc19b7cd02e9d00aba22acc3a8272a63124d3e9eea870d7fced18685ee89459f375ace66aca49fcaece88a1d7dbfa1d54022e +DIST boto3-1.43.99.gh.tar.gz 1235825 BLAKE2B bee3274c9418d1f25d5531762a70e5039953ba0e3e97e896cb3f9259bf76394a32682085dd2cd361415ced8f7fcf4d32ac0569a0eae6ed34fb06b509ee90621e SHA512 990c09fd394e17265efa2cd32828c496bf708163ae7c2e1f91fb5ce4607a0b60f5f8bcc23fd788a749d3af779476180d875d38356719512a043598e07daf99a3 diff --git a/dev-python/boto3/boto3-1.43.99.ebuild b/dev-python/boto3/boto3-1.43.99.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.99.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.19.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 321ede6d0919..365efe6ba125 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.43.83.gh.tar.gz 17038145 BLAKE2B f74b399b04f9b259e1a2f424719c4b8 DIST botocore-1.43.89.gh.tar.gz 17111395 BLAKE2B 25837125b5d9477b011c065594ffa1b49a2f5d0cf76e1c664aa5401d50dfe8dd9573d0ab3a60f739c796c32965a7dd7608e302a284bfcc97d9f7f4a8a2b698e3 SHA512 c9c0b7636fb7595d4ff3ee2ec7e1ef8ad3000e9e453ce6edb827a1152109fc2fb6b226bd08f27653fc1436444c39be6f160fa4f7c34eb50a7384988686933590 DIST botocore-1.43.93.gh.tar.gz 17142451 BLAKE2B eec2955aa252ff8bc49c24095006f0c75669f7946dcdaece4c7f640e724910b14c1b1b0b07fb8e6661d96e95fe148201381d70b4685a7282c2c64f2656fde57a SHA512 e021322d630deb94f738aa5096a7b72ffdeffbeaf5d3f6fbc9e835b7f41afa25a738d353e37b4fbd73b5b8889334ccdf4caec64d4c63e4e966e0e245c6117cf0 DIST botocore-1.43.98.gh.tar.gz 17171860 BLAKE2B 8bb682accc106b35b89f19fc6512314f3251a896d5e3e74b02112d9dc6218c56388685113d1889dbbde18ca9ea2b18acd2386d54603567d334644bebc55a678a SHA512 42700b9fbbf6df97f410cff159aae5dd57f5c114567e80fe4930b42166608609fcd9822f011c0acb8a4fc46c92aedd9a7ea5afa1608a24e47b0e30d78274d0ac +DIST botocore-1.43.99.gh.tar.gz 17174718 BLAKE2B b893fe15a5addf1f74877a1eb1b7bea63ae6ed0e3c0f23b1877f55785502e6f8a16d52bf1c197d2347076fde7e1c724a04acff65d9973f07776c63ae4c6237df SHA512 756aa99dadb155463492b7c48638b4e3ddadb492d157be679d5d66de3c945c5d701c813cb583477f2e937c165aad5eac4841ba582253549e79347f2eb2f73dc4 diff --git a/dev-python/botocore/botocore-1.43.99.ebuild b/dev-python/botocore/botocore-1.43.99.ebuild new file mode 100644 index 000000000000..14ad5b2d1f27 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.99.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + # The test suite can eat up a lot of memory when running via xdist, + # and slow down some tiny tests. Let's just run a safe subset + # of tests known to be slow-ish in parallel, and the rest in series. + local parallel_tests=( + tests/functional/*/ + tests/functional/test_event_alias.py + tests/functional/test_[cds-z]*.py + tests/unit/ + ) + + epytest "${parallel_tests[@]}" + + local EPYTEST_IGNORE=( "${parallel_tests[@]}" ) + EPYTEST_XDIST= epytest tests/functional +} diff --git a/dev-python/breathe/Manifest b/dev-python/breathe/Manifest index 925bcf01af88..4e46ac6d7f24 100644 --- a/dev-python/breathe/Manifest +++ b/dev-python/breathe/Manifest @@ -1 +1,2 @@ DIST breathe-4.36.0.gh.tar.gz 219346 BLAKE2B 26e18a7cbe34762579bff965e48772b54438a2ed1235dad52fc63533afe47f78cb921683c201a281e732f4e67d5a5edbe850a369f57d7eca83f0a54f43cb68a5 SHA512 fd640ed75680134a5a0e8860764bb430bb971f49ad2f88392de7ba97d633e377079eaf1c7e35a72db135e4c4d3b066c6c9744ccc151ad18d865bb37c9de833d7 +DIST breathe-5.0.0.gh.tar.gz 260953 BLAKE2B 1bc338d1c0076ff6719e52f3cae9c1d16473f0efa040edd5e8a37042860bcf69274ff1a3fba791eba04388e1ff6fc2af8804f9d5348ed9257309cb064519329b SHA512 0cbbb2653f44a38c50d81a7ce3cf46aa15060ed6d2519e738e8e33b193c821839fcf2f05a0a9adabdfc02cac506f8749cca2dda8bfe93ecd0702493189696d61 diff --git a/dev-python/breathe/breathe-5.0.0.ebuild b/dev-python/breathe/breathe-5.0.0.ebuild new file mode 100644 index 000000000000..ed8127ff8ad3 --- /dev/null +++ b/dev-python/breathe/breathe-5.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx Doxygen renderer" +HOMEPAGE=" + https://breathe.readthedocs.io/en/latest/ + https://github.com/breathe-doc/breathe/ + https://pypi.org/project/breathe/ +" +SRC_URI=" + https://github.com/breathe-doc/breathe/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +# need doxygen bump for tests? +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + app-text/doxygen + dev-python/docutils[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.2.0[${PYTHON_USEDEP}] + dev-texlive/texlive-bibtexextra + dev-texlive/texlive-fontsextra + dev-texlive/texlive-fontutils + dev-texlive/texlive-latex + dev-texlive/texlive-latexextra +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_configure_all() { + # normally called via setuptools_builder.py + # (with pointless dep on setuptools) + "${EPYTHON}" - <<-EOF || die + import xml_parser_generator.make_parser as mp + + mp.generate_from_json( + "xml_parser_generator/schema.json", + [ + ( + "xml_parser_generator/module_template.py.in", + "breathe/_parser.py" + ) + ] + ) + EOF +} diff --git a/dev-python/chess/Manifest b/dev-python/chess/Manifest new file mode 100644 index 000000000000..6b9439d839a6 --- /dev/null +++ b/dev-python/chess/Manifest @@ -0,0 +1 @@ +DIST chess-1.11.2.tar.gz 6131385 BLAKE2B a52b9ccf8b51aecb552d1370580a3cbcf22f42cbd3571e0c3e720f25b1aa4a240d4cb9c5c4b6b1975ba39626d7090f342a2064b8ee80015d8f4bbdb56b9a3372 SHA512 255ece5e4a8fa7a3d7d2a2ea86b1532f33563b2321a372e24d1ecc25042449b2c5d511308ba44491ec08eff0fca5567e042430581ca26eb3faefd6fee70e38e6 diff --git a/dev-python/chess/chess-1.11.2.ebuild b/dev-python/chess/chess-1.11.2.ebuild new file mode 100644 index 000000000000..66214a481242 --- /dev/null +++ b/dev-python/chess/chess-1.11.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Chess library with move generation, and support for common formats" +HOMEPAGE="https://github.com/niklasf/python-chess" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="${RDEPEND}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="test" diff --git a/dev-python/chess/metadata.xml b/dev-python/chess/metadata.xml new file mode 100644 index 000000000000..608416a5d1b5 --- /dev/null +++ b/dev-python/chess/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>shimontrolles@gmail.com</email> + <name>Shimon Trolles</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index b3483561c984..eae56cfb39b2 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -14,4 +14,6 @@ DIST llvm-project-22.1.8.src.tar.xz 167061596 BLAKE2B 092204f62e0f0364a041c737eb DIST llvm-project-22.1.8.src.tar.xz.sig 119 BLAKE2B 2ce93472036e68782252991e4a8bdbeeec8706a56022220083a38a42ef18714a7894c41aaa04dc0d03f18601d8bfc1a5a030ed0ef0f0d64a662eae9843a4b362 SHA512 99a457b5b1fb409a5fe72b59ebd4ddae5cade3e5f2493e33b44d4f4b4625f7a1743f80106efb1134668842b15ea3400ce2c29263bec8ff986e05040910125e15 DIST llvm-project-23.1.1.src.tar.xz 179168672 BLAKE2B 31d0ad202f4ad38d001baaf638a756508b164229b02a6e41b9689508a33b3a7baecaa10398e20f3661cacb712663fe379eeb94e50e017e40ae546a7e7de8049d SHA512 e51c45f01e95272771bfee8382b213a2e21d3c62e273ff58967cfe40b87f45d2b37a4797b8b83fab025ed7a0ad32adef48406ade2d049da3d7f1799b30edea39 DIST llvm-project-23.1.1.src.tar.xz.sig 466 BLAKE2B fd062ee7b6a59295f1ba558ed35fcf03d9d1a2f716cc710ae1b375c9f673eaaf21a7a503652fefbcc91233c9df279c4521f487539264badd0bf591362657024b SHA512 d2e1101f6f3569cc82630e94d9021aaa47e32636d5b0b7fe90c01a56523e3d772835ad7c2a6f2c1a199ed1624a6f12429b43865d6f41405b73b275483effe581 +DIST llvm-project-23.1.2.src.tar.xz 179200068 BLAKE2B 554cddd2a3e273ba876da7815e5b0b6999319d2d2c0016603def4e31ce064fe119422aca0033ea0ab2e36ea22d46985ea042b891eed60647b119687c19f9b556 SHA512 91174e69ea787034f8a6b17120aae5f139204e13292119d1b066b4930dcea586c76b82228d3db281d8d4211384c7cb74c6b61fdef41b39d310908a8c7cf080cc +DIST llvm-project-23.1.2.src.tar.xz.sig 119 BLAKE2B 20a19a2a584c6298841e20f95bf13e42c5f591f82087abd26f77f1d7f87b575dc661fd8bc72f6a7faad485cf75ff4219fb810fbb3a73b0a5992014157e5094fc SHA512 fe76751211cfb1a56935f0e6fd9536309eb02111acb3f32f4badf7e45e6f0283125cf2ece00baa420afc488667c7e1fbb06f0567aa33ff9459f41281cb25e10c DIST llvm-project-3dcd66d0110335d7d1a5921fd085914b66ffbd3c.tar.gz 317468883 BLAKE2B af57748bf462852a7d09751162e43c52b7d8fa4d1e3e9b021062b11132ad2268b2ddefd0e2d0b2391de1e8120b751fe46a368bc58dce83b8d5e4413716701031 SHA512 678027e165bf444eb522a70b5c52018dba4b41828fa7db353bd1155ec326633adfe64e20e5975b672fc2669c6fd7e0dec0dbd8c63ee89e0393264d9af5ab3090 diff --git a/dev-python/clang/clang-23.1.2.ebuild b/dev-python/clang/clang-23.1.2.ebuild new file mode 100644 index 000000000000..2a1b09426737 --- /dev/null +++ b/dev-python/clang/clang-23.1.2.ebuild @@ -0,0 +1,50 @@ +# 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_{13..14} ) +inherit distutils-r1 llvm.org + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +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} + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +llvm.org_set_globals + +distutils_enable_tests unittest + +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 + eunittest +} diff --git a/dev-python/cmd2/cmd2-4.2.1.ebuild b/dev-python/cmd2/cmd2-4.2.1.ebuild index 0dd4a4021580..cbf30c816bea 100644 --- a/dev-python/cmd2/cmd2-4.2.1.ebuild +++ b/dev-python/cmd2/cmd2-4.2.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 x86" RDEPEND=" >=dev-python/prompt-toolkit-3.0.53[${PYTHON_USEDEP}] diff --git a/dev-python/curl-cffi/Manifest b/dev-python/curl-cffi/Manifest new file mode 100644 index 000000000000..38ccd9fae83e --- /dev/null +++ b/dev-python/curl-cffi/Manifest @@ -0,0 +1 @@ +DIST curl-cffi-0.16.3.tar.gz 895751 BLAKE2B ef246160bc09df24577d53cc6f8e97503ff2bc4727762eba9060d39638ce552cb20f01848a4340b4ef65d1745d575a73cc9e39a4a41e48451fed6d4f450cd908 SHA512 6d0a5249ba560c5799e1761093d242bbd9b223841b39c75c1e35e06a9552a47cd8f3ba55d26e786ad0bf3b573acfd56e3d22be67dbb949132198ca49955ac0de diff --git a/dev-python/curl-cffi/curl-cffi-0.16.3.ebuild b/dev-python/curl-cffi/curl-cffi-0.16.3.ebuild new file mode 100644 index 000000000000..da8d158992e2 --- /dev/null +++ b/dev-python/curl-cffi/curl-cffi-0.16.3.ebuild @@ -0,0 +1,78 @@ +# 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 +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for curl-impersonate" +HOMEPAGE="https://github.com/lexiforest/curl_cffi" +SRC_URI="https://github.com/lexiforest/curl_cffi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/curl_cffi-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + net-misc/curl-impersonate + + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/litestar[${PYTHON_USEDEP}] + dev-python/proxy-py[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + export IMPERSONATE_LINK_TYPE="dynamic" + export IMPERSONATE_BUILD_DIR="${EROOT}/usr/lib64" + + sed -e 's#"curl/curl.h"#"curl-impersonate/curl.h"#' \ + -i ffi/shim.h || die + + sed -e '/^download_libcurl/d' \ + -e "s#str(libdir / \"include\")#\"${EROOT}/usr/include\"#" \ + -i scripts/build.py || die + + distutils-r1_python_prepare_all +} + +EPYTEST_DESELECT=( + "tests/integration/test_real_world.py::test_post_with_no_body" + "tests/integration/test_response_class.py::test_custom_response" + "tests/integration/test_response_class.py::test_default_response" + "tests/pro/test_fp_verify.py::test_live_fingerprint_data_matches_runtime_output" + "tests/pro/test_fp_verify.py::test_live_http3_fingerprint_data_matches_runtime_output" + "tests/unittest/test_async.py::test_add_handle" + "tests/unittest/test_async.py::test_socket_action" + "tests/unittest/test_async_session.py::test_update_params" +) + +EPYTEST_IGNORE=( + "tests/integration/test_fingerprints.py" + "tests/integration/test_httpbin.py" + "tests/threads/test_eventlet.py" + "tests/threads/test_gevent.py" + "tests/unittest/test_smoke.py" + "tests/unittest/test_upload.py" +) + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + cp "${BUILD_DIR}/install$(python_get_sitedir)/curl_cffi/"*.so curl_cffi || die + epytest +} diff --git a/dev-python/curl-cffi/metadata.xml b/dev-python/curl-cffi/metadata.xml new file mode 100644 index 000000000000..3c9d9878973d --- /dev/null +++ b/dev-python/curl-cffi/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Pavel Sobolev</name> + <email>contact@paveloom.dev</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/lexiforest/curl_cffi/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild b/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild index 5d1121a49686..1c2c377442a5 100644 --- a/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild +++ b/dev-python/digitalocean/digitalocean-1.17.0-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/python-${P}" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index cdb66f53a5a7..a59e8bccf95f 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1 +1,2 @@ DIST hatch-hatchling-v1.32.0.gh.tar.gz 5360982 BLAKE2B a3eea27c39600ccf7b45e1b8de28112f3b92380f80579049013101cefde5f734225d71ac330d1b76a6c39c8f2e4a6e8b116f548b5eab305852a71d6d0b6c0094 SHA512 e8165a4444675382938502e692877cdad4a3f24e11f4b38bd0f6ae6ecc8a4fdde343ef5827719c803e5b40beddfd2a934d633270f0c200e3615c9b797038681e +DIST hatch-hatchling-v1.32.4.gh.tar.gz 5364548 BLAKE2B be84990cf0a04a180221fa14642e7245c2b58830f2d538ba82446e4f525812cd9af598cc41e734b9c9e158c103c8f073abf2e5f240fa6fedf83d154bd092c453 SHA512 b595da39a0a614ba9f744f743be556be9a7be29a491646d64a2c206b044f2cda020120ebbf3d2975db8418af3b2c03152a3c3c82a8c60efae5ed0b6101f7ca7e diff --git a/dev-python/hatchling/hatchling-1.32.4.ebuild b/dev-python/hatchling/hatchling-1.32.4.ebuild new file mode 100644 index 000000000000..1c1aa7618121 --- /dev/null +++ b/dev-python/hatchling/hatchling-1.32.4.ebuild @@ -0,0 +1,99 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/pypa/hatch/ +" +SRC_URI=" + https://github.com/pypa/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +# deps are listed in backend/src/hatchling/ouroboros.py +# editables are optional but required for editable installs +RDEPEND=" + >=dev-python/editables-0.3[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.1[${PYTHON_USEDEP}] + dev-python/trove-classifiers[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_test() { + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + + # sigh; standalone test suites are overrated, right? + echo "__version__ = '${PV}'" > src/hatch/_version.py || die + local -x PYTHONPATH="src:${PYTHONPATH}" + + # do not require uv for portability, sigh + mkdir "${T}/bin" || die + cat > "${T}/bin/uv" <<-EOF || die + #!/bin/sh + exit 127 + EOF + chmod +x "${T}/bin/uv" || die + local -x PATH=${T}/bin:${PATH} + + # tests mock cargo subprocess call but the backend raises if CARGO + # is not set and shutil.which() can't find it + local -x CARGO=cargo + + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x EPYTEST_DESELECT=( + # most of these run uv to install stuff + # the few remaining tests aren't worth running + tests/backend/dep/test_core.py + # broken if CARGO is set + tests/backend/builders/test_binary.py::TestBuildBootstrap::test_no_cargo + ) + + local EPYTEST_PLUGINS=( pytest-mock ) + epytest tests/backend +} diff --git a/dev-python/html5-parser/Manifest b/dev-python/html5-parser/Manifest index 03cda8f52145..576b7a63f851 100644 --- a/dev-python/html5-parser/Manifest +++ b/dev-python/html5-parser/Manifest @@ -1 +1,2 @@ DIST html5-parser-0.4.12.tar.gz 270861 BLAKE2B 34cd247004956205c8aa67b6863a16950b28b92274feb4ddf1fe5ab177bd6e58d2835775a6e12cb6ee56a9bfcf3ad40f5c645fc380be1364acb8cfbfd6eabb3e SHA512 5dc45c54c53fc6492b645977940ebaf4bc4fee141767d9d6066ecc1c8547a2343f29c39c65f97d827863c499d48f54fae9309b8b25aa636ae3e4e42e97ec1f17 +DIST html5_parser-0.5.0.tar.gz 275010 BLAKE2B 234491dc83840798f397187f91ce24073262b54b78b3d672665336ec88d0bf15b8ef681037ee2c68055d7a2f08fe685bae307f3125b1be6d5de080144493a10f SHA512 4e38427d70ddd16cd8dce10d26d8ba6d33e985b681b85d27b2992ad07d10371a011df8fb3757ed62e6e492380377075ee1d27d469dec8a04dfb0451922e1b48f diff --git a/dev-python/html5-parser/html5-parser-0.5.0.ebuild b/dev-python/html5-parser/html5-parser-0.5.0.ebuild new file mode 100644 index 000000000000..85cd67d04c7d --- /dev/null +++ b/dev-python/html5-parser/html5-parser-0.5.0.ebuild @@ -0,0 +1,46 @@ +# 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 +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi toolchain-funcs + +DESCRIPTION="Fast C based HTML 5 parsing for python" +HOMEPAGE=" + https://github.com/kovidgoyal/html5-parser/ + https://pypi.org/project/html5-parser/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/libxml2:= +" +RDEPEND=" + ${DEPEND} + dev-python/chardet[${PYTHON_USEDEP}] + >=dev-python/lxml-3.8.0[${PYTHON_USEDEP}] +" +BDEPEND=" + virtual/pkgconfig + test? ( + ${RDEPEND} + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + ) +" + +src_configure() { + export PKGCONFIG_EXE=$(tc-getPKG_CONFIG) +} + +python_test() { + "${EPYTHON}" run_tests.py || die +} diff --git a/dev-python/ipykernel/ipykernel-7.3.0.ebuild b/dev-python/ipykernel/ipykernel-7.3.0.ebuild index ccda91e2553c..92de87d04270 100644 --- a/dev-python/ipykernel/ipykernel-7.3.0.ebuild +++ b/dev-python/ipykernel/ipykernel-7.3.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] diff --git a/dev-python/ipywidgets/ipywidgets-8.1.9.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.9.ebuild index 6b44a44bebef..fae6e31475cb 100644 --- a/dev-python/ipywidgets/ipywidgets-8.1.9.ebuild +++ b/dev-python/ipywidgets/ipywidgets-8.1.9.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" RDEPEND=" >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] diff --git a/dev-python/jc/Manifest b/dev-python/jc/Manifest index d6e3a29bba7a..af7259e5f1cd 100644 --- a/dev-python/jc/Manifest +++ b/dev-python/jc/Manifest @@ -1 +1,2 @@ DIST jc-1.25.7.gh.tar.gz 15380863 BLAKE2B 7005171140989c3b4b9053a663e0e2aee6bc8815a541ab61e04373add275806a22b4c13ac10ce1e5875a221d6b3c8c03aab3d79f2edc1161f15f4cb05dfe82e0 SHA512 2b06e538850f91c57b547272468e6096ef6a64e95206cbdd298296eda90605deda96a64ee63b8648bc9d710927249c1639a8cba9423746db2b8b19c61ed0af1d +DIST jc-1.26.0.gh.tar.gz 15438979 BLAKE2B e1d5f2c611a9a19706b63029c38ec5075bae10aab931df1d8ab4cf7e331b057e4e44d18aa5a82df53bce7cf316be71f201cfef8897bd0002792e5b0d9b9d7d82 SHA512 5c706be2924a048cdcb4778a2ac8db5a2ad1fb8e85e193454b8abe90d48e39e32319f558ec5aad74079fd70e2bae6a980a451d77a751af76dfb56db789460da0 diff --git a/dev-python/jc/jc-1.26.0.ebuild b/dev-python/jc/jc-1.26.0.ebuild new file mode 100644 index 000000000000..e505b0d29422 --- /dev/null +++ b/dev-python/jc/jc-1.26.0.ebuild @@ -0,0 +1,37 @@ +# 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_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Converts the output of popular command-line tools and file-types to JSON" +HOMEPAGE=" + https://github.com/kellyjonbrazil/jc/ + https://pypi.org/project/jc/ +" +# no tests in sdist, as of 1.23.2 +SRC_URI=" + https://github.com/kellyjonbrazil/jc/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + local -x TZ=America/Los_Angeles + eunittest +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 15f7ec15b80a..e0e54135861a 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,2 +1,4 @@ DIST jupyterlab-4.5.10.tar.gz 23998879 BLAKE2B afce3426f0f8ba029e8667e6a487a5fd60c18341f60eb865569fd33845ea8ae76db92bc127c45f203cd3ebc9d819a80dbcd7c03002aa01f462b7af1b8d99bc83 SHA512 9dc87a87e9699e19c71df66a8e6cb699c194467fa8ee6450bab96199fb3188c82f0a18fad860d44433a05426219761db7c546b20ee1dcb9148a095a3ddc68e04 +DIST jupyterlab-4.5.11.tar.gz 24000794 BLAKE2B bfd3c3cfd00eb1aa1a2054580f437f720347cfd35c516f9b9ea608247e190797f82acb832cb40c5eb3f068db31c93a4ef3200dbba959d54ec0d97478e24327d5 SHA512 edc6d81b7cc5c1499ff66e0133858753fd6b594f0f3fa2e7fbccb96ef337538aa5806b3764f6dd2dea82e6c0fa8c8fe88a4a7610ea245cca4ed1405fce277616 DIST jupyterlab-4.6.3.tar.gz 28319771 BLAKE2B e4d4605dec5fef89599b1683700e8204817563ec11cd00592ab82be8e081c5eb8ce0ba654fe1d916e41f25507ab506ce77dd41f8a577f93ab3a5ab141b6ef1ee SHA512 d1105891542042df8448db15de70fdb26637672322760d8912191dd232912277f8345c5b8772070ce9c18d7d27b0ae72e331ed1b8d7b8ebb0ea46ee5222b77e7 +DIST jupyterlab-4.6.4.tar.gz 28335647 BLAKE2B c75b9880375b1f9cd40df57c96512f3763deccab71f468f58004d9600a0d9de65b9d1af2351cc48a754af98ff7e90f3052c053aed0a3edd18a3c53d00f8a1e59 SHA512 731d8a993434464960619f01e74aa4cf3b260d894be7db0fa6b9c29f4c2bf9afb00298999529511716b4d51700ffad630129566373d8102205da91dee047b011 diff --git a/dev-python/jupyterlab/jupyterlab-4.5.11.ebuild b/dev-python/jupyterlab/jupyterlab-4.5.11.ebuild new file mode 100644 index 000000000000..c3f9ae1dbb5d --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.5.11.ebuild @@ -0,0 +1,76 @@ +# 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_{13..14} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/async-lru-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.28.0[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-41.1.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs[npm] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,tornasync,timeout} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyterlab/jupyterlab-4.6.4.ebuild b/dev-python/jupyterlab/jupyterlab-4.6.4.ebuild new file mode 100644 index 000000000000..f9239300293d --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.6.4.ebuild @@ -0,0 +1,77 @@ +# 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_{13..14} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +RDEPEND=" + >=dev-python/async-lru-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.5.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-builder[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.19.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.28.0[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-41.1.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs[npm] +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,tornasync,timeout} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/knowit/Manifest b/dev-python/knowit/Manifest index a9f7b8bd2ff4..0401d16221fb 100644 --- a/dev-python/knowit/Manifest +++ b/dev-python/knowit/Manifest @@ -1,3 +1,3 @@ -DIST knowit-0.5.11.tar.gz 59398 BLAKE2B c7acc010c116a36e4ee6536df2b0d1617451811208ca7fcce69275600c323c83bdbe255932ef9d2b5010335fc04a3f4589aa504cfcc45dcbdc742661b51f51b4 SHA512 b743ebb0b3298e25d42b13296728d5d42c6de0550f3d726a2c1e371d8c17de0a2000e8cc74400a551c9cbf78948b4694b24ab2f7eef0ddb8ddc1447f04b570f5 DIST knowit-0.6.1.tar.gz 59368 BLAKE2B ed9d1a8eb94c1ae09cf6d5bf4d236acee486a6e7d7d8cbf471aff0a3536e91428f6654b081077c5ac9fafc166ba29c70bd916baab4f0ed5d235a085f7445f8f0 SHA512 811796b1d949eb8a2242df8a57ad9cbac7d179c3eeda8bde64344812c1e80e3a41c5a2cc4565db6a7088cc8f5d38a644fb17ebdf7a2ef697c3dc24dee6a78584 +DIST knowit-0.7.0.tar.gz 159721 BLAKE2B 482b8c04ee3fd046cb2f1ca348be1b99b74567088c33a54e8009ee68fff4c48a4b920b34a8fc2100f5ff803c2045b91b36e47edb84b4613379f02332bc21eb19 SHA512 dda94a49c2332606bd23a5241190f527f0ab296bf10d51c487024da70b5d0881ab13779327d51446f8bb2a388dab9327132269d2c10ef9f0d9f8f240bdba1698 DIST matroska_test_w1_1.zip 184550509 BLAKE2B f111725aa08267661942072c2d4ac019d3d322c4e933aad10afb3aa6f69bb3469114c4400d161e53d8a7618b818b22465177460003804a7ac3e69fa4f4db000d SHA512 f170a8e83dab15228f992b3692330163da2402b8e436c7fa195ac1ecc06cf1eaf1a48d8c99a85c031122c158c2d4006023aae75d5b7805385ba25a6d601cb78f diff --git a/dev-python/knowit/knowit-0.5.11.ebuild b/dev-python/knowit/knowit-0.7.0.ebuild index eb761e94fbb8..6e5bb9510b56 100644 --- a/dev-python/knowit/knowit-0.5.11.ebuild +++ b/dev-python/knowit/knowit-0.7.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -DISTUTILS_USE_PEP517=poetry +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 pypi @@ -21,7 +21,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" # https://github.com/ratoaq2/knowit/blob/d7135a4797440838bca94e76326fc9d4019d8f9a/README.md?plain=1#L224 RDEPEND=" @@ -65,7 +65,4 @@ src_prepare() { fi distutils-r1_src_prepare - - # poetry, sigh - sed -i -e 's:\^:>=:' pyproject.toml || die } diff --git a/dev-python/lazy-loader/Manifest b/dev-python/lazy-loader/Manifest index 3f2e9cc49b7e..30ea1edbd233 100644 --- a/dev-python/lazy-loader/Manifest +++ b/dev-python/lazy-loader/Manifest @@ -1,2 +1,4 @@ DIST lazy_loader-0.5.tar.gz 15294 BLAKE2B c3267961095633c82c768c9c20cf81e3a66f6b03fb0b17ee73bd053e1c96fd8d9f5d1faf1ce983b931d9d30137ae8ae01ee027496ed0f19fbdba7c20ebe2d244 SHA512 aca2a7a8901dadc2c20a5e23ae016b466dad541153c0f43ed20b57b375c6dc8279a324ea086ed2468e20655dd567a30f9275da7fd8664f6384296bdb739289b7 DIST lazy_loader-0.5.tar.gz.provenance 9964 BLAKE2B f2d65ac401fc5dd79da42f599332edde7eeb4429d576e1be5a883f81aef1967aebddc44545abf4d530c0cbeefeb8f1576627d9d503474b5ce978739c5787bda0 SHA512 05270858cca0d98599d94d3d085277d4afd466443cd3ab502b958efa1e7cc899d5437b061dceb3d052167111d8a60eea7f65a2988bd15d057b958d175378d299 +DIST lazy_loader-0.6.tar.gz 18438 BLAKE2B b257850cee3728b90c60d491ce1e6086e0e9f8a73260b252efc2b8029c5073dc89dcfd6104e2838238ee9d97363f23a2482a60a603f63917d670fd45da5a0cd6 SHA512 3274ef7695f74cf9cc981ed7776dfd8266f11910247bc9a263537f3744d4fbf00cb64ba1694e92879c5ece2b0832bc6af81803d244fc7b1004d5e4c6d08f6402 +DIST lazy_loader-0.6.tar.gz.provenance 9728 BLAKE2B 02881991d8008360310b1bf3eb601d5b38bb12ac0d5918039eb689ff52af6224fb61b5bd0e6a2b7f4fb1ef014f97933274ffc08fb365b7dbcc5df0959837a09c SHA512 0bb994932ee9a920043fd13396c8f99b74fbf328b502ad349f35723a46f2d3c5ab25359ed2864932eee5a5a69c8fd6392cd5531b281c13de57534a234c2aa79e diff --git a/dev-python/lazy-loader/lazy-loader-0.6.ebuild b/dev-python/lazy-loader/lazy-loader-0.6.ebuild new file mode 100644 index 000000000000..08a044bdb447 --- /dev/null +++ b/dev-python/lazy-loader/lazy-loader-0.6.ebuild @@ -0,0 +1,27 @@ +# 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=https://github.com/scientific-python/lazy-loader +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Populate library namespace without incurring immediate import costs" +HOMEPAGE=" + https://github.com/scientific-python/lazy-loader/ + https://pypi.org/project/lazy-loader/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/libvirt-python/libvirt-python-12.6.0.ebuild b/dev-python/libvirt-python/libvirt-python-12.6.0.ebuild index e7c2af787d5a..9479aae5075c 100644 --- a/dev-python/libvirt-python/libvirt-python-12.6.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-12.6.0.ebuild @@ -23,7 +23,7 @@ else MY_P="${P/-/_}" SRC_URI="https://download.libvirt.org/python/${MY_P}.tar.gz verify-sig? ( https://download.libvirt.org/python/${MY_P}.tar.gz.asc )" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="amd64 ~arm arm64 ppc64 x86" RDEPEND="app-emulation/libvirt:0/${PV}" S="${WORKDIR}/${MY_P}" fi diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index b3483561c984..eae56cfb39b2 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -14,4 +14,6 @@ DIST llvm-project-22.1.8.src.tar.xz 167061596 BLAKE2B 092204f62e0f0364a041c737eb DIST llvm-project-22.1.8.src.tar.xz.sig 119 BLAKE2B 2ce93472036e68782252991e4a8bdbeeec8706a56022220083a38a42ef18714a7894c41aaa04dc0d03f18601d8bfc1a5a030ed0ef0f0d64a662eae9843a4b362 SHA512 99a457b5b1fb409a5fe72b59ebd4ddae5cade3e5f2493e33b44d4f4b4625f7a1743f80106efb1134668842b15ea3400ce2c29263bec8ff986e05040910125e15 DIST llvm-project-23.1.1.src.tar.xz 179168672 BLAKE2B 31d0ad202f4ad38d001baaf638a756508b164229b02a6e41b9689508a33b3a7baecaa10398e20f3661cacb712663fe379eeb94e50e017e40ae546a7e7de8049d SHA512 e51c45f01e95272771bfee8382b213a2e21d3c62e273ff58967cfe40b87f45d2b37a4797b8b83fab025ed7a0ad32adef48406ade2d049da3d7f1799b30edea39 DIST llvm-project-23.1.1.src.tar.xz.sig 466 BLAKE2B fd062ee7b6a59295f1ba558ed35fcf03d9d1a2f716cc710ae1b375c9f673eaaf21a7a503652fefbcc91233c9df279c4521f487539264badd0bf591362657024b SHA512 d2e1101f6f3569cc82630e94d9021aaa47e32636d5b0b7fe90c01a56523e3d772835ad7c2a6f2c1a199ed1624a6f12429b43865d6f41405b73b275483effe581 +DIST llvm-project-23.1.2.src.tar.xz 179200068 BLAKE2B 554cddd2a3e273ba876da7815e5b0b6999319d2d2c0016603def4e31ce064fe119422aca0033ea0ab2e36ea22d46985ea042b891eed60647b119687c19f9b556 SHA512 91174e69ea787034f8a6b17120aae5f139204e13292119d1b066b4930dcea586c76b82228d3db281d8d4211384c7cb74c6b61fdef41b39d310908a8c7cf080cc +DIST llvm-project-23.1.2.src.tar.xz.sig 119 BLAKE2B 20a19a2a584c6298841e20f95bf13e42c5f591f82087abd26f77f1d7f87b575dc661fd8bc72f6a7faad485cf75ff4219fb810fbb3a73b0a5992014157e5094fc SHA512 fe76751211cfb1a56935f0e6fd9536309eb02111acb3f32f4badf7e45e6f0283125cf2ece00baa420afc488667c7e1fbb06f0567aa33ff9459f41281cb25e10c DIST llvm-project-3dcd66d0110335d7d1a5921fd085914b66ffbd3c.tar.gz 317468883 BLAKE2B af57748bf462852a7d09751162e43c52b7d8fa4d1e3e9b021062b11132ad2268b2ddefd0e2d0b2391de1e8120b751fe46a368bc58dce83b8d5e4413716701031 SHA512 678027e165bf444eb522a70b5c52018dba4b41828fa7db353bd1155ec326633adfe64e20e5975b672fc2669c6fd7e0dec0dbd8c63ee89e0393264d9af5ab3090 diff --git a/dev-python/lit/lit-23.1.2.ebuild b/dev-python/lit/lit-23.1.2.ebuild new file mode 100644 index 000000000000..9c6e9718fe19 --- /dev/null +++ b/dev-python/lit/lit-23.1.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 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" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +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() { + 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/multidict/Manifest b/dev-python/multidict/Manifest index aadecdbcf49a..384477c57235 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1,3 +1,4 @@ DIST multidict-6.7.1.gh.tar.gz 120010 BLAKE2B db03d9be850b3d2b042ecaa5484fd692fdb47a626862b57e2b218beeba90ae7b12a5e204bd3fdf20a4a125abf1dffb88c52cfc449c0daa31cfed585a74782a3f SHA512 4009a310dac4732c48cc9654fbd55468dda5a6d18a05ef013ff90b030d3124459620d6d6ae4f85e88ef6cefa0b9bccea1b745f3acbfa0b351eb2c92cc8812b89 DIST multidict-6.8.0.gh.tar.gz 149210 BLAKE2B b8ef7da3fb565110418796c01258a71ba1ae2d8309868193ae6d73cf2c768f759578583c2d4436ca2127618e6a0f45815be259720f5a9f5d732c1968aff3df0b SHA512 1a978331fd0d7deabae84db7710258f5d7956197a2f1b97933fba523631077d732ab42f65e4f43477cc07e60ddd180807b73326ad660e2ba6fd8e9ba5b7f196b DIST multidict-6.9.0.gh.tar.gz 204284 BLAKE2B 797706fffd07a9486d354bf5c51e5e62df511517cf8b979148af2f3f55fc5fc400f800013f0c77a5ea1fc35ce6b24c69b95531d2ffecadecbe3376311a90e81f SHA512 b6d4a7ba2308c1726cde04213fdbd4b7528de2dcbcffe377660a72bed409d6c9321db99983f8ad717eeaa4ba2b1fcd16f5b0bbe038ed8e6b28c42fb971c2a7ff +DIST multidict-6.9.1.gh.tar.gz 214750 BLAKE2B 8962c996894570489321e312ea765d9fb2da84817b465adfbf27195b6e383c9bd1b0cfcd9b93f0a2e2824db7a9de070dd47e0ac2c99164fc4818ec52b24ee1e2 SHA512 b3c14370c98a34c03c8aceec54c3f1784c1e294209db8bc5363c3db7ed2836fa8384e1ffceb959597e646ca275f47eaecc82352608863ba60e4fe69dc2a17e36 diff --git a/dev-python/multidict/multidict-6.9.1.ebuild b/dev-python/multidict/multidict-6.9.1.ebuild new file mode 100644 index 000000000000..de57559badd8 --- /dev/null +++ b/dev-python/multidict/multidict-6.9.1.ebuild @@ -0,0 +1,67 @@ +# 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 +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE=" + https://github.com/aio-libs/multidict/ + https://pypi.org/project/multidict/ +" +SRC_URI=" + https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest + +python_prepare_all() { + # don't enable coverage or other pytest settings + sed -i -e '/cov/d' pytest.ini || die + # don't mangle CFLAGS + sed -i -e 's/^CFLAGS = .*/CFLAGS = []/' setup.py || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then + local -x MULTIDICT_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + tests/isolated + tests/test_multidict_benchmarks.py + tests/test_views_benchmarks.py + ) + + rm -rf multidict || die + + local cext=--c-extensions + if ! use native-extensions || [[ ${EPYTHON} == pypy3* ]]; then + cext=--no-c-extensions + fi + epytest "${cext}" +} diff --git a/dev-python/mypy/mypy-2.3.1.ebuild b/dev-python/mypy/mypy-2.3.1.ebuild index 34fac450c251..553229dd9ab3 100644 --- a/dev-python/mypy/mypy-2.3.1.ebuild +++ b/dev-python/mypy/mypy-2.3.1.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/ndjson/Manifest b/dev-python/ndjson/Manifest new file mode 100644 index 000000000000..29918d06dd37 --- /dev/null +++ b/dev-python/ndjson/Manifest @@ -0,0 +1 @@ +DIST ndjson-0.3.1.tar.gz 8162 BLAKE2B 63b89b2c1a5574c5980709a3d0836c600f6491d56d668f0564ed5510fb87c5b24bc04e4befd0d2f70faf3b6a82f7f1053c6385c7e84cbf37bfaffd3915fbc5ab SHA512 df957be4676e49c6678e2bd15f6223ffd9f986444913fb079457713b4a109887f2fbc9dfade3abb49d31c2e4cc3a6ee1bff79e8bceb03a46e4154ad066c00e48 diff --git a/dev-python/ndjson/metadata.xml b/dev-python/ndjson/metadata.xml new file mode 100644 index 000000000000..608416a5d1b5 --- /dev/null +++ b/dev-python/ndjson/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>shimontrolles@gmail.com</email> + <name>Shimon Trolles</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/ndjson/ndjson-0.3.1.ebuild b/dev-python/ndjson/ndjson-0.3.1.ebuild new file mode 100644 index 000000000000..8a29c72afe54 --- /dev/null +++ b/dev-python/ndjson/ndjson-0.3.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ndjson with the same interface as the builtin json module" +HOMEPAGE="https://github.com/rhgrant10/ndjson" +SRC_URI="https://github.com/rhgrant10/ndjson/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest diff --git a/dev-python/nest-asyncio2/nest-asyncio2-1.7.2.ebuild b/dev-python/nest-asyncio2/nest-asyncio2-1.7.2.ebuild index c3552fe4474d..af1b1dd8769d 100644 --- a/dev-python/nest-asyncio2/nest-asyncio2-1.7.2.ebuild +++ b/dev-python/nest-asyncio2/nest-asyncio2-1.7.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +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 diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 20d7905c2b2e..b1160aeaed03 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,2 +1,4 @@ DIST networkx-3.6.1.tar.gz 2517025 BLAKE2B 4419ae5377fa6d4c4e058e96f481207c6091edc4b2e15c5f1c96d15e1a298b54c99a3f2fc5788469269db703db75b7bcff72fdddc08835a875170fa151b7a574 SHA512 d3ccbdf15b93facf71c8f0f508b85204f77273af1180e885a2bde79631237f7f08a4521a88a52b599b179df94e2b58916cc2ee21be20d893a8d6a0f86d9a3a30 DIST networkx-3.6.1.tar.gz.provenance 9627 BLAKE2B 0a983dd076324896c372504a666dc491cdc0f84280d1d0cd7e26f46d0cd9526310caf1397e40ce547643d1e3df39a3a5144d8de45c44f4e350ad6146119fbfeb SHA512 b0be00d2310d8df60bdaa9554026a8aeb8930f90095bae8c3f5536fe7badee0002370c8ac03aea4f1e53381ab20d9faece5e74744373966cd472a5d6e64d5da8 +DIST networkx-3.7.tar.gz 1866482 BLAKE2B 88f2b875839aabc952483ee009c54b81255f59bfc31b19a698c45c8c410d315a20f742a0d4e73eb9d18ac0adc74e91ad7727bc2a0eea254682ec3182939c75e8 SHA512 a5f3d6b7bc5a41a2996443fcb0b86ca5da9a7c80b29866aa308c2145a574caa95522073db28029e6ba11c8eb1b20e59ddefec460f472d548bdd4ec9ecea36090 +DIST networkx-3.7.tar.gz.provenance 9821 BLAKE2B 123c88effd53ff7074c6899ae0f329fa9a8c1c81afbbe9560e3fd2804d820ff2bee70a3f991934f4ac67e47a2ca82def7512f4621bc8b322f4037f8d3e8c1caa SHA512 69f42356525a109abb037fa634b61c85af6dcc0c8753a7dedb6be53e759def141fda11ced2926dbea1857c386f67e7604802b3e2e9cd966c90da4f283745e5b9 diff --git a/dev-python/networkx/networkx-3.7.ebuild b/dev-python/networkx/networkx-3.7.ebuild new file mode 100644 index 000000000000..513c3fc26ca7 --- /dev/null +++ b/dev-python/networkx/networkx-3.7.ebuild @@ -0,0 +1,60 @@ +# 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=https://github.com/networkx/networkx +PYTHON_FULLY_TESTED=( python3_{12..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE=" + https://networkx.org/ + https://github.com/networkx/networkx/ + https://pypi.org/project/networkx/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/matplotlib-3.10[${PYTHON_USEDEP}] + >=dev-python/numpy-2.2[${PYTHON_USEDEP}] + >=dev-python/scipy-1.15[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + # virtx implies nonfatal + nonfatal epytest || die +} + +src_install() { + distutils-r1_src_install + # those examples use various assets and pre-compressed files + docompress -x /usr/share/doc/${PF}/examples +} + +pkg_postinst() { + optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" + optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" + optfeature "YAML format reading and writing" "dev-python/pyyaml" + optfeature "shapefile format reading and writing" "sci-libs/gdal[python]" + optfeature "GraphML XML format" "dev-python/lxml" +} diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index e2002413febc..294e2822e0c4 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,2 +1,3 @@ DIST notebook-7.5.7.tar.gz 14171612 BLAKE2B 13fc91f63ddd5992e13d2f7b8805e90f940bbcf935ed89270e14e405f6f09dce39d7f5c5e2ba0150d05f5350235af749fe657935addb86281371465bb050aa8f SHA512 e92bfd6fe253e4b3468978c110acb43e98336595ebbfe39a0ed8b421926cb20d3c8f284f76cabd5108f3642d19fe446e79620bc99761b3214fa93301853370b2 DIST notebook-7.6.2.tar.gz 5500147 BLAKE2B ca17943a11b0a82162b736428ea79f7ae6582109c7398b204cad02ce0ae1812d72aa1ab2eba9ed19a5f29b6fb914c6b60b053ad5fa9b9021850df38eb8273911 SHA512 3dddba68f5f46577f19320f58ebc8daa0ad19dd6456af77e06b3c5f139586537f55706a5da0849210f52fc19e21ae3b27e4b0ba594a1e5820febc9d5241a9fe2 +DIST notebook-7.6.3.tar.gz 5501618 BLAKE2B 68401b9b37b48774af3240cb14427ae7d2d01ab1f36e6eeb1b90bb2e2ce650cbc95a917dccafcbde55ce54a486d0e5bc601f85eefd382787acc5a3bf8f1717d6 SHA512 7b8395c5fcee0ce9faf0adb84a52078c4f556380702391880acc0436b1e1dddcb8d531a1dbb81a5950e458d415aaec8c664ef1d1df373665f0ff73576c41021d diff --git a/dev-python/notebook/notebook-7.6.3.ebuild b/dev-python/notebook/notebook-7.6.3.ebuild new file mode 100644 index 000000000000..ce68793f8dcc --- /dev/null +++ b/dev-python/notebook/notebook-7.6.3.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=hatchling +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/notebook/ + https://pypi.org/project/notebook/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +COMMON_DEPEND=" + >=dev-python/jupyter-builder-1.0.2[${PYTHON_USEDEP}] + <dev-python/jupyter-builder-2[${PYTHON_USEDEP}] +" +RDEPEND=" + ${COMMON_DEPEND} + >=dev-python/jupyter-server-2.19.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-4.6.3[${PYTHON_USEDEP}] + <dev-python/jupyterlab-4.7[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.28.0[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + <dev-python/notebook-shim-0.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${COMMON_DEPEND} + >=dev-python/hatch-jupyter-builder-0.5[${PYTHON_USEDEP}] + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{console-scripts,jupyter,timeout,tornasync} ) +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/dev-python/pikepdf/pikepdf-10.12.0.ebuild b/dev-python/pikepdf/pikepdf-10.12.0.ebuild index 7b2b1ba32746..6230ab30ba9d 100644 --- a/dev-python/pikepdf/pikepdf-10.12.0.ebuild +++ b/dev-python/pikepdf/pikepdf-10.12.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~x86" IUSE="big-endian" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 5da0eb92e7ce..53c8d2f9b864 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -2,6 +2,8 @@ DIST platformdirs-4.11.10.tar.gz 39389 BLAKE2B a9c3e5329d40d215d12c6895c5384ba01 DIST platformdirs-4.11.10.tar.gz.provenance 9727 BLAKE2B 68b894e86840f698e0b4fcc0c8738dc49419d4a7412841f56f2f6170071287b8e89add4e7c8e45d4d2a92d4695f07f0bbf7be8f398c7e0abe2322ab3a4d13ee6 SHA512 b807a7850cf218f5fd159f50811b54f745d5739cf2ffe5d9073853023c9a0b1eb8db902e943b68b623538a8debdad2739d5be55ce68d4ee9804275b77f5ad336 DIST platformdirs-4.11.11.tar.gz 39949 BLAKE2B d2859626de4bde78e374803f075f100e2461293a4b51bfea0da514dac248c01e432237cb7af29c106fba723a172567b1408e106657fe98a7c1507636e1bf520e SHA512 79a795a2afcc6f63278ac10f704d4bab22af0dcfe75ceed15cb8edb59a7aede5a0d6fa0c852a1dd805c2fb54963496cd5a1c503efc04e39e08bd4d27d895d29f DIST platformdirs-4.11.11.tar.gz.provenance 9911 BLAKE2B 186d2f4f51ebd4f88a32e16fb55502250179c937a2ca15c893ab0721c8407695b271e06a46b7903e95e229480572d946380e6cbf2a37ad1b26f30a1e5ee67339 SHA512 bb64f31a340a8d6220b837df9d6ccb56b879fa8a55d0716beed4e35516e8844bda9ab95097c9567276526cdb65871f09143cc2f2207d08e4b7b6598bfa10eb09 +DIST platformdirs-4.11.12.tar.gz 40016 BLAKE2B d8f5b81cdde33623e59b21c5309d357e5a8edd80a4dbb2767a3379552e7414678e64aef3b44167c79e514cbc2afb9c1435f3a206bda1af6f02ff4278c0012a7b SHA512 89315faa27605b8f60788d7610c639f6dc8794a7e444c5fe9dfb06da72bb6520e05366da6968f8bcc0384f43d4294abd68f40e7912a1e75a94b09d4f0582dfca +DIST platformdirs-4.11.12.tar.gz.provenance 9617 BLAKE2B fd02ecf2e8bceb5f143d5184e8a242ddcce1b981af46f679de638714096c0e30ba8cc6040e594680a049c9ef5544e324503f95ddc372c885dda7365687a43491 SHA512 7b588b06856b2a61c83bc0607325befb42b95146db61ec34d6620dd07f93a74b07c9e055576271e40f4082383b009317707c39edef8eaa8b10480e62f49c1bfa DIST platformdirs-4.11.3.tar.gz 33050 BLAKE2B c838822e0d5a9391d13fbf240c3006ade7094c2a2ad7c5b9904fce23c48ea9db6e851d04c887a80f37fee3bd0612e010ae58516751c050fb881c8ec6da1ab22e SHA512 0d90ccbb4f75bc2c0eda42223d475c688c59214fd696ff4690abd022322d9883816bc7c33765da8c9a792afc04ab21faa08c69dcbe027f7cbdcb4087e5baa2a1 DIST platformdirs-4.11.3.tar.gz.provenance 9777 BLAKE2B 9b4f683aaab5b99f085f560e4ff21e3a9533b892e974e8e39aef047ee2021ff416ff88af6db98c6fd284ef592a926b425c8b7c05f5cb0f4b8d5c23bb59ac8229 SHA512 97833d43052e8b2c303f204f8291cfb39bc1b399c2ecfbeabe18b54e5d20bb8920c802013fc43060c9e4f2ed7f359c5a5c763dc8cb14e9ba8bc52f328a64fa34 DIST platformdirs-4.11.4.tar.gz 34079 BLAKE2B daf5b088aa61382c1cbcbda0eebb23b9b4e7071472589ee1cc61c04f5386952d1be1b3090198104c4749c09c0fe5fcf8677ddfd31c1f8efe34219ef1a9708b3d SHA512 557782bd9f2af016372e9406a05a55194259303ae63ee90f684595f9a5dfbe0cc8ba11252135ebf31cb5a93bef740487581b4ca852f467ef781287cda15e4a0c diff --git a/dev-python/platformdirs/platformdirs-4.11.12.ebuild b/dev-python/platformdirs/platformdirs-4.11.12.ebuild new file mode 100644 index 000000000000..97987e113428 --- /dev/null +++ b/dev-python/platformdirs/platformdirs-4.11.12.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE=" + https://pypi.org/project/platformdirs/ + https://github.com/tox-dev/platformdirs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/appdirs[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "hatchling' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "${PN}" + version = "${PV}" + description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' + EOF + # sigh + cat > src/platformdirs/version.py <<-EOF || die + __version__ = version = '${PV}' + __version_tuple__ = version_tuple = (${PV//./, }) + EOF +} diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index e4741cdb6723..944ca677736e 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -2,3 +2,5 @@ DIST poetry_core-2.3.2.tar.gz 382768 BLAKE2B 5c43d9b21664e80c4073d9a35648a835300 DIST poetry_core-2.3.2.tar.gz.provenance 9892 BLAKE2B abeb5aabd1d9ad669489c65f431b6798830cc14beda1cd5ada44c14f2ef13981dd3814e8cbda1915429ad76c091cf04f0317fc851a761c27bf24c00ccb8477df SHA512 97877bb92d950dbdc0fd7bd118e95359238ce96b1dce715362ccf459882c4f2bc13af7703db1ba1b5425a0aa1b7c8955192b25cc17af929bcec3c307213040b7 DIST poetry_core-2.4.1.tar.gz 413699 BLAKE2B a4277944756924003e715fdd09e6ae5eddd1510cd0c7282105eeef0f1f9029f2b91e1dcb79fb11bd170f2a24b699f0da34e6b3913f9df17955e16fc341657e00 SHA512 13fbaa062eafa59a3d4ef1dbc681d834bc61e1d3218e908aabc198dea26135a307bc4b34abdb1043d453b9de9755653f1dc261cbd8e508bdce8477cc6ca4ee54 DIST poetry_core-2.4.1.tar.gz.provenance 9524 BLAKE2B 975aedf84fd8e8a88f010d462613131cc1e20b2a7d4a0b99a15c58f2f7fab641b83776fb976b4f91f1f56fbf03aedc23d578eb6909f34c3f228a8033e167305c SHA512 1bd8a0bd785990c214fb51e44e1dd4020b2e799a5ac231c07316b37bcf789fda0fc87da4ca7a79bdf3cba70996ffc796da2f27da3936c010be5eed805f689998 +DIST poetry_core-2.5.0.tar.gz 455721 BLAKE2B 590e5ee56ccf4bc91b966c615e961fe9a2baebf598aa077672e1ada93ec325ed8c962e52d3ba01ff2d47b7716ec936f6c7171c68a21eb4b5c8e0f303d72ba99c SHA512 a6e2b6369ef674566d43df66a23c1ce6b9c9d20ed291742845bf95e8049ca395fccc373ef25871867ebb9ae3ec54d3a33f99e49c1c2c123ce6743653c8a27b09 +DIST poetry_core-2.5.0.tar.gz.provenance 9715 BLAKE2B d95ce0fdff04570bce290536420d046cf9c6611b89fbdfa8d2de0861b28caea0ae2aaa5dac8e65dd8ffe1703276480f224b0f324232db8fd26427765b734f199 SHA512 fcbbedf2c1085f3dab0ed59e85d8b57279a6ed9e1c37133aaddd7f294589eb9e7ee6ab7177be599dc94dcc3bf8c8ed6e59d6eb5cfda61fa8d29beec1295ea586 diff --git a/dev-python/poetry-core/poetry-core-2.5.0.ebuild b/dev-python/poetry-core/poetry-core-2.5.0.ebuild new file mode 100644 index 000000000000..c0150ab5031a --- /dev/null +++ b/dev-python/poetry-core/poetry-core-2.5.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry-core +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Poetry PEP 517 Build Backend" +HOMEPAGE=" + https://github.com/python-poetry/poetry-core/ + https://pypi.org/project/poetry-core/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# check inside vendors/pyproject.toml +# (note that some are indirect deps) +RDEPEND=" + >=dev-python/fastjsonschema-2.21.2[${PYTHON_USEDEP}] + >=dev-python/lark-1.3.1[${PYTHON_USEDEP}] + >=dev-python/packaging-26.2[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.21[${PYTHON_USEDEP}] + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + # remove vendoring of dependencies + rm -r src/poetry/core/_vendor || die + sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die + + distutils-r1_src_prepare +} + +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON} (unported deps)" + return + fi + + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python*t) + EPYTEST_DESELECT+=( + # tests not adjusted for freethreading tags + tests/masonry/builders/test_complete.py::test_wheel_c_extension + tests/masonry/builders/test_wheel.py::test_tag + ) + ;; + esac + + # Poetry expects test to be run inside a git repository, otherwise + # VCS-related logic doesn't get triggered. An empty repository + # suffices, though. + git init || die + + local EPYTEST_PLUGINS=( pytest-mock ) + # NB: xdist breaks test collection + epytest +} diff --git a/dev-python/poetry-plugin-export/Manifest b/dev-python/poetry-plugin-export/Manifest index b27607bb7d6f..83a5a6e6fcca 100644 --- a/dev-python/poetry-plugin-export/Manifest +++ b/dev-python/poetry-plugin-export/Manifest @@ -1,2 +1,4 @@ DIST poetry_plugin_export-1.10.0.tar.gz 36849 BLAKE2B 1fd1214e36c7b7c07a8bac8182f8825a5fe41087e509d2ace24d526362f5c42e706139d4bd561a3ad1cd909dd3b15fdc17efa942fde801e3669a12e284d2ab04 SHA512 0c97dfbdf103f847282c65ee12e257e2a01cc0ddc657336ed0ab92c789eb085e776d5405ece9b462982299b5e13d760e135ac82f85566b31e567565348bec4ca DIST poetry_plugin_export-1.10.0.tar.gz.provenance 9757 BLAKE2B dec402425f0fa6855c9b6ffa41b51d89174f0f0c2a84f2d5e8271b8cdc9b4a2a99da4c8be945e381c01260ad7fcbdb4a1cd6159a3055df4cfad3cd38859cdbbf SHA512 71d177a86b2a36e77fe94d38955193a5e72050bedfe4abebb9939065f979455781908b5a36ae35b073f0694bbe2049594028d9e569e7c1bfff96f006401f18f9 +DIST poetry_plugin_export-1.10.1.tar.gz 36955 BLAKE2B ab9a87008331917d1610f603544aafe90430b34e5ee81b99a66d6b0f463db2cb8762d102b4c32e3ccd2b5451cbe95be5cf3f867b04f5a452d27dd4b99d255428 SHA512 6f8f2adeee7390bb7e5b1b9d228da42095c3c9e88102c3c601c26988b56f68a1956c594c493592cfa2e8302a30faf631e5a758fbb756921463f23d9c2e9aaecb +DIST poetry_plugin_export-1.10.1.tar.gz.provenance 10266 BLAKE2B a35f79d264f91555309142f001848f16062ef4c61bfc77456512070e8a65a663d8387f06aa27fd7ed59a221da5599ec1cbef895d3c6cf776dbe59aa2213d3275 SHA512 fc7a9a92f0fd41532318e056380a28c3efaf6247c9863310bd38b085ce22819c9a7d357d06bac1ee3d2458216f793d7d870b593d87b7138999982b22f92df1f3 diff --git a/dev-python/poetry-plugin-export/poetry-plugin-export-1.10.1.ebuild b/dev-python/poetry-plugin-export/poetry-plugin-export-1.10.1.ebuild new file mode 100644 index 000000000000..a21539ea6863 --- /dev/null +++ b/dev-python/poetry-plugin-export/poetry-plugin-export-1.10.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry-core +PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry-plugin-export +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A plugin that allows the export of locked packages to various formats" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry-plugin-export/ + https://pypi.org/project/poetry-plugin-export/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/poetry-2.5.0[${PYTHON_USEDEP}] + >=dev-python/poetry-core-2.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{mock,xdist} ) +distutils_enable_tests pytest diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 778eedcfbba6..5d1d4a605603 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -4,3 +4,7 @@ DIST poetry-2.4.2.tar.gz 3285341 BLAKE2B f84efd3324be23882146b1ffc533518dc670c9b DIST poetry-2.4.2.tar.gz.provenance 9754 BLAKE2B f964b0d78a7264c444a54f0bd713793b7d627fe24b94bfb8f84924daced1a9e17a96feca9b421bc70d0dc2ed4712547e612c71d30704cfe5725ecf332fbcda56 SHA512 9115dcff2f98710e20ea18d971a3f0efde1c11a86fc7ad79c33b730533570a6be98994d0b8439e7b8d4db5e840460c8aafd15603b9c382c538d7d3588d2f56a9 DIST poetry-2.4.3.tar.gz 3286180 BLAKE2B 60006d703dbf1f5f9598b6a6f563ce4f6e84d5e7082b48f71084197dc827928dde7c5f66676e8a50f9a32a95bdb15644401fd6e73197391033c36f0877158c0c SHA512 858d71dc034c92dc27cdd4f20b64b724eba8fc6903bd4743145c8855fae64fdca19af41ba852e4f89597ddcfb950eea9761d545380d5ff856430f3a9aa1e48cd DIST poetry-2.4.3.tar.gz.provenance 9848 BLAKE2B 500ab2555c8280dd274b5372289d9c27d9b022321b73d47914d43d90621650eee2e5b6b71be652d7425acbf509d464e8e7ba1c079fbfa0d0a30e16b99a5bcba2 SHA512 e3dce058b82506fe5eab3d3b46db4e6232830ee33f8d5cfe1d5740646d17ee2244dc6d43eed5fead3eaa9bc1d9ba466b9d5a4219c144e45cfb9e75f7cb43d533 +DIST poetry-2.5.0.tar.gz 3321826 BLAKE2B 9382210cece879ab652f403a4e897a92d88df72ba69436a4879cb76fe4547e8883f727163aa5b4fdd003d1881faef6e5977bdce7d61ff468a13866b6e34bbf7d SHA512 7d530a8871701f909aa8e48942acc4cf564e5b3d2802c8816c75798a15f39c69b6cbabc8e292a5568381605f83564478474856aa59016bc684a997a78abbbbc5 +DIST poetry-2.5.0.tar.gz.provenance 9660 BLAKE2B c6dab12003133b9747239783b9096080ed788f3c50fe8c9504e1f36848c8c8d32cc8fe36ba357223acb8b76512530af2a1819179cea1f11ccee679405cd89616 SHA512 2874e8e3bd5bfc5903008e91a3f40103d93cd1fa80ea2bf53c8be2cd0c99a8f1e90fa6b825cedb23519cb706713818e9aba898df87144b7225f7928a7595f6f1 +DIST poetry-2.5.1.tar.gz 3322124 BLAKE2B 9df74480bfd224ff382d6252adc8c3ec84776b9fbe1f81397bb1920250b85d14caf3ddd2f481f653fa55cd03cd78648b4a3246a176ac5e40e492efb12586517f SHA512 dfd02ae68d40ab4dc514736e193e48c3a4958e220f9e0d763d05f6820277dc99d9f84c4426dbb8589e460acb8c6598c008f50b9627442363bbe6a0b29f1b95dc +DIST poetry-2.5.1.tar.gz.provenance 9719 BLAKE2B 4b99eee0479e09f5f668a1186ada9230c59ef13430c08ce241fb6cc3a84f113babe553bfeb9520f1dcd85f4edac94a92a4bb98d66ccd8335cacccd4b6e28dae3 SHA512 b3d4a43c3c507aee435806c55cb54d5f9ed902c05492fe1b7e5a9c6616c0758826b9d77fc595a4f2f78be2096dbaa10361185f298d51993a4768a026c38530b0 diff --git a/dev-python/poetry/poetry-2.5.0.ebuild b/dev-python/poetry/poetry-2.5.0.ebuild new file mode 100644 index 000000000000..fe0ad863e7bf --- /dev/null +++ b/dev-python/poetry/poetry-2.5.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry-core +PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry/ + https://pypi.org/project/poetry/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + =dev-python/poetry-core-$(ver_cut 1-2)*[${PYTHON_USEDEP}] + >=dev-python/build-1.2.1[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.25.0[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.06.10[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.12[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.26.6[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,xdist} ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internal test for lockfile being up-to-date + # Meaningless, also sdist does not include lockfile + tests/installation/test_installer.py::test_not_fresh_lock + + # broken if poetry-plugin-export is installed + 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' + + # unhappy with system Python liking 'linux' tag more? + tests/installation/test_chef.py::test_prepare_directory_with_extensions +) + +src_prepare() { + # unpin + sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die + + distutils-r1_src_prepare +} + +python_test() { + epytest -m "not network" +} diff --git a/dev-python/poetry/poetry-2.5.1.ebuild b/dev-python/poetry/poetry-2.5.1.ebuild new file mode 100644 index 000000000000..fe0ad863e7bf --- /dev/null +++ b/dev-python/poetry/poetry-2.5.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry-core +PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry/ + https://pypi.org/project/poetry/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + =dev-python/poetry-core-$(ver_cut 1-2)*[${PYTHON_USEDEP}] + >=dev-python/build-1.2.1[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.25.0[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.06.10[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.12[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.26.6[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,xdist} ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internal test for lockfile being up-to-date + # Meaningless, also sdist does not include lockfile + tests/installation/test_installer.py::test_not_fresh_lock + + # broken if poetry-plugin-export is installed + 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' + + # unhappy with system Python liking 'linux' tag more? + tests/installation/test_chef.py::test_prepare_directory_with_extensions +) + +src_prepare() { + # unpin + sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die + + distutils-r1_src_prepare +} + +python_test() { + epytest -m "not network" +} diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest index 4f93de6edd9f..93996c5dbc2e 100644 --- a/dev-python/portalocker/Manifest +++ b/dev-python/portalocker/Manifest @@ -1,3 +1,3 @@ -DIST portalocker-4.1.0.gh.tar.gz 140338 BLAKE2B a6011fad4f9b2d4b7a870f502611d6c46b1a766eb3ae28b263da2999ec60d022293880d18da2e81185b660929fbb37e29a0e85ed3726bd04667bdd856e40ffe2 SHA512 1a6ba3cb1dc782829979fb4f0ac900d86a11d1ecc4a90b0f29b7d16a0775cc12918d349c7ff2fff2e05488045e61daa9adf3a407b771f9e134ecd1aeb3e86218 DIST portalocker-4.2.0.gh.tar.gz 309989 BLAKE2B aa9c437ed180651e0e3ab07af736f12c8eedf7b962845e6affd13295e56609378fad41f4d0aa7b1170aa2dcde81ea9ecad43c73ef024102812b0729de2188ebe SHA512 f4bc04666a4640ca4d7a871a16b0000eceda18ebe3a8606e06ba8f5a74dfd869783467efdc1c058bcfe2b2f8b073ce518c387a6fa1a03c881829e22b57985bb6 DIST portalocker-4.3.2.gh.tar.gz 304218 BLAKE2B ca36b16fc0fecc659a8e408bc4238a40b74085508836dc3e24e9919ea6d1b25aea0b41055b459fd1693085f2a597dd3f0a12cecd645a3780ea683ea941eecd7e SHA512 92bc28b6476f0cbd09ad8454e857978b4aed16d25bf9ed7f2472ff37916ae8101a462ea63692a615c1f414c9af64e7a29dc2eb26c80b9e59885350eb71bf7f81 +DIST portalocker-4.4.0.gh.tar.gz 307397 BLAKE2B 2d1b6d2730aa9924b6f6e8cf79628b6d3fdc2795809c81690a7721cb6e51e40c375d4eab8df217120f129b00fc749e2b3be521bd114eb836bf30316d97bcde51 SHA512 b081870124affda5dc06393ef881208c2b08117f1c21d9036978ad6a2ee57c045ff235a2039b52841e235e4186e3fa84fad55783d5814dc0b75d9226922aa1f4 diff --git a/dev-python/portalocker/portalocker-4.1.0.ebuild b/dev-python/portalocker/portalocker-4.4.0.ebuild index 4afb1572868e..b3a42ce7d36d 100644 --- a/dev-python/portalocker/portalocker-4.1.0.ebuild +++ b/dev-python/portalocker/portalocker-4.4.0.ebuild @@ -21,13 +21,14 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" BDEPEND=" test? ( >=dev-python/fakeredis-2.31.0[${PYTHON_USEDEP}] dev-python/redis[${PYTHON_USEDEP}] >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] ) " diff --git a/dev-python/proxy-py/Manifest b/dev-python/proxy-py/Manifest new file mode 100644 index 000000000000..389ecf565a8e --- /dev/null +++ b/dev-python/proxy-py/Manifest @@ -0,0 +1 @@ +DIST proxy-py-2.4.10.tar.gz 2250608 BLAKE2B 47dd53aa9c990652ef80f9a0ef5320f79dff1f0b0c8251381329036c8404d020b1acc7bb39d2509f98943c4a0a4fe79058447aa5a0ef4e289665353abcb666a8 SHA512 14804cf35bc317f3e0b17379b494e32cfc29ae79fcf7c917d6b2344d5de8147aa072b5232d5566ebeff151cfed23f227c9e94dbe69d9ce328782a41f9fd522e7 diff --git a/dev-python/proxy-py/metadata.xml b/dev-python/proxy-py/metadata.xml new file mode 100644 index 000000000000..42d7a2f113dd --- /dev/null +++ b/dev-python/proxy-py/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Pavel Sobolev</name> + <email>contact@paveloom.dev</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/abhinavsingh/proxy.py/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/proxy-py/proxy-py-2.4.10.ebuild b/dev-python/proxy-py/proxy-py-2.4.10.ebuild new file mode 100644 index 000000000000..e17ed304c023 --- /dev/null +++ b/dev-python/proxy-py/proxy-py-2.4.10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Python proxy framework" +HOMEPAGE="https://github.com/abhinavsingh/proxy.py" +SRC_URI="https://github.com/abhinavsingh/proxy.py/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/proxy.py-${PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/httpx[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + sed -e '/--cov/d' \ + -e '/--no-cov-on-fail/d' \ + -e '/--strict-markers/d' \ + -e '/-p pytest_cov/d' \ + -i pytest.ini || die + + sed -e 's/proxy = p/proxy-py = p/' \ + -i setup.cfg || die + + distutils-r1_python_prepare_all +} + +EPYTEST_DESELECT=( + tests/http/proxy/test_http2.py::TestHttp2WithProxy::test_http2_via_proxy + tests/http/proxy/test_http_proxy.py::TestHttpProxyPlugin::test_proxy_plugin_before_upstream_connection_can_teardown + tests/http/proxy/test_http_proxy.py::TestHttpProxyPlugin::test_proxy_plugin_on_and_before_upstream_connection + tests/http/test_client.py::TestClient::test_client + tests/http/test_client.py::TestClient::test_http + tests/http/web/test_web_server.py::TestStaticWebServerPlugin::test_static_web_server_serves + tests/http/web/test_web_server.py::TestStaticWebServerPlugin::test_static_web_server_serves_404 + tests/http/web/test_web_server.py::TestWebServerPlugin::test_default_web_server_returns_404 + tests/http/web/test_web_server.py::TestWebServerPluginWithPacFilePlugin::test_pac_file_served_from_disk + tests/integration/test_integration.py::test_https_integration + tests/integration/test_integration.py::test_integration + tests/integration/test_integration.py::test_modify_chunk_response_integration + tests/integration/test_integration.py::test_modify_post_response_integration + tests/plugin/test_http_proxy_plugins_with_tls_interception.py::TestHttpProxyPluginExamplesWithTlsInterception::test_man_in_the_middle_plugin + tests/plugin/test_http_proxy_plugins_with_tls_interception.py::TestHttpProxyPluginExamplesWithTlsInterception::test_modify_post_data_plugin + tests/test_grout.py::TestGrout::test_grout + tests/test_main.py::TestProxyContextManager::test_proxy_context_manager +) + +EPYTEST_IGNORE=( + tests/http/exceptions/test_http_proxy_auth_failed.py + tests/http/test_protocol_handler.py + tests/plugin/test_http_proxy_plugins.py +) + +EPYTEST_PLUGINS=( pytest-asyncio pytest-mock ) +distutils_enable_tests pytest diff --git a/dev-python/pyparsing/Manifest b/dev-python/pyparsing/Manifest index 6a8bac789dfe..e6d56fa58a54 100644 --- a/dev-python/pyparsing/Manifest +++ b/dev-python/pyparsing/Manifest @@ -1 +1,2 @@ DIST pyparsing-3.3.2.tar.gz 6851574 BLAKE2B ca0731c67790c706c9d3d7e7e6b60ae54d0698bba12b09c880de23f3dd40862b1a0e9d9a6ab50af4c202e2177f7e3c5465297e1ef65bac597bb933e83b0484df SHA512 2c09c22004b7882e1364e6c5b675998d1fd03d1053148e06bab46a6135277fec0281875ec060f07f2b4cb8d46f092adcb4166a5193f587f45c853187b96b57cc +DIST pyparsing-3.3.3.tar.gz 1050487 BLAKE2B 8fb3707351e45a4e1976ac144ce5a3f9180e496cdac8c797eaccb7c6ecfff8b928c1efa17e9152c8fa87ff67fbbf7bc1cb47edfc9407ed2b599b06a84837012f SHA512 1c47c6a0ff3713431e606972c28964adab2439b7df687399c32f702713f77740d83730c729ef596d035a0a1582b88a3ff2fbd7cfeb48527861f5cf37b4acef69 diff --git a/dev-python/pyparsing/pyparsing-3.3.3.ebuild b/dev-python/pyparsing/pyparsing-3.3.3.ebuild new file mode 100644 index 000000000000..b75b62761f10 --- /dev/null +++ b/dev-python/pyparsing/pyparsing-3.3.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 2004-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 +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easy-to-use Python module for text parsing" +HOMEPAGE=" + https://github.com/pyparsing/pyparsing/ + https://pypi.org/project/pyparsing/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="examples" + +EPYTEST_PLUGINS=() +# tests unstable with xdist +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # railroad-diagrams not packaged (and not suitable for packaging yet) + tests/test_diagram.py + ) + local EPYTEST_DESELECT=( + # also railroad-diagrams + tests/test_examples.py::TestExamples::test_range_check + tests/test_examples.py::TestExamples::test_rosettacode + tests/test_unit.py::Test02_WithoutPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test04_WithPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test06_WithBoundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test08_WithUnboundedPackrat::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test09_WithLeftRecursionParsing::testEmptyExpressionsAreHandledProperly + tests/test_unit.py::Test10_WithLeftRecursionParsingBoundedMemo::testEmptyExpressionsAreHandledProperly + ) + + if ! has_version "dev-python/matplotlib[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_matplotlib_cases.py + ) + fi + + epytest +} + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/pypiserver/Manifest b/dev-python/pypiserver/Manifest index 7c27ebbbd8e8..b0138a2d008e 100644 --- a/dev-python/pypiserver/Manifest +++ b/dev-python/pypiserver/Manifest @@ -1 +1,2 @@ DIST pypiserver-2.4.1.gh.tar.gz 157182 BLAKE2B 37d8898360070465f90f706401d94cc73502d8aefef8867281b52de527a162595b6707a862bf5bbaeba55c7c112cc04b8ec2d75fccc85a712cd10664288299a5 SHA512 11e1d224f5a001748e41e766431228af69f449562af70294194561b9f567da66a7f94a29ca107e1eb919694ad5d7a4325ed85c785885991bacaf705d63e7542a +DIST pypiserver-2.4.2.gh.tar.gz 243167 BLAKE2B 2cc1fcefc1e3cda41cdca60f6dfce521e18d7ea47a1aaa54c725dd9b34e81f3270be86c282176662bca49f12fd2b0c22dbdf5bbd00daf4b8c9b39500bfd120bf SHA512 3e9f6bab9d8d8c4fab4f4a6c5c043380cad814f90fd270fc5f59e2d2a6ad11c1a012db6fce303916956d4a8207692af5866c2b28245e215ed0ec09798bbd9eb3 diff --git a/dev-python/pypiserver/pypiserver-2.4.2.ebuild b/dev-python/pypiserver/pypiserver-2.4.2.ebuild new file mode 100644 index 000000000000..30382504928e --- /dev/null +++ b/dev-python/pypiserver/pypiserver-2.4.2.ebuild @@ -0,0 +1,77 @@ +# 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_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Minimal PyPI server" +HOMEPAGE=" + https://github.com/pypiserver/pypiserver/ + https://pypi.org/project/pypiserver/ +" +SRC_URI=" + https://github.com/pypiserver/pypiserver/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/bottle[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + >=dev-python/packaging-26.0[${PYTHON_USEDEP}] + >=dev-python/pip-26.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/legacy-cgi[${PYTHON_USEDEP}] + ' 3.{14..15}) +" +# NB: many test deps are optional/specific to tests we skip +BDEPEND=" + dev-python/setuptools-git[${PYTHON_USEDEP}] + test? ( + >=dev-python/build-1.2.0[${PYTHON_USEDEP}] + >=dev-python/libpass-1.6[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.md ) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unbundle bottle + sed -e 's:pypiserver[.]bottle_wrapper[.]::' \ + -i pypiserver/bottle_wrapper/__init__.py || die + rm pypiserver/bottle_wrapper/bottle.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_server.py::test_hash_algos + tests/test_server.py::test_pip_install_open_succeeds + tests/test_server.py::test_pip_install_authed_succeeds + # seems to rely on internal bottle details + tests/test_main.py::test_auto_servers + ) + + if ! has_version "dev-python/twine[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_server.py::test_twine_upload + tests/test_server.py::test_twine_register + ) + fi + + epytest tests +} diff --git a/dev-python/pypy-exe-bin/Manifest b/dev-python/pypy-exe-bin/Manifest index ebec4d80cedc..e1e0ed41edcc 100644 --- a/dev-python/pypy-exe-bin/Manifest +++ b/dev-python/pypy-exe-bin/Manifest @@ -6,3 +6,11 @@ DIST pypy-exe-7.3.23-1.ppc64le-musl.gpkg.tar 6922240 BLAKE2B c6d97629864e0543b45 DIST pypy-exe-7.3.23-1.ppc64le.gpkg.tar 11550720 BLAKE2B 46b84e31458a4e569696a7c8989201b9e729f29eabc43e653a296a84288b489e1ff92ab4f592e34c71efd3a2040831d63c9bff987bb2ffd300caa9e090163eb5 SHA512 3cea489a220f750b6788e57f8eaa0d5067736321b3213dbfc01cbc443f471a85224037fef9aee81cf6c9ba064e1760c4b12afe2fe1e6134c4696b0ae8b104176 DIST pypy-exe-7.3.23-1.x86-musl.gpkg.tar 10137600 BLAKE2B 22b348d4694a9690e676bfc07317c8cb63db6b22f1eaabb467921ae650672939d21a42b67587b5fde89a50072115b875ea75fce680f6c0b71cd26f921acad464 SHA512 95b7625e6d4c3ac13de60c8e30a1ac00e58aa505ad486cdf126ed9a448640015f776611418d3b9dc7368b3794c54c06ac710e97129a61dc7684cbea8fdaa0b32 DIST pypy-exe-7.3.23-1.x86.gpkg.tar 10137600 BLAKE2B 81fc75f12ff2d622e127fc4319f7349fae74786605395e7e0fee751dbeb163e44ffc378bcf9f057207527e422f0460336bdddac131e0db2f34b7b81824392e19 SHA512 8f3d3f2eb340d82014e3c23fef1bad84c9e6e9dbd5ddf5279c3db58a984a3be4c79a71f4fd7131ae654c5521f6abfa7cead3b3445d9a76b66f09f8801555bf70 +DIST pypy-exe-8.0.0-1.amd64-musl.gpkg.tar 10854400 BLAKE2B 99df7d630895cc82e4d10225702dcc778dc03475357ad6fab855cab1083fd5b6ce43e023e95abef59fe43228e4a3c829e7c2f1e9af67bd4a710d3ffab8ed8f76 SHA512 da3dbd88c523066273d2dcd6417400e162849a415808f9b8aad88f5f006307d92d7136e41243a6b4c3b3a2e23b2d3dee64c4f74a128702e2dd2dd604c6c64d86 +DIST pypy-exe-8.0.0-1.amd64.gpkg.tar 10854400 BLAKE2B bb225c3f1117312741c423b987e3605804672f9dddbd5750061ef2bd077e8f95daa36633dbf27d3e36e82db46d96763fbbbb68004e66249fc9a43558ecbfd3a5 SHA512 fe56c409718a354e372ec66930d0e5be72462744f41eaf65e200713ecf67e2d1f42d56e585c619fd8e95f5dc71d081f5e2a0775dab395350a5ef29452e71b591 +DIST pypy-exe-8.0.0-1.arm64-musl.gpkg.tar 9369600 BLAKE2B 6f12f870e032817f0a727fdf60c0fc97800af612f9fe9df0f96047f3510d744e648a8b21c62bc85da2ae6134505a1494dd81d966424b5b0013cc430c4b8a7ce0 SHA512 cf3f39031fea06653eac919fe99f6b2dcd3709fedb080ef6e12e42fdefe541546f7355a7035d033c83f5d4ea742e4fdd9f8fc0855c6469b7432a6e5f1dacc622 +DIST pypy-exe-8.0.0-1.arm64.gpkg.tar 9420800 BLAKE2B 8b471ff5604c1ec61df9ec552744ad4b520e43ab2aeba6479b629d0c383a00a17e3c59d7e0f74a0e440dd471e22c7743f1935c86a40c29a9ac24423582cd4954 SHA512 4f55221c61eb024d7ef6546651c82d8fc69d216c4a16b53162db88f7d449c777e457882fe7fb75aa6d3fc92a05042cd5ff1a7fc149cac23ab05056d3e92a02be +DIST pypy-exe-8.0.0-1.ppc64le-musl.gpkg.tar 5672960 BLAKE2B c9f57455f9aea57ae8efe2e0f6c6cc5790944a0569b9dd1e06cb18b29ae705bedf43c5fdfe29b1f16cc5344dee6ee58f5547867c266c18a1aa7000678f0dda01 SHA512 3dfd6684201673708e5d600522656a29a49911a08d879dee46b779141be595f01d1ea27ef502b5af98fbc278e023e692929d433a67a2eae3411b92e9bcd1e41c +DIST pypy-exe-8.0.0-1.ppc64le.gpkg.tar 9615360 BLAKE2B 3282b7304d54f01de993b14e78c9d20c8954a78e6b8bdf4d2468d4b0c4e090a26e692de331af26911b0a3bb84e86420c7fb15e1e66fc52fd59f03a9d79deea40 SHA512 cb6cbc871e7797f75acb3b21e5ec7bd4e1a5e1cef20630b7b84d7ff74fcf6c4d647ec1981dd34a0600c2da93c2337cc6fd3d2479f837f500403f1e6dee11e877 +DIST pypy-exe-8.0.0-1.x86-musl.gpkg.tar 8478720 BLAKE2B 533e88066fbf8c76622d0c612f947707503a22f24026999615f656421007a287b1e28c4da1d225554fcfeac14727db9566768c1f5b1ed584a6355a356fe957e2 SHA512 fe414ed9064fe4af9fa7429aad32b08ce453b37d736f77702559ad9e92f51c300f99b958ecd8ea1ecbd665197c180d80dfcb0df35ea7704ccfb127fa958e0a58 +DIST pypy-exe-8.0.0-1.x86.gpkg.tar 8437760 BLAKE2B 197025df8005cb665234b10dbe0e3fdb25d14f94932449cb7e0dbd31b1ef31f89a537e8a96ea2a1d85b4674c6a12db383b401dc8005052360cd142b3caf390b3 SHA512 d9fde9053828fd68581c1d198a735c2eaea599ed0fbbf87e2e1aa8cd00eb01963f375cd55cf1589a2cafd335e43a0a325c0568b4c543e9df2554d24f3a010587 diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-8.0.0.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-8.0.0.ebuild new file mode 100644 index 000000000000..3efe4577874e --- /dev/null +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-8.0.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pax-utils unpacker + +MY_P=pypy-exe-${PV}-1 +DESCRIPTION="PyPy executable (pre-built version)" +HOMEPAGE=" + https://pypy.org/ + https://github.com/pypy/pypy/ +" +SRC_URI=" + elibc_glibc? ( + amd64? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/amd64/pypy-exe/${MY_P}.amd64.gpkg.tar + ) + arm64? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/arm64/pypy-exe/${MY_P}.arm64.gpkg.tar + ) + ppc64? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/ppc64le/pypy-exe/${MY_P}.ppc64le.gpkg.tar + ) + x86? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/x86/pypy-exe/${MY_P}.x86.gpkg.tar + ) + ) + elibc_musl? ( + amd64? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/amd64-musl/pypy-exe/${MY_P}.amd64-musl.gpkg.tar + ) + arm64? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/arm64-musl/pypy-exe/${MY_P}.arm64-musl.gpkg.tar + ) + ppc64? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/ppc64le-musl/pypy-exe/${MY_P}.ppc64le-musl.gpkg.tar + ) + x86? ( + https://distfiles.gentoo.org/pub/proj/python/binpkg/x86-musl/pypy-exe/${MY_P}.x86-musl.gpkg.tar + ) + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="${PV%_p*}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +# sys-devel/gcc for libgcc_s.so +RDEPEND=" + app-arch/bzip2:0/1 + dev-libs/expat:0/0 + dev-libs/libffi:0/8 + sys-libs/ncurses:0/6 + >=virtual/zlib-1.1.3:0/1 + virtual/libintl:0/0 + elibc_glibc? ( + sys-devel/gcc + >=sys-libs/glibc-2.35 + ) + !dev-python/pypy-exe:${SLOT} +" + +QA_PREBUILT=" + usr/lib/pypy2.7/pypy-c-${SLOT} +" + +src_install() { + insinto / + doins -r */image/usr + fperms +x "/usr/lib/pypy2.7/pypy-c-${SLOT}" + pax-mark m "${ED}/usr/lib/pypy2.7/pypy-c-${SLOT}" +} diff --git a/dev-python/pypy-exe/Manifest b/dev-python/pypy-exe/Manifest index 156812a602b7..d7b6e227312e 100644 --- a/dev-python/pypy-exe/Manifest +++ b/dev-python/pypy-exe/Manifest @@ -1,2 +1,4 @@ DIST pypy2.7-gentoo-patches-7.3.23.tar.xz 5316 BLAKE2B 923494c49ef09b1929ba1986891a08f23e4343c44eac792a688ac88b48d21770101ca50fcdf3986c686adefb24fbf58aef674ec608feea775984ab8a16385cb6 SHA512 c1d07caef19b77cb4950d56c1de8079900fc21728061f8620210932d2cd85f701407ce7b9947d2ef044211d1ffe8b77ce445da3c5aef69321b45e7ab8550dee3 +DIST pypy2.7-gentoo-patches-8.0.0.tar.xz 988 BLAKE2B 6bd236da38a45c50891758f6446fa70c81358141b8904062d2d1e27a7a938ee970c592108a081c8e9c83c869415b235e0202eae93ccf8d050866567976ed1fcd SHA512 a365d070448374777e7b2a7f5f7226e7ade89fd427c44b01f1cd8acaa215095de91a85321f9ca8283d04ed1d9aeaa5d191f5b2e33e44a831e38912d56a7a970e DIST pypy2.7-v7.3.23-src.tar.bz2 21023543 BLAKE2B 7638e5aecd30d9c2c9ab22b1ab9a43331685885ee90ebfda8d2a88da34e4b0b998bd967eed30b309110b9d40b14df75f24a7e9219c7383b542602869ee1a12d9 SHA512 3750fc9c5309baa7627d00a77b4b2b1e0d755b75841acd0fcee484bc332f1e9ed9c1f33d2f4800777f20ea8849356f39c84167f96b9ebfdd7e479798d62eac06 +DIST pypy2.7-v8.0.0-src.tar.gz 21312909 BLAKE2B 5ee9800c5399b1af82fde2f729fc63f6523e345b070176c4c13c9bd2cc0537baa6d04875042d4bd96ecec0c3bc5e8e79c08add1443b9c99ae40d396b91178ef7 SHA512 e0ae52034b5e03d413c47e1ddd9a7bde3549c70b4519c1630367c314ebce58638af78d5936c89943de1907477eb4bec8c149d850836991af14a50c9e643dfa63 diff --git a/dev-python/pypy-exe/pypy-exe-8.0.0.ebuild b/dev-python/pypy-exe/pypy-exe-8.0.0.ebuild new file mode 100644 index 000000000000..77ba4bc812df --- /dev/null +++ b/dev-python/pypy-exe/pypy-exe-8.0.0.ebuild @@ -0,0 +1,188 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs pax-utils toolchain-funcs + +PYVER=2.7 +PYPY_PV=${PV%_p*} + +MY_P=pypy${PYVER}-v${PYPY_PV/_} +PATCHSET="pypy${PYVER}-gentoo-patches-${PV/_}" + +DESCRIPTION="PyPy executable (build from source)" +HOMEPAGE=" + https://pypy.org/ + https://github.com/pypy/pypy/ +" +SRC_URI=" + https://downloads.python.org/pypy/${MY_P}-src.tar.gz + https://distfiles.gentoo.org/pub/proj/python/patchsets/pypy${PYVER}/${PATCHSET}.tar.xz +" +S="${WORKDIR}/${MY_P}-src" + +LICENSE="MIT" +SLOT="${PYPY_PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" + +DEPEND=" + >=virtual/zlib-1.1.3:= + dev-libs/libffi:0= + virtual/libintl:0= + dev-libs/expat:0= + bzip2? ( app-arch/bzip2:0= ) + ncurses? ( sys-libs/ncurses:0= ) +" +RDEPEND=" + ${DEPEND} + !dev-python/pypy-exe-bin:${PYPY_PV} +" +# don't enforce the dep on dev-python/pypy with USE=low-memory +# since it's going to cause circular dep with unhelpful error message +BDEPEND=" + !low-memory? ( + || ( + dev-lang/pypy:2.7 + dev-python/pypy + dev-lang/python:2.7 + ) + ) +" + +check_env() { + if ! has_version -b dev-lang/pypy:2.7 && + ! has_version -b dev-python/pypy + then + if use low-memory; then + eerror "USE=low-memory requires (a prior version of) dev-python/pypy" + eerror "installed." + else + ewarn "CPython 2.7 will be used to perform the translation. Upstream" + ewarn "recommends using (a prior version of) dev-python/pypy instead." + fi + elog "You can install a prebuilt version of PyPy first using e.g.:" + elog " $ emerge -1v dev-python/pypy dev-python/pypy-exe-bin" + + if use low-memory; then + die "dev-python/pypy needs to be installed for USE=low-memory" + fi + fi + + if use low-memory; then + CHECKREQS_MEMORY="1750M" + use amd64 && CHECKREQS_MEMORY="3500M" + else + CHECKREQS_MEMORY="3G" + use amd64 && CHECKREQS_MEMORY="6G" + fi + + check-reqs_pkg_pretend +} + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && check_env +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + default +} + +src_configure() { + tc-export CC + + local jit_backend + if use jit; then + jit_backend='--jit-backend=' + + # We only need the explicit sse2 switch for x86. + # On other arches we can rely on autodetection which uses + # compiler macros. Plus, --jit-backend= doesn't accept all + # the modern values... + + if use x86; then + if use cpu_flags_x86_sse2; then + jit_backend+=x86 + else + jit_backend+=x86-without-sse2 + fi + else + jit_backend+=auto + fi + fi + + local args=( + --no-shared + $(usex jit -Ojit -O2) + + ${jit_backend} + + pypy/goal/targetpypystandalone + ) + + # Avoid linking against libraries disabled by use flags + local opts=( + bzip2:bz2 + ncurses:_minimal_curses + ) + + local opt + for opt in "${opts[@]}"; do + local flag=${opt%:*} + local mod=${opt#*:} + + args+=( + $(usex ${flag} --withmod --withoutmod)-${mod} + ) + done + + local interp + if use low-memory || + has_version -b dev-lang/pypy:2.7 || + has_version -b dev-python/pypy + then + einfo "Using already-installed PyPy to perform the translation." + interp=( pypy ) + if use low-memory; then + local -x PYPY_GC_MAX_DELTA=200MB + interp+=( --jit loop_longevity=300 ) + fi + else + einfo "Using CPython 2.7 to perform the translation." + interp=( python2.7 ) + + # reuse bundled pycparser to avoid external dep + mkdir -p "${T}"/pymod/cffi || die + : > "${T}"/pymod/cffi/__init__.py || die + cp -r lib_pypy/cffi/_pycparser "${T}"/pymod/cffi/ || die + local -x PYTHONPATH=${T}/pymod:${PYTHONPATH} + fi + + # translate into the C sources + # we're going to build them ourselves since otherwise pypy does not + # free up the unneeded memory before spawning the compiler + set -- "${interp[@]}" rpython/bin/rpython --batch --source "${args[@]}" + echo -e "\033[1m${@}\033[0m" + "${@}" || die "translation failed" +} + +src_compile() { + emake -C "${T}"/usession*-0/testing_1 +} + +src_install() { + local dest=/usr/lib/pypy${PYVER} + exeinto "${dest}" + newexe "${T}"/usession*-0/testing_1/pypy-c pypy-c-${PYPY_PV} + insinto "${dest}"/include/${PYPY_PV} + doins include/pypy_* + pax-mark m "${ED}${dest}/pypy-c-${PYPY_PV}" +} diff --git a/dev-python/pyside/pyside-6.11.2.ebuild b/dev-python/pyside/pyside-6.11.2.ebuild index 2132d844785e..d0e0ec41c849 100644 --- a/dev-python/pyside/pyside-6.11.2.ebuild +++ b/dev-python/pyside/pyside-6.11.2.ebuild @@ -32,7 +32,7 @@ if [[ ${PV} == *.9999 ]]; then else SRC_URI="https://download.qt.io/official_releases/QtForPython/${PN}6/PySide6-${PV}-src/${MY_P}.tar.xz" S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86" fi LICENSE="|| ( GPL-2 GPL-3 LGPL-3 )" diff --git a/dev-python/python-lsp-isort/python-lsp-isort-0.2.1.ebuild b/dev-python/python-lsp-isort/python-lsp-isort-0.2.1.ebuild index 013d7f9f29c7..3ac1c8f65a5a 100644 --- a/dev-python/python-lsp-isort/python-lsp-isort-0.2.1.ebuild +++ b/dev-python/python-lsp-isort/python-lsp-isort-0.2.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="~amd64 ~arm64" BDEPEND=" >=dev-python/isort-5.0[${PYTHON_USEDEP}] diff --git a/dev-python/python-slugify/python-slugify-9.1.0.ebuild b/dev-python/python-slugify/python-slugify-9.1.0.ebuild index 8d3e1f16b336..fdd8cf8b1650 100644 --- a/dev-python/python-slugify/python-slugify-9.1.0.ebuild +++ b/dev-python/python-slugify/python-slugify-9.1.0.ebuild @@ -28,4 +28,5 @@ BDEPEND=" ) " -distutils_enable_tests unittest +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest index f822b6976d34..a2575077a64b 100644 --- a/dev-python/python-socketio/Manifest +++ b/dev-python/python-socketio/Manifest @@ -1,3 +1,2 @@ -DIST python_socketio-5.11.4.tar.gz 118982 BLAKE2B 577202ad731b0b25eb57617f322ae203376cdb381e42d0318e72bcc8b5eb9dcbbef20d50f5d2acb20360280160a58e0ca966b42038dde917c173e5cda3636522 SHA512 c61d8247b1f2aab5eb2094a1c6bdd9cd53da66847584c48e7f8e026f8ba1705a87a8bfb7837485c1c3929b6d40b453d297a3a109298eb4ce6d6a784f08da2e1b -DIST python_socketio-5.12.1.tar.gz 119991 BLAKE2B f4f44f1c57ef1babff1bf1d456cfc1202360bb1a89b6f0eb20c3baef54d1654b0e20258ee031cebf07680ae0499475dd9d832480ca8555c6a09d65f51a761546 SHA512 f841eecfbc251f2933326d0de7c35b4b1c2a1b771c6683db8044b3bc67c7347dc3c0930900f2caf9097386994f2e980439dfd0682ca053e16e25b58f6ae27d2b DIST python_socketio-5.16.4.tar.gz 128140 BLAKE2B 4e139a65eee7b2b602b827d2700cad39e46fe15dc4d19c89cedca94b0e0151c47a0acddd98fb35f3671e07fae840453fc5cd105aaa154e37f86368c3dc9410d3 SHA512 d5828c315977b4934c74f7f7c9cf609049263e378dffa389ddf9380bc1279cb617e0d9585f4471e5459d5f367f5e1fbe8be1956303ca1e16eb088241b6883cf7 +DIST python_socketio-5.17.0.tar.gz 134574 BLAKE2B e129eb4f606888ccbdfd348c411437ad137802ebee072989af97f1370bdcd3851b828eb7554bf0cc1bfd661539888df090e992289005d1244991fe4beb501844 SHA512 a5397f28552b7aa56fd1b4b88f7b165d23a80b570dd56f3135f5325216bf6f0404423ca0b8fc998b8100a8c68fc2686b4408c47eae78cb3d79f8641ad129abe4 diff --git a/dev-python/python-socketio/python-socketio-5.11.4-r1.ebuild b/dev-python/python-socketio/python-socketio-5.11.4-r1.ebuild deleted file mode 100644 index 2e024ccda242..000000000000 --- a/dev-python/python-socketio/python-socketio-5.11.4-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) -inherit distutils-r1 pypi - -DESCRIPTION="Python implementation of the Socket.IO realtime server" -HOMEPAGE=" - https://python-socketio.readthedocs.org/ - https://github.com/miguelgrinberg/python-socketio/ - https://pypi.org/project/python-socketio -" - -LICENSE="MIT" -SLOT="0" -#wait for dev-python/python-engineio -KEYWORDS="~amd64" -IUSE="client asyncio-client" - -RDEPEND="dev-python/bidict[${PYTHON_USEDEP}] - >=dev-python/python-engineio-4.0.0[${PYTHON_USEDEP}] - client? ( - dev-python/requests[${PYTHON_USEDEP}] - dev-python/websocket-client[${PYTHON_USEDEP}] - ) - asyncio-client? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/websockets[${PYTHON_USEDEP}] - )" -DEPEND="${RDEPEND}" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# pypi tarball does not contain tests -RESTRICT="test" - -src_prepare() { - # License classifiers are deprecated, so we remove it - sed -ie "/\"License ::/d" pyproject.toml \ - || die "Failed to remove deprecated license classifiers" - eapply_user -} diff --git a/dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild b/dev-python/python-socketio/python-socketio-5.17.0.ebuild index b60aa3165ba2..2d5f4ec900d1 100644 --- a/dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild +++ b/dev-python/python-socketio/python-socketio-5.17.0.ebuild @@ -17,6 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" + IUSE="client asyncio-client" RDEPEND="dev-python/bidict[${PYTHON_USEDEP}] @@ -31,15 +32,14 @@ RDEPEND="dev-python/bidict[${PYTHON_USEDEP}] ) " DEPEND="${RDEPEND}" - REQUIRED_USE="${PYTHON_REQUIRED_USE}" # pypi tarball does not contain tests RESTRICT="test" src_prepare() { - # License classifiers are deprecated, so we remove it - sed -ie "/\"License ::/d" pyproject.toml \ - || die "Failed to remove deprecated license classifiers" + # `project.license` as a TOML table is deprecated, so we remove it + sed -ie "/license =/d" pyproject.toml \ + || die "Failed to remove deprecated project.license" eapply_user } diff --git a/dev-python/pyvis/pyvis-0.3.1.ebuild b/dev-python/pyvis/pyvis-0.3.1.ebuild index 514e1ef39781..77ae15bc17de 100644 --- a/dev-python/pyvis/pyvis-0.3.1.ebuild +++ b/dev-python/pyvis/pyvis-0.3.1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/WestHealth/pyvis/archive/refs/tags/v${PV}.tar.gz -> LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64" RDEPEND=" >=dev-python/jinja2-2.10[${PYTHON_USEDEP}] diff --git a/dev-python/syrupy/syrupy-6.0.0.ebuild b/dev-python/syrupy/syrupy-6.0.0.ebuild index 8835100d3b09..09be33be6780 100644 --- a/dev-python/syrupy/syrupy-6.0.0.ebuild +++ b/dev-python/syrupy/syrupy-6.0.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" >=dev-python/pytest-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/tifffile/Manifest b/dev-python/tifffile/Manifest index 84d006476c4b..f2ca74260e73 100644 --- a/dev-python/tifffile/Manifest +++ b/dev-python/tifffile/Manifest @@ -1,2 +1,2 @@ DIST tifffile-2026.9.15.gh.tar.gz 428109 BLAKE2B 510e16937f4286fef6da3b19c2f7edfa06e26e19eeb938357885d2731bd1404315eb44624352491535d71b5d5328ce8e30b5b865616819b66d43c87c7b5502ea SHA512 76f1ed5a122f46d4d9e05e6024ad362dbca8c3f1af8fb328f0f19945d53a3da21df2ec2b467fa56a214486607b479abdc0ab0b67f1d4885233262c7487b34179 -DIST tifffile-2026.9.9.gh.tar.gz 427709 BLAKE2B 8e935e91b9bc43ec74ed26f0d7b1038b3c2ea9e03cd90b6712d3fc2999fe584954b1baa5111baa1ec00e4ca4e556adde3ee9092ae7031ffd00c690aec06bbc5d SHA512 75256c187bf979d55217b945e1443e2d3d895821c200b96f72a9ba98e4f3c84e879f776e8c7b30e0cefceb6d0ab8770c67d8abc31da8db633f8726b2be53f4d9 +DIST tifffile-2026.9.20.gh.tar.gz 431940 BLAKE2B 690706dfd15c45c947353d84c5ef932f4e8a659c33b65f7d9534ab51dfe96f31b92ba20999775e2ba0053aac131a3944aefad73597324695eece319f0b5b9733 SHA512 5b515b8b4a96ab33a626f0cc3be90307d7f4dfb4dbb92d4e929603ea0218a942b46d2f8e6b22b24daf42f473540d0c3f052b53c7c4c0d8c262cff23ff445e7e1 diff --git a/dev-python/tifffile/tifffile-2026.9.9.ebuild b/dev-python/tifffile/tifffile-2026.9.20.ebuild index 0ef52373937a..0ef52373937a 100644 --- a/dev-python/tifffile/tifffile-2026.9.9.ebuild +++ b/dev-python/tifffile/tifffile-2026.9.20.ebuild diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index dbb87a1f5b04..b69bfe3b2ae6 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -14,3 +14,5 @@ DIST tox-4.61.5.tar.gz 308508 BLAKE2B 20b5f8697963754ac868c547224cb01d50e4a6e4bb DIST tox-4.61.5.tar.gz.provenance 9673 BLAKE2B 0d029219e08eb4f28eaca0d0ffcc48492d0dbd8cf0b7a9ed87485fcc5271918928f47d3ad7f421984d874f36c3422693b7f292d6b2049066b8b810012eacd04e SHA512 6a79178a46bd71eb5a8b3a383384ccb5fd71ef3f845b5adf32722d7501be5f98f2076e8803597f8fdd88f4ff8848648bb62247b0ce757c0e16e496b2f0289a7c DIST tox-4.62.0.tar.gz 309684 BLAKE2B b296169ce5691c141cf6362c0d032734acb54d348fa7f505f2910b1ab0c10f91af1d915282f610ed3b4f81ac0691ee381f41e7fa2f030de03ebaa93e95401a20 SHA512 f68a48eb65051f0352f431db49c405e42bccf3568c18584980d37d0b59a55ef7a7c2f1b6501d87b85845f9b224960eb5a2698356b3f75d8e914fdd1424319d8a DIST tox-4.62.0.tar.gz.provenance 9497 BLAKE2B 602dd61ae1ce851fe78bd62905aa155ab992260dced5ff8981882c897713848a5bca66ea005c01b1e719315466d2bb7ba30d07948b656b3d75a32fa8e6dd1e31 SHA512 bf0c3f43f5a3c069cf3a666188afce2faab3726a619c9c55bb0647f36a2471730fb6abc9a39912297e773bfabd08a87bb445c6a458f8da582faf3aad2005c78e +DIST tox-4.63.0.tar.gz 310965 BLAKE2B 6ddf45f8bcb2f673136004e5da559f07a64ad5120ae2437f2cd498beb39fcdafe543b4242b90088b56de167516efcc9856914a003c9a79d104742c1d2f3f696a SHA512 4f266d3eff95592aa6648e6e868c6d61c149e4975d092ef2470085819f343ada1027c1484723e8720b030fee495ded957c0c60454a100da7efd46d7a0f54368a +DIST tox-4.63.0.tar.gz.provenance 9532 BLAKE2B b9e09d929dcc516aa81b61cda0ee7940d854b9da8f124a99a21927dc7896a554dd339d185367bac136a4bb86420dc915fa91f90297a3395d0cce39967c17d9fa SHA512 3e321cb8d1eb4213c7445800b6c5d7f87599f72d26c80fbb67bf69ab1acc6dd4f1bafdedd8fa4a6323b49a68872a13b02d5b8598e8690f465d92585cc79316cc diff --git a/dev-python/tox/tox-4.63.0.ebuild b/dev-python/tox/tox-4.63.0.ebuild new file mode 100644 index 000000000000..9d80c8ee22b8 --- /dev/null +++ b/dev-python/tox/tox-4.63.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/tox +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.15[${PYTHON_USEDEP}] + ' 3.12) +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +EPYTEST_RERUNS=3 +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} diff --git a/dev-python/trove-classifiers/Manifest b/dev-python/trove-classifiers/Manifest index 94965125af50..0f2ef5cad67e 100644 --- a/dev-python/trove-classifiers/Manifest +++ b/dev-python/trove-classifiers/Manifest @@ -1,2 +1,4 @@ DIST trove_classifiers-2026.6.1.19.tar.gz 17059 BLAKE2B ccc2ce8c27b36ebc5fd3c951698ddef25186b0ccced9fd61b6eeeaf04d9f3e4201b8e6dcf4903b2f0ff1b4e46dcfb9a839eadebe6a9740fb2bdd9fb157b67d05 SHA512 3e0d4dabdefe939cf865286ef168e28a0fe7f791fa9321f9822b81bff7c06357ea3eeba9666710867de643ee267ae69f1eb4c20163a9c209b7ba408051cebf08 DIST trove_classifiers-2026.6.1.19.tar.gz.provenance 9832 BLAKE2B f0224488c91fee2b2a3b8a753ca1f7d4ed6de55cc88b2bc8676153f9afb242ceb1084b88bc95176bc7fde62727584f1c2114c20265df0d38ce14dfdd60a6af99 SHA512 57114ca1afbeec73693e6ac362c9c9e43513a187829e93c17afc94bd4aab6bc2ff1d9abb7298cc114eb0903ac1e86a116369daaf25607b7130bfe89d83af8db3 +DIST trove_classifiers-2026.9.21.13.tar.gz 17085 BLAKE2B c059b12cb5d150a284d50db3b04f158ada1c477722a826a2f953f944f7a270ec126271ac284aff7abc9d104cae34f31d746b3703d18c6bc9ae768c9ee87fd2d9 SHA512 38cc0c21213a765d32ccf833d16d3056a47a1c9802b3f36ebcff392997106d1707d3dbee84b55b04b65d608c8beb7400ec3e586970b01778871be795207325d6 +DIST trove_classifiers-2026.9.21.13.tar.gz.provenance 9881 BLAKE2B b4f9a41148c9e2e2ba1e52da5f54b0ebf89d98db11318bc1764435e8905decc6a4a9d2a69bef50212868528730f67fa7803aaa11180f1de0e6e6f8c55ad8edfe SHA512 7b45de78e3f5eb5e504bae5ea587e61ce26ab5d048c57ec3ae4fd80cb64d2a52d811b9c8688b98a6d14185162afd3b24d0f3b61a73447123f9e6c380729d4080 diff --git a/dev-python/trove-classifiers/trove-classifiers-2026.9.21.13.ebuild b/dev-python/trove-classifiers/trove-classifiers-2026.9.21.13.ebuild new file mode 100644 index 000000000000..69c23b46de13 --- /dev/null +++ b/dev-python/trove-classifiers/trove-classifiers-2026.9.21.13.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/pypa/trove-classifiers +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease hatchling bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "trove-classifiers" + version = "${PV}" + description = "Canonical source for classifiers on PyPI (pypi.org)." + + [project.scripts] + trove-classifiers = "trove_classifiers.__main__:cli" + EOF +} + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} diff --git a/dev-python/types-requests/Manifest b/dev-python/types-requests/Manifest index 9eae0ce6428d..048aebb64407 100644 --- a/dev-python/types-requests/Manifest +++ b/dev-python/types-requests/Manifest @@ -1,3 +1,2 @@ -DIST types-requests-2.32.0.20240712.tar.gz 17896 BLAKE2B 113c45898e73fe0a8b99251bd5b98aa0a6f4ddf7a743e8a80913a44c098c2d7942b41ee1b14451a521c9151fa5d14777f4f1313fd37d4f23ad82b2b24068919c SHA512 e54392d4a5f4bc923e7600141e468fc28de3bfdef8f1e54c6c4384bffc29707b3f86bb5125e5ac8822125a27fb3f0f4f498ca0b3f6448cb9cf5fe6c3fdb78527 DIST types_requests-2.32.4.20250913.tar.gz 23113 BLAKE2B cf950878f78ab29a1ab6876fbdd9201415d7a02c56ac8f1dd159891dae2272d67b9402a679252386f7fa2de98dca523c915430049825ae8ec1cce89f2526d135 SHA512 9ce1f4330619e90d43c2a6962c85ea8d87f186f22b2b5923a3e80e45c6beb01e77a47e155f60fd1ce6f4592f0eba4483db537041a80edf5a97bdc9a2bc1fa019 -DIST types_requests-2.33.0.20260712.tar.gz 25084 BLAKE2B 36cd952870eac93c0c60e95f71ddbabf4b82d11ebeef96d9acb820a620e8b5e891ff6e38b874cb0ebb42c1db6a5948052dc67faa7f0d404b93b2e45fed134422 SHA512 404ef9949577144236e0a9a110b8a293a49f38703c5a77f2addd4bf559d4045feb9b2f8100c5bcc24d331bbda1e2a4ec59b0957109d63be799b79d1879a38211 +DIST types_requests-2.33.0.20260906.tar.gz 25263 BLAKE2B 992ae305ad021546461b00004bbab63643ce4326f07af29c0e006e50487909c2916d1aeccad117245fd7cf89d0fc57811fb7791121aa449adedd262853bb46b3 SHA512 39c9e6cabf435d0e8199b3ba15b70d8e0ad2b18a520cef2bbc3702d68ccaa89f59b14be04f652ebb5fd9d4994a478af61dd677f1052ce28a41b7cb5316dfd6c2 diff --git a/dev-python/types-requests/types-requests-2.32.0.20240712-r1.ebuild b/dev-python/types-requests/types-requests-2.32.0.20240712-r1.ebuild deleted file mode 100644 index 89c87802a135..000000000000 --- a/dev-python/types-requests/types-requests-2.32.0.20240712-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for requests" -HOMEPAGE=" - https://pypi.org/project/types-requests/ - https://github.com/python/typeshed/tree/master/stubs/requests -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=dev-python/urllib3-2[${PYTHON_USEDEP}]" - -src_prepare() { - # Remove deprecated license classifiers - sed -ie "/\"License ::/d" setup.py \ - || die "Failed to remove deprecated license classifier" - eapply_user -} diff --git a/dev-python/types-requests/types-requests-2.33.0.20260712.ebuild b/dev-python/types-requests/types-requests-2.33.0.20260906.ebuild index aa89a2bff4e1..aa89a2bff4e1 100644 --- a/dev-python/types-requests/types-requests-2.33.0.20260712.ebuild +++ b/dev-python/types-requests/types-requests-2.33.0.20260906.ebuild diff --git a/dev-python/valkey/valkey-6.1.1.ebuild b/dev-python/valkey/valkey-6.1.1.ebuild index b7d2cde3542d..aaaa0ed51f2d 100644 --- a/dev-python/valkey/valkey-6.1.1.ebuild +++ b/dev-python/valkey/valkey-6.1.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~riscv ~sparc ~x86" BDEPEND=" test? ( diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest index 68cec98f63ab..84188eab90e2 100644 --- a/dev-python/vector/Manifest +++ b/dev-python/vector/Manifest @@ -1,2 +1,4 @@ DIST vector-1.8.1.tar.gz 387964 BLAKE2B 2597dfbcae38c4abf81c1790c567e9a2e5a15ed1970337ab4eb3aebc0b1e1e2a7754007366289d06f80b566b5147e6d78e58b28765c7468fa7c92c4da99a4156 SHA512 284c30a3e10563adc6376fee9ab008555052c8ed37240daf3e2c85c0fa396e4e4cebdb52ae5178fa6be307feccc2befc07b6b2f3095ef2873695226b13675f84 DIST vector-1.8.1.tar.gz.provenance 9438 BLAKE2B 32036877fe798eb0a55e68eea8db0a4484ad54d2497b10123762ae5f338bfe75b444b74ab066593c417a61c6e95386349470368363dd49628c77aa0dce881fad SHA512 ef611d21c83603c7b52ee64223fc3695a639e0195956aa4cc68cba247103eda64040944aac2c455d2d76a8a43bc039e9d5731dfcf5514b755ed91c94bfcf1a67 +DIST vector-1.9.0.tar.gz 418311 BLAKE2B 455f6070212ca2c355d21ce826f9a38b24809706e645f7663309d0655fb7e3dec6042936da14269a10f1ddb0f67294ab68ef6a1b7f78e130fedac25dce6d374b SHA512 158b7498085546057509fbbacef5a161680af48fb303d94cbe365dd016ebf96a9fa2e6929270df2a39579e225a1c1b30c9b2725b565434d20c465dae722797d4 +DIST vector-1.9.0.tar.gz.provenance 9824 BLAKE2B 79ce0b150884b8e984d964702ae54d00bbb43253f7506ac6963a55bdd9ee2ccccffd6f00426c0011add3cd4ed45f4bb56f2d3bee3d3f34fb73232d240b9d1fe7 SHA512 5555dcd082d628ca709b9eedc05bcba3a4489b5c6cf0abcde7751a79a4130f026df71c09f0042e839a9651f48998037b7db9c7489ad7d66f95fe1b57d16e4356 diff --git a/dev-python/vector/vector-1.9.0.ebuild b/dev-python/vector/vector-1.9.0.ebuild new file mode 100644 index 000000000000..ba7e2779a1b7 --- /dev/null +++ b/dev-python/vector/vector-1.9.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +PYPI_VERIFY_REPO=https://github.com/scikit-hep/vector +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="Vector classes and utilities" +HOMEPAGE=" + https://github.com/scikit-hep/vector/ + https://pypi.org/project/vector/ + https://vector.readthedocs.io/ + https://doi.org/10.5281/zenodo.7054478 +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.19.3[${PYTHON_USEDEP}] + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/awkward[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # no module named papermill + tests/test_notebooks.py + # testing for exact (not mathematical) equality against sympy + # which changes without being wrong... + tests/compute/sympy/lorentz/ +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "awkward array support" dev-python/awkward + optfeature "sympy support" dev-python/sympy +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 11c404917c53..b5f963133971 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -6,6 +6,8 @@ DIST virtualenv-21.7.14.tar.gz 5360773 BLAKE2B 84b540a539d21e95f3e736735827c9b8c DIST virtualenv-21.7.14.tar.gz.provenance 9773 BLAKE2B b3c84aa1cec8ff729b369feb648fe998b3340bed9de1a5df03e8fe0378925a21504b696dbfdcecd04d7b359564bfe951a94abd27351cb27c98aff1bd4501d6f0 SHA512 fae4af40567ba76b6ceeb0fba0499e8ce27c90c426fd110316198b75fbaecff380a9fda4bee9b088a6c70a446bf546b8973cf422aea34c8371fb3a7d7fbf85fa DIST virtualenv-21.7.15.tar.gz 5361912 BLAKE2B 0171973b91f5580d8217846bdfb80b315487be271016d83590dc1a3e237b55f3e4b295f05484004d6ae7c09d5c211251a2b72a6d9dcce918409076b011929bda SHA512 eb4b431acbf8f74f711549b4ed5597b9f153327f805384ec2b7db8b8bf9e64cbb16ae361cf8c9d281247fe8f257f2879dab4fc85bcce7ba18ad15acf681b5457 DIST virtualenv-21.7.15.tar.gz.provenance 9675 BLAKE2B be642242beafc893d0467eef1be7ecb5a11af0d2bf1fc804c66cd7a9bb13e85b907c2ca9f5aa5c06f6ee5bad2a80b7626c98bb61f7cb49d2095fce8bd613d1b0 SHA512 62a2ae65e777763961ee957b913e1201e84051116b983c6557ddd295ba0a47df454beec838121cd6b8291d357cb8c0157fdcca136b8aa1bbd629595859db401b +DIST virtualenv-21.7.16.tar.gz 5363081 BLAKE2B 80a957de88379940d7faf6173d27aba49f24d2c35d162ae666b00e4822e9bbb14dcaa95c7d2515a967ba03a1f6437c1d388fd78fae3e4ded5d596d5ac8802291 SHA512 eacdb1e4216dd00b1948c78bb3facd42e8aeb5566efa6ca85660c2b926bf7e92fc240547b05b2ee795f547edf0aff6bf5e7df4d6f1ef8c7f489af5c0cde20169 +DIST virtualenv-21.7.16.tar.gz.provenance 9667 BLAKE2B 9c9fd750ee8403a59dc5c6eb5bf6932ac13ac4e6f2a0c2572292143886d07294bf99cab554f127b20a36f38e76e279100a1f3cf6047e1767750d551ace8cb5cc SHA512 c1a15d2fda5a94460bda461594e2b41fe83da57b1a17afdb0786f270bbd7af40445f92f7cafc494961eeed7e97c9747f7d105ae0453259a174704441dfc5b597 DIST virtualenv-21.7.4.tar.gz 5345511 BLAKE2B 30c7b5e782e4867e5d2a1726ab564af6d106280a909666a4dbee0a42d0cf9bde932681eb442cecb186d3a04bea329ebce458e45ecc5b745bfcc8a8fcc1e85997 SHA512 52db3945bf8c3c8f87db9b2e9df3ff22ab45b4ce3f0ffdbb9a7b3678df4cde0b0980dd9040adf478a6909d0650ff6f873a2db2d022e402e8d46edc8b67cf5c97 DIST virtualenv-21.7.4.tar.gz.provenance 9618 BLAKE2B 5cf72407fb515710895b6534a32c0b7b96329c3c8387aae5a1552e7d43a5447bb2d10c2198b61bd0150cf3cf719d54d5e3329a5a7230abb470e3805f87031a6b SHA512 a7280f39dfeb05379b7c9ba5dd3b9fdb8e7fda8a9496805795f53407fc175b308309640e77dfadec21806e2fb07c545ccb95c7e7b87fee68fa63fdf1fb30f58e DIST virtualenv-21.7.5.tar.gz 5346743 BLAKE2B 52c54885686970e47eb44c6271515164929382f7ab8f514c1cd4861fb9145354d4b299e1d2d5eb658504713545dc9d481db8dec8541235983f9f68d795b68d52 SHA512 708068427c768f6469ffc49afa9738ef7d7b1f3edd1809ed2e8267878eae7f5729ad0992fc9acefbda6059c4c42a78a6cba31af0c6dbf4de7414b6c12da924de @@ -16,3 +18,7 @@ DIST virtualenv-21.7.8.tar.gz 5347580 BLAKE2B d5b2c8258b36b19d646a4e907e938bd336 DIST virtualenv-21.7.8.tar.gz.provenance 9342 BLAKE2B 2d8b235ef47c92657a63bac84558e3eba85afafb71e46c0aa2d4231c1246d12e7b03f81518c1f67d1c4fef07fb9ad3a02b38d6e2ba67c7790a0b5f42193715fe SHA512 23292aebd030e5990faa2e141e0ef10a1b2dc29bfbcc2a95c87aeed8902c9497b92d0bbfbd6e5ef51a3f4ab0de395139f110be7e94c8120da242a16259c33300 DIST virtualenv-21.7.9.tar.gz 5348882 BLAKE2B cadcd4423bbe28d58363e653a62a0408fb4e989379b1cdc72b4e1d63ce27f5427732b9682fb794292b56d79e411e59fb46aa19246b9cb866c8029805ba174586 SHA512 e226116dc1cca408490caa1ac03d6759dd9bf33874b9546c426a8e850869fceb7f8d79e80fa029ec1d55b1649535ef34114be63683004052256fe8bb83b46622 DIST virtualenv-21.7.9.tar.gz.provenance 9655 BLAKE2B e7b7b08f61878dedc3cdfb09de2bb3925e7ac661b7a5995bfd5d1ddefc84df0cb118d5221ab33250b5d50c5835b96847edf28bb6b737f6217976cdf6940575b2 SHA512 5ded379491dd1e652326b839451b8ac20ff56bd170eaa25b1c28a7f2bdb0a6666c2d5579f5ce83ba75eeb86afb0d3eb518889956eb18815370cda278ca31d8dd +DIST virtualenv-21.9.0.tar.gz 5372770 BLAKE2B 9b66b0014cd4ff703afa51e4d29e445bfbd6852a0e1a17e57fa5aeda9d8ed0d2a77b69d8d6b68ffe6869f4be9f79bc3d66e46a754b743d4f73629684c16293f4 SHA512 06987247ae5443b3a71ff791c4ab45279fe8272915b13a079f47fdc0989dd836d417c9114866ca74e0fef5048914a88357e2d1a1f16ba79cb37f9b1fe1b2d605 +DIST virtualenv-21.9.0.tar.gz.provenance 9655 BLAKE2B 8e028acc247f2dc64533a5f2c41e95159fdd23c3196ed6052bd1d790a864fed0be60b55965721550ce698d6747387cf4676b2eed05de621bc6081a8e8e8ffb22 SHA512 829b817597f570b8c2056c041ea75658ec9426cfb4f9cee506c08ea77e03284f0227b58671f02b08536d4d2a3cb0c0098d9772f80bfab5bd3de008ae88764b67 +DIST virtualenv-21.9.1.tar.gz 5377036 BLAKE2B 0a999811ddae201ad8771b80b5e623251374c9f4b07920ca945416b94bb08ea9e871cd18d6b55a0d9e20e9f33c082f8c7b4a1becd1013f44f6cf0ab5810be832 SHA512 c5dafb7924148520dbce3566933567b77c226c84d844b9c12eba686b68df3535e8e19fb1dd5c6f41226990be59170a1b13bbec7e68798a3e348f4a25e6973d7e +DIST virtualenv-21.9.1.tar.gz.provenance 9463 BLAKE2B 967c0bb73084ec4886ab717694e83d22f102c4766a8380636f0b7d4ec89293538334637b821974ce1ac6812da2c0c1b28589bc12203898be22f3458387404cd4 SHA512 7500be94d999e6dc14815d4ef0267218c95340ab956d9318f2a8604d019450cd062c554359acba5d069c084d2d477395e2142d7949b179be7d05a66e5d2a2c70 diff --git a/dev-python/virtualenv/virtualenv-21.7.16.ebuild b/dev-python/virtualenv/virtualenv-21.7.16.ebuild new file mode 100644 index 000000000000..b2791558c0f7 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.7.16.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + # we do not use bundled wheels + tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/virtualenv/virtualenv-21.9.0.ebuild b/dev-python/virtualenv/virtualenv-21.9.0.ebuild new file mode 100644 index 000000000000..b2791558c0f7 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.9.0.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + # we do not use bundled wheels + tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/virtualenv/virtualenv-21.9.1.ebuild b/dev-python/virtualenv/virtualenv-21.9.1.ebuild new file mode 100644 index 000000000000..5e1b36f972bc --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.9.1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/hatchling-1.27[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + # we do not use bundled wheels + tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index f93a44eaa74d..39249ea2bde6 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -21,10 +21,15 @@ DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfa DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST pyo3-0.28.3.crate 1204476 BLAKE2B 8540a1c51bac4fbe04ea34d5ce38471c13d5a3f0759e60cf21d67e846b00feb8316e70f32cb8dc6b74d09f0901ffc83d5f41b1a06da6d34790ef13e4cefcad45 SHA512 f955957eec4b95cc9337d331bba3bba52b4754b301cf86cd974601e64eb20c2424023b19be89a224661fe2e185de646cd3d0d00705b6b5cbd139856c9443a247 +DIST pyo3-0.29.0.crate 1241253 BLAKE2B 29deb7fa70010bf3d7e9e93bbcd87c0b56c4ee7ef0c2e5956181d2fb5f06f4c9b3f28bd1ad280126c26c048808b91b847e1fb69ddd617ef9e9e5e004cf4e48ae SHA512 e6822400de53ebcef4a14c899dc065abae621a126483873139f5eb850877c94f4bccee3a183d4e2a69eadcd3c3b82b0a6f3e1053d926b103be572329607f2f67 DIST pyo3-build-config-0.28.3.crate 35961 BLAKE2B 61a0101913c6d563721049ca99256c2aefd89b017a7e18c82f4a6aceca0aefeaa71fd559cd43adfb5034ce076c904e5188f8f73961ea217287fbfd12caab9401 SHA512 78f85696901b16540d42187d10e888bd929b9f23415faeb73f9798abda1af3506a308145dd4113b070521271c72624d7930fb4b19bad25aa1afd3082030c9126 +DIST pyo3-build-config-0.29.0.crate 39616 BLAKE2B 7b62a5976b890db84e5256f3136185c2a9c3b7110782b5b0cdc314a5231fde30a853ddcd17af63b53488b3e8d5e310b01002b6f3c32cfeb1e5c3e168cd6460d7 SHA512 df77e8d7d5fe173749437ff6b90fa1703083377d515ab8a85dc77d9cac9c3fc331ede4b040f7e3694311ddb5adff577cf90c181a27c196ab93a4569e918fdea8 DIST pyo3-ffi-0.28.3.crate 80881 BLAKE2B 4ac7066c911e2aec18aa9245efed00585d063f81d69910e6a146f8efbf2939ab5de519bbf2a3dde78b40c264e97c62490db80e9b2e84aaf080d63659a6676459 SHA512 ec49b5cc67d19f46c9daea76b37b4988af0f63b9ed67c71190f015a0aa9691d4a8ffd4128413de430928428e1e8e26d44c3103f561e6b71b7e8c4597ab602d9f +DIST pyo3-ffi-0.29.0.crate 88184 BLAKE2B 5891af92a3bcba764c4701dcc0a99edbced010a5ac46df3217d004f5c3a368f18331733c6723bd49e522c6f7105455df13e2be0f07695ed5ce6ae71c15dec438 SHA512 baaf01d13ddc09316ba16b22e9ca15a67e5bda5b861ed7961c3393fd4692fc1c96952f81465d1dcb6531b9083f96c5630981b3d7802cb1ac2af67aafaffbec76 DIST pyo3-macros-0.28.3.crate 8963 BLAKE2B ca9967cfba565b873ed77565ff6eb8408473c227d191797e9db8c6b5cbc89abc17ffd57ae71e28877088fe19373da2f503cdefeae6b0a47796f6abcf62044f08 SHA512 57d178bd9b53dd98916e60c89bc26c34f9949829dc17bf7d6cc15b704bba7c874d85d6bd3c827d401268660a79230a6e32711048da939ec4e22342f3e08046d1 +DIST pyo3-macros-0.29.0.crate 8915 BLAKE2B c12d23753d5aba7333183d4b41f16c8da1d4297a3ff86b3b150e9185c1978fc184ac198e566a41833292a8a78ab59446eafd5ef7169e5cb41493e7cbeaa68280 SHA512 fb6633ac76229d2e0ad88d51136a9318f03823b27c700a62cfbc957b4c834985e2f4c0cdaf5ea5e9993ec9e8ce3d63cd6b3fb823f2a042e65186adbed78da7c2 DIST pyo3-macros-backend-0.28.3.crate 88063 BLAKE2B a484b12bbab3031838f61149ab9f08b9e460a2bd02089e08e58dac2cb747afbc0cdfe64018ed4c8cb0bbbd1d22e3eb05a6a72b020da6b71a584ec51ca8d24292 SHA512 45ce31ed64ee4fd0249736d480c9840a756bc45934d6803ae11e0680057ecf4cc74c71b47ccf9241fc3ab5c1e0b9c758426f08bd523d1ace92fc308302ea3c84 +DIST pyo3-macros-backend-0.29.0.crate 91943 BLAKE2B 7c2977dd9c80f3dd1f5375b0c65492b46048ca02e6355ad746bc8430cf92eaf25c701f416469eb69724fde5220651b1095c09eb9e3ff860176f862d7c7287407 SHA512 13a7af3958c09969637827d97ab9bbc664c407dda9e4283afaf495757798cf6f84932468bc092160fa75211ce0aafe6efc657f3a390234d77a67362cfb31fe0f DIST python3-dll-a-0.2.14.crate 103489 BLAKE2B a2868aa62d9b5f33ba0ab3be85f486e7b0594b8e535749e251ae9c829eabf9f0211f928c729b0f5b847a89be978c4b5648d333ac657a82acaa3c39520dfe0b8c SHA512 fde53bac2b7009d409d5dfab991b431aea7c16c5e0227a7bb143e73a043cd0490cec2647f73cfc34f73a192e9b365a70fd5b42d969beb2e3251dff44230a2040 DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0 DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e @@ -35,6 +40,7 @@ DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542d DIST walkdir-2.5.0.crate 23951 BLAKE2B a2d3a973f206e94699adec0263dd5e211347722cf3ab82536295019268b3125084da5dbcad818070bfdcb6a5de08da4eb483475bc225a829f58a1e3e040b5fba SHA512 da36a121dc6656942dc9cd9887fcf4f6eea7750354ef3f59c7c25d836e7afe06f33260b4d55d0d99421104ed4ce56ef2a1f0f4c3b713766fff90548c21793fad DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST watchfiles-1.2.0.gh.tar.gz 121369 BLAKE2B 5e1de15036e911588293024dcc6c95e752517e23f0023537841074e4eeb9a937c037d5187788c0c9de30350c6a70b324f452b81d11b9a0bab5d875e527aac8b7 SHA512 e558ea345f898a9611af1d4c7eef0a62c5250cc899d6debaef3940c9b81ef5076b866018abb7838892cddfb9b3ffe615e57ac8107ae164f4e7430dfebebede70 +DIST watchfiles-1.3.0.gh.tar.gz 121180 BLAKE2B da045a16e9eaae01ec4a87d584e8a4546caa307c89a5255fd47c5a08c3bac348a7ad9b8362a15e8ebacd2f6bb0b88dfba77aac71e08b8bc26736d55a94e495b3 SHA512 caeee01a638c7665490726cdca4c016d37a8d0406678285161ae9b572864deda46bbd4e8ce175a7e92ea8dae10cbf8c02db0a2d69fb5d70fb91a27b66e37f95b DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST windows-sys-0.52.0.crate 2576877 BLAKE2B 69d6b560ccfc8f679e2678663ba606060d71fa28efa82c8aef8cceaa2c63b06f2052764d60163964f939649a26bbec6361ee4b094555e941fae92070db566980 SHA512 24ee0df246c2b456a4987a9124786a28acd358768cc7d1305bccd81bc5bb8822b81a03fb18d35174a520b911c6d9b685f81a34ab319fee13da3b985273584f03 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 diff --git a/dev-python/watchfiles/watchfiles-1.3.0.ebuild b/dev-python/watchfiles/watchfiles-1.3.0.ebuild new file mode 100644 index 000000000000..8ca4476b51f6 --- /dev/null +++ b/dev-python/watchfiles/watchfiles-1.3.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{13..14} ) + +RUST_MIN_VER="1.83.0" +CRATES=" + bitflags@1.3.2 + bitflags@2.7.0 + cfg-if@1.0.0 + crossbeam-channel@0.5.15 + crossbeam-utils@0.8.19 + filetime@0.2.24 + fsevent-sys@4.1.0 + heck@0.5.0 + inotify-sys@0.1.5 + inotify@0.11.0 + kqueue-sys@1.0.4 + kqueue@1.0.8 + libc@0.2.169 + libredox@0.1.3 + log@0.4.22 + mio@1.0.3 + notify-types@2.0.0 + notify@8.0.0 + once_cell@1.21.3 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + pyo3-macros-backend@0.29.0 + pyo3-macros@0.29.0 + pyo3@0.29.0 + quote@1.0.45 + redox_syscall@0.5.3 + same-file@1.0.6 + syn@2.0.60 + target-lexicon@0.13.5 + unicode-ident@1.0.12 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions CC0-1.0 ISC MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +EPYTEST_PLUGINS=( anyio pytest-{mock,timeout} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +} |
