diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-11-10 06:48:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-11-10 06:48:03 +0000 |
| commit | 4d5efa9397dd6ad5f5264675c435387b903838e1 (patch) | |
| tree | 37ac591bbf98d51c915c9fa540d21fc3ff261f64 /dev-python | |
| parent | d7f7e5749b1e48edd697ff6a9303c305f346d8b2 (diff) | |
| download | baldeagleos-repo-4d5efa9397dd6ad5f5264675c435387b903838e1.tar.gz baldeagleos-repo-4d5efa9397dd6ad5f5264675c435387b903838e1.tar.xz baldeagleos-repo-4d5efa9397dd6ad5f5264675c435387b903838e1.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
75 files changed, 613 insertions, 1327 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index b620fb6b345e..b055721cd817 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,4 +1,3 @@ DIST aiohttp-3.10.10.tar.gz 7542993 BLAKE2B edc9808937892e2915b591a3d5b9e2be8401a67e6421ada8c49e27cfa1ee67283465d17e3c3a77f7579d4ed45df39884a2f9e336429ef7d64adf351ce7507a85 SHA512 c6928d989c110c323347b6f5b0a90c42e17924b4121455a240f5a15d87f939580640ba0f8d576f8254e484e5b631ec4562a2fb4e6c86402924b1892a6d72aff8 -DIST aiohttp-3.11.0b2.tar.gz 7615280 BLAKE2B a37a095b065adc4ecadfb8c01713848a504ee4ae87a16073283463b0d49dd4adb1439ee900e4015061dc217dacd285faf8e2dc9abcd3dc98ad09836ac07c8611 SHA512 babbcbdf291d80dbb26b2b32db328844d4a815360d8862915b9e5e11c508ab6c381092565d3b014a5c53047b375645f7f607ac6c6a8ed2f15639ebe03148bfa7 -DIST aiohttp-3.11.0b3.tar.gz 7617599 BLAKE2B 02cac5fbaeec0f7d7114bcac48246dfc3777f91e0aeef489f1e537a9e034c09d3e9e8959825c87775ec92f012542138d790be4b4dff89b99c35b87fbc59a236e SHA512 13a3be6a9148363b75ff959b2b0bcb0669990043c89a8f05cbeb133f4e1180ee7ebb1fc8aa5ed6c5dea9e1950294b8ce4f36e54d02e9e4bad03be13083bf3fe8 DIST aiohttp-3.11.0b4.tar.gz 7618792 BLAKE2B ec809ddfac1c4dd70a84e4ec03e58e20d8f52af6311dc4712cc54321a6d34d551fe13bcc507e293e5a14afbb42dd4beb8544941fbc749fa4c3241a732aaed03e SHA512 2790e9ee096c5825210b98ea18b0119e29b40203e7f62092afc637463e58c8d4036eea7ef4aef7eb58a5bb5fb677ed1251665d70b0ab37f4961de928eb381aec +DIST aiohttp-3.11.0b5.tar.gz 7621335 BLAKE2B 79fb393009c197f46b096fffa164c3da2380c711c3e28aec8d745c1af3776ea95c097a050943cc4c431c026ac5349c30728c363aa84de50a81162c817af8b319 SHA512 27ac64085317308e9281d8ac047e940f3dc86d4c871c3125b951ed190445623750a3c75745cf01d93739ea1c55126a5b5a56d59fd359ed89f17eaa9792a216a2 diff --git a/dev-python/aiohttp/aiohttp-3.11.0_beta3.ebuild b/dev-python/aiohttp/aiohttp-3.11.0_beta3.ebuild deleted file mode 100644 index ddfcb7da591b..000000000000 --- a/dev-python/aiohttp/aiohttp-3.11.0_beta3.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} pypy3 ) - -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" - -RDEPEND=" - >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] - >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${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}] - $(python_gen_cond_dep ' - <dev-python/async-timeout-5[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - native-extensions? ( - dev-python/cython[${PYTHON_USEDEP}] - ) - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' 'python3*') - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -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 '/xfail_strict/d' setup.cfg || die - sed -i -e 's:-Werror::' Makefile || die - - distutils-r1_src_prepare -} - -python_configure() { - if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions - then - # workaround missing files - mkdir tools || die - > requirements/cython.txt || die - > tools/gen.py || die - chmod +x tools/gen.py || die - # force rehashing first - emake requirements/.hash/cython.txt.hash - > .update-pip || die - > .install-cython || die - emake cythonize - fi -} - -python_compile() { - # implicitly disabled for pypy3 - if ! 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 - ) - - local EPYTEST_DESELECT=( - # Internet - tests/test_client_session.py::test_client_session_timeout_zero - # broken by irrelevant deprecation warnings - tests/test_circular_imports.py::test_no_warnings - ) - - # 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 - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin - rm -rf aiohttp || die - epytest -m "not internal and not dev_mode" \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/aiohttp/aiohttp-3.11.0_beta2.ebuild b/dev-python/aiohttp/aiohttp-3.11.0_beta5.ebuild index ddfcb7da591b..4a10c19005b4 100644 --- a/dev-python/aiohttp/aiohttp-3.11.0_beta2.ebuild +++ b/dev-python/aiohttp/aiohttp-3.11.0_beta5.ebuild @@ -31,7 +31,7 @@ RDEPEND=" >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' - <dev-python/async-timeout-5[${PYTHON_USEDEP}] + <dev-python/async-timeout-6[${PYTHON_USEDEP}] >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] ' 3.10) " @@ -64,7 +64,7 @@ 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 '/xfail_strict/d' setup.cfg || die + sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die sed -i -e 's:-Werror::' Makefile || die distutils-r1_src_prepare diff --git a/dev-python/anyio/anyio-4.6.2_p1.ebuild b/dev-python/anyio/anyio-4.6.2_p1.ebuild index 4bd00ffd2975..72baa19fea5e 100644 --- a/dev-python/anyio/anyio-4.6.2_p1.ebuild +++ b/dev-python/anyio/anyio-4.6.2_p1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/idna-2.8[${PYTHON_USEDEP}] diff --git a/dev-python/cftime/Manifest b/dev-python/cftime/Manifest index bca2a39a91b1..4e2de95f8d51 100644 --- a/dev-python/cftime/Manifest +++ b/dev-python/cftime/Manifest @@ -1,2 +1 @@ DIST cftime-1.6.4.post1.tar.gz 54631 BLAKE2B 5fee4a70d593b76e6d917f964ac99f7313d2c79d554151be7e8374eb8390b2fd712c14f9ed7e4ebf4397a534e3d9c902758c151d06bf2389d7f5dee72792711e SHA512 1250a34e37bd653f502a461df11bd3d34aaf0372708b2c2565037b90183c76ce5b8b1ce61264ba1a819fff05fc53f8759b42620e66da40aa79dcb25caa6cb020 -DIST cftime-1.6.4.tar.gz 54615 BLAKE2B a986c3bc5eb1d45a31fcad849f621c9299f72c305fe29d75b50ff8c8be97e71032f306d1d33d29d4b58e8a31adfb23c552ed990026ea30ee4f34f3e2b4698dec SHA512 8b27859680a9fb1d3acc3bd95faab040b4571de40a07b327ea161a0dfad022a6c27008f74a4070c314c05e7237fd8574075e0c92d863dbcc81cd7f7d34e01399 diff --git a/dev-python/cftime/cftime-1.6.4.ebuild b/dev-python/cftime/cftime-1.6.4.ebuild deleted file mode 100644 index b25c1ed41624..000000000000 --- a/dev-python/cftime/cftime-1.6.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2020-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Time-handling functionality from netcdf4-python" -HOMEPAGE=" - https://github.com/Unidata/cftime/ - https://pypi.org/project/cftime/ -" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~riscv ~s390 x86" - -DEPEND=" - >=dev-python/numpy-1.26.0[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=dev-python/cython-0.29.20[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -e "/--cov/d" -i setup.cfg || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/cftime/cftime-1.6.4_p1.ebuild b/dev-python/cftime/cftime-1.6.4_p1.ebuild index fd8738a521f9..b25c1ed41624 100644 --- a/dev-python/cftime/cftime-1.6.4_p1.ebuild +++ b/dev-python/cftime/cftime-1.6.4_p1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 arm64 ~loong ~riscv ~s390 ~x86" +KEYWORDS="amd64 arm64 ~loong ~riscv ~s390 x86" DEPEND=" >=dev-python/numpy-1.26.0[${PYTHON_USEDEP}] diff --git a/dev-python/coverage/coverage-7.6.4.ebuild b/dev-python/coverage/coverage-7.6.4.ebuild index 3d315c77e270..f2ee3e97f0e0 100644 --- a/dev-python/coverage/coverage-7.6.4.ebuild +++ b/dev-python/coverage/coverage-7.6.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/dulwich/dulwich-0.22.5.ebuild b/dev-python/dulwich/dulwich-0.22.5-r1.ebuild index c7a55c2f65d3..c7a55c2f65d3 100644 --- a/dev-python/dulwich/dulwich-0.22.5.ebuild +++ b/dev-python/dulwich/dulwich-0.22.5-r1.ebuild diff --git a/dev-python/frozenlist/frozenlist-1.5.0.ebuild b/dev-python/frozenlist/frozenlist-1.5.0.ebuild index df398e344650..b272e036a0a1 100644 --- a/dev-python/frozenlist/frozenlist-1.5.0.ebuild +++ b/dev-python/frozenlist/frozenlist-1.5.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 0b9bdeed3b77..06aef2f8eb67 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,3 +3,4 @@ DIST hypothesis-6.115.5.gh.tar.gz 9479622 BLAKE2B 44e21c25fbfb0da48102010a23522a DIST hypothesis-6.115.6.gh.tar.gz 9479927 BLAKE2B ddfeaebaa4e3687be1cab03fa8517353fcfc392dfe7a38100087534c6e71339e381a425c0e2b0d277d3d6344b69b9498e0b722efb18bbcbb90c3401e997afa96 SHA512 fb5df7b7bb45958e492d69d9375b3847de1ed39467bc119be69a237456e1cb1a2633cafbcd58c90113f0aa35880d5d30395ac9d43ccbc6c7368af46065094eb9 DIST hypothesis-6.116.0.gh.tar.gz 9480480 BLAKE2B 350abfd8bad65a33669345a71c3df9737e4defcfc12cd81a1d9ecb5603310372e039d1a148c2223a71f37f0ad485ca892ba322f9404e6d873016193b7f864f88 SHA512 5ae6848f16c21b9012d15eb71715df1fc9448b70264d18453d13e61fd71b84623150ce32c9b50ea4ce95494b0df21907368d0f6fabaa8cb8b26c71e474885703 DIST hypothesis-6.118.0.gh.tar.gz 9481630 BLAKE2B 691be7d387d61ce7e65b998cebfc11977bc3727537424e8594c6514d6ea9fae532fb203e65a4f014e74db0656946cb2920868c4d211801a1472046640a3bcdaf SHA512 740ebebc297043aed197bd848489661fa7252a1b63933b1abb17085550cc300b0bbc9217261bb2de28c9c1ae0dfda836cd4e325806f52560a1b5935ec6ec7356 +DIST hypothesis-6.118.3.gh.tar.gz 9484146 BLAKE2B 2cac4089ba76431588640777a6fea2b2681ca3530ac9d48775174799715b82f5d9f31540c1c4677abae13bf9c84502bbe086e0a76f5c5a650792e6b17c2e4b81 SHA512 9b12c1ba83f4b0ce4e3b1ae6c3c6616d502f44d458a421e7938b1c8a58c20dd1bdfb0b7ed8f1690c795cd0723874becbd06ef8771ef8d8bd36950e1f0d1cabef diff --git a/dev-python/hypothesis/hypothesis-6.118.3.ebuild b/dev-python/hypothesis/hypothesis-6.118.3.ebuild new file mode 100644 index 000000000000..902ce1505c8b --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.118.3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +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/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !!<dev-python/requests-toolbelt-0.10.1 + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + esac + + epytest -o filterwarnings= tests/cover tests/pytest tests/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/identify/Manifest b/dev-python/identify/Manifest index 98ca8095bb44..1efc39edba37 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1 +1,2 @@ DIST identify-2.6.1.gh.tar.gz 101751 BLAKE2B 5f957409a4a819ba0922065484c824282255174619630896cd5b708912097bec1662e55eafcf4f6cadf832bb988c824623d9fc1879e76665c096cbcf01ff4097 SHA512 3d7ee7e0e75d24626b4c322eeafaf624dac87692dcb0eef082be6eb413b3dcc8566e356b83c2cd1eea95e98d55258ee5aebd06ac0c85ee385629e819a549d155 +DIST identify-2.6.2.gh.tar.gz 101758 BLAKE2B a017c0915f62ca681f886b75a25df453f4e3f723ef29d7fe2865ae50e59b64506a4eaa1d7b853f27ca0a0faef68f2cfb138b080d45d2138668859423d4847bff SHA512 b822be048ff5e629ca4c7a06f6dc04f30d7b105f651bdca57e559d24ac46a33356e5f59aa110681bd184794d5dc595d932d6c9a4b709cf86c0367160d1bead66 diff --git a/dev-python/identify/identify-2.6.2.ebuild b/dev-python/identify/identify-2.6.2.ebuild new file mode 100644 index 000000000000..f6bbe575b185 --- /dev/null +++ b/dev-python/identify/identify-2.6.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="File identification library for Python" +HOMEPAGE=" + https://github.com/pre-commit/identify/ + https://pypi.org/project/identify/ +" +SRC_URI=" + https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/ukkonen[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/magic-wormhole-mailbox-server/Manifest b/dev-python/magic-wormhole-mailbox-server/Manifest index 4e01b0978cf1..96f52bdf28f8 100644 --- a/dev-python/magic-wormhole-mailbox-server/Manifest +++ b/dev-python/magic-wormhole-mailbox-server/Manifest @@ -1,2 +1,3 @@ DIST magic-wormhole-mailbox-server-0.5.0.tar.gz 69683 BLAKE2B 726f3ee155bafa3d6c5c60cf91c987725abd24b7e4e5842ddd08b0c1c0a66d1cd1bf453dd3384295226e26838def5b6720a3ed0906ff1090acee24b7eb724288 SHA512 604b7c03eb95c1de38fba511cc2eb2a7b19bf4cb2dd8cdfab956f3b6d79c141b9c966f3bf8a1362a1eba4006eefb5fe48a9262830389d51ec711fd7c1cfc9891 +DIST magic-wormhole-mailbox-server-0.5.1.tar.gz 69758 BLAKE2B 5dfb21f1e3994cdef9c510b2e265393e8200711fde3d3e6759783d55b1b11b32b291c774d04a0930cc537b3bb599598588c48e382e35642f856e738b832be442 SHA512 6a3345c8d18c2373dee5c748f6fa1437f7225d057b136439ba7bebfd3b55a7a1beb551357b66b1847cfa0c73bed87a136844c907432ccc045c6f9b528698d7b8 DIST magic-wormhole-mailbox-server-30ecb6e3f6f487c915e7ff0acdf2e630cbe17dc8.gh.tar.gz 73753 BLAKE2B 91a6059f19aafe74416df7bf43dbd27ff333950bf315e0e5c1ab83b696a6ea074d239db4127a6aaf171cc1a31d566439508dafbd8d4eba52729af0c981325f58 SHA512 4d0f2a8a74a7ba2c3f0635af4d4e44485df81858207eba1e3d0c0c1dea7554dedb653ee69ea82e220f0fedfe553e461feb047f3faa83cff613f0d9745a85aed9 diff --git a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.5.1.ebuild b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.5.1.ebuild new file mode 100644 index 000000000000..e4e41780c870 --- /dev/null +++ b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mailbox server for magic-wormhole" +HOMEPAGE=" + https://magic-wormhole.readthedocs.io/en/latest/ + https://github.com/magic-wormhole/magic-wormhole-mailbox-server/ + https://pypi.org/project/magic-wormhole-mailbox-server/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/autobahn[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/twisted[ssl,${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-python/treq[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm versioneer.py || die +} diff --git a/dev-python/mando/Manifest b/dev-python/mando/Manifest index f20c151f7952..3dccfb33d96d 100644 --- a/dev-python/mando/Manifest +++ b/dev-python/mando/Manifest @@ -1,2 +1 @@ -DIST mando-0.7.1.gh.tar.gz 37802 BLAKE2B 1caf437248f1b1397888674fff0171680fd1d2cffd1d3394869edce4fef0d214fb52fc0eb7435ef162722f128f129f8d19385e65661914c51f78108b64f8db38 SHA512 a25dfd57e833416cbd64933ca3970712d28c2e2ed172091a0d0c082f486c707d0061afb071e3973e7e42b654d1a6e70f4909b1254fdef493471dc0ae9d3eb62b DIST mando-0.8.2.gh.tar.gz 37606 BLAKE2B 0f9ac55167a94df20f562ede072cebfd8db1a105409cf8aeb7b882e2239c47f50119dc3b3fd3fffeca48bc1e56377b91f7fbd52fe18b6ba2e5bc9da1bee8eebd SHA512 e389fe1935c7e7e6812e98b874c5760a5fb1178fcacefdbecd47b3a2fd41457647da424baaf0065367e3c63903116ac7ad2e6dd20fc428d2831290eafe3486d4 diff --git a/dev-python/mando/mando-0.7.1.ebuild b/dev-python/mando/mando-0.7.1.ebuild deleted file mode 100644 index 102809fb284b..000000000000 --- a/dev-python/mando/mando-0.7.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Create Python CLI apps with little to no effort at all!" -HOMEPAGE=" - https://mando.readthedocs.io/ - https://github.com/rubik/mando/ - https://pypi.org/project/mando/ -" -SRC_URI=" - https://github.com/rubik/mando/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="examples" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/meson-python/meson-python-0.17.1.ebuild b/dev-python/meson-python/meson-python-0.17.1.ebuild index d6d41ad5bcbe..afd28b418791 100644 --- a/dev-python/meson-python/meson-python-0.17.1.ebuild +++ b/dev-python/meson-python/meson-python-0.17.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/mido/Manifest b/dev-python/mido/Manifest index f5fc4f19ca0c..da4666d88c82 100644 --- a/dev-python/mido/Manifest +++ b/dev-python/mido/Manifest @@ -1,2 +1 @@ -DIST mido-1.3.2.tar.gz 124216 BLAKE2B f6eb230ad8ec02a9a2f0e5e1b332a70334433a1decddb341b1c315b878bdc2e7aefed3527c408a3da9264e7344439a69bf28bd2b4d810c29e4f4278aee8303b9 SHA512 5f31057a972f8ecdadcd135f2ffd68f70388bb8777f6bc7fa14c84aa8c57988a4f7443283dd093930352989d8a097177c6543a38440184c705cfaf82e3aaff83 DIST mido-1.3.3.tar.gz 124288 BLAKE2B 2119ffa5894067107ccf94a4ddcccde0365aedd942df0330e06c1a1a3645cfa8b9a1bf767a0e60616f50966cf7dfb5a1d6cc394c05269bb01ba0724573dd4164 SHA512 9a9b983b7d2cc6ea530f98df09bc84690dfc980467726217023991a680a7c3f294bb0ffac730e79dcc5a3e4afccacfb4423791df290a035260513a5f7cc26152 diff --git a/dev-python/mido/mido-1.3.2.ebuild b/dev-python/mido/mido-1.3.2.ebuild deleted file mode 100644 index 532081d6d5b6..000000000000 --- a/dev-python/mido/mido-1.3.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 pypi - -DESCRIPTION="MIDI Objects, a library for working with MIDI messages and ports" -HOMEPAGE=" - https://pypi.org/project/mido/ - https://github.com/mido/mido -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="+portmidi rtmidi" - -RDEPEND=" - >=dev-python/packaging-23.1[${PYTHON_USEDEP}] - portmidi? ( media-libs/portmidi ) - rtmidi? ( dev-python/python-rtmidi[${PYTHON_USEDEP}] ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # performance test - tests/midifiles/test_tracks.py::test_merge_large_midifile - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/mido/mido-1.3.3.ebuild b/dev-python/mido/mido-1.3.3.ebuild index 666780a25ca5..532081d6d5b6 100644 --- a/dev-python/mido/mido-1.3.3.ebuild +++ b/dev-python/mido/mido-1.3.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="+portmidi rtmidi" RDEPEND=" diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild b/dev-python/minify-html/minify-html-0.15.0-r1.ebuild index 77874ea59326..77874ea59326 100644 --- a/dev-python/minify-html/minify-html-0.15.0.ebuild +++ b/dev-python/minify-html/minify-html-0.15.0-r1.ebuild diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index f2f6cc7aead0..509be1d4601e 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,5 +1,4 @@ DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 -DIST moto-5.0.17.tar.gz 5500632 BLAKE2B 9807388c0318a99635b0972f7d4d24489ddd37b0ec5272965d895c101ee924ef3915d8ef7546b6eab7574e87a5b3c650abce5dc07dda389a1fd9a0fc55d75cfb SHA512 8f17b4f0367f7068c0896d1db8766a2133dab027f107d742027ca936c3a2aaf13e4255ddc4801958e53197e3dd618bd6db7a7b21fef057662ba98e895c2e6bfc DIST moto-5.0.18.tar.gz 5509110 BLAKE2B 0e56aabc053184121608f08e9d0489fe20c51450d500cb35557d65222b60bb3b6e0aa5e3900a22fe8f6008c751524b1bd946e0994fcddf0e82c058ecf106e115 SHA512 805a100aaa0a1164fff3baf80baec868d12c7f94ec345640272ed284e2c982b6c0c092ffa5e0b28a26d547b9eb48485ed660e06170c1e26ec03590c35695e44f DIST moto-5.0.19.tar.gz 6203233 BLAKE2B 792d540a6ba44350e9fb4c85848e60daf704eb1a866e30e2cdd910dcf7bd7846f4da6c5b1a3e3b72663efb85574845508bc5eb3f70b0e948554ef19fe2970ebe SHA512 593965dcc821f0fdc8495e4ee72330ab1808e0bbbb491906eb204d2dc4b68af036b2065f5640c264c868207ceace967ca9d6efa741b3f9132427c0918aa2dcd7 DIST moto-5.0.20.tar.gz 6203061 BLAKE2B 0e2126c72eb7a0afbe5ef29251527e7e4822d125e7e107217e6a702e2c51aa274f7181cdd6dd1b0c724315f89e58415e1e89fdb96db6777fac79a85bc0f53421 SHA512 d7a2c4311cc0518761226d200c8691fa70871b779f5f01cf573e0f92e4677a6f9ab5b77b2005b36346b199f3f0f2921df9879d13b1bed95c363537b01a9ef47e diff --git a/dev-python/moto/moto-5.0.17.ebuild b/dev-python/moto/moto-5.0.17.ebuild deleted file mode 100644 index ad7e19df6cb8..000000000000 --- a/dev-python/moto/moto-5.0.17.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi toolchain-funcs - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/jsonpath-ng[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.15.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/antlr4-python3-runtime[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -: "${EPYTEST_TIMEOUT:=180}" -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_core/test_request_passthrough.py - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - # broken code? (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # require joserfc - tests/test_apigateway/test_apigateway.py::test_update_authorizer_configuration - tests/test_apigateway/test_apigateway.py::test_create_authorizer - tests/test_apigateway/test_apigateway.py::test_delete_authorizer - tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserDeleter::test_authenticate_with_signed_out_user - tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_email_is_ - tests/test_cognitoidp/test_cognitoidp_exceptions.py::TestCognitoUserPoolDuplidateEmails::test_use_existing_email__when_username_ - tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_different_seed - tests/test_cognitoidp/test_cognitoidp_replay.py::TestCreateUserPoolWithPredeterminedID::test_same_seed - tests/test_cognitoidp/test_server.py::test_sign_up_user_without_authentication - tests/test_cognitoidp/test_server.py::test_admin_create_user_without_authentication - # TODO - tests/test_dynamodb/test_dynamodb_import_table.py - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - tests/test_stepfunctions/parser/test_stepfunctions_dynamodb_integration.py::test_zero_retry - ) - local EPYTEST_IGNORE=( - # require joserfc - tests/test_cognitoidp/test_cognitoidp.py - ) - - case ${EPYTHON} in - python3.13) - EPYTEST_DESELECT+=( - # suddenly started crashing, *shrug* - tests/test_xray/test_xray_client.py::test_xray_context_patched - tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id - tests/test_xray/test_xray_client.py::test_xray_dynamo_request_id_with_context_mgr - tests/test_xray/test_xray_client.py::test_xray_udp_emitter_patched - ) - ;; - esac - - # test for 32-bit time_t - "$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null - #include <sys/types.h> - int test[sizeof(time_t) >= 8 ? 1 : -1]; - EOF - - if [[ ${?} -eq 0 ]]; then - einfo "time_t is at least 64-bit long" - else - einfo "time_t is smaller than 64 bits, will skip broken tests" - EPYTEST_DESELECT+=( - tests/test_acm/test_acm.py::test_request_certificate_with_optional_arguments - tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins - ) - EPYTEST_IGNORE+=( - tests/test_route53domains/test_route53domains_domain.py - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - rm -rf moto || die - epytest -m 'not network and not requires_docker' \ - -p rerunfailures --reruns=5 -} diff --git a/dev-python/moto/moto-5.0.18.ebuild b/dev-python/moto/moto-5.0.18.ebuild index eaaa025bdf0e..e00b2c82fde7 100644 --- a/dev-python/moto/moto-5.0.18.ebuild +++ b/dev-python/moto/moto-5.0.18.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 0a87c683c255..596223981f54 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,3 +1 @@ -DIST mypy-1.11.2.gh.tar.gz 3122502 BLAKE2B 228127662f4c607aacf3ee37410d0fa039a225fdbf2fec27eefab4aaabf4b68fa33499bb978aa5f06e24b45b525ce524decfa84f4d7d6bb7961724db92a4589b SHA512 c25584db08adcf7693944e5a6a41743101e80a0ff03f36f0353a07674ad4e2d63dbd4ff3fa0e307c19d63bc5aac9f7523340bd5a7cb3661642f3fb33759aafd0 -DIST mypy-1.12.1.gh.tar.gz 3163509 BLAKE2B 7a837b0badcc4fbcd1838cbd85bb46311a3bb1365d08d1704d19c58b840ef0f951fa993484da2933f953c3e7eefa8756c12a6a42b09b369aa55c0a361cb4039d SHA512 c712e2d4824ec5e6348d223225f4055556d0964340d4ec8941a735ece4fc4aa964aa8f02be038fe4b88cd162f6d6377c1ae6897cb6c2449d1820ce20978e1252 DIST mypy-1.13.0.gh.tar.gz 3165219 BLAKE2B 67e05628fb79666a84a7c284c8437222ce159260ef490c8c91a3f92fd21985032043821823dcbd0fb8775956ca4660b3468c6955fef5d13a104b3339b1e6a0b5 SHA512 a351a30bfc7ac687d4802c6459296a4a46356fc153258c686051fa3cb149ab3e8690357cad21cd6ab07b4fb6e91dd3610b57f7b38078da7e563c114cd3ed562a diff --git a/dev-python/mypy/mypy-1.11.2.ebuild b/dev-python/mypy/mypy-1.11.2.ebuild deleted file mode 100644 index c52956cc2920..000000000000 --- a/dev-python/mypy/mypy-1.11.2.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE=" - https://www.mypy-lang.org/ - https://github.com/python/mypy/ - https://pypi.org/project/mypy/ -" -SRC_URI=" - https://github.com/python/mypy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86" -IUSE="+native-extensions" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - native-extensions? ( - ${RDEPEND} - dev-python/types-psutil[${PYTHON_USEDEP}] - dev-python/types-setuptools[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, -# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible -# test files (https://github.com/mypyc/mypyc/issues/1014) -export CCACHE_DISABLE=1 - -python_compile() { - local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) - case ${EPYTHON} in - python3.13) - # https://github.com/mypyc/mypyc/issues/1056 - MYPY_USE_MYPYC=0 - ;; - esac - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # the majority of them require Internet (via pip) - mypy/test/testpep561.py - # known broken with assertions enabled - # https://github.com/python/mypy/issues/16043 - mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance - mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps - # these assume that types-docutils are not installed - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable - # TODO - mypy/test/meta/test_parse_data.py - mypy/test/meta/test_update_data.py - mypy/test/teststubtest.py::StubtestUnit::test_runtime_typing_objects - ) - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - # more assertions, sigh - mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues - mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined - ) - ;; - python3.13) - EPYTEST_DESELECT+=( - # https://github.com/mypyc/mypyc/issues/1056 - mypyc/test - # requires typeshed update - mypy/test/teststubtest.py::StubtestUnit::test_type_alias - ) - ;; - esac - - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests - # fail with high COLUMNS values - local -x COLUMNS=80 - - # The tests depend on having in-source compiled extensions if you want to - # test those compiled extensions. Various crucial test dependencies aren't - # installed. Even pyproject.toml is needed because that's where pytest args - # are in. Hack them into the build directory and delete them afterwards. - # See: https://github.com/python/mypy/issues/16143 - local -x MYPY_TEST_PREFIX="${S}" - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - cp -r "${S}"/{conftest.py,pyproject.toml} . || die - - local failed= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest || failed=1 - - rm conftest.py pyproject.toml || die - - [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" -} diff --git a/dev-python/mypy/mypy-1.12.1.ebuild b/dev-python/mypy/mypy-1.12.1.ebuild deleted file mode 100644 index bf7e0820660d..000000000000 --- a/dev-python/mypy/mypy-1.12.1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE=" - https://www.mypy-lang.org/ - https://github.com/python/mypy/ - https://pypi.org/project/mypy/ -" -SRC_URI=" - https://github.com/python/mypy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="+native-extensions" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-1.0.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - native-extensions? ( - ${RDEPEND} - dev-python/types-psutil[${PYTHON_USEDEP}] - dev-python/types-setuptools[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, -# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible -# test files (https://github.com/mypyc/mypyc/issues/1014) -export CCACHE_DISABLE=1 - -python_compile() { - local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) - case ${EPYTHON} in - python3.13) - # https://github.com/mypyc/mypyc/issues/1056 - MYPY_USE_MYPYC=0 - ;; - esac - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # the majority of them require Internet (via pip) - mypy/test/testpep561.py - # known broken with assertions enabled - # https://github.com/python/mypy/issues/16043 - mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance - mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps - # these assume that types-docutils are not installed - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable - # TODO - mypy/test/meta/test_parse_data.py - mypy/test/meta/test_update_data.py - ) - case ${EPYTHON} in - python3.13) - ;& - python3.12) - EPYTEST_DESELECT+=( - # more assertions, sigh - mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues - mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined - ) - ;; - esac - - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests - # fail with high COLUMNS values - local -x COLUMNS=80 - - # The tests depend on having in-source compiled extensions if you want to - # test those compiled extensions. Various crucial test dependencies aren't - # installed. Even pyproject.toml is needed because that's where pytest args - # are in. Hack them into the build directory and delete them afterwards. - # See: https://github.com/python/mypy/issues/16143 - local -x MYPY_TEST_PREFIX="${S}" - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - cp -r "${S}"/{conftest.py,pyproject.toml} . || die - - local failed= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest || failed=1 - - rm conftest.py pyproject.toml || die - - [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" -} diff --git a/dev-python/mypy/mypy-1.13.0.ebuild b/dev-python/mypy/mypy-1.13.0.ebuild index 37a938336b25..5d98c7386eb0 100644 --- a/dev-python/mypy/mypy-1.13.0.ebuild +++ b/dev-python/mypy/mypy-1.13.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm64 ~loong ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/netcdf4/Manifest b/dev-python/netcdf4/Manifest index 5f61b7656eba..cddf099a5c1a 100644 --- a/dev-python/netcdf4/Manifest +++ b/dev-python/netcdf4/Manifest @@ -1,2 +1 @@ -DIST netcdf4-1.7.1.tar.gz 827831 BLAKE2B a0b6956be7749133f4823f385ea82b84975985814b90e7172ecbfb6d4590cf0809471672375a2331181735d7af622f6302adf2dad5fd95f09e24078bbdc20581 SHA512 69b7465f1d7b138b9f2f18732528207c7a573e0a5637c964a881fddc8f01a53b16c7250c22824a6ee0e3383dccd7f93b1971f95a9d1558d6088709efa7558ce7 DIST netcdf4-1.7.2.tar.gz 835064 BLAKE2B f44b08c66dca15bc31b5ed05c881f85a59015472dc82428198766438df7301e4f9802f1bcd99b67c3cf0f29e1879ab1e6b6d3cb77ab90fabcfc74417342a23b0 SHA512 a63a5a354157804c422d0b3728e9c4bb2f5d83cbe2fd5be5098bdc497ac2aeed896ab7bcff31e0d50d257f7ab2769e0e6e819cd5191850ed8036298fda7e47da diff --git a/dev-python/netcdf4/netcdf4-1.7.1-r1.ebuild b/dev-python/netcdf4/netcdf4-1.7.1-r1.ebuild deleted file mode 100644 index 4d8024eb4d81..000000000000 --- a/dev-python/netcdf4/netcdf4-1.7.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=netCDF4 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Python/numpy interface to the netCDF C library" -HOMEPAGE=" - https://unidata.github.io/netcdf4-python/ - https://github.com/unidata/netcdf4-python/ - https://pypi.org/project/netCDF4/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="blosc bzip2 mpi test szip zstd" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/hdf5:= - sci-libs/netcdf:=[blosc(-)=,bzip2(-)=,hdf5,mpi=,szip=,zstd(-)=] -" -RDEPEND=" - ${DEPEND} - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/cftime[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/packaging[${PYTHON_USEDEP}] - sci-libs/netcdf[tools(+)] - ) -" - -python_test() { - local -x NO_NET=1 - cd test || die - "${EPYTHON}" run_all.py || die -} - -pkg_postinst() { - optfeature "HDF4 support" sci-libs/hdf "sci-libs/netcdf[hdf]" - optfeature "OPeNDAP support" net-misc/curl "sci-libs/netcdf[dap]" -} diff --git a/dev-python/netcdf4/netcdf4-1.7.2.ebuild b/dev-python/netcdf4/netcdf4-1.7.2.ebuild index f1637bf7aaa3..4d8024eb4d81 100644 --- a/dev-python/netcdf4/netcdf4-1.7.2.ebuild +++ b/dev-python/netcdf4/netcdf4-1.7.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ~x86 ~amd64-linux ~x86-linux" IUSE="blosc bzip2 mpi test szip zstd" RESTRICT="!test? ( test )" diff --git a/dev-python/owslib/Manifest b/dev-python/owslib/Manifest index ca16a505357c..a2da34b8953c 100644 --- a/dev-python/owslib/Manifest +++ b/dev-python/owslib/Manifest @@ -1,2 +1 @@ -DIST OWSLib-0.31.0.gh.tar.gz 1041697 BLAKE2B 0fd7e0aa95a07229e171bbf3924a9a7036aa0e201a28c8198fcdd4a462d75b90b0979ffda7d9e20ec30abc284b97362fd195cda67c772f3f96642f1ae89ff753 SHA512 005e6f753472675aef0bd0ead138e9bafce2df4e3530003d4159a2ecf610164487ddeb63cf1dfeb6cb4847c878eb40056ccc77116aac8be658fb322ad650f41d DIST OWSLib-0.32.0.gh.tar.gz 1057997 BLAKE2B e4327b016529682125d6326839a47c93ea8446e209d2867cb2259f900d0049754c51240ca36b98e661abd40e6997fbc25a16d902ec7a34a453d5760c2faf1dd1 SHA512 16dd829db011609008e886def65fb31156f8f261a997a4a9a9db590456af24f3d7b2da87dff26a64d3f9ce64be5e269c792673997ca1f07b376941cd6243d4f7 diff --git a/dev-python/owslib/owslib-0.31.0.ebuild b/dev-python/owslib/owslib-0.31.0.ebuild deleted file mode 100644 index 8408176ad637..000000000000 --- a/dev-python/owslib/owslib-0.31.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=OWSLib-${PV} -DESCRIPTION="Library for client programming with Open Geospatial Consortium web service" -HOMEPAGE=" - https://geopython.github.io/OWSLib/ - https://github.com/geopython/owslib/ - https://pypi.org/project/OWSLib/ -" -SRC_URI=" - https://github.com/geopython/${PN}/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" - -RDEPEND=" - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest -o addopts= -m "not online" -} diff --git a/dev-python/owslib/owslib-0.32.0.ebuild b/dev-python/owslib/owslib-0.32.0.ebuild index d9c8bb702530..4e80a7a49a98 100644 --- a/dev-python/owslib/owslib-0.32.0.ebuild +++ b/dev-python/owslib/owslib-0.32.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" RDEPEND=" dev-python/lxml[${PYTHON_USEDEP}] diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 229b6e8e6d70..8959260b3863 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,3 +1,4 @@ DIST pdm-2.19.3.tar.gz 2639417 BLAKE2B aa9930ea4a6b358ee82f111c7baac788fdc30e6aa20189e22d979716af306bd792a4b91654c39d915cbf812e07019692519a1acd65a7404dd5e7cafb4702c26c SHA512 05542e260d9849ae1b186df0e237a15e23e6c4b7442c2f9cbcbf593e88136831d724eecfebad2a7ba3deda13f20ed9b6a322ec12f1a3eb6f5f8e0e396312f333 DIST pdm-2.20.0.post1.tar.gz 2641188 BLAKE2B e97cabea9dfda3a73b6d0532548a4498b9fe98f9db1a66d0cbc6f24d3a3a4463cdf023fd8039a294b538436977f66deb6c1474129a75ddb4ba144a5c70647e37 SHA512 33f201a24852d8a0c2eee8bae4fa3b059182e517b4890f5db827914594867494969cae651d449e9e2be6b6bae3cb7cb64947c4b24e0db457a283b60a15700506 DIST pdm-2.20.0.tar.gz 2641170 BLAKE2B de48155ba3964f8529715fd6afeb06aa019e199976f50593fbb05fcec44a2688d13ea6ecfa886bb18146833e4f226f2513db6bd233d9a9543752edfefbb143a7 SHA512 51d99bf576032ff90b2334c9cc2a857d2670d8bb7f64096d290d21eeaab62d14ca6ffec51747da49e0849b6853172dd79d116cb6ce4c8ea35fed8fd218521306 +DIST pdm-2.20.1.tar.gz 2642376 BLAKE2B d24d889d75b06deb7595a7a0691ba21e9af15013372481147ddf1c6a19a13bb398af786cbc38877b29380f162a7923848aaf9d9b6f258dcd22ad80a96ad96ab8 SHA512 f9a164c521f943a89c8eb4792d249b06114b26e5c87022feb0d1bc24ca8ef56085da07e8b0dd9033b3c6e7d0e0ff1d3cb52bf8a69a2ef1e211cdb3c29eeb24b8 diff --git a/dev-python/pdm/pdm-2.20.0_p1.ebuild b/dev-python/pdm/pdm-2.20.0_p1-r1.ebuild index 82f01015dfec..90eff2f533c3 100644 --- a/dev-python/pdm/pdm-2.20.0_p1.ebuild +++ b/dev-python/pdm/pdm-2.20.0_p1-r1.ebuild @@ -55,6 +55,13 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die +} + python_test() { local EPYTEST_DESELECT=( # Internet diff --git a/dev-python/pdm/pdm-2.20.1.ebuild b/dev-python/pdm/pdm-2.20.1.ebuild new file mode 100644 index 000000000000..81d4538a66ae --- /dev/null +++ b/dev-python/pdm/pdm-2.20.1.ebuild @@ -0,0 +1,128 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.4.4[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.1[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + # i guess doesn't expect some dep to be present + tests/cli/test_build.py::test_build_with_no_isolation + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 7a7a1c591845..e358a732ba5f 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,3 +1 @@ -DIST python-phonenumbers-8.13.47.gh.tar.gz 4913983 BLAKE2B adf167f95ec4817c3adf92ffe4e0e2eab3ff99ce572023d47adc88b03e29414721ed6ed22f4029fb9e56d4f8cf8c5d9cf65e59209c6a4e5ae41e89d24df509e5 SHA512 a25ce93f79f7ec17b4dd3334b3912c8311c8ad0196e91f554c59b2f12b85f2c5936ec280bb2a5048c9ea8e274cdc632e42566153d87992db3601ddb8f93a0eaf -DIST python-phonenumbers-8.13.48.gh.tar.gz 4914013 BLAKE2B 7b279251fd369bbb5909a6b89fd856d4f4e3fca9c28b5e4e250f1a32734f1ae6071ed9304b64c9a66183d5ec8266c3b7c6bd129b15bc9a9c43fadfff93bc110b SHA512 d0c55c3058086b609aef81e316857f2dea7f65e6bbcdd06fcc58783c024252ba35796b79e92d1e9a888ec4b7c1ef6c221a1a07f09867ea5415f369be40453704 DIST python-phonenumbers-8.13.49.gh.tar.gz 4914069 BLAKE2B b4759021af0195af48a6b556df9d69d1aaf9fc5501d375b28b0bc61b0c5b249c5216670f24b239b52cb6c9baf1843026ce607d5e41222ad83079a49522c4d911 SHA512 a20a743e7cc82cf0d04676d19843886c74bb6d78355a40fe2eac110d463e2c6a6855a7924083c60201560c95d318c473b2728f1b1206c5874214d010bf232d3f diff --git a/dev-python/phonenumbers/phonenumbers-8.13.47.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.47.ebuild deleted file mode 100644 index 38c93191bc76..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.13.47.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.13.48.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.48.ebuild deleted file mode 100644 index 587f52b791b0..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.13.48.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.13.49.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.49.ebuild index 587f52b791b0..38c93191bc76 100644 --- a/dev-python/phonenumbers/phonenumbers-8.13.49.ebuild +++ b/dev-python/phonenumbers/phonenumbers-8.13.49.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}/python LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/pip/pip-24.3.1-r1.ebuild b/dev-python/pip/pip-24.3.1-r2.ebuild index dac10b623b15..7f8d2f286cc8 100644 --- a/dev-python/pip/pip-24.3.1-r1.ebuild +++ b/dev-python/pip/pip-24.3.1-r2.ebuild @@ -35,7 +35,7 @@ RDEPEND=" >=dev-python/distlib-0.3.9[${PYTHON_USEDEP}] >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] >=dev-python/msgpack-1.0.8[${PYTHON_USEDEP}] - >=dev-python/packaging-24.1[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] >=dev-python/platformdirs-4.2.1[${PYTHON_USEDEP}] >=dev-python/pyproject-hooks-1.0.0[${PYTHON_USEDEP}] >=dev-python/requests-2.32.0[${PYTHON_USEDEP}] diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest index 2213b5c17e0e..75ebc172a90a 100644 --- a/dev-python/proto-plus/Manifest +++ b/dev-python/proto-plus/Manifest @@ -1,2 +1 @@ -DIST proto-plus-python-1.24.0.gh.tar.gz 100401 BLAKE2B 29094738e9c84559b8b51b078ecb059e7475c5c6e9392f23925c6df264efebd22c191c5b593fc659aabb20ce9cb0d93cde9df28b0b40aac4bbc80e075a95ec24 SHA512 3995df0a7df60a9a5c9325c29456f73d8482ae3d765f9553e5633b8d0ae0869c6fe3cd60e780f8fcd49d04470205abf621bc56c20d64252b76d51c19ff283372 DIST proto-plus-python-1.25.0.gh.tar.gz 101442 BLAKE2B a98b5131f4e55473eadb09ec9a692ef7d53312ae8f4c925ab0c5ffada25c3c3b154738c766a4e41e753c3b292c93faee54e6d7f8800c7a0af6665e4e341086ce SHA512 449fb9fe2950cff98d05fc86b4f35fab4a1b4f7c27a3b9174dbb1f6aac92484088f44c9fda4109c3f693d890606505808d7a489412be2d091e9962363c57be4e diff --git a/dev-python/proto-plus/proto-plus-1.24.0-r1.ebuild b/dev-python/proto-plus/proto-plus-1.24.0-r1.ebuild deleted file mode 100644 index 2528bcce9dcf..000000000000 --- a/dev-python/proto-plus/proto-plus-1.24.0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=${PN}-python-${PV} -DESCRIPTION="Beautiful, Pythonic protocol buffers" -HOMEPAGE=" - https://github.com/googleapis/proto-plus-python/ - https://pypi.org/project/proto-plus/ -" -SRC_URI=" - https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - <dev-python/protobuf-python-6[${PYTHON_USEDEP}] - >=dev-python/protobuf-python-3.19.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/google-api-core-1.31.5[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/proto-plus/proto-plus-1.25.0.ebuild b/dev-python/proto-plus/proto-plus-1.25.0.ebuild index 2297c2467c1e..2528bcce9dcf 100644 --- a/dev-python/proto-plus/proto-plus-1.25.0.ebuild +++ b/dev-python/proto-plus/proto-plus-1.25.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" <dev-python/protobuf-python-6[${PYTHON_USEDEP}] diff --git a/dev-python/pydevd/Manifest b/dev-python/pydevd/Manifest index d2296b166780..c0f3287b33f9 100644 --- a/dev-python/pydevd/Manifest +++ b/dev-python/pydevd/Manifest @@ -1,2 +1,3 @@ DIST PyDev.Debugger-pydev_debugger_3_1_0.gh.tar.gz 4293466 BLAKE2B 2b820b44a37362dfe554f60f418ce6c94cfd9fb9b14b6d6f521e7bd2023f044129b440878a136d67249096ba8a4aa61bb465551c1d9930989ffe9fe40c68f464 SHA512 8afaab2a69cb6785c5453ce1034a70fa28ab33c3122c1e21c485d9023317785524144c76e87864a695fa1fd26b05bc6d828db22a7cbcf025bd8aafe0b9ed4d3b DIST PyDev.Debugger-pydev_debugger_3_2_2.gh.tar.gz 4283873 BLAKE2B 62c4a4a4677127ed7c3f0b2f63388169e01d620dd6bd986e4f24208379dcff77993d297e3647b395b6e6e262868b69533f63370c1975b8c582a52a80ce40f77d SHA512 0d2f73fbe4d3541ff3b0e24373165f92c44c28eced1ca00b618caff5f12ee579165ba16b3692d6d4d7840c36f75c5f064aabdd554bb00d39b3b896840dfdcda4 +DIST PyDev.Debugger-pydev_debugger_3_2_3.gh.tar.gz 4288122 BLAKE2B 54d01508644d1a76f7cd51f1f4c6f5b7eeb5c56781b15ba6b0b0347d4a7ed18a8f357deb1a22efbadccf082df9ac673b5e101b66877ebeec98276428a5a32fce SHA512 8027b27803c4ddd2db489f4a8988756116f4712f112f7c91cc99ea2c9d9a78b4df1678abae138ce13d0b0c5c6481ec663cbf3f7d367e176e22d4e78f0782642b diff --git a/dev-python/pydevd/pydevd-3.2.3.ebuild b/dev-python/pydevd/pydevd-3.2.3.ebuild new file mode 100644 index 000000000000..3f3975402989 --- /dev/null +++ b/dev-python/pydevd/pydevd-3.2.3.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2024 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_{9,10,11,12,13} ) + +inherit distutils-r1 toolchain-funcs + +TAG="pydev_debugger_${PV//./_}" +MY_P="PyDev.Debugger-${TAG}" +DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" +HOMEPAGE=" + https://github.com/fabioz/PyDev.Debugger/ + https://pypi.org/project/pydevd/ +" +SRC_URI=" + https://github.com/fabioz/PyDev.Debugger/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-debug/gdb +" +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/untangle[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Drop -O3 and -flto compiler args + # Make extension build failures fatal + sed -i \ + -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ + -e '/extra_compile_args/d' \ + -e '/except/a\ raise' \ + setup.py || die + + # Disable tests incompatible with new package versions + sed -e '/TEST_\(DJANGO\|FLASK\)/s:True:False:' \ + -i tests_python/debug_constants.py || die + + # Clean up some prebuilt files + rm -r third_party || die + cd pydevd_attach_to_process || die + + # Remove these Windows files + rm attach_{amd64,x86}.dll || die + rm inject_dll_{amd64,x86}.exe || die + rm run_code_on_dllmain_{amd64,x86}.dll || die + rm -r windows winappdbg || die + + # Remove these MacOS files + rm attach_x86_64.dylib || die + + # Remove these prebuilt linux files + rm attach_linux_{amd64,x86}.so || die + + cd linux_and_mac || die + rm compile_mac.sh || die +} + +src_compile() { + pushd pydevd_attach_to_process/linux_and_mac || die + # recompile removed file (extracted from compile_linux.sh) + $(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} \ + -o "../attach_linux_${ARCH}.so" \ + ${LDFLAGS} -nostartfiles attach.cpp -ldl || die + popd || die + + distutils-r1_src_compile + + # C extensions + rm -r _pydevd* || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + # NB: upstream seems to run tests via runfiles.py but that script + # is a horror and it seems broken for us anyway + tests_python/test_debugger.py::test_attach_to_pid_halted + tests_python/test_debugger.py::test_attach_to_pid_no_threads + 'tests_python/test_debugger.py::test_path_translation[False]' + tests_python/test_debugger_json.py::test_attach_to_pid + tests_python/test_debugger_json.py::test_case_sys_exit_multiple_exception_attach + tests_python/test_debugger_json.py::test_evaluate_exception_trace + tests_python/test_debugger_json.py::test_gui_event_loop_custom + tests_python/test_debugger_json.py::test_path_translation_and_source_reference + tests_python/test_utilities.py::test_tracing_basic + tests_python/test_utilities.py::test_tracing_other_threads + # incompatible with xdist + tests_python/test_utilities.py::test_find_main_thread_id + tests_python/test_utilities.py::test_is_main_thread + # numpy-2? + tests_python/test_debugger_json.py::test_evaluate_numpy + ) + + case ${EPYTHON} in + python3.11) + EPYTEST_DESELECT+=( + tests_python/test_debugger.py::test_frame_eval_limitations + tests_python/test_debugger.py::test_remote_debugger_threads + ) + ;; + python3.12) + EPYTEST_DESELECT+=( + # flaky + tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # this is only used to compare against getpid() to detect that xdist + # is being used + local -x PYDEV_MAIN_PID=1 + epytest -p rerunfailures --reruns=5 +} + +python_install_all() { + distutils-r1_python_install_all + # Remove this duplicate that is installed directly to /usr/ + # These files are also correctly installed to the python site-packages dir + rm -r "${ED}/usr/pydevd_attach_to_process" || die +} diff --git a/dev-python/pyeclib/Manifest b/dev-python/pyeclib/Manifest index ded005b27935..0debedb620a1 100644 --- a/dev-python/pyeclib/Manifest +++ b/dev-python/pyeclib/Manifest @@ -1,4 +1 @@ -DIST pyeclib-1.6.1.tar.gz 6690168 BLAKE2B 4e59c2827487f09a21f49751455fabd9ce672d6edb83befbc06e7aebe66c2f8de5f83a5ddec612fee2ac727fad247d66f36c659ebdf316759cd9e4438c7f085c SHA512 fdb855551e9695c3748d78d43bc306e536ef45476143445520284d4918f2c84757247d217ada2df565d03b1769ef83ac8c82b92b8438c2d40915f8008fd769c4 -DIST pyeclib-1.6.2.tar.gz 50590 BLAKE2B c36957aa425395164e0710ed6d96704368ef15e6157e00cdb4790713f94858dfa61620f4a0ca0f93903716035d0009067a55dbc80ae7a16802ac38223b16452a SHA512 6d392a1701dd499c042e144db60cd1b12808adb312e77d25a4eec5fc0decd9084be810773562f0208c4192db17f9a699a72ea122bffc9511cfea865e843d68cd -DIST pyeclib-1.6.2rc1.tar.gz 51495 BLAKE2B 72e3286cc392e4325681a76cc53e06dad57d6ec8224bdf825f921b1e982cac5bf5d2a95d48ebf0e7673160c20ab4b4169848e8dd31d508cf1eb7777567abab18 SHA512 c5e9ffbf3b90b7a9e9737ca3c69e56f0bfa284e053e6107c843ebfd3a33df839320d24ca8210b0c74778b9c217f30a43b47c2c7d9206d2a686d635e385af1602 DIST pyeclib-1.6.4.tar.gz 50928 BLAKE2B a115cbe6157f30edd2da3c3a16ff2c7871e1349c827491e80d2ca36e0ee221cf37bd49545f375828e16a3ceac7b84fae1d25247c86053ffba62d8196a9d0980d SHA512 132c2fda295f6bea3609b22783c0d68e65814929061785269e94fc29f35054b99c6073d836f61c5396c48d951eb35f3c83010946ac28f9ac900e2ff7bffefc20 diff --git a/dev-python/pyeclib/pyeclib-1.6.1.ebuild b/dev-python/pyeclib/pyeclib-1.6.1.ebuild deleted file mode 100644 index 43e348de3ef3..000000000000 --- a/dev-python/pyeclib/pyeclib-1.6.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Messaging API for RPC and notifications over different messaging transports" -HOMEPAGE=" - https://opendev.org/openstack/pyeclib/ - https://pypi.org/project/pyeclib/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -DEPEND=" - dev-libs/liberasurecode -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # https://review.opendev.org/c/openstack/pyeclib/+/798010 - sed -e '/library_dirs/d' -i setup.py || die - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "jerasure backend" dev-libs/jerasure -} diff --git a/dev-python/pyeclib/pyeclib-1.6.2.ebuild b/dev-python/pyeclib/pyeclib-1.6.2.ebuild deleted file mode 100644 index 604d7faa574a..000000000000 --- a/dev-python/pyeclib/pyeclib-1.6.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Messaging API for RPC and notifications over different messaging transports" -HOMEPAGE=" - https://opendev.org/openstack/pyeclib/ - https://pypi.org/project/pyeclib/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/liberasurecode -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # https://review.opendev.org/c/openstack/pyeclib/+/798010 - sed -e '/library_dirs/d' -i setup.py || die - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "jerasure backend" dev-libs/jerasure -} diff --git a/dev-python/pyeclib/pyeclib-1.6.2_rc1.ebuild b/dev-python/pyeclib/pyeclib-1.6.2_rc1.ebuild deleted file mode 100644 index 604d7faa574a..000000000000 --- a/dev-python/pyeclib/pyeclib-1.6.2_rc1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Messaging API for RPC and notifications over different messaging transports" -HOMEPAGE=" - https://opendev.org/openstack/pyeclib/ - https://pypi.org/project/pyeclib/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -DEPEND=" - dev-libs/liberasurecode -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - test? ( - dev-python/six[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # https://review.opendev.org/c/openstack/pyeclib/+/798010 - sed -e '/library_dirs/d' -i setup.py || die - distutils-r1_src_prepare -} - -pkg_postinst() { - optfeature "jerasure backend" dev-libs/jerasure -} diff --git a/dev-python/pyeclib/pyeclib-1.6.4.ebuild b/dev-python/pyeclib/pyeclib-1.6.4.ebuild index 604d7faa574a..43e348de3ef3 100644 --- a/dev-python/pyeclib/pyeclib-1.6.4.ebuild +++ b/dev-python/pyeclib/pyeclib-1.6.4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" DEPEND=" dev-libs/liberasurecode diff --git a/dev-python/pypy3/pypy3-7.3.17-r100.ebuild b/dev-python/pypy3/pypy3-7.3.17-r100.ebuild index 44ed9fc4c217..d11c4dd3b3f6 100644 --- a/dev-python/pypy3/pypy3-7.3.17-r100.ebuild +++ b/dev-python/pypy3/pypy3-7.3.17-r100.ebuild @@ -11,7 +11,7 @@ HOMEPAGE=" LICENSE="metapackage" SLOT="0/pypy310-pp73-384" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+gdbm ncurses sqlite +test-install tk" RDEPEND=" diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index 6a3d2aedde1f..b3ad876e6449 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1,2 +1 @@ -DIST pyscard-2.1.1.tar.gz 153537 BLAKE2B 60c6d8acae5f707f84f8dfa775b2bfc74e4c6075b10a64c5ba1854b7c4e6cd03e2fa8db337b48ec5a167b834a4b22f5ae182ec4e78463b549aa8f4980295dbfd SHA512 854d52fde447e972545761ce8f2c1262d5e454c942fc68f2be09d0b62cc453aa5ef793e899f283fe5f53db59ef0714252090b8f5335dcd1b40ed28506965f371 DIST pyscard-2.2.0.tar.gz 154847 BLAKE2B 4941ddb8b5ba38855eb69d61432241fc181e7fff7c181eb9d40ae03f0e4ce5818483d2ea35e25e92033f946e5f3e17aad297c02b3c90def91f79c24941bc80bf SHA512 91ceeab576345ff7f2e9d173399ab4d2ddebd26dab613fba33b7620253aea81645d6efdf0d365724a34cec8e9fd4f76cd43801d925a94e058ff797e5c0a41b73 diff --git a/dev-python/pyscard/pyscard-2.1.1.ebuild b/dev-python/pyscard/pyscard-2.1.1.ebuild deleted file mode 100644 index ad09f7af4393..000000000000 --- a/dev-python/pyscard/pyscard-2.1.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 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_{9,10,11,12,13} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Smart card support in python" -HOMEPAGE=" - https://pyscard.sourceforge.io/ - https://github.com/LudovicRousseau/pyscard/ - https://pypi.org/project/pyscard/ -" -SRC_URI=" - https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -DEPEND=" - sys-apps/pcsc-lite -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/swig -" - -distutils_enable_tests unittest - -pkg_postinst() { - optfeature "Gui support" dev-python/wxpython - optfeature "Support of remote readers with Pyro" dev-python/Pyro4 -} - -python_test() { - cd test || die - eunittest -} diff --git a/dev-python/pyscard/pyscard-2.2.0.ebuild b/dev-python/pyscard/pyscard-2.2.0.ebuild index d59690237a19..de277d85e459 100644 --- a/dev-python/pyscard/pyscard-2.2.0.ebuild +++ b/dev-python/pyscard/pyscard-2.2.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" DEPEND=" sys-apps/pcsc-lite diff --git a/dev-python/radon/radon-6.0.1.ebuild b/dev-python/radon/radon-6.0.1-r1.ebuild index d958f9fa5311..3ea365249137 100644 --- a/dev-python/radon/radon-6.0.1.ebuild +++ b/dev-python/radon/radon-6.0.1-r1.ebuild @@ -22,7 +22,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/colorama-0.4.1[${PYTHON_USEDEP}] dev-python/flake8[${PYTHON_USEDEP}] - <dev-python/mando-0.8[${PYTHON_USEDEP}] + >=dev-python/mando-0.6[${PYTHON_USEDEP}] " BDEPEND=" test? ( @@ -32,3 +32,10 @@ BDEPEND=" distutils_enable_sphinx docs distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die +} diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 0760f2011e19..258436227b55 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,4 +1 @@ -DIST rapidfuzz-3.10.0.tar.gz 57942780 BLAKE2B 3510ef495e9eb2a158eae73526e109809a9487ce48a70189b0c6f25957e46a6a640f1d0f9ef00203ea7730a2ba2b1086db9faf20434c92afb6b7205057aa5c22 SHA512 88e92ac4bfd72288546265c4d3957ce672f314f08f39b11ba21c267b07797eec45315af788f94152a4704e0782df77fbcb40ef6773be7d3a5d3684fd7230e437 DIST rapidfuzz-3.10.1.tar.gz 57982250 BLAKE2B 7b0c5f4a940b46bcc340eb8bf32cec3389b243368c36caa92e39e62f18c7ebb1f56d439bf8609825b4b64d743dc0ae041b4660b89cd03af0016944620ab99648 SHA512 f72a9ed6e3fd64640a877d50ab25c90d1969adfd93ff0029526a94ff1e62aa4fd8e9b4ce63ee8a5b37cfb68d2966051e76d78b26ef502a8c0b28fe5f462c8462 -DIST rapidfuzz-3.9.6.tar.gz 1596107 BLAKE2B e108320e05ad3ad194b1ffa05d5fddc5bb6080e73ecb031117a0552d5685734870af4a87503022fceadf3fd38b31e71f85c05483b4aaaf4a9d7358d4566699b4 SHA512 015b947dcfd12ee48c7592ac2fc204833d8aa8e43110dab12dff7650e9f309a9a2017d2faf89b3c154cead23d9dc7fc1658f0ff5d2f8b5b3c73b2c97f021c7d9 -DIST rapidfuzz-3.9.7.tar.gz 1596228 BLAKE2B ba3188748dc408cbe91718e890fd67e9ee47feacfe2b307038d7bfc6ffdb7aebb016b2276b591a1fd3a5c59df29a1b55a9555505f938638907d11deec9575f98 SHA512 b1a50f3ff0af044e0aa57a053bcefb3227dce2ed17b94ed82afe72203c6e858221c5ca955e4f190a0cb7adaeada11fab7fa5958e1c439deec60d96899207269d diff --git a/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild deleted file mode 100644 index e98c54b50fa8..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=scikit-build-core -PYPI_PN=RapidFuzz -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/RapidFuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.5 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - # https://github.com/scikit-build/scikit-build-core/issues/912 - sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild index 4e4ce737f206..07ba81b0458e 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild deleted file mode 100644 index e42faa0ce110..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.5 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild deleted file mode 100644 index d812c7392ab9..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/rapidfuzz/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-3.0.5 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - # remove bundled libraries - rm -r extern || die - # force recythonization - find src -name '*.cxx' -delete || die - # do not require exact taskflow version - sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild index 405ff4175de4..12e0c37f098a 100644 --- a/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild +++ b/dev-python/ruamel-yaml-clib/ruamel-yaml-clib-0.2.12.ebuild @@ -21,7 +21,7 @@ S=${WORKDIR}/ruamel_yaml_clib LICENSE="MIT" 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" BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] diff --git a/dev-python/simsimd/Manifest b/dev-python/simsimd/Manifest index 40b77ce5a6df..06daa6718ff3 100644 --- a/dev-python/simsimd/Manifest +++ b/dev-python/simsimd/Manifest @@ -2,3 +2,4 @@ DIST SimSIMD-5.9.11.gh.tar.gz 204255 BLAKE2B 6c67f47bf2beb41b8f6e091874c808a9be0 DIST SimSIMD-6.0.0.gh.tar.gz 206367 BLAKE2B a79d19ffd4fb9fb518ec4b05523aa316e99e1729884decfe560be419ab7dd5d8395835ebcd593dc7ec92aa8524ce2a6f1a3693e363c638d60d1d417b636f1fbe SHA512 0edc66409d6616066205b6f976220a86f180f3e1d32c2a25e9173ae49314ed72362949bcc91b288e791b65569654573e7b3b9a5f1c79609ab58ada12abe8a458 DIST SimSIMD-6.0.1.gh.tar.gz 206464 BLAKE2B db6806c21920531c8e108b6a7b393a79a7ed90fdda0bae7e59254298b93b3aa2fcedaf39eab1c1ea81a2c4e9cd813def898e9313220518f6e1c4586b41fa6fc2 SHA512 889fd41365f978c236d8ddc33600f02839f7169cca26f18bc45322c167e56ae21a15a7ff1e8d51b47f70066a8b2611ae23c5be2f9897a6287690613d3e6e33dc DIST SimSIMD-6.0.2.gh.tar.gz 206774 BLAKE2B 659cd0e5c3a097fa614b8d82fdbdf6d955dee52370351c6b68af5931b0be45773caf77fe1a092d28edaa8490d23a352303801e85e85d46a1bbbdcf8d33955683 SHA512 bbb005845bce900beca5e9f76ba7a16e7dec134c1bb7eaccba07602143aae7f84bb0de5c0a09ef7c6b79ca3d50b8a505ca072af7dd47096c56e80943c6723e23 +DIST SimSIMD-6.0.3.gh.tar.gz 207321 BLAKE2B 4675a3af60e460f4af79b33cdff1d780f657ec7b2cda443ef906606034472c7f76e5c75e6abc0fa125b3ed5039f7686332148bb15a9864ca7f440d5f1bf29dc2 SHA512 cc12d00527792cf3e1c3d3cce955f6549eff72db1b7861275448292887c33a09c64963f5befb3de829ccbcb38f072afe105ca39599fd69dbfef0e9bb92b5411a diff --git a/dev-python/simsimd/simsimd-6.0.3.ebuild b/dev-python/simsimd/simsimd-6.0.3.ebuild new file mode 100644 index 000000000000..61d7aca0a9fa --- /dev/null +++ b/dev-python/simsimd/simsimd-6.0.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 2024 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 toolchain-funcs + +MY_P=SimSIMD-${PV} +DESCRIPTION="Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm" +HOMEPAGE=" + https://github.com/ashvardanian/SimSIMD/ + https://pypi.org/project/simsimd/ +" +# no sdist, as of 4.3.1 +# https://github.com/ashvardanian/SimSIMD/issues/113 +SRC_URI=" + https://github.com/ashvardanian/SimSIMD/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="openmp" + +BDEPEND=" + test? ( + dev-python/pytest-repeat[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + fi +} + +src_prepare() { + sed -i -e '/-O3/d' setup.py || die + if ! use openmp; then + sed -i -e '/-fopenmp/d' setup.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p repeat scripts/test.py +} diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index ef3e78c9c975..44ab2aeca7de 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -2,3 +2,4 @@ DIST websockets-11.0.3-python3.12.patch.xz 4328 BLAKE2B 6ef94255ef5d95de8015eca1 DIST websockets-12.0.gh.tar.gz 352120 BLAKE2B cab704e0ee44a7012ee58d515a5ea7380a97a3cbb8f55d105c00c8c2b9ed992b4c87435875474de32e5969fd92256bdec830db0571399a1d2e5fb719b23c2d83 SHA512 f17943d444ce275b709cf89453b2d2cce09f5af26f0460e226c2e24cfbb425c825963352e130dcd4201587606355375b525d8e5a02eccbffbb3985a108a3ed5e DIST websockets-13.0.1.gh.tar.gz 400436 BLAKE2B 3387cdc72117d2b1b0d1a5d3bc2444a243de2536b3937459221095b539172fab60972f4b1d0371c9c88222f8dcdf604a0371de1519728b40889a51ad6dd32029 SHA512 b187e7c443b9c6abbc7993f9c45dbd4fe83784d3ceb339b6e7d104cfa4da03450c25a8bf9dfa9c8626c3c91f2fe44c0dec6579ba830e0e20116a3e1e01be3bf1 DIST websockets-13.1.gh.tar.gz 414934 BLAKE2B ac6ec67c360e88a7091c28e582b8a0e58fffb37b91f6cfe2b62fa91e1de10f94ba66b644e22f3ce34db698ec25c1685f682e3557058e30f162e1a6a39c19451e SHA512 f66c25c8c2a327840e424e1db3742f1e303df562fe59e91d44c15731d9e43d3d9b126253f2ffb2efeada63d3fd8b404480506554f263846d8d0d86da02f4d8aa +DIST websockets-14.0.gh.tar.gz 424033 BLAKE2B c0181fee4dfc4c2b929d3b51edcdf1602e8c5e5c8595cd7b8df13b2f633434fd5a9ec3ac0a87e456eacd432fd1650ae4470ce5f5337b0391ccda57f38d5f58f4 SHA512 a32d6338ed70de0b99298e9b26c6a3f18a3b517633754c8b1fdbebfb407023f73d212e98db909a276c58aab6487db501540db0c8237280c1a311d8b0e7c1e4be diff --git a/dev-python/websockets/websockets-14.0.ebuild b/dev-python/websockets/websockets-14.0.ebuild new file mode 100644 index 000000000000..144a2994fb74 --- /dev/null +++ b/dev-python/websockets/websockets-14.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Library for building WebSocket servers and clients in Python" +HOMEPAGE=" + https://websockets.readthedocs.io/ + https://github.com/python-websockets/websockets/ + https://pypi.org/project/websockets/ +" +# tests are missing pypi sdist, as of 11.0 +SRC_URI=" + https://github.com/python-websockets/websockets/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-11.0.3-python3.12.patch.xz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + test? ( + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + if use native-extensions && [[ ${EPYTHON} != pypy3 ]] ; then + local -x BUILD_EXTENSION=yes + else + local -x BUILD_EXTENSION=no + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_DESELECT=( + # requires DNS access + # https://bugs.gentoo.org/909567 + tests/legacy/test_client_server.py::ClientServerTests::test_explicit_host_port + tests/legacy/test_client_server.py::SecureClientServerTests::test_explicit_host_port + # TODO + tests/asyncio/test_server.py::ServerTests::test_close_server_keeps_handlers_running + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p rerunfailures --reruns=10 --reruns-delay=2 +} diff --git a/dev-python/xarray/xarray-2024.10.0.ebuild b/dev-python/xarray/xarray-2024.10.0.ebuild index 1af35b73cc23..0dcfe478b127 100644 --- a/dev-python/xarray/xarray-2024.10.0.ebuild +++ b/dev-python/xarray/xarray-2024.10.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv ~x86" IUSE="big-endian" RDEPEND=" diff --git a/dev-python/yarl/yarl-1.16.0.ebuild b/dev-python/yarl/yarl-1.16.0.ebuild index 59c822cae8d2..e95e3d72c436 100644 --- a/dev-python/yarl/yarl-1.16.0.ebuild +++ b/dev-python/yarl/yarl-1.16.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" RDEPEND=" diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 0d25029bd6e1..6b2cfe08cae1 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1 @@ -DIST zeroconf-0.135.0.tar.gz 171896 BLAKE2B 99822f18b98bedf8af03cb3f6483b0884ef92289afd4f71892ce33dc85e1751eea6180de8dac3d8c460bdabea3e096dfac1f26854a5dc52a86ce6ee271514996 SHA512 703d71aa2ffdedfc9a212dac448b9bb5589a839a610d1add8b5324e4ce241680ee1ebd8b5a01533c4c73bc91d22e5f641151c12186aec6b71c3e23607b32c30a DIST zeroconf-0.136.0.tar.gz 238635 BLAKE2B 265dac1aed041d86f81264b5449952695f316cdfd9ff8e594631cd5c5eebad917d32537920308ae62feee7927307a667fdfd3cfd5c182fff08120cba19bbc60e SHA512 835f1e22a92e62efaba055816c962fdea12b80e3a875883da28919e952363ce14dea6b60738a2c199d6e4718c016c00a7dfaa86ee4b20347c69a771515240be3 diff --git a/dev-python/zeroconf/zeroconf-0.135.0.ebuild b/dev-python/zeroconf/zeroconf-0.135.0.ebuild deleted file mode 100644 index 24d6a40fa956..000000000000 --- a/dev-python/zeroconf/zeroconf-0.135.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/python-zeroconf/python-zeroconf/ - https://pypi.org/project/zeroconf/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -# the build system uses custom build script that uses distutils to build -# C extensions, sigh -BDEPEND=" - >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] - >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export REQUIRE_CYTHON=1 - -python_test() { - local -x SKIP_IPV6=1 - local EPYTEST_DESELECT=( - # network - tests/test_core.py::Framework::test_close_multiple_times - tests/test_core.py::Framework::test_launch_and_close - tests/test_core.py::Framework::test_launch_and_close_context_manager - - # fragile to timeouts (?) - tests/services/test_browser.py::test_service_browser_expire_callbacks - tests/utils/test_asyncio.py::test_run_coro_with_timeout - ) - - epytest -o addopts= -} diff --git a/dev-python/zeroconf/zeroconf-0.136.0.ebuild b/dev-python/zeroconf/zeroconf-0.136.0.ebuild index 75671f09613e..0866401eeed5 100644 --- a/dev-python/zeroconf/zeroconf-0.136.0.ebuild +++ b/dev-python/zeroconf/zeroconf-0.136.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] diff --git a/dev-python/zope-interface/zope-interface-7.1.1.ebuild b/dev-python/zope-interface/zope-interface-7.1.1.ebuild index 973d5e89521a..e52e4c2889c1 100644 --- a/dev-python/zope-interface/zope-interface-7.1.1.ebuild +++ b/dev-python/zope-interface/zope-interface-7.1.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~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 ~ppc-macos ~x64-macos ~x64-solaris" IUSE="+native-extensions" BDEPEND=" |
