diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-04 07:15:35 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-04 07:15:35 +0000 |
| commit | 69eb6af457262e87736a8487044143fcd552ace1 (patch) | |
| tree | 07d38b7dd3d01330ef541c983b2eeaa77c2ab938 /dev-python | |
| parent | 2bcf13fb87c49cfe6fa274eb0258c034e5eae958 (diff) | |
| download | baldeagleos-repo-69eb6af457262e87736a8487044143fcd552ace1.tar.gz baldeagleos-repo-69eb6af457262e87736a8487044143fcd552ace1.tar.xz baldeagleos-repo-69eb6af457262e87736a8487044143fcd552ace1.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
24 files changed, 274 insertions, 1014 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index a489084fd267..5b3714380b83 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,6 +1,5 @@ -DIST aiohttp-3.12.15.tar.gz 7823716 BLAKE2B b7e69e24d961cf1897f650987e0214b083ab5557f4fb3b7046ebf3b348138e603bd3dea1fc4c3250b8fef1d966a77665d24af64a600d09b1410b16c467144731 SHA512 055176006825f86dc2b5f31355a4da60e288c844770ac8c6312d00b308f6eba02bc31fee5b0c30f552c0aabf597c8dfa54f485d87b65169f1eb637ea29470d56 DIST aiohttp-3.13.0.tar.gz 7832348 BLAKE2B 14f482a2f72197ebfc4b841b45d73833c0037443706b12fb7b945a0a54a54964019964d500013a1abfe74fbd49f439d936a2628c33401fddce48642f4ee8602f SHA512 9ed39fa35250e40efaee3ce9be0f3cd9a0fd6b4c5ec2a3c67c173e23153307fc958570d8530ea3919a5db3cd452102d0c81bb3fb127d51b224658e1264a5b73c -DIST aiohttp-3.13.1.tar.gz 7835344 BLAKE2B 5d0d55738a0cb7d0da3f8cc31ea6d5e9817a118e6caa8387ef1eb47e05e4a5e0b0877c8ba1f383c0ce45342f039dd4d20e963f78d51106059fa23fc867c6e542 SHA512 3c990f4a5da60454a61b5907e877ad65ddf928a6bba659a6fb3cc7982ca9b5e6e0f70a050da19e580f32f7744bc29027901c677815c960f151e0c16675d64ff4 -DIST aiohttp-3.13.1.tar.gz.provenance 9289 BLAKE2B a2a68438bc1c5f031e0be251396b0cf4688798d63cf72a8201eccd41c29ecdcc4e3171c0f368019640ffbf92e62e973314645c2493ed942422b52edb91e5e97b SHA512 47dc8a2a0df31d9e280a93268f0bc73d97d80e9f41d2faf9d4fd1117f055fa727ce092e3801e6ce35e2b63d1272dc11a417cb4d68015c43fa2168b873f5f9d3a DIST aiohttp-3.13.2.tar.gz 7837994 BLAKE2B 7caefa888fe7ffb3b0440b6b1e49a67f06d8895139636e873cf37aecdacc30401dd573e6e7ad62bedf5cff39316aebc2c3888a22337b9d7bf7d30374ee57197c SHA512 eb90bf5ea3e8b2e1dd600694247ee418bc932554d0517a7aa14641e9aa9abab90563fdeae5389e2fb8149b35b4f60449b5c8960c0d21e7ee738c52d0de782602 DIST aiohttp-3.13.2.tar.gz.provenance 9242 BLAKE2B 37aef0018873d460c8d63d00c20e1bf9545de241638b7935762d787f71c02ae486ec6e6c1c453aaa3ca1ce7a17dc11d6f8cff57c06e2f05f8455db021b6aa782 SHA512 07e145a856084fd2b6f3f8fcc7e382ac75ceb06ac56fdc3f6d1de47e7bb9f21176e8f2023d83063b857f519bd6cf3e5b45bfe2004b726e0baa2376e36ec666a3 +DIST aiohttp-3.13.3.tar.gz 7844556 BLAKE2B b3d966df1bbfce833a40cd4f9513427982833ceff77c210485954209927f6d4eb8243fd2aba66b01ab4bc33cf999a4248eb69b3fabce01047a430d9013b4f066 SHA512 a05ff320d63fc54f6b75fa4ecc9f1b97053f14724e580f703b0fe74e5b6f68d4534e6d0bc60cc12bb5a3771f239972fe4887afe3da8548cf7a92f724093f073e +DIST aiohttp-3.13.3.tar.gz.provenance 9330 BLAKE2B c7552ed638fc0ba0ad0a13092f035054f2e6642c3f7335a59b648c7ea79325c8d387ac932d3f3c3a6fe0017d247fc0623a9d6a3bf5703f8c7da9c5bbb8990125 SHA512 b0f173c0f9b9066abafc560224c8addd4b29dd4bddb5aa7945add8eee02eee6ca2ddfd6b766c8988fe344303fae81210e8531239c29fad43ffff38da529f08a2 diff --git a/dev-python/aiohttp/aiohttp-3.12.15.ebuild b/dev-python/aiohttp/aiohttp-3.12.15.ebuild deleted file mode 100644 index fffc77489f43..000000000000 --- a/dev-python/aiohttp/aiohttp-3.12.15.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client/server for asyncio" -HOMEPAGE=" - https://github.com/aio-libs/aiohttp/ - https://pypi.org/project/aiohttp/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions test-rust" - -DEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - net-libs/llhttp:= - ' 'python3*') - ) -" -RDEPEND=" - ${DEPEND} - >=dev-python/aiodns-3.3.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.4.0[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - native-extensions? ( - >=dev-python/cython-3.1.1[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - ) - test? ( - dev-python/blockbuster[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/isal[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - dev-python/zlib-ng[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_PLUGIN_LOAD_VIA_ENV=1 -EPYTEST_PLUGINS=( pytest-{mock,xdist} ) -EPYTEST_RERUNS=5 -: ${EPYTEST_TIMEOUT:=180} -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # increase the timeout a little - sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die - # xfail_strict fails on py3.10 - sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - # remove vendored llhttp - rm -r vendor || die -} - -python_configure() { - # check for .install-cython, so that we do this only once - if [[ ! -f .install-cython && ${EPYTHON} != pypy3 ]] && - use native-extensions - then - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - local -x AIOHTTP_USE_SYSTEM_DEPS=1 - # implicitly disabled for pypy3 - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.py - # python_on_whales is not packaged - tests/autobahn/test_autobahn.py - # benchmarks - tests/test_benchmarks_client.py - tests/test_benchmarks_client_request.py - tests/test_benchmarks_client_ws.py - tests/test_benchmarks_cookiejar.py - tests/test_benchmarks_http_websocket.py - tests/test_benchmarks_http_writer.py - tests/test_benchmarks_web_fileresponse.py - tests/test_benchmarks_web_middleware.py - tests/test_benchmarks_web_response.py - tests/test_benchmarks_web_urldispatcher.py - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_nonzero_passed - tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection - tests/test_connector.py::test_tcp_connector_ssl_shutdown_timeout_zero_not_passed - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - case ${EPYTHON} in - python3.14) - EPYTEST_DESELECT+=( - # TODO - tests/test_cookiejar.py::test_pickle_format - # different exception message - tests/test_client_functional.py::test_aiohttp_request_coroutine - ) - ;; - esac - - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch - if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then - local -x AIOHTTP_NO_EXTENSIONS=1 - fi - - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" -} diff --git a/dev-python/aiohttp/aiohttp-3.13.1.ebuild b/dev-python/aiohttp/aiohttp-3.13.3.ebuild index 8eb9b27f8e6f..028240dad730 100644 --- a/dev-python/aiohttp/aiohttp-3.13.1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.13.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="+native-extensions test-rust" DEPEND=" @@ -34,11 +34,14 @@ RDEPEND=" >=dev-python/aiohappyeyeballs-2.5.0[${PYTHON_USEDEP}] >=dev-python/aiosignal-1.4.0[${PYTHON_USEDEP}] >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/brotlicffi-1.2[${PYTHON_USEDEP}] >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/backports-zstd[${PYTHON_USEDEP}] + ' 3.11 3.12 3.13) " BDEPEND=" >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] @@ -56,9 +59,6 @@ BDEPEND=" dev-python/time-machine[${PYTHON_USEDEP}] ' 'python3*') dev-python/zlib-ng[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/backports-zstd[${PYTHON_USEDEP}] - ' 3.11 3.12 3.13) www-servers/gunicorn[${PYTHON_USEDEP}] test-rust? ( dev-python/trustme[${PYTHON_USEDEP}] diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index ff634efea025..0af1847cb1d9 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,4 +1,2 @@ -DIST astroid-3.3.11.gh.tar.gz 469464 BLAKE2B cb2ad429fa303e1049de685079d814696f9a907f75d85e0eb6aadef34d791ca2564e2727aff604e1f15b8bdd262b6c5dbfaa64193bac008d39e9bb7e642254cc SHA512 7dd0fae9fa6135abb505af567731f9062ea5f45b5c2e9c613fd1c5cbeeb409779a620cde3ecc42cd8a0733ccebc58b5e8e66baa1a38b6f46b1d3fcf2e33914b5 -DIST astroid-4.0.0.gh.tar.gz 475111 BLAKE2B b63a0af12dddf9fa25d0c1e3c883187f23ea91110b10cae177b7682a3a591c5709777394ee4d41186988a049e85e1db7ec7ea051dec4fb9675394bbfd2457ecb SHA512 4eb1e3f81bed11f2513ddf5f55593b8a78df57606ac6c24754d588c2616ccc2bfc2b4fa7515c9d34d5e8e30c598b97f27d8dee7b88a45844479ad0147774b450 -DIST astroid-4.0.1.gh.tar.gz 475464 BLAKE2B c744832ddc08a44f76878fad5078a702cba158f1d2a66e1696ebcc7be59fc9aeb773dc34d0300cf002a9fedfba0f690a150742927663e9de01821c7b82bec04d SHA512 225e881a92d2d38349b5a21966687cc1924581a6043569cca65a06a2078bed8c5fe8c67b6c6cd24efc37b13640d9ce3a16e1d43994ae66c13559496d81c8329b DIST astroid-4.0.2.gh.tar.gz 475834 BLAKE2B 04821506d6a56b914edcd8646f81487c8c78298b873b16f9fd6d79a841a479176aaece23ed470f8191807280b57e8ec954bade01b348ad1251bb065de502706c SHA512 1a407acf1b9d6875d1f9c26958ba5f7d362235fe35b856b6310b62bcd5404edbffa16b01209e69ee4f84d70bc79c68ba734d7d6036c72f5dd83ad3fc26c2e65f +DIST astroid-4.0.3.gh.tar.gz 476645 BLAKE2B e71fe0b9d0eb8e318134bb7037c6599a8bca308963f28789e5fe4d68449777dfb29fb711a109359d6d037e58fe775372822115f608e09d95cf9891e132bfc04a SHA512 ef5988ba87b2fe6524715385aa8f8055c01910bf244ce8bdf089ac2325a65217b75a7d8070828735fb3ad5f8b9967d204541982a96ba769a8ac03066dfc21c18 diff --git a/dev-python/astroid/astroid-3.3.11.ebuild b/dev-python/astroid/astroid-3.3.11.ebuild deleted file mode 100644 index da96df620749..000000000000 --- a/dev-python/astroid/astroid-3.3.11.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 - -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/pylint-dev/astroid/ - https://pypi.org/project/astroid/ -" -SRC_URI=" - https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# dev-python/regex isn't available for pypy -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/regex[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # hangs - tests/test_nodes.py::AsStringTest::test_recursion_error_trapped - # no clue why they're broken - tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part - # TODO - tests/test_builder.py::BuilderTest::test_data_build_error_filename - # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) - tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple - # old pythons only - tests/brain/test_dataclasses.py::test_pydantic_field - tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils - ) - - if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/test_raw_building.py - ) - fi - - epytest -} diff --git a/dev-python/astroid/astroid-4.0.0.ebuild b/dev-python/astroid/astroid-4.0.0.ebuild deleted file mode 100644 index 01c2e125654e..000000000000 --- a/dev-python/astroid/astroid-4.0.0.ebuild +++ /dev/null @@ -1,76 +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 - -MY_P=${P/_/} -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/pylint-dev/astroid/ - https://pypi.org/project/astroid/ -" -SRC_URI=" - https://github.com/pylint-dev/astroid/archive/v${PV/_/}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# dev-python/regex isn't available for pypy -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/regex[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # hangs randomly - tests/test_nodes.py::AsStringTest::test_recursion_error_trapped - # no clue why they're broken - tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part - # TODO - tests/test_builder.py::BuilderTest::test_data_build_error_filename - # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) - tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple - # old pythons only - tests/brain/test_dataclasses.py::test_pydantic_field - tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils - # -Werror, sigh - tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel - ) - - if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/test_raw_building.py - ) - fi - - epytest -} diff --git a/dev-python/astroid/astroid-4.0.1.ebuild b/dev-python/astroid/astroid-4.0.3.ebuild index 01c2e125654e..68c0ebb691c1 100644 --- a/dev-python/astroid/astroid-4.0.1.ebuild +++ b/dev-python/astroid/astroid-4.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # dev-python/regex isn't available for pypy BDEPEND=" diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 5139f5848d4f..3c1f8549009e 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -1,3 +1,4 @@ +DIST llvm-project-05349a9b43805d3c0b424da99f3a1fa362cd3419.tar.gz 256643165 BLAKE2B fe7be8ea73a22de902c399784ad95a0011add75af77ddc191bcbabdd276df65af4aa5339cdc74e89f5d2971ef74251ea46a5513a462a97963d36f85102c89665 SHA512 d6c58681f3e3f59589f2eac963ab9e92cd27a39dafe3e79ebdae82ad9e6fc6e3180a45ba7a142a7552a3585bc6cba46caeff1c0e2227563ec48820cdd1502e86 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 diff --git a/dev-python/clang/clang-22.0.0_pre20260103.ebuild b/dev-python/clang/clang-22.0.0_pre20260103.ebuild new file mode 100644 index 000000000000..bdbb6bbefa8b --- /dev/null +++ b/dev-python/clang/clang-22.0.0_pre20260103.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index 2acd09c4d1a6..9c597a067326 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,8 +1,4 @@ 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.1.7.tar.gz 3192740 BLAKE2B ed0d15e387389de3e2b35d03326032a0ca112b24b0245ed764e5acbedcc0df07f50561ef18715679bf29fd2da6a288621033722741b2fc25809b43964e856786 SHA512 0d1ab6b0d53168588ea03116a5a2f4106f87266bca0fc46ec9ebc7c881da7ee2a83d9d7d841b551add73aedab7b2ca94419e87f6a387b1ab7ba850030a981fb1 -DIST cython-3.2.0.tar.gz 3267264 BLAKE2B 86aa3698f28c0859d0a846025698d4739deebdbabbf0f6bd9134b4a01fce3fce4b87b1db726c2ab490b0a41091185183f41a67424dfd555067167a4b257c6aa7 SHA512 902f8389792bfa7937f5e1c024a537561e7e0367d1e6e6eefa84ebc25e961968e95bda5095b1cf2b26e994b4b14c0a039b97df80066620c166368a3f0ebd7f4b -DIST cython-3.2.1.tar.gz 3270455 BLAKE2B 10eb8e6e027b3cc594c997efed4e98ded445f666c44ff7d9d027ae32bead6826df22508bbc78241684e7dcdcbe178a70b5d909c5ab541b5c49660f961f2abe26 SHA512 b6f64b2c32c355a9c5a3586fdea768ad1924cb4b421d4395d443dadc1cf06e2fe4f3f85d237789eb0a68c9857750cbefefb022475ed7f3d8787551bea3d2fb7d -DIST cython-3.2.2.tar.gz 3275797 BLAKE2B bd6b699514b099ec680d49c00f547357c76621e08e8607c24fcb98d975cd03b3d3fc9161d66775f5d02c3281c7e01e1a80d61bc56e49f9f04c52927e51a83c7f SHA512 788c05b4e2dcc5ae3f6ecfbb6a5e4bfa5c19afdfe3047ed5a34be994c7d81f165b4ee0a162c349ab2ff0912380fc2836e98e442d93ac6522f75e63a5c3522d27 +DIST cython-3.1.8.tar.gz 3193040 BLAKE2B 7cd6c2b196d4a6a69d11b4bc68daf8abe77606f306579a3a2287adc69797472a88ceaa0b5d84f5bbf8675c70fe407c86be03537cdcb94b097e95d47deae906f3 SHA512 6d1816c169d5d1113a76dbc29ba8f236588479fcd9f56be4883d51260bc5d010143a59f8f148cbf59e09370927fb946eee92b40022cbc5b67146d4bdad2726e9 DIST cython-3.2.3.tar.gz 3276650 BLAKE2B 4f527760e1c658d0ace5b5f268e6cc73f823f3703830bf8a458f6bcd2a488eaa0d869c02358d2ec3d469b34de4f3b9b7a1c415f159dca22197c3fcb8d732856f SHA512 00bf2244da9c544fd3ea110cd1ab2aeadeb7e1df16fff4fdc926b90759c75f312c11171513d55dad6b5489f77c7c462905b789242641d6d6807b172db1a57b87 diff --git a/dev-python/cython/cython-3.1.5.ebuild b/dev-python/cython/cython-3.1.5.ebuild deleted file mode 100644 index 485280245894..000000000000 --- a/dev-python/cython/cython-3.1.5.ebuild +++ /dev/null @@ -1,128 +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 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test test-full" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - test-full? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - if use elibc_musl ; then - # Workaround for bug #925318 - local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" - fi - - distutils-r1_python_compile -} - -python_test() { - # PYTHON_TESTED controls whether we expect the testsuite to - # pass at all, while PYTHON_FULLY_TESTED allows skipping before - # numpy is ported (and possibly other deps in future). - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - - local testargs=( - -vv - -j "$(makeopts_jobs)" - --work-dir "${BUILD_DIR}"/tests - - --no-examples - --no-code-style - - # Fails to find embedded.c - --exclude 'embedded' - # coverage_installed_pkg needs dev-python/pip and doesn't like - # 'externally-managed' (bug #927995), but we don't really - # want automagic test dependencies at all, so just skip - # unimportant-for-us coverage tests entirely. - --exclude 'run.coverage*' - --exclude 'Cython.Coverage' - # Automagic on dev-python/python-tests, could add this in future - --exclude 'run.test_exceptions' - # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) - # This only shows up as a failure with >=3.13. - --exclude 'subinterpreters_threading_stress_test' - - # The fix for https://github.com/cython/cython/issues/6938 - # changes these tests s.t. they break with our build layout. - --exclude 'build.depfile*' - ) - - if [[ ${EPYTHON} == pypy3* ]] ; then - testargs+=( - # Recursion issue - --exclude 'run.if_else_expr' - --exclude 'run.test_patma*' - # Slight output difference (missing '<') - --exclude 'run.cpp_exception_ptr_just_handler' - - ) - 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.6.ebuild b/dev-python/cython/cython-3.1.6.ebuild deleted file mode 100644 index 56733d1f10e5..000000000000 --- a/dev-python/cython/cython-3.1.6.ebuild +++ /dev/null @@ -1,128 +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 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test test-full" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - test-full? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - if use elibc_musl ; then - # Workaround for bug #925318 - local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" - fi - - distutils-r1_python_compile -} - -python_test() { - # PYTHON_TESTED controls whether we expect the testsuite to - # pass at all, while PYTHON_FULLY_TESTED allows skipping before - # numpy is ported (and possibly other deps in future). - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - - local testargs=( - -vv - -j "$(makeopts_jobs)" - --work-dir "${BUILD_DIR}"/tests - - --no-examples - --no-code-style - - # Fails to find embedded.c - --exclude 'embedded' - # coverage_installed_pkg needs dev-python/pip and doesn't like - # 'externally-managed' (bug #927995), but we don't really - # want automagic test dependencies at all, so just skip - # unimportant-for-us coverage tests entirely. - --exclude 'run.coverage*' - --exclude 'Cython.Coverage' - # Automagic on dev-python/python-tests, could add this in future - --exclude 'run.test_exceptions' - # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) - # This only shows up as a failure with >=3.13. - --exclude 'subinterpreters_threading_stress_test' - - # The fix for https://github.com/cython/cython/issues/6938 - # changes these tests s.t. they break with our build layout. - --exclude 'build.depfile*' - ) - - if [[ ${EPYTHON} == pypy3* ]] ; then - testargs+=( - # Recursion issue - --exclude 'run.if_else_expr' - --exclude 'run.test_patma*' - # Slight output difference (missing '<') - --exclude 'run.cpp_exception_ptr_just_handler' - - ) - 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.2.1.ebuild b/dev-python/cython/cython-3.1.8.ebuild index 485280245894..7f3a13c55f17 100644 --- a/dev-python/cython/cython-3.2.1.ebuild +++ b/dev-python/cython/cython-3.1.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cython/cython-3.2.0.ebuild b/dev-python/cython/cython-3.2.0.ebuild deleted file mode 100644 index 485280245894..000000000000 --- a/dev-python/cython/cython-3.2.0.ebuild +++ /dev/null @@ -1,128 +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 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test test-full" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - test-full? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - if use elibc_musl ; then - # Workaround for bug #925318 - local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" - fi - - distutils-r1_python_compile -} - -python_test() { - # PYTHON_TESTED controls whether we expect the testsuite to - # pass at all, while PYTHON_FULLY_TESTED allows skipping before - # numpy is ported (and possibly other deps in future). - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - - local testargs=( - -vv - -j "$(makeopts_jobs)" - --work-dir "${BUILD_DIR}"/tests - - --no-examples - --no-code-style - - # Fails to find embedded.c - --exclude 'embedded' - # coverage_installed_pkg needs dev-python/pip and doesn't like - # 'externally-managed' (bug #927995), but we don't really - # want automagic test dependencies at all, so just skip - # unimportant-for-us coverage tests entirely. - --exclude 'run.coverage*' - --exclude 'Cython.Coverage' - # Automagic on dev-python/python-tests, could add this in future - --exclude 'run.test_exceptions' - # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) - # This only shows up as a failure with >=3.13. - --exclude 'subinterpreters_threading_stress_test' - - # The fix for https://github.com/cython/cython/issues/6938 - # changes these tests s.t. they break with our build layout. - --exclude 'build.depfile*' - ) - - if [[ ${EPYTHON} == pypy3* ]] ; then - testargs+=( - # Recursion issue - --exclude 'run.if_else_expr' - --exclude 'run.test_patma*' - # Slight output difference (missing '<') - --exclude 'run.cpp_exception_ptr_just_handler' - - ) - 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.2.2.ebuild b/dev-python/cython/cython-3.2.2.ebuild deleted file mode 100644 index dc990eeb09d2..000000000000 --- a/dev-python/cython/cython-3.2.2.ebuild +++ /dev/null @@ -1,129 +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 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test test-full" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - test-full? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja2 \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - if use elibc_musl ; then - # Workaround for bug #925318 - local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" - fi - - distutils-r1_python_compile -} - -python_test() { - # PYTHON_TESTED controls whether we expect the testsuite to - # pass at all, while PYTHON_FULLY_TESTED allows skipping before - # numpy is ported (and possibly other deps in future). - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - - local testargs=( - -vv - -j "$(makeopts_jobs)" - --work-dir "${BUILD_DIR}"/tests - - --no-examples - --no-code-style - - # Fails to find embedded.c - --exclude 'embedded' - # coverage_installed_pkg needs dev-python/pip and doesn't like - # 'externally-managed' (bug #927995), but we don't really - # want automagic test dependencies at all, so just skip - # unimportant-for-us coverage tests entirely. - --exclude 'run.coverage*' - --exclude 'Cython.Coverage' - # Automagic on dev-python/python-tests, could add this in future - --exclude 'run.test_exceptions' - # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) - # This only shows up as a failure with >=3.13. - --exclude 'subinterpreters_threading_stress_test' - - # The fix for https://github.com/cython/cython/issues/6938 - # changes these tests s.t. they break with our build layout. - --exclude 'build.depfile*' - ) - - if [[ ${EPYTHON} == pypy3* ]] ; then - testargs+=( - # Recursion issue - --exclude 'run.if_else_expr' - --exclude 'run.test_patma*' - # Slight output difference (missing '<') - --exclude 'run.cpp_exception_ptr_just_handler' - # No freethreading here - --exclude 'run.freethreaded_list_indexing_stress_test' - ) - fi - - # Keep test-full for numpy as it's large and doesn't pass tests itself - # on niche arches. - if ! use test-full || ! has "${EPYTHON/./_}" "${PYTHON_FULLY_TESTED[@]}"; then - testargs+=( - --exclude 'run.numpy*' - --exclude 'run.ufunc' - --exclude 'numpy*' - ) - fi - - "${PYTHON}" runtests.py "${testargs[@]}" || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 742a2adfe93f..26508cde0315 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,4 +1,5 @@ DIST hypothesis-6.147.0.gh.tar.gz 9637937 BLAKE2B ee245790ce248a43dd6a25148b9adc40278bbdcedf169820a1047ef0a12707ab90083b285e952ecde2397e5ec313314b7dcd9b8939bbbefdc113509f27db09d9 SHA512 6c5da0c2ceec1110b1f310f9cb0d13ec9e0397ff2cdc53cc47e9e3d7147b2153cd1fbff870ca63589d08f20bb6f7f30a3a73c402312d202974f0ec08a6612918 +DIST hypothesis-6.148.11.gh.tar.gz 9928070 BLAKE2B 513c111624678e13dce2a9630a028289a8725ffdc9a1ab494f19516542bbe3b8c603107246ddc2a5afe75f36c74b848a26fcc7d5c3eaf1113241c6f3af266919 SHA512 162b2b154f101967cd814ba0910e5c4338421f9878a9664034e197486e50d738d4c9025108b0e07094e8d36f5f98c92a8a566643fe7ced93134b584d3f25e50e DIST hypothesis-6.148.5.gh.tar.gz 9926203 BLAKE2B 81a95a8bd7dabc004f263e377f1a1a4bb6d4550b86f420afaa65edf2aeb675f6615b44cfbca3aafdbf80c51212e92489cfc5d7b5fc32845017256e9045572e06 SHA512 e5fe49177ca4fe9f59b3185de96bbc6c3e8a0bd8332d1e778547737210831584abc68a8759a1f3c29c7f1dc5aed56917962535efb452275064d7ed6f9c8a8091 DIST hypothesis-6.148.7.gh.tar.gz 9927096 BLAKE2B 4e6f782918394edba79a2c183be923076eec1b12b24cc184561e4ee5900e97d2f9c7e110ec98a51911ccdd5b0f2b3172947067038bba03723472be99b7005873 SHA512 f9fbe91650a99f9db3fa1e3a389c2a3cdac85cbb0a7c6cb694b29e486b29670833fd534022c6d26ebeac7b2f3135940dda854f865fde0a6b62c229fdd5f422e6 DIST hypothesis-6.148.8.gh.tar.gz 9926700 BLAKE2B ea74d146b6a985a2be5f63352d50b51a4dba2be796d6b2d526f4c0e91a668e3d1220d6dd3da72859e7cd1b105d29b9059040e185191f4acb662a0d771117ffcf SHA512 0062f8ad498478a2a65f0cca8038b441f749b300897d5b68405bb2dd9336438c19e25dbbaac0bce7235579dd8ce3ea45258cce81719bd1739a0495433e56be86 diff --git a/dev-python/hypothesis/hypothesis-6.148.11.ebuild b/dev-python/hypothesis/hypothesis-6.148.11.ebuild new file mode 100644 index 000000000000..8a0d46501a31 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.148.11.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2026 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/lit/Manifest b/dev-python/lit/Manifest index 5139f5848d4f..3c1f8549009e 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -1,3 +1,4 @@ +DIST llvm-project-05349a9b43805d3c0b424da99f3a1fa362cd3419.tar.gz 256643165 BLAKE2B fe7be8ea73a22de902c399784ad95a0011add75af77ddc191bcbabdd276df65af4aa5339cdc74e89f5d2971ef74251ea46a5513a462a97963d36f85102c89665 SHA512 d6c58681f3e3f59589f2eac963ab9e92cd27a39dafe3e79ebdae82ad9e6fc6e3180a45ba7a142a7552a3585bc6cba46caeff1c0e2227563ec48820cdd1502e86 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 diff --git a/dev-python/lit/lit-22.0.0_pre20260103.ebuild b/dev-python/lit/lit-22.0.0_pre20260103.ebuild new file mode 100644 index 000000000000..2cc4b6485aed --- /dev/null +++ b/dev-python/lit/lit-22.0.0_pre20260103.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 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 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/pygresql/Manifest b/dev-python/pygresql/Manifest index 4d62420f324c..c07b54d8de83 100644 --- a/dev-python/pygresql/Manifest +++ b/dev-python/pygresql/Manifest @@ -1,3 +1,4 @@ DIST pygresql-6.0.1.tar.gz 271855 BLAKE2B 76d3f18d2bdbe7aa1d4459784fd5f1d3d76feaaeb911f1679c66d1a579cef27a00af619416f03cfcd69804e4f5a997d82765c3e32d9ab371c6011b0915e3e018 SHA512 47b0296596d5d914ccd48e09f352f8da38ed82a0861a148525a675431df51b1261d03e7bbb158947d4d525d82e1790d0a4d4c4d293b29550c50965e2a4e89847 DIST pygresql-6.2.0.tar.gz 272156 BLAKE2B 4fcd987b2c174e253765476fc754b71f58228ecfc142ce9c9e6e2d5dc473fa3f7ce8a1a1799ffdbb64c161254720c99010d2f59e2a19963305ac18e8fa026418 SHA512 437c19795670bea17989ddcd213341135d70dfcc3035cc82e25ab08c70df14e653b513ed8d0a7e118d8344b895950eec34ace824d09e07e12d3b5fe10912d069 DIST pygresql-6.2.1.tar.gz 272900 BLAKE2B a2982e5d9e3e7b8c5e58eb0c5912639671182da6378a398c6fa8669e0300d3ba6f3868caf81d14188bac58a8ba3e786f502c2eb925d47b5fec499e1f03aa1daa SHA512 437a4ab490f83ab5a60d2aa6c1f31ce010db8ac96eb69db9c5175c38784c189fa16bb932379d1a1e326d1c272bb9aefa95527c8231cce1d7b32f31cfb2360fc3 +DIST pygresql-6.2.2.tar.gz 273043 BLAKE2B 43fab97a223193714b22a3dffb78a462da94613ef74e6fedce0c540697845a31c113a63ceb40955f099e53cd198e29237b568a89614d4e049e826ea003e1ca83 SHA512 5e33d294748d62ece49b93fc95581bedae021157285a15138147f22b80fb1e910ccadb6e71932dbe75b73fd2797d90cba1970fb6434323e5468c5f35b2a370a2 diff --git a/dev-python/pygresql/pygresql-6.2.2.ebuild b/dev-python/pygresql/pygresql-6.2.2.ebuild new file mode 100644 index 000000000000..32c93fe13d10 --- /dev/null +++ b/dev-python/pygresql/pygresql-6.2.2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="PyGreSQL" +POSTGRES_COMPAT=( 9.6 {10..18} ) +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 postgres pypi + +DESCRIPTION="A Python interface for the PostgreSQL database" +HOMEPAGE=" + https://pygresql.github.io/ + https://github.com/PyGreSQL/PyGreSQL/ + https://pypi.org/project/PyGreSQL/ +" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + dev-db/postgresql[server] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.2-CFLAGS.patch +) + +distutils_enable_tests unittest + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]]; then + postgres_pkg_setup + fi +} + +src_test() { + local db="${T}/pgsql" + initdb --username=portage -D "${db}" || die + pg_ctl -w -D "${db}" start \ + -o "-h '127.0.0.1' -p 5432 -k '${T}'" || die + psql -h "${T}" -U portage -d postgres \ + -c "ALTER ROLE portage WITH PASSWORD 'postgres';" || die + createdb -h "${T}" -U portage test || die + + cat > tests/LOCAL_PyGreSQL.py <<-EOF || die + dbhost = '${T}' + EOF + + rm -rf pg || die + distutils-r1_src_test + + pg_ctl -w -D "${db}" stop || die +} + +python_install_all() { + local DOCS=( docs/*.rst docs/community/* docs/contents/tutorial.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 9a7647f0e731..1183fcef77d5 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,4 +1,2 @@ -DIST pylint-3.3.9.gh.tar.gz 1462472 BLAKE2B b32fcb6c0d910d74c157717aa7c6d43d8edb13aad93e48543a974ce4461f38062acd8033ff390e614bf1388ebe78de004698669d082f51861421667529c71b2b SHA512 c775cfc20540e189f5e11a15eec58687dc6c7fce4e0d75f3c984977404c758d3c6903f176f057234585e6fe2dd36f40ed0e70703d228b99ae465a03d2ccebf19 -DIST pylint-4.0.2.gh.tar.gz 1507187 BLAKE2B d2ae9b5f68a0a6b781d1f46e790f045c0974743cd862a9eb0514b3b243cd55866ab8dae9dcf745f649cd245cee690c9236dff07e402a60383eaf2417a160683a SHA512 7043286b7d7bf1cc99a0ca48d7c0b95e1be77c3ba6ee09d2e6d16836e3aed6da165e1e0c78fcaafa137581e31cebcd0e40a3d6fd7ed7a979d0f5074e3df0ce84 DIST pylint-4.0.3.gh.tar.gz 1508958 BLAKE2B 67005c920f1119cd1a4f5878bd6cfe5f100ba5df3e6b1b58b91375fdf5bacaee12bec5820f2f23c14a3e03f0f16bbc16062d5355dccca36b4c7d205157955564 SHA512 216290f3ee1e588be2fd153e10fae68717b3fe4e784974124011b04ff02bcf68691dd45b350c4e779fc6a62608e2233d83197f17ed3ead7efd692a0797b6db25 DIST pylint-4.0.4.gh.tar.gz 1509805 BLAKE2B ded555fa6a1c5109fce113613c2ac73377a57418a70034121199ef0b77207b3447ccfdf66324f774bf02d6153efec3c39b1cc6e9a515c44e96fc05327f4c52aa SHA512 1ef16eda98c95edd4932d5a09f9e7fcc4cfcf5989838367b43d54a9b58b1edd96eaec2d13a87a5c7ca75e48b5f408d12742b19660a55954b7067ec66783f1048 diff --git a/dev-python/pylint/pylint-3.3.9.ebuild b/dev-python/pylint/pylint-3.3.9.ebuild deleted file mode 100644 index fc029f4b3bed..000000000000 --- a/dev-python/pylint/pylint-3.3.9.ebuild +++ /dev/null @@ -1,89 +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="threads(+)" - -inherit distutils-r1 - -MY_P=${P/_beta/b} -DESCRIPTION="Python code static checker" -HOMEPAGE=" - https://pypi.org/project/pylint/ - https://github.com/pylint-dev/pylint/ -" -SRC_URI=" - https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="examples" - -RDEPEND=" - <dev-python/astroid-3.4[${PYTHON_USEDEP}] - >=dev-python/astroid-3.3.8[${PYTHON_USEDEP}] - >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] - >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] - <dev-python/isort-7[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - >=dev-python/gitpython-3[${PYTHON_USEDEP}] - ' 'python*' ) - >=dev-python/pytest-8.3[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-timeout) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - 'tests/test_functional.py::test_functional[dataclass_with_field]' - 'tests/test_functional.py::test_functional[no_name_in_module]' - 'tests/test_functional.py::test_functional[shadowed_import]' - 'tests/test_functional.py::test_functional[unused_import]' - 'tests/test_functional.py::test_functional[use_yield_from]' - 'tests/test_functional.py::test_functional[wrong_import_order]' - ) - local EPYTEST_IGNORE=( - # No need to run the benchmarks - tests/benchmark/test_baseline_benchmarks.py - ) - - if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/profile/test_profile_against_externals.py - tests/testutils/_primer/test_package_to_lint.py - tests/testutils/_primer/test_primer.py - ) - fi - - rm -rf pylint || die - - epytest -} - -python_install_all() { - if use examples ; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pylint/pylint-4.0.2.ebuild b/dev-python/pylint/pylint-4.0.2.ebuild deleted file mode 100644 index 550c8cddbe0c..000000000000 --- a/dev-python/pylint/pylint-4.0.2.ebuild +++ /dev/null @@ -1,85 +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="threads(+)" - -inherit distutils-r1 - -MY_P=${P/_beta/b} -DESCRIPTION="Python code static checker" -HOMEPAGE=" - https://pypi.org/project/pylint/ - https://github.com/pylint-dev/pylint/ -" -SRC_URI=" - https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="examples" - -RDEPEND=" - <dev-python/astroid-4.1[${PYTHON_USEDEP}] - >=dev-python/astroid-4.0.1[${PYTHON_USEDEP}] - >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] - >=dev-python/isort-5.14[${PYTHON_USEDEP}] - <dev-python/isort-8[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] - <dev-python/mccabe-0.8[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - >=dev-python/gitpython-3[${PYTHON_USEDEP}] - ' 'python*' ) - >=dev-python/pytest-8.3[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-timeout ) -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - 'tests/test_functional.py::test_functional[dataclass_with_field]' - 'tests/test_functional.py::test_functional[no_name_in_module]' - 'tests/test_functional.py::test_functional[shadowed_import]' - 'tests/test_functional.py::test_functional[use_yield_from]' - ) - local EPYTEST_IGNORE=( - # No need to run the benchmarks - tests/benchmark/test_baseline_benchmarks.py - ) - - if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/profile/test_profile_against_externals.py - tests/testutils/_primer/test_package_to_lint.py - tests/testutils/_primer/test_primer.py - ) - fi - - epytest -} - -python_install_all() { - if use examples ; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} |
