diff options
Diffstat (limited to 'dev-python')
38 files changed, 549 insertions, 178 deletions
diff --git a/dev-python/blessed/blessed-1.23.0.ebuild b/dev-python/blessed/blessed-1.23.0.ebuild index 009a460df4fb..d96a1ca9039e 100644 --- a/dev-python/blessed/blessed-1.23.0.ebuild +++ b/dev-python/blessed/blessed-1.23.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index b3359e929475..2acd09c4d1a6 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -5,3 +5,4 @@ DIST cython-3.1.7.tar.gz 3192740 BLAKE2B ed0d15e387389de3e2b35d03326032a0ca112b2 DIST cython-3.2.0.tar.gz 3267264 BLAKE2B 86aa3698f28c0859d0a846025698d4739deebdbabbf0f6bd9134b4a01fce3fce4b87b1db726c2ab490b0a41091185183f41a67424dfd555067167a4b257c6aa7 SHA512 902f8389792bfa7937f5e1c024a537561e7e0367d1e6e6eefa84ebc25e961968e95bda5095b1cf2b26e994b4b14c0a039b97df80066620c166368a3f0ebd7f4b DIST cython-3.2.1.tar.gz 3270455 BLAKE2B 10eb8e6e027b3cc594c997efed4e98ded445f666c44ff7d9d027ae32bead6826df22508bbc78241684e7dcdcbe178a70b5d909c5ab541b5c49660f961f2abe26 SHA512 b6f64b2c32c355a9c5a3586fdea768ad1924cb4b421d4395d443dadc1cf06e2fe4f3f85d237789eb0a68c9857750cbefefb022475ed7f3d8787551bea3d2fb7d DIST cython-3.2.2.tar.gz 3275797 BLAKE2B bd6b699514b099ec680d49c00f547357c76621e08e8607c24fcb98d975cd03b3d3fc9161d66775f5d02c3281c7e01e1a80d61bc56e49f9f04c52927e51a83c7f SHA512 788c05b4e2dcc5ae3f6ecfbb6a5e4bfa5c19afdfe3047ed5a34be994c7d81f165b4ee0a162c349ab2ff0912380fc2836e98e442d93ac6522f75e63a5c3522d27 +DIST cython-3.2.3.tar.gz 3276650 BLAKE2B 4f527760e1c658d0ace5b5f268e6cc73f823f3703830bf8a458f6bcd2a488eaa0d869c02358d2ec3d469b34de4f3b9b7a1c415f159dca22197c3fcb8d732856f SHA512 00bf2244da9c544fd3ea110cd1ab2aeadeb7e1df16fff4fdc926b90759c75f312c11171513d55dad6b5489f77c7c462905b789242641d6d6807b172db1a57b87 diff --git a/dev-python/cython/cython-3.1.7.ebuild b/dev-python/cython/cython-3.1.7.ebuild index 4b6e1d8c4744..2869e9fb5fc0 100644 --- a/dev-python/cython/cython-3.1.7.ebuild +++ b/dev-python/cython/cython-3.1.7.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" 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" +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" IUSE="test test-full" RESTRICT="!test? ( test )" diff --git a/dev-python/cython/cython-3.2.3.ebuild b/dev-python/cython/cython-3.2.3.ebuild new file mode 100644 index 000000000000..71a878e3883a --- /dev/null +++ b/dev-python/cython/cython-3.2.3.ebuild @@ -0,0 +1,129 @@ +# 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_FULLY_TESTED=( python3_{11..14} ) +PYTHON_TESTED=( "${PYTHON_FULLY_TESTED[@]}" pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 multiprocessing pypi toolchain-funcs + +DESCRIPTION="A Python to C compiler" +HOMEPAGE=" + https://cython.org/ + https://github.com/cython/cython/ + https://pypi.org/project/Cython/ +" + +LICENSE="Apache-2.0" +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" +IUSE="test test-full" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${RDEPEND} + test? ( + test-full? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" +) + +distutils_enable_sphinx docs \ + dev-python/jinja2 \ + dev-python/sphinx-issues \ + dev-python/sphinx-tabs + +python_compile() { + # Python gets confused when it is in sys.path before build. + local -x PYTHONPATH= + + if use elibc_musl ; then + # Workaround for bug #925318 + local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" + fi + + distutils-r1_python_compile +} + +python_test() { + # PYTHON_TESTED controls whether we expect the testsuite to + # pass at all, while PYTHON_FULLY_TESTED allows skipping before + # numpy is ported (and possibly other deps in future). + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON} (xfail)" + return + fi + + # Needed to avoid confusing cache tests + unset CYTHON_FORCE_REGEN + + tc-export CC + + local testargs=( + -vv + -j "$(makeopts_jobs)" + --work-dir "${BUILD_DIR}"/tests + + --no-examples + --no-code-style + + # Fails to find embedded.c + --exclude 'embedded' + # coverage_installed_pkg needs dev-python/pip and doesn't like + # 'externally-managed' (bug #927995), but we don't really + # want automagic test dependencies at all, so just skip + # unimportant-for-us coverage tests entirely. + --exclude 'run.coverage*' + --exclude 'Cython.Coverage' + # Automagic on dev-python/python-tests, could add this in future + --exclude 'run.test_exceptions' + # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) + # This only shows up as a failure with >=3.13. + --exclude 'subinterpreters_threading_stress_test' + + # The fix for https://github.com/cython/cython/issues/6938 + # changes these tests s.t. they break with our build layout. + --exclude 'build.depfile*' + ) + + if [[ ${EPYTHON} == pypy3* ]] ; then + testargs+=( + # Recursion issue + --exclude 'run.if_else_expr' + --exclude 'run.test_patma*' + # Slight output difference (missing '<') + --exclude 'run.cpp_exception_ptr_just_handler' + # No freethreading here + --exclude 'run.freethreaded_list_indexing_stress_test' + ) + fi + + # Keep test-full for numpy as it's large and doesn't pass tests itself + # on niche arches. + if ! use test-full || ! has "${EPYTHON/./_}" "${PYTHON_FULLY_TESTED[@]}"; then + testargs+=( + --exclude 'run.numpy*' + --exclude 'run.ufunc' + --exclude 'numpy*' + ) + fi + + "${PYTHON}" runtests.py "${testargs[@]}" || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) + distutils-r1_python_install_all +} diff --git a/dev-python/django-polymorphic/Manifest b/dev-python/django-polymorphic/Manifest index 380ab92254ba..8dc1c18f0e09 100644 --- a/dev-python/django-polymorphic/Manifest +++ b/dev-python/django-polymorphic/Manifest @@ -1,2 +1,2 @@ -DIST django-polymorphic-4.2.0.gh.tar.gz 222029 BLAKE2B 2a277dd817f24f3282f2bd1a1a302553518d12f217cd026ee95fe5d0f765159499699670f29eda28ff4407ba2e82dae431b9297b8acbd718bc4bd40a0a6f0f23 SHA512 b1be07d0527165baea32dd5b0adc03da23c6027c3ed4094e78be7807e3621addef9d4da047a49f223f186b5f60fd3bc1cea1755ad85c8308e44d0681848df445 DIST django-polymorphic-4.3.0.gh.tar.gz 240063 BLAKE2B fdb68008e8bc4cc849b60434d9e1d001a6cff2c7a4c1fb272d72bb85ec890e7d3ea8b5603007ac738c0a3f174287f2c4c4a4bc64c37a158a155597706c07f1d0 SHA512 4f0bebc8ea5d65c16baac4f6429dd992e8b628abca225c88c9d9454ab336064be142a9f519ea736c6da965c030b487f244a70450c4a688aa738d116aa95964b7 +DIST django-polymorphic-4.4.0.gh.tar.gz 248479 BLAKE2B 09aa14ee5e051ca3825bc7ad3bd342e7e9399b94acde9c7aabc4d588edf40e3dcd006618ee2346686149b6c18559b3ab4143f708422d4d88fdf6452dd55f9f8a SHA512 2befc5c90a43b6b0d05ffbf96c941de28d41bf5ee7c341f0e1e73708c70edd4515d750ed85d469daba12804d96f24eaa11754a6974c0509120cf08704dd756b2 diff --git a/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild b/dev-python/django-polymorphic/django-polymorphic-4.4.0.ebuild index d7845100be30..d7845100be30 100644 --- a/dev-python/django-polymorphic/django-polymorphic-4.2.0.ebuild +++ b/dev-python/django-polymorphic/django-polymorphic-4.4.0.ebuild diff --git a/dev-python/find-libpython/Manifest b/dev-python/find-libpython/Manifest index cfa9b25b62c7..c6e6fb3c7814 100644 --- a/dev-python/find-libpython/Manifest +++ b/dev-python/find-libpython/Manifest @@ -1 +1 @@ -DIST find_libpython-0.4.0.tar.gz 8979 BLAKE2B 934d53ff9e04066fcd03c5e019eb00e64a1089e9811b3f181ed8947c330cbf13631cd6a197edfc525cb22b1cf126085f10e6df4faf5579bf8022285802929cb3 SHA512 259a5e85ab6e33e17a3b26f3752118e8b0d33f2d4844f7b7fd957ad0d2bb53f290c62d4d9d26cb93321e0b6de772b4052173f922ea978ed458da332fb667e342 +DIST find_libpython-0.5.0.tar.gz 9364 BLAKE2B 0b8f065a38c8dbd08d757a439c1e1134c7727d326a96f1eaedc6dfc9a7169836dae86356afed5b9a56b9b57ece74ddd73fbaf407de71b013cffa10835713b186 SHA512 8745f17117b1beecb49a0c2c5eb755233de1e59a496867ed1b4d139d687a24351a655fc39d53093c41ba0444e444d01be9c0c91c75b3fe0539f721e0a6d85759 diff --git a/dev-python/find-libpython/files/find-libpython-0.4.0-fix-license-qa.patch b/dev-python/find-libpython/files/find-libpython-0.4.0-fix-license-qa.patch deleted file mode 100644 index 814822fe01a7..000000000000 --- a/dev-python/find-libpython/files/find-libpython-0.4.0-fix-license-qa.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 3570824dfd3115d53523beeac6f346c279ddc569 Mon Sep 17 00:00:00 2001 -From: Huang Rui <vowstar@gmail.com> -Date: Thu, 3 Apr 2025 16:17:42 +0800 -Subject: [PATCH] fix(setup): Update deprecated license classifier in setup.cfg - -- Remove deprecated MIT License classifier from setup.cfg -- Keep remaining classifiers for Python 3 and software development - -Signed-off-by: Huang Rui <vowstar@gmail.com> ---- - setup.cfg | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/setup.cfg b/setup.cfg -index 7f50ce27c5dc..b519197c7055 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -12,7 +12,6 @@ - keywords = - libpython - classifiers = -- License :: OSI Approved :: MIT License - Programming Language :: Python :: 3 - Topic :: Software Development :: Libraries - - --- -2.49.0 - diff --git a/dev-python/find-libpython/find-libpython-0.4.0.ebuild b/dev-python/find-libpython/find-libpython-0.5.0.ebuild index 2484b2fa10dd..b3b4debf8e3b 100644 --- a/dev-python/find-libpython/find-libpython-0.4.0.ebuild +++ b/dev-python/find-libpython/find-libpython-0.5.0.ebuild @@ -14,8 +14,4 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -PATCHES=( - "${FILESDIR}/find-libpython-0.4.0-fix-license-qa.patch" -) - distutils_enable_tests pytest diff --git a/dev-python/grpclib/Manifest b/dev-python/grpclib/Manifest index 5d9a5cbdc1a0..e88f1764213c 100644 --- a/dev-python/grpclib/Manifest +++ b/dev-python/grpclib/Manifest @@ -1 +1,2 @@ DIST grpclib-0.4.8.gh.tar.gz 106522 BLAKE2B df4a4eadfdaece1bc65e27a2ef82562fd095e184c7118da078383afe8a8a03a2e389bdb2466c88079dfae6254c55bb9134eab35cb3c82b1c02e3da6c6a7e02e3 SHA512 f00e93e9371f68a86ce818b3c45e5c7319074163c404b36af3a183f0676fbe58722fa0cb3f119073f13f6d8b763a673e2ab292678868257f88cb834aa5bc2f71 +DIST grpclib-0.4.9.gh.tar.gz 107191 BLAKE2B d2cbd863968cde154351984ff6fe70dd1a4fec36a6689cdab8ab54d103ab435ad964960c83e09510877ef15df1a0d25d3ec7c45de53b0496aae34a4100ffc5af SHA512 7a57acca8173fa20c0ef08319415926e515daad169a4411431a97fc82ba668ddd7d013aef2144556aee6879f625abeeb67698c18b449e604284d50b445238087 diff --git a/dev-python/grpclib/grpclib-0.4.9.ebuild b/dev-python/grpclib/grpclib-0.4.9.ebuild new file mode 100644 index 000000000000..ec2194f66dc2 --- /dev/null +++ b/dev-python/grpclib/grpclib-0.4.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Pure-Python gRPC implementation for asyncio" +HOMEPAGE=" + https://github.com/vmagamedov/grpclib/ + https://pypi.org/project/grpclib/ +" +# no tests in sdist, as of 0.4.7 +SRC_URI=" + https://github.com/vmagamedov/grpclib/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +# setup.txt + requirements/runtime.in +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/googleapis-common-protos[${PYTHON_USEDEP}] + dev-python/h2[${PYTHON_USEDEP}] + dev-python/multidict[${PYTHON_USEDEP}] + dev-python/protobuf[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( faker pytest-asyncio ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # flaky leak checks + tests/test_memory.py +) diff --git a/dev-python/kicad-python/Manifest b/dev-python/kicad-python/Manifest index e32ced13f190..3e2791927093 100644 --- a/dev-python/kicad-python/Manifest +++ b/dev-python/kicad-python/Manifest @@ -1 +1,13 @@ +DIST kicad-9.0.6-board-board.proto 3326 BLAKE2B 8ff36799624dfd1de86ea5520a880c1f2a75e8a30e5a68020e6d8866984ff75573d7c7bc12684f1a13481fb1671df70f3af7b600e7b3b057b23410458ef415e0 SHA512 156b17388b873c1c92e82ad06583a6f74c4ecc24d7d7a4af1be03112be3323c1c53f959937c9c6bae329305d3ec18d9bf1a5897dd2d97d9bd0ea1d4ddcbbf16c +DIST kicad-9.0.6-board-board_commands.proto 10976 BLAKE2B 00469a279092688952cb48e6784c20844952b78d2230bac7240846c6cfb31cb4a903c57da39e4e9b7b4c515faf765802e7edafae7fb163ccd000e2971d4a5bb1 SHA512 3dcb345bea519be0d598a134de491330748e6d7ef5d42272502fa76ba0526ac65192effc830a5675c8d28de6314f211c43346c5d93b9b970842518b464ee1df0 +DIST kicad-9.0.6-board-board_types.proto 21472 BLAKE2B 8d4581f348cb7e6632a8216d5699f05d83ac157e396cc1a7af37993666630c5340f769fcbae0012da346f5988a1e371134ab4aed24665676f1e7ecb4da72bd2b SHA512 49952b4095e2b63f7fca9c0b840fd80188cd38009245f2ae8b73ce46234aeb0ecebb84e79ff83fc295615234a57d744bec7f067e6c1128a866716305d218d0c4 +DIST kicad-9.0.6-common-commands-base_commands.proto 2631 BLAKE2B c3123a1e5eeedf50e4abf65cbe255cf4613b08e21996f2ac554d6721ea94dcc37e09e9eebf133cfb50007797a467a369ca2807a3d1f77410a07cd32b58b910a8 SHA512 5735e90da9ee96f24cae041d2ad49d811be977d2c49b2910343032008cad80a79add5c59f6b33983bd67b8f922e5bfc8369240fff0e0034fb06d5464553f6ff1 +DIST kicad-9.0.6-common-commands-editor_commands.proto 11083 BLAKE2B c2cafcae991c48f7842cca2c21c78a74f34aefe73afe0ecd7b1210e9b43bf0fe3db9ed3c5e0fa1bee545210b0f583244496b8e04b85cc13c60d8c1c61c29b0da SHA512 87263b3df92bfa04892a442d55fcb4aacd1a21f214f03e5c4772becd904b33244367a548470d5736d075dd4962cbfdb959997a8e18b469c5cd01334e76dcbf6a +DIST kicad-9.0.6-common-commands-project_commands.proto 2589 BLAKE2B 5992d8bb2640d3abd2c53969f37456dd2f1ed1162bc992e88165a9ba567e6585add950d665a58a6647740edee1a3f75020451e04c8ba212f2a178716cace060c SHA512 182c8425b71d1ca8c87088bceff916b128221e593e575cd0f5c46e65a8a6c92a6376185c9e7a01ce8e245b07bb7896c869fc301eae52f41a3d59d3deba7b839b +DIST kicad-9.0.6-common-envelope.proto 3139 BLAKE2B 95d99d7f22d26ba509df66c3bf3ec8ef11478821433621a76e42ca03f9e0470312746945fa2ae0bec8e8095b309ce90dab3cd94ba247c13e883782c05858f8c8 SHA512 c2b7ee51e6016ed6ecff89fdd43b64497b710b1af6e79b9c978863aebb3b511122aca8a6a1bb23f10185ddb386b7aeeca3241e7650858c0ad4c5f4eac4dab0ed +DIST kicad-9.0.6-common-types-base_types.proto 11294 BLAKE2B 816c402a48d7330764117a07c46d7bdb0f3db475d86eb7d5c5739b234efdca205e9c49dc07faf3bd5da3757d251c86fc3575319e4e1282fc6984edf327db4c6b SHA512 55ea8c18e5e579fe8fbcefa2359ba388c3ffd5d484c250da498a71d05fdc7e61c8cef0e52833a62f2943e580229cdd8aba69bb90941d6c197f1050460d985fc1 +DIST kicad-9.0.6-common-types-enums.proto 2794 BLAKE2B b16768b9748aa35c6a42ca7b339e31b16affb5f68b7458badf4b0cab5f54e86033761faf0666d2a1f445f8a36124219f3ddd764491d6be5fb89127f31b9326e5 SHA512 e9c56f23e28ca702cb699db9523d4000787e25bf213df8a7ac144fed297dc5025961465b05e7cd652c83c7941c832406338923a7dec1b541857385a2f3c38340 +DIST kicad-9.0.6-common-types-project_settings.proto 3141 BLAKE2B 5a6b645055412406bbfe1b69a2c2cb1d2fd13384b41ed204b8977ee2960e33890704d6c871379b7ef1e952e0c0aece37cb38c3b867b854cdee249b3114abe9e2 SHA512 998d4d7e82b6c4cb4b5b10cfcdc53635806e59bf01a4fef9912d66ce30da26ab40a18c5716dfb53bc6ce0f88f085295bdee6f9e26616e595721f124dc923919e +DIST kicad-9.0.6-schematic-schematic_commands.proto 866 BLAKE2B 946b35676e26d091ed35e34331c8c3ffc55007cae5729ea7483b56caccb25de1eefb438dd16a50f731328d908d26faf516353c22acd275ca0945942645183bcf SHA512 031243204c96720f62ad25cb62731d65b9607b6237ee94ee3e28f3831f11a8845351413e5047f7fd695768efbd017094f906289cacd2302e43babd0e2151759d +DIST kicad-9.0.6-schematic-schematic_types.proto 1941 BLAKE2B 23ad01b5bd15e7030b76693dd5c80729af6c80ddf782110f3c3a02fa4274dac6f0f26a7bffa5f4456262a8c93fe25e95169395f0cbfe384e07dd50095090f7c0 SHA512 8a762f7c8a1cf8eb0b5691661bcf82c448ef34c3142f8cfe3c77a1bd9666c9704747056c6ea4e08734b7cf7370ff3bd72e1d59414e3cde3a48b79ec371a74cf9 DIST kicad_python-0.5.0.tar.gz 198708 BLAKE2B 6a4e756289de711e633f3adc07e1aaaa6820dad9c5ec6d605bf96bdc0ea74ea622394e15078268c0d1c47b73f304f99b04cb77d86a673e441b7680b3893691d2 SHA512 7d4f0d005525e6a646df0e25fb59cf93a55f9ea072821062c0384a386c382b24f9ccad204f06bc52d4f90158eefb923692497470e0a43ee2947f1b2057a73779 diff --git a/dev-python/kicad-python/kicad-python-0.5.0-r1.ebuild b/dev-python/kicad-python/kicad-python-0.5.0-r1.ebuild new file mode 100644 index 000000000000..eedf58c55118 --- /dev/null +++ b/dev-python/kicad-python/kicad-python-0.5.0-r1.ebuild @@ -0,0 +1,113 @@ +# 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_{10..14} ) +inherit distutils-r1 pypi + +DESCRIPTION="KiCad API Python Bindings for interacting with running KiCad sessions" +HOMEPAGE="https://gitlab.com/kicad/code/kicad-python https://pypi.org/project/kicad-python" + +# Proto files version should match kicad release +KICAD_TAG="9.0.6" +KICAD_PROTO_BASE="https://gitlab.com/kicad/code/kicad/-/raw/${KICAD_TAG}/api/proto" + +# List of proto files needed +PROTO_FILES=( + "board/board.proto" + "board/board_commands.proto" + "board/board_types.proto" + "common/commands/base_commands.proto" + "common/commands/editor_commands.proto" + "common/commands/project_commands.proto" + "common/envelope.proto" + "common/types/base_types.proto" + "common/types/enums.proto" + "common/types/project_settings.proto" + "schematic/schematic_commands.proto" + "schematic/schematic_types.proto" +) + +SRC_URI="$(pypi_sdist_url)" +for _p in "${PROTO_FILES[@]}"; do + SRC_URI+=" ${KICAD_PROTO_BASE}/${_p} -> kicad-${KICAD_TAG}-${_p//\//-}" +done +unset _p + +LICENSE="MIT" +SLOT=0 +KEYWORDS="~amd64" + +# Tests not included in PyPI sdist +RESTRICT="test" + +# Regenerate protobuf files at build time to match system protobuf version +# Use := slot operator to trigger rebuild when protobuf is upgraded +RDEPEND=" + >=dev-python/protobuf-5.29:=[${PYTHON_USEDEP}] + >=dev-python/pynng-0.8.0[${PYTHON_USEDEP}] + <dev-python/pynng-0.9.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] + ' python3_{10..12}) +" +BDEPEND=" + ${RDEPEND} + dev-libs/protobuf[protoc(+)] +" + +src_prepare() { + # Remove build script config from pyproject.toml + sed -i '/\[tool.poetry.build\]/,/^$/d' pyproject.toml || die + rm -f setup.py build.py || die + + # Setup proto source directory + local proto_src="${WORKDIR}/proto" + mkdir -p "${proto_src}"/{board,common/commands,common/types,schematic} || die + + # Copy downloaded proto files to proper structure + local _p _f + for _p in "${PROTO_FILES[@]}"; do + _f="kicad-${KICAD_TAG}-${_p//\//-}" + cp "${DISTDIR}/${_f}" "${proto_src}/${_p}" || die + done + + einfo "Regenerating protobuf files with system protoc..." + + # Remove only pre-generated _pb2.py and _pb2.pyi files, keep __init__.py + find "${S}"/kipy/proto -name '*_pb2.py' -delete || die + find "${S}"/kipy/proto -name '*_pb2.pyi' -delete || die + rm -rf "${S}"/build/lib/kipy/proto || die + + # Compile all proto files (output to temp dir first) + local proto_out="${WORKDIR}/proto_out" + mkdir -p "${proto_out}" || die + + protoc \ + --proto_path="${proto_src}" \ + --python_out="${proto_out}" \ + --pyi_out="${proto_out}" \ + "${proto_src}"/board/*.proto \ + "${proto_src}"/common/*.proto \ + "${proto_src}"/common/commands/*.proto \ + "${proto_src}"/common/types/*.proto \ + "${proto_src}"/schematic/*.proto \ + || die "protoc failed" + + # Copy only _pb2.py and _pb2.pyi files to kipy/proto, preserving original __init__.py + find "${proto_out}" \( -name '*_pb2.py' -o -name '*_pb2.pyi' \) | while read -r f; do + local rel="${f#${proto_out}/}" + cp "${f}" "${S}/kipy/proto/${rel}" || die + done + + # Fix imports: protoc generates absolute imports (e.g., "from common.types import ...") + # but kipy expects them relative to kipy.proto (e.g., "from kipy.proto.common.types import ...") + find "${S}/kipy/proto" \( -name '*_pb2.py' -o -name '*_pb2.pyi' \) -exec \ + sed -i -E \ + -e 's/^(from|import) (common|board|schematic)([ .])/\1 kipy.proto.\2\3/g' \ + {} + || die "failed to fix protobuf imports" + + distutils-r1_src_prepare +} diff --git a/dev-python/kicad-python/kicad-python-0.5.0.ebuild b/dev-python/kicad-python/kicad-python-0.5.0.ebuild deleted file mode 100644 index 98cdac326f5d..000000000000 --- a/dev-python/kicad-python/kicad-python-0.5.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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_{10..14} ) -inherit distutils-r1 pypi - -DESCRIPTION="KiCad API Python Bindings for interacting with running KiCad sessions" -HOMEPAGE="https://gitlab.com/kicad/code/kicad-python https://pypi.org/project/kicad-python" - -LICENSE="MIT" -SLOT=0 -KEYWORDS="~amd64" - -# Tests not included in PyPI sdist -RESTRICT="test" - -RDEPEND=" - >=dev-python/protobuf-5.29[${PYTHON_USEDEP}] - <dev-python/protobuf-6[${PYTHON_USEDEP}] - >=dev-python/pynng-0.8.0[${PYTHON_USEDEP}] - <dev-python/pynng-0.9.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] - ' python3_{10..12}) -" -BDEPEND="${RDEPEND}" - -src_prepare() { - # Remove build script config from pyproject.toml - # The sdist already contains pre-generated protobuf files - sed -i '/\[tool.poetry.build\]/,/^$/d' pyproject.toml || die - rm -f setup.py build.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/librt/librt-0.7.3.ebuild b/dev-python/librt/librt-0.7.3.ebuild index 2cf5d681ddae..f21786f8fafc 100644 --- a/dev-python/librt/librt-0.7.3.ebuild +++ b/dev-python/librt/librt-0.7.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT PSF-2.4" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv" BDEPEND=" test? ( diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index cd1e71942f2b..af80de9b37b9 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -8,3 +8,5 @@ DIST libtmux-0.50.1.tar.gz 401531 BLAKE2B 0d6490122e21f0a82435e6506e1269fdf33478 DIST libtmux-0.51.0.tar.gz 398729 BLAKE2B b8e3711278b5906a5945bc7c10dedc1bb4a2bc72df9c5ca3378fb95709f5ad3311f3788c797ac5c99035f938df4cc2701598a8ea7e260a2a45f4f8a78093f54d SHA512 1792151627c53d05fd856835e07a9fbc58d19a4153fef21f609a0837c67c5b699de86072d24fcf9cc07ca32436390f3b0e5a4569bd4922879aa4a8a444115db2 DIST libtmux-0.52.1.tar.gz 403676 BLAKE2B 02e7b1901c4fbe061190b509c49ea79db0176471f2b0e534ad975cf4809c9d6e42954bf80823a0c4635d57516d3456b2f5b68087b0b8b88cf12b2b9026b60174 SHA512 f26d20e96f41d2ea1790c194b3fa808201c9c407e49bf77e54154477d20b1faf0f540f266b418c3c667560d67c8b5aebeeb965873292ece8ae54d71758dee2f7 DIST libtmux-0.52.1.tar.gz.provenance 9300 BLAKE2B 683066fd1667d4f764eee2ebe1dd7cccf9fdda5b5b09cf19849c6ead20ab68601ced42e7f674cbdbd8b4c777ea2aa3ce350602f155b44e78b1fdee75113b17b5 SHA512 5970eb0715fe2e1b8098d4d448c6d0221cd9ab9c49c5c66d6ab6150ffc0449aff67f5b7ac306f4ce443c6b69c73d01777afcb18b0a0f5b4312520fbf8d45d1da +DIST libtmux-0.53.0.tar.gz 405001 BLAKE2B 1cc27a05729ebb861a6d7ee6447bd9b0bd9c67dca5e4b8e5cfec3ab9d0c5829b8c9edb442b5f7e8e7f966a6efa8703581f8a457cfbc21ca0cf80d87eb77b4a0f SHA512 63cfe3e22bfb7c45d1f01a562732120608c7d28b7463e763908a4602d4123e9b14e225e785be4de1044b4fa0628f7b733a60256478edda995e57a2475ea258a2 +DIST libtmux-0.53.0.tar.gz.provenance 9233 BLAKE2B 5d1b46c10e1d28ba7dd2ba5a18b09ac6b917b7e105874ff2775f66f094469f8a6f03b73463a8928cc67f5a77b614747206b6dc5f735dbc38a4d575416fe0499b SHA512 0bdd3b069e153cf540b5a7316fe62bfbcbea501772f6c4885c5429564d05bb8f377de1e5c0ebc280abd3af1eb9c23aa8119d67ecab1885f0e2ebad6cf6988721 diff --git a/dev-python/libtmux/libtmux-0.53.0.ebuild b/dev-python/libtmux/libtmux-0.53.0.ebuild new file mode 100644 index 000000000000..efb9f1e96860 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.53.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tmux-python/libtmux +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" +HOMEPAGE=" + https://libtmux.git-pull.com/ + https://github.com/tmux-python/libtmux/ + https://pypi.org/project/libtmux/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-mock ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +python_test() { + # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set + # https://bugs.gentoo.org/927158 + local -x TMUX_PANE= + + epytest -o addopts= tests +} diff --git a/dev-python/mypy/mypy-1.19.0.ebuild b/dev-python/mypy/mypy-1.19.0.ebuild index e98d1f8e1b27..c5d22ce82f6b 100644 --- a/dev-python/mypy/mypy-1.19.0.ebuild +++ b/dev-python/mypy/mypy-1.19.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv" IUSE="native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/pyftdi/Manifest b/dev-python/pyftdi/Manifest index 0b4047c313f6..938607fb724c 100644 --- a/dev-python/pyftdi/Manifest +++ b/dev-python/pyftdi/Manifest @@ -1 +1 @@ -DIST pyftdi-0.55.4.gh.tar.gz 186949 BLAKE2B 4d680ff38bbb3b1abb320398fa7543f9524e52511ea3fbfcf08d00d1e69c345ad71341c3de5204c69c1023d6974fdefd763bf61d693e88a3154f2c710f5ab070 SHA512 3998572f1af781327678d99ab89ee33bda42bea6320cf62ed4e65a3c6a891754f8f17763482e0d852bff9c73ab80af8c2df8c71ed70af9079512680064b24ede +DIST pyftdi-0.57.1.gh.tar.gz 187541 BLAKE2B ee78ddb140bf5d8daefeca684de7b0d66141df871c09567ca780d7d75d5968413e3e392d71c04207e3e2db70c373535517360dfffea4b691cc74234b94159d40 SHA512 0f0a9115afe9fe3948edede3977a617d41884d697084b4ec1601abeb1822d4baf2c48bc46affa470fca57f92da41679049988b4defaed9fce9ce8b84bec50ac8 diff --git a/dev-python/pyftdi/metadata.xml b/dev-python/pyftdi/metadata.xml index 47199b0279f5..20a6bc764b9b 100644 --- a/dev-python/pyftdi/metadata.xml +++ b/dev-python/pyftdi/metadata.xml @@ -18,6 +18,14 @@ are read-only), and experimental CBUS support on selected devices with 4 pins per port. </longdescription> + <longdescription lang="zh"> + PyFtdi 旨在为流行的 FTDI 设备提供用户空间驱动程序,完全使用纯 Python 语言实现。 + PyFtdi 支持多种功能,包括 UART/串口 USB 转换,速度可达 12Mbps(取决于 FTDI 设备)。 + 它还提供 GPIO/Bitbang 功能,支持 8 位异步、8 位同步和 8/16 位 MPSSE 模式。 + 对于 SPI 和 I2C,PyFtdi 提供主机功能并同时支持 GPIO,SPI 每端口最多管理 12 个引脚, + I2C 最多 14 个引脚。此外,它还包括基本的 JTAG 主机功能、EEPROM 访问(部分参数为只读) + 以及在特定设备上每端口 4 个引脚的实验性 CBUS 支持。 + </longdescription> <upstream> <maintainer> <email>emmanuel.blot@free.fr</email> diff --git a/dev-python/pyftdi/pyftdi-0.55.4.ebuild b/dev-python/pyftdi/pyftdi-0.57.1.ebuild index 65ec4305aea8..4a3d13c765cf 100644 --- a/dev-python/pyftdi/pyftdi-0.55.4.ebuild +++ b/dev-python/pyftdi/pyftdi-0.57.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 diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 930b64aa0f84..6d4aadaaff72 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -5,5 +5,7 @@ DIST pymdown_extensions-10.17.2.tar.gz 847344 BLAKE2B 91cccfab072caa3ad671643ee9 DIST pymdown_extensions-10.17.2.tar.gz.provenance 9560 BLAKE2B 27c913954a1f7005f3b42786a043bcfb39e20a01710d49dcb3108c7a3126ff394d00f4b9248ad6eff8be5dc91b9f3f8a80551992161e2f220f1bf82f3b6a14df SHA512 fdec579aa5fcb3ef0d4d6f8d26d878a1081664745dbafa2e93116d91c6c2c032263fb5c9e663ac7263cb3249562b1d97e6eb611482024a5aa03884bd3a353b99 DIST pymdown_extensions-10.18.tar.gz 847697 BLAKE2B 00ec5a0d0cba6ab31ef81d396f4ef4e594f4b353442fd88999fdf6eb357197b6cd68072ca6c109637c09f5d818bf8571d4dc5459405094177132f7ca2265a6df SHA512 1b39af796e77727b52ee27940e485d21849befa3cd40d77cd754cc81c2d0f337e1272fa70d154b5a49956dd7c5608be5c2aa6b4f8ee14c40264842512c531bbc DIST pymdown_extensions-10.18.tar.gz.provenance 9510 BLAKE2B 1c81b695864a42185da487e7b0a61a9c36cf1b28948f19b4fb81ec5777f92bb3eecfcc36738c3ca41f6b780141e7c8fb8d39872b81c69b626f7a6dcc1ba2ba04 SHA512 27997a8ee5d7306e870975876bd907b1bced9c42c6f149f2c12234517237d161e6871ee24a71c9002cd002afd71e05d6021b4188c9a0c1c708b8db6462731158 +DIST pymdown_extensions-10.19.1.tar.gz 847839 BLAKE2B 7806838b7b874f9e2ccdb2b5174bb12d55ce4f555f7da0de4fa6d909e8946f281441b63e5dfd56021f84808824b91e315e5717aedb6f8479231789d765288bc6 SHA512 8f219ce510dae7710485f9d8088dfedbf1ffda620bee531bcf8df149c8459dbf5d2ac62ca3c30c3d7fb194b27ea923034098a26a7d57681da8a3a29c6768a6c6 +DIST pymdown_extensions-10.19.1.tar.gz.provenance 9589 BLAKE2B 74afce299ae6a5af45b412f8a97dc524e0bb4a35f4cabbd8bff185fab0eae538f1337630ab527c108e4be0cd584147c080c665190dd3a204a627855ba7b256d2 SHA512 51214497ee7266ad4e4cf16213ec06fe176458e2273270f47f03d47224ec6b62b0574f63e19d86bc6bd18c17f3ea96fc7d71e9a5e58e697b3f2592b77f10b722 DIST pymdown_extensions-10.19.tar.gz 847701 BLAKE2B 61efa07650e59d3f0438e725b965cedf8d3f555d4f2037444dc04b4eeb53884208e0913724552a8ac3f28a9f9fd3c56c8089b8b291ed32d8829a80e3a0e2e190 SHA512 6706bec87589f35f8b4660a2707b07f9fdc17a4a3c8e732d4f2faeb0af532a093931bf561e07ee3e47dbe5f8187254c109c1e10e447c542cc7e2dae76d08c4b9 DIST pymdown_extensions-10.19.tar.gz.provenance 9600 BLAKE2B 4108673c5dbc68b627b6ac9ea014906003df05bcb9a424ec9f9401b8ab2287e052d0d0ca28a30ae09430f98c8cca78ddeef3bae4b13ba90255500f9458201e79 SHA512 e05bdf1f1f572e7f2bdadde2c1b436186891fdd1a70ceffd2f38281cc2dd95a2ef9b6643f3110909a09cb37371ac598c2b3d2b3cdc3e77bf78d3a917330f7caa diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.19.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.19.1.ebuild new file mode 100644 index 000000000000..33a5573a9936 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.19.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/facelessuser/pymdown-extensions +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.19.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index c90b44a8e6df..5310df1e1e31 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -3,4 +3,5 @@ DIST pypdf-6.2.0.gh.tar.gz 8292284 BLAKE2B 5df0f87c0df7760c510b92a66e80cd2600645 DIST pypdf-6.3.0.gh.tar.gz 8295782 BLAKE2B cba7ff1a55f52cfa5d83e8dd11c9a9be6b38f3c9eb42ce14d22b080fdfea72e21da6698d2b05ed02d9aa5b537bd5202205ef11e9c87f2442b56fdd2659a19f3b SHA512 3271c1d991f724e1fb3e85f420a7d60570122460b38ff16b1cd8b3c9dbcadc1d59a6474568a6baf3d7be5669c013938e10246223850f1882027a9d29b016499d DIST pypdf-6.4.0.gh.tar.gz 8297749 BLAKE2B c5259669ebf291af2c2a52b8547672dfdbbd9c6d98696f0264d5d77cc3bfa65c9421959608e1a49a31db19afd6c7a1b056ebf3a876bcca3e628ce3162a598719 SHA512 013b05c02878ae8e37899be2f431f5f10856cc35f259af0a6960b78494e6cd81fc7513af8b369dd68f83ce6f74f0dee5df353b86a2ec2ae0e67532cd0d602714 DIST pypdf-6.4.1.gh.tar.gz 8295153 BLAKE2B 348a1a467bba56e244df5e35392cefb62e46191ea7ac61a8a19cdba3986245ce7ceee7563c597cf7c3135e32eebe1ef7990112a725b595ecee871d41cc025da1 SHA512 677456611df6841002b64aa1fa8b115068762e7f7b5a94247f65204ae693b7e81487a49cfbaf4d60d08340abc80c22ef6d07cf2a084ae8783c8665c8d23db36c +DIST pypdf-6.4.2.gh.tar.gz 8295275 BLAKE2B 745936795cabbdd7f561743fb7a0e6b497a683fe23f32560336e82c3f5866a289ffd771e60f73d1782f73f5019191375704f0bc66617eb24cec860ab2613af8d SHA512 985f5a41bf2ab9ea9930dcd6a8f203596d1b50518f63ee815e0e6e74e050afd9a124b380fd8066c7f0b134886a645e165598d7764e3a40c3670df7e8de5c1995 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.4.2.ebuild b/dev-python/pypdf/pypdf-6.4.2.ebuild new file mode 100644 index 000000000000..45dd7b02d7f7 --- /dev/null +++ b/dev-python/pypdf/pypdf-6.4.2.ebuild @@ -0,0 +1,51 @@ +# 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..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/spyder-terminal/Manifest b/dev-python/spyder-terminal/Manifest new file mode 100644 index 000000000000..e3bb1e9e8053 --- /dev/null +++ b/dev-python/spyder-terminal/Manifest @@ -0,0 +1 @@ +DIST spyder_terminal-1.3.0.tar.gz 2619641 BLAKE2B 78f6639318b7ab0645a779f6e2871d64fb3c789c595c6177756c660c60059dc36fbc30461567d6662569ddb90bbdc36baf22507a0b87fc3f61cb801652c3ac6f SHA512 92a36a241be4cfa49cb687d42aa1909b09a00253f18882d613013bba558c0d64ffe2970d0001dcc2ceb95afdd0995353d6cc40135e34a011f83253c4fddd5484 diff --git a/dev-python/spyder-terminal/metadata.xml b/dev-python/spyder-terminal/metadata.xml new file mode 100644 index 000000000000..5e878b626286 --- /dev/null +++ b/dev-python/spyder-terminal/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>nowa@gentoo.org</email> + <name>Nowa Ammerlaan</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/spyder-terminal/spyder-terminal-1.3.0.ebuild b/dev-python/spyder-terminal/spyder-terminal-1.3.0.ebuild new file mode 100644 index 000000000000..dacdde05d952 --- /dev/null +++ b/dev-python/spyder-terminal/spyder-terminal-1.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Run system terminals inside Spyder" +HOMEPAGE="https://github.com/spyder-ide/spyder-terminal" + +LICENSE="MIT BSD Apache-2.0 BSD-2 ISC CC-BY-4.0 ZLIB WTFPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/coloredlogs[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/spyder-6.1.0[${PYTHON_USEDEP}] + <dev-python/spyder-7[${PYTHON_USEDEP}] + >=dev-python/terminado-0.13.1[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] +" diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index 6b77174cb38a..ab608ced4bba 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1 +1,2 @@ DIST tekore-6.0.0.tar.gz 271904 BLAKE2B f5b0b8b296506c2d91e4cb763c535485a5c0ecb872e0d9e4920a74e58b97ecb8304d9daf24ebb08a47512fa922c9962e37a1b744affaba3bf846805a07d227db SHA512 204599394d6b7fdfd0c43f6e8ab692de2105fafddd00694194be036c12f705203d46b11be672c8b258c1cb2e7605c31f3e7721d5f8dd52b75dd83c9741615972 +DIST tekore-6.1.0.tar.gz 269826 BLAKE2B 8aac1a71e9a885afeac3b2b21b685c9c4486f6b47a5b930f9b171512f5b815f7ca16283a173491ea52df27f0b535cf9e50efb2738f8732bbfe3bbeb6af991080 SHA512 d82761ec709419de113722619ec55041f8acb2b9f856176c1ff95661412fc8b09913b62627ba2ac886cabc4cac7a09216be415485c12a56fb82f6d9f97c39aa2 diff --git a/dev-python/tekore/tekore-6.1.0.ebuild b/dev-python/tekore/tekore-6.1.0.ebuild new file mode 100644 index 000000000000..e16302665164 --- /dev/null +++ b/dev-python/tekore/tekore-6.1.0.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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Spotify Web API client" +HOMEPAGE=" + https://tekore.readthedocs.io/ + https://github.com/felix-hilden/tekore/ + https://pypi.org/project/tekore/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-{asyncio,httpx} ) +distutils_enable_tests pytest +# TODO: package sphinx_codeautolink +# distutils_enable_sphinx docs/src \ +# dev-python/sphinx-rtd-theme \ +# dev-python/sphinx-tabs \ +# dev-python/sphinx-autodoc-typehints + +EPYTEST_DESELECT=( + # Internet + tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error +) + +src_prepare() { + # unpin dependencies + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die + + distutils-r1_src_prepare +} diff --git a/dev-python/xcffib/Manifest b/dev-python/xcffib/Manifest index 94e97a9edf05..7b13a6691306 100644 --- a/dev-python/xcffib/Manifest +++ b/dev-python/xcffib/Manifest @@ -1,4 +1,2 @@ -DIST xcffib-1.10.0.tar.gz 111521 BLAKE2B bceb78b64d4bd22ef350756e630bb8bb640e1bcb0823168d1134d7465b93c895a70e5ebde0c9665d0f0582207e72653865b814790c45914a14bb2f20e37ff461 SHA512 db9754967a2cd6ae6ae7db5e72a40f6c9f412f3834160fd3ff8a21a286b574e2f307dc807603c9015512e3bc757b65947aa6e0088a73a7c504423f394fe41066 -DIST xcffib-1.11.1.tar.gz 111547 BLAKE2B 4ebe6f16e674a11f9e0039ead6437670d76472211fef3cfa628ff14888d2ae82b27b9003273a46254dd54c73b919f42b99178af231539eea7dcd240bc49246ef SHA512 3e64911dbf6b3b4dc5de4b36e92366aa396bbd5eaf7b22e7ae077e573c5ee3b251fbc44b2f6878616989dcd00c445df61612147649121f6ea76a3384506bf2a5 DIST xcffib-1.11.2.tar.gz 111390 BLAKE2B 53282c0e8048558cddd45aefdef0fc435bdb4920b56bbedbf781063748b40d938c508eb796ca20ee339088b38719b334d1f93ed943ed32c105c72d8ec0d65fee SHA512 128bd51975b719952c348465a68eeb1d71e0241e49a28ca8544ac487f454187374c29236a39134a7c6436fbb95398b18ae3f7caf8f0f9159ce37a9737cbd8442 -DIST xcffib-1.9.0.tar.gz 110472 BLAKE2B 040adb746726a10d6149e8f914a60fad1e4eca2b52711ff261de040bff35c64a748c5781ddd70a756f1c41cfbfc785fff62a86f65e3fa99243eef5e474809e0c SHA512 c0b1c3606c8430e83fb980d4c006b6be1eee91aaf6f40b8159dbdad50b2e596dc85372a83eae85e34a702cbdde98eb7219a260fb520b0ddfb16d897722b64fe0 +DIST xcffib-1.12.0.tar.gz 131116 BLAKE2B a99cb38ae57bc5e46b797315668a7bdf0a55cbdc60286cea6a576cefb4597eecf8935163fa6223d2729a97f55c03c5177d6f9b2e667dda82fa1972a12ac8a8e7 SHA512 5c799bf394e25cfd2d03c6802ad3fc05ed98eaa7232dff6e9d77b1fd775f3a139ad4935e521a23d1de081fd7fa9f5f81bb6f7eb8f96d8f2101fddc0c88721ecd diff --git a/dev-python/xcffib/xcffib-1.10.0.ebuild b/dev-python/xcffib/xcffib-1.10.0.ebuild deleted file mode 100644 index 2649daeaaee5..000000000000 --- a/dev-python/xcffib/xcffib-1.10.0.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A drop in replacement for xpyb, an XCB python binding" -HOMEPAGE=" - https://github.com/tych0/xcffib/ - https://pypi.org/project/xcffib/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" - -DEPEND=" - x11-libs/libxcb -" -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] - ' 'python*') - ${DEPEND} -" -BDEPEND=" - test? ( - x11-base/xorg-server[xvfb] - x11-apps/xeyes - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_test() { - rm -rf xcffib || die - epytest -} diff --git a/dev-python/xcffib/xcffib-1.11.1.ebuild b/dev-python/xcffib/xcffib-1.12.0.ebuild index fe98b8f8bdb7..ba2c6fef3c32 100644 --- a/dev-python/xcffib/xcffib-1.11.1.ebuild +++ b/dev-python/xcffib/xcffib-1.12.0.ebuild @@ -36,7 +36,6 @@ BDEPEND=" " EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 distutils_enable_tests pytest python_test() { diff --git a/dev-python/xcffib/xcffib-1.9.0.ebuild b/dev-python/xcffib/xcffib-1.9.0.ebuild deleted file mode 100644 index e0ff4026c32f..000000000000 --- a/dev-python/xcffib/xcffib-1.9.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A drop in replacement for xpyb, an XCB python binding" -HOMEPAGE=" - https://github.com/tych0/xcffib/ - https://pypi.org/project/xcffib/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" - -DEPEND=" - x11-libs/libxcb -" -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1:=[${PYTHON_USEDEP}] - ' 'python*') - ${DEPEND} -" -BDEPEND=" - test? ( - x11-base/xorg-server[xvfb] - x11-apps/xeyes - ) -" - -distutils_enable_tests pytest - -python_test() { - rm -rf xcffib || die - epytest -} |
