diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-21 22:01:01 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-21 22:01:01 +0000 |
| commit | 2a2c8c66b53a98c415ccba9454719b07090df143 (patch) | |
| tree | e51e79bae004a1290a65b1b5eef1576ae98a79c5 /dev-python | |
| parent | 998d1ef77e5c341697abbd8a7daaf28243e47cda (diff) | |
| download | baldeagleos-repo-2a2c8c66b53a98c415ccba9454719b07090df143.tar.gz baldeagleos-repo-2a2c8c66b53a98c415ccba9454719b07090df143.tar.xz baldeagleos-repo-2a2c8c66b53a98c415ccba9454719b07090df143.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
67 files changed, 865 insertions, 1139 deletions
diff --git a/dev-python/authlib/Manifest b/dev-python/authlib/Manifest index c150944a2e88..0c903ad77309 100644 --- a/dev-python/authlib/Manifest +++ b/dev-python/authlib/Manifest @@ -1,2 +1,2 @@ -DIST authlib-1.5.2.gh.tar.gz 331162 BLAKE2B e4f25f621398ca85b2d1e526aaa24a6ed07512afe85023646764682fb49353b7ae4052405747161b041e5873404ec88396b589463fe27be1495ef4fea9150a49 SHA512 ac396e3ea13637aa612f5893687b9dc51988addf719c304007ec6966ac36f843e82090ebe109d454d8da8766eeb50661a0968ff7f596b00541aaf592df919892 DIST authlib-1.6.0.gh.tar.gz 341039 BLAKE2B 26faa75dbbaf6ca7350dbcd04d01d38bbbc3ee9f096437bee03be4180ed4b82560707b1ee403abf52eea4f6b53f760e5ad9bd8357cc227ed41b571ad9ff815a6 SHA512 5ff057fe9699b192218bf0863635230137fe1cb86129ba545b468f2df4491b475e81b6c296efd9965cfdb2cfc782f46bd49f93b1b222b5ce1f0b49145ef9ef45 +DIST authlib-1.6.1.gh.tar.gz 341053 BLAKE2B f5468276a8d05ef0770e154a6f1662d01d421e0dfc1bc702577e1c665869366217001a08fc1cf3e15b68beaa6e0cb23f3721615b97d4e5b9772bbd041d6c1af3 SHA512 681548ef2c3a2d36af5a620a44cf61d5ca54d65129ce711dca01aba2f0dd7bda39e425f38f1b3e5d13211ee3c6fb6fe8f680d64bfa18895b2f03418b569559e3 diff --git a/dev-python/authlib/authlib-1.5.2.ebuild b/dev-python/authlib/authlib-1.6.1.ebuild index fd72ae747150..ceccba6a20d1 100644 --- a/dev-python/authlib/authlib-1.5.2.ebuild +++ b/dev-python/authlib/authlib-1.6.1.ebuild @@ -41,7 +41,6 @@ RDEPEND=" " BDEPEND=" test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/anyio[${PYTHON_USEDEP}] dev-python/cachelib[${PYTHON_USEDEP}] dev-python/django[${PYTHON_USEDEP}] @@ -54,6 +53,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=( pytest-asyncio ) distutils_enable_tests pytest src_prepare() { @@ -65,11 +65,10 @@ src_prepare() { } python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x DJANGO_SETTINGS_MODULE=tests.clients.test_django.settings - epytest -p asyncio tests/{core,jose,clients,flask} + epytest tests/{core,jose,clients,flask} # TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. #local -x DJANGO_SETTINGS_MODULE=tests.django.settings - #epytest -p asyncio tests/django + #epytest tests/django } diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index aaf62b13972c..3d7f8196098b 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -1,3 +1,4 @@ +DIST llvm-gentoo-patchset-21.1.0-rc1-r1.tar.xz 13524 BLAKE2B 38644d60ac12ad8c91e8caf9a1bcb1c29b1aa03e8064dad5305eac4f13e56709d6bff053746b2f74330fabd0c3700a303ed079c351ba4c83c26ede83213a5370 SHA512 9a152dd7c52f0b6c8d3a3189c12f95cac4e6597d093eafb521715289f7e3136d8e85443782f87149edf1ec4e3d3a31d5f7dddb80e031f0c6ef568b0dadddce28 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 @@ -12,4 +13,6 @@ DIST llvm-project-20.1.7.src.tar.xz 147245448 BLAKE2B f7c57d1eba4e97e875b624dec3 DIST llvm-project-20.1.7.src.tar.xz.sig 566 BLAKE2B 72ce2a18c211cfce9581a9e3e71f1c55cf18672aa355267581220e1a89e3327f9e16107970b69bb8f10f390baa5e286487bdc4cc0a7d9155ec13a4977cd3f472 SHA512 eff885059d547f57b98bda1fc9631f716ca6c650cd48203d9ed5443a6afb9a2d4d91d3f5c8618e307c0a44b3040bce61fdc6bce965073adc537655755d9f2112 DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 +DIST llvm-project-21.1.0-rc1.src.tar.xz 158955624 BLAKE2B 6a33d48f41f92cd8731011678afdf4c6f6a4581af04483626c511d1c9410d62788eb660e05cdfe418085509b576c29eec5bb07ae7ddc993e9931287657c11e03 SHA512 7ab3d1bb49bd3c5c9c1490cd865fdef027c25d64bb7f6a2a16c11c311670d08b7a214323ae4781aa0f49973deb0039ebea9d04887089df8dedf65080acdfc871 +DIST llvm-project-21.1.0-rc1.src.tar.xz.sig 438 BLAKE2B d3736b7f4bb6133e542fb3f52d1b76acc2920558e61bbbeeec6e5b7639ca54e229803b27baa4aedd2134c11fb4439064ac36e90c8c1831a503dd1754efee8da6 SHA512 6b9565f270fae4e534a160916bbd01ccd0e1295bf17df13f3be05bed4f058c0e935ba7385aba74a195d3a13868d81f2a0cf4be966b216fc6d7b56002f33eb4a0 DIST llvm-project-b6313b381ac0e83012ea11b4549cd8cb39b686d2.tar.gz 242588863 BLAKE2B 81e7db20b849ce7a5c7c6b03d1e62a2e225eb68473509baf0adc9e74a2f759d251b61b018528d5db93f77b65ac355a71ede81bec7e97f9c71a41f34a5d8625bd SHA512 258b99ef79d7efd4ec58d6a5370969b8032149f05fea4dfa841398ed59a550219f4223cd79581bc6fc4428dd9b09f44abf9f5369348831f463b9eb401a614d61 diff --git a/dev-python/clang/clang-21.1.0_rc1.ebuild b/dev-python/clang/clang-21.1.0_rc1.ebuild new file mode 100644 index 000000000000..a8dc36882a6a --- /dev/null +++ b/dev-python/clang/clang-21.1.0_rc1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python clang .github ) +LLVM_PATCHSET=${PV/_/-}-r1 +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/cmd2/cmd2-2.7.0.ebuild b/dev-python/cmd2/cmd2-2.7.0.ebuild index 286a808b2825..7f1fa86964e5 100644 --- a/dev-python/cmd2/cmd2-2.7.0.ebuild +++ b/dev-python/cmd2/cmd2-2.7.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~ppc64 ~riscv ~s390 x86" +KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv ~s390 x86" RDEPEND=" >=dev-python/pyperclip-1.8[${PYTHON_USEDEP}] diff --git a/dev-python/colorful/Manifest b/dev-python/colorful/Manifest index b8b54f8cc40a..d91228d75220 100644 --- a/dev-python/colorful/Manifest +++ b/dev-python/colorful/Manifest @@ -1,2 +1 @@ -DIST colorful-0.5.6.gh.tar.gz 366563 BLAKE2B b2c1b9b12bc5de69465ffaca9178c5ac56e0026b0ef732ab4a3a82286fd16141ec3ca397625fd00a3d041de41b34baadf1aacb185089ab0e8d5efddb7363418a SHA512 265e36c73a7ec183e4fd87d3db718b1bae353a99185eb4b1b5e057a6eda502b65672a3f0f9a569c76e6bf9342a1e2ee47fd2f4a8eaa08585f9806aa75c850661 DIST colorful-0.5.7.gh.tar.gz 366736 BLAKE2B b0bf3b1d154d4ca7788bd4b1874c99b037322435484f2e0effedc94ae7ae0cdb50bf3ca836bcc33503020a688a07d7d081138bc35cb23765deb20c6b14b38f1c SHA512 012abac14f54a1aa69a311082d0dab6b66b4bbcf787955921a9942b3506a9f242b7e09a0d067b97736db53a81b07fb4b50543314858263894e7178f3786b0685 diff --git a/dev-python/colorful/colorful-0.5.6.ebuild b/dev-python/colorful/colorful-0.5.6.ebuild deleted file mode 100644 index ef2f6f4f676e..000000000000 --- a/dev-python/colorful/colorful-0.5.6.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2019-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Terminal string styling done right, in Python" -HOMEPAGE=" - https://pypi.org/project/colorful/ - https://github.com/timofurrer/colorful/ -" -SRC_URI=" - https://github.com/timofurrer/colorful/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~x86" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -s -} diff --git a/dev-python/colorful/colorful-0.5.7.ebuild b/dev-python/colorful/colorful-0.5.7.ebuild index bb047d5522e4..0bfc6180586a 100644 --- a/dev-python/colorful/colorful-0.5.7.ebuild +++ b/dev-python/colorful/colorful-0.5.7.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/coverage/coverage-7.9.2.ebuild b/dev-python/coverage/coverage-7.9.2.ebuild index c3fe8e17e2a4..7de9976e09d6 100644 --- a/dev-python/coverage/coverage-7.9.2.ebuild +++ b/dev-python/coverage/coverage-7.9.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/django/django-4.2.23.ebuild b/dev-python/django/django-4.2.23.ebuild index 4db963f0b42d..81b0bed9ec0e 100644 --- a/dev-python/django/django-4.2.23.ebuild +++ b/dev-python/django/django-4.2.23.ebuild @@ -26,7 +26,7 @@ LICENSE="BSD" LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" -SLOT="0" +SLOT="0/$(ver_cut 1-2)" KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-5.1.11.ebuild b/dev-python/django/django-5.1.11.ebuild index 1413c36072db..f69cc5e4f756 100644 --- a/dev-python/django/django-5.1.11.ebuild +++ b/dev-python/django/django-5.1.11.ebuild @@ -25,7 +25,7 @@ LICENSE="BSD" LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" -SLOT="0" +SLOT="0/$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/django/django-5.2.4.ebuild b/dev-python/django/django-5.2.4.ebuild index 1413c36072db..f69cc5e4f756 100644 --- a/dev-python/django/django-5.2.4.ebuild +++ b/dev-python/django/django-5.2.4.ebuild @@ -25,7 +25,7 @@ LICENSE="BSD" LICENSE+=" Apache-2.0" # admin icons, jquery, xregexp.js LICENSE+=" MIT" -SLOT="0" +SLOT="0/$(ver_cut 1-2)" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos" IUSE="doc sqlite test" RESTRICT="!test? ( test )" diff --git a/dev-python/fonttools/fonttools-4.58.5.ebuild b/dev-python/fonttools/fonttools-4.58.5.ebuild index 6344f4bcd926..5c94cb5e198f 100644 --- a/dev-python/fonttools/fonttools-4.58.5.ebuild +++ b/dev-python/fonttools/fonttools-4.58.5.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 754b6925d5c6..55f71cacd458 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-6.135.25.gh.tar.gz 9592222 BLAKE2B 42538cd2fa63968ea75cc42dfa92f998d50fb92e77726c8eee42e10c94ec69ea5a682e070e3c04bfe49b229cbf03e26d4ab04ac7dabe2c34f81e217ad8491f90 SHA512 bb245d38ac9f2b0aced7890cb6c7cba4ce4b98ccb8f843afe02094a63058aad63f6c7c4ad2dcaa4af753f5823544d394875049a0b56ea2d98f84db39351a7668 DIST hypothesis-6.136.0.gh.tar.gz 9596080 BLAKE2B 65acbc8ea75e6fea22d7ee1329f68426a810b8e2fa5d31b37bb191a793a21e085d79b39de304a17979eebf3edc7202e2935e8fc3abef4e05d10aba648ff74ac9 SHA512 fb1cff6f9b6f48975928550c10bf13f9fcd48e32bb9363faf9abb204bf426ff980d6480688d06648ccc0163d0235e40b6c47ff2a1c988182ab35dc87b3434dcf +DIST hypothesis-6.136.1.gh.tar.gz 9596297 BLAKE2B d9131ab81383ca13804ed628b6a0084c63d964d9d12e91d3eaf3d94077498a4ceafac19d8dee75b95a800e134b3189b9577610b0c874dacf7c5a385ddb86f2d0 SHA512 8aef18e5a51f4a40f7dd04dcab1ba61a4dec3a9449891a1869a444cb8274e7cc71940f8412486f258ca822f74adcb3f3bee96f5ded7e464498a0fc4543b03146 diff --git a/dev-python/hypothesis/hypothesis-6.136.1.ebuild b/dev-python/hypothesis/hypothesis-6.136.1.ebuild new file mode 100644 index 000000000000..ac2579cbfd4d --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.136.1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-rerunfailures ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + python3.13t) + EPYTEST_DESELECT+=( + # TODO: missing warning + 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' + 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' + hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds + hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence + hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression + hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types + hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic + hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense + hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns + hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope + hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref + ) + ;; + esac + + # subtests are broken by warnings from random plugins + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + epytest -o filterwarnings= --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/ipython/ipython-9.4.0.ebuild b/dev-python/ipython/ipython-9.4.0.ebuild index ddca6b1aa787..15ee2ba88775 100644 --- a/dev-python/ipython/ipython-9.4.0.ebuild +++ b/dev-python/ipython/ipython-9.4.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index edb54ef7087d..8d100d2fae97 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,2 +1,3 @@ DIST jupyterlab-4.3.7.tar.gz 21827544 BLAKE2B 6aa1886b3fa9e67c8e4978e90cf5b0e84466de15ad5dfa90c07913e1141b5c24b755f9374b34b9b9bcbd6f712f3d58b72d259e969c91263859ff7e16358a296b SHA512 57301337c8ebfc22b6ad8c09468b2f2642785967f20b74060e5ee50b0a3e1eb778f92d8179535dde5564c56b34102d096c4eee05f3fd3c6f6edbcf830f2765ed DIST jupyterlab-4.4.4.tar.gz 23044296 BLAKE2B fec6a982a7eaadb8db68aa6e43c9cfb6391c54f7297609233372e21cfc0efc4c7ba87632838c00b540618129ffe85f90ca10fbbc7e786003f3fe67ccef720919 SHA512 342046a7163ee5e9aa137b89105286f104c0394d8b0a5d70e3b8e28c2df08f971cb2b472c47765e74b20c6563e59116b5dfff38f21a330c418a3e164481fd125 +DIST jupyterlab-4.4.5.tar.gz 23037079 BLAKE2B ecae32df5481876f3e5e3543fdbb3c2c09a15ca34d778c7b46b7d63d8f9151898d55278e9b9848238f47a911b22244d73b176cdebcc53ad2bd2e276ad3f037ee SHA512 b833ff6ef4b2d9bdfa30ae3f3e9b76799c2602d5a2f4766fedf9e7b1c006f58cd681bce05be29bfa0df895b4d84dd329e3f3a3d2f5a5662257c17008fd821b6c diff --git a/dev-python/jupyterlab/jupyterlab-4.4.5.ebuild b/dev-python/jupyterlab/jupyterlab-4.4.5.ebuild new file mode 100644 index 000000000000..6d5c3058cb28 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.4.5.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +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 ~loong ~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.27.1[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${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} ) +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/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 56733bbffc48..99577c43fc3e 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index aaf62b13972c..c236d706a884 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -12,4 +12,6 @@ DIST llvm-project-20.1.7.src.tar.xz 147245448 BLAKE2B f7c57d1eba4e97e875b624dec3 DIST llvm-project-20.1.7.src.tar.xz.sig 566 BLAKE2B 72ce2a18c211cfce9581a9e3e71f1c55cf18672aa355267581220e1a89e3327f9e16107970b69bb8f10f390baa5e286487bdc4cc0a7d9155ec13a4977cd3f472 SHA512 eff885059d547f57b98bda1fc9631f716ca6c650cd48203d9ed5443a6afb9a2d4d91d3f5c8618e307c0a44b3040bce61fdc6bce965073adc537655755d9f2112 DIST llvm-project-20.1.8.src.tar.xz 147242952 BLAKE2B 7657ac0b26acc5affb1bfc91b912ade3191c5d77f3979d5a80d5f6ce52f56a7d1c448bd257398390bf10838f02faa6f3ece37a7327cced69d165ec2e2e699316 SHA512 f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773 DIST llvm-project-20.1.8.src.tar.xz.sig 566 BLAKE2B 85beedfcff1195a974fab2c667b9efd4b715b3480c1b44b1b887fe32c69f72aca0d3b8fb276c03b6cc5a866622f669047aeee5ccb976640b4008ccd31dce77a4 SHA512 d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619 +DIST llvm-project-21.1.0-rc1.src.tar.xz 158955624 BLAKE2B 6a33d48f41f92cd8731011678afdf4c6f6a4581af04483626c511d1c9410d62788eb660e05cdfe418085509b576c29eec5bb07ae7ddc993e9931287657c11e03 SHA512 7ab3d1bb49bd3c5c9c1490cd865fdef027c25d64bb7f6a2a16c11c311670d08b7a214323ae4781aa0f49973deb0039ebea9d04887089df8dedf65080acdfc871 +DIST llvm-project-21.1.0-rc1.src.tar.xz.sig 438 BLAKE2B d3736b7f4bb6133e542fb3f52d1b76acc2920558e61bbbeeec6e5b7639ca54e229803b27baa4aedd2134c11fb4439064ac36e90c8c1831a503dd1754efee8da6 SHA512 6b9565f270fae4e534a160916bbd01ccd0e1295bf17df13f3be05bed4f058c0e935ba7385aba74a195d3a13868d81f2a0cf4be966b216fc6d7b56002f33eb4a0 DIST llvm-project-b6313b381ac0e83012ea11b4549cd8cb39b686d2.tar.gz 242588863 BLAKE2B 81e7db20b849ce7a5c7c6b03d1e62a2e225eb68473509baf0adc9e74a2f759d251b61b018528d5db93f77b65ac355a71ede81bec7e97f9c71a41f34a5d8625bd SHA512 258b99ef79d7efd4ec58d6a5370969b8032149f05fea4dfa841398ed59a550219f4223cd79581bc6fc4428dd9b09f44abf9f5369348831f463b9eb401a614d61 diff --git a/dev-python/lit/lit-21.1.0_rc1.ebuild b/dev-python/lit/lit-21.1.0_rc1.ebuild new file mode 100644 index 000000000000..fdf920bda34f --- /dev/null +++ b/dev-python/lit/lit-21.1.0_rc1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/multidict/multidict-6.6.3.ebuild b/dev-python/multidict/multidict-6.6.3.ebuild index 0efdad27d8bb..b3d2223726a8 100644 --- a/dev-python/multidict/multidict-6.6.3.ebuild +++ b/dev-python/multidict/multidict-6.6.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/nitrokey/Manifest b/dev-python/nitrokey/Manifest new file mode 100644 index 000000000000..5c18935b7e7b --- /dev/null +++ b/dev-python/nitrokey/Manifest @@ -0,0 +1,2 @@ +DIST nitrokey-0.2.4.gh.tar.gz 1228955 BLAKE2B 3284bd8bd52d075445e544099d70080e25c429485fc0e0a3ce7adc7ea4dfadc2de74422720cdc59939818eedbd4336f05ea398c49216daf465b4474856e9629e SHA512 b66dac46c6fc400a4d3bff0d2aa45bcda364d092797b70c1e273413600080e4dbb74634d0bf3886fe9717c2b1419ac9e5b8852147c9fa29c64eb826f37bfde7e +DIST nitrokey-0.3.2.gh.tar.gz 1234369 BLAKE2B f4024eacc4974710a6754e2091835b0d7b533d1ce44ee08d9d0287a2fc794d8c0feb8f5a5f99152c553546f740d47bbcdf11e19b4a28b88e2c13a8384de17fd4 SHA512 f49788388dda6a9f06e09fca7b68b34dfb70693e323982db92fc96a8775c67d49447cabd57d77cf2fc9075eeb5901d8260c608b5b2b3a222f9b06605d074932f diff --git a/dev-python/nitrokey/metadata.xml b/dev-python/nitrokey/metadata.xml new file mode 100644 index 000000000000..7e2d275a393e --- /dev/null +++ b/dev-python/nitrokey/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>beatussum@protonmail.com</email> + <name>Mattéo Rossillol‑‑Laruelle</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>pypi@nitrokey.com</email> + <name>Nitrokey</name> + </maintainer> + <changelog>https://github.com/Nitrokey/nitrokey-sdk-py/blob/main/CHANGELOG.md</changelog> + <bugs-to>https://github.com/Nitrokey/nitrokey-sdk-py/issues</bugs-to> + </upstream> + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/nitrokey/nitrokey-0.2.4.ebuild b/dev-python/nitrokey/nitrokey-0.2.4.ebuild new file mode 100644 index 000000000000..4fbca861e1c0 --- /dev/null +++ b/dev-python/nitrokey/nitrokey-0.2.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python SDK for Nitrokey devices" +HOMEPAGE="https://github.com/Nitrokey/nitrokey-sdk-py https://pypi.org/project/nitrokey/" +SRC_URI="https://github.com/Nitrokey/nitrokey-sdk-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/nitrokey-sdk-py-${PV}" +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/crcmod-1.7[${PYTHON_USEDEP}] + >=dev-python/cryptography-41[${PYTHON_USEDEP}] + >=dev-python/fido2-1.1.2:=[${PYTHON_USEDEP}] + >=dev-python/hidapi-0.14[${PYTHON_USEDEP}] + >=dev-python/protobuf-5.26:=[${PYTHON_USEDEP}] + >=dev-python/pyserial-3.5[${PYTHON_USEDEP}] + >=dev-python/requests-2[${PYTHON_USEDEP}] + >=dev-python/semver-3[${PYTHON_USEDEP}] + >=dev-python/tlv8-0.10[${PYTHON_USEDEP}] + >=dev-python/types-protobuf-5.26[${PYTHON_USEDEP}] + >=dev-python/types-requests-2.32[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/nitrokey/nitrokey-0.3.2.ebuild b/dev-python/nitrokey/nitrokey-0.3.2.ebuild new file mode 100644 index 000000000000..829d5c8820ca --- /dev/null +++ b/dev-python/nitrokey/nitrokey-0.3.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python SDK for Nitrokey devices" +HOMEPAGE="https://github.com/Nitrokey/nitrokey-sdk-py https://pypi.org/project/nitrokey/" +SRC_URI="https://github.com/Nitrokey/nitrokey-sdk-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/nitrokey-sdk-py-${PV}" +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/crcmod-1.7[${PYTHON_USEDEP}] + >=dev-python/cryptography-41[${PYTHON_USEDEP}] + >=dev-python/fido2-1.1.2:=[${PYTHON_USEDEP}] + >=dev-python/hidapi-0.14[${PYTHON_USEDEP}] + >=dev-python/protobuf-5.26:=[${PYTHON_USEDEP}] + >=dev-python/pyserial-3.5[${PYTHON_USEDEP}] + >=dev-python/requests-2[${PYTHON_USEDEP}] + >=dev-python/semver-3[${PYTHON_USEDEP}] + >=dev-python/tlv8-0.10[${PYTHON_USEDEP}] + >=dev-python/types-protobuf-5.26[${PYTHON_USEDEP}] + >=dev-python/types-requests-2.32[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/pillow/pillow-11.3.0.ebuild b/dev-python/pillow/pillow-11.3.0.ebuild index ec1c67c7a921..3927474b9288 100644 --- a/dev-python/pillow/pillow-11.3.0.ebuild +++ b/dev-python/pillow/pillow-11.3.0.ebuild @@ -35,7 +35,7 @@ S=${WORKDIR}/${MY_P} LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="avif examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" RESTRICT="!test? ( test )" diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 3d352634f0ce..2167512c2294 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,3 +1,4 @@ DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d DIST pipdeptree-2.26.1.tar.gz 41024 BLAKE2B 93121352931669bb343f156673ebff6cf3f7601da34f027aeaa3764f676a578ed1c5360e1a281c18ce07f870f20f594694cec0da1be8f836568400c9861c0b8a SHA512 3cb0aa2a3d07a03aa62c0da9ff0d39496e4afe4f9216c2445c36d34b1f05f5bea5030e04d89aa27f5f41cb65092ded4d949a863bc2f223f1fbbe5fdcf379af62 DIST pipdeptree-2.27.0.tar.gz 42423 BLAKE2B 1e6593bab1f0e61acbf7f0dd5b168f0afa5cf6c0bd1b49bbe92ec24d37c8051bef4a2a13944369a03a778099af78ac4a9b201c360aeb441f195c68d0126cfdc3 SHA512 4f7c5aeea24baa6a6031b456918897c17abd71ea46d661e54f21774ad90b70beb3fba50f44611e44beeadf1d9cddbc41fd0adea16a4da172a70bb3322876c297 +DIST pipdeptree-2.28.0.tar.gz 42583 BLAKE2B 2a71de5c0d0ab61866a8ffe3ee83623108a48d52a8a86c0a569600b7d3aa9dd9f99dd1faa1cc71f01f97004f4f0f6609cb25b5e265648388120def1eec1e4884 SHA512 04de6e097df3ec255e0b3ed7bc3ba3d717d3c0fb16bf2818713a332d918fe47154f0ace7ee706f6283b06d6ad41e8e8c6a24d65cefa49fda20323f22b8b43be9 diff --git a/dev-python/pipdeptree/pipdeptree-2.28.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.28.0.ebuild new file mode 100644 index 000000000000..cfa4b09122dd --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.28.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="Utility for displaying installed packages in a dependency tree" +HOMEPAGE=" + https://github.com/tox-dev/pipdeptree/ + https://pypi.org/project/pipdeptree/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/pip-23.1.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + <dev-python/virtualenv-21[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.31.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*,\?::' pyproject.toml || die + + find -name '*.py' -exec \ + sed -i -e 's:pip[.]_vendor[.]::' {} + || die +} + +python_test() { + # tests can fail if other packages are being merged simultaneously + epytest --reruns=5 +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 9b6f5c5c52f4..6d81d0c0ea4e 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,3 @@ -DIST pypdf-5.6.1.gh.tar.gz 8061244 BLAKE2B ce7aaf9e42fe9be23cd34d293cd13aeb26a34885f9934177faad52ab9e0c98065e9c77f95175429ae05a1e7b46d4b4c2bcede209e944ba671e3f097f30b51bb0 SHA512 0abfe61c240c66ba20c1f1714d02aa2d0f1d235c2ba878ac3641a585093af82ebbb925ce7df73d4649d249ba3ef48ace64b480083f669c161319bf24c1030a6a DIST pypdf-5.7.0.gh.tar.gz 8064655 BLAKE2B 07136de7c9b13a61b2b7e971d06424bcb990e249f4a0298cedaaeba7034c5ef17c003e2e2662e4a7ca30213f334f34e7e4da2beb28c6f24350ca3f924bcdc3be SHA512 b112237b5f65c01be7613564f551ec8923813c379514df6a6340327be3d764e1bc000b928c3f1083e74a3d19b73ea39b46958b5ff5bd53f370161593c2cc7b56 DIST pypdf-5.8.0.gh.tar.gz 8067499 BLAKE2B f751305906f3eb67fcea972437efd52cea4a8eeaf31ed789f30539f3f07fdcaf6ab6c4b5c61f9dc1371116019ebf58c07510ca4f9bb1c6fc255bf6c7264ac7da SHA512 f7a18f52b2c13d2471b777937834849843251c742bb25767094b2de77cf8de59ebe5ce93b9447d22d7d0d7f0bef7ad3e56dfc0b9d8ae736935229b5896e2b75f DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-5.6.1.ebuild b/dev-python/pypdf/pypdf-5.6.1.ebuild deleted file mode 100644 index d318e9a36250..000000000000 --- a/dev-python/pypdf/pypdf-5.6.1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-5.7.0.ebuild b/dev-python/pypdf/pypdf-5.7.0.ebuild index fddf379b7e4d..858df65020f2 100644 --- a/dev-python/pypdf/pypdf-5.7.0.ebuild +++ b/dev-python/pypdf/pypdf-5.7.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.20.ebuild b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.20.ebuild index 34c115d4672d..eb6b61c182a7 100644 --- a/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.20.ebuild +++ b/dev-python/pypy-exe-bin/pypy-exe-bin-7.3.20.ebuild @@ -53,7 +53,7 @@ S="${WORKDIR}" LICENSE="MIT" SLOT="${PV%_p*}" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" # sys-devel/gcc for libgcc_s.so RDEPEND=" diff --git a/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild b/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild index aa4a586c821a..ecfd6467581d 100644 --- a/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild +++ b/dev-python/pypy-exe/pypy-exe-7.3.20.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}-src" LICENSE="MIT" SLOT="${PYPY_PV}" -KEYWORDS="~amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="bzip2 +jit low-memory ncurses cpu_flags_x86_sse2" DEPEND=" diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index 5e51a62c55bd..15bc0efb9af4 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -1,4 +1,2 @@ -DIST qiskit-2.1.0-crates.tar.xz 15412164 BLAKE2B 24a65f0ec256c2f848102c039106ef0fecb33be0fb00494f0ca707285e224ade0efd1a4a6a557dc5dd7d2224924e2b94a4a4585d8a9030a310f0f1a999ac0713 SHA512 779aca54c2da20f2558f5fab2de0ee22c861f2edd88dea17e79d1f7f796eda9612bcf45a08a0647032049e67e9c467236b493cb02efcf199e2951109c316e53a -DIST qiskit-2.1.0.gh.tar.gz 7093669 BLAKE2B 9168e31826e1fa83a4424eadbdd6af5e87c88f1828d0a4a70db00fc00e94056233c530b384ce4d17947feb4610aa238518f6f05393b5d644fb038d9cccf0827d SHA512 18bf63c6ac381f1fd110cf08de0b0b7a4ea14c15c86835d6bd006d7e831d5623aec2b0cf17f4f3ac5aeb18e60d33ef245e8dd6aff4c219d3bd5033043e8900e0 DIST qiskit-2.1.1-crates.tar.xz 15412164 BLAKE2B 24a65f0ec256c2f848102c039106ef0fecb33be0fb00494f0ca707285e224ade0efd1a4a6a557dc5dd7d2224924e2b94a4a4585d8a9030a310f0f1a999ac0713 SHA512 779aca54c2da20f2558f5fab2de0ee22c861f2edd88dea17e79d1f7f796eda9612bcf45a08a0647032049e67e9c467236b493cb02efcf199e2951109c316e53a DIST qiskit-2.1.1.gh.tar.gz 7095152 BLAKE2B fa611f4a5e772ba66bc58bc2832f6779dee514b1956adfea03dc92f7745f607e0f7654d018f3b501f9f1ce740875c60b14c2d3c92142240ce324a6b91daa8f6a SHA512 7eade06c30c264979ceaffb2cd948dfea358973351165a66472150ab8e6bfc73e6c2c5107b4024352efcc01bea9beea897ac4fbc389e81df79e07e54f2673851 diff --git a/dev-python/qiskit/qiskit-2.1.0.ebuild b/dev-python/qiskit/qiskit-2.1.0.ebuild deleted file mode 100644 index 54aa4662e260..000000000000 --- a/dev-python/qiskit/qiskit-2.1.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CRATES=" -" - -inherit cargo distutils-r1 - -MY_P=${P/_} -DESCRIPTION="An open-source SDK for working with quantum computers" -HOMEPAGE=" - https://github.com/Qiskit/qiskit/ - https://pypi.org/project/qiskit/ -" -SRC_URI=" - https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz - ${CARGO_CRATE_URIS} - https://github.com/gentoo-crate-dist/qiskit/releases/download/${PV/_}/${MY_P}-crates.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT MPL-2.0 - Unicode-3.0 ZLIB -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+visualization" - -RDEPEND=" - >=dev-python/dill-0.3[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] - >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] - >=dev-python/scipy-1.5[${PYTHON_USEDEP}] - >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] - visualization? ( - >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] - >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] - >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] - <dev-python/symengine-0.14[${PYTHON_USEDEP}] - >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] - >=dev-python/sympy-1.3[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] - test? ( - app-text/poppler[png] - >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] - >=dev-python/networkx-2.2[${PYTHON_USEDEP}] - >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] - >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED=" - usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so - usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw - test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin - test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register - # tiny image differences, sigh - test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit - # TODO: failures from dill - test/python/circuit/test_parameters.py::TestParameters::test_transpiling_multiple_parameterized_circuits - test/python/compiler/test_transpiler.py::TestTranspile::test_delay_converts_expr_to_dt - test/python/compiler/test_transpiler.py::TestTranspile::test_transpile_two - test/python/transpiler/test_naming_transpiled_circuits.py::TestNamingTranspiledCircuits::test_multiple_circuits_name_list - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - test/python/transpiler/test_preset_passmanagers.py - ) - - rm -rf qiskit || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Run the Python test suite rather than everything under test/ which - # includes the 'randomized' suite. Upstream run that in a separate CI job. - epytest test/python -} diff --git a/dev-python/qiskit/qiskit-2.1.1.ebuild b/dev-python/qiskit/qiskit-2.1.1.ebuild index f7b94c4150a2..e792b54e39b7 100644 --- a/dev-python/qiskit/qiskit-2.1.1.ebuild +++ b/dev-python/qiskit/qiskit-2.1.1.ebuild @@ -7,9 +7,6 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -CRATES=" -" - inherit cargo distutils-r1 MY_P=${P/_} @@ -49,7 +46,6 @@ RDEPEND=" >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] - <dev-python/symengine-0.14[${PYTHON_USEDEP}] >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] >=dev-python/sympy-1.3[${PYTHON_USEDEP}] ) diff --git a/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild b/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild index a46dd2f1c394..827f0fdcbb99 100644 --- a/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild +++ b/dev-python/rich-argparse/rich-argparse-1.7.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~ppc64 ~riscv ~s390 x86" +KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv ~s390 x86" RDEPEND=" >=dev-python/rich-11.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index 19227f34b943..91f17104f95c 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1 +1,2 @@ DIST rq-2.4.0.tar.gz 661530 BLAKE2B bc9e379839ef281a340cc41848f351827d075e75fe303009fbec9ba285ca9c5cc9ac405e04f3d5066956b794a79b6394f5bff9bfa935a5ee3d028ee7dfd56641 SHA512 da80c91a2b632141ddf176bc6389ee2a598dc21c2115ffc3fc9166b08ce18c4c3796ed3a6627e184d0920d8354981bb5475457f66bcc9b51f0ffa0f7f2715eed +DIST rq-2.4.1.tar.gz 664540 BLAKE2B e5e8617c165c555b150fc3e8d6eacdfb697d6490cf5d972eaf78437a92d70c80e3a8c36e399e85716f30bf0a80a87f49602abc50ad98074aa228dcfb2c99ad4a SHA512 4a4dc8810f2cfda8ec7af722358ccf18b61fdd2898177224ca1d686f1d20483518419adc88027bb671bc38e605894244189c0c0c6eabbaab0550a4ae632457da diff --git a/dev-python/rq/rq-2.4.1.ebuild b/dev-python/rq/rq-2.4.1.ebuild new file mode 100644 index 000000000000..2816d39ee424 --- /dev/null +++ b/dev-python/rq/rq-2.4.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple, lightweight library for creating and processing background jobs" +HOMEPAGE=" + https://python-rq.org/ + https://github.com/rq/rq/ + https://pypi.org/project/rq/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/click-5.0[${PYTHON_USEDEP}] + >=dev-python/redis-4.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip pin + sed -i -e '/dependencies/s:,!=[0-9.]*::' pyproject.toml || die +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + local redis_test_config="daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + " + + # Spawn Redis itself for testing purposes + # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. + # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + /usr/sbin/redis-server - <<< "${redis_test_config}" || die + + # Run the actual tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # requires <sentry-sdk-2 + tests/test_sentry.py::TestSentry::test_failure_capture + # hang + tests/test_commands.py::TestCommands::test_shutdown_command + tests/test_worker_pool.py::TestWorkerPool::test_check_workers + tests/test_dependencies.py::TestDependencies + # already present in older versions + tests/test_spawn_worker.py::TestWorker::test_work_and_quit + ) + + epytest +} diff --git a/dev-python/starlette/Manifest b/dev-python/starlette/Manifest index 021289c2e163..9753c7f36ee4 100644 --- a/dev-python/starlette/Manifest +++ b/dev-python/starlette/Manifest @@ -1 +1,2 @@ DIST starlette-0.47.1.gh.tar.gz 2583032 BLAKE2B e27b59a89a937cb70cbd4df50f2f55df6c07fab318772e3afb1b3143fd57fa61c07a48df6563b61682832852ea4db5f1df3c0cbebd2fd135f8d2d16d23fe3aa9 SHA512 22744f3697448c9327bdb1a6e71f4ea7fd6c1b868bdce1eaaa797e9a8be5dbd81513ae086c7b9d23e8fbf9c57373a43990f4aacf0bebef5c4c6fb626b16d8ab2 +DIST starlette-0.47.2.gh.tar.gz 2583977 BLAKE2B dbb7dbbd8e5b7092c37d5c169d9a82c5739335bcc6766e04f0b639559b1c3b6dd12bebf6feb62fb75f16af4550864e211c9f1fe3982ca115ca8e7d6cd9fbeca0 SHA512 812ac9d3eadd41a729c1b0d3ac1d6b0f369122fed450962280de252c0e8fab73fc5944991a7453ef48f920171849bfcb797d15f64302ee3645a34ae49004ee73 diff --git a/dev-python/starlette/starlette-0.47.2.ebuild b/dev-python/starlette/starlette-0.47.2.ebuild new file mode 100644 index 000000000000..7ef1a8028545 --- /dev/null +++ b/dev-python/starlette/starlette-0.47.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="The little ASGI framework that shines" +HOMEPAGE=" + https://www.starlette.io/ + https://github.com/encode/starlette/ + https://pypi.org/project/starlette/ +" +# no docs or tests in sdist, as of 0.27.0 +SRC_URI=" + https://github.com/encode/starlette/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/anyio-5[${PYTHON_USEDEP}] + >=dev-python/anyio-3.6.2[${PYTHON_USEDEP}] + <dev-python/httpx-0.29[${PYTHON_USEDEP}] + >=dev-python/httpx-0.22.0[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] + ' 3.10 3.11) +" +BDEPEND=" + test? ( + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +: ${EPYTEST_TIMEOUT:-180} +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # Unpackaged 'databases' dependency + tests/test_database.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p anyio +} diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index 87adddefd9bb..cb87b301d726 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1,2 +1 @@ -DIST symengine.py-0.13.0.gh.tar.gz 112450 BLAKE2B b8f3d429e91ee7f7ddd1f916850e9798b5d3b0ca815869db5e2c28c253d9f0bb44e84b7be91ca6ed1a822cb7a1f747194973c0bf6b6776767e18f193d69d7a5a SHA512 bbdb88900c97f237f5ce8353059e0d5213325aeaa0f0d546959ddd40e47d138a4b295a761ea2150085268782b7257c082b5b409f2e559f1b6a5845b460072386 DIST symengine.py-0.14.1.gh.tar.gz 113167 BLAKE2B d773d3f65cedf3eedb38e750ee7b7c5158d5921011231990079f249bf6eb50f3e7be59df189e69ea885065d7225f1e5c68b01ceaaa50306b5cda6e779cb3739f SHA512 33ec5a1d9ad41d0f5752c65c0323cb162949922b000db31f3a9754eaad6b222fb6ba753db878c8c2979ace2b2845344b345360dd1752093a1580126632a42c34 diff --git a/dev-python/symengine/symengine-0.13.0.ebuild b/dev-python/symengine/symengine-0.13.0.ebuild deleted file mode 100644 index d83c25676291..000000000000 --- a/dev-python/symengine/symengine-0.13.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=symengine.py-${PV} -DESCRIPTION="Python wrappers to the symengine C++ library" -HOMEPAGE=" - https://github.com/symengine/symengine.py/ - https://pypi.org/project/symengine/ -" -SRC_URI=" - https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" - -BDEPEND=" - dev-build/cmake - dev-python/cython[${PYTHON_USEDEP}] - test? ( - dev-python/sympy[${PYTHON_USEDEP}] - ) -" -# See bug #786582 for symengine constraint -# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt -DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - =sci-libs/symengine-$(ver_cut 1-2)* -" -RDEPEND=" - ${DEPEND} -" - -# The C library installs the same docs -DOCS=() - -distutils_enable_tests pytest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -} diff --git a/dev-python/tlv8/Manifest b/dev-python/tlv8/Manifest new file mode 100644 index 000000000000..2fdb58675ffa --- /dev/null +++ b/dev-python/tlv8/Manifest @@ -0,0 +1 @@ +DIST tlv8-0.10.0.gh.tar.gz 23088 BLAKE2B f66f4f5c678a0bdd7ca45878841739aad53eb119bf184ac4665e280611eb286cefa3a99355580793f97fe6a89580291cea812019e49ec64aad420fb6c4843c25 SHA512 46c1e85f5a9aec80771d0a3a56ebe72cd09f531f221dd015c0486fc1986d3a5624bcb2533850c88db9d7b462993820012e7c04c641f0d3e0e1466cb2ea12d94f diff --git a/dev-python/tlv8/metadata.xml b/dev-python/tlv8/metadata.xml new file mode 100644 index 000000000000..ce17a6224fda --- /dev/null +++ b/dev-python/tlv8/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>beatussum@protonmail.com</email> + <name>Mattéo Rossillol‑‑Laruelle</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>joachim@lusiardi.de</email> + <name>Joachim Lusiardi</name> + </maintainer> + <changelog>https://github.com/jlusiardi/tlv8_python/blob/master/CHANGES.md</changelog> + <bugs-to>https://github.com/jlusiardi/tlv8_python/issues</bugs-to> + </upstream> + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/tlv8/tlv8-0.10.0.ebuild b/dev-python/tlv8/tlv8-0.10.0.ebuild new file mode 100644 index 000000000000..a8534f0db9b6 --- /dev/null +++ b/dev-python/tlv8/tlv8-0.10.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Type-Length-Value8 (TLV8) for python" +HOMEPAGE="https://github.com/jlusiardi/tlv8_python https://pypi.org/project/tlv8/" +SRC_URI="https://github.com/jlusiardi/tlv8_python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}_python-${PV}" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( + CHANGES.md + README.md +) + +distutils_enable_tests pytest diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index eacf53d46d8b..5c5521a5a2f0 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1 +1,2 @@ DIST tox-4.26.0.tar.gz 197260 BLAKE2B be05b52e88e3a3d0484203cb893af25e6e6e6f3719cf9e8d5cecf5343e22382b86676345ce00219d599353330ade897f710daf4976e48c2d7277664094a263c9 SHA512 ad2e311cd63c45a079b8c230a2feb364270b7a8bcf44b626385f8e442c6683ae841b3f34417b504f927608685a254fef3767d832fb5cfcc324c9cbf6ff7ea997 +DIST tox-4.28.0.tar.gz 199516 BLAKE2B a62b4b52e2e053d4808535b2e3e6d53e784e3fb2a18c61f564d8b2f2beff7748f3a648b75819ddd7b0b357a2539e76df4b3a9ddbfffb05be41bb15816db30a5a SHA512 fa8c24267d4b75a456984b5d0071fb73f6de2e4a556f356a09793096f3b71ad44cdca1ba1c4d1547f7e0b8fbe34f6d5dd56fd21d5f9befb232c84a460bf2b5a5 diff --git a/dev-python/tox/tox-4.28.0.ebuild b/dev-python/tox/tox-4.28.0.ebuild new file mode 100644 index 000000000000..40f54eaddd32 --- /dev/null +++ b/dev-python/tox/tox-4.28.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +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 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/chardet[${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/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,xdist} ) +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 + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + case ${EPYTHON} in + python*) + local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" time-machine ) + ;; + pypy3*) + EPYTEST_DESELECT+=( + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[constraints-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[explicit+requirements-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_indirect-True-True]' + 'tests/tox_env/python/pip/test_pip_install.py::test_constrain_package_deps[requirements_constraints_indirect-True-True]' + ) + ;; + esac + + epytest -o addopts= +} diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index a0d5a62778da..41071d4d2bb2 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -1,3 +1,4 @@ DIST tree-sitter-0.23.0.gh.tar.gz 167761 BLAKE2B 694e90f608f51fe4f9add476cd5ebcd0ce04a7b027efc4948ce49a6cc0f05ebf4f15e0fe3f365f89f3e04cfec542cb3f1db1e5b05ff7ca23d3134561ea3dcf36 SHA512 67a6f3359c6283c58afcdbe5b6a521cdfcf2585a5361fb69a55eff82941726a143528a402e6d609286d8846c77e20d0a38551525d761e35abb21045ad9c5a2f8 DIST tree-sitter-0.23.1.gh.tar.gz 168079 BLAKE2B fe3f8d9dae426d7771eab7775d78a0af72e59bf3448005cec1e597a3263b2ac89d7b2c1a80aa12da42db54b242da10d0395673412257d57dff557b2cf4763869 SHA512 39ed2d5d8a737bd72d539701a2dab5abc501b151a3666180f127645895582757eba2ec98607bbeb07bf90377fccad4a93cb385ce16565ed3420908129cea4f57 DIST tree-sitter-0.24.0.gh.tar.gz 170141 BLAKE2B 3d7f076f947192105be2fc9d93831eb331c1ec189619f6db860db8b6b6c1f2f33cd03edf315c09a5de6637d870351d06d5507d9c0de8a4dadc4e9e863ac233e8 SHA512 471d605cc29bcf7fd228eefe8a3bc2dd39c163d584e941cfd8ac0e498ff1815c7cadb9a7a45c643f704b8c9f12932bcc53597c835e23b5988da087f9a6a59067 +DIST tree-sitter-0.25.0.gh.tar.gz 173820 BLAKE2B 63dbb9992fb6c4212a7a7cffd44b852d94d78a9699ec856807ce333ac494409f7dcd5cf3d8b0fdfa03c03a484ed3d5b0ee51c3847667474a04c811ae561f0918 SHA512 357a0aa1c9393f9ec1a056e87b54e5178abbd6b2525a863b2ed5ba788337a9ae555a52092fe89803215487d324e287f2c2cbe2d60f878e1c053cf6b41a387eeb diff --git a/dev-python/tree-sitter/tree-sitter-0.25.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.25.0.ebuild new file mode 100644 index 000000000000..cee8a94c10aa --- /dev/null +++ b/dev-python/tree-sitter/tree-sitter-0.25.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings to the Tree-sitter parsing library" +HOMEPAGE=" + https://github.com/tree-sitter/py-tree-sitter/ + https://pypi.org/project/tree-sitter/ +" +SRC_URI=" + https://github.com/tree-sitter/py-tree-sitter/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/py-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# setuptools is needed for distutils import +DEPEND=">=dev-libs/tree-sitter-0.25.0:=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' 3.12 3.13) +" +BDEPEND=" + test? ( + >=dev-libs/tree-sitter-html-0.23.2[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-javascript-0.23.1[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-json-0.24.8[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-python-0.23.6[python,${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-rust-0.23.2[python,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-0.22.2-unbundle.patch +) + +src_unpack() { + default + rmdir "${S}/tree_sitter/core" || die +} + +src_test() { + rm -r tree_sitter || die + distutils-r1_src_test +} diff --git a/dev-python/truststore/truststore-0.10.1.ebuild b/dev-python/truststore/truststore-0.10.1.ebuild index 5220c92d5257..4174216abf46 100644 --- a/dev-python/truststore/truststore-0.10.1.ebuild +++ b/dev-python/truststore/truststore-0.10.1.ebuild @@ -28,20 +28,13 @@ RESTRICT="test" BDEPEND=" test? ( dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-{asyncio,httpserver,rerunfailures} ) distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_httpserver -} diff --git a/dev-python/usb-monitor/Manifest b/dev-python/usb-monitor/Manifest new file mode 100644 index 000000000000..1e80531fa35a --- /dev/null +++ b/dev-python/usb-monitor/Manifest @@ -0,0 +1 @@ +DIST usb_monitor-1.23.tar.gz 13513 BLAKE2B 16f81f93ec8e3e21d5cfb05b3d98553c640a61176ab2e7777004606234c62cdf8a52cf7dafcc7a26e74b4019464ffe9097acedac1231870be86929fe05b235bf SHA512 0ed1f4fa34aa68116a59c42d5cedde866b8696cdbb20f42eca47c9cb714c3e5eb394fac7ccb5e115385c4890c61bcb9af09faac452cd685f09662fdaa2a3df2c diff --git a/dev-python/usb-monitor/metadata.xml b/dev-python/usb-monitor/metadata.xml new file mode 100644 index 000000000000..874cda06bf20 --- /dev/null +++ b/dev-python/usb-monitor/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>beatussum@protonmail.com</email> + <name>Mattéo Rossillol‑‑Laruelle</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>elcorreodeharu@gmail.com</email> + <name>Eric Cañas</name> + </maintainer> + <bugs-to>https://github.com/Eric-Canas/USBMonitor/issues</bugs-to> + </upstream> + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/usb-monitor/usb-monitor-1.23.ebuild b/dev-python/usb-monitor/usb-monitor-1.23.ebuild new file mode 100644 index 000000000000..6fe9246a6dff --- /dev/null +++ b/dev-python/usb-monitor/usb-monitor-1.23.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An easy-to-use cross-platform library for USB device monitoring" +HOMEPAGE="https://github.com/Eric-Canas/USBMonitor https://pypi.org/project/usb-monitor/" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/pyudev[${PYTHON_USEDEP}]" diff --git a/dev-python/uv-build/Manifest b/dev-python/uv-build/Manifest index fbece59e17d8..9ebff1a05ce3 100644 --- a/dev-python/uv-build/Manifest +++ b/dev-python/uv-build/Manifest @@ -1,5 +1,2 @@ -DIST uv_build-0.7.13.tar.gz 310547 BLAKE2B 37a07d3aae9e5c1a1d8c187157473ab4c0bc65779751d2848c2d46228cef9ccb1b7e040f3330f3660b163a5fbf84acbd2433371d7d05014e53716297762bfe24 SHA512 44026e1139c95d082871a93d7d456684b07aa0b8f34609aabf1b7a74a81431a6811973e141cdc98c377b65e06b8ed56c6ca2393688132b6813363a00e622a911 DIST uv_build-0.7.19.tar.gz 311467 BLAKE2B a7e85c3bbaee786ed9729b1331e5506eeb95d4ee875502814555956611449501f6b1c62284945640a2ce95f225a1b1c151b47d17c0d303599fe69bffc4ab8e5c SHA512 c3bc554dd9d86bfdb1e9ebf042d8c00987a790da9d386eb371dcc1bc7cd1c0000ae69a4d1e5f1759ed723d78eed73a461bae26d5047bdb0c0bb75f450fdc009a -DIST uv_build-0.7.20.tar.gz 312893 BLAKE2B 0d675422d95cebebb25241b2d09568d7ca978c7598c5148841abbc228980d0bdd4ef6af977e4258e438474311d3ad13fdecb6c213b21bb4022d4b986ffc69cbd SHA512 bc2ef4f11af2c35e442b8ebc9c0edd0354924007d5d5151a6d3509c827fa3cc0702d372cc2129d4ebe3b98187c151cd30833f15a9cf59955901fcd6209f169b0 -DIST uv_build-0.7.21.tar.gz 314858 BLAKE2B 401135336e5ea8a58263562b398a2f0fd4d1ad8bf81b576d53d7006cc2c19042206fa2557ccf63cef132acd1b76b2ad8c39ebc8b997f35dbc8f8fe316738fca5 SHA512 51a285944e50ce7448e668f7f3c2209a51d9a62841bf8e2f5b0b9eeb355b75ff64e5d61d94c6974369119c0d654600d0f07637b41e35a81bac56d5de5730f6bf DIST uv_build-0.7.22.tar.gz 314318 BLAKE2B e8118eda79bd6bea375a2b19d87a0d9c2da8e1fe1fb24668ccfe79364b92a01aedcb1e73bc625c9e1d010e7ed4742c3a4add827dc497ee18312664c4343b67be SHA512 185d6b5a9e0440a1354cd9ce638522e9b2a27cc075a5022d95c63fd96b861bf50615156d7f64144b7fb657e2ddb3fe1b0fd8fd38fd6c0adabffacbdc43d6f292 diff --git a/dev-python/uv-build/uv-build-0.7.13.ebuild b/dev-python/uv-build/uv-build-0.7.13.ebuild deleted file mode 100644 index 6156796bc3d2..000000000000 --- a/dev-python/uv-build/uv-build-0.7.13.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.7.20.ebuild b/dev-python/uv-build/uv-build-0.7.20.ebuild deleted file mode 100644 index 6156796bc3d2..000000000000 --- a/dev-python/uv-build/uv-build-0.7.20.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv-build/uv-build-0.7.21.ebuild b/dev-python/uv-build/uv-build-0.7.21.ebuild deleted file mode 100644 index 6156796bc3d2..000000000000 --- a/dev-python/uv-build/uv-build-0.7.21.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maturin compiles uv-build executable for every impl, we do not want -# that, so we use another backend. And since we use another backend, -# why not dogfood it in the first place? -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="PEP517 uv build backend" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv-build/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/uv-${PV} -" -BDEPEND=" - test? ( - app-arch/unzip - dev-python/build[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # use the executable from dev-python/uv instead of building - # a largely overlapping uv-build executable (at least for now) - sed -i -e '/USE_UV_EXECUTABLE/s:False:True:' python/uv_build/__init__.py || die - - # replace the build-system section - sed -i -e '/\[build-system\]/,$d' pyproject.toml || die - cat >> pyproject.toml <<-EOF || die - [build-system] - requires = ["uv_build<9999"] - build-backend = "uv_build" - backend-path = ["src"] - EOF - - # rename to make uv-build find it - mv python src || die -} - -python_test() { - "${EPYTHON}" -m build -n || die "Self-build failed with ${EPYTHON}" - - local zip_result=$( - unzip -t "dist/uv_build-${PV}-py3-none-any.whl" || die - ) - local zip_expected="\ -Archive: dist/uv_build-${PV}-py3-none-any.whl - testing: uv_build/ OK - testing: uv_build/__init__.py OK - testing: uv_build/__main__.py OK - testing: uv_build/py.typed OK - testing: uv_build-${PV}.dist-info/ OK - testing: uv_build-${PV}.dist-info/WHEEL OK - testing: uv_build-${PV}.dist-info/METADATA OK - testing: uv_build-${PV}.dist-info/RECORD OK -No errors detected in compressed data of dist/uv_build-${PV}-py3-none-any.whl.\ -" - if [[ ${zip_result} != ${zip_expected} ]]; then - eerror ".zip result:\n${zip_result}" - eerror ".zip expected:\n${zip_expected}" - die ".whl result mismatch" - fi - - local tar_result=$( - tar -tf "dist/uv_build-${PV}.tar.gz" || die - ) - local tar_expected="\ -uv_build-${PV}/PKG-INFO -uv_build-${PV}/ -uv_build-${PV}/README.md -uv_build-${PV}/pyproject.toml -uv_build-${PV}/src -uv_build-${PV}/src/uv_build -uv_build-${PV}/src/uv_build/__init__.py -uv_build-${PV}/src/uv_build/__main__.py -uv_build-${PV}/src/uv_build/py.typed\ -" - if [[ ${tar_result} != ${tar_expected} ]]; then - eerror ".tar.gz result:\n${tar_result}" - eerror ".tar.gz expected:\n${tar_expected}" - die ".tar.gz result mismatch" - fi -} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index fd9355947bda..6bc2a7d2d618 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -2,12 +2,7 @@ DIST pubgrub-06ec5a5f59ffaeb6cf5079c6cb184467da06c9db.gh.tar.gz 99881 BLAKE2B 5f DIST reqwest-middleware-ad8b9d332d1773fde8b4cd008486de5973e0a3f8.gh.tar.gz 41975 BLAKE2B db42a68b8f0d592edc297462c19a34caa068464b9a5f307e8e1c1fdacde95cd08c5af0f73fa55ed62217dee63940a1d02a4322c5edb2c2c8a568a7e04efd80e6 SHA512 2dad83835c87cdd79e2a08c19b5024b3fdf30d1d8cd14e480e434612e856ecc20a5404881ff81d5793d3e9d5808ee3d59ce920312a86a100535009da43d7d46b DIST rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.gh.tar.gz 51763 BLAKE2B 59d053bc6692014d884a9247dea1b57a8789469ba2abbcc92ec21bb0022cbd74874afc463082156ab697aa6c80635019857a5d7e2dc150274e8b04d720518c36 SHA512 3a309566f4925b02496fcf19bc2865968edf6fb65082ca4079d2cee79e6b0353a1910c079f2afe656da0d0f6ddde5102052a221ea35a7dabc6d690a11218b20a DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 -DIST uv-0.7.13-crates.tar.xz 51866888 BLAKE2B af0c831a5c6f06f4c410e817840da82c1ef47e40ae919c097bfec3144331f7bf88031057e184ab318bc051613cd4708434167cb4eff85501a73b8bf51754c02a SHA512 5b9e6debfcfbeb3128f5d86b7771d0cc466bb06f33961e598c50c92b92885a138660f3ecf22c3ce68248eeb08df9f8cfa40edc80f0a1d3cbbf6810e0e15b6a94 -DIST uv-0.7.13.gh.tar.gz 4052607 BLAKE2B 6139335f98d4c0d1c8621eee0bbf992bffdd82a6579a87b230869050123cd9c85c6e65826cdbd293bd3c4f9db6a107a5e3ea5c089953ea3e9be02381a536e7e2 SHA512 5a8b523476071c9da83eafea3a6624e48e7ff60a1a65c551d061af3ed01d852d6dafc5c3feb1458b76c6d64eaa37e038bfe82c5a962c96f87bfe1389ad811674 DIST uv-0.7.19-crates.tar.xz 58207040 BLAKE2B 0e8761c020d5931f3ed134482fac5130b27e5e8f4a713faef225264f8f4d4a734fa6ce4a1ba97c771890ebf71549c7f6e1fe2353c6e763a60081393135091049 SHA512 1264bf6604f41902367e570615e5663850c3264753f100e3dee92be7bb83e3f9a4455727dbfdaa09ec736570d99ddf342bffed14e1ae65ddc4e362a9217d28c5 DIST uv-0.7.19.gh.tar.gz 4120134 BLAKE2B 39fc4a5e9ac753f3bd328f715ca8e3e06177ffefda73eff41e565bd58e4d0c48e2f89d5e887f8efab4de73d1d51cd37c3de106d7b29e5bd2d496e993a05d078d SHA512 c86cd70422a4ac2eb549258c1ab763e12b8cc32afb30a4ca7ec926f7b40b352468c3bf9fddb14fcf4e3c043be088211c37ee43d384d5651ca39922de927a1372 -DIST uv-0.7.20-crates.tar.xz 58360308 BLAKE2B c363158cbc522420e5314017151aab27e9a839dc7cf5aa03a7388637f40ef8e1fe6a12d32a26b42c245a7ea0528be52985b8f4dd0a293dc8ceadd07a50be2b0b SHA512 928f94a44b0f81797e6a522b0530bf176107e56b5499aecfa27820696801d7b54f68bb55caa41e31c0696b4f648ea74103f6de1d29c469d13f56b34c708636c1 -DIST uv-0.7.20.gh.tar.gz 4127300 BLAKE2B ec33a3d112e15508a7f98f7824885bc9319f0ac6197eabbc6f2b16bcb3c1efcd71f5599947c0f79060cdb95e824b783f0b69da0161a2b8cde8fc35d4aaf7263b SHA512 5a99b6fc216cf0c25865832f630487ead61a7ec313416151a7aa43c4aba08d653b8e198d537d59b6f42f30d494a3c5025fc87f96f28402f69a3a01d00c2036c2 DIST uv-0.7.21-crates.tar.xz 58688248 BLAKE2B 83bbe7dd3ffe4b7ad439ba3ce56b1ce84bad15433a03e509412da67ac3f41725b0d9d5e8fc9d15860eafb60b0d0fa9061a92fa69f06080583e7e3b31bbbf17e7 SHA512 cf2925f6083439aac2a41dff4e863681c1cb88250693f870904e7b0ed7f11399539c444da1a9a257d5092b38800f63fbeda546dd9c9fa78f43d25fb1f5c905da -DIST uv-0.7.21.gh.tar.gz 4149924 BLAKE2B 8787ec9f3b38e643919f2b3aa8ece5fd27429306933e70b9c9c5dd21f98e828da63475423f658302149bb26682b84b8821ef987e5d952858f201074d2fe0ba13 SHA512 34e7df50d8e306bd616d203846e96ad76adb0d73cf29f68fc26a79ca5bc85448aceacb8ea2b75b29ac77475ee02ba10f3ec456a43567afd871ee0c1c4b27367d DIST uv-0.7.22.gh.tar.gz 4157975 BLAKE2B 8268476d92fb7241273e31ff4b7c996c22dea3c6bb3e688c4d9e69bf3cc1562dd8dcad3bd4167c97fb2df51e6291d9ba29b9ea99b73d11ec73f994fceab2b629 SHA512 e1c4f7ba7a2c679c87840cc4a1b56bb7c4d0ecdbe14347052f96af90a4ce869627a0659ab9266b433a39f4b600711d2c64f88bd38a7d477017fc9c596194354f diff --git a/dev-python/uv/uv-0.7.13.ebuild b/dev-python/uv/uv-0.7.13.ebuild deleted file mode 100644 index 43c5ecb01801..000000000000 --- a/dev-python/uv/uv-0.7.13.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -RUST_MIN_VER="1.85.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 - ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.7.19.ebuild b/dev-python/uv/uv-0.7.19.ebuild index a29b9b8989f4..4f2959a9b534 100644 --- a/dev-python/uv/uv-0.7.19.ebuild +++ b/dev-python/uv/uv-0.7.19.ebuild @@ -48,7 +48,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" diff --git a/dev-python/uv/uv-0.7.20.ebuild b/dev-python/uv/uv-0.7.20.ebuild deleted file mode 100644 index 1cec841d381f..000000000000 --- a/dev-python/uv/uv-0.7.20.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -RUST_MIN_VER="1.85.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} diff --git a/dev-python/uv/uv-0.7.21.ebuild b/dev-python/uv/uv-0.7.21.ebuild deleted file mode 100644 index 7bf50e6c7f2a..000000000000 --- a/dev-python/uv/uv-0.7.21.ebuild +++ /dev/null @@ -1,184 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/astral-sh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%' - [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-middleware' - [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-retry' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges' -) - -RUST_MIN_VER="1.85.0" - -inherit cargo check-reqs - -CRATE_PV=${PV} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/uv/releases/download/${CRATE_PV}/uv-${CRATE_PV}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 - CDLA-Permissive-2.0 ISC MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 - ZLIB -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - dev-lang/python:3.13 - !!~dev-python/uv-0.5.0 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space - rust_pkg_setup -} - -src_prepare() { - default - - # replace upstream crate substitution with our crate substitution, sigh - local pkg - for pkg in reqwest-middleware reqwest-retry; do - local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" Cargo.toml || die - done - - # force thin lto, makes build much faster and less memory hungry - # (i.e. makes it possible to actually build uv on 32-bit PPC) - sed -i -e '/lto/s:fat:thin:' Cargo.toml || die - - # enable system libraries where supported - export ZSTD_SYS_USE_PKG_CONFIG=1 - # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? - - # remove unbundled sources, just in case - find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die - - # bzip2-sys requires a pkg-config file - # https://github.com/alexcrichton/bzip2-rs/issues/104 - mkdir "${T}/pkg-config" || die - export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} - cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die - Name: bzip2 - Version: 9999 - Description: - Libs: -lbz2 - EOF -} - -src_configure() { - local myfeatures=( - git - pypi - python - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - # work around https://github.com/astral-sh/uv/issues/4376 - local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} - local -x COLUMNS=100 - local -x PYTHONDONTWRITEBYTECODE= - # fix tests failing because of our config - local -x XDG_CONFIG_DIRS=${T} - - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install - - insinto /etc/xdg/uv - newins - uv.toml <<-EOF || die - # These defaults match Fedora, see: - # https://src.fedoraproject.org/rpms/uv/pull-request/18 - - # By default ("automatic"), uv downloads missing Python versions - # automatically and keeps them in the user's home directory. - # Disable that to make downloading opt-in, and especially - # to avoid unnecessarily fetching custom Python when the distro - # package would be preferable. Python builds can still be - # downloaded manually via "uv python install". - # - # https://docs.astral.sh/uv/reference/settings/#python-downloads - python-downloads = "manual" - - # By default ("managed"), uv always prefers self-installed - # Python versions over the system Python, independently - # of versions. Since we generally expect users to use that - # to install old Python versions not in ::gentoo anymore, - # this effectively means that uv would end up preferring very - # old Python versions over the newer ones that are provided - # by the system. Default to using the system versions to avoid - # this counter-intuitive behavior. - # - # https://docs.astral.sh/uv/reference/settings/#python-preference - python-preference = "system" - EOF -} |
