diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-19 18:57:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-19 18:57:15 +0000 |
| commit | 5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207 (patch) | |
| tree | 59ed4252b6b61d330b00d0ab64d5db66d38d7080 /dev-python | |
| parent | 13f9cec217411924fb3fdebaffd66c722b9a1179 (diff) | |
| download | baldeagleos-repo-5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207.tar.gz baldeagleos-repo-5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207.tar.xz baldeagleos-repo-5dc3ed247f2e7cbdb892ec7b8b86842a20ed0207.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
21 files changed, 400 insertions, 357 deletions
diff --git a/dev-python/bareos/Manifest b/dev-python/bareos/Manifest index db2a8accb2df..fc7ff8f389fd 100644 --- a/dev-python/bareos/Manifest +++ b/dev-python/bareos/Manifest @@ -1 +1 @@ -DIST bareos-24.0.2.tar.gz 13350863 BLAKE2B b9adbcc0ce5ee0a73fef9842dcdfc0ebf2b31765d515a0898a39dd63d71801bedd5365b6426b0fae9df5ef57270ba9667730c10dd0cb18d482f29bdd7273bdb7 SHA512 14458fe192409ae61b814d246747b3e7a6df338f55c02f5b9122a015327b649e86fb1e50a54886cd7acc60ed19eb638f2d26af49c29664c62afead6ccedbf52b +DIST bareos-24.0.3.tar.gz 13377716 BLAKE2B d44b6f5d742ddd43029eea0599cf5746b9f348d3fbdb106afd2a55c35cfb1d12a05fd16fac2f3246e284317ab1577569f38ff8908855900d8480d6834c692c62 SHA512 7d30fa23499f9a0ebcd66688416c1ec63d8ae9a507ba18d4c37dc6ded8bd709e6c232ee8bb1d5736972c7f279b6ba9b9c0a8bf1b3cb06460ecd38158bddf3b43 diff --git a/dev-python/bareos/bareos-24.0.2.ebuild b/dev-python/bareos/bareos-24.0.3.ebuild index ee3471b7c146..69d50f3177c3 100644 --- a/dev-python/bareos/bareos-24.0.2.ebuild +++ b/dev-python/bareos/bareos-24.0.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..13} python3_13t ) +PYTHON_COMPAT=( python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index b2ed93e391c6..039364074ee9 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,4 +1,2 @@ DIST cython-3.0.12.tar.gz 2757617 BLAKE2B 064549e36e03424065eab081b60e2761d198490cfd4d7836ea236b833ada3962e6ed42ba1710b33418f8a31ac282cdc156ceb544ee21be80ee34b7a3d3f6c7fb SHA512 c4e85596eeea444fae983d32ce8731cc5d0d612d1f96b998db3aa7946e8be151a7ea62c6df163d875111e306c870656b82a8468dd873cacf84c7bd5671a39bc3 -DIST cython-3.1.0.tar.gz 3181017 BLAKE2B 8da25d43e4e24503dba8f0b22176eecf31d597c091734a7d3460d712137783c451f4589a99932ad3c0b028a825939980a92d9a653208eff2be71307680d353ff SHA512 94bbf2d020785a24828e9f5516515d11926bc3511074e5ea780db30d0b8dde332d52adb950dbdca4767ba86d5e7630549efc442e73269d2c4c91ac4844a69a14 -DIST cython-3.1.0rc1.tar.gz 3158411 BLAKE2B 44540e95b8b060956654a0d92fc4b8417088816a1e3f8fc17c8575a1cbd4b71a76cc69209d58c731281a310a9f6a7e2e711f88dc6855bc487d08056203cb04d8 SHA512 b0cefe1d4e248e6044af373088902475839ae06b5855b5b3bffdce5159a0f6e54802c24715a6f6e3242a250841c2ff1e56435b7ed3e304964af01a162f8a851a -DIST cython-3.1.0rc2.tar.gz 3170920 BLAKE2B 08dbce1c6d52295dfc09d14349af03d2d58c84d165b92b8c95c24b6446695e4064960280acb177ab4114b381ee03c99d230f4b70a6f71b9a4b9a8ccd85e7a2e6 SHA512 89f75cd32187db8072fc9596528f72b374f47a0bcfeeea24d401bc4ab52b48ec16049e68e2b8c36ba6b9b6e28bf6e8d5f8f3dde2f19452ee3d8baf21bdf0e747 +DIST cython-3.1.1.tar.gz 3175446 BLAKE2B 4a75df724e313220321b05b7839bd406e5e923eb860337b7819c31152859396e5bda65a0a06ace196839bed729e28e51a1349c178e615ba58cf9bc80dc706b0d SHA512 5c64b5d280b234d93d02e91ab22567342350671c605df30a3ac7b41b64e0605eb0aef7bc721f68d35d6048085eaa392cb0a803df32ca902e51e2009c987d962e diff --git a/dev-python/cython/cython-3.1.0.ebuild b/dev-python/cython/cython-3.1.0.ebuild deleted file mode 100644 index 73a80a26855e..000000000000 --- a/dev-python/cython/cython-3.1.0.ebuild +++ /dev/null @@ -1,82 +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_TESTED=( python3_{9,10,11,12,13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - <dev-python/numpy-2[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_prepare_all() { - # Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995) - rm tests/run/coverage_cmd_src_pkg_layout.srctree || die - - distutils-r1_python_prepare_all -} - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - 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 - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || 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.0_rc1-r1.ebuild b/dev-python/cython/cython-3.1.0_rc1-r1.ebuild deleted file mode 100644 index 83e6bb31b417..000000000000 --- a/dev-python/cython/cython-3.1.0_rc1-r1.ebuild +++ /dev/null @@ -1,84 +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_TESTED=( python3_{9,10,11,12,13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - <dev-python/numpy-2[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" - # https://github.com/cython/cython/commit/a0794ffb47c9f44be94b3cd8fe6c639766cbda26 - "${FILESDIR}/${P}-rdma-core-hang.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_prepare_all() { - # Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995) - rm tests/run/coverage_cmd_src_pkg_layout.srctree || die - - distutils-r1_python_prepare_all -} - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - 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 - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || 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.0_rc1.ebuild b/dev-python/cython/cython-3.1.0_rc1.ebuild deleted file mode 100644 index 73a80a26855e..000000000000 --- a/dev-python/cython/cython-3.1.0_rc1.ebuild +++ /dev/null @@ -1,82 +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_TESTED=( python3_{9,10,11,12,13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - <dev-python/numpy-2[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_prepare_all() { - # Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995) - rm tests/run/coverage_cmd_src_pkg_layout.srctree || die - - distutils-r1_python_prepare_all -} - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - 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 - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || 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.0_rc2.ebuild b/dev-python/cython/cython-3.1.0_rc2.ebuild deleted file mode 100644 index 73a80a26855e..000000000000 --- a/dev-python/cython/cython-3.1.0_rc2.ebuild +++ /dev/null @@ -1,82 +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_TESTED=( python3_{9,10,11,12,13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -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" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - <dev-python/numpy-2[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_prepare_all() { - # Needs dev-python/pip and doesn't like 'externally-managed' (bug #927995) - rm tests/run/coverage_cmd_src_pkg_layout.srctree || die - - distutils-r1_python_prepare_all -} - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - 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 - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || 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.1.ebuild b/dev-python/cython/cython-3.1.1.ebuild new file mode 100644 index 000000000000..3405c2dd17bd --- /dev/null +++ b/dev-python/cython/cython-3.1.1.ebuild @@ -0,0 +1,125 @@ +# 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=( python3_{9,10,11,12,13} pypy3 ) +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" +) + +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' + ) + + 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/metadata.xml b/dev-python/cython/metadata.xml index d621106bc03c..41ada574cdbd 100644 --- a/dev-python/cython/metadata.xml +++ b/dev-python/cython/metadata.xml @@ -11,5 +11,11 @@ more cutting edge functionality and optimizations. </longdescription> + <use> + <flag name="test-full"> + Run test suite in full via additional (large) test + dependencies, like dev-python/numpy. + </flag> + </use> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild b/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild index 300ef99653e7..728f025298ce 100644 --- a/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild +++ b/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~mips ~ppc ~riscv ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~riscv ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/docutils/docutils-0.21.2.ebuild b/dev-python/docutils/docutils-0.21.2.ebuild index 616080b03d11..b669c7439d30 100644 --- a/dev-python/docutils/docutils-0.21.2.ebuild +++ b/dev-python/docutils/docutils-0.21.2.ebuild @@ -27,6 +27,14 @@ BDEPEND=" ${RDEPEND} " +PATCHES=( + # r10019 upstream + "${FILESDIR}/${P}-pygments-2.19.patch" + # this changed back at some point, but upstream didn't hit it + # because of https://sourceforge.net/p/docutils/bugs/500/ + "${FILESDIR}/${P}-pillow.patch" +) + python_compile_all() { # Generate html docs from reStructured text sources. diff --git a/dev-python/docutils/files/docutils-0.21.2-pillow.patch b/dev-python/docutils/files/docutils-0.21.2-pillow.patch new file mode 100644 index 000000000000..993283ed798d --- /dev/null +++ b/dev-python/docutils/files/docutils-0.21.2-pillow.patch @@ -0,0 +1,15 @@ +diff --git a/test/test_writers/test_html5_polyglot_parts.py b/test/test_writers/test_html5_polyglot_parts.py +index 7122f8469..749f541e4 100644 +--- a/test/test_writers/test_html5_polyglot_parts.py ++++ b/test/test_writers/test_html5_polyglot_parts.py +@@ -43,10 +43,6 @@ if PIL: + REQUIRES_PIL = '' + ONLY_LOCAL = 'Can only read local images.' + DUMMY_PNG_NOT_FOUND = "[Errno 2] No such file or directory: 'dummy.png'" +- # Pillow reports the absolute path since version 10.3.0 (cf. [bugs: 485]) +- if (tuple(int(i) for i in PIL.__version__.split('.')) >= (10, 3)): +- DUMMY_PNG_NOT_FOUND = ("[Errno 2] No such file or directory: '%s'" +- % Path('dummy.png').resolve()) + SCALING_OUTPUT = 'style="width: 32.0px; height: 32.0px;" ' + NO_PIL_SYSTEM_MESSAGE = '' + else: diff --git a/dev-python/docutils/files/docutils-0.21.2-pygments-2.19.patch b/dev-python/docutils/files/docutils-0.21.2-pygments-2.19.patch new file mode 100644 index 000000000000..e667226d19de --- /dev/null +++ b/dev-python/docutils/files/docutils-0.21.2-pygments-2.19.patch @@ -0,0 +1,106 @@ +From 5854d09635b3fa1048d84bba17de4c38805beccd Mon Sep 17 00:00:00 2001 +From: aa-turner <aa-turner@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> +Date: Fri, 7 Mar 2025 22:49:46 +0000 +Subject: [PATCH] Support Pygments 2.19 in tests + +git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@10019 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 +--- + .../test_rst/test_directives/test_code.py | 16 +++++++++++----- + .../test_rst/test_directives/test_code_long.py | 7 +++---- + test/test_writers/test_html5_polyglot_parts.py | 4 +--- + 3 files changed, 15 insertions(+), 12 deletions(-) + +diff --git a/test/test_parsers/test_rst/test_directives/test_code.py b/test/test_parsers/test_rst/test_directives/test_code.py +index a54901dfe..a714f8fc5 100755 +--- a/test/test_parsers/test_rst/test_directives/test_code.py ++++ b/test/test_parsers/test_rst/test_directives/test_code.py +@@ -25,10 +25,16 @@ from docutils.utils.code_analyzer import with_pygments + + if with_pygments: + import pygments +- _pv = re.match(r'^([0-9]+)\.([0-9]*)', pygments.__version__) +- PYGMENTS_2_14_PLUS = (int(_pv[1]), int(_pv[2])) >= (2, 14) ++ ++ pygments_version = tuple(map(int, pygments.__version__.split('.')[:2])) ++else: ++ pygments_version = (0, 0) ++ ++PYGMENTS_2_14_PLUS = pygments_version >= (2, 14) ++if pygments_version >= (2, 19): ++ def_ws = '<inline classes="whitespace">\n ' + else: +- PYGMENTS_2_14_PLUS = None ++ def_ws = ' ' + + + class ParserTestCase(unittest.TestCase): +@@ -160,14 +166,14 @@ totest['code_parsing'] = [ + # and now for something completely different + print(8/2) + """, +-"""\ ++f"""\ + <document source="test data"> + <literal_block classes="code python3 testclass" ids="my-function" names="my_function" xml:space="preserve"> + <inline classes="ln"> + 7 \n\ + <inline classes="keyword"> + def +- \n\ ++ {def_ws} + <inline classes="name function"> + my_function + <inline classes="punctuation"> +diff --git a/test/test_parsers/test_rst/test_directives/test_code_long.py b/test/test_parsers/test_rst/test_directives/test_code_long.py +index 89cb4b172..037768c01 100755 +--- a/test/test_parsers/test_rst/test_directives/test_code_long.py ++++ b/test/test_parsers/test_rst/test_directives/test_code_long.py +@@ -22,8 +22,7 @@ from docutils.parsers.rst import Parser + from docutils.utils import new_document + from docutils.utils.code_analyzer import with_pygments + from test.test_parsers.test_rst.test_directives.test_code \ +- import PYGMENTS_2_14_PLUS +- ++ import PYGMENTS_2_14_PLUS, def_ws + + @unittest.skipUnless(with_pygments, 'needs Pygments') + class ParserTestCase(unittest.TestCase): +@@ -55,14 +54,14 @@ totest['code_parsing_long'] = [ + # and now for something completely different + print(8/2) + """, +-"""\ ++f"""\ + <document source="test data"> + <literal_block classes="code python3" xml:space="preserve"> + <inline classes="ln"> + 7 \n\ + <inline classes="keyword"> + def +- \n\ ++ {def_ws} + <inline classes="name function"> + my_function + <inline classes="punctuation"> +diff --git a/test/test_writers/test_html5_polyglot_parts.py b/test/test_writers/test_html5_polyglot_parts.py +index 7122f8469..afe504d41 100644 +--- a/test/test_writers/test_html5_polyglot_parts.py ++++ b/test/test_writers/test_html5_polyglot_parts.py +@@ -14,7 +14,6 @@ standard values, and any entries with empty values. + + from pathlib import Path + import os +-import re + import sys + import unittest + +@@ -30,8 +29,7 @@ from docutils.utils.code_analyzer import with_pygments + + if with_pygments: + import pygments +- _pv = re.match(r'^([0-9]+)\.([0-9]*)', pygments.__version__) +- if (int(_pv[1]), int(_pv[2])) >= (2, 14): ++ if tuple(map(int, pygments.__version__.split('.')[:2])) >= (2, 14): + # pygments output changed in version 2.14 + with_pygments = False + diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..d12ab8aeaca8 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ 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 deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -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 99577c43fc3e..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,6 +19,4 @@ 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 c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/superqt/Manifest b/dev-python/superqt/Manifest index e120026cd89d..31355a5a854f 100644 --- a/dev-python/superqt/Manifest +++ b/dev-python/superqt/Manifest @@ -1 +1,2 @@ DIST superqt-0.7.0.tar.gz 97558 BLAKE2B 7210f0b96858a78d6798fbf19ff260d9954ced05f2e82902acc6c897fef64dd604282a435c2a8d06c085bbc88f286e5ac93682e7bf08c1c332646842e389f2be SHA512 3594ecff511285f7df0a44be5f6fb97128a2724c0d90053a3fa008f47237dee294ad062997053abcba6d54ddb73a0c21f9a0f51e824ebf22cad97e686d5e54c1 +DIST superqt-0.7.3.tar.gz 105916 BLAKE2B 3d75abf420c55140bdbf071419ca790fdec17773cd4796fb63cc721bfc5fb8e501aa1cf67f83e918c2b0758c35a7ced217c995b0631903317f423bde3ce7c151 SHA512 87ddf00c77c896da17054664c0cb3c3cd372c773b8cc9eaf8079feef1ef6e5d52df40ae1367abaf9e2a6f0ded9b560b4147c98fd362d22b064f877ddbe8b74b9 diff --git a/dev-python/superqt/superqt-0.7.3.ebuild b/dev-python/superqt/superqt-0.7.3.ebuild new file mode 100644 index 000000000000..5301c2745611 --- /dev/null +++ b/dev-python/superqt/superqt-0.7.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Missing widgets and components for PyQt/PySide" +HOMEPAGE=" + https://github.com/pyapp-kit/superqt + https://pypi.org/project/superqt/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/qtpy-1.1.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # pint and pyconify not packaged + tests/test_quantity.py + tests/test_iconify.py +) + +EPYTEST_DESELECT=( + # fails in the sandbox, but works outside of it + tests/test_eliding_label.py::test_wrapped_eliding_label +) + +distutils_enable_tests pytest + +python_test() { + virtx distutils-r1_python_test +} diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest index c58016bc7b49..4836b927b938 100644 --- a/dev-python/trio/Manifest +++ b/dev-python/trio/Manifest @@ -1 +1,2 @@ DIST trio-0.29.0.gh.tar.gz 599433 BLAKE2B 35a162f01cca02134ffcd1c0cd3c072c1a20c07cc67038f3257fcb4732c696174ab3ee6e37706ffbb878b6a647d9e26489a55cdccb051b33c43517b660d227cd SHA512 88b6845c26f5bb02b749db7f64843e1858c3d52aad4332101022d61ec183f96304f1ce05a8ece5f97d04edf9aef668d791831439ae49fe1a7b904cf76061629e +DIST trio-0.30.0.gh.tar.gz 605667 BLAKE2B 1df453c8a3747bfacb39029a3146bd323deb3cd22b5ba2119e01795f18b9340595ac7b850095b272be575cd508059f5b13993ddfe904e1e4a0cd70ef127c80f8 SHA512 5e76808fd9c79c3eab686b80d201654cdb9023b35c0aa8eb6415d079e810be9e60f13149da63ba1eb78c879f68392b6957aac16402413cd329f440399ffb65b7 diff --git a/dev-python/trio/trio-0.30.0.ebuild b/dev-python/trio/trio-0.30.0.ebuild new file mode 100644 index 000000000000..79cecf6a7f7e --- /dev/null +++ b/dev-python/trio/trio-0.30.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for async concurrency and I/O" +HOMEPAGE=" + https://github.com/python-trio/trio/ + https://pypi.org/project/trio/ +" +SRC_URI=" + https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/outcome[${PYTHON_USEDEP}] + >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}] + dev-python/sortedcontainers[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/astor-0.8.0[${PYTHON_USEDEP}] + >=dev-python/immutables-0.6[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# Bug https://bugs.gentoo.org/916756 +# distutils_enable_sphinx docs/source \ +# dev-python/immutables \ +# dev-python/sphinxcontrib-trio \ +# dev-python/sphinx-rtd-theme \ +# dev-python/towncrier + +python_test() { + local EPYTEST_DESELECT=( + # Times out on slower arches (ia64 in this case) + # https://github.com/python-trio/trio/issues/1753 + tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all + # requires ruff + _tests/tools/test_gen_exports.py + ) + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + # xfail-ed upstream with ref to + # https://github.com/python/cpython/issues/125603 + _core/_tests/test_run.py::test_ki_protection_doesnt_leave_cyclic_garbage + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf trio || die + epytest -p trio._tests.pytest_plugin \ + -m "not redistributors_should_skip" \ + --pyargs trio \ + --skip-optional-imports +} |
