diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-27 22:42:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-27 22:42:39 +0000 |
commit | 417348c68a53a9317b6afbf343381518a405f682 (patch) | |
tree | 2436ae4cc1751690d448293f351e3fa529909437 /dev-python | |
parent | 4f5eafd9cc8e9b40e20b0a1abd96f1bcd634d0a0 (diff) |
gentoo auto-resync : 27:01:2025 - 22:42:39
Diffstat (limited to 'dev-python')
26 files changed, 494 insertions, 199 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 6759dbb6fa18..23e808db0e91 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/ensurepip-pip/Manifest b/dev-python/ensurepip-pip/Manifest index 7361343f147b..651d7afc1425 100644 --- a/dev-python/ensurepip-pip/Manifest +++ b/dev-python/ensurepip-pip/Manifest @@ -1,5 +1,7 @@ DIST pip-24.1-py3-none-any.whl 1823006 BLAKE2B ca5282b1100243cc4e391ce30d5ae7d4978987e46323b7e151c87457c4ab762f909c88ae3cb72015d09bf7c1243ddb6ad791e991093713431961962fc6fdde83 SHA512 84e8318896294e5750f30a3fa55833e5e5c802066091802e05ff94fe139c825f3fe0fb5014b899f0afd844ad1129e8d04b9fedd74a7f46a1c248dac546ab16f8 DIST pip-24.3.1-py3-none-any.whl 1822182 BLAKE2B 8ec4f45dcc84094426db053dea43d86d14d24f6f23ca8b1b094a989f08b5653a2290df24e907c3ed283a668fa6da305620b4f74a3054d67f6e048327c5f06c66 SHA512 21cb4a844b7c9216a4878639a876acdce17ffda9e7228e85e344169d548a3f4316e5ec5183a950848c7391e2a650152e4a1e1f0f020de57f895c458de5ee7b82 +DIST pip-25.0-py3-none-any.whl 1841506 BLAKE2B 35c1ca34f202f397785b3a229379e0c58c4c9733280d2283ce9c6cfd4e3190283b708f99096015b0f556e98885622cb443976763af3c077ef4bdd73403959ca4 SHA512 e6037f24540ee96016fbd59a9250692407123db0966478b5d8e50e37de157cecfedc177002e4e98e1cbcbe9fb35561d72b5d20166c2919968794033c8b688cbf EBUILD ensurepip-pip-24.1.ebuild 647 BLAKE2B 8f3844410707dc58e0e7af5db549a75ab63049e1526f2b4f491e426cc0b06bdaa07a776b9dd848a2d5444445c7b970d69d53de30d5bdb7c0bbe32639b25afe97 SHA512 77594f3adf002a04c7f49574dfe1d34b33c41e6e61cde1556459172a924453efeb34d98c2d8f11535380d85f16bdb9d3e60aecff43fed76ae91970de7d07ce54 EBUILD ensurepip-pip-24.3.1.ebuild 591 BLAKE2B fdb44063d20edead2e9844833e8f82cf2418226593fa7350133760ddecc302c8f585089f4cbde3788f252dffeb058f06fa9e227379a5f53a3ad49757a558f2ab SHA512 a031dc48118c40a32448d43a1f8a9fbdbe02b6302b95dd6ff188221ab8a1987b0d9d0d6c662e90a17669b616595ed7567fdad1ad7bd3451e34f0b96084fc9625 +EBUILD ensurepip-pip-25.0.ebuild 599 BLAKE2B b69cd5eaab658c02f1200aa1fb563d27bdf24b4f7df318f79b5ba51542adeda8f53ec3f3f8f0ad2aa02091161df9350cedf6e576c6538b366963ce8e2ddbca67 SHA512 68ae367fb34f9a12a6d578070e34c915a26f8a510e73c47ccc262760cd5caed3782e2902eba98b90aaaf95fd922e2461abc1914a9eb47eb3e355d21e8ebd9351 MISC metadata.xml 309 BLAKE2B 197e5620aab85ff590270ae6838c9188cd699943af4c9c3eeb7de92c2e9390c082eec603e63bc2bba39477586f19e58da2e5fe2d5ffe9b59b87ae5386c939df1 SHA512 c678bc8fb62f6e6850939ebff56962503bb03393572cfff7e5f7d38e8cf5ca71d8e38e402355c5f963fb718eed24bca463d7c63fede5cbb550f6f32a9c06af9e diff --git a/dev-python/ensurepip-pip/ensurepip-pip-25.0.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-25.0.ebuild new file mode 100644 index 000000000000..dcf21d3e394a --- /dev/null +++ b/dev-python/ensurepip-pip/ensurepip-pip-25.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared pip wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/pip/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/evdev/Manifest b/dev-python/evdev/Manifest index 86327ffaab6b..ae3ce5ac3b61 100644 --- a/dev-python/evdev/Manifest +++ b/dev-python/evdev/Manifest @@ -1,3 +1,6 @@ +AUX evdev-1.8.0-test.patch 780 BLAKE2B 63049c2740f39ef3b9df5adb4ae140985856e2027224bd3d540e790b2e7e5ae0d4088b64049c54f7232d8eda73b60e75059de3bc369f9a0d8bfabd5a95994dc5 SHA512 bdcd4e3795d02375262a420b792cfa4b9219486b95a7129c4c1c614fe97b792fc4b19990e04f0022b237a14420a335f17d935501c48289c0cc16fe5021d8d442 DIST python-evdev-1.7.1.gh.tar.gz 88275 BLAKE2B 334f70785411bd0e8d348ddeb0a6a728dbfd5c3604a19e7153c47d6868f76b0d3c10317230b0d6874cc14b3765d0e520d932c551842bd0d758b7a735b30ba7cb SHA512 802ba7c252a8817c60480db90b28e89b8356580d7b7f6a35725c70fcacbcabb3d3216330f6639ece940d901434cf1617d7682d344b7428fd5c5b6ab940700ff8 +DIST python-evdev-1.8.0.gh.tar.gz 47568 BLAKE2B 489ebf6eecf2a7212b67f1393e105bbb801236f039bcc2adb805049a4941fc4d064a22b0928c69fa907197c444b49e7446b7641c4b19c1ff10b1fc4ad1a0d1ab SHA512 86b2c08068863473e89f1455ff29f049786c292eaf1bdd44ad584054280aa2d40182640d67301653251ed13b2e7414bc81b7afc6b978a392d95fdce786f23e36 EBUILD evdev-1.7.1.ebuild 896 BLAKE2B f0818657d3dc94a9f19f826cd3480739ad1a8d1f2e50f2bfd672530b263e197a5ac0cff81abca19c8a87fb582672321203e7732fc2d4bb11283019b4bb07d330 SHA512 e4d071acecd059f9605917a33e25b94f73fd6a63679b85a8cd0b3bf941b70002c78feedf7f03464351ad4f06a0465fcde8efa450e6ab52e7021d37fa6d867967 +EBUILD evdev-1.8.0.ebuild 1008 BLAKE2B 601fe86a589f26fcbf434263587859c08c2bf926ef927b67c4f074c728cd1090fa5d16bc6f4baa81f57ea8c6e37705f9044855d8f88cf2656ceed027ac82ca03 SHA512 3aa8fbbffb4fb9f2831b1c1610fc42defb676dcea89451f3cc97c10a012071832d7ef3a24cb06e377a68bd85fab5b0f183f620a4c5435d001212e9883a6774a5 MISC metadata.xml 369 BLAKE2B 3db50cf2308091023bd5dd7768e1ff0af97124c5009efb710defc139b2809a804472969055cd0d120399d14b78d7da9dd92ca44b7de35fbf0e4cda2838ceb911 SHA512 1ceaa34af50744cd1108c990891c7105fa5373242b02fdd9b25718a6275b90d787a948b78ab4a17f0cfc168ba0c9f98d4c5b1e33997a0d751f7ffaed0b7189da diff --git a/dev-python/evdev/evdev-1.8.0.ebuild b/dev-python/evdev/evdev-1.8.0.ebuild new file mode 100644 index 000000000000..3998e22d71b7 --- /dev/null +++ b/dev-python/evdev/evdev-1.8.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +MY_P=python-evdev-${PV} +DESCRIPTION="Python library for evdev bindings" +HOMEPAGE=" + https://python-evdev.readthedocs.io/ + https://github.com/gvalkov/python-evdev/ + https://pypi.org/project/evdev/ +" +SRC_URI=" + https://github.com/gvalkov/python-evdev/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +distutils_enable_tests pytest + +PATCHES=( + # upstream 27eb2ff11bb6b41fa0cfcff4f80d6c26d4b65742 (post 1.8.0) + "${FILESDIR}/${P}-test.patch" +) + +EPYTEST_DESELECT=( + tests/test_uinput.py +) + +python_configure_all() { + esetup.py build_ecodes \ + --evdev-headers \ + "${ESYSROOT}/usr/include/linux/input.h:${ESYSROOT}/usr/include/linux/input-event-codes.h" +} + +src_test() { + cd tests || die + distutils-r1_src_test +} diff --git a/dev-python/evdev/files/evdev-1.8.0-test.patch b/dev-python/evdev/files/evdev-1.8.0-test.patch new file mode 100644 index 000000000000..aa155da3398a --- /dev/null +++ b/dev-python/evdev/files/evdev-1.8.0-test.patch @@ -0,0 +1,22 @@ +From 27eb2ff11bb6b41fa0cfcff4f80d6c26d4b65742 Mon Sep 17 00:00:00 2001 +From: Georgi Valkov <georgi.t.valkov@gmail.com> +Date: Sat, 25 Jan 2025 18:04:39 +0100 +Subject: [PATCH 1/2] Fix tests + +--- + tests/test_util.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_util.py b/tests/test_util.py +index 5a979df..7112927 100644 +--- a/tests/test_util.py ++++ b/tests/test_util.py +@@ -6,7 +6,7 @@ def test_match_ecodes_a(): + assert res == {1: [372, 418, 419, 420]} + assert dict(util.resolve_ecodes_dict(res)) == { + ("EV_KEY", 1): [ +- (["KEY_FULL_SCREEN", "KEY_ZOOM"], 372), ++ (("KEY_FULL_SCREEN", "KEY_ZOOM"), 372), + ("KEY_ZOOMIN", 418), + ("KEY_ZOOMOUT", 419), + ("KEY_ZOOMRESET", 420), diff --git a/dev-python/jaconv/Manifest b/dev-python/jaconv/Manifest index 4d16102920a7..d843c86b0ab4 100644 --- a/dev-python/jaconv/Manifest +++ b/dev-python/jaconv/Manifest @@ -1,4 +1,4 @@ DIST jaconv-0.4.0-nose-to-pytest.patch 9718 BLAKE2B 3c8386357c2a1359cd7885f9070138aaa743cda747869c0a4af60888def9804f0a2c57d7dc808096f3acb79bfc5ce7c7c45c3da9e9e683e597c3168c1650b1ef SHA512 4d0abc1e26f8d0652114cdd0a7bf6bd30acea5be2e8f21a956a0305ae8363d4e7734d6c082a801b5ef3d83892d53ff709737e587c5e983be76c8dfab068868ca DIST jaconv-0.4.0.gh.tar.gz 22876 BLAKE2B b37723afdf8516398608919ee5058dae9a99c4f0b258eb0a570b2f4f472637b6cd2e97c6f076b2d42cf74c0f1c1dce852f24a7effde79e8808b6f4e8b55020d8 SHA512 f435f1f61fef2ed36ee387138c767f88bf40dfb9d607b2b8bf9f88b1bbfd969d71c03464ce5b2adba2a65b5441eff6a0b88629cdff415366c2f1b8e6ea510bdf -EBUILD jaconv-0.4.0.ebuild 997 BLAKE2B 0945a27a2a09ddced5aa19c70d78d79d67731dfe274bc137509a15fa7cc1266ff2da7b73db4a80b77987ac0d8114480653f21b36ef3163d05e1ab34a39297403 SHA512 e1fe1a7cbe0f1ec615e9a2422769fb5632536619e59fb8c4741dcdbc7fe8e249cd1fa783f20b69e1b312cfcc2e34e82947f5a9b6de80e9a4d9d68ee70fff67e6 +EBUILD jaconv-0.4.0.ebuild 1001 BLAKE2B 40c3c436b236c40547739b58f41f74a8c81c1b6cb733792416fe39cb83d2092a04785363e2ce632ea7aa5559a15b2b97dda8c5db5799c375d72cb51f15416375 SHA512 ad2ed7972a5b0f2a3bd3d0eec5b455544234a31962258a0cc19c96d8ab6f43a05ded793b306654e1076ab455f98241ef8cccd46ff3f76d26c4e7da6c5b07a2f9 MISC metadata.xml 480 BLAKE2B e4332125eb3848844af1dbffb78c5bb83fe5e4fa62e01e22cc6ef8412d794d118496385b8140d1ee16868f2e9a7dc66caa0d1104565ee7765e13ca795d43a0e5 SHA512 c4a8f2a498bea2c1251be572db465d27c3dd5ec97c81eae8db656cce48bb439060b5cade498583a5bc211585312b2c486745ae759152047e4948e472f8b88765 diff --git a/dev-python/jaconv/jaconv-0.4.0.ebuild b/dev-python/jaconv/jaconv-0.4.0.ebuild index 8a9bfed0bcf4..a4f3c62e4dc4 100644 --- a/dev-python/jaconv/jaconv-0.4.0.ebuild +++ b/dev-python/jaconv/jaconv-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,7 +25,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" distutils_enable_tests pytest diff --git a/dev-python/lz4/Manifest b/dev-python/lz4/Manifest index 161e99554e0c..1d61c8ad160b 100644 --- a/dev-python/lz4/Manifest +++ b/dev-python/lz4/Manifest @@ -1,3 +1,5 @@ DIST lz4-4.3.3.tar.gz 171509 BLAKE2B 7db336fd488ca1ba6bb80ba6a6e66bf1499004bb1ba46a3451c90721d7bb76f49ac5fc5bb5f884e350a29b565a7db14fccb907da925f7b5d14474e030e967e77 SHA512 9bdacf6766cca5d1c59f0a0f795910da104ce51d4c43057c4c07fed98765881a702604d60d22a10dea937c4d683e3fcf07c26a6c7a7b5a15b45759fcedb55900 +DIST lz4-4.4.3.tar.gz 171848 BLAKE2B 54873ac48b5b43787dd45c92056af2d302e018c0b78acb56ccef50becb4073ded1dead6d02ef203b239a4699e0af4527da04a74d3550a5a36fcdc88dda98772c SHA512 b02899f3011453f77e99aa31c7dc717a7d0ca636475e9ead617196d906e3e2abcee511e84f68e9071b27227cad8ece7fb5f78c04bd8f44cc0959bb687b72e73f EBUILD lz4-4.3.3.ebuild 978 BLAKE2B e0ee20947a00ac05e43bf535d10be2bf24aba0b9637362dbcb75ecece66f3e273b89e0f84d74fc6dfcd6ec061ed4ba317a08b74c26dbac4e9caeeea666005f44 SHA512 445dc61ddc379e269dbe38dd9d1c5f7eac53934d04d4608be918ed0a0a76692027e80877ebbe54a69e9cb47e5000a17b31e0bfdce93135b1d04056f4f709c40e +EBUILD lz4-4.4.3.ebuild 982 BLAKE2B 93e5d5fd9597daf906285cfb88ee2a831dc8b9ec305b969d6ea9e7930945216c8ea866cfd0897357ba5d8882ce976a7cd916a74b394bd9c9b9cb7d3feb0926a0 SHA512 5a041490383fc693248894ec78f6e358b09be676d2daeaf03e62a80c5e5805e49cee0875a4fe73abfcec0d5f97e693c02274eca41ad58cc258cdc96261c0773c MISC metadata.xml 454 BLAKE2B b02d4acc9eb7d4fb35bf36371cb660d099c77f807fc08fc351b7e0e1d2e0199fdab82d83bb6bc31a56bfdb9a5b020b2f57aa9b89b59a7e5c22fcce554b6b0859 SHA512 a1b61eb4d3ce636b10abcff25ee3315bf5ecb3bdee58e1c45ff99f0b40717b13e3a8ec33c9abcb926bd716990a31749b1bf6729d8137b7859857318c386a8ec7 diff --git a/dev-python/lz4/lz4-4.4.3.ebuild b/dev-python/lz4/lz4-4.4.3.ebuild new file mode 100644 index 000000000000..13562005ac5c --- /dev/null +++ b/dev-python/lz4/lz4-4.4.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="LZ4 Bindings for Python" +HOMEPAGE=" + https://github.com/python-lz4/python-lz4/ + https://pypi.org/project/lz4/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + app-arch/lz4:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +# note: test suite fails with xdist +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # lz4.stream is not officially supported and not installed by default + # (we do not support installing it at the moment) + tests/stream + ) + + rm -rf lz4 || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index d57ad68ab061..5243b1dfbc36 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,5 +1,5 @@ -DIST pdm-2.22.1.tar.gz 2645872 BLAKE2B 3bb614a02cea489b6698160a7aaed3623199dc62ed3c5055d33ca084639d03fa0f4d380cf6e41fcb812e93c5606c6571250d17c85271c2f81daabfaec8224190 SHA512 335fc2eecbe3c6a63d5f4cf277a1ef6898c40190441da84282662ddd9ac45646b156544b056155bc6bfe6e0d4c4c6a454524fffb564394083eb77207db0ee414 DIST pdm-2.22.2.tar.gz 2646982 BLAKE2B 673798ac6f2658040b1b9bdf5a1e78933030bf280fb5eaeed3f2996566a9b8828ce3500c67a6810d4def4685450b68677f00155ed2530af9c5de87276cca7f58 SHA512 52ece85fd6b116ad0c74bf53f19c811308f65f507977c0e47a2ac9f8e346aa122022b07f6ebc27ea9e8eeeefbed55c266cfda9316fe8525c610bd0339acca549 -EBUILD pdm-2.22.1.ebuild 5583 BLAKE2B 7b5c65708ad93d2ed5509f17bdb65a75dc156927422b6709965b6b65e643ab32d72d41196442d263f98b90ee7e2baf7db075081af545c889c31a4ec1806f967a SHA512 e6564dd540154eb9694ecd1b67836b281c7f8476d3836fec8124a430921589ed773068e4b5123211f494e98c6c43777dba28aeb5e48a78a3595d9509a44ae25d +DIST pdm-2.22.3.tar.gz 2647179 BLAKE2B 61a2e99fabe3395d1f472cf6835a4b56fcecd02a3acf964051bde1304028db575cfcb77803922b2bf0f9f9be3864e59ae2f2f075d41e38a82fd07bdd5f9a8d22 SHA512 2d0aa9aa075e26d5184853d41e95d0427ac4c9a15ddfc00a2881a4edcd0d373d8c71efde2fd0f1f30861e07b418c577b123f53125883f6f5d424609f1c758b80 EBUILD pdm-2.22.2.ebuild 5583 BLAKE2B 908c909a910fb4b697f817592d9f153f0eb1aa1a431baa95d459806e13c0abaced3f6c5225ae9d4c67cd2d66e9af4a35094951e4e2ac81640bc0eee71d54cf9c SHA512 9f4b81dca1f7131c0d92c043af5c5b99d70ebe5036e9514d5c1053f67256d0d80c3a133f52b33e71908646773e2f8fea0571bedaa3af1b0ebed8753fa7ba9770 +EBUILD pdm-2.22.3.ebuild 5583 BLAKE2B 908c909a910fb4b697f817592d9f153f0eb1aa1a431baa95d459806e13c0abaced3f6c5225ae9d4c67cd2d66e9af4a35094951e4e2ac81640bc0eee71d54cf9c SHA512 9f4b81dca1f7131c0d92c043af5c5b99d70ebe5036e9514d5c1053f67256d0d80c3a133f52b33e71908646773e2f8fea0571bedaa3af1b0ebed8753fa7ba9770 MISC metadata.xml 474 BLAKE2B c1471e124a955920e30f73dfa43a87999c30c2bb9615590f601befcc07f7d939ec68908e67c7345fca4cb0f0524d33507aeac9936fa30d449d1dde17094048d3 SHA512 a07256061dda5a8cf8b0e15205ac36651a4e5b594fdedbfe16d1d3264e1ac42847d1dc222d2857232ac5206d67feda432751695d85d0c4c7b03fd7228db8b1ab diff --git a/dev-python/pdm/pdm-2.22.1.ebuild b/dev-python/pdm/pdm-2.22.3.ebuild index 061b5361c485..d8a8156f0d6f 100644 --- a/dev-python/pdm/pdm-2.22.1.ebuild +++ b/dev-python/pdm/pdm-2.22.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index cd969db91535..93c80af8ed63 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -4,6 +4,8 @@ AUX pip-24.1-unbundle.patch 8156 BLAKE2B 014d05bd6e5bb39a4b8a591948bba0760878b28 AUX pip-24.3.1-rich-13.8.patch 1774 BLAKE2B d0672abf384ed7e357f771109381996ae839c2bd054fbc45e86700fa3bda9f96db21775efbcdf2314e8aa92278550e1855e9d89ffa66b29e49680312bcd1f52d SHA512 82007682370c205c48751b978727983afbbe28175b6d3d9d86372c412a4fd363716a0317b9c55cd2c254e8116c5fb6f913f24f5d4822c86bcfd0d36a4f60dab8 DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92 SHA512 c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1 DIST pip-24.3.1.gh.tar.gz 9198711 BLAKE2B c70524bfedf46776d5ab8da24754e8177caac6d87cc90aa86b144c0fe9718860fe3d08823f655495c059dbece6e0ecbb2ac8e655cff3124693f64a35deac512e SHA512 9cf5f18eefd559cf27bc026e5206b0028ea77fd904a61fea9a6682b519305c962dd19170b841581bd05ff72192a9c458ec0eba173fa66db0438b046111ff5856 +DIST pip-25.0.gh.tar.gz 9224545 BLAKE2B 9606eea2b08d5220f9ed7528c14251ef20499693bdb817a2280124672860cb24111999bdb67af1107006ae4dd02c52d395fddea7e6b09dbc820a41ee8618fd50 SHA512 023db908a1da1cbbd2134bb83cc69a7a35e6d010b3f846bb8abcab14ca79a8cee4d02ead9346220e05fe137039377074c732b4bf2a9e6eee5c0d9161f1754f95 EBUILD pip-24.1.ebuild 4069 BLAKE2B 17b48996f8c982abdf73f523e35f7c4be1a1a1aa08fdea73e10054e93e5548ae48b2363110d85a0dced150435ea4ede0a7986d7114841bd73deafe4b672349d3 SHA512 e484be733a9b8caa3fc8e751f26fecd4b24571d40402d8b70ab8d4a294e249c0ccaa18c6a64ff977d64a7e7610d14be5d7666faf87447703013f0b003f0ded59 EBUILD pip-24.3.1-r2.ebuild 5981 BLAKE2B f37086c64014a5f3cf30180d5d1a68c21f6850beb54d56781135dd5b35418e73eb34afc6f695ae605e6e39534149b6f5d319e47aa2e46ca2ea392f5e079f2236 SHA512 6bbb8a69b589f82181d33e184a292c11366001cfaa30a58f2c475c09ef666b7200004ba77dae8a13581e4ab4ad5edca4a86ad7cc25176d699c86a14a8c89319d +EBUILD pip-25.0.ebuild 5711 BLAKE2B 22a2bb0b0c98892949ee69542e99c468b97b35b323cb1c18d760101aaf3cf7e98aa4cc32bc0351eec43ef455f4172e7bac689e9e764731449592ed7c8af0b49d SHA512 ff2221cde4bffdb767df5e70b2ee036e7cefff132bd3fd42ce1f79c3abbf78609652b82fa1b7e0732b7492103234a53591116928aec8fcb8abd723ea81af92a6 MISC metadata.xml 392 BLAKE2B 94ea3de1220cb9ca64ae1186597789cc83a54adfe44695932c07dd5065df0e5f9ee5078a495e3a12563b36809d781d8ab86bb6c92c485c023199d92547b74f27 SHA512 603199f6547105f3bb64f4fcaf004e9ef62fa2e0f8ec6eab56078119684b0f5119161e0f164fe02b2cf6dd6b115588c9ef77d727eeb6d138e281f1cb0bcb5de9 diff --git a/dev-python/pip/pip-25.0.ebuild b/dev-python/pip/pip-25.0.ebuild new file mode 100644 index 000000000000..8ab316566c04 --- /dev/null +++ b/dev-python/pip/pip-25.0.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# please bump dev-python/ensurepip-pip along with this package! + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="The PyPA recommended tool for installing Python packages" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +# see src/pip/_vendor/vendor.txt +RDEPEND=" + >=dev-python/cachecontrol-0.14.1[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.9[${PYTHON_USEDEP}] + >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.3.6[${PYTHON_USEDEP}] + >=dev-python/pyproject-hooks-1.2.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.9.4[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-69.5.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.2.1[${PYTHON_USEDEP}] + ' 3.10) + >=dev-python/truststore-0.10.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/pip-23.1-no-coverage.patch" + # prepare to unbundle dependencies + "${FILESDIR}/pip-24.1-unbundle.patch" + ) + + distutils-r1_python_prepare_all + + # unbundle dependencies + rm -r src/pip/_vendor || die + find -name '*.py' -exec sed -i \ + -e 's:from pip\._vendor import:import:g' \ + -e 's:from pip\._vendor\.:from :g' \ + {} + || die + + if use test; then + local wheels=( + "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl + ) + mkdir tests/data/common_wheels/ || die + cp "${wheels[@]}" tests/data/common_wheels/ || die + fi +} + +python_compile_all() { + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' + "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + # Internet + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_install.py::test_install_sdist_links + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + # broken by system site-packages use + tests/functional/test_freeze.py::test_freeze_with_setuptools + tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip + tests/functional/test_uninstall.py::test_basic_uninstall_distutils + tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers + # broken by unbundling + "tests/functional/test_debug.py::test_debug[vendored library versions:]" + tests/functional/test_debug.py::test_debug__library_versions + tests/functional/test_python_option.py::test_python_interpreter + tests/functional/test_uninstall.py::test_uninstall_non_local_distutils + ) + local EPYTEST_IGNORE=( + # requires proxy.py + tests/functional/test_proxy.py + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # unexpected tempfiles? + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + ) + ;; + esac + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_XDIST=1 + # rerunfailures because test suite breaks if packages are installed + # in parallel + epytest -m "not network" -o tmp_path_retention_policy=all \ + -p rerunfailures --reruns=5 --use-venv +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pip +} diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 23029d1a0eab..eb84747b7ac1 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -3,7 +3,9 @@ AUX pipdeptree-2.18.1-fix-pypy-7.3.14.patch 1009 BLAKE2B b887e6e3234bd07a1df87b0 DIST pipdeptree-2.18.1.tar.gz 35101 BLAKE2B e0a9bf6d85d0ab91049b557cd0c8a0a58e93e2342eb0a495ba5978ca734ec329ff363499ecf3182bdab8f01f0fe23653c0b683ec7a288b88b28d2120f0ad8a36 SHA512 ef0b3abb0fa591c92d7dca90ac449651a562adc4a87614dc6a18212274d10ca21fd09fd7e8989454eef2e265d7a1d89801b4a864892359c39bd9eca40885c2d2 DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d DIST pipdeptree-2.24.0.tar.gz 40363 BLAKE2B e0053b742c7e5cf88ce163b5ff504bda5c601e846f84769b742f5a06a298f041dacd223398f29608a91cdd0e91e523fa101d1781472e4327daf954af146e10ac SHA512 56c68f98ff401f4e1fbe7185a989f544c24740b4278fd3de9371019d4a85198a3cedfb2bc54d82fa958068e2133f8fbb326d280cd3e980537456da853c4777bc +DIST pipdeptree-2.25.0.tar.gz 40425 BLAKE2B 66ea593cfcfb026876af0a336003f551bdb0b286af8721c8a093a0939c95e26b16511aac3ecd1c3372f13f0e470a3d4bcf0691969a8d65904f35e15e5e5407a1 SHA512 87e51f48cd114b1511f32a241137fe648f80e3be1d071020dcae7f3b62245b64c823c0824e474bb320b6e69dddad68a02d8938a116b4164d1f9fdbbd84aa5f25 EBUILD pipdeptree-2.18.1-r1.ebuild 1354 BLAKE2B e038a5cb399fdce8ec9e4d228d76fdcce1de2e6395f62f91a90031bffd2da4c77de0cc2de3d433f9410c9b8f999b40bbf5dd53fea33d07e13b332f691223f68a SHA512 ef430841814440421200d052ddcee3fc94b0b303c1657d49277928382fe5846e3d6969c5423ed11f90b132360304c879cb9bdc0e063889a2b26873bd7e27ffa3 EBUILD pipdeptree-2.23.4.ebuild 1263 BLAKE2B ca34c39d8979be957e43e2620b39739b284235e2462be1dfe493c82771bbc722aa8c1e6a6ca2b071e0efe3d80b96667edf6d5fecf0dd3e33bee4e545e2a844cd SHA512 d0bf7508a7926b684c83eb5dcc2bcde10e5cbc20e64de93c838fda49762d1671a689d1ae68a442d210d8a382b3a26f9264ba8f437fe954e1ee2041448dfa7dc0 EBUILD pipdeptree-2.24.0.ebuild 1270 BLAKE2B c9b56b060834cea177a1b6937422e7e2036eebb45d38265c869a40484c7b89cf3ad219edc8dcb170b39fbf7a8c47c15da87992af7a9c3ffa020a1eb4bace3ce4 SHA512 6284d8d8c9431892b162d0805213f436b9eafed6547150864e62f4311504ac66011f284513782f46d639b0f71161daf3b551c4421ceac21ca3677c316c993923 +EBUILD pipdeptree-2.25.0.ebuild 1271 BLAKE2B 0a132df5befdfaf30511876b4143c851811890cc8d4ce9b1dd2428cccb8cd0b0f4c04f55a1f2185516e2c540cf65f8194bcb7cf944636e366ee1bcffa0435c78 SHA512 7e6da5f85d9b25c69b03bc9eab6dfcb9c1dcd79c414a686cdcf95469ccd5b9abe546312487e435478078e7aa755817985f0977759017748dd2ea159530ebf99c MISC metadata.xml 545 BLAKE2B cf435473fd95ac0a5bafe2b52ddd78e09c16eb190e3a979924525607fc7ab152e249419e3a21d246cd1354a714116c6c0953ed55d1efceafae441ee282c2b1eb SHA512 ad2e8d4e7bac53b26ea0bb5c2f65e0c9dc8d30afc8c569d73bac820b2dda6a343b96e52abd0353e3f50269fb431e46bd3b51b3768d9c24f658fd2eca6cc1ce97 diff --git a/dev-python/pipdeptree/pipdeptree-2.25.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.25.0.ebuild new file mode 100644 index 000000000000..98147073a2a0 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.25.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +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/pytest-console-scripts-1.4.1[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + <dev-python/virtualenv-21[${PYTHON_USEDEP}] + ) +" + +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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock -p console-scripts +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +} diff --git a/dev-python/pykakasi/Manifest b/dev-python/pykakasi/Manifest index 285022c958a5..0ac0272a588b 100644 --- a/dev-python/pykakasi/Manifest +++ b/dev-python/pykakasi/Manifest @@ -1,5 +1,5 @@ AUX 0001-fix-update-test-expectation.patch 818 BLAKE2B 8110378b928ddec309a61bbb93b0a79a353a713332208e4768a85dbee6293ac4fd10e9c691bafaff85b8423fc8b5f230003a68c5e21e459ca37d0824b0b9dbc9 SHA512 79ce631602cd5d66e21832aac9f6213b43f865d704ff57dcafe8adb55b95058b90f1b8dffcb8336daf052fb6f062789f8daf66eb09d809e7cc2e003b1740dca2 AUX 0001-tests-make-benchmarking-optional.patch 1519 BLAKE2B bf74a440e7009e9ddffc5e7de608c9deabb3d192c3ca9d7378fd764946c831e3e97604be4ff560d4280115810e209795cc7c72d27c739b07038d1ab1b3da2c24 SHA512 07d3ef50a59db4ac73372a0e67cd743e8dd70e172c52e2dfb1e045f6dba59825814e35065ad39bdfc2692876d32187176b0a1c5eb0df2b91c26c7b3da08fde51 DIST pykakasi-2.3.0.tar.gz 21752447 BLAKE2B 84bf946beebd6bbd156970b8f6610aacab2305dc3ace6798464a64f22a007bbe8a4fb76b43788638095ef5babbf9ac48ac9d1887e8e0a5859fc9dcb579e00281 SHA512 f1160a99b9d20d2e67aae265ca039c67d1ca3878703b10ff6cc559924094944ef01ca107ff7ad0e0c051080d337660eedbe52ac786eb12b01dfd80e06aa473b8 -EBUILD pykakasi-2.3.0.ebuild 902 BLAKE2B 7f8d74e126440206feae46d88dca6765a9094815db204ee1157b79455c0f20c740468872ea954b095a0dfdc4b1d99c419e672f15929093e8b32d463a52bc026f SHA512 df4f830a64c1657c24dc149954910662ac73decb78b6d268f60ffb036edcccc95b79a3a263735e2c55ce2e67a739a8f59dada52e9fabb1031bdc911322c0a55b +EBUILD pykakasi-2.3.0.ebuild 906 BLAKE2B c80a3cc4506bbfc50189d8f5b556a507dec0f279e00e4c3bb4e50294efdee4140757bf30b9e104cc49899177b40942b7b2ce742d6fa6efad00bd69cb0acceeda SHA512 40ab7e9d1b041a146947e3efe472f5ab4976146567e14299fa447bc98f1a57d8df6412aae8cfd8dfadebb74cc1fe4b94c22ce29c6aab655086b8fc911d1fc775 MISC metadata.xml 479 BLAKE2B 1b8f1bc64e728e2cdb713bc7e3b15cbf3d0de5a48951a1541b1b1d877b9d88c1a2e018b0416f6c7a2b512ede1a9abeb4fc906a1a6218d815774c3767ee9b392d SHA512 d025ba4db3b1ae2c5e8e4c8cbba5754b6cd5c2c40ab446a71a38a5879774afd5d609c2560e553d7ff2c800129a98523689ca228fd4a21d61ce53e32b6ef747f1 diff --git a/dev-python/pykakasi/pykakasi-2.3.0.ebuild b/dev-python/pykakasi/pykakasi-2.3.0.ebuild index dc3958635fc6..43eec56a806d 100644 --- a/dev-python/pykakasi/pykakasi-2.3.0.ebuild +++ b/dev-python/pykakasi/pykakasi-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" dev-python/deprecated[${PYTHON_USEDEP}] diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 228b48fd9e96..3c22565be297 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,6 @@ DIST pypdf-5.1.0.gh.tar.gz 8026822 BLAKE2B 068490ced3dd97d7c08fe87620b68a7363900ea4b9875b52ea525263ba9240b9ce07f1e98c2fe13167c8f9aa58f9a4280b4eb2ef899ef54efa58a8c1ce02f38c SHA512 2c13b0622fcad1faaee41e82489d12f9f2006822487412eda6108bbec68b37bfc2e94510f29eb0f3a9af788c5d99142fd64f28ed3e464ff17dbecad0442dfd2e +DIST pypdf-5.2.0.gh.tar.gz 8032194 BLAKE2B e7e9a3f5d4bb8ad5ae2158c3d00961f0b00fb12a04ea31649a24a3fb672367766b447c4aa84b06ecf3df8c32ea545f1efe6c52f786aabb3170d11c6e3ef3dde2 SHA512 8112dcf0fe5a2be97bbf940c417eff718a1fc7827fdacc7e2c1768263306441d422a2e3c84c83c757182cb595dc12ad17b2424284f8e0ec1697cfc37fc630492 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 EBUILD pypdf-5.1.0.ebuild 1660 BLAKE2B 3f48ae6da3e588de31a32bac9b5a49d3ce935b76422faecd90a859096511a76725f8569fdbd72e4b91f466387f1814e63e3638f6275ce7b4dc13f58a17a03992 SHA512 2e735e20eb7b4491d47998b1724b4ca8abe00de2096d50646f9b900c7b30fa154bbdc8e1bf16d02ed2618da32bd46a9e01c97294bd5c4c0103ee00e4fd2a2161 +EBUILD pypdf-5.2.0.ebuild 1447 BLAKE2B 0f481586e2fe8e39300a028a498467a67b4549f1169362be059e9c119b47f53a4071e46ccf9a10ebcf4311fe50e12c005327a929c1b795f1812c938964825788 SHA512 60c2689e0b0a9ffc30c112f381f877e705cec224e4e9b4f4834913f6629308a70764142ecabdca86574eb2df7c041ba1620b4ff5c4a6a30e3894032fa8290a2e MISC metadata.xml 373 BLAKE2B a829b7048eb3a95caeb1be83b6172603df6a031d40995294f2687bf3c3cb70e66fafb9ba8339d9979fc85f5936b9552963a8fcd072a20661fa78f3aa3c4b89c0 SHA512 775ac2de487f11fba1ea8d283b42b9ef56e42cd95ea11f50a06b099420e69c0567f65c506b14891ac641da90ea05ca70da4f8a3e4a028cf41bdbc823021dccfe diff --git a/dev-python/pypdf/pypdf-5.2.0.ebuild b/dev-python/pypdf/pypdf-5.2.0.ebuild new file mode 100644 index 000000000000..e788da0bac63 --- /dev/null +++ b/dev-python/pypdf/pypdf-5.2.0.ebuild @@ -0,0 +1,64 @@ +# 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_{10..13} ) + +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-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +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 EPYTEST_DESELECT=( + # rely on -Werror + # https://github.com/py-pdf/pypdf/pull/3083 + tests/test_filters.py::test_ccitparameters + tests/test_generic.py::test_name_object + tests/test_reader.py::test_decode_permissions + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest index e5220b8dec65..4ac8a752a8a3 100644 --- a/dev-python/scikit-image/Manifest +++ b/dev-python/scikit-image/Manifest @@ -1,9 +1,6 @@ -AUX scikit-image-0.24.0-py313.patch 2945 BLAKE2B 69d13d76218faed3c733b8ea88da99264913c32cc190e282a8f19a739fb0bb2d62cf5e3210d8a10ac824b1b43eb7447a29450de776524f2d4fb634fc63806d81 SHA512 643eb8269ed9af6345daa45d51470e400753876e9b7e4be147d2cd48ade109b9aee9fbc1527cc029e0d43f12aed88b45043255e175550aba8a4dde627db1a141 DIST scikit-image-data-15735b54e85c02427f07c71e6456723495034805.tar.bz2 143900901 BLAKE2B c1352e76337250fe1a9d6e07f08b6c9b1e0aed922ab8e0a3a4a1ea175f593b3375522e59550d30a22d392c34fef26d638c007c2af3d991887e02e7c68e56ebbb SHA512 d113dd258b35be710d841f9900cfbfe7103d1190b042489de88dd504b56277edac9a98fed5517e57725c5292fe26528267a06ff313bf6500b669d872c4481146 -DIST scikit_image-0.24.0.tar.gz 22693928 BLAKE2B f165f702908fe446b459de3db0ec056a4b79d7266f85bc81c991569c1e492c22d238e8553d8f035abd83d4d3c4b449304e74b55d8bf558cac977c3ea5f0c864a SHA512 becb062725b4c1f64e12a1f775175e48dbce1b989c1e8f40ec04ff79cb926740be514b9a0a68e3f9e17fb0d3c7b860c7451b91eb178bbae93521e02e3e8e92db DIST scikit_image-0.25.0.tar.gz 22696477 BLAKE2B 6a19d10c8475e4975f9648befad410362b9cdfffcb2dd39c510d79f0498f33c305374996f4492b6f8b3d267da913f8f763d8834faae1a5949363f314f0a43fbd SHA512 b8954dd74177838f93e15f3f818868cac0f463fef420c1fabc297e691ff7c6bf2b243715b562054d38ef7fa3483eebe5f95a9e045974bcee136b32a283e1902f -DIST scikit_image-0.25.0rc2.tar.gz 22697011 BLAKE2B 55fa48357343ff7663c5a956042e8914b62fe78b82085035276fb11cf10864f1d06a3f31247b766c294b91419825c3199c22b533c4e6207b5bdb152090aefbcc SHA512 4c418f6eebba394dab7d297deafc518be815be205f7701458b1adf3a9d3102c7be76ebd93d72fac78d990bfa0e06e749925c995e23315f2c23da560f93cf6867 -EBUILD scikit-image-0.24.0.ebuild 3359 BLAKE2B 9e173381f51ee0b650c6b5a03b2f443bcece4090604af6cc9ce61d7149163820e274a5a7177571628b1e980e808e1c19c2a0a555cdfdbddf2ed6b3af2cf14115 SHA512 9c720c7685a5388ff4bb33611fbcb243157597796ad880cf3975c5dd9ff0ddc68a2567f9b651b248bef5246355e3db3d719a19772c5a4628b4c2a844b4baa667 +DIST scikit_image-0.25.1.tar.gz 22697578 BLAKE2B ff4533d3d705f4dbb919578af3a976e1e09c1dadbcb26b15fe421aefe9cd1ce0d891a268844a21c47696db69470ffd6951db918496149accee47100c7d42521c SHA512 ede7fa3fdfda2440e5590a14b46b161418da3908674158b8592299d0b611913cdf4821761fcab6673470a33d178ec336d4d60d03fb9a072ed23e4f178a3eb0d8 EBUILD scikit-image-0.25.0.ebuild 3244 BLAKE2B d23333b2990fa3be199f8e207d62e2ddc8481b0394fa75cde9f282a212ef5b7be8ae452556332ded422c36df5e2d912147073fd79ef80d477c814d38a101c8b7 SHA512 bec5b3e45adebb3be880c0962b09d7c51a49ae5e749f95f5456c9a37a903518a6808cc32de023a96ec364b64ae96d7ff212a5214984aef4d3e3dd71b8464302a -EBUILD scikit-image-0.25.0_rc2.ebuild 3180 BLAKE2B e0722c6cae9732ca7279615bbacae7ac79e566e9bb1b2afc1e92c238c5fb5727315bd23eaaec98f992e93395e1fd0008fe64468cf0d91c50fca2fe890c6184b5 SHA512 f8639c139cc2dbe46241ff50010d82044f4aca1fefbd9bc84dd78144c46629fa5c5960548d8c696604bb6a93fb85059626b0bd6a2f6f4127d74c324c48a7d0fa +EBUILD scikit-image-0.25.1.ebuild 3244 BLAKE2B 5cb6789d2f5b3a648c6eebc0b59b0641294da408c49e03640395a9952495872cc15e252d19e13cc2cb2934642a97db81ba1bbe1c734de29adb4dc139c6a52add SHA512 84c1004632cdb994b7065ade14d67738a909e23cccb0fec5fbab3dbf0bd61c46d36289f4f53e2338474e14a7dbd4450003f5fae4e57bf26099f2324058704440 MISC metadata.xml 695 BLAKE2B 11487b964bde2ce1a39a8680bc3cc62045c4a7e2e17844de830d5f0e043660c431cd002a2a0fc19acb4c0262289ee280195475dd1f8b35f6a51ce0df369871f8 SHA512 fca83587d443373fc7219911900105676bdba5a7ced07ac00a9ab5cbe361d8ca1175b02b04fa53cdbde6f198a986b21f989baf32139cd76b7d1b2b78034d3142 diff --git a/dev-python/scikit-image/files/scikit-image-0.24.0-py313.patch b/dev-python/scikit-image/files/scikit-image-0.24.0-py313.patch deleted file mode 100644 index 664a2388c08e..000000000000 --- a/dev-python/scikit-image/files/scikit-image-0.24.0-py313.patch +++ /dev/null @@ -1,82 +0,0 @@ -From ee41933e3ea15769cea32a514cdaeecbe84b70b9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Edgar=20Andr=C3=A9s=20Margffoy=20Tuay?= <andfoy@gmail.com> -Date: Wed, 31 Jul 2024 11:43:59 -0500 -Subject: [PATCH] Add CI to test scikit-image against free-threaded Python 3.13 - (#7463) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -enables testing scikit-image against free-threaded Python, -this is part of the ongoing effort to test projects against the -changes proposed in PEP703 - ---------- - -Co-authored-by: Stefan van der Walt <sjvdwalt@gmail.com> -Co-authored-by: Lars GrĂ¼ter <lagru+github@mailbox.org> ---- - .github/workflows/tests.yml | 26 ++++++++++++++++++++++++++ - TODO.txt | 2 ++ - meson.build | 2 +- - skimage/measure/_regionprops.py | 9 ++++++--- - skimage/meson.build | 10 +++++++++- - skimage/transform/_geometric.py | 2 +- - skimage/util/_map_array.py | 2 +- - tools/github/before_install.sh | 6 ++++++ - 8 files changed, 52 insertions(+), 7 deletions(-) - -diff --git a/skimage/measure/_regionprops.py b/skimage/measure/_regionprops.py -index 9f34d6a1c..82a03b394 100644 ---- a/skimage/measure/_regionprops.py -+++ b/skimage/measure/_regionprops.py -@@ -1,4 +1,5 @@ - import inspect -+import sys - from functools import wraps - from math import atan2 - from math import pi as PI -@@ -1406,9 +1407,11 @@ def _parse_docs(): - import textwrap - - doc = regionprops.__doc__ or '' -- matches = re.finditer( -- r'\*\*(\w+)\*\* \:.*?\n(.*?)(?=\n [\*\S]+)', doc, flags=re.DOTALL -- ) -+ arg_regex = r'\*\*(\w+)\*\* \:.*?\n(.*?)(?=\n [\*\S]+)' -+ if sys.version_info >= (3, 13): -+ arg_regex = r'\*\*(\w+)\*\* \:.*?\n(.*?)(?=\n[\*\S]+)' -+ -+ matches = re.finditer(arg_regex, doc, flags=re.DOTALL) - prop_doc = {m.group(1): textwrap.dedent(m.group(2)) for m in matches} - - return prop_doc -diff --git a/skimage/transform/_geometric.py b/skimage/transform/_geometric.py -index 6f696e95b..56cedae63 100644 ---- a/skimage/transform/_geometric.py -+++ b/skimage/transform/_geometric.py -@@ -687,7 +687,7 @@ class ProjectiveTransform(_GeometricTransform): - - return dst[:, :ndim] - -- def __array__(self, dtype=None): -+ def __array__(self, dtype=None, copy=None): - if dtype is None: - return self.params - else: -diff --git a/skimage/util/_map_array.py b/skimage/util/_map_array.py -index 1f852fdb6..125dfb211 100644 ---- a/skimage/util/_map_array.py -+++ b/skimage/util/_map_array.py -@@ -129,7 +129,7 @@ class ArrayMap: - """Return one more than the maximum label value being remapped.""" - return np.max(self.in_values) + 1 - -- def __array__(self, dtype=None): -+ def __array__(self, dtype=None, copy=None): - """Return an array that behaves like the arraymap when indexed. - - This array can be very large: it is the size of the largest value --- -2.45.2 - diff --git a/dev-python/scikit-image/scikit-image-0.24.0.ebuild b/dev-python/scikit-image/scikit-image-0.24.0.ebuild deleted file mode 100644 index 5bffa476e8a6..000000000000 --- a/dev-python/scikit-image/scikit-image-0.24.0.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=meson-python -DISTUTILS_EXT=1 -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 optfeature pypi - -TEST_DATA_COMMIT=15735b54e85c02427f07c71e6456723495034805 -DESCRIPTION="Image processing routines for SciPy" -HOMEPAGE=" - https://scikit-image.org/ - https://github.com/scikit-image/scikit-image/ - https://pypi.org/project/scikit-image/ -" -SRC_URI+=" - test? ( - https://gitlab.com/scikit-image/data/-/archive/${TEST_DATA_COMMIT}/scikit-image-data-${TEST_DATA_COMMIT}.tar.bz2 - ) -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/imageio-2.33[${PYTHON_USEDEP}] - >=dev-python/lazy-loader-0.4[${PYTHON_USEDEP}] - >=dev-python/networkx-2.8[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23[${PYTHON_USEDEP}] - >=dev-python/pillow-9.1[${PYTHON_USEDEP}] - >=dev-python/scipy-1.9[sparse(+),${PYTHON_USEDEP}] - >=dev-python/tifffile-2022.8.12[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-python/cython-3.0.4[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-localserver[${PYTHON_USEDEP}] - ) -" - -DOCS=( CONTRIBUTORS.txt RELEASE.txt ) - -# xdist does not work with this test suite -distutils_enable_tests pytest -# There is a programmable error in your configuration file: -#distutils_enable_sphinx doc/source dev-python/numpydoc dev-python/myst-parser - -PATCHES=( - # https://github.com/scikit-image/scikit-image/pull/7463 - # stripped down to minimal 3.13 support - "${FILESDIR}/${P}-py313.patch" -) - -src_test() { - # for some reason, upstream refetches data that's already in the tarball - # sigh - mkdir -p "${HOME}/.cache/scikit-image" || die - mv skimage "${HOME}/.cache/scikit-image/${PV/_/}" || die - - # This is a true horror, sigh - local cache_dir=${HOME}/.cache/scikit-image/${PV/_/}/data - pushd "${WORKDIR}/data-${TEST_DATA_COMMIT}" >/dev/null || die - cp Tests_besides_Equalize_Otsu/add18_entropy/rank_filters_tests_3d.npz \ - Tests_besides_Equalize_Otsu/gray_morph_output.npz \ - brain.tiff cells3d.tif eagle.png \ - "${cache_dir}/" || die - cp Normal_Epidermis_and_Dermis_with_Intradermal_Nevus_10x.JPG "${cache_dir}"/skin.jpg || die - cp pivchallenge/B/B001_1.tif "${cache_dir}"/pivchallenge-B-B001_1.tif || die - cp pivchallenge/B/B001_2.tif "${cache_dir}"/pivchallenge-B-B001_2.tif || die - cp kidney-tissue-fluorescence.tif "${cache_dir}"/kidney.tif || die - cp lily-of-the-valley-fluorescence.tif "${cache_dir}"/lily.tif || die - cp astronaut_rl.npy "${cache_dir}/../restoration/tests/" || die - popd > /dev/null || die - - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # tests for downloading all data files, including these not needed - # by any actual tests - data/tests/test_data.py::test_download_all_with_pooch - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs skimage -p localserver -o xfail_strict=False -} - -pkg_postinst() { - optfeature "FITS io capability" dev-python/astropy - optfeature "GTK" dev-python/pygtk - optfeature "io plugin providing most standard formats" dev-python/imread - optfeature "plotting" dev-python/matplotlib - optfeature "wavelet transformations" dev-python/pywavelets - optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk -} diff --git a/dev-python/scikit-image/scikit-image-0.25.0_rc2.ebuild b/dev-python/scikit-image/scikit-image-0.25.1.ebuild index 7766d2714b74..385fcfede7ab 100644 --- a/dev-python/scikit-image/scikit-image-0.25.0_rc2.ebuild +++ b/dev-python/scikit-image/scikit-image-0.25.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -78,6 +78,8 @@ python_test() { # tests for downloading all data files, including these not needed # by any actual tests data/tests/test_data.py::test_download_all_with_pooch + # hangs? TODO + graph/tests/test_rag.py::test_reproducibility ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/tap-py/Manifest b/dev-python/tap-py/Manifest index 4b89abcf77e3..5d162691295e 100644 --- a/dev-python/tap-py/Manifest +++ b/dev-python/tap-py/Manifest @@ -1,3 +1,5 @@ DIST tap.py-3.1.tar.gz 133208 BLAKE2B a41e4d6e06cfc4283ea8e1df1895569a35d7041721760a16a626d99e60bde0f4b45dc517408b67c893d1eafc3aebe9e7fab4eb158d1e13a0b99a85602beaf440 SHA512 4a3b5c5fb54ee1343cfee9bc154e812066d745c020a2c3391761c3e407b7b8428412c799df4963a385e4563ffe3b31e16055cb76ab5940ab6156e57dcf4a4d3a +DIST tap_py-3.2.1.tar.gz 125390 BLAKE2B 561f55d46e3d2daca6f03f3c8bfe539b792d5853826da743726fb57d6d891d4698116af7c8cca54abff8ea43810a95eaba4e48f093e0b5033edc92d2920289b2 SHA512 231bffc49eb93f024d661b4f9e7b3bff61c84f00e31bfe25c8ac0a51d9548f31fb47c9b5d515c089c80fc748acfe5841e0be169ec9a1f6691c9509f3eacfe36d EBUILD tap-py-3.1-r1.ebuild 839 BLAKE2B e508efcec623fc4b9bf4eae8e080d0f0e383cecfcef760b2a83abe387525be116eaca1ca1ed44f77205d043a8f7e4282bd7adf90a9bebddb0672c260b95b7a15 SHA512 b8e7a9372d44b8c48602531e394848a69e7fcbac08e13c646ddefead6c468b29dc8bbd7be516065f732100aa49c4515de7e14893744ab4af83154a8a6ce6987f +EBUILD tap-py-3.2.1.ebuild 788 BLAKE2B 5f8b21fde8e2cafd51d48979fc6d388c4ea21217e46f106eb75372de2dcf4879e31971764a43d8b3ca76e8e9e71c95bea2a6e96b10de9c6b27dc749fbec6c3c6 SHA512 1376ce5f167db076e3f2dfb35a3d0abef16736230ffbdf1fff2403fd9e56be059a42cec63563d216ade8ec5472df875d9aa0ffa70f13564f94840ddeebd9c23a MISC metadata.xml 368 BLAKE2B 86f05d0c5e93193bdb928c3346c4e9dea9b3fba04afaf4c7417ea2292897248e6f21bce6e05e5183f5e763b19c929dc94e3b4f349d5e56817b58cd030d980adc SHA512 77e683438ccfb0c1866394b4118bbc09ce90144b8635ef9352ef4fcefb24840f2d1df0cfa86ef9032183bd49130fa5d7e1e87c9146cd520045061d730b47b6af diff --git a/dev-python/tap-py/tap-py-3.2.1.ebuild b/dev-python/tap-py/tap-py-3.2.1.ebuild new file mode 100644 index 000000000000..150695de1554 --- /dev/null +++ b/dev-python/tap-py/tap-py-3.2.1.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=hatchling +PYPI_PN="tap.py" +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Test Anything Protocol (TAP) tools" +HOMEPAGE=" + https://github.com/python-tap/tappy/ + https://pypi.org/project/tap.py/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +pkg_postinst() { + optfeature "YAML blocks associated with test results" \ + "dev-python/more-itertools dev-python/pyyaml" +} |