diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-06 19:04:52 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-06 19:04:52 +0000 |
| commit | ce84f1d52da105ea15db8520bd7736859af743a8 (patch) | |
| tree | 03c4809c97b375c91aa896aaf01d37dc21b5d923 /dev-python | |
| parent | 864ccd3aba62b24728eb0b963d8a1093555475c0 (diff) | |
| download | baldeagleos-repo-ce84f1d52da105ea15db8520bd7736859af743a8.tar.gz baldeagleos-repo-ce84f1d52da105ea15db8520bd7736859af743a8.tar.xz baldeagleos-repo-ce84f1d52da105ea15db8520bd7736859af743a8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
65 files changed, 1189 insertions, 882 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 06e3ba3306e9..8d6de2457f4d 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,3 +1,2 @@ -DIST apsw-3.50.2.0.zip 2532293 BLAKE2B fbaafb0936bfd3925044615f3ff966162557e34b66c8e2fef4cdf1fdd71d0acf295d52ef94b6c3f4253e76cd506674b6f142c051157ac62e3adabfa154535ed8 SHA512 937c58fcaa62ce71ad64535ee613c1d35f5f46d0951c991f473c94e6c23fc979017a31e4a44af922054529dbb2f33dd5048f7b6e694452f17514d802c56b1d6d -DIST apsw-3.50.3.0.zip 2551434 BLAKE2B 0f84b5f2ebffb67550fad53b0b84069d55df3b86a160ee7039d62627d13c3eb2f3584490e8f6a0e406a7bab88ea1d1ac0c2d2232d62b1c092d589addd6140be6 SHA512 0451eb3f3f6b9eb8da2497ab7bd9a3c26fd50a396f3e0bdaf1b303eb028f265c948be140c202ca568768358527c440c56c37194252520c22ea8f3ccac2886a18 DIST apsw-3.50.4.0.zip 2551631 BLAKE2B 49603c0511f23db389d9708f661e7a6163585817d8ec64d11d73494fe831b526b772ff7b0baf83f1c18f8bf5b364ce7428fcba7d39d2c5cefd75e75e6dd8fad4 SHA512 71db63b0a7f550c9a5d3f112d47c24953472cc6555f0b57198428997d5cf5acf73629f2da8d5d53a2473067ba19d4b655cce467a5e2267e5bd6e8cf0d9883579 +DIST apsw-3.51.0.0.zip 2669479 BLAKE2B 65098d41ee8820e381e6fc4aea008765e8ba58721ee01ab43f5c5ef6f953b398b353d155a07a0895727df2fc4e97c768802e817d8e3643bb553ba7ad56a92e72 SHA512 9860f804ed57222920d21dff83fdc7a5e51a0e462e6ca15fd9a9d548f3d4d29adaa36470c91652159fbc3ce5ab6a24ee6776a3c6d4131703863e61395bfb0a47 diff --git a/dev-python/apsw/apsw-3.50.3.0.ebuild b/dev-python/apsw/apsw-3.50.3.0.ebuild deleted file mode 100644 index a0d3e9f5dec4..000000000000 --- a/dev-python/apsw/apsw-3.50.3.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="APSW - Another Python SQLite Wrapper" -HOMEPAGE=" - https://github.com/rogerbinns/apsw/ - https://pypi.org/project/apsw/ -" -SRC_URI=" - https://github.com/rogerbinns/apsw/releases/download/${PV}/${P}.zip -" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" -IUSE="doc" - -DEPEND=" - >=dev-db/sqlite-${PV%.*}:3 -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - app-arch/unzip -" - -src_configure() { - cat >> setup.apsw <<-EOF || die - [build_ext] - use_system_sqlite_config=True - EOF -} - -python_test() { - esetup.py build_test_extension - cd "${T}" || die - "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" -} - -python_install_all() { - doman man/apsw.1 - use doc && local HTML_DOCS=( doc/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/apsw/apsw-3.50.2.0.ebuild b/dev-python/apsw/apsw-3.51.0.0.ebuild index a0d3e9f5dec4..f3d85362edd4 100644 --- a/dev-python/apsw/apsw-3.50.2.0.ebuild +++ b/dev-python/apsw/apsw-3.51.0.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="doc" DEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 07e91421981e..52a87fa73987 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.40.59.gh.tar.gz 1017517 BLAKE2B 31511c062e6991ba14b7bc7227f4b4a214d DIST boto3-1.40.64.gh.tar.gz 1023920 BLAKE2B ca8af519caa4d3d4a20c808b3b9d263ad4d684327c29513d9fd37fc820f2d38c6a6450d6450d9a5355bdf4182e875a01939d69546821b00594b51b985fec31b5 SHA512 58010e4fbca89978aee5703e6e39ffe6116b31c1afb409335937de07e447e9027eea9523ac04e059c12cbf46b84ce88583b49356457978dc8d8491688fc2034d DIST boto3-1.40.65.gh.tar.gz 1024259 BLAKE2B c8226b3da53619822865158c103035319143fd9da6598609e89009f17da333d44d88ea87a6a0d470595f20d2fde92e7c6004582a11dd3fe119f328a7da2d7e1d SHA512 4fe5b707987734c4a7b8b9a8cbf44daeda777d0398c9ec7958d0f798560d74e33556a2a6b23e914ce4874e005ec703c9e0688e287956cf506c438606e53e80fc DIST boto3-1.40.66.gh.tar.gz 1024233 BLAKE2B da1ea6d102490204676e98eaa13ab7e91c550d1b249b2aca5f6c13aaf1e4fb6a19fe18b58e447ac231aaa0a188a1e76e8044697e082679f68541d4cae1a2f504 SHA512 137a6aa2d6e42d6ea777c44ea48e941f0327f071bede2a719e6af8d9e6eb34163c97669bcd4521429fd2e8031866f7d32646002b67221969e04804a3a2882548 +DIST boto3-1.40.67.gh.tar.gz 1025020 BLAKE2B 906e1d8264a4dbcbf6e46a5fa87f311ae8d574e300cca6a7cf9ca4c24da382ab6f04c8f70f08908395530289861b68c12578948b652c13dbca55d59b901868d7 SHA512 c2738fac9a71b6af3bfae56f996f6854bc7dbe976a635e98af9680f06cc556585156435a77bfe6298222b9b370587cfdad958df8275cabe47386e842a73f930a diff --git a/dev-python/boto3/boto3-1.40.67.ebuild b/dev-python/boto3/boto3-1.40.67.ebuild new file mode 100644 index 000000000000..cb388ebe6570 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.67.ebuild @@ -0,0 +1,53 @@ +# 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 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.14.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 85299e301b22..91375e054f12 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.40.59.gh.tar.gz 15284317 BLAKE2B f0e5b5ac06292c003ac6dcf0d8b4098 DIST botocore-1.40.64.gh.tar.gz 15230274 BLAKE2B 6156b2d80f6aee5df0d746bf3a2fe1bda6cee3435612d3db12a8134b9fdfa7a6c250752dadb562d1c804052ea6c775f802067d611ba1fb597e9d90439e219b64 SHA512 a8c7793146d25ae5cabe12fa5a65e8195f35029dd2f0dd9a6d012b8abfe41e1871808e1dd3d550ac153ce323c15c398b35a535780c5e143bbe5645b5eeb8c620 DIST botocore-1.40.65.gh.tar.gz 15232368 BLAKE2B 87a15fb88b255cd44ff40e3089f28851d7dba8a63fbaa047a66b69d0196e44bcf382a12b0b9e36ef00cbbe8840e8ecacc562b156ff6d376ec00a7606e4e81969 SHA512 09779168d3adcdcf2c1e07ad9be56f6f368f4c63b9c99c4e4e09f46ae7ba407fc1883b2ec45144fb2d68db575acc60d20aa42ecf1c07fbb45195793ee62a0f26 DIST botocore-1.40.66.gh.tar.gz 15233233 BLAKE2B d30bd8bf6766d3f08ebadb9cb1fe70bb39cf5569756ce68a054c0e4e0658014fbfae84de664eeb3890771e8f550f475d03d4a17b8b09814f0aa66e9c35ac3eb7 SHA512 fa50ab93e759a9eb716d941eca102c1c57d9243dbaef686f5510a836731d8489c781395e2edbc8a9af4388ab2de151dcb83528bcf350b8acff2f77e9d85be5e2 +DIST botocore-1.40.67.gh.tar.gz 15242334 BLAKE2B 850db68086a9820b059a3465d7dad44d937b71c28b1b7b416854cb50d70fce846976507812fb8501b65aeda1afbfd57c6d6a8c53936f0e0c71e84e435557922e SHA512 ef21d63af1a04b4f4d6605c55c38e604628b4c0d3e8eca0da47d49f229e646e12fc5eb4b2dfb8e9b1831fc88d3970a7aee2e3293ff63d4a2938f06292012f08c diff --git a/dev-python/botocore/botocore-1.40.67.ebuild b/dev-python/botocore/botocore-1.40.67.ebuild new file mode 100644 index 000000000000..ee8074e67dce --- /dev/null +++ b/dev-python/botocore/botocore-1.40.67.ebuild @@ -0,0 +1,67 @@ +# 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 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + epytest tests/{functional,unit} +} diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index debd32e57d1b..e51d8b27320c 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,5 +1,4 @@ -DIST cython-3.1.2.tar.gz 3184825 BLAKE2B 8be6016f3e9a5a7db71fd1cab65424db1a1cd8e9d0118f01432964eb816135021f77542aff2b1f0fd2af8f657f952ebce2f420d7610ae37c6c6956f94e54a636 SHA512 c674027dae58377ea71d8d8b15601e6e0c80435807603251e685608218805fef2e6eac4bbebd3c50c319cd7da660ff9ce1a6daeb673eb40ce70bbfe7f0069600 -DIST cython-3.1.3.tar.gz 3186689 BLAKE2B 520adbaf737b2625a5b6d5802484d84dccf12867ec4c6d379816b84c4413e9a766ee3c21f0ce4209f7961b19346f5e874ab09ed7bf9dc9a259afb8e65ae2359e SHA512 dbf14b486e9dc3cf978abd80f0fcc16d9ed8077d5a44c66b669291d6cc89beeae3e901e4975cee44208dcf52f11ba331a8d73587bf55891976a9ec4818a2470b DIST cython-3.1.4.tar.gz 3190778 BLAKE2B 7e554db21ba009dc70157ad03b414091f9bba15586c5fa842b23cc28c116dc153857e99c9981dd0f783f696b6afa3b2689424231b88ae89bcf9233fa8006b9c9 SHA512 dd524d7de59f949a8bac1cb944a7a2b4eb26b13107db4fd6f9af000d5af18dd08ac5768253721e3513f5b4c1593fdd8cf055f4ffc17d541b2b90ca461522e8f1 DIST cython-3.1.5.tar.gz 3192050 BLAKE2B c076c14685cc0d01d3f70dd35c8dd6c8c6c285f0a7cd575b4b20d6b4ce941e8cc70e1859b4185e0bc485c6963e74e5b33fe9030ec9feb881cc8692434f497ae8 SHA512 cff0cebd3b72b47f92a0bb8f77e564655a966ee58442b7fe76db2263b8b0d5b3636bfb0a561b1f27fd10cfd113e52388b32971bea66f4d2cb6dbf8580465b873 DIST cython-3.1.6.tar.gz 3192329 BLAKE2B 78ea2c33ce38441574c0566b2c093ed91c01b523812484a8da5f426c46d64d0e4c67c2b3e1bf8122c399a9c18372fe93ff63d20fcc2907e0a84c79fd1107d79d SHA512 29950bcb02b2000ffd278a881d91e9c99f554375238a1ea1e7866d6fff120233bca8d7a7c05de93136fddacdb4c071652de8c3b63b6c312dff43435193fe7b89 +DIST cython-3.2.0.tar.gz 3267264 BLAKE2B 86aa3698f28c0859d0a846025698d4739deebdbabbf0f6bd9134b4a01fce3fce4b87b1db726c2ab490b0a41091185183f41a67424dfd555067167a4b257c6aa7 SHA512 902f8389792bfa7937f5e1c024a537561e7e0367d1e6e6eefa84ebc25e961968e95bda5095b1cf2b26e994b4b14c0a039b97df80066620c166368a3f0ebd7f4b diff --git a/dev-python/cython/cython-3.1.2-r1.ebuild b/dev-python/cython/cython-3.1.2-r1.ebuild deleted file mode 100644 index e56a2959c79f..000000000000 --- a/dev-python/cython/cython-3.1.2-r1.ebuild +++ /dev/null @@ -1,131 +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_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.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" - # https://github.com/cython/cython/pull/6957 - "${FILESDIR}/${P}-odr.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' - - ) - 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/cython/cython-3.1.3.ebuild b/dev-python/cython/cython-3.2.0.ebuild index 2fb9eb93b63b..4b6e1d8c4744 100644 --- a/dev-python/cython/cython-3.1.3.ebuild +++ b/dev-python/cython/cython-3.2.0.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 )" @@ -37,7 +37,6 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" ) diff --git a/dev-python/cython/files/cython-0.29.22-spawn-multiprocessing.patch b/dev-python/cython/files/cython-0.29.22-spawn-multiprocessing.patch deleted file mode 100644 index 15b6f968e4bc..000000000000 --- a/dev-python/cython/files/cython-0.29.22-spawn-multiprocessing.patch +++ /dev/null @@ -1,27 +0,0 @@ -Needed to prevent a loop while calling cythonize on macOS - or any platform -defaulting to the 'spawn' method, as Python 3.8 does on Darwin. - -https://github.com/cython/cython/pull/3263 - -[Rebased on 0.29.22] - -From 15ae78bb74a856836dd64828326f4f0812d36520 Mon Sep 17 00:00:00 2001 -From: Marcel Bargull <marcel.bargull@udo.edu> -Date: Fri, 6 Dec 2019 18:21:19 +0100 -Subject: [PATCH] Disable parallel cythonization for "spawn" start method. - ---- ---- a/Cython/Build/Dependencies.py -+++ b/Cython/Build/Dependencies.py -@@ -1071,6 +1071,11 @@ def cythonize(module_list, exclude=None, nthreads=0, aliases=None, quiet=False, - - if N <= 1: - nthreads = 0 -+ if nthreads: -+ import multiprocessing -+ if multiprocessing.get_start_method() == 'spawn': -+ print('Disabling parallel cythonization for "spawn" process start method.') -+ nthreads = 0 - if nthreads: - # Requires multiprocessing (or Python >= 2.6) - try: diff --git a/dev-python/cython/files/cython-3.1.2-odr.patch b/dev-python/cython/files/cython-3.1.2-odr.patch deleted file mode 100644 index f5dacc748d7a..000000000000 --- a/dev-python/cython/files/cython-3.1.2-odr.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 269dea7ac6f10566c3b1ea3850f6a45538e998ee Mon Sep 17 00:00:00 2001 -From: Ray Speth <yarmond@gmail.com> -Date: Tue, 10 Jun 2025 03:09:03 -0400 -Subject: [PATCH] Mark utility function static to avoid ODR violations (#6957) - -PR #6882 introduces a new method `__pyx_CommonTypesMetaclass_get_module` -in `CommonStructures.c`. Unlike other functions in this file, it is not -marked `static`, which causes one-definition-rule violations when trying -to compile multiple `.pyx` files into a single extension module. - -For context, this module structure is used in -[Cantera](https://github.com/Cantera/cantera). We build the combined -module -[here](https://github.com/Cantera/cantera/blob/b308592776130d82eaac4949283fc87c031cdc97/interfaces/cython/SConscript#L46-L81), -and then use a custom "finder" to load the submodules as defined -[here](https://github.com/Cantera/cantera/blob/main/interfaces/cython/cantera/_cantera.pyx). - -Marking this function `static` restores the previous capability. ---- - Cython/Utility/CommonStructures.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Cython/Utility/CommonStructures.c b/Cython/Utility/CommonStructures.c -index 94f7cc89066..3f1ce6d8408 100644 ---- a/Cython/Utility/CommonStructures.c -+++ b/Cython/Utility/CommonStructures.c -@@ -161,7 +161,7 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module); /* proto */ - //@requires: FetchCommonType - //@substitute: naming - --PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) { -+static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) { - return PyUnicode_FromString(__PYX_ABI_MODULE_NAME); - } - diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 2bf0c6306161..3569936d1834 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,11 +1,9 @@ -DIST Django-4.2.25.checksum.txt 2500 BLAKE2B 5787eca1c849abcddc6df80085f4ef8e973a5d4384236e763dc50aff8e0addaf25c56ab435ed92368663ba0f5a0bdad0665b29d976089a54045c89f1ef47845a SHA512 87395e7b04a1ae0873c648b5054e369ecd5fff42323f473c801e19d57a1a5a25c5a666db0d4f4d4b266b9b6b8b30fbf488881dbb7dcd2153cf370e1a92dd9b95 -DIST Django-5.1.13.checksum.txt 2500 BLAKE2B f69a958bfc9da94f2cbd14d0ab1979bd92c542ea3db3d7cd03677bfba340708972acb999b07250510f1bccce0bb5f05b59aba50c6e4c9f080689c320b6832fdc SHA512 1d5193da63d9cf7e9937100e82aa503800884f969c134a7cdafc6b9b45a4aa2a3688ac5a15c08059f0d7fe913d0706d7712f02eb5915e342ff72094a95950c36 -DIST Django-5.2.7.checksum.txt 2490 BLAKE2B d7062fa027751c629373d509677cbf11c0205c9116144eee66b47b9b4e1fd1b4d0eda53edd0b95f1b85e7980e8af3cb40dccf1f6ebd9407a390f3b52da6e50ba SHA512 1f307bbe075d241a84e17ca2fb39d572f40969c404965a23e894c19cad96b8d75948aa8be390bedd6c4bcc7bbc3a6174e5784e3fae469a42bcfbc23225c44281 -DIST Django-6.0a1.checksum.txt 2542 BLAKE2B 21322015ce73ddcadf3658e6b05c90416fbbefe6646ed43af3665b0f7ca70c681fa4ddfc676f0a136faf5b43cc641840c0901ea16d93c30a2777cf84a160dc83 SHA512 cd213bc911fe708f9bdce0f22fd6c73da57edc210cbf258deffeb7685575e8ccbfcff278f465cec578fbbbc747e7163005ada8b191da479820f98b189ca2056f +DIST Django-4.2.26.checksum.txt 2550 BLAKE2B 39602268316a1391e5f97baecf412c4c27c355521a82c99a9d017825f3edbb963e5f8693142889f77bd7352bb954a8cb0eee30701daaa03b128c28c6cb520c4a SHA512 668536de6e8293ea72480e86fbdb42852364e8b81b8d170e2035026ca9f73697f1eb52c6c612a11bb2b2894a9a0de27d7f422fdf255b28152021014704070962 +DIST Django-5.1.14.checksum.txt 2550 BLAKE2B 73aa763ab3cb61b8de40cd58ea4ef9ca8c570233ab325b3407fa1f08cf6cb485a48a350314e09e01d943ec1091d4bdcd220c9ed4bafccb52c883c539d605aec9 SHA512 9d7f3e1bc290d931ff6285c6553049f687212a60b360fbb4054e76e59b08d51a07de1407cb963fbf551915279233995f049b3196cd3788870f853ec886c17beb +DIST Django-5.2.8.checksum.txt 2540 BLAKE2B 6ce5b10c1125ac0f8429dd2050d252e4c3a32c00cc71b727cdf48b80add05031cc017bc0976a6e3bd9ee69ac1c1b8e5eb50c793ff48dc2d611a8396e2a0564ee SHA512 b17e87987f0c9d772d4265e10cbfd51db6ef31dc43f25364762df1dd0da1acf9ca5aa0f300110f511d8eb1e8e87bf48ecc19a0710e7a01b19884459f644982a7 DIST Django-6.0b1.checksum.txt 2540 BLAKE2B 6f045bd743c38698c7c0bbf914aca26d8eca883db60f530456b0261570fa73690755965416bf71c8f78bd6a388c5fd63de255c09a7b882eacc270f805c1c1543 SHA512 b300ba29fa55c523255fb3688079c823873e44c2b3bcd4ce3ef91e67dfac83798b56ac0588ea7487841a2d0b69af038ee563e62ebf570feaf405e0971cb453b5 DIST django-4.2.17-pypy3.patch.xz 5900 BLAKE2B 2a564fc31d8e2f3def5a532d3bca1a4426a496c659192f602d659e0c1a5f5882978baedb384cc3b67fda8c836513ce43aece80db1528c8e8b6e9ca420f7572ce SHA512 9c9d935aff6db7230a26931b5e7f5f94f3b5ff4fc8f7d4201178571de9d9c7929a0e1e558cc2d9b54b8ee91f85819a5680d24fad6251620515a4a020e3b2d66d -DIST django-4.2.25.tar.gz 10456257 BLAKE2B e65dc57c47c4ba1c7d7086ac27a444d910bb1afd032feb1833fda95a59b99f3cbc9de64c4a702e291b3e6c5480e62ed922cb47242b3249a080bdce56a34fd6fd SHA512 9f7999ed89e235ed0640d40eaa6bcd3761cc6231e09a218f3f0785cbadc14ee02bdf53fd4df1bb51f2757e658e0b53135a655e956024e508975748f884e07c74 -DIST django-5.1.13.tar.gz 10742756 BLAKE2B e8885de6c71d02f219ba6b1b2a3d03be45861d769b05322c483132804d6e3e40ec48db12b9e5d93569341cd0856a1fa2c6274732e472957a52b83fa9d0c4d3b6 SHA512 f07f4b07440c1a2ab29f8bf105ffba2cd1b5f3aea2e2a8cf15f46ec78575c0a5b8075f35865375c7f61733372c3912db3e884de9be7366e70ad2133538a1ccf7 -DIST django-5.2.7.tar.gz 10865812 BLAKE2B cf2858a597cd08952b729754ee663ddcf0a0b451549df9e07dedf4210540392cb750ba8af850c3fb90b29b6c58c556689b4e4ac87cb683024b826b7f3442f5c9 SHA512 df330f665b2e08a27dbe88d60b026158e37dfa722b7896493dade841b91a74a9b38cd7ec9597f101126f618947e35674929cb871fdc4499291eeafb1dbb10946 -DIST django-6.0a1.tar.gz 11171245 BLAKE2B 41cf21e1b75dd6fd3df5a0fb5f55adef6b490ba309421686dc90568a80fd05d2a5ba9420ffebc81dd0db380a03370bf245f0fbc741a0ef57471cc836e1f838bc SHA512 865e0c8da75a71159454a2d7c8b20a118dccc7dffe4b715e28abf4bb5d8a221ea47356f270536e8741f8185e77d7ab9db4659b1e727f59c676edfffc82a0c635 +DIST django-4.2.26.tar.gz 10433052 BLAKE2B 5c6cd5cafcca047970b5bd9d4d6f6dedb0fdc51ff27421b409d3f08ec87422e4c33542c299389f315e2390b38498da4a0b8b934f24ececb0f3f9de729fc3975c SHA512 49fc2d3796719b201567bcd1d68d4a018a62ffbd5aef3c609cbeb4e415f6508e383908949dba45fc3c2c9ca6d53f88c80598cf72ea29bf7b9fbd7d237dcc5077 +DIST django-5.1.14.tar.gz 10720998 BLAKE2B 83bc02c1375a75b83678a9fe86362077e96b34c6fd2c451072c7be3b343c6fe2754deb107ffa34d949ab5ff0f406acfc967ef3cd52cd5147255d09a4ac5828c3 SHA512 29e2d4746df664a129a940ba9ba35d5b5e5f7104477e3055b02628f66c761def7d601b0f917c7e16988795c36c749d7c093e53da8ad90983a9d7f478adb41781 +DIST django-5.2.8.tar.gz 10849032 BLAKE2B c24bed7d303ef60d468b898e8b5f09eea21ff98ddc1ee5f44f6c796c47b645cddcd877d0a64817e7c993023c8ed6cc8211ac72470ad4c500c8e54918e4a75a44 SHA512 e360b69d45841c5c6068e96560621155cba5450901c0f598da226bc6fb9ea89c5a909f5568e4b492aa852006e7b00ab3528aa8f5ff6d97baa6227e7dcf8c068c DIST django-6.0b1.tar.gz 11172994 BLAKE2B 03f52be511d9e3509402ff2ec8a5f582a0c199503d41f395e3e34ad37f3aadcadd7f5c4c134bc2685186a833342c0a15e734468316d4241ae3ffc8e8b886b5e8 SHA512 5007fee32b7af26afa4f9aaa506d2cb552a38ba5ac221775c12511f4fed815fae1901352ff9c35bfed48b766ee01f323a0773dcdf5e2924793612ae565c300a0 diff --git a/dev-python/django/django-4.2.25.ebuild b/dev-python/django/django-4.2.26.ebuild index bfec59c98833..bfec59c98833 100644 --- a/dev-python/django/django-4.2.25.ebuild +++ b/dev-python/django/django-4.2.26.ebuild diff --git a/dev-python/django/django-5.1.13.ebuild b/dev-python/django/django-5.1.14.ebuild index e9357d4a2eda..e9357d4a2eda 100644 --- a/dev-python/django/django-5.1.13.ebuild +++ b/dev-python/django/django-5.1.14.ebuild diff --git a/dev-python/django/django-5.2.7.ebuild b/dev-python/django/django-5.2.8.ebuild index b8dd7817bc2d..b8dd7817bc2d 100644 --- a/dev-python/django/django-5.2.7.ebuild +++ b/dev-python/django/django-5.2.8.ebuild diff --git a/dev-python/django/django-6.0_alpha1.ebuild b/dev-python/django/django-6.0_alpha1.ebuild deleted file mode 100644 index cd9e26f7d949..000000000000 --- a/dev-python/django/django-6.0_alpha1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) -PYTHON_REQ_USE='sqlite?,threads(+)' - -inherit bash-completion-r1 distutils-r1 multiprocessing optfeature verify-sig - -MY_P=${P/_alpha/a} -DESCRIPTION="High-level Python web framework" -HOMEPAGE=" - https://www.djangoproject.com/ - https://github.com/django/django/ - https://pypi.org/project/Django/ -" -SRC_URI=" - https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz - verify-sig? ( https://media.djangoproject.com/pgp/${MY_P^}.checksum.txt ) -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -# admin fonts: Roboto (media-fonts/roboto) -LICENSE+=" Apache-2.0" -# admin icons, jquery, xregexp.js -LICENSE+=" MIT" -SLOT="0/$(ver_cut 1-2)" -IUSE="doc sqlite test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/asgiref-4[${PYTHON_USEDEP}] - >=dev-python/asgiref-3.9.1[${PYTHON_USEDEP}] - >=dev-python/sqlparse-0.5.0[${PYTHON_USEDEP}] - sys-libs/timezone-data -" -BDEPEND=" - test? ( - $(python_gen_impl_dep sqlite) - ${RDEPEND} - >=dev-python/docutils-0.19[${PYTHON_USEDEP}] - >=dev-python/jinja2-2.11.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/selenium-4.8.0[${PYTHON_USEDEP}] - >=dev-python/tblib-1.5.0[${PYTHON_USEDEP}] - sys-devel/gettext - ) - verify-sig? ( >=sec-keys/openpgp-keys-django-20240807 ) -" - -PATCHES=( - "${FILESDIR}"/django-4.0-bashcomp.patch - # upstream hardcodes fixed versions, we backported the fixes - "${FILESDIR}"/django-5.2.6-htmlparser.patch -) - -distutils_enable_sphinx docs --no-autodoc - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/django.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "${MY_P^}.checksum.txt" sha256 "${MY_P}.tar.gz" - cd "${WORKDIR}" || die - fi - - default -} - -python_test() { - # Tests have non-standard assumptions about PYTHONPATH, - # and don't work with ${BUILD_DIR}/lib. - PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite \ - -v2 --parallel="${EPYTEST_JOBS:-$(makeopts_jobs)}" || - die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - newbashcomp extras/django_bash_completion django-admin - bashcomp_alias django-admin django-admin.py - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature_header "Additional Backend support can be enabled via:" - optfeature "MySQL backend support" dev-python/mysqlclient - optfeature "PostgreSQL backend support" dev-python/psycopg:0 - optfeature_header - optfeature "GEO Django" "sci-libs/gdal[geos]" - optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached - optfeature "ImageField Support" dev-python/pillow - optfeature "Password encryption" dev-python/bcrypt -} diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index be0913418f7f..d10995021f58 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -1,4 +1,3 @@ DIST docutils-0.21.2.tar.gz 2204444 BLAKE2B 727c2f97fc5835a0ffa62e38ea85af366cd89ad1eaec0b8af8b1f3b12e6cddfddb65161ba34f9109952d37ba2cf8985f3c3b6905ebb2ac1c9a984cce3fb4d170 SHA512 7fafa331f5687448e80d299c20cdccc4b49819fa471b5f586bf0ab18c694ba43a70f58e7c76b0a70a16267585548389214e11a4998ad7fdc19a27f0f7644539c -DIST docutils-0.22.1.tar.gz 2291655 BLAKE2B 6e3fc58813bcf4942d14d911d86536fde75a0dc02f8847ef92118c5e78b302baf1ec0635a29760b373c4cfd8946796d705774422d81e7394fb1b3562d95b167f SHA512 9cf82e12e5b63bed33dd334a9282a565d6a65edd7b8ad0b62ffe2a05ce039f7947a935de8743acc4846a6334fd894d90533dd0bf931166dcdbab56bc93c92619 DIST docutils-0.22.2.tar.gz 2289092 BLAKE2B cef7861efe59766fc4883f945d7c52d026b6dae378f95fac074698e31ef2a32bece572e09f2307a1f1ebc7b63f963b53cd5a5e09538a7fe5bcdec9864ecfd4d4 SHA512 dfa6825fe1c5f870719da054badc3af69854b64b9e1057210b7aa6ecd2eff0f809fa311d3d30b1eb4fa542f68eacc26b6be314f1897c8a7cb423ab91f8f15102 -DIST docutils-0.22.tar.gz 2277984 BLAKE2B 8ad9fc3d064e39bb618f5bac7ef6b69a77e7e811ff2f7c4c1b34f4f8bc1ba793f995e653d20ba536d24af5905f68b8e3f636a0f28f1c9eef46bb6f755d988bc2 SHA512 09082eb3bdd5f9b3e977d356740efee47725a50fbaca7bf35c7fddff06003c2b2177a38d160a9956f9e96261f881c0d870c0aa9fef84f90d0cac079ccc73669d +DIST docutils-0.22.3.tar.gz 2290153 BLAKE2B 78b4ee1dd643de2b1e97757592ca2962eb11beb7beb2cf6c718857b1533a55240c44993e840b720eb4cfa327cafa6a9b1ebdea46eac2f0f6a3f9d06d1eb4851a SHA512 097e4dd76c984ba6789b44b971db046e29941791f1deaf7899ccc239f8ec96db47ef204f72bf93f3e11ff42b2e30ee21a59cb323ecfab0b6063f2f9be036c241 diff --git a/dev-python/docutils/docutils-0.22.1.ebuild b/dev-python/docutils/docutils-0.22.3.ebuild index 546a51ab9865..546a51ab9865 100644 --- a/dev-python/docutils/docutils-0.22.1.ebuild +++ b/dev-python/docutils/docutils-0.22.3.ebuild diff --git a/dev-python/docutils/docutils-0.22.ebuild b/dev-python/docutils/docutils-0.22.ebuild deleted file mode 100644 index 76b22e5e92ed..000000000000 --- a/dev-python/docutils/docutils-0.22.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)" -HOMEPAGE=" - https://docutils.sourceforge.io/ - https://pypi.org/project/docutils/ -" - -# GPL-3+ only for emacs/rst.el -LICENSE="BSD BSD-2 GPL-3+ PSF-2.4 public-domain" -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" - -RDEPEND=" - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} -" - -python_compile_all() { - # Generate html docs from reStructured text sources. - - # Place html4css1.css in base directory to ensure that the generated reference to it is correct. - cp docutils/writers/html4css1/html4css1.css . || die - - cd tools || die - "${EPYTHON}" buildhtml.py --input-encoding=utf-8 --no-datestamp \ - --stylesheet-path=../html4css1.css, --traceback ../docs || die -} - -src_test() { - cd test || die - distutils-r1_src_test -} - -python_test() { - "${EPYTHON}" alltests.py -v || die "Testing failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # Install tools. - python_doscript tools/buildhtml.py -} - -python_install_all() { - local DOCS=( *.rst ) - local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) - - distutils-r1_python_install_all -} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 8cd53f8fb86d..769c70f3cf25 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -2,3 +2,4 @@ DIST fakeredis-2.31.0.tar.gz 170163 BLAKE2B 1d850e11166208a1c6437b7bc496c16f99f9 DIST fakeredis-2.31.1.tar.gz 170681 BLAKE2B c6aa71f27342521293275dfe997dc82bcd51b26e2d7a35e85d710361301c7ecd698cbaf8f78b276edea97cf45303d4840fa836005ed022515c563f6a9c18a525 SHA512 aa4a7bc4199fed02ff71b329ee0280574339a3d259b237cbf279f0825fc450415afb6e460babfb95c26b04ee4eb001b7e79ea434ed4720ff2bd74a76e59385e9 DIST fakeredis-2.31.3.tar.gz 170984 BLAKE2B 0a85f0f27945e883c1f0510bc1f91e52b0fe65755f508b90f887d4fc2915bc97f37935193dc378f738b59cd82228e04b9ca6ad9f263b7b4ed4e26b1d38c9f097 SHA512 e10a107e6486c949ef597bdd68c3a8ebbbf2eace0d3437af390ee9a356aab426a617a623125c8713d47c63489ba4c2fce3d63eeea663c6f8c49d48387b79fbe3 DIST fakeredis-2.32.0.tar.gz 171097 BLAKE2B 4afc483f12994b91a7d8582600e25f63c8542bb54c2bdfcd6a62a7db263fc90c4f480bc2a28660b98d2a65f4902922505fb1fef5a3c440e361c5e586007e82b6 SHA512 d6bd1832fc69df5b59d75209090db77c06da15c5e327e030ca508940bd9848b4b43d83d95d37476232077f1868919223c72f1196bae9b4c55f0ec2c11aafd12d +DIST fakeredis-2.32.1.tar.gz 171582 BLAKE2B bec107824e359750303aa8ef4530f0aa3dfbbca6f87ce8b574f0a8fe1f748e71f113964b8172bf2d3793377cb264bcf977a917488a7f8e01df3914cee47b871c SHA512 cd04bf7c705b118c35e7b72cf2ed0fb8ed99f520ea6466e9676f07f640f2a6fa178ea9ba2fc401502c08d92c310673b6d5faabc5dcdba41e2c0ee3720d82435b diff --git a/dev-python/fakeredis/fakeredis-2.32.1.ebuild b/dev-python/fakeredis/fakeredis-2.32.1.ebuild new file mode 100644 index 000000000000..d70363ef2a4e --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.32.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-4.3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/packaging[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis2]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis3]" + "test/test_mixins/test_pubsub_commands.py::test_published_message_to_shard_channel[StrictRedis3]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis2]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis3]" + "test/test_mixins/test_streams_commands.py::test_xgroup_setid_redis7[StrictRedis2]" + "test/test_mixins/test_streams_commands.py::test_xgroup_setid_redis7[StrictRedis3]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + # incompatible with xdist, not worth extra effort + test/test_tcp_server/test_connectivity.py + # flaky + test/test_mixins/test_server_commands.py::test_bgsave +) +EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis + test/test_hypothesis_joint.py + # require valkey package + test/test_valkey +) + +src_prepare() { + distutils-r1_src_prepare + + # do not install duplicate license + sed -i -e '\@fakeredis/LICENSE@d' pyproject.toml || die +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6390 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} + +python_test() { + # we can run "fake" tests in parallel, but "real" seem to share + # the same connection + epytest -m "not real" + EPYTEST_XDIST= epytest -m "real" +} diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index 7ec91cd80986..1371a3e20401 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1,2 +1 @@ -DIST gherkin-33.1.0.gh.tar.gz 3855072 BLAKE2B 026dc11c4451e5243dc4ede0108c19162cb29784507095642d4a2599c52143f8a594b6dba21552a4c061f62fccfe71f3ed4bb574453d68e35231f99340876e90 SHA512 176a9e8bf448f07da54a0e35095e40d82ff4a842132ef58052e4451d3ccd3a551d493319c6f44c0148ae2e6dec950e4a0baaffea5aea77c161bafc0970c18f48 -DIST gherkin-36.0.0.gh.tar.gz 3881581 BLAKE2B 27cd1a0b792f4382da88d01fd4bc11956bdbefc8898947dfc9199555f4a35e0d73a06f034c1c74218530dc7b3883e6409eaa6f42936c22b177726be9a8cb3ba5 SHA512 f96bcc8beb06b529b6614c96f11a251a0938776b9d616d16ac9bb08a72366eebca0def3ea50be8f4bad52d91a26517500a856073fadf47b675f9a00b62e55a6b +DIST gherkin-36.1.0.gh.tar.gz 3881996 BLAKE2B 6311d6bb57e801ef176198607e2f4301005ca2e82605a98fbd4550feb4816471b2427679a7b908f5d8aad83c8d251d3fdbe1f39a98c4cef668460001f815b448 SHA512 298002497b35e289813b62bff88ac40d5a4d4e0469aa3f96d9e799519d77241fb7bf0d0f9464d3c7431b48face38dd8cc04dd15d477fd2d569dd450f912af56f diff --git a/dev-python/gherkin-official/gherkin-official-33.1.0.ebuild b/dev-python/gherkin-official/gherkin-official-33.1.0.ebuild deleted file mode 100644 index 0ae09a81f6b9..000000000000 --- a/dev-python/gherkin-official/gherkin-official-33.1.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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="Gherkin parser/compiler for Python" -HOMEPAGE="https://github.com/cucumber/gherkin/" -SRC_URI=" - https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz - -> gherkin-${PV}.gh.tar.gz -" -S=${WORKDIR}/gherkin-${PV}/python - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64" - -RDEPEND=" - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest diff --git a/dev-python/gherkin-official/gherkin-official-36.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-36.1.0.ebuild index f9881727bcde..f9881727bcde 100644 --- a/dev-python/gherkin-official/gherkin-official-36.0.0.ebuild +++ b/dev-python/gherkin-official/gherkin-official-36.1.0.ebuild diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index dffc633830eb..11f212f2ca8d 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,4 +1,4 @@ -DIST google_api_python_client-2.183.0.tar.gz 13645623 BLAKE2B fddadd024a6ef0424cf8a0c04f33d0bfd98485784e6e0189326b05c02772b3f3a517d1aa1be5a82b73975368e258dfa6cb2c01856bb78ece02ccb75ea5345ed7 SHA512 de2d94d1d9cacf84a2c65e8e15d53cf66b3e1a6b2fa8a1765214c96db1aec17491baa9ee6fcee9b426d9f7540dad71955f5c4464d65aaf49d775c3e27e66404b DIST google_api_python_client-2.184.0.tar.gz 13694120 BLAKE2B be2c5e577ff24cc73d2d5676d820164934c11a399175374af61f550cb1c10291d25462fd33b49cad6e93c0e9a8f7030d7dc7d131925ac421d3939635f37f79e9 SHA512 3c7aea52cc7df0740eb88796ae6ae7f3c550bbf71e576cfef1d664baca9041f5a4157f4257da9df3b7a7c6cba61e40908c02d79740cb6f716ab83c6906050458 DIST google_api_python_client-2.185.0.tar.gz 13885609 BLAKE2B c2afec9ced8750a605235afbd939f8a90a11e757b446eb89f6771af9aeadee9fe523c07150561aafd58d03ee0f17bb72a6fcdfd48ff73ad5f64aaa4fbc548d0d SHA512 a7eac14c644d759bcbfb2d8b9d9285c6bf28332e4ebabb904e78a8abc948b666effcd8532f5a4beb3f82b77357283cd02264511032f47e6d6ca0afd211cd8e69 DIST google_api_python_client-2.186.0.tar.gz 13937230 BLAKE2B 416c092b1ae3e051bde8887bd67faf70f5bcdc95869cf9b592cdbb8573499cc6bdb61444149f6d945e7c98e1be4f24583bf8319da3173276e4452e8e2f16c6a7 SHA512 816c16c0a1b8db5767d93c6908d81d657b88f8230f5545e44fec1998945e1d9c76c40ca30b721106d7b274703f65bdc73e7291f248cbc27f2178b152a5491388 +DIST google_api_python_client-2.187.0.tar.gz 14068154 BLAKE2B 318b99ae63dc3020ae9fc01816a4c92f518fbbe40627d7afb8d4338b4abc2334bc66f6ca35038efc7105e1100cb4e4e438258f7f00bee669e4f15541dec167a7 SHA512 8456c348d6c10949de86c2898761d800fb24d3bbe1b6f5aa0893a6bdfdac0324df3645b8bcecd33be32ac7e44f55f1ced3f53ed16544dd38c6d4250aebec0985 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.183.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.187.0.ebuild index 9a86c7b8f670..c898d6e76ad0 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.183.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.187.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 x86" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index 63693f4a844b..087d96dc69a2 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,4 +1,3 @@ -DIST google_auth-2.40.3.tar.gz 281029 BLAKE2B eb95721c42ee37c0498c9c57fe3aceea006bc0b401a84c8f33a0000e8f49975537124827092da9ad40a66650dbe6e276b570d77eb45bcc86c23085a231572e1b SHA512 35062091ab3515f381c5da5d7952e1c60c650f62041b32217905462b0393199666126cbc018e96ea694eadaf9fec2528e9c7531758cfeda8a244fa10f8d362fb DIST google_auth-2.41.1.tar.gz 292284 BLAKE2B 8351dee7d5f0c40d9898ab0cd70cec379a9c39981d024caacc2d9e62428e18c8ea71a54aac43456fe669a31e24202e76b7a4b7df5e3a23cb79cb1b92701f0b70 SHA512 af2912c8be751659b701c5ffafb0c955ef8ad5609911d15ee58ad2e3e72dd041cded34bf3b56b37d5fe64ab17f0c625dfcb95c31d2dbf27ea61fd27e5f4777a7 -DIST google_auth-2.42.0.tar.gz 295400 BLAKE2B 2a194d055725cc23c191d8ec47406e0ddaf6169e0cfa7813f8ee599005ab02b5e721dc3ee68d690ee789b7a0af86731b9e1dcdb1345764ee9c9a9bd42503a55c SHA512 1742bc3461ad34529618c41940225a7425754cb73cb2d01e6b9bd1a5afb4ae5f24e6e25371ee9d871b3df5e33ece25cf34377b15d0819d6883bc0e3196fae3f8 DIST google_auth-2.42.1.tar.gz 295541 BLAKE2B afd195b1b5e2e20d1a625821819a96dce8f9c9850c7ae98e004e63ab4af944cd022b58ac5a9ea78f514dd443a0c3044b2fb059cd553ff7c6dfbbb4aa82c6c952 SHA512 f9302c3a94ff262241ef4a15a11cfbcd86142e8fc327b5d962e464993e9fa30a3d1a4d55a643309055be94ca19d5797714e05dc3eb50bb0fd71c7d2be2627b18 +DIST google_auth-2.43.0.tar.gz 296359 BLAKE2B 6b9d518710ec15276cfc01e7bb53dd10ba7b37707d7aaf42089f9923a86e530f91d26de924067bd0a53ed8657b6f1ec7e83f52740564829f49f447c8a25a0f7c SHA512 9e935d6431b556677aa2399100f3d25d7fdbf2ceb333688fcb9d4bda1fbc2b46a66dd86128eb1e81f0d5b9a1e1ca26dcaa312d6295a508a27454e4cbf785dd4e diff --git a/dev-python/google-auth/google-auth-2.40.3.ebuild b/dev-python/google-auth/google-auth-2.40.3.ebuild deleted file mode 100644 index d04f7e759f5c..000000000000 --- a/dev-python/google-auth/google-auth-2.40.3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aioresponses[${PYTHON_USEDEP}] - >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.]*::' setup.py || die -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests are broken with up-to-date pyopenssl - tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success - ) - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - distutils_write_namespace google - epytest -p asyncio -} diff --git a/dev-python/google-auth/google-auth-2.42.0.ebuild b/dev-python/google-auth/google-auth-2.43.0.ebuild index f93f5a15dc7a..f93f5a15dc7a 100644 --- a/dev-python/google-auth/google-auth-2.42.0.ebuild +++ b/dev-python/google-auth/google-auth-2.43.0.ebuild diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 812157aaf11f..8a8d58366612 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -6,3 +6,4 @@ DIST hypothesis-6.142.5.gh.tar.gz 9625137 BLAKE2B 2a0146541b95710419c5ede4288a39 DIST hypothesis-6.143.0.gh.tar.gz 9632960 BLAKE2B f09cbbefe2f8f08f395f7b985e0228ad187a5099e4324a42fb46b3b2717121d51adac443659179b8a71069b9588036d667a9d9190cbfdd7ea5af08dc32aacafe SHA512 3e64ca49152f776f719f25ad10f60616535eb7d9474237df64613997ce7bec9d8afbf15ecd1f0b84246b3befe7fe78398dc7a5b475f489573393c966aa31babc DIST hypothesis-6.144.0.gh.tar.gz 9635457 BLAKE2B 1cfcdde69238b5e7233178e8df0f3351bba03eb2f9164cc8f45aafbaa0e7ae1877b1bf7c6619f4b8f3f4ded791f6736b0bbf4cdffcb0c98a04f9c39414d33510 SHA512 14794308624be4ed65f88a9fd6affec6e69372c8e03c17a475b71f7cf14f5a7c2fb656720257750f51c35b51c48c26902c854fb6854dff9ae50c94db113701a7 DIST hypothesis-6.145.1.gh.tar.gz 9636827 BLAKE2B e39544074d83b33b6e04eb26319d20dd48e4196f216c782149fdf9e2bd869b5f29aa97b3606a5235bcf41dc0a98db05966c6e542a64ab5a63470038f9eca02fd SHA512 3af66ecac9217a11dccba070f16af610e0ca0216d802ae298d9a5ded6c62546b70d260d7fd191785b84f106ff9786af2dbda400e30bd4fb5caa05ef6a0fd65ee +DIST hypothesis-6.146.0.gh.tar.gz 9638304 BLAKE2B 7b72b415062008c48ebc6022dabbde08cdbff5cbdd1e4666428a8da0fc7480e67980a8c7a2f9cdf7382e68c1fe3091def198f2f9409c12c253890f50d80f3d35 SHA512 c7251b2bba372519ea6f0a6c95c546285170375a210b8e0227f986f6c6e59207e94b0e2ae41a390955446bf222c36d2167c7a537b052d96d39f5a1ced9b3a6a1 diff --git a/dev-python/hypothesis/hypothesis-6.146.0.ebuild b/dev-python/hypothesis/hypothesis-6.146.0.ebuild new file mode 100644 index 000000000000..3239d4fba180 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.146.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + dev-python/hypothesis-gentoo[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-xdist ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + + local -x HYPOTHESIS_NO_PLUGINS=1 + epytest -o filterwarnings= tests/{cover,pytest,quality} +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index ca2bd4c40a60..6a91f96e75c3 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1 +1,2 @@ DIST icalendar-6.3.1.tar.gz 177169 BLAKE2B 00b3c5b0f4e8e670b73dd556c71b6796308b27ff0216acde647cdcbe87c5cf92ab1cdfd538c5290ca9b7fff7d3cb1908e7c7c877d26cbef2b7ac6e8547e3214e SHA512 f9762f4fc5827433e3ef8892dfd3252fa081d2db4f8ee5d0092c280f52944c564a230beea04b2b1a7db66bd2538416b5f5ae9a9253a87c62397caa64d8fc82b8 +DIST icalendar-6.3.2.tar.gz 178422 BLAKE2B e3c34b8b9372f66c42ea1be609e77e45c03a17585157699cd6aa4c521cf9b35d78e3d3821811b1fbd828c1add81b26ff3047565c826229cfbf1a3dab42fc96ea SHA512 a74067a527d46e26a8c50c6ef1ec9a264534349fae624df75388c9167b509d829f6a60340975b6aaeff1f7544bf5318ab24cc33e2bf7189fb8f57c00fea44bd8 diff --git a/dev-python/icalendar/icalendar-6.3.2.ebuild b/dev-python/icalendar/icalendar-6.3.2.ebuild new file mode 100644 index 000000000000..ad44a9c47be8 --- /dev/null +++ b/dev-python/icalendar/icalendar-6.3.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE=" + https://github.com/collective/icalendar/ + https://pypi.org/project/icalendar/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +distutils_enable_tests pytest diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index b9408867a507..60162439c8e3 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -3,3 +3,4 @@ DIST ipython-9.3.0.tar.gz 4426460 BLAKE2B d9d6ec38ab7ee2c4128869cd6fa0518c5df8ed DIST ipython-9.4.0.tar.gz 4385338 BLAKE2B 20bf17c945ab2c727aa340a500e2f452dadd440ff809e5aea2ebaa0bd146a6bf2103f2435549a0f4b898690e6aceb15850fc2ba92bb9b94d8e084b1f13cb17a1 SHA512 8e0bd35effa6b5d6d17b7903ae708f1db753717b2271c79b6662fc508e003a7b3b510604ed340e6e89a8c84abf7c3718f785eb39d0914b653c47adc999a1d2f4 DIST ipython-9.5.0.tar.gz 4389137 BLAKE2B c9d0cccac9a7a0711425e74ecfde8bdb7789d8289d58d86dccaddd06c1012f4c5f94aedf444f8b6c313d04f7617c5d9adc191d7b25426d8f70622435207acbe5 SHA512 fddf470a03ed94dfe2e193dce0d7228bd1143706ce1cd189348d6778eb7d1650a1589e49bc050214337b5fd9c30e7f1d91f871bc0d4a0a04d1a227747a81a132 DIST ipython-9.6.0.tar.gz 4396932 BLAKE2B 8e674c65f01dff76f4fc0bdd70bac64735cb188737c3b1c0b25fda407e2e7cd2231603306b49568bb74accba975c9dd63d08e7bda8ad8fae20be622ce3f6769e SHA512 32128f60bd5ef133f6f16636ec66bb407b8b8499aa40aa960076ad1ab78d150c5bea3a5508a4284302dd950e7a92ee045f9665c29914adfabd1eca7d8f50c470 +DIST ipython-9.7.0.tar.gz 4422115 BLAKE2B c79ed9d48daa647d3430f8f8a6cb7ea58be3bf9f283be0fb0a68bc530859db5f9cfd8419cef8c783ac7ae939fc111dd4a01841fa22f544135cda536100afbc6c SHA512 d611bd9c36a7497c4757895a074d89ef1bb0ac8def6c819bbe084879f6d44f506a5fa30bddff2249b5e0bb363206eb09b3e311037643ce8f17012513a2285e9f diff --git a/dev-python/ipython/ipython-9.7.0.ebuild b/dev-python/ipython/ipython-9.7.0.ebuild new file mode 100644 index 000000000000..49066cf6d158 --- /dev/null +++ b/dev-python/ipython/ipython-9.7.0.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' + +inherit distutils-r1 optfeature pypi virtualx + +DESCRIPTION="Advanced interactive shell for Python" +HOMEPAGE=" + https://ipython.org/ + https://github.com/ipython/ipython/ + https://pypi.org/project/ipython/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples gui notebook nbconvert +smp test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/decorator-4.3.2[${PYTHON_USEDEP}] + >=dev-python/ipython-pygments-lexers-1.0.0[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18.1[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1.5[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.3[${PYTHON_USEDEP}] + >=dev-python/prompt-toolkit-3.0.41[${PYTHON_USEDEP}] + <dev-python/prompt-toolkit-3.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.11.0[${PYTHON_USEDEP}] + >=dev-python/stack-data-0.6.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.13.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.11) +" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + app-text/dvipng[truetype] + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-3.9[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/numpy-1.23[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pickleshare[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +RDEPEND+=" + nbconvert? ( + dev-python/nbconvert[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + $(python_gen_cond_dep ' + gui? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + ' 'python*') + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + ' 3.{11..13}) + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Rename the test directory to reduce sys.path pollution + # https://github.com/ipython/ipython/issues/12892 + mv IPython/extensions/{,ipython_}tests || die + + distutils-r1_python_prepare_all +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x IPYTHON_TESTING_TIMEOUT_SCALE=20 + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # https://github.com/ipython/ipython/issues/14244 + tests/test_display.py::TestAudioDataWithoutNumpy + # minor exception message mismatch + # https://github.com/ipython/ipython/issues/14976 + tests/test_ultratb.py::ExceptionMessagePreferenceTest::test_jsondecodeerror_message + ) + ;; + esac + + # nonfatal implied by virtx + nonfatal epytest || die "Tests failed on ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Create ipythonX.Y symlinks. + # TODO: + # 1. do we want them for pypy? + # 2. handle it in the eclass instead (use _python_ln_rel). + # With pypy not an option the dosym becomes unconditional + # TODO2: figure out what TODO meant. + dosym ../lib/python-exec/${EPYTHON}/ipython \ + /usr/bin/ipython${EPYTHON#python} +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} + +pkg_postinst() { + optfeature "code formatting" dev-python/black + optfeature "sympyprinting" dev-python/sympy + optfeature "cythonmagic" dev-python/cython + optfeature "%lprun magic command" dev-python/line-profiler + optfeature "%matplotlib magic command" dev-python/matplotlib-inline + + if use nbconvert; then + if ! has_version virtual/pandoc ; then + einfo "Node.js will be used to convert notebooks to other formats" + einfo "like HTML. Support for that is still experimental. If you" + einfo "encounter any problems, please use app-text/pandoc instead." + fi + fi +} 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/leechcorepyc/leechcorepyc-2.22.3.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild index 243d3906fd1d..7c13e20a78ba 100644 --- a/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild +++ b/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" # leechcorepyc ships with a bundled version of the LeechCore library. So we # don't depend on the library here. But we must be aware this module doesn't diff --git a/dev-python/logbook/Manifest b/dev-python/logbook/Manifest index 2237afa478c3..eb437ee79d9c 100644 --- a/dev-python/logbook/Manifest +++ b/dev-python/logbook/Manifest @@ -1 +1,21 @@ +DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08 +DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 +DIST indoc-2.0.7.crate 17184 BLAKE2B aae454874b44dbc908a75b64626e608e04017c1407daff9a2e2dd12a337ac04db594540d2f31bfc590d6f37f0d711ff2d3054352ff1b33e736c36620404be0a0 SHA512 6e80cf927001821606488a822fd0f67ae1a569b022c98e727e6b1571c88d87775166f088322bd5f17abb8fc1fde62c9d14fb2e99f1e50918487252d823e48f73 +DIST libc-0.2.177.crate 792045 BLAKE2B ecea1ade26b0faa9cb5fb025e237f3a59dfb562e7b3de3682b42a41038b1d436e83b42b53158c1fc1cc4b1cc64ab55ba1497e869ae850a677c089fcce9138912 SHA512 9d737091dba80244137987d06a52ffcd44a968c96b59ae9af9cfa40c38cb9675d023f6324fbf25c436ce1b9592ebf26248f85b0a7c97ee02360ca624b0efb3e0 DIST logbook-1.8.2.gh.tar.gz 364904 BLAKE2B 1430d8f017279c4ebd5f4338da8ff43b3a0ba2227001a34c7cc4f67f5088ecd0796baa45845bf1cfe84da117ad8110bc6fea0691e778aa0e4dec8f81ff29fed4 SHA512 87d7e1617a5a41832ae2d837cd435d8a2ef1378bc10e321dffe7e793a843910788d53a6c9ff9396223bf3e002b4fef4e339805e088ce1542da147ff773f198d0 +DIST logbook-1.9.1.gh.tar.gz 483493 BLAKE2B d26d77618ead86d3636432464455b5b89ccaa255b403d11cf05208599fd6f0772c9498241dea55b7ec35a367862397ea61847f33f59bf2130639de78bcc45f70 SHA512 ac00fc2ea69ab1a95a8c673c5f26a4b9f73546c8e30835d1a8ba9da3d5a2a2c698ff453ca04bbf519c069013303128f654899e1a988ff3f7cbfb74b1751d386e +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa +DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990 +DIST portable-atomic-1.11.1.crate 185506 BLAKE2B 953bb1f2059dc1d891305eb89945f1f6a172fa50972725aee499de72b5dd9b4ad8ccefe4e891183ff8e6b64f4d1bb45ec33b06e0f5af34c940f817b290f746d9 SHA512 4c037ae0b4aef43077bdbf803389bc078d963f20d023e2e1d339a54f67fa9b27c174e7c1b6eca8881ecf301e30c431632d2c0dcedfb5b19552892fac0f81e2e1 +DIST proc-macro2-1.0.103.crate 60024 BLAKE2B e5ce5f77838fd063b5615b1555db02175621135132de6aa7479d67fd0a34c15e8235290112a728f3251cf913a835bf0aafaf6930880511427143b63152047259 SHA512 9a6964a2ad24dbb1108b7018882ddb48cb6e6f652d1c5eed1cac94602539fc71f011a0a276765778df161edbd6387bf03a8505d93565e0c106f09e98d7d6efce +DIST pyo3-0.27.1.crate 1172212 BLAKE2B 29ea2d7dffa41ac5414aa5bc537b90e5979dd4a05a04c4cb1d2b70d6d5b7f9cb506fe864236f65495e7646406b695d5891af5cad2d67fd665a1ab4357fa31921 SHA512 f4c8d65b0a95633850597d6b29298c4a14aa3239fa245684cf6caf275f070698b35b03bfb3f256aaca0cec0d31211c51e2f2650a9d12eddce2a4d5d1f81e06a2 +DIST pyo3-build-config-0.27.1.crate 35565 BLAKE2B 2dfb7e1c07ff0f7cdad8f77e4a33ce7696f914f29d931c967f0fcf24fe257b6e421cb2f8e2820a5e66440490cfd96eb733073651a153fd6932f2da5c1068187a SHA512 9add95c372ac2db8e3e719ca2b393aa1e18b6786a7d34e113b07a7e0ad9698ad2d3753a1e7707e4df1edbf62c4fba2df6e0227e5658d5d368ac1dbf76a0e9455 +DIST pyo3-ffi-0.27.1.crate 78517 BLAKE2B f0a093a594e47856c6458da59cc41d5b772be369fb245a1c09f5264464e0ddc527b243cd451352c7b3b1682fcb26cb1d7b93abfefe19411eec8de73d98918b74 SHA512 5bfb8e7982b0d9ddf6fb2c2a4110b43c5b4bcc6f0a14acb50af329742b6eb9993df2ffe88bc34732fd0a58ca552df1b071fa8efd7b38d3441a7b9f45245168ea +DIST pyo3-macros-0.27.1.crate 8918 BLAKE2B d98f155ba4867fec265b7ab82a89d6e025259fc113d9bcddc179a0a0df961ad36cafee1e781ef8fee6d607b8f943b6a095c0a1a188603f9be624a663170791d5 SHA512 7d33a363e464e2fe5b4fe4b958877c695542c8e18a0b512868d579455c9c6072d8a4c00a36b069bf8b54f7dade9847b3968c3d3f40b0b2b54fcfeff44f0afef2 +DIST pyo3-macros-backend-0.27.1.crate 82521 BLAKE2B fc5a1516eb0c55525cf648114274a741a01ee215cee8ef5ba44c0da225b98c1db15d3459f81028ae5b7376fcaf4744a59a34ec345403097d7b374aa8cd9d1e50 SHA512 036147deb1ad48815e22c84071069ed4eefe6b75c95cf727259231d63f0dbde00310983fbe90ab1b740ade071a22b9bb09073d6f120b519242c4bd8989bf3202 +DIST quote-1.0.41.crate 31408 BLAKE2B 9d496e0878fc329ac9492ecbd470e762bd807ec8ca4e17a856b4d1c776351434778f519977137a67b8c143ee60b20774c09768d480cff51b22f2cfcb364a20d9 SHA512 64374d70eb29f7d7e02e535ba383586d93f68a9b6464c79840fa6c42a1ac47be7ba14e415a40e158f845e486ed33d5c564c882913780d296360b30a56301ff7e +DIST rustversion-1.0.22.crate 21096 BLAKE2B cdf773cda21ebde50da897c0af0e4af14660ce953d3037054a99d8adc3db2dc6e30a57201a45676abfb183c62016a68069848e7537f711b1752339d194b0a378 SHA512 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15 +DIST syn-2.0.108.crate 301754 BLAKE2B 627699ade4dcd89157c64628e7243be829d79e5e1800c3da82f2da24628e8895809f3b250e9cdcfaa3c69d2d2deb7d4db8868767961c25ce6ad71baebd995ad6 SHA512 27ca199db662f3d06de9f139b9707fc30e9719556831b9fcb78f7108f61cdf186cbead48ebd4b684bdcb96944552ba4340a4bd154556cc08d0698f65c9332aaa +DIST target-lexicon-0.13.3.crate 28498 BLAKE2B 397315667737abde41949081f8377f704c3a1105790162249a9f0c08b60f012e67d66550e9063d900ac98f5191d13c5ed23d1a8045f99373e7a673a3cfc029e7 SHA512 23422df6edb2a8cb0a9f048864faf76ccb27d6e97fbed7b208b77206941b196f155896a0381150e387142e976439a0a296dcf4cbb4df6bc0e11c65f97f979443 +DIST unicode-ident-1.0.22.crate 47919 BLAKE2B 766f52249631092af952df717e09e1eb0d2a8e87c45e65113f0b2b88b42e8b406a87241fadd368ceb9e13339362b48cdbbc6f699f95f448ab45dbbd861615d62 SHA512 81666679aaa2eebfe1429827fa2a88ee0b52bd69723067132c24252070133b3731287bcd880ba16d16274f038c7b27bcf637e9150b6cd955fb4ff49642078125 +DIST unindent-0.2.4.crate 7422 BLAKE2B 2e7870cd4f78240dbb1e5fb9c0f9b55c57bb40242fe668f105a0e862f1d6300e31efbffe0cdff676a5f96a8d19dfb148f88bfef1cd8a710556d777fd0f4ee37f SHA512 58bd4fd20a0b0a7200e0ea3ea70553cea135a5a8f7a2fb178520c41228f435becce4b9981019b7c73a17df87a2ee9b2a47c4cec29a3011bfe848d48b2473761b diff --git a/dev-python/logbook/logbook-1.9.1.ebuild b/dev-python/logbook/logbook-1.9.1.ebuild new file mode 100644 index 000000000000..634a0ba90650 --- /dev/null +++ b/dev-python/logbook/logbook-1.9.1.ebuild @@ -0,0 +1,93 @@ +# 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} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.5.0 + heck@0.5.0 + indoc@2.0.7 + libc@0.2.177 + memoffset@0.9.1 + once_cell@1.21.3 + portable-atomic@1.11.1 + proc-macro2@1.0.103 + pyo3-build-config@0.27.1 + pyo3-ffi@0.27.1 + pyo3-macros-backend@0.27.1 + pyo3-macros@0.27.1 + pyo3@0.27.1 + quote@1.0.41 + rustversion@1.0.22 + syn@2.0.108 + target-lexicon@0.13.3 + unicode-ident@1.0.22 + unindent@0.2.4 +" + +inherit cargo distutils-r1 + +DESCRIPTION="A logging replacement for Python" +HOMEPAGE=" + https://logbook.readthedocs.io/en/stable/ + https://github.com/getlogbook/logbook/ + https://pypi.org/project/Logbook/ +" +SRC_URI=" + https://github.com/getlogbook/logbook/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="BSD" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/typing-extensions-4.14.0[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + ) + test? ( + >=app-arch/brotli-1.1.0[${PYTHON_USEDEP},python] + >=dev-python/execnet-1.5[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.11.3[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/pyzmq-27.0.2[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] + ) +" +EPYTEST_PLUGINS=( pytest-rerunfailures ) +distutils_enable_tests pytest +distutils_enable_sphinx docs + +EPYTEST_DESELECT=( + # Delete test file requiring local connection to redis server + tests/test_queues.py +) + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/logbook/_speedups.*.so" + +src_unpack() { + default + use native-extensions && cargo_src_unpack +} + +python_configure_all() { + if ! use native-extensions; then + export DISABLE_LOGBOOK_CEXT=1 + fi +} diff --git a/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild b/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild index a546174849f3..cda4c29b6741 100644 --- a/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild +++ b/dev-python/lxml-html-clean/lxml-html-clean-0.4.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" RDEPEND=" >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/materialyoucolor/Manifest b/dev-python/materialyoucolor/Manifest new file mode 100644 index 000000000000..c9b41f0a2da4 --- /dev/null +++ b/dev-python/materialyoucolor/Manifest @@ -0,0 +1 @@ +DIST materialyoucolor-2.0.10.tar.gz 42876 BLAKE2B 470f1dced00da310006957c5da08c0702ab0fe9621d04dae54e21388032a56b960d2fb4021237fff94acf94d50080f2ca4bec81101ded129a7248163a33e0a34 SHA512 f5c7f9954f3d65cbeefb84775b3a6124d4d738827091b76106f9c0681d255932267630aaeeaeb3623cc60556d78ad87f38759621045cb616dd91e8f903823624 diff --git a/dev-python/materialyoucolor/materialyoucolor-2.0.10.ebuild b/dev-python/materialyoucolor/materialyoucolor-2.0.10.ebuild new file mode 100644 index 000000000000..802875186847 --- /dev/null +++ b/dev-python/materialyoucolor/materialyoucolor-2.0.10.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Material You color algorithms for python!" +HOMEPAGE="https://github.com/T-Dynamos/materialyoucolor-python" + +LICENSE="MIT" +SLOT="0" + +RESTRICT="network-sandbox" +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +EPYTHON=/usr/bin/python +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + BDEPEND="dev-vcs/git" + EGIT_REPO_URI="https://github.com/T-Dynamos/materialyoucolor-python.git" +else + SRC_URI="https://github.com/T-Dynamos/materialyoucolor-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-python-${PV}" + KEYWORDS="~amd64 ~arm64" +fi + +distutils_enable_tests import-check diff --git a/dev-python/materialyoucolor/materialyoucolor-9999.ebuild b/dev-python/materialyoucolor/materialyoucolor-9999.ebuild new file mode 100644 index 000000000000..802875186847 --- /dev/null +++ b/dev-python/materialyoucolor/materialyoucolor-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Material You color algorithms for python!" +HOMEPAGE="https://github.com/T-Dynamos/materialyoucolor-python" + +LICENSE="MIT" +SLOT="0" + +RESTRICT="network-sandbox" +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +EPYTHON=/usr/bin/python +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + BDEPEND="dev-vcs/git" + EGIT_REPO_URI="https://github.com/T-Dynamos/materialyoucolor-python.git" +else + SRC_URI="https://github.com/T-Dynamos/materialyoucolor-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-python-${PV}" + KEYWORDS="~amd64 ~arm64" +fi + +distutils_enable_tests import-check diff --git a/dev-python/materialyoucolor/metadata.xml b/dev-python/materialyoucolor/metadata.xml new file mode 100644 index 000000000000..8c8101bcdb2c --- /dev/null +++ b/dev-python/materialyoucolor/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>core@liguros.net</email> + <name>Development</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/metakernel/Manifest b/dev-python/metakernel/Manifest index fc7c60b82fcc..8e307b72592f 100644 --- a/dev-python/metakernel/Manifest +++ b/dev-python/metakernel/Manifest @@ -1 +1,2 @@ DIST metakernel-0.30.3.tar.gz 191762 BLAKE2B 9e2e94f4fe4b5c64c336b0664ca39100f63e245224f3d179df1fae01cd6cfba7b7ae2ba229e14f48b9c89dfae0b14d055a0b91dc5d93c9d5fef562a8eee9e43a SHA512 2ee96104c2af9b54bbd860411af8f9e2470f326f64123bddecf2433aedca8c1d9755873349c33dfb3f830125cc127322f2dbf7364481792ca36899496bf23af8 +DIST metakernel-0.30.4.tar.gz 191916 BLAKE2B c7c11f8bb4aa60b10c7e201c8457d0806fa5a5b8367ef6f05b17f6c0bc903359876142c9a49991c4faf33c687ac9e6619ed358ebf744fb831b7c0dce44bf444d SHA512 bad0deebfa9568c0e8b7e6aa287aefee37271763c1ffe242c5265991694abda5b5ade466cf33b3e42c06b9b7b4055b1c2280a24cd61a0946bde3568bb8560541 diff --git a/dev-python/metakernel/metakernel-0.30.4.ebuild b/dev-python/metakernel/metakernel-0.30.4.ebuild new file mode 100644 index 000000000000..ad4ab2557fe4 --- /dev/null +++ b/dev-python/metakernel/metakernel-0.30.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Metakernel for Jupyter" +HOMEPAGE=" + https://github.com/Calysto/metakernel/ + https://pypi.org/project/metakernel/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ipykernel-5.5.6[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-4.9.2[${PYTHON_USEDEP}] + >=dev-python/jedi-0.18[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.8[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/jupyter-kernel-test[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile + metakernel/tests/test_parser.py::test_path_completions + # broken by color codes in output + # https://github.com/Calysto/metakernel/issues/266 + metakernel/tests/test_replwrap.py::REPLWrapTestCase::test_bash + # requires starting ipycluster + metakernel/magics/tests/test_parallel_magic.py::test_parallel_magic + # Broken with custom command not found handler + metakernel/magics/tests/test_shell_magic.py::test_shell_magic + metakernel/magics/tests/test_shell_magic.py::test_shell_magic3 + # https://github.com/Calysto/metakernel/issues/279 + metakernel/tests/test_magic.py::test_get_help + metakernel/tests/test_replwrap.py::REPLWrapTestCase::test_python +) diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index 73a1c83ef696..504d07de5110 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -29,6 +29,7 @@ DIST idna_adapter-1.2.0.crate 8206 BLAKE2B 5e8d7dbfea699584542cde53039df9d8c3dd4 DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd4013b0b843d24d2fb81f6566528bfd1753c649646f06cb7e59262bd6ec3ed79d4e6f01d740cf0682355f2e5a SHA512 095fb56a3d87946c42a63065a8b276c2d4b9b835800014b400bb987593bf56701bad9f55d947f090740fdb7641a4f3c87fe8bfa5724709e95254d1e8e2e3616f DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 DIST jiter-0.11.0.crate 154537 BLAKE2B 040f3881f6e02e77b759675055d35423f129ec18d3e5f6b8d85a553c473a9f1587fc595f43dae25f0321fc8003b6f2f1f52029de253b027e009f88fab0641f6f SHA512 6882a950f7c084a5fa48dcd75a912f90c2c8990683cbf878a95e122ccb4ce99a0f9dbf30dc49bc2de9b7ab2d9f81e61b256dbd657036bdee5953a5d8d6d78f6b +DIST jiter-0.11.1.crate 154396 BLAKE2B 5e510ad85739de9965c6f802df761252bcd2e57467adcee5a8ddcb41819d785463f0edce379ae243fc4b00e7d6f9016f8eb247d92ad5fb53239219fb4b0b1708 SHA512 977d20ba5ea1d770cf27434eefba328a36768160b2673b516eadc6fdc09654482967d9561515e6295b6892c65dcc0316b9bb1c5123b140eb10438dd88282e8a2 DIST js-sys-0.3.77.crate 55538 BLAKE2B 8a4c04a8e93bf5dab63784a24320a314cc5cb629df788e116c452857b8c049c6bf357f3bf8f35086eaa81bc2d7f0954001addfd0577d845844871ee138e81bc6 SHA512 d9370ed6ea892bd51ea181630ca661c348f82d575381aa4c8b529113dfcab6687f4d19bceecad7e1b28ebaca74d405862150a5b5ee2d5d55efdaf98eed1ab255 DIST lexical-parse-float-1.0.5.crate 186731 BLAKE2B 145c7cda05e7f1c949a693e77df96f6eaedb7005d864a819e522a787d05102c44352a28ac1e4598162841214bc3f1350ed121e30ca6aa5e243dc78ef1a64fa05 SHA512 3785bac5f2694febf1ce5f094ff04dc032fc1adf992949087bb18f8316fdaf416701365b34defd2529012d077032fe62ba32f898a6dfad7eefb8b7b59a06742e DIST lexical-parse-integer-1.0.5.crate 36912 BLAKE2B de63a3241c79a79b12fcc7ac515812bcd17cbd74c10bf0e2d329f4630218001118424b7016918cdfcbe27d5cbb77caf7f6c759883dea4e957d28e44437427cb7 SHA512 3239abf7200d3c480f19848d197168dea36428b1edfa565e21a568642400a32136020b2308a81f55aeaee9f8c7db448d913b1971eab4f146ef2c1a7e29cc9715 @@ -43,13 +44,17 @@ DIST num-integer-0.1.46.crate 22331 BLAKE2B d88c9f84e5d803a3aa8f44dfc1bd6d9b5e33 DIST num-traits-0.2.19.crate 51631 BLAKE2B 78637360cbf32d172510a62bd9442708af9730c0296a2bb4ebd200c08facd49bc31bf8ddd58967e0df7273a938832b620265d9f8f4d26ad16049bf6dac1cb4e5 SHA512 180018a5eceb45085e4e8d103ff21bb4d5079cea874c42a0ad4c76c99d275d434bbc1cc289f0cdec172866daa89dbfe0871410b2cc3407233fe1129786905956 DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990 DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7fe6f468a53482eb2db7f93dfdaab64ac812b3664899db260055a93449462e6d219c695942fc5b030517b197b4df9b95f SHA512 5951ea8315e52cf3acfbaa023cb9e13a136b114c54a7da0bd44619ae24cd2159d4a96469d7572a2fdabd94e19513a033387117d7ca81d0eb409fb383e4acda44 +DIST percent-encoding-2.3.2.crate 11583 BLAKE2B 58925243b23a6a1decc3d92c4ce17d06af5206844ad283b49e69e523ac0db2c36c3f4407af4104ab92c029c2581c228bdf416a054a2531191a9e912448ba4408 SHA512 495b4aac88a7a46420811671d6bd82817e4eb2fe51d5068d11c5b50d0d927895d54c855cb07d4f4ad5a2d42b22f9419ad0183c14781dbfa240804fd49761035a DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 DIST pydantic-2.11.10.tar.gz 788494 BLAKE2B 0fad8fa9baf40869df8ccb2715dc314ff64f7c21c20328be6b8c7387f4efbab92e681bc11660cdb321e12b462e1cd908bd0ae4c9c91b1d9a9ee6b072512badc7 SHA512 7bebff22b441bf0708457ed6b93909b4e2faaa7ff168323646bc61722fddc4497ceff8fc1759b9237a57a223f08c8ef450a0c9e062cee54e97c6ebc5f396b59a DIST pydantic-2.11.7.tar.gz 788350 BLAKE2B 4767f593beb649fe3139f3b22e3814a9f56793494dc17428cf70952451e9112d03b275c0af979f0f0159b25deae2e2794bfdb1392e2c3499220ad3cd67945414 SHA512 54ee1a49d5a429cad31928425c197139ae3cce004d8f3530835ce39897be9afa6aea35e639af1d6290bace7148e1369ce66840e26bced329bc2e7d93b3dad6e5 DIST pydantic-2.12.3.tar.gz 819383 BLAKE2B 77e7242c478ad0cb686334207737d93e7381e6cd91117859e7755460d1adb05e73af1ace2733a3a4e8fca37bd5f063a643841a190c5d04c4519087e0d2d82549 SHA512 46af1777b4fa11d5e24ef8de93bad0eef3e0250150bdfdbd75be21d139925a58c32f526053675c1c022a229641763d7de6fa8f7ef81f86553572c366bd5cc341 DIST pydantic-2.12.3.tar.gz.provenance 9153 BLAKE2B 9e7de239ba62592cf420a77a85cd64e7ace52d7cc8eb8069af6b0d811e6ce740602df7ec6af97086659437b400d5faece4ed9190ba9fa590eab747c766c14cf2 SHA512 1c3cf685838846b350f309b2ec71f7794490277bcfd799031decc53bf4ccb2eb634952103b37148b3a3cd14b5f009845bb40f97047f865d24f23b26136c9bf38 +DIST pydantic-2.12.4.tar.gz 821038 BLAKE2B c756e980c65af58785d39233d4d3adb4f738d2f7072df1b11525fc1fd150bf10eaf7ce81e1922eaf860ed1011c830bcdf87b5285b3f36c06b21ea621098b9aa8 SHA512 50eb4ac28a9990a2005f82caf1d363dc9d3c19592d734228f6ade2556f252a6551f99c628d144df8b3aa18dc8054348dd0b8d77008c407f62ac85633dc2cf917 +DIST pydantic-2.12.4.tar.gz.provenance 9243 BLAKE2B f81fd238a3ec0e86520578046d4921166dfd2cce5a65317704d9fdc3a73f478388fa8ba0ce53800842895e8af40b9f8427c470317f9b79f008db914140799484 SHA512 bd3cc6a5cccb1ec88dd7eaf3b3347acae56fc4b396dff2a38a5913dc5205866591bd7bdfab25fbb15107e8162ca0aef3b0fa0c214266c30d962c41df6ddc5f2d DIST pydantic_core-2.41.4.tar.gz 457557 BLAKE2B ebff295fe3a735fe29fd1c2384eb54c44f783413e849848392eff23e317f3e6650567211a284c2f5df5318827e447ff4ab457f7d63984e3a618698f3b9bfc243 SHA512 aced59b149d48956220407ff42001167c7fa98f3ae7539bab0b16011bf9a38d9c1e8994770db7bb0426114d3322316cb3ce12cb1961d54f6a4798d8b00d1ee85 +DIST pydantic_core-2.41.5.tar.gz 460952 BLAKE2B dd7d45acdc5f3093668cb57813c0c4e40e5916d04f75ef8f06308ec00243c9b0469cba5ffd2eb8449e11279d28c12ccc039dc03ed108cdb879da675d9f61aebe SHA512 1447f257efdbad0f70b490569c073696f8bdcdbd0baccac40e843520eb3cabfd23d499dca31afdc67581dd6a690cc138b882f393a91f57afcc309c800b9620c3 DIST pyo3-0.26.0.crate 1151579 BLAKE2B bcc8236785502928bf4a0b7a320e0a8f3d6140c562de4351a52d015aaebb8dd6b4d68fe607c8ea13ec66941c8f01d2c18c4249adfacb521355d4bf158667f3a3 SHA512 e073a4d893f88aa0301ef0ead78048137515edd93c490e6dccbc301ff65a208534c65c1d216b04639d4b1ec1e4b69bc87bd34974e5d0659134c28dcce589c194 DIST pyo3-build-config-0.26.0.crate 34309 BLAKE2B 5ea8b51da2f425674cd3bfcc1090ffdd08da01d2161dc66b08995c20cc859422f9f84077c545e5a0580182910aeb9dbba97838915148a82b86948d1cca3c8722 SHA512 a982d0a0baa4af58c2cef7c0c4b2671e3f559ca7f30586eda9fbd05e842efa2bfea0089ddbc729225b848871f6a25f85e86576e1dff519192ba289cd92c6aa8b DIST pyo3-ffi-0.26.0.crate 78247 BLAKE2B 65f1c399bc763bf8afc36ccac27d28242ebcccebd08ab8d9b3165ca5c9abb10f76e76fe5a250aa1e0cdc1d1e8a613160660f07bc0dbc2812675acb9dfc8e89c2 SHA512 91c2ae828e997dee5e48d839794727e94576228e9329c358a3bc77a59f8f37fa0ae6c2579229782b3f46ab90725844ce9194b9de4d3849d824adf1d40743bf7e @@ -60,7 +65,9 @@ DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d DIST r-efi-5.2.0.crate 64764 BLAKE2B ee17fae983b2c39137cb75698062a3bf8edb4bc680b04900797730618b54298e2f1d13ceab6b660f7a1799f6fc4113ca15d4320b1b95fc42913e0930f3aa16f8 SHA512 80f89d467b482297ec2c13cb0dc8e310442495483e25c33bb523f1cb66d6ce01fee4a57b36880a4f51c0e9f20eb3f993a5bc0a13224d52693dbc81b97c630158 DIST radium-0.7.0.crate 10906 BLAKE2B d576e0ea5c5287bcb6740cee3a3838b6ae4dfdef0ef05d34634b96dba5159e48260233db57a767c9e032fa5d9a5798361335cb19f7844f450113ece30ffbc51d SHA512 51e23cf52997b46c0018a94b0259b29d7bf33ddba19f6db406ca57ee5b1417d7e5f27dda3bb487d0099886011a97f238e8b3dd4d6c86e8464c0b471c1a7622a0 DIST regex-1.11.3.crate 163275 BLAKE2B a46ebf656ced6e349262900eb714b75e70e8dec66745723b200b76f0bf1b72aeb4c8104309d3312b84d946d52b1cccc7ec05bd3d31c918db9b565dbd9b4c8c4e SHA512 8a814d7d75fed7bc271409611e5491c2766c9c3781f8913152c956579e5cd278b26e08b3c1088890e7e70a352da1bc3d3765e5a6f1906d366dad6b5001ad68b2 +DIST regex-1.12.2.crate 163843 BLAKE2B 4e36124886e35c2e06ecf3310c32f45bb80fff978a99509abd7d7eb6378f81123819470c227d5c234fd6e3bc7a8e7baa331ee0ed3137f9256c76cb32413ecb7f SHA512 c459657944679350369462c3c7686dcdf412597f75bc13c450a131bfceebfe2cd1e1d7f95f0f55b4aa16bfc1acb5c777f344fcfd6a5927aa76b8a2d7aa954d3c DIST regex-automata-0.4.11.crate 622880 BLAKE2B 13353ae363d139bd890c3a1f46f5169ee136f4b0ccb119fc297b8937acafb0126f421eb2e3c28ce69a8b5e2f9374a50649c5417c69a23ad2a1933bd4c9ee2f5c SHA512 676dff6e44efe92d8c384573a9047f670337e80f73c49715d61e85fa1d6ac4604933c5588204ca85efd7d14f4f24b0509cbd1da0c4137d8dff965103a7113ec2 +DIST regex-automata-0.4.13.crate 625250 BLAKE2B e8682eff5df93737430a783cd913265dd45a9692fc4623a956557cd7d6553f34eff731f6f3ec5fed5c0dc6b7f8f31236203ad9f459a998fede053d990d9faea6 SHA512 f76939dc573a88d17b4cf37fedfcdf95202171ca8607374a5c2bcdc515abd1ef9231376175c6cf11cc567eddda34e0c5f90ed1c592f2c5efbd1dee883954a932 DIST regex-syntax-0.8.5.crate 357541 BLAKE2B fc6d125f7a8574c37d81c75cbfd447cbcff736f2d9991b19814ffc1a414ebc5b76e84fb8fd36c983b38e8e391d165cdd9047832b0d9100f0e1ba7085484b7db5 SHA512 549d8d130fea9ec0d5806126f57f31d433f50e9328c5532ad417c44bb5488ec0d20acb0983dbe54dabaa0b453cbea4533cf7baac7144df119e8f78dfe55c5ab8 DIST rustversion-1.0.17.crate 17621 BLAKE2B 1f077ca6fd90333724d1ea9df7f5b178f37f895b71a7b2814e9ba8618bffcd2307f9cb4ac2eea25d461a6686a4b5b51eebb80f1b1ccc773d4da1948c47fe8abe SHA512 0565cddecaedae17e7cd99bc34f54cda242d4c29cd4269f8e3b178ff91d49f3682e7ffe66e436bbb138299736c8e55cc143fefb74c076911fefcc41ba98064f3 DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84 diff --git a/dev-python/pydantic/pydantic-2.12.4.ebuild b/dev-python/pydantic/pydantic-2.12.4.ebuild new file mode 100644 index 000000000000..b2ed3f9671c3 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.12.4.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +# no provenance for pydantic-core: +# https://github.com/pydantic/pydantic-core/issues/1842 +PYPI_VERIFY_REPO=https://github.com/pydantic/pydantic +PYTHON_COMPAT=( python3_{10..14} ) + +PYDANTIC_CORE_PV=2.41.5 +RUST_MIN_VER="1.75.0" +CRATES=" + ahash@0.8.12 + aho-corasick@1.1.3 + autocfg@1.3.0 + base64@0.22.1 + bitflags@2.9.1 + bitvec@1.0.1 + bumpalo@3.19.0 + cc@1.0.101 + cfg-if@1.0.0 + displaydoc@0.2.5 + enum_dispatch@0.3.13 + form_urlencoded@1.2.1 + funty@2.0.0 + getrandom@0.3.3 + heck@0.5.0 + hex@0.4.3 + icu_collections@1.5.0 + icu_locid@1.5.0 + icu_locid_transform@1.5.0 + icu_locid_transform_data@1.5.0 + icu_normalizer@1.5.0 + icu_normalizer_data@1.5.0 + icu_properties@1.5.1 + icu_properties_data@1.5.0 + icu_provider@1.5.0 + icu_provider_macros@1.5.0 + idna@1.1.0 + idna_adapter@1.2.0 + indoc@2.0.5 + itoa@1.0.11 + jiter@0.11.1 + js-sys@0.3.77 + lexical-parse-float@1.0.5 + lexical-parse-integer@1.0.5 + lexical-util@1.0.6 + libc@0.2.155 + litemap@0.7.3 + log@0.4.27 + memchr@2.7.4 + memoffset@0.9.1 + num-bigint@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + once_cell@1.21.3 + percent-encoding@2.3.2 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.26.0 + pyo3-ffi@0.26.0 + pyo3-macros-backend@0.26.0 + pyo3-macros@0.26.0 + pyo3@0.26.0 + python3-dll-a@0.2.14 + quote@1.0.36 + r-efi@5.2.0 + radium@0.7.0 + regex-automata@0.4.13 + regex-syntax@0.8.5 + regex@1.12.2 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.228 + serde_core@1.0.228 + serde_derive@1.0.228 + serde_json@1.0.145 + smallvec@1.15.1 + speedate@0.17.0 + stable_deref_trait@1.2.0 + static_assertions@1.1.0 + strum@0.27.2 + strum_macros@0.27.2 + syn@2.0.82 + synstructure@0.13.1 + tap@1.0.1 + target-lexicon@0.13.2 + tinystr@0.7.6 + unicode-ident@1.0.12 + unindent@0.2.3 + url@2.5.4 + utf16_iter@1.0.5 + utf8_iter@1.0.4 + uuid@1.18.1 + version_check@0.9.5 + wasi@0.14.2+wasi-0.2.4 + wasm-bindgen-backend@0.2.100 + wasm-bindgen-macro-support@0.2.100 + wasm-bindgen-macro@0.2.100 + wasm-bindgen-shared@0.2.100 + wasm-bindgen@0.2.100 + wit-bindgen-rt@0.39.0 + write16@1.0.0 + writeable@0.5.5 + wyz@0.5.1 + yoke-derive@0.7.4 + yoke@0.7.4 + zerocopy-derive@0.8.25 + zerocopy@0.8.25 + zerofrom-derive@0.1.4 + zerofrom@0.1.4 + zerovec-derive@0.10.3 + zerovec@0.10.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" +# pydantic-core & pydantic have a perfect circular test dep now +SRC_URI+=" + $(pypi_sdist_url pydantic_core "${PYDANTIC_CORE_PV}") + ${CARGO_CRATE_URIS} +" +PYDANTIC_CORE_S=${WORKDIR}/pydantic_core-${PYDANTIC_CORE_PV} + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.14.1[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] + !dev-python/pydantic-core +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + dev-util/maturin[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" +# pydantic-core +BDEPEND+=" + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-mock ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +src_prepare() { + sed -i -e '/benchmark/d' {.,"${PYDANTIC_CORE_S}"}/pyproject.toml || die + sed -i -e '/^strip/d' "${PYDANTIC_CORE_S}"/Cargo.toml || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + local DISTUTILS_USE_PEP517=maturin + local DISTUTILS_UPSTREAM_PEP517=maturin + cd "${PYDANTIC_CORE_S}" || die + distutils-r1_python_compile + cd - >/dev/null || die +} + +python_test() { + local EPYTEST_DESELECT=( + # == pydantic == + # -Werror, sigh + tests/test_types_typeddict.py::test_readonly_qualifier_warning + + # == pydantic-core == + # TODO: recursion till segfault + tests/serializers/test_functions.py::test_recursive_call + ) + local EPYTEST_IGNORE=( + # require pytest-examples (pydantic) + tests/test_docs.py + # benchmarks (both) + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + # (pydantic) + tests/test_pickle.py + ) + fi + + cd "${PYDANTIC_CORE_S}" || die + rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3* ]] && cargo_src_test + epytest -o xfail_strict=False -o addopts= + cd - 2>/dev/null || die + + epytest +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index cbdfd68c220b..1a22a6fba6dc 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -70,6 +70,7 @@ DIST pyo3-macros-backend-0.25.0.crate 75089 BLAKE2B ea4d87e16616782c60f46f97d87a DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5ebe09412d212c8f01aa4db6638ef09990bf1bccbacf2e5a7e6ec21929bb1c2beba06587ecdb6ee954eda9e9c51c6c276cea95 SHA512 4146011a8ef18ecaa44b425eebe6e5e1370945063b98aaa83452e57b66aefbf5d483367b1d4d44aa5091303c4ba7f568c6428ecec0cfa6c90ba41631d4e99367 DIST pyproject_fmt-2.10.0.tar.gz 45764 BLAKE2B 488f5115681de9015a9e22834e4ecf407720707fd532da7ed8122740e3071d433e9542b919391a4a04fc2ea31f17c07996db25b91ff210832a84ce630ce6bf1d SHA512 d966ba619fa8f7e8e28666ea9c2ee24f75b239af85ba37ebf269552296dcf93beedd64c40756aa11b07036e609709dca5b4268f8b061c4ff0a0f8da43f30c064 DIST pyproject_fmt-2.11.0.tar.gz 46894 BLAKE2B 66a289b54d5ebfccd4dc978e38a2532670e290ec730dd4d611540383fa59b74b30d440375f7c5e6457bf28f5726fd2ad3594cb3baa6afd9f687e5f750b7813bd SHA512 7ba73ad4445249c02359a534c1cac83130b6d7633223ef3466072253ae184fd80d484eb8a0be61c94f313652fa80badeecb4af5baa9aadf209d19d804a47b2e7 +DIST pyproject_fmt-2.11.1.tar.gz 47310 BLAKE2B f066e5222da660e988abc1abf9425eb54864e83872f5317b1eac625433449dd753e76b0ec05905b7051b542bfc42ceebda8f3d41dbdfcde13f8fe5e295933b47 SHA512 c9e63d9494cb9560bb8d404aee78e6a3db3dd1bd019fb16ade7810665084f2e0396d4ec9f2ce84e1c6567ad95ddf26db6d3c9feaf99791291436ce2351cd9b43 DIST pyproject_fmt-2.6.0.tar.gz 43484 BLAKE2B 06091446129ef75ad4b41249d4ef9f89965007dfd48bfbdad581fe295021fef06297fc4944f413f353aabf290fb695d09e2878a340129f853c2594a21865f40c SHA512 cfd8a1dcf149895adeced72dcd7036b6f18498f05f55c8148234c95f52868276e4cf1fa1453353ecc311c478321903a577f6056b756b469f52210d9ba3016bfc DIST pyproject_fmt-2.7.0.tar.gz 45559 BLAKE2B 9d7defa66c7bbb0399476cf3303e0bfd3cfcfb312c8a11d50cbfd6ab0eff2163b2e35fec2eb9467a729a218386526f5b1e307fc7e9d306c33dd9f35939a5fd06 SHA512 3fa88282b4ef28031d2f1b6c2891bb84cc6a1631875938b6a0268a8cd13e37cf04379e2ac29182ae86afdb86d3eb2d81c3da7fe1d23a1fe8ec278a1f16eb5cd9 DIST pyproject_fmt-2.9.0.tar.gz 45704 BLAKE2B 80ba12a6fc90ad9baffe00f7b0ad3380a520bd9db54c0192021be9d92c65f1fdedb73ae5f2f18835bd7f5fe4120ba7504cf3fbeb8f0795236adc378399e89b06 SHA512 a55b869589d127c488469408cb0e8837d7ecf7e9b73f39d22953a050828cdaa1ce66d61088dd7148168ddb989150a0b560f7a622ca6ee78b29c2e00d1483e535 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.11.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.11.1.ebuild new file mode 100644 index 000000000000..a39108adb0eb --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.11.1.ebuild @@ -0,0 +1,150 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..14} ) + +RUST_MIN_VER="1.77.0" +CRATES=" + ahash@0.8.12 + aho-corasick@1.1.3 + any_ascii@0.1.7 + arc-swap@1.7.1 + autocfg@1.4.0 + beef@0.5.2 + bitflags@2.9.1 + bstr@1.12.0 + cfg-if@1.0.0 + countme@3.0.1 + deranged@0.4.0 + either@1.15.0 + equivalent@1.0.2 + fnv@1.0.7 + futures-core@0.3.31 + futures-macro@0.3.31 + futures-task@0.3.31 + futures-timer@3.0.3 + futures-util@0.3.31 + getrandom@0.3.3 + glob@0.3.2 + globset@0.4.16 + hashbrown@0.14.5 + hashbrown@0.15.3 + heck@0.5.0 + indexmap@2.9.0 + indoc@2.0.6 + itertools@0.10.5 + itoa@1.0.15 + lexical-sort@0.3.1 + libc@0.2.172 + log@0.4.27 + logos-derive@0.12.1 + logos@0.12.1 + memchr@2.7.4 + memoffset@0.9.1 + num-conv@0.1.0 + once_cell@1.21.3 + pin-project-lite@0.2.16 + pin-utils@0.1.0 + portable-atomic@1.11.0 + powerfmt@0.2.0 + proc-macro-crate@3.3.0 + proc-macro2@1.0.95 + pyo3-build-config@0.26.0 + pyo3-ffi@0.26.0 + pyo3-macros-backend@0.26.0 + pyo3-macros@0.26.0 + pyo3@0.26.0 + quote@1.0.40 + r-efi@5.2.0 + regex-automata@0.4.9 + regex-syntax@0.6.29 + regex-syntax@0.8.5 + regex@1.11.1 + relative-path@1.9.3 + rowan@0.15.16 + rstest@0.26.1 + rstest_macros@0.26.1 + rustc-hash@1.1.0 + rustc_version@0.4.1 + ryu@1.0.20 + semver@1.0.26 + serde@1.0.219 + serde_derive@1.0.219 + serde_json@1.0.140 + slab@0.4.9 + syn@1.0.109 + syn@2.0.101 + taplo@0.14.0 + target-lexicon@0.13.2 + text-size@1.1.1 + thiserror-impl@1.0.69 + thiserror@1.0.69 + time-core@0.1.4 + time-macros@0.2.22 + time@0.3.41 + toml_datetime@0.6.9 + toml_edit@0.22.26 + tracing-attributes@0.1.28 + tracing-core@0.1.33 + tracing@0.1.41 + unicode-ident@1.0.18 + unindent@0.2.4 + version_check@0.9.5 + wasi@0.14.2+wasi-0.2.4 + winnow@0.7.10 + wit-bindgen-rt@0.39.0 + zerocopy-derive@0.8.25 + zerocopy@0.8.25 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-3.0 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/toml-fmt-common-1.1.0[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/tox + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt/_lib.*.so" + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/strip/d' pyproject.toml || die +} + +python_test_all() { + # default features cause linking errors because they make pyo3 + # wrongly assume it's compiling a Python extension + # https://github.com/tox-dev/toml-fmt/issues/23 + cargo_src_test --no-default-features +} diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 96f9b71105a8..bf560213dfb4 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -16,10 +16,6 @@ DIST Python-3.13.9.tar.xz 22681368 BLAKE2B 8fbf9b9e0dcc480a5bac82d5c18d6fdb63076 DIST Python-3.13.9.tar.xz.asc 963 BLAKE2B 7989940e3dfc62c553016f9d2b9aef447e770d63b2508f287e14495ba3e98326279d2bdb3b96bbc65ff2a859253bc43d8ce5387873842f656a66abef8380a3b7 SHA512 c33fba3a6b22dccc08beb7f13bd61a25a30f609a54da7c8dfd3b3b4a3490a7b24c11f9617a835388f22709fb09375d35febc417cf104a18f5bec3b43ec999e82 DIST Python-3.14.0.tar.xz 23595844 BLAKE2B 0fe495d62819c9066240927ceff022dc36920cfd9aa7f80f09fd82a6baf42fe0ef85aed7087418ad9769504e62dc0592cf9c06a542335d83ab65fc6399b5ac76 SHA512 46e9e205c3a084cba68bf7f267ab2fd0862a05430165e0eb713f2d6b3a1a4452f72f563de5de55caea824be9df56f66dd568f4814941667a9bb0954229772c53 DIST Python-3.14.0.tar.xz.sigstore 5374 BLAKE2B 50ed6dada3a7dfcfeb47e0cc55568c0e2ea01a5710f341d6423bb5b0982897b13a7a7c91d8b7c995499f687b17a6cf432fdcd3338b0ac658d19a8ad032438957 SHA512 147bf060a55b9108efb6f6a7f478c0b4dc1e7b1e215b842fb8adfe1b96bbe8d1b49ad352455e047d694638130f8533e3ea1c3a246e9ed0fde0d08e80113a6c44 -DIST Python-3.14.0rc2.tar.xz 23566140 BLAKE2B 6871d31eba6167f2d0b2d098b1582e465b1bb8df90ede41bba57b8dbdcb087ceba7cc047e93e43cf93c3c36d3166f4f99ab4c321566ec64cdc4c0e65c0abd1da SHA512 8021dc8e23239fd9e53fafd1fcaa1108da41ef376ee5b5e9c8dfd74995537131990239cd83de45b8bd5fb52b44c4dc08df1c837f69ce82c5b2d99ddf3ea5ef77 -DIST Python-3.14.0rc2.tar.xz.sigstore 4942 BLAKE2B 650404fe155c874f05d114dda6ff47ef90b9ed09f6d40f7a3757a3f0fe4420380cb2e52696dda76badccd86b31117e6f8b906a61881b8f65949d00d692abd959 SHA512 2cce5b68b32f9f0f400e5c2d571ad9ce479cff904690ddd454ea69b612cd8c5c003f632f8866a220be46e5e56b92a1dfb12c4e12b381fc7c58710635be5ea715 -DIST Python-3.14.0rc3.tar.xz 23585028 BLAKE2B a74f441855f20001e04e576bb85227f73907213c435e7cdebcd3d5f04962181ebf7ab9d8fd7503ed51696fa4d285cd64c74a9c48e13250db6b5b3fce8e20bbb4 SHA512 15c55660fc0168bd0f2348fa6d669352b422a626b151b7a7131eb338459e552a15908874ad872eea0eea48801d5a489647e1643bf00548fd6d9c1aff6fc2044f -DIST Python-3.14.0rc3.tar.xz.sigstore 5278 BLAKE2B f03ca95d4c143547533744e943045f22d493ad5c05f41644c20007792b6b4dd8fe3677a3bbab62b44c05dcf370e4bce109ed3fba1ac094f564c86538d6be8ec4 SHA512 8101d92af5e4fb67f5d7a378d817ffa8982898865986f1ed47ec0009b2203af4f797d60a07eb50453a85833a23349c472e9be4a7e10c2c9ea7f18c30ae45544c DIST python-gentoo-patches-3.11.11.tar.xz 10604 BLAKE2B 6be4c66b0458f7a7085aef976cff3dcb4d114ac0b64fb27327a5693e8d41a77f7eeed718b9c5a1b1961278235ee4cd43497aa3dc27e6e6bed65804b95f667a15 SHA512 ab8113a94949cead34d976179f80c3e0a6686bf2476079a74f97b4d08c24a237500dc7ee09dc3b0ec98d2fbcb138397c73d7e2252e617a957a13999e59115158 DIST python-gentoo-patches-3.11.13_p1.tar.xz 27748 BLAKE2B 26e0b5397d7927711bcc40330f72f54fb16c660c56a2f87166c5336eb2f53ccd4e920b906854ee122d64360b414e11a38a31a410936b4a49f6610626203f4322 SHA512 7c7eca7bf827255925e073c0ed5c69e9036b79e35e8f6ccb2684709bdc41fec80823a1df192c3decf56ba6d53e2c9feaf7fb81f3a214da69773da6a2997ca19b DIST python-gentoo-patches-3.11.14.tar.xz 15968 BLAKE2B 5bd091046feee03afd59a87b72c44b3a0874b23f89eb98020cc057f5651d31857721eb095bd056dae8bef85220dbe5aff2900cf8411dceb14e8775a4a2f09a93 SHA512 760df16f98c1a91164b43c13eb36073c74169321569791125fdad8682419b818736fe02e40c1aa1232a11081b1007c923a8fd2afd002eb4fdff0800da92d03e2 @@ -32,6 +28,5 @@ DIST python-gentoo-patches-3.13.7.tar.xz 7088 BLAKE2B 07acf2a1cc25f95131875e0282 DIST python-gentoo-patches-3.13.8.tar.xz 8956 BLAKE2B a98766abfe50feb591e3aa7b7964fdcecd43cadff088735152417d6bad5fe6e6055bc41cdfa74332790775c8b333f35e28f381dc557b9c89c7bd4aafb0e846f3 SHA512 9ee23e972a90eb9578c469af255d2559d4aa454a9b8716075baded60ff6e457a96b69cce3427bba8daddbb4a47d388b1316019fd397b13c8db71cf4882e3f3f5 DIST python-gentoo-patches-3.13.9.tar.xz 8952 BLAKE2B 9941b3dd241adcdde64b38bdc3a610e8f3a820b0b4ff03b06ed6d1c26c91af0567cd1e979a8f1d0cfcd05a1568a182ee87944b27ecef22ec139de001e9085624 SHA512 bd12075b144300f1f922175077345fe38a7067282c057fbc256ef646a3e58dca68c029f1449ce4c40d6e7b62444579d6f892f28d73ddc8f859b48636012e3814 DIST python-gentoo-patches-3.14.0.tar.xz 7992 BLAKE2B 8faff97c198abc1549d7c871c82ff649bbdbe18f9cfdad31aa7b6535391fff8e6adc387a120a6298ede8842421bc103cfae27da807e651c9898d4edb192f4fd7 SHA512 7bc425a89d0f3ebbdab4f52ce1300e16512bda4f08968222e8e68f22d3a794fc7d32a00644f4949810ebb41da0ffd4a5a962dcbee86c7660cd4214406ad16b01 +DIST python-gentoo-patches-3.14.0_p1.tar.xz 8952 BLAKE2B d53c5a055be72e3f92a63e18cf75d2f6eb1e352a7529f7ce8256aaf0fa5ac92443646fe07bdbc707a28c1ed395c4c2edd29db0b8fc591679c7602aedfc968489 SHA512 ec03a259281d675063ad82dfd9c0fcb08402120663b9c2a56e37de45bb03e678fccd0c3723b6deffc4f5b8ea4ad17492040a98c7434853da2007f31cdb549bdd DIST python-gentoo-patches-3.14.0b1.tar.xz 5680 BLAKE2B 514b3edc3025e5bf675d371b5ada17dea426856edf1fb6095c2ee400eae95bd4265ef81fe593ae9338e801e7d0a25b1d5ba2d05ca563fd9dd020114b13575746 SHA512 74289e42cf532b54bb1b66a283ec19156f8a36ba38764209c133842314c9efb2ce2ebcba5aa9213bcf7fc0c8a5ca9b6e7adbd5dbfa4397233136d7cd55f53ee7 -DIST python-gentoo-patches-3.14.0rc2.tar.xz 3776 BLAKE2B 122a49783f12cf0274ab74ff06edfc483971fca125085914dbc69c2a147a91178b8e573aac6567f5f540aec968e04af6e76a5dec0028b7a8abaac599ce1ae9b4 SHA512 3a16fbbf9e1d71ac87c79f0940634ab299b9f68f98928ac7fde44eae47b5a3f89232e63366bd8fda4484eb6721dcf05e17f92459f95b5786f3649d5ae499df4d -DIST python-gentoo-patches-3.14.0rc3.tar.xz 7992 BLAKE2B fd4f0be9f78a6d1f193c62db16f896ee19445f2dd95ffff4f1bca0b55dca0c837dc7a2e4fc07b8633043091e2fc8aa170e6782d66710ce371388896f65b4d68d SHA512 2ab39d1265e51747b2a20fc0dfe8b7391847bace5b5c88561be2c2de6ab2595813d2c84ab32d9df022f8f075f48968b4fd0106140e6eedfee56a6a7201b311b6 diff --git a/dev-python/python-tests/python-tests-0.3.14.0_rc3.ebuild b/dev-python/python-tests/python-tests-0.3.14.0_p1.ebuild index 2a767ce8401e..84e85ea55b2c 100644 --- a/dev-python/python-tests/python-tests-0.3.14.0_rc3.ebuild +++ b/dev-python/python-tests/python-tests-0.3.14.0_p1.ebuild @@ -9,7 +9,7 @@ VERIFY_SIG_METHOD=sigstore inherit python-r1 verify-sig REAL_PV=${PV#0.} -MY_PV=${REAL_PV/_/} +MY_PV=${REAL_PV} MY_P="Python-${MY_PV%_p*}" PYVER=$(ver_cut 2-3)t PATCHSET="python-gentoo-patches-${MY_PV}" diff --git a/dev-python/python-tests/python-tests-0.3.14.0_rc2.ebuild b/dev-python/python-tests/python-tests-0.3.14.0_rc2.ebuild deleted file mode 100644 index 2a767ce8401e..000000000000 --- a/dev-python/python-tests/python-tests-0.3.14.0_rc2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -VERIFY_SIG_METHOD=sigstore - -inherit python-r1 verify-sig - -REAL_PV=${PV#0.} -MY_PV=${REAL_PV/_/} -MY_P="Python-${MY_PV%_p*}" -PYVER=$(ver_cut 2-3)t -PATCHSET="python-gentoo-patches-${MY_PV}" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz - verify-sig? ( - https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.sigstore - ) -" -S="${WORKDIR}/${MY_P}/Lib" - -LICENSE="PSF-2" -SLOT="${PYVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -# https://www.python.org/downloads/metadata/sigstore/ -VERIFY_SIG_CERT_IDENTITY=hugo@python.org -VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} - fi - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/python-tests/python-tests-3.14.0_rc2.ebuild b/dev-python/python-tests/python-tests-3.14.0_p1.ebuild index 28992a8422de..15f4e7f2fa04 100644 --- a/dev-python/python-tests/python-tests-3.14.0_rc2.ebuild +++ b/dev-python/python-tests/python-tests-3.14.0_p1.ebuild @@ -8,7 +8,7 @@ VERIFY_SIG_METHOD=sigstore inherit python-r1 verify-sig -MY_PV=${PV/_/} +MY_PV=${PV} MY_P="Python-${MY_PV%_p*}" PYVER=$(ver_cut 1-2) PATCHSET="python-gentoo-patches-${MY_PV}" diff --git a/dev-python/python-tests/python-tests-3.14.0_rc3.ebuild b/dev-python/python-tests/python-tests-3.14.0_rc3.ebuild deleted file mode 100644 index 28992a8422de..000000000000 --- a/dev-python/python-tests/python-tests-3.14.0_rc3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..14} ) -VERIFY_SIG_METHOD=sigstore - -inherit python-r1 verify-sig - -MY_PV=${PV/_/} -MY_P="Python-${MY_PV%_p*}" -PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-${MY_PV}" - -DESCRIPTION="Test modules from dev-lang/python" -HOMEPAGE=" - https://www.python.org/ - https://github.com/python/cpython/ -" -SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz - verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.sigstore - ) -" -S="${WORKDIR}/${MY_P}/Lib" - -LICENSE="PSF-2" -SLOT="${PYVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -# enable by default to help CI handle it (we have no additional deps) -IUSE="+python_targets_${PYTHON_COMPAT[0]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - ~dev-lang/python-${PV}:${PYVER} -" -BDEPEND=" - ${PYTHON_DEPS} -" - -# https://www.python.org/downloads/metadata/sigstore/ -VERIFY_SIG_CERT_IDENTITY=hugo@python.org -VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} - fi - default -} - -src_prepare() { - local PATCHES=( - "${WORKDIR}/${PATCHSET}" - ) - - cd .. || die - default -} - -src_install() { - python_setup - # keep in sync with TESTSUBDIRS in Makefile.pre.in - python_moduleinto "/usr/lib/python${PYVER}" - python_domodule test - python_moduleinto "/usr/lib/python${PYVER}/idlelib" - python_domodule idlelib/idle_test -} diff --git a/dev-python/pytokens/Manifest b/dev-python/pytokens/Manifest index 485a263caf97..0affa89e2c30 100644 --- a/dev-python/pytokens/Manifest +++ b/dev-python/pytokens/Manifest @@ -1 +1,2 @@ DIST pytokens-0.2.0.tar.gz 15368 BLAKE2B 5ca5504725d536fa13499c508d8ea9765416897513e3a35a9ec8c57ec15a8ef231c6ebae76748345ac9451d27a7c276c3826545092fd556467a9f0ede0d9702e SHA512 70d2b60c6695de6629da77a95fb9409938e190e4a94448cf58206f7a406f2aedbcbf415c45f6b3c9c4555cc219a97aad359e1f9267752188d7a92a30fe230cc2 +DIST pytokens-0.3.0.tar.gz 17644 BLAKE2B bdf4c1c24cb977dc6a741adac33ab699c8c98af5493d14236d5e2672673bf76bd69bbea25ad3af2f59f2c7ee323036658346f0e50b281e3c78a07c3c686b3c48 SHA512 f52e689c7f39428e76418434f5155c2ad8c165a9927118a7803965f131ed63578151dbf090110cc016a019912491a6ab5787cbda408d352c6849c68b93df1b1a diff --git a/dev-python/pytokens/pytokens-0.3.0.ebuild b/dev-python/pytokens/pytokens-0.3.0.ebuild new file mode 100644 index 000000000000..54fe84704abe --- /dev/null +++ b/dev-python/pytokens/pytokens-0.3.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 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="A fast, spec compliant Python 3.13+ tokenizer that runs on older Pythons" +HOMEPAGE=" + https://github.com/tusharsadhwani/pytokens/ + https://pypi.org/project/pytokens/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 9c74006433d8..47fb2e3771f1 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,5 +1,3 @@ -DIST stripe-12.5.1.tar.gz 1432826 BLAKE2B 84afb1f9dd9fa4b38d8781c7942d8ec2599c8f4a0552a3a39276beaaa6539c1d2ba07ef5b74493e13310310b29f803c37388bef3e46201d535c82babe2fc2e41 SHA512 037b1e45aa8be075eaec437a41a0701dd792324564fef8ffeee0b2a1428a52070e34c2ad5d40b10e31965daa4d83cc46024886e0527aac7961b9a5eef1b4ceed DIST stripe-13.0.1.tar.gz 1263853 BLAKE2B f210b2c69afbf5d25b78857f125e5cf28ec6189fe446065e5d069448a808f5c8269d0461a09d37fa74ed15d8f112d00814a0735e2be524e4ae7c67b4f9b70f9f SHA512 ae747f381433cebe577a312be25aaf8cbf6b46a993fcae5ceaa372ccaa41ae77f80441c3036045db3d85d6d591af38d82c652f448d81cd630103e5e745d98f35 -DIST stripe-13.1.0.tar.gz 1356892 BLAKE2B e1b5ea2ae680d2573debb589cb5e35b09f5b245bfd032991650f1a125ed889efd7565d4ffc2aaf59f2cbd95e7838ebee81f59faa6eb450c1f956cf2cb305e5c7 SHA512 26c97866b457ac24cc20559e4889d4893cefc64e3184ba72fd7f7a71265b9674400322441c5170220d1eb9aa6004d20b5e5280d04dc3c6056b6937be10a8271a -DIST stripe-13.1.1.tar.gz 1357445 BLAKE2B 4736de4d653d6c02bff9dab751bcf164f6fedcc397d95130910a82abad050e38bc2b548bbd8312c82999fd1530e8fa62a1421942b942536df2de0be17aeb4231 SHA512 3b6681b399a354f862a547c8aabe9f74c19f9941afba366a8c7d19b327d0299615a1db27ac58fbdaf019e8c043be1f94691e21ba5a76170f40f7d0bd213c1c96 DIST stripe-13.1.2.tar.gz 1357500 BLAKE2B cc3b56b85f4852813e882e06b18cb0fe522ed252421c58bd2433661d58abb621b8b43ccdb441eac44587f67c5b5e18be773e42e503d58beae8d3a391e04e5b01 SHA512 57eadf645cdbddc91777fae1a97d0e6f612c3d8533201cb2c6110a549a672ac2f27c5346930e4f14345ab07644f6254c367192c1d3d933fe32fc6c8831a50c4a +DIST stripe-13.2.0.tar.gz 1357785 BLAKE2B 5462cd451f111878c4a12019a1e8efd515c25a93d0c10dd0a59ae9fb1d5a94ebfb66dbc3e76f1bf822ff8713fa05027f08974545c08a559486a9cbaec7e4ec97 SHA512 3cb687d6a1f45c0cbdc5ed301f5751d3c2499f8524e03e429aca54d11c4ab8735a9fd81e18b56829c479a3c68dce43dd5c4bd86c82c9d4ed4144dbc4ac2b5bd1 diff --git a/dev-python/stripe/stripe-12.5.1.ebuild b/dev-python/stripe/stripe-12.5.1.ebuild deleted file mode 100644 index e6e3bd5e04e8..000000000000 --- a/dev-python/stripe/stripe-12.5.1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe Python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -IUSE="telemetry" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.194.0 - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -EPYTEST_PLUGINS=( anyio pytest-mock ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - distutils-r1_src_prepare - - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_http_client.py::TestLiveHTTPClients::test_httpx_request_async_https - 'tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]' - # timing - tests/test_integration.py::TestIntegration::test_passes_client_telemetry_when_enabled - ) - - epytest tests -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-13.1.1.ebuild b/dev-python/stripe/stripe-13.1.1.ebuild deleted file mode 100644 index 5b0096f2ce7b..000000000000 --- a/dev-python/stripe/stripe-13.1.1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Stripe Python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="telemetry" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.197.0 - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -EPYTEST_PLUGINS=( anyio pytest-mock ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_http_client.py::TestLiveHTTPClients::test_httpx_request_async_https - 'tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]' - # timing - tests/test_integration.py::TestIntegration::test_passes_client_telemetry_when_enabled - ) - - epytest tests -} - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & - local stripe_mock_pid=${!} - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null - eend ${?} "Port ${stripe_mock_port} unavailable" - if [[ ${?} -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - local -x STRIPE_MOCK_PORT=${stripe_mock_port} - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} diff --git a/dev-python/stripe/stripe-13.1.0.ebuild b/dev-python/stripe/stripe-13.2.0.ebuild index 5b0096f2ce7b..5b0096f2ce7b 100644 --- a/dev-python/stripe/stripe-13.1.0.ebuild +++ b/dev-python/stripe/stripe-13.2.0.ebuild |
