diff options
Diffstat (limited to 'dev-python')
67 files changed, 220 insertions, 1074 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex a4ffb677de24..c4e15cfb0b1e 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/a2wsgi/Manifest b/dev-python/a2wsgi/Manifest index 30a1de6c75d2..d82faa7f8b11 100644 --- a/dev-python/a2wsgi/Manifest +++ b/dev-python/a2wsgi/Manifest @@ -1,5 +1,5 @@ DIST a2wsgi-1.7.0.tar.gz 12933 BLAKE2B 20dc3eb0a836e47cab98810fbaa343a0ac2070a0aba3e80667e32a14a72c8838acd2c3f082d4ca2ef639b37086523c2ce18020f5ec3acfa08d0b593e9cf5d196 SHA512 f2971bfebceec7a0b91fcc3d5916455917a4f05e39f61cfde8027b1e7051c21e5ba389b86b223fb9fd875471994eee3f4455c6634b5b207417d3ec13c9452f4c DIST a2wsgi-1.8.0.tar.gz 13775 BLAKE2B 793ccab96e66e92ee0f662f4633deaa84075d258261b4d12099e5aaa5c1d28fd23bafb7312a0599dfb434d1e5e086e3fc98dfaa7978f449115537c7c17414da2 SHA512 c0aa649fbae0a201431990c975921249fc2d8439a8552d7ebf5d48e1fd35695175d9388e17d10009deb11842ebe806e71dd59ccf9bc16b656d68bc9e6491a352 EBUILD a2wsgi-1.7.0.ebuild 696 BLAKE2B d8c19d9ff9ff19408c52170e7fa2f50484b58708d4beb5fdf96e57e4fad36a0b4a7316f0b6d165bc20f9b32a189a15463d54e49e78836bb71fd7f127dd0923c9 SHA512 1f818e3753d010e457e38b1e8518452cce9abfb7f43d0bcf35b504c246ad67dc6ea35606f8c69223f276781a96132034b15547a4dd68f64a913180a24b9c48c8 -EBUILD a2wsgi-1.8.0.ebuild 701 BLAKE2B 111487f1d501f5533013e07d567bf09ab502657204ce3e1cd52c9a528243e3131339014cb3cc7d81b1d3b451443d80b3c09447e0fd7c0277bb2b6f7eab6c3eee SHA512 3915f32852d8e0073c44654be0c14008b65079bf55e0e030ea6794c7e43988386bfd6f09303da6c4aa28a1ce8c062675ee8f9ec0afe3c0516249aa3a9dd02767 +EBUILD a2wsgi-1.8.0.ebuild 699 BLAKE2B 91c3b1f7d6efb26b8501595c41013f5219c0730a87540af0fde35f18abb9a66c461a16761590d51afa8ebba6f721a4337b77071e8460d7679582830add090a75 SHA512 e1e8620ce6b613d9a785ce85da3a27cfd8c0a6c6a1e9b17ae94243369a3c2168ab05fe5af7f374796c818bc0d88b3b867be16ef120335b3e90a2a4340fae662f MISC metadata.xml 392 BLAKE2B 17f9cfa46eeac0752f6e27d004a04173528f5033dee30ba31bb9b0d86231b3311937e0765cba3cae0fcc8b9653654c9b53bbc009f15140db0b38496856b9c27e SHA512 828436206a1e9b01df9da1546ffc8e6bc614e71708ad8a806dda9ab2dad80c86e539c37496a0c2525f0370e9ead3131bbde69f235da83331cd5097985981006e diff --git a/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild b/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild index 0aae51f3f03e..b2ab00a0176f 100644 --- a/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm ~arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 010a7cec400b..4fba90d99dc7 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,7 +1,4 @@ AUX aiohttp-3.8.6-brotlicffi.patch 1187 BLAKE2B fa565cea0a3a6ad118c1e1af7677cc393199e671a8a87d856b217b31024368248cb2df0515702867ea72f581c795658a70151a3004a718b3dffb9e16baf45269 SHA512 b3b4dc632ef0aa2045c90120c6110675e7df898bd858201eaba1b07c5551d32b37bfabb3685b7a31792e1b3b0dcb9c6d258ac4c6a8bfbbf65a8beeea96bf08fd -DIST aiohttp-3.8.5.tar.gz 7358303 BLAKE2B e1a7df12380cded655a57735527607cc95661da99fe4a5c1aec40a2586deecee97592c9ea5e9bd43621bf069fe87f00d7bef712fab2b84783e14ff229495a7c6 SHA512 613dfe836c511832c68eadbd0a76882ec362ff956937aa913fc7567b7e3e1ac2085a70a1eca42fb016f38c076a131b506b22f26879ad06b077cb4a85e9dcd8db DIST aiohttp-3.8.6.tar.gz 7352172 BLAKE2B 4dc602abb4f9bd7c65bda7d11cde3e703bbc7786fb3f8ef36922caef42912b2c10a198ebdcecd3fcd022c3a9a729766a2023636f756a8fa10663bf988554f967 SHA512 43f1dd6670d90aefee7f0f30411b13c643ea684815b493cc4437e5f1981f4fdf4b718a40543d7c3c8c70d8b27470b8f3bf1609e46146362e0490ce0990a057f5 -EBUILD aiohttp-3.8.5.ebuild 2832 BLAKE2B 1d9b5196e844fd201e1d28217e39554f627a2035119edab7e809e65ede573353c047fd2b4f94309e190a7f82044901439bdc935f817f878938c10c522736035e SHA512 bf3f241e24f65dfbefe3c2be95dd0d471e8c048b9534964613659456f913f1cf0afa2b5c20b7f11e61b84aff43608e1b1a47004b4cd65b9fc8bbafbc4563c787 -EBUILD aiohttp-3.8.6-r1.ebuild 2884 BLAKE2B 23b66a5d7b13aaf79a4dc20f155f9368be98b7772ec0ca2e3cbc6f548f5ca6adb9ad3199440dc4823f354ebc0b4ded8c24224859a6b230937cfdfd7ab6935afe SHA512 0478770ce92674a0ca7f56317df3e532553d2bd1454bfcf6c1df8c9e9d07f1d9583a8c2ab59f46f837fe28e3199f1737cab48e6b9d94bac058458d9b03708a8b -EBUILD aiohttp-3.8.6.ebuild 2876 BLAKE2B 0a9abc97eb9f7c067d01b6856871593ba95b4a221b0f1542b66da6ff3cc6bae2be09fa4975e70032cef6e2c734ec958a8098a63766ce8c2247abb60b563b578b SHA512 1e7c9d2d009700af9c9fbb71e8b687414ff5f603db7916c2b58fb18f740411c8d3e5854dca398d1502eb43ac34f069caf60de25298a3d22f94750f03b7a83295 +EBUILD aiohttp-3.8.6-r1.ebuild 2883 BLAKE2B 57472a8849a5bb29b5e8ae5d4c24a89f09d968a49cc7d70c45439207471f0cb08fef77529c468afb4110b14c9a3248c43c6332f7c8fd3deda7178a4dc9145869 SHA512 2038cc2b2a50cdeb85f55f3b205288ccfdfdebb0e865563bc7dd8436396c98cd7c10ee88fa3482a612343ec8e4ee567a9176ba805757417c54c9e258ac492497 MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.8.5.ebuild b/dev-python/aiohttp/aiohttp-3.8.5.ebuild deleted file mode 100644 index 1d4e735a0b43..000000000000 --- a/dev-python/aiohttp/aiohttp-3.8.5.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 multiprocessing 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 ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - <dev-python/charset-normalizer-4[${PYTHON_USEDEP}] - >=dev-python/charset-normalizer-2.0[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -distutils_enable_tests pytest - -src_prepare() { - # increase the timeout a little - sed -e '/abs_tol=/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 - - # which(1)... - sed -i -e 's:which:command -v:' Makefile || die - - distutils-r1_src_prepare -} - -python_configure_all() { - # workaround missing files - mkdir requirements 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 -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.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 - # TODO - tests/test_client_session.py::test_request_tracing_url_params - ) - - case ${EPYTHON} in - pypy3) - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch, - # sigh - local -x AIOHTTP_NO_EXTENSIONS=1 - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked - rm -rf aiohttp || die - epytest -n "$(makeopts_jobs)" --forked -} diff --git a/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild b/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild index b2eb7215539f..87cf0162f94c 100644 --- a/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/aiohttp/aiohttp-3.8.6.ebuild b/dev-python/aiohttp/aiohttp-3.8.6.ebuild deleted file mode 100644 index 85051a3ff250..000000000000 --- a/dev-python/aiohttp/aiohttp-3.8.6.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 multiprocessing 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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test-rust" - -RDEPEND=" - app-arch/brotli[python,${PYTHON_USEDEP}] - >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] - >=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] - >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] - <dev-python/charset-normalizer-4[${PYTHON_USEDEP}] - >=dev-python/charset-normalizer-2.0[${PYTHON_USEDEP}] - >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] - >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] - >=dev-python/yarl-1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - app-arch/brotli[python,${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - www-servers/gunicorn[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/re-assert[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) - -distutils_enable_tests pytest - -src_prepare() { - # increase the timeout a little - sed -e '/abs_tol=/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 - - # which(1)... also -Werror, sigh - sed -i -e 's:which:command -v:' -e 's:-Werror::' Makefile || die - - distutils-r1_src_prepare -} - -python_configure_all() { - # workaround missing files - mkdir requirements 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 -} - -python_test() { - local EPYTEST_IGNORE=( - # proxy is not packaged - tests/test_proxy_functional.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 - # TODO - tests/test_client_session.py::test_request_tracing_url_params - ) - - case ${EPYTHON} in - pypy3) - # upstream unconditionally blocks building C extensions - # on PyPy3 but the test suite needs an explicit switch, - # sigh - local -x AIOHTTP_NO_EXTENSIONS=1 - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked - rm -rf aiohttp || die - epytest -n "$(makeopts_jobs)" --forked -} diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 2d839f1d6f38..3a31b6da5561 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,3 +1,3 @@ DIST astroid-3.0.1.gh.tar.gz 461593 BLAKE2B de3458bcd9ba111020132e89b6e2fdf18b81b82cba68c986e84af91c910e6c70e7d13ff024b7947f3fa08e2491ba211a77a35421b3d5cd184b94e6a833c0da42 SHA512 2c8a4cf22959aef1eb9510430bcc55d00fcda76d022575786c9a59c093fe4196b67c0b9401f9226595a4cbf1fb9444bdfbb9ac2d83c115ec1d7d46cb7dd75dbd -EBUILD astroid-3.0.1.ebuild 1517 BLAKE2B 51fe3e0ec738140c6b4c4ccc1513d817a454fc4a4508880d4d421053b7f449d2024272dd2a050660542f972abec65bf52f608ba1875b29704c005cdb06bdbd14 SHA512 73af949a31973d68fe9bda88fc2fe73f6c3e9f935df14fe329cb404ae9e9ac10160ee0ed8b6d3b0456e6b0e260084383c70da6cc63e3af2a3d1613994954ae17 +EBUILD astroid-3.0.1.ebuild 1523 BLAKE2B b6bab837ed6c25bf19cc97de9195a26097506157467d76e89c1362c7ccdcfc6d546f61526c3b01efe9f1894b35dc695f1db0713f2bc17806cecfc779c289232e SHA512 b30cfebf27e79a108d2ed1932d0427e9a813fda8312339b79f4b18e2aa46d977128600a5226f2b243102906e67371c5670d15f7ac9c50a1d5cd915897172a401 MISC metadata.xml 1148 BLAKE2B 29a6cfc0c292117920be154d37ed4770f1fb1679186576fe6151cc02d1d6be766045e0231e2fceb87cbd250dbed3888c99b7ca7dc0182cc700a11961d9cd6d9e SHA512 6821d13f5e82bd73ee4fd165c0b4c94f40cd6af536dee1658cccb4175e67da2611c4d1478cdef1607535f23224116ad482197e0b0eef8f0a94d596bf250b3074 diff --git a/dev-python/astroid/astroid-3.0.1.ebuild b/dev-python/astroid/astroid-3.0.1.ebuild index aee9d469f5c9..323e3b100ff6 100644 --- a/dev-python/astroid/astroid-3.0.1.ebuild +++ b/dev-python/astroid/astroid-3.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index efd75b914043..a1c7fbff5e97 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1,5 +1,5 @@ DIST asttokens-2.4.0.gh.tar.gz 56965 BLAKE2B 60adc46bd30f5c2fee368362f655bb6a83d2394f2c0badfc191f91335decd523a2f1523927b4ce3cdbe1a557cfb335635c68c20acbb33384cf9c3a816bbb6743 SHA512 183321c6eef3493e49289834425d4ec59dec5fdc496d27e4d89ab5ca2a830306367e0464dba25856da612e018f8d6cefedf7c2349488884031f02a91acc73cd4 DIST asttokens-2.4.1.gh.tar.gz 57358 BLAKE2B dff2bdbbb62ed0c99f620284e4ad4abe418c315356caee26988ed7722a9aec77be4fe79b877e350cf632e076cd7c421f6ec824e7ffdda1d6684b03fffb15e7b2 SHA512 62263e50e14953e98236cdcbd75121ff5f6a3dc949170412a97f17af9b2572415373971d2286c4821b03249404b5a4c53ef5c7f1ec37aa9e2bf4a743d16de1da EBUILD asttokens-2.4.0.ebuild 1002 BLAKE2B 40a06622ffba6b10a086435c010318c15e3094f776c9bb787b320be7f4a8be256c68bdcc54f849487e8e051a5b5022450be7deb30537dd119850909142335a28 SHA512 f59d005bf1c073c3b0f58682bac0df3917405552734269997bd7c4907570f981b83a0f52702362da2aa0f60bfcfb8c64e922070bc8d514ae8478cbb556592653 -EBUILD asttokens-2.4.1.ebuild 846 BLAKE2B 6875edbc3510fa943a39fff842f771c5c0b284c69274b6b55f4430d10981cb1f9eafb2fdcb4231251582564c3a59e3e895b75db955c03b92fe30920bca8db792 SHA512 9310fd1b2c2e4a6539997ac390b1b66300aece162ab2bff59d29c0e25d011930a88a88793878762870acd99771f503a6ee0d41feb2dc6d2d93542fe0ff0b7676 +EBUILD asttokens-2.4.1.ebuild 1090 BLAKE2B 90d1b577fe4879233a3e0d51384dcb89412679e1da65830fd3908b9fd73c4cdb54ccd9c60a30cc1b94a8497655adf4867a1a6976ba590bfcfb4671515ae0e98e SHA512 c72113630f23516e6d9ccacbe69f8922955a65c3c3dd84a880af37bf26c733196bd322fb3fd0a62962eda38772cf21001bc6d4c15cde18d93ec5e2532608eb52 MISC metadata.xml 350 BLAKE2B c05dcff93454660cb741def5cb0ca82e56f0cba84bddb9604153b6d70625e4dfc9e15743c3448a0cb68d9b5ccf0778f8126390872bd8689df0e0ab2bed7e6582 SHA512 521762b1e8a542c5f3156014884c3d845b6fe882e819c924aa8023f8dff32a94490e64a1d1f700f5127bd867c60c4f0f7c4aed5c39f78e52bd8ebabd113403cf diff --git a/dev-python/asttokens/asttokens-2.4.1.ebuild b/dev-python/asttokens/asttokens-2.4.1.ebuild index 36d1694ccfed..a7fd3163bbf1 100644 --- a/dev-python/asttokens/asttokens-2.4.1.ebuild +++ b/dev-python/asttokens/asttokens-2.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 @@ -35,3 +35,18 @@ BDEPEND=" distutils_enable_tests pytest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # already skipped in git + tests/test_tokenless.py::TestFstringPositionsWork::test_fstring_positions_work + ) + ;; + esac + + epytest +} diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index 6f71a1d8a440..2e183a9db4ab 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -4,5 +4,5 @@ DIST executing-2.0.0.gh.tar.gz 837310 BLAKE2B d402a605ce80170e1789e7eec65e89da64 DIST executing-2.0.1.gh.tar.gz 837355 BLAKE2B 7d38890eb322809c2b705f51731fe7537f81a0775d99bebb4b4ae67453930daedd947b249385babbc2373969344b643f288441fc28f3588264e4ebc23e1c389d SHA512 8a753aab42ea2d3b61764ee77de3bb52ea7fcc2818298281180ffc47c7b22ee84974ee98b2137250f722ad559be92e72e8fc01d7b2d38ab6a01512618b65d4f3 EBUILD executing-1.2.0.ebuild 1116 BLAKE2B 360a470d2fad1a84d832358d16e88af29df6fed0d6d4e4e707598a03d02c14ffbb90b25bd5bad3f13a9475bb7c3d4ca165390c620fb933f896cdd92e53b38f5a SHA512 02e157ec5365c5c0b25dcdaf1f6fec858fa13b4ac26ccb6b7cd953981dff5e0b69886e2e0a5574d3b721508ac2d6490afe4a1e2281847360b1b303f1e8b03410 EBUILD executing-2.0.0.ebuild 1334 BLAKE2B a83ac6039c475dc7f09867c5bccdbb3f3a15fdfbeea711e02a7bba24b078ab36e2d84fb748b8ad13cb080aef21f00c579fcc4e0876220828fa65fe1d4b3b949c SHA512 d4deb166a2e935624cfbee276041a4a765bf5052d2dfb95dcd9dd3128800725bf4f9524132ad75fe7866c523ec1f82a9684a7f21bca84b1c177ffd67d1479784 -EBUILD executing-2.0.1.ebuild 1408 BLAKE2B 0e2183e4dfe7a554d1967410671b66955644b5a8753d85e3108f2dd4a1e26ad6088a961b3196704c020f1cecac3a4074f7d8fd58de1514d2e574a391d6ea6909 SHA512 ae4c7a54d2129483c46043bfbc80a537c04d63f541c680412578e6e1cc1accf42c3cc97e63bb2fedd34e666934fba2065136acd9207a12a90fea9e0618f80d76 +EBUILD executing-2.0.1.ebuild 1651 BLAKE2B 42435ead87f6df9f8354749ba02336118600023c0826844e668a2de6b599d17cfa32a0f448307fa5174f250b8b30641b7f20dcf9d738296983df97c013d6268c SHA512 b3aeec6e0e58b9564a4551f7f9e9392607bd29cbe4062f5f9615ab28b0e97c61f3a6257f3db686562d16262283a4c9f36d55c5f5869ad50874abfbd1a9364f21 MISC metadata.xml 351 BLAKE2B 3e64042e3da09377bd27bcf09b9984eef77bbbc18e84f1e849571ff628cd15068fa680560cfc6c3650bf545e5869c6e3d6be0b4d2fc00f35c5fc58dcc3194eb1 SHA512 de199443767adf299da6c7d857c182071746b2ccf7b84015e9649675451ff336fdb7ac1df2d15951ae708ddf0529f2f1c9c19a2959f45c0dc30db1f341fb8d0f diff --git a/dev-python/executing/executing-2.0.1.ebuild b/dev-python/executing/executing-2.0.1.ebuild index 0a6d4915a3b7..1adb0b4974bd 100644 --- a/dev-python/executing/executing-2.0.1.ebuild +++ b/dev-python/executing/executing-2.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 optfeature @@ -26,13 +26,14 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] dev-python/littleutils[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" +) distutils_enable_tests pytest @@ -41,6 +42,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { local EPYTEST_DESELECT=() case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + "tests/test_main.py::test_small_samples[46597f8f896f11c5d7f432236344cc7e5645c2a39836eb6abdd2437c0422f0f4.py]" + ) + ;; python3.10) EPYTEST_DESELECT+=( # crashes with infinite recursion (?) @@ -48,6 +54,11 @@ python_test() { ) ;; esac + if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_ipython.py + ) + fi local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest diff --git a/dev-python/hatch-jupyter-builder/Manifest b/dev-python/hatch-jupyter-builder/Manifest index e039f9da95dc..eaba16c8c777 100644 --- a/dev-python/hatch-jupyter-builder/Manifest +++ b/dev-python/hatch-jupyter-builder/Manifest @@ -1,3 +1,3 @@ DIST hatch_jupyter_builder-0.8.3.tar.gz 54754 BLAKE2B d64a90ba0e06dbbcfa3f2d27d88185f68bc6cadd885fd3691e01d129cb1d73d62efd2d230fe80dd2d8d1323b5efa4d3208f099663b2ed082a196a1b8fc39412e SHA512 c4dc0605338bafeeba21cc7260005815654d3e4646296d91af6fb3199be8645a06b2226608e6b0558ee01c7eed682162eefcf686a7e20636031b95c3a11ae265 -EBUILD hatch-jupyter-builder-0.8.3.ebuild 784 BLAKE2B 0e4b4d4fb9be244c194e7ac209a4fbfb500421cd09f5fe1cc6edde61b77012f519e408dfe20f8981983c800d26d4d3f1940ed50cec5975b33abb3f65d6156b0f SHA512 fc148afce93f354cc304a286f5d0b2ce184b945e2484add627b155a62f2f7310b6469010f045f3343fe76f3e4a43e7c406318a18d3ccd9659bfab95ea9c91626 +EBUILD hatch-jupyter-builder-0.8.3.ebuild 790 BLAKE2B 017006b283750fbebc63cb8dbc872d306e636af471243bddac6b0f379c5a30daeb9162e9e4ba47ad2093aa4c23f6816ae0e6626c083fd4d9e05343de3d8aaccc SHA512 8258adfca7c5b7f2b3c897c8a819de4bc6c5ac51c2b0499bddc0f18edf70382cc69bcf9ad642a41b3fbe23f98de50097e7e05bcdb952b476f08ab1b4c4a904e1 MISC metadata.xml 434 BLAKE2B 4891ed3bf24cb6255d2edb5a9ea9203ea43c807cda50963e25cc6527caa20e1308271f1b5cbb246582491814db6e1743e083871ac044511eb5a5fd269288b623 SHA512 a9b103c28eac7767473c2499b9eeefb8796206b2d913bbd35ceb5ff30fbc16881b018d851381400bb0d544e9c9b710907ff52e17deb63a08440eec926c6633e0 diff --git a/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild b/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild index 8c834692d498..999232ac52f2 100644 --- a/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild +++ b/dev-python/hatch-jupyter-builder/hatch-jupyter-builder-0.8.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest index fcdc8d39b685..584acfc85ff7 100644 --- a/dev-python/ipython/Manifest +++ b/dev-python/ipython/Manifest @@ -2,5 +2,5 @@ AUX 2.1.0-substitute-files.patch 1017 BLAKE2B 70577eb950a18345804a2a4b750bd233dc DIST ipython-8.16.1.tar.gz 5485037 BLAKE2B c5429b1df9906681f9792d7bc3005a3a41f7d89f7d6c104f9826902134179f7149de0747a50f31c53d277a135d0fedd0952aa23fce3650f026ac3c1733287ecb SHA512 0feb4c14e8e7f34829cd8b6c43c91c9bb5b6c85ae60173951db4354296474945268fb8d3caedcfae8457783e6d27a6dc33b6291bf2d9a691526fc44199724887 DIST ipython-8.17.2.tar.gz 5486488 BLAKE2B 7af4b4964527de8e74247ce05e9b1c8ab9a16e8784e0e07129859d01ffef0a976c8de7661821b131c125a8d1c2ac29d09d8e81a741f7180219a0c429530391cd SHA512 87039da43cb942c78238c4c69a2e2e7d6d1757a9ce8aac5f1bcd30a112a38f1b4f51672749ed469945844070eec661c6bb2f137405336f71d6adc1f5d26a11e2 EBUILD ipython-8.16.1.ebuild 4426 BLAKE2B 88a70404cb184318ac2fcd65dae0c66aaab9b349257831ed8be6f0c20f184b38c1fd573b8360f493356d3e1fbc179565916bde8d58da7e8b6ff7fe80d8a6d909 SHA512 49ab14dcd53bab6ab3b49f87c84f779a402d8cce2678deef08fd3e32fd07e08c4890216ec4df1a0d4a0f8c5ed61c055ef72100867e7e27cf12317eeadd200900 -EBUILD ipython-8.17.2.ebuild 4432 BLAKE2B 578ac7f2596815fbae00f43b1d0311d5fcca1f58e5e32ab5993a0fb7839dac71ff4ed9cd693f083090763eedeb19bec991d66a29b4bb6d5f70c71f8cb829abbf SHA512 85dcbeb5fde9b219d833a23ff0c7c9a8c2a835185f9062274193588dbcb02ec0e77fc570c943b0b0668bb9257230ee398a0f6da182301947ad7263d288211e97 +EBUILD ipython-8.17.2.ebuild 4928 BLAKE2B f08aefcd5cdb9c1519ad263b1618f3dde2f896ec0f5ff9918f620390972120d493d74e05e32b9b9b94aac6e7d1826993ac79b52d6af50838077b4a590cc5ed5e SHA512 ad68d18724908483dd79a415e814643887167433a66681c64b560d7ed1412de8a54f74b3e99d6d59b60096c1570cc1f43e55b04ff7e88bf8c5efc516c456045d MISC metadata.xml 2802 BLAKE2B 2fb6773ad4ef10d531f978e3ed40f6d99cf1586ec6d7cf2bf7e60fd5d640d082a0946651e0a066993320ffeaace3426066ca24c325926b62125ae91816707128 SHA512 965c3e36e05475d9454af8219b84e080d4c83d775f8a7e20a4951a82246d672c46fd3cb1fff5f8664d0ce8e8fcb846de6f15abc4575db3a6b7d87209194bcecc diff --git a/dev-python/ipython/ipython-8.17.2.ebuild b/dev-python/ipython/ipython-8.17.2.ebuild index 5dfde618be12..c9fc67b54133 100644 --- a/dev-python/ipython/ipython-8.17.2.ebuild +++ b/dev-python/ipython/ipython-8.17.2.ebuild @@ -4,8 +4,9 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE='readline,sqlite,threads(+)' +PYTHON_FULL=( python3_{10..12} ) +PYTHON_COMPAT=( "${PYTHON_FULL[@]}" pypy3 ) +PYTHON_REQ_USE='readline(+),sqlite,threads(+)' inherit distutils-r1 optfeature pypi virtualx @@ -40,20 +41,24 @@ RDEPEND=" BDEPEND=" test? ( app-text/dvipng[truetype] - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/matplotlib-inline[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + ' "${PYTHON_FULL[@]}") >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/matplotlib-inline[${PYTHON_USEDEP}] dev-python/pickleshare[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] ) doc? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/sphinx-2[${PYTHON_USEDEP}] - dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + >=dev-python/sphinx-2[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ' "${PYTHON_FULL[@]}") ) " @@ -61,23 +66,29 @@ distutils_enable_tests pytest RDEPEND+=" nbconvert? ( - dev-python/nbconvert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/nbconvert[${PYTHON_USEDEP}] + ' "${PYTHON_FULL[@]}") ) " PDEPEND=" - notebook? ( - dev-python/notebook[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/widgetsnbextension[${PYTHON_USEDEP}] - ) - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) - smp? ( - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] - ) + $(python_gen_cond_dep ' + notebook? ( + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/widgetsnbextension[${PYTHON_USEDEP}] + ) + qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] ) + smp? ( + >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}] + >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}] + ) + ' "${PYTHON_FULL[@]}") " -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch ) +PATCHES=( + "${FILESDIR}"/2.1.0-substitute-files.patch +) python_prepare_all() { # Remove out of date insource files @@ -97,7 +108,7 @@ python_prepare_all() { } python_compile_all() { - if use doc; then + if use doc && has "${EPYTHON/./_}" "${PYTHON_FULL[@]}"; then emake -C docs html_noapi HTML_DOCS=( docs/build/html/. ) fi @@ -115,6 +126,16 @@ python_test() { IPython/core/tests/test_oinspect.py::test_render_signature_long IPython/terminal/tests/test_shortcuts.py::test_modify_shortcut_with_filters ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/numpy/numpy/issues/25164 + IPython/lib/tests/test_display.py::TestAudioDataWithoutNumpy + ) + ;; + esac + # nonfatal implied by virtx nonfatal epytest || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/jedi/Manifest b/dev-python/jedi/Manifest index a59cb73cd12f..67a068f7b2e1 100644 --- a/dev-python/jedi/Manifest +++ b/dev-python/jedi/Manifest @@ -1,5 +1,5 @@ DIST django-stubs-fd057010f6cbf176f57d1099e82be46d39b99cb9.tar.gz 183312 BLAKE2B a68f6139903f5001db994ee0d881f40ab74932e81c3e2c3a0c22dc56e6be681d0fb42ce837603b21e4d0d448ccb25884ef0f69039305f309e82603267cee9f6a SHA512 506322c132f94e6a1e88cdbde6027a566387731fa6ad59934f95c3511f49d90eff2a3138363811be648b096407d418cd1f801df0bc35b1e464ef181e4076ada1 DIST jedi-0.19.1.gh.tar.gz 472341 BLAKE2B 34238969acb5b6e6db0307d1d18c1c6f3cf666c00e590c5f2338584526135b75e56a3b4e0cef63dc52fd96db4078cb4b82e0652a9ca092c99f4da8448bf65d1f SHA512 aaa2684b787ec99d2477755d7b6ef4ec727fd244bb55178cf3a9e78b50f660c6fab7b88d09e3d02e76f17e656cd1cdb6078282b63516e5e52a1852a821540105 DIST typeshed-ae9d4f4b21bb5e1239816c301da7b1ea904b44c3.tar.gz 602044 BLAKE2B 53298918a7e9a1163e76d4c70ad2a2117ee90b49329aa82d82b2aaaeaf000c971872f83ed283af6dc4be068b813876760c8b1b4acb4131865572a4aed3ea9230 SHA512 b3b9da66b6c6e03e0b262b3262df31215a5e080468ca9ebf4332ed53d715cd3956db7067fad3ec267042ff704f81ac665c703ef2fd0c5b445d440bd8e52bf1aa -EBUILD jedi-0.19.1.ebuild 2007 BLAKE2B 64b0226d519d68202b990c24ddb7d2e93165da1fb6aaac1db148293d87cf0710ea8e765d012d8c16a1fefc89249f01efda4f699397113084ca2ca8897474a9b4 SHA512 76e6e8215528c4c1fab970071352eb8d2e00e18bdd9df9452e1b0d77ee51d6ad10e78d00d782b964e3ba83619aeba7996592773293285ab6a6e8b6cb2083ea36 +EBUILD jedi-0.19.1.ebuild 2320 BLAKE2B 521427c14b3a83d3ef8dd6215536f944962f66b800057fecb3d617d02f9876fd03304b03cdfcaee802942cd8973535ee6c56b4ab9184054feb02fd026e1d655c SHA512 d04627990d6df00566f5f1c138b91f603a38619702e7146dffa96f280b57a23a1b63ff2ec8aa37d928dfd53744ead0e039b43a72b0f221ef8900975a2235044a MISC metadata.xml 401 BLAKE2B c540d55ee88ab5a7be9ec902059a766a754da42ba5c1836c990d0d64edfec91fa33e8a745b9a15ce4a97831259150e0298fe2a5ed4c21993be73d9fd7af3d865 SHA512 6af98463225428333ec509b334014bd307569ce852f640a1f1c1e18f7551185d8db9b7c80822012c14f3c6ca1cf79ff24f289df3cd42803759d012a1a73ac07c diff --git a/dev-python/jedi/jedi-0.19.1.ebuild b/dev-python/jedi/jedi-0.19.1.ebuild index 6b31c5b89bd8..3cfa00a0c4e2 100644 --- a/dev-python/jedi/jedi-0.19.1.ebuild +++ b/dev-python/jedi/jedi-0.19.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 @@ -65,6 +65,17 @@ python_test() { test/test_inference/test_imports.py::test_os_issues ) + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + test/test_api/test_api.py::test_preload_modules + test/test_api/test_interpreter.py::test_param_infer_default + test/test_inference/test_compiled.py::test_next_docstr + test/test_inference/test_compiled.py::test_time_docstring + ) + ;; + esac + # some plugin breaks case-insensitivity on completions local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # django and pytest tests are very version dependent diff --git a/dev-python/jupyter-events/Manifest b/dev-python/jupyter-events/Manifest index 548378845f8f..9fc59574fbcf 100644 --- a/dev-python/jupyter-events/Manifest +++ b/dev-python/jupyter-events/Manifest @@ -1,5 +1,5 @@ DIST jupyter_events-0.8.0.tar.gz 60373 BLAKE2B dc58ae9a561f7ffd81758b116d5cb93e6ee5d4bdc5ee3d067103aefbe66e01e1809e7194617f541abec84efdd81b4311024b2b50f863bad62127218eafdfbd31 SHA512 9b43e1f0f5e390455fac52971f41695a7c0d853ac4a84493e31efdd61a183e4a41c7824f963b89ee369cac8945d6258857b864315bbafe8be15145eee7075afd DIST jupyter_events-0.9.0.tar.gz 60502 BLAKE2B faf2c7b1b1403c809e98673dc2600750d5c18ff2578b7f1f6f569fa5ac5e955384eda69f0d281a8aa504a1bbeba639931b0fc01bd117b1621fdeb64d4c6881bb SHA512 7b70edd79b80a3d73f0fedd21f0dba8060cb190b0dc8a6d7d9d11fdfd5b219c7a2f54438f0888c062e00b7def37fa0d7cfb0213bfa8d93737a83802079e4b103 EBUILD jupyter-events-0.8.0.ebuild 1068 BLAKE2B f59c4cfa3bae55137b1b58e8e6e56024e66816dae6ad549eae7796b25059d7983a871f55d4876eac5d36de0e0219ce9bc753e8db16a60c23c880a8caaea5d225 SHA512 16151b2cf7116a247ea31abea26b13f1f22edab53d24e9b53c55ff0c5aac7edb00eed9963b6d528c7af34812f12980508a428dce2f448d8cb0863c954f269199 -EBUILD jupyter-events-0.9.0.ebuild 1075 BLAKE2B 26133857ed2e57d6e9ee67dd6fdabb469a6b22f81d6cb80b28d20b54fdf18b3949a495f9bd0a40dc2f367746a257a42e7435b185dd40e5788db97d64d4db02e3 SHA512 8426906f14a385a975683902c17173ef4201fd273e33c17ca88eb9f818ddb17821015ca3a6bd8fab0b2a9e48b0d4c59fee1e6242f35bca2c09cb388754179579 +EBUILD jupyter-events-0.9.0.ebuild 1081 BLAKE2B 1f68e3818cbc17557c988f961be72e8b4acef910ac3d7be21bcf2644cbf11f87470109ab95554d88039c98d0d0f4ecf67d24fd395a688cf9009d444420751240 SHA512 583b6d25a952ef4c029cef5c7994d2f0d14a36b0048736b245f9c67b45e483c90d0661ec35c7de1e75494c228011608f56238204143647803cb47bec8aee590d MISC metadata.xml 537 BLAKE2B dfe33b67ac51a46c9ad33d4b0e02ff39d5aa1780d70f92f12b7ee8ac336c43caa79201bebd42c461373bfdc7608580487ec000613cf92765fec352b70a8aec13 SHA512 689e8a1125b4da96db6d6c4495933ee29d24666ad9e7e3af891170f8da512ac388c005836402c74418476cb9838f278c19f5267840533cef0e02091d47fa43ea diff --git a/dev-python/jupyter-events/jupyter-events-0.9.0.ebuild b/dev-python/jupyter-events/jupyter-events-0.9.0.ebuild index ac264b526208..9466506d8fee 100644 --- a/dev-python/jupyter-events/jupyter-events-0.9.0.ebuild +++ b/dev-python/jupyter-events/jupyter-events-0.9.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/jupyter-packaging/Manifest b/dev-python/jupyter-packaging/Manifest index 37e59442af84..40bd6479342d 100644 --- a/dev-python/jupyter-packaging/Manifest +++ b/dev-python/jupyter-packaging/Manifest @@ -1,3 +1,3 @@ DIST jupyter_packaging-0.12.3.tar.gz 25350 BLAKE2B 62c9f35a3008f8252f8ae8a55b2f7156fc98347b48dbe9bf08101b9c9b0cc892886cf248e0d916455f472bd5130dacccbfb9e206818c5f096eb759bb6149f758 SHA512 a81a4b41ba7b31b9d71aa338617ed8567100a64d999e6cd0a14586350bcd37bf9782cbaabad755c0303510bd342ec141af01157cbdc1e4373289700dfc40c3c9 -EBUILD jupyter-packaging-0.12.3.ebuild 1005 BLAKE2B 702031e9cd39352d7014143c5795879469b0680b11b2e26058177c68d48b5e6f0a65887fdeb409941927bb887321b73f7902f599ea16d0ef5a220c0a25346e4f SHA512 b6e54e2cfec28068b60eb14138b9708d684c5639988159972256b13145206751c07eb6a5d4dc8309731a2e05ee1c3daef9f50bae76638e59d0ac094527124840 +EBUILD jupyter-packaging-0.12.3.ebuild 1011 BLAKE2B f32d68e99c57850fbc2902548136ab3474b8c097734b5f5cb6e2b86ef5a679f4dd46e097caa76e18217d7292cac808092c70fff3354de23ed55629ebc13ae574 SHA512 858c9711f28c6f373ba42bd92d67ccffdceeb6b161b1ea8e1be4ddcf49d87bf24e384ad53517479479d2a848f1e6f44af46e1706ae035f2a01abb5833bfee8dc MISC metadata.xml 543 BLAKE2B f22c42fcc55d0a26966abd01c5e4fe480edff112a2e34ecf0214a2f1b50c120f937a6d377a544136e1cd55e89216efc0a9788ed6aeef8403e4e30a15d9d9af12 SHA512 3243614660159c0c7afed90cc084e4c0c7d85d71628f437ee1ecfa84c9a080f27cff92c5a40a134e579e03b93a1777232add591c7f36262d5bb3e7ec83b6441d diff --git a/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild b/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild index 201826844639..196ac3deae15 100644 --- a/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild +++ b/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/littleutils/Manifest b/dev-python/littleutils/Manifest index 6f5904dc44ff..c300cd9e9ac4 100644 --- a/dev-python/littleutils/Manifest +++ b/dev-python/littleutils/Manifest @@ -1,3 +1,3 @@ DIST littleutils-0.2.2.tar.gz 6579 BLAKE2B 80aec2c133e39eb0e18c948b15d475e60842689fd0e758c43511a8b014648d7c9e843182e2a87c0b3f9933f748340f2059653f0885cf416edbc5a60457c70629 SHA512 ce0b3af4ef5db634ce0dbb916deb767260f66418abbdca2b289386ecd4c2e44602cb95d568c70588ef9a40e3d700f33cbc5bcdbf859f5030795f79f11871a6ff -EBUILD littleutils-0.2.2-r1.ebuild 590 BLAKE2B 1f8a278ad19884074f2457b2df38d1486ef23771c67d363f9719fbde17e1b04c4ef84b91312a7dab490a4ea6b9107c45ec00996fdce0ce49d9614cc4c5f22976 SHA512 85a734af09fa9f643581b995942480190583980f33b7a47a7f7f35573f9400d218a3f811c126757b014d92a68534dc9e071c7ffe1ad79665f4e1affe51115007 +EBUILD littleutils-0.2.2-r1.ebuild 596 BLAKE2B d20ed2eef06d4126a8cdc5432f95841e7af690a92488fe4388fc668a8bc606f31225f7ab855ebc0bd22881b1add9ce70fcb53ff6a8ee1c2a4917587b84896745 SHA512 4ea95ba0614998f507d223d66d450986b248aba198de1cc1945076826176aa94434bbd18195ce2f1de2d6479d5a28fea1405162c62b8fd5381d482108569180e MISC metadata.xml 377 BLAKE2B 938ada5473ba95941149e039ca17670238b722cb2ce2301ae55866a8163b82739b25820c9efae9fd1eb3ec8aa6efd51157b8d154438913fa33acc36ca1104483 SHA512 479327bb6b306521010cd65854f2d5cd7627b7887f51d7dbebcfffec5205a0a8d88ccf6c67cc2f9327bf6cf10b5053d218816bd48681bc8888cf0f53889cc703 diff --git a/dev-python/littleutils/littleutils-0.2.2-r1.ebuild b/dev-python/littleutils/littleutils-0.2.2-r1.ebuild index 5a7ba24b51e7..b0852a24909a 100644 --- a/dev-python/littleutils/littleutils-0.2.2-r1.ebuild +++ b/dev-python/littleutils/littleutils-0.2.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest index fe938cb10e42..19c6c5bc5d39 100644 --- a/dev-python/lxml/Manifest +++ b/dev-python/lxml/Manifest @@ -1,8 +1,4 @@ -AUX lxml-4.9.3-tests-py3.11-cython3.patch 503 BLAKE2B d416775f8841e70128341f076500733a824040fb41a4a7dd4f3b439d68fc4e7f0c945b3b7ce0ec31b1b7e7fec3c1c02635706382625ab97902628274d8b04e30 SHA512 9a4cf221abc0df903691a8e3f1e1d706aadda618ea79bf2e4536684e2c97136bc3d9f59220f0c90fed6dedc02f2fdaf4ef70abf7aeaf86f63824458a50d4595d -AUX lxml-4.9.3-tests-pypy.patch 16751 BLAKE2B d9df5e5a64e89999d58d6f3c927fa1a74bc2311abb75a458c94302dac7f4717976aede69eb62e8dad109740a69f18aa03fbae693343f78634c3bc61764c3b81b SHA512 24e92f38d278c369c94be062523d8360cec9ee1de636939dca9c2a966a007bf544e96001d59057299eb7df797b54822e79060735bd8fde4843da559fa75e7d20 DIST lxml-4.9.3-patches-2.tar.xz 24288 BLAKE2B 47b7c486a1c1616c875111bd53b14d4211a1eee3f412985f4022e71b85b087abd71d36919fb025257f17de404329284898ddc639f85e8b15ade21778fa218d98 SHA512 713172b4c907db6479a0a803a842824825b212a9b645c1ca356f793658bd6c63113ea248278e7c46b512e22e3130696e9fc5127fea82a67372d920733fc160b0 -DIST lxml-4.9.3-patches.tar.xz 10544 BLAKE2B 407938d2f701400e919110c3bfe84e94621f39f8178850c466d41549ee0eff4f23e93cdd8ea684713e8276acfaa05d6f7b7af4d375c859b9fc5b2981d60983a3 SHA512 c2d5d2ffb035aed6d846de84885b87142b2be7a09ffe6927e7c032acab343730acfcbefd75e8141cf3b41b308c532869a7878b515f3d4eeefa7526a3d2599398 DIST lxml-4.9.3.gh.tar.gz 958628 BLAKE2B ffdf3fe781a03815f7c026229d313721c93375ebafad9b4a20c5d8a380a631401e546d8701a94d8c49615fb6a71e84940d8ca0299b47a37c1c9596db36659113 SHA512 903bd4935c7708b459aee9befcf3f6e3e3aaa9adc122591ea923b6e3d8fd288f07cab3f5f0edb08e3bf9db80414324f0a1a8e5a5089f9cda82f6c50f5df59423 -EBUILD lxml-4.9.3-r1.ebuild 3013 BLAKE2B 2863cffe01cec3ce7db3370c324799f391d8a537f9305fd82af3d017af747364ae5bbe27bf9113afe9821a82c9d24bd7b6648b31af7251abed9cf05e1a6ab584 SHA512 94f87c17495ffed958025f7fdb7c17c56d0fe68701c753f68d4ca288479c42c4394e827a24cad3a674e8c27027ab9b9f7ce83552fe89509ec21a51097cc1b7a3 -EBUILD lxml-4.9.3-r2.ebuild 2920 BLAKE2B ef6549834b3c3db9665c32a85c7a196271103c9b7e88ff7861de6678112f94f83f151799e972e268b2f0491fe48837d6dab10465106d34d398c94c35b7cec3ac SHA512 7e49781e8d2fa3897d06c791483daf8651c47bb1d166ad3950a02eaa9bec2fc8aaa91a30a93356c3e2d68c88697d1a7ca4c5e16efa594d65e453a9c37544c5db +EBUILD lxml-4.9.3-r2.ebuild 2919 BLAKE2B 38840aae6ffc940f7ae60e82467170f9dc2a1a6a163b314b5465656074c6cf690794ca5afe194a77ab30677d34e6138e3af252b44d6ac2a6e2ee524c289725bc SHA512 9b7370a6604aebeebd2630e78f3551e2a71300562f1cbd88e66ff8f4a12aa0d9748aef759c476186450a62a71a24d1c34319ee4eef0bf683e0f2f7a2515a7bca MISC metadata.xml 463 BLAKE2B 9bcd092b61568f5d467230617b101f36245c41078e6a66c7ff63b22a6b4095de2ba3a59e48ce8b7842ce58d1255fa293995652daa3fab4c3af988498eaa30e97 SHA512 2ba5e340b59e0de4e472380e9c19b1f6f573e86e5c3c2e075f6151d369e94eea70e3ce36bfb5ece4da3fa69459e3ff83368f1df8302aa5754ae52f13c8f2312e diff --git a/dev-python/lxml/files/lxml-4.9.3-tests-py3.11-cython3.patch b/dev-python/lxml/files/lxml-4.9.3-tests-py3.11-cython3.patch deleted file mode 100644 index 1fb466ab810f..000000000000 --- a/dev-python/lxml/files/lxml-4.9.3-tests-py3.11-cython3.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/lxml/tests/test_errors.py -+++ b/src/lxml/tests/test_errors.py -@@ -25,6 +25,7 @@ class ErrorTestCase(HelperTestCase): - def test_empty_parse(self): - self.assertRaises(etree.XMLSyntaxError, etree.fromstring, '') - -+ @unittest.skipIf(sys.version_info >= (3, 11), "Known GC failure (https://bugzilla.redhat.com/show_bug.cgi?id=2051510)") - @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_element_cyclic_gc_none(self): - # test if cyclic reference can crash etree diff --git a/dev-python/lxml/files/lxml-4.9.3-tests-pypy.patch b/dev-python/lxml/files/lxml-4.9.3-tests-pypy.patch deleted file mode 100644 index 939e26e51242..000000000000 --- a/dev-python/lxml/files/lxml-4.9.3-tests-pypy.patch +++ /dev/null @@ -1,424 +0,0 @@ -From 1804702b5e3c85c1a16014d62365a29d0a6d0c75 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Thu, 30 Jan 2020 06:15:27 +0100 -Subject: [PATCH] Skip tests failing on PyPy - ---- a/doc/element_classes.txt -+++ b/doc/element_classes.txt -@@ -576,10 +576,10 @@ subclasses for elements of this namespace: - - >>> print(honk_element[0].honk()) - HONK -- >>> print(honk_element[0].honking) -+ >>> print(honk_element[0].honking) # doctest: +ELLIPSIS - Traceback (most recent call last): - ... -- AttributeError: 'HonkNSElement' object has no attribute 'honking' -+ AttributeError: 'HonkNSElement' object has no attribute 'honking'... - - >>> print(honk_element[1].text) # uses fallback for non-elements - comment ---- a/src/lxml/tests/test_elementtree.py -+++ b/src/lxml/tests/test_elementtree.py -@@ -26,7 +26,7 @@ from .common_imports import ( - BytesIO, etree, HelperTestCase, - ElementTree, cElementTree, ET_VERSION, CET_VERSION, - filter_by_version, fileInTestDir, canonicalize, tmpfile, -- _str, _bytes, unicode, IS_PYTHON2 -+ _str, _bytes, unicode, IS_PYTHON2, IS_PYPY - ) - - if cElementTree is not None and (CET_VERSION <= (1,0,7) or sys.version_info[0] >= 3): -@@ -2734,6 +2734,7 @@ class _ETreeTestCaseBase(HelperTestCase): - self.assertEqual('TEST', root2[0].get('{%s}a' % ns_href)) - - required_versions_ET['test_register_namespace'] = (1,3) -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_register_namespace(self): - # ET 1.3+ - Element = self.etree.Element ---- a/src/lxml/tests/test_errors.py -+++ b/src/lxml/tests/test_errors.py -@@ -11,7 +11,7 @@ import unittest - import sys, gc, os.path - from lxml import etree - --from .common_imports import HelperTestCase -+from .common_imports import HelperTestCase, IS_PYPY - - - class ErrorTestCase(HelperTestCase): -@@ -25,6 +25,7 @@ class ErrorTestCase(HelperTestCase): - def test_empty_parse(self): - self.assertRaises(etree.XMLSyntaxError, etree.fromstring, '') - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_element_cyclic_gc_none(self): - # test if cyclic reference can crash etree - Element = self.etree.Element ---- a/src/lxml/tests/test_http_io.py -+++ b/src/lxml/tests/test_http_io.py -@@ -11,10 +11,11 @@ import textwrap - import sys - import gzip - --from .common_imports import etree, HelperTestCase, BytesIO, _bytes -+from .common_imports import etree, HelperTestCase, BytesIO, _bytes, IS_PYPY - from .dummy_http_server import webserver, HTTPRequestCollector - - -+@unittest.skipIf(IS_PYPY, "broken on pypy") - class HttpIOTestCase(HelperTestCase): - etree = etree - ---- a/src/lxml/tests/test_nsclasses.py -+++ b/src/lxml/tests/test_nsclasses.py -@@ -9,7 +9,7 @@ from __future__ import absolute_import - - import unittest - --from .common_imports import etree, HelperTestCase, _bytes, make_doctest -+from .common_imports import etree, HelperTestCase, _bytes, make_doctest, IS_PYPY - - class ETreeNamespaceClassesTestCase(HelperTestCase): - -@@ -46,6 +46,7 @@ class ETreeNamespaceClassesTestCase(HelperTestCase): - self.Namespace('ns02').clear() - self.Namespace('ns03').clear() - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_ns_classes(self): - bluff_dict = {'bluff' : self.bluff_class} - maeh_dict = {'maeh' : self.maeh_class} ---- a/src/lxml/tests/test_objectify.py -+++ b/src/lxml/tests/test_objectify.py -@@ -11,7 +11,8 @@ import random - import unittest - - from .common_imports import ( -- etree, HelperTestCase, fileInTestDir, doctest, make_doctest, _bytes, _str, BytesIO -+ etree, HelperTestCase, fileInTestDir, doctest, make_doctest, _bytes, _str, BytesIO, -+ IS_PYPY - ) - - from lxml import objectify -@@ -215,11 +216,13 @@ class ObjectifyTestCase(HelperTestCase): - expected.update(DEFAULT_NSMAP) - self.assertEqual(root.value.nsmap, expected) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_date_element_efactory_text(self): - # ObjectifiedDataElement can also be used as E-Factory - value = objectify.ObjectifiedDataElement('test', 'toast') - self.assertEqual(value.text, 'testtoast') - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_date_element_efactory_tail(self): - # ObjectifiedDataElement can also be used as E-Factory - value = objectify.ObjectifiedElement(objectify.ObjectifiedDataElement(), 'test', 'toast') -@@ -376,6 +379,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual("4", getattr(root.c1, "{}c2").text) - self.assertEqual("0", getattr(root.c1, "c2").text) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_setattr(self): - for val in [ - 2, 2**32, 1.2, "Won't get fooled again", -@@ -811,6 +815,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual(3, len(root.findall(".//b"))) - self.assertEqual(2, len(root.findall("b"))) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_build_tree(self): - root = self.Element('root') - root.a = 5 -@@ -840,6 +845,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual(value, None) - self.assertEqual(value.get(XML_SCHEMA_NIL_ATTR), "true") - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_bool(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -877,6 +883,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual(objectify.DataElement(False).text, "false") - self.assertEqual(objectify.DataElement(True).text, "true") - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -884,6 +891,7 @@ class ObjectifyTestCase(HelperTestCase): - root.s = "test" - self.assertTrue(isinstance(root.s, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str_intliteral(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -891,6 +899,7 @@ class ObjectifyTestCase(HelperTestCase): - root.s = "3" - self.assertTrue(isinstance(root.s, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str_floatliteral(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -898,6 +907,7 @@ class ObjectifyTestCase(HelperTestCase): - root.s = "3.72" - self.assertTrue(isinstance(root.s, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str_mul(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -910,6 +920,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertRaises(TypeError, operator.mul, root.s, "honk") - self.assertRaises(TypeError, operator.mul, "honk", root.s) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str_add(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -920,6 +931,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual("test" + s, root.s + s) - self.assertEqual(s + "test", s + root.s) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str_mod(self): - s = "%d %f %s %r" - el = objectify.DataElement(s) -@@ -985,6 +997,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertTrue(isinstance(value, objectify.StringElement)) - self.assertEqual(value, "3.20") - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_ustr(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -992,6 +1005,7 @@ class ObjectifyTestCase(HelperTestCase): - root.s = _str("test") - self.assertTrue(isinstance(root.s, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_ustr_intliteral(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -999,6 +1013,7 @@ class ObjectifyTestCase(HelperTestCase): - root.s = _str("3") - self.assertTrue(isinstance(root.s, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_ustr_floatliteral(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -1006,6 +1021,7 @@ class ObjectifyTestCase(HelperTestCase): - root.s = _str("3.72") - self.assertTrue(isinstance(root.s, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_ustr_mul(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -1018,6 +1034,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertRaises(TypeError, operator.mul, root.s, _str("honk")) - self.assertRaises(TypeError, operator.mul, _str("honk"), root.s) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_ustr_add(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -1043,6 +1060,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertTrue(isinstance(value, objectify.StringElement)) - self.assertEqual(value, _str("3.20")) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_int(self): - Element = self.Element - root = Element("{objectified}root") -@@ -1059,6 +1077,7 @@ class ObjectifyTestCase(HelperTestCase): - value = objectify.DataElement(123) - self.assertEqual(hash(value), hash(123)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_float(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -1075,6 +1094,7 @@ class ObjectifyTestCase(HelperTestCase): - value = objectify.DataElement(5.5) - self.assertEqual(hash(value), hash(5.5)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_float_precision(self): - # test not losing precision by shortened float str() value - # repr(2.305064300557): '2.305064300557' -@@ -1094,6 +1114,7 @@ class ObjectifyTestCase(HelperTestCase): - s = "2.305064300557" - self.assertEqual(objectify.FloatElement(s), float(s)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_float_precision_consistency(self): - # test consistent FloatElement values for the different instantiation - # possibilities -@@ -1180,6 +1201,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual(value.text, None) - self.assertEqual(value.pyval, None) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_unregistered(self): - Element = self.Element - SubElement = self.etree.SubElement -@@ -1342,6 +1364,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual(["why", "try"], - strs) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_str_cmp(self): - XML = self.XML - root = XML(_bytes('<root><b>test</b><b>taste</b><b></b><b/></root>')) -@@ -1369,6 +1392,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertEqual(root.b, "") - self.assertEqual("", root.b) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_int_cmp(self): - XML = self.XML - root = XML(_bytes('<root><b>5</b><b>6</b></root>')) -@@ -1391,6 +1415,7 @@ class ObjectifyTestCase(HelperTestCase): - - # float + long share the NumberElement implementation with int - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_type_bool_cmp(self): - XML = self.XML - root = XML(_bytes('<root><b>false</b><b>true</b></root>')) -@@ -2060,6 +2085,7 @@ class ObjectifyTestCase(HelperTestCase): - before = [objectify.getRegisteredTypes()[0].name], - after = [objectify.getRegisteredTypes()[1].name]) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_registered_type_stringify(self): - from datetime import datetime - def parse_date(value): -@@ -2530,46 +2556,55 @@ class ObjectifyTestCase(HelperTestCase): - - # E-Factory tests, need to use sub-elements as root element is always - # type-looked-up as ObjectifiedElement (no annotations) -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_int(self): - E = objectify.E - root = E.root(E.val(23)) - self.assertTrue(isinstance(root.val, objectify.IntElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_float(self): - E = objectify.E - root = E.root(E.val(233.23)) - self.assertTrue(isinstance(root.val, objectify.FloatElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_str(self): - E = objectify.E - root = E.root(E.val("what?")) - self.assertTrue(isinstance(root.val, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_unicode(self): - E = objectify.E - root = E.root(E.val(_str("blöödy häll", encoding="ISO-8859-1"))) - self.assertTrue(isinstance(root.val, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_bool(self): - E = objectify.E - root = E.root(E.val(True)) - self.assertTrue(isinstance(root.val, objectify.BoolElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_none(self): - E = objectify.E - root = E.root(E.val(None)) - self.assertTrue(isinstance(root.val, objectify.NoneElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_value_concatenation(self): - E = objectify.E - root = E.root(E.val(1, "foo", 2.0, "bar ", True, None)) - self.assertTrue(isinstance(root.val, objectify.StringElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_attrib(self): - E = objectify.E - root = E.root(foo="bar") - self.assertEqual(root.get("foo"), "bar") - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_nested(self): - E = objectify.E - DataElement = objectify.DataElement -@@ -2584,6 +2619,7 @@ class ObjectifyTestCase(HelperTestCase): - self.assertTrue(isinstance(root.value[0], objectify.IntElement)) - self.assertTrue(isinstance(root.value[1], objectify.FloatElement)) - -+ @unittest.skipIf(IS_PYPY, "broken on pypy") - def test_efactory_subtype(self): - class Attribute(objectify.ObjectifiedDataElement): - def __init__(self): -@@ -2739,7 +2775,8 @@ def test_suite(): - suite = unittest.TestSuite() - suite.addTests([unittest.makeSuite(ObjectifyTestCase)]) - suite.addTests(doctest.DocTestSuite(objectify)) -- suite.addTests([make_doctest('../../../doc/objectify.txt')]) -+ if not IS_PYPY: -+ suite.addTests([make_doctest('../../../doc/objectify.txt')]) - return suite - - if __name__ == '__main__': ---- a/src/lxml/tests/test_xpathevaluator.py -+++ b/src/lxml/tests/test_xpathevaluator.py -@@ -8,7 +8,7 @@ from __future__ import absolute_import - - import unittest, sys - --from .common_imports import etree, HelperTestCase, _bytes, BytesIO, doctest, make_doctest -+from .common_imports import etree, HelperTestCase, _bytes, BytesIO, doctest, make_doctest, IS_PYPY - - - class ETreeXPathTestCase(HelperTestCase): -@@ -740,8 +740,9 @@ def test_suite(): - suite.addTests([unittest.makeSuite(ETreeXPathExsltTestCase)]) - suite.addTests([unittest.makeSuite(ETreeETXPathClassTestCase)]) - suite.addTests([doctest.DocTestSuite()]) -- suite.addTests( -- [make_doctest('../../../doc/xpathxslt.txt')]) -+ if not IS_PYPY: -+ suite.addTests( -+ [make_doctest('../../../doc/xpathxslt.txt')]) - return suite - - if __name__ == '__main__': ---- a/src/lxml/tests/test_xslt.py -+++ b/src/lxml/tests/test_xslt.py -@@ -17,6 +17,8 @@ from textwrap import dedent - from tempfile import NamedTemporaryFile, mkdtemp - - is_python3 = sys.version_info[0] >= 3 -+is_pypy = (getattr(sys, 'implementation', None) == 'pypy' or -+ getattr(sys, 'pypy_version_info', None) is not None) - - try: - unicode -@@ -2098,8 +2100,9 @@ def test_suite(): - suite.addTests([unittest.makeSuite(Py3XSLTTestCase)]) - suite.addTests( - [make_doctest('../../../doc/extensions.txt')]) -- suite.addTests( -- [make_doctest('../../../doc/xpathxslt.txt')]) -+ if not is_pypy: -+ suite.addTests( -+ [make_doctest('../../../doc/xpathxslt.txt')]) - return suite - - if __name__ == '__main__': --- -2.41.0 diff --git a/dev-python/lxml/lxml-4.9.3-r1.ebuild b/dev-python/lxml/lxml-4.9.3-r1.ebuild deleted file mode 100644 index df72e6bd21ce..000000000000 --- a/dev-python/lxml/lxml-4.9.3-r1.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 optfeature toolchain-funcs - -DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" -HOMEPAGE=" - https://lxml.de/ - https://pypi.org/project/lxml/ - https://github.com/lxml/lxml/ -" -SRC_URI=" - https://github.com/lxml/lxml/archive/${P}.tar.gz - -> ${P}.gh.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-4.9.3-patches.tar.xz -" -S=${WORKDIR}/lxml-${P} - -LICENSE="BSD ElementTree GPL-2 PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc examples +threads test" -RESTRICT="!test? ( test )" - -# Note: lib{xml2,xslt} are used as C libraries, not Python modules. -DEPEND=" - >=dev-libs/libxml2-2.10.3 - >=dev-libs/libxslt-1.1.38 -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - virtual/pkgconfig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - doc? ( - $(python_gen_any_dep ' - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] - ') - ) - test? ( - dev-python/cssselect[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.9.3-tests-pypy.patch - "${FILESDIR}"/${PN}-4.9.3-tests-py3.11-cython3.patch - "${WORKDIR}"/${PN}-4.9.3-patches -) - -python_check_deps() { - use doc || return 0 - python_has_version -b "dev-python/docutils[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/pygments[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" && - python_has_version -b "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" -} - -python_prepare_all() { - # avoid replacing PYTHONPATH in tests. - sed -i -e '/sys\.path/d' test.py || die - - # don't use some random SDK on Darwin - sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ - setupinfo.py || die - - distutils-r1_python_prepare_all -} - -python_compile() { - tc-export PKG_CONFIG - distutils-r1_python_compile -} - -python_compile_all() { - use doc && emake html -} - -python_test() { - local dir=${BUILD_DIR}/test$(python_get_sitedir)/lxml - local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} - - cp -al "${BUILD_DIR}"/{install,test} || die - cp -al src/lxml/tests "${dir}/" || die - cp -al src/lxml/html/tests "${dir}/html/" || die - ln -rs "${S}"/doc "${dir}"/../../ || die - - "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" -} - -python_install_all() { - if use doc; then - local DOCS=( README.rst *.txt doc/*.txt ) - local HTML_DOCS=( doc/html/. ) - fi - if use examples; then - dodoc -r samples - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup4 - optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect -} diff --git a/dev-python/lxml/lxml-4.9.3-r2.ebuild b/dev-python/lxml/lxml-4.9.3-r2.ebuild index 87f7631bf501..01ddc28bb840 100644 --- a/dev-python/lxml/lxml-4.9.3-r2.ebuild +++ b/dev-python/lxml/lxml-4.9.3-r2.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/lxml-${P} LICENSE="BSD ElementTree GPL-2 PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc examples +threads test" RESTRICT="!test? ( test )" diff --git a/dev-python/matplotlib-inline/Manifest b/dev-python/matplotlib-inline/Manifest index b724e530e1be..dd35d2b117c7 100644 --- a/dev-python/matplotlib-inline/Manifest +++ b/dev-python/matplotlib-inline/Manifest @@ -1,4 +1,4 @@ DIST matplotlib-inline-0.1.6.gh.tar.gz 7526 BLAKE2B fd8fde8e218e19fdf7a09bd7f36abd2e4422ed7de8ed8e2d6e52d995e76b62d8e60223fc43a243f2a0ca545037b44ead9520b67cf54b173d95389eb401b17e9a SHA512 7d34f5a86d65d7a2017cf924dc363d7578d1eb14943c3de56e5a0ac79d92d674b387c5528ea76e9e11e0193e71d8cd1315ceb517e9c9678c41ed412e8fd42c04 -EBUILD matplotlib-inline-0.1.6-r1.ebuild 1024 BLAKE2B 720bdd8e09b20ece05e9133a0f783a89133d2fea6848d294f32438e1dd9c107b5d9374ee82957da93238b177383b2cd5eb94453040a2249f52db5c53cc1efc18 SHA512 deecb668613b139f2a987757224205feed7b4237f53d64562f3d575cdeace4440c6b754d60cc36404af8b601525b1ba0e8a240c16e2716c360277124e0754a61 +EBUILD matplotlib-inline-0.1.6-r1.ebuild 1078 BLAKE2B 00a7e190db8cbf3fe945ed7c0313bbb940481fad4607b73b16b4bd239aa3c2d1cb7d140e5873685ab8262b1dc3a7864730544937cdcf6c0b4ee841cc9fd01a12 SHA512 2e41171c7639b2a3ff5d8b748860da1e388c989e8cdde4867f0eda496c0ebbc1b4975b420a9db694fbee6314d87d50eb050b57ae100913d86ce32cc46376f0ed EBUILD matplotlib-inline-0.1.6.ebuild 631 BLAKE2B d898ae3622855e12a6d9c5e4ea32cc02a3a6ad38800d30072e1c7aeccaaa7869c3e1eaa34573f35f583610d38f8c187520d67d474b74d455e46850536964eb4c SHA512 1908fa4f7d399c8a3105e266c22c77f2f6f9886a042adc53862cf559023a3fa7e15e2ec29b8a0ce6de25624dc2201313b6f931440790779c619c2b8ac666fb52 MISC metadata.xml 388 BLAKE2B 2c15ea9d7f572bfd693b7b715ad5d32b0528889b07e7b7d2b58e2f99d1884acf376ed5bcbcf527179b232bc761c3aa31a59b112acd7b3a82f07f19d2592d167d SHA512 a40bc579234e3f6f4cb7cf12c0851ff23be0e9a2af94af099d503214f626d03a26dff3fc5d1aebedb5c3b4adfb13f1b6fb72ec10d62d3fea6bc2772271cea027 diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild index 173bf38b4736..d2d123bccb5d 100644 --- a/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild +++ b/dev-python/matplotlib-inline/matplotlib-inline-0.1.6-r1.ebuild @@ -4,12 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 DESCRIPTION="Inline Matplotlib backend for Jupyter" -HOMEPAGE="https://github.com/ipython/matplotlib-inline/" +HOMEPAGE=" + https://github.com/ipython/matplotlib-inline/ + https://pypi.org/project/matplotlib-inline/ +" SRC_URI=" https://github.com/ipython/matplotlib-inline/archive/${PV}.tar.gz -> ${P}.gh.tar.gz diff --git a/dev-python/nest-asyncio/Manifest b/dev-python/nest-asyncio/Manifest index 53cd345758ec..5c2a0efdfa16 100644 --- a/dev-python/nest-asyncio/Manifest +++ b/dev-python/nest-asyncio/Manifest @@ -1,3 +1,3 @@ DIST nest_asyncio-1.5.8.tar.gz 6105 BLAKE2B 549c5b8663a7fcb928e6cb97408aa4291129d043f8e5a55f5ba66c6b6cdbe21b1c2dd65959fd806d0badc1be561cda8b11a097fb522156d2d41eabce66318be3 SHA512 b454ad77381e6eb2bfa34528a26f342ba66b8edbb648c6b5aa69fbdd3142537db4ae53f91c2b88a5f88f16ecbe1e3346cec5a7bca4ca5c065a4e5f3daa0bb7e2 -EBUILD nest-asyncio-1.5.8.ebuild 537 BLAKE2B d5ed615e28883a9156180f35c8f6ddc044f46ae91822e0677ee6749d1d10237c7156fad571071cd63df567a82eabc69e04b53ab29b5e5763390a638b2f5a6e81 SHA512 e505c63b38d2a408396282594c4e596b5f6df58e4f621fd0e8060d78b4eb01ea8cab3aaa1c3d7a47222984dc403abea73fd110d8b33c88c9fb51d6c39055f523 +EBUILD nest-asyncio-1.5.8.ebuild 543 BLAKE2B 1d814a35fa7ad9fde45cad829109744614edb08b01857c4b3e37f91ad6b570a54a58efb09c390fce15918152d832277a9375ea64bf914b8a78cadc33ff4b4050 SHA512 64c4f47fe7d598e56467779f8b0bba726b36df25be6dccf54e49daef70e1e75717bf9a5dce8b9886c48a2590c7cad2860e780a78fad851ac918ce9b1473cba89 MISC metadata.xml 389 BLAKE2B 7725ccfe525c9aa2f6b3330e97fad88e1dbc5dd829573d9c32bcf0b492af7303e33668e1370dc6cd8fc89cd55f0be20110d72de0caf87eedf61869e8231f6ad0 SHA512 f1ab8ce0f9568dc9d533d5c47135a937bb5f109ff49315b63444d963c4572602d3bcef96f182ca54df7bbce676e50ee2f0ba795f5310f022922b0b49edc23518 diff --git a/dev-python/nest-asyncio/nest-asyncio-1.5.8.ebuild b/dev-python/nest-asyncio/nest-asyncio-1.5.8.ebuild index 8d2ae007d994..f1094a02d07f 100644 --- a/dev-python/nest-asyncio/nest-asyncio-1.5.8.ebuild +++ b/dev-python/nest-asyncio/nest-asyncio-1.5.8.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/overrides/Manifest b/dev-python/overrides/Manifest index b7f0086e29d2..c25ccb8e3bdb 100644 --- a/dev-python/overrides/Manifest +++ b/dev-python/overrides/Manifest @@ -1,3 +1,3 @@ DIST overrides-7.4.0.tar.gz 24804 BLAKE2B 9a9657d15ad835695d116559f1e6f51e14d1a0a9b5a237b2d468d9c6fd8d86368af53871490c257d7e6843fe02113a874524b8e55f4b3c9bcc7c827714cd5f44 SHA512 6ffd3b38997fd207d8ef9876ba9c328ef244b39300d22ae8c8bf63862f160b485d82b99d36d24abd1676fdddd39e5324eb0f1cf8629a0e17ac96956d165b6afd -EBUILD overrides-7.4.0.ebuild 735 BLAKE2B bf465cc0670ef362b6724e5fb6766ed6139ae8b1ab324edcb93a6a3808368a76f4b8256f1e76b76c4d7874608130041b77576a9bef98e7275d84132ef3201ac0 SHA512 39793e827c4b8d19c29268fbdf31c5acf7467e0872f0b70cebaec841b2acce54b19e28754c50439a6e1b74fc4dfa4f70c25afa39753217b9423475588385964e +EBUILD overrides-7.4.0.ebuild 992 BLAKE2B b410e16c4058e632488fdf2ae1f2dcfd9de8ab32cc8f0436ec0f360d1a218c848899926bdd0b6b55fffb9920cdef965e522329484840a060b162433001cff38b SHA512 f685c79afd01b10e4c217a186519895e642adef6efc09892f79ab8aa1e247b8052d85ecfe139d17daf8ea015a6302a2648d719baf874dd2662680e8eae1329e7 MISC metadata.xml 408 BLAKE2B 3f011749f3b0b2cd3283ed70623fcbe6211cd33f7e5d59c7f02f677d7952e3aa49b8b9d4b6b8608c75028239ed7e2dd1226ed3692adfec7d2772e6bf37366fa5 SHA512 669a884bce1d2a97b2d61ca7e05ee134b7636a485435a0e22dbbe11f2e1e330e3be36146ddd115ad362f6b5b717d3f17f119f6b7e036e20085bdfce538183e3d diff --git a/dev-python/overrides/overrides-7.4.0.ebuild b/dev-python/overrides/overrides-7.4.0.ebuild index 47e4652c3acd..a8cd8c261e45 100644 --- a/dev-python/overrides/overrides-7.4.0.ebuild +++ b/dev-python/overrides/overrides-7.4.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -26,9 +26,16 @@ python_test() { case ${EPYTHON} in python3.12) EPYTEST_DESELECT+=( + # https://github.com/mkorpela/overrides/issues/117 tests/test_enforce__py38.py::EnforceTests::test_enforcing_when_incompatible ) ;; + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/mkorpela/overrides/issues/118 + tests/test_overrides.py::OverridesTests::test_overrides_builtin_method_{,in}correct_signature + ) + ;; esac epytest diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index 82bedd0e489d..d5bd26af55f6 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1,3 +1,3 @@ DIST pdm-backend-2.1.7.gh.tar.gz 134479 BLAKE2B e559792b53310d6c159ed0cfae6fd9332bbdebfe0efaa9aae7e149b4800b7231e1561723b6aebb4cd722bc47c5a8c9f13180dfe96607a08a9a5c0fba530c9098 SHA512 d47b814b427799d8b2d106b4721c770fd703143cac5de819d74c47d4808f9130bd5835d5fafe41ab3bb17abfedeb770c8863a9cb9a7c8aba0ef9315f5308e6b3 -EBUILD pdm-backend-2.1.7.ebuild 1579 BLAKE2B 8468e104ac89ef9fb58c9e233b940f2404b69596cb1c0e6d6a998f4d529a09f5f784669d2cb66008374e0691e48ba79903f0e5cd698e63067896f1a5d572e151 SHA512 b143bd6ad84cfd0bc83ef0b13c0aaa57813890375be4f790d537e5f892263add085ec1885b06f414e79b40e3ff1239030614b1fa825280a3c66527fd934cb925 +EBUILD pdm-backend-2.1.7.ebuild 1577 BLAKE2B d1f151c47f18466f22f5c97bd8c7bc8f020aeba6b7ddb26ed874dc0e4f01f69e63323dbcc054a353701497152b8274ddc273034bd56e88bf13c68718076c1805 SHA512 5432bb08670426c40fbed25c6f9e3bed8697fc5868fd0638cba165ad59effc91f094e05615c76f2e2b18586a74ea35e40e8f15863e38c56189b3002645aec93a MISC metadata.xml 402 BLAKE2B ac579efc6fd41e67d00ccbba4831c85eed6f5e4341b17533f60c95b666d8a457a5ed683440028c876b8d638fff59af97c5087612b7817dd1a9bd8b9f74cdda0a SHA512 77766986547445c26c7de4bd1d4fb495f8c22e1844fd5b4835b1cabc4aa503a36eae84460e4fceca2f71a87d5f4fc83593b33fda9ae8cafd75f74618d60476cd diff --git a/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild b/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild index 2e8f3359b685..1fb86d2d0ce8 100644 --- a/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild +++ b/dev-python/pdm-backend/pdm-backend-2.1.7.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm ~arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/packaging-22.0[${PYTHON_USEDEP}] diff --git a/dev-python/pickleshare/Manifest b/dev-python/pickleshare/Manifest index c2e161eadb31..e4820ad57f6a 100644 --- a/dev-python/pickleshare/Manifest +++ b/dev-python/pickleshare/Manifest @@ -1,3 +1,3 @@ DIST pickleshare-0.7.5.tar.gz 6161 BLAKE2B 9c9327d16350b6610d9e7b844a70352c802463a110c13c670cfbd6a6cb0e82d8dea0f9eeac83cda65eeecbf27a2b8c4b1bd21809117c07eb1b67a03d3679c4b7 SHA512 6048634b7c08b6997b75be1d8fc53dd3218294e1f04c5e287ef3c6e4d80da6746fd242980f58b9671b4a4cf639a64bd25861b62fd28d435bfd2386fa655a30ff -EBUILD pickleshare-0.7.5-r1.ebuild 560 BLAKE2B 640b47e828805bf17c0f87b8253de4639a84eddb4c526253f175bc20cc67b693588ab2d0d4594a27735162e91b9d0854d49de2bc736acbc8b5d156b1801cb936 SHA512 405fc0b198a90b88d12b4260bf74ae1cd078443582926a8d0c4d5d624258a72c06b1c47f56a17f7e360236616a7ccb2d8d49d96fec8d03419b24e98694da0f24 -MISC metadata.xml 970 BLAKE2B 834db945c8e9c90ddcacf7d001f108b9e26321a155a747f5c7f00068cf915590813d1293afa5f0516233ab52d9a04d73091793bd945fd6e9a96cf51263fa8dd8 SHA512 12a8f50cd4f8aba47aeba2326400d488051d92ea05336b91d59f10e8c2885d00b39a453455c748ff1777a339c39ec0f5273126e719cbbcc8aa15503285b220a9 +EBUILD pickleshare-0.7.5-r1.ebuild 607 BLAKE2B 0e7bcdabfc40df65b3053ef7d644830684749b2024e3d14f347bed6b2835482e99a8a37fa8261a6dd24231f34f99b4a4d26c8131cab0f6b72944e0afc1c65bb6 SHA512 8f81d7598e23bb1eec537ad9512c28d2db9bb5debbf699b9d28c1d111db6c007ef4847b4dba910d7ea1daf6d8a1136a92c2c8fe51b8fcc304095eb51b4c0e71d +MISC metadata.xml 966 BLAKE2B 36ad73bafbf79b385cacf737c34899dfa74f4c98bf023c3f6535724c80277b5ab4603680f83dd4cc05a55d5397436ec88d3a31181f2912a0a0fb5f7f93c45c21 SHA512 1ce5a2b970d726169f169328dbfb3742a0146c6f4b00a623f720e29f71898ebbeeb187b0bb65245a8f71afb5f0812c065a98d3c4a05dac65b52f452775dfff6e diff --git a/dev-python/pickleshare/metadata.xml b/dev-python/pickleshare/metadata.xml index 0de7998633f5..d3fa09b18576 100644 --- a/dev-python/pickleshare/metadata.xml +++ b/dev-python/pickleshare/metadata.xml @@ -20,6 +20,6 @@ </longdescription> <upstream> <remote-id type="pypi">pickleshare</remote-id> - <remote-id type="github">pickleshare/pickleshare</remote-id> + <remote-id type="github">ipython/pickleshare</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild index a69e5c19eae5..8d765c0c3a68 100644 --- a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild +++ b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild @@ -2,18 +2,23 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) DISTUTILS_USE_PEP517=setuptools + inherit distutils-r1 pypi DESCRIPTION="A small 'shelve' like datastore with concurrency support" -HOMEPAGE="https://github.com/pickleshare/pickleshare" +HOMEPAGE=" + https://github.com/ipython/pickleshare/ + https://pypi.org/project/pickleshare/ +" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" - >=dev-python/path-6.2[${PYTHON_USEDEP}]" + >=dev-python/path-6.2[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest index 97b4fa4e6fc8..0aa60ef287fa 100644 --- a/dev-python/prometheus-client/Manifest +++ b/dev-python/prometheus-client/Manifest @@ -1,5 +1,5 @@ DIST prometheus_client-0.17.1.tar.gz 90360 BLAKE2B 3927d5b6829a04cd72a99ac3b0b6a12726865b41d17f165a53f83a6a3791f18e25e03995088152ac7eae016eab7c6e29bef1e605f4c444f9963be04483ca2f02 SHA512 c8c776d646ea4a18a85fd26c858158b67979173dcf52d0a337cdb87fe907ff4081d8e0771176ba8be0ea6e244ee9b9097396c9aeb6f6db170a2c0f5a4898c771 DIST prometheus_client-0.18.0.tar.gz 92365 BLAKE2B 2443fda2ae6f23cc817d4adbb63799501d7e688c2f10b876ed7dbb0f5efdd31d5ca7300fefc059a65533205155682e567c31eebe3e10b173bde4c018a17c65c9 SHA512 97ae14d549b3559f8e8136f56cde593ed2ef6303577e98e6f20367589d5df0e9630e9c13accf57609dfbb364527632c665e21f0778b0fd14cea5446495432ffb EBUILD prometheus-client-0.17.1.ebuild 580 BLAKE2B 211d05274d1f01dc404e7fd5bf0953d86a8f59782af389f08a039f98ca4c6b6037caaf04054e47cd7d0168a9b3f34de4dac369b215897537d137e8ab984df630 SHA512 6312d5601966258a5155179674ecfc09cfefb9c3d5b7f63b14883dc7f3a8f52668be8e39b9559baee670c6cf5a839d8fdd4e9cf50c3f30efc0c413ad06998310 -EBUILD prometheus-client-0.18.0.ebuild 588 BLAKE2B d9cda9d9721cc35bcdb84d53c856c0d7d773f45292814fda663373b3ad33179120c32bfe4fd2688abbf21a03f566658927bd21e1ea69a76cdafe5fdb3a0ddbf6 SHA512 3114b22f38845600ba242c28633f9545861d2227e3bdbf5cd7b18609c6b54a2ac2bf4c314a97d115945a42efda2dfb34139b4c20ebe6e9daec99eb6598b79331 +EBUILD prometheus-client-0.18.0.ebuild 594 BLAKE2B c5c7656838b242530c786eec073bad0ad6d57404c4eebff9303ded5d63b4acf1f63e49cb1ae37f48834c82ee18a8b3ab12f2a9869369ece49a20bba2e996a9f4 SHA512 28ed0733aabd83096d64ba2f7a0781f48c83040d2de6d9e120bf4942ee4d468bd9ceed5b44098f43204a207582b24c7aaf4d309e2903ab65a35b8815b2214fb2 MISC metadata.xml 409 BLAKE2B 900f1046ec87679dabe88792bfea55cdf6dbbc1f332260e5487628530a1e5b2e07a1b5776313c484ed2355c205dea165547628297da3fd3e0d9e7c352f4f7a54 SHA512 beee1bb3823aa235e8c2667b18157254335777dbf1169beaee54190d41819dd0e82c58a8ea09c4981740370d7e5463ce11d327e02bf411093dfb653a557077ff diff --git a/dev-python/prometheus-client/prometheus-client-0.18.0.ebuild b/dev-python/prometheus-client/prometheus-client-0.18.0.ebuild index 4c7172a015c2..3c42dc5e89f4 100644 --- a/dev-python/prometheus-client/prometheus-client-0.18.0.ebuild +++ b/dev-python/prometheus-client/prometheus-client-0.18.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/prompt-toolkit/Manifest b/dev-python/prompt-toolkit/Manifest index c21788567549..5c1f39229ff3 100644 --- a/dev-python/prompt-toolkit/Manifest +++ b/dev-python/prompt-toolkit/Manifest @@ -3,5 +3,5 @@ DIST prompt_toolkit-3.0.40.tar.gz 423978 BLAKE2B f48be10f9629c384d1903c0600cb976 DIST prompt_toolkit-3.0.41.tar.gz 424620 BLAKE2B 03224acf95a5937996bfdb9692b719752fab693923e5dab7f3aa1c960a9bcf2bc135c0deee25982a16937d5c12f55be9d3b70c4d0d400ba9f6ccb0070a66bf7a SHA512 ac8782b06275df01b32ccfaf6055b3b1bf4ff4aecfa76599b143025d79a7459f2722c659363d288361953105ef617337de1c5a71b693f7c28716d0c3df0e2c75 EBUILD prompt-toolkit-3.0.39.ebuild 616 BLAKE2B 073a51226f05f724f99c690fca970a7bde2c4bc4ac3d3ab6742049acc6f328a0c6647f709a0de5203a2faa05da1d8927fd121d14074ff8baa7118c0d497cf631 SHA512 0871330a16caf4609833c9cce5bfadfaa32482f276c3e81d007d69217c93ab080c6c2300e44f7c2fc89607159ea1d380710a696916083bfb50ae4f0415e537c0 EBUILD prompt-toolkit-3.0.40.ebuild 624 BLAKE2B cee559659a86905e0834ee91d7d6a37572edbf9c3f9cbae704ca47e857e9e017b30b581203097f2d263acb1c9bf527b6d15e2526f3e24f7e39bb41bf3a9fc72d SHA512 15f21a3395ff0a8fa4d7ae0b63950ebafd0a1af1794c07c49cdec9b554aff36b3e2fb5ce885f6e5df8e8621a01fba1438d3b33d435897feba80998ae08563d0d -EBUILD prompt-toolkit-3.0.41.ebuild 624 BLAKE2B cee559659a86905e0834ee91d7d6a37572edbf9c3f9cbae704ca47e857e9e017b30b581203097f2d263acb1c9bf527b6d15e2526f3e24f7e39bb41bf3a9fc72d SHA512 15f21a3395ff0a8fa4d7ae0b63950ebafd0a1af1794c07c49cdec9b554aff36b3e2fb5ce885f6e5df8e8621a01fba1438d3b33d435897feba80998ae08563d0d +EBUILD prompt-toolkit-3.0.41.ebuild 630 BLAKE2B ba5290905ff7bad822016b9fbc6be45b078acdd41000b97eb45ad8d989ae76c42ce29f95ae802747e39dd0635dceeea8ea2634b0fc29f3cc4278ffe218f2b0ec SHA512 193ac6e99db79fb48766f3bd287252ecb8d88a9ef915665890ddb5713d78e96002d8326b92936dc88973712eb71517aa16424966d8ade5e990d8d308e3f74db6 MISC metadata.xml 431 BLAKE2B 534336484c65b57df5e672729ff722b67445948e0485c3a62c2f7081724cb951b5157c600dc6162a3bb857c2be0f378b18670786279ff8b5cff2858588f8ebc9 SHA512 a9bf68326839069c61e70d4ef3fe304706f2543b9b91eb291566dd66f36d1abec00382ae205549a35f10dfc730f4613c5cc5c0ee4d6858538d50c4145bd3b15e diff --git a/dev-python/prompt-toolkit/prompt-toolkit-3.0.41.ebuild b/dev-python/prompt-toolkit/prompt-toolkit-3.0.41.ebuild index f79321605a0f..555f846afe27 100644 --- a/dev-python/prompt-toolkit/prompt-toolkit-3.0.41.ebuild +++ b/dev-python/prompt-toolkit/prompt-toolkit-3.0.41.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/pure_eval/Manifest b/dev-python/pure-eval/Manifest index bdfa57a7c3ca..45e37f19c156 100644 --- a/dev-python/pure_eval/Manifest +++ b/dev-python/pure-eval/Manifest @@ -1,3 +1,3 @@ DIST pure_eval-0.2.2.tar.gz 19395 BLAKE2B 19f86a1436e5f1a026a24f62c435e8970d84960f4cde1de80c58949b1aede6aa7562e8430e10e3f7171212c31d5699a3321fad5fb2ea1eed961a30d43a632a79 SHA512 35d20cbbfd513b7ac341759e619401a5f57b7b9df8abd09ce6414d4ee6bfa45dcadbad7529d067e81ad7ea2107c14fd03783a3a77f8074dad30d2e5161656804 -EBUILD pure_eval-0.2.2.ebuild 529 BLAKE2B 2ca2a426739da26cfb54ccf7a4428262aac63970666bfa4777c6479d203be939cd3df66d69ae8b6aa93ebbd1b9f2676ddcacb2ec045ecb85a5ce59390e6780fb SHA512 4c37a1299c8d7bdfb2017d97225696ccbeb423169fea51302fe4b46a2e189100eddaad89366aae5e6dc8d1413ebf5a2b7811c09e6980332bf9c89d33a5649e7a +EBUILD pure-eval-0.2.2.ebuild 838 BLAKE2B b3da897aa80832cac8014b79b6a120aa2f5c6500f33c061ce0271471c6f5980495ffeaec3164a0bf9ab778735d8548c3b8174a2e15cda900a99f65fd0cfb45c5 SHA512 b3a60cf8a0fdcf551bc1b2731d38196724281f9aa4debd1a86bd19fc9bf3ecb9e7cd45c15ff03f864a42475845bdb3a6ce0f2d31b30c33520aef3f7b234ff136 MISC metadata.xml 373 BLAKE2B 56f08bfb33fbfefff3f37063133e1a5dab14daf3d30b0674e9b39d8ed72e5d1468f02ed3d353d508a28c4af1c5c7f858043246e043a9ce0da4937aa2b07d4993 SHA512 69be5163434e36fed944075b834e8fba4745698759e12258cdb9ed968e523528e1e11d291892f3a8992390edd9c54cc08b5fbb70d7473db5e274329cfceea101 diff --git a/dev-python/pure_eval/metadata.xml b/dev-python/pure-eval/metadata.xml index 5358127a149d..5358127a149d 100644 --- a/dev-python/pure_eval/metadata.xml +++ b/dev-python/pure-eval/metadata.xml diff --git a/dev-python/pure-eval/pure-eval-0.2.2.ebuild b/dev-python/pure-eval/pure-eval-0.2.2.ebuild new file mode 100644 index 000000000000..2e9546fd7db9 --- /dev/null +++ b/dev-python/pure-eval/pure-eval-0.2.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Safely evaluate AST nodes without side effects" +HOMEPAGE=" + https://github.com/alexmojaki/pure_eval/ + https://pypi.org/project/pure-eval/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/alexmojaki/pure_eval/issues/15 + tests/test_getattr_static.py::TestGetattrStatic::test_custom_object_dict + tests/test_utils.py::test_safe_name_samples + ) + ;; + esac + + epytest +} diff --git a/dev-python/pure_eval/pure_eval-0.2.2.ebuild b/dev-python/pure_eval/pure_eval-0.2.2.ebuild deleted file mode 100644 index fa3b66e47ccf..000000000000 --- a/dev-python/pure_eval/pure_eval-0.2.2.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 pypi - -DESCRIPTION="Safely evaluate AST nodes without side effects" -HOMEPAGE="https://github.com/alexmojaki/pure_eval" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -BDEPEND="dev-python/wheel[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-console-scripts/Manifest b/dev-python/pytest-console-scripts/Manifest index 63c494725398..13592731321e 100644 --- a/dev-python/pytest-console-scripts/Manifest +++ b/dev-python/pytest-console-scripts/Manifest @@ -1,3 +1,3 @@ DIST pytest-console-scripts-1.4.1.tar.gz 20994 BLAKE2B b29ca597735e912b63abbc0dff29333bc5ab8e2882432dcec0ff92f5637b9a93e68359de8f1ad7885e6673d44d4c5515d832cff1a80aaa7f3eaeb875394418eb SHA512 b96def518a8c2930f092f68c1ba4a0ea55757c38cfa9dd39dd0ffdc54127bca3a2333c39159d7723ad1b412047244fde08753652e1945509b80dcbfa00dacfbb -EBUILD pytest-console-scripts-1.4.1.ebuild 859 BLAKE2B 8378b38ee6b421935dc2634683f2bcd5a0a5928bca9da9223d39ee36d3570404d9f516d72757aa98ba06b44ccdc8963c396195d4d13be38831c6770575a4860f SHA512 85bfbe44184043be79cdfa63f4b2d598e9321e0aff3d0c39b8c2933c45f7373ef2518dc7a996a0da92a43bc7fd9eb1583711597fb15a875332e612872524148f +EBUILD pytest-console-scripts-1.4.1.ebuild 865 BLAKE2B 263756ec1fcccd349fbd36252c4ab54b9c9fc7eeda3e5d2ec1b3ed8787999f52232e3f036bf1aab836b1ee092d92a6813f52bfe0d99d5509e0463013ee2dcba8 SHA512 8e2cc6f83e429ed73d8f8f0ec1a0d95ede7f615f19fd283464c06c8f223ed71a1afa5cf715ca6c017ed28207e4bee5d833b0455c3d73ca73d5f68523e9ed6568 MISC metadata.xml 534 BLAKE2B 9d795cc21a80ef3c90b9b9a0eda1c124b77a8e91f786edfa56ac368cb68f6a33712b5041a3ed635da970f494282fcfe939312fdb688a5cb55dd6d3489f6321e6 SHA512 f3568e76d4699d0f97a5b26b2d381d064f60f72c4ef7de42c1994be98a6cd21b4971241dbcf3c324af2fed617438a238ec5ecfa03c00b37a93dc2d91bfc82250 diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild index 5ee8abec5ef5..3d29146a60fc 100644 --- a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild +++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest index 415c8c712549..2b0931b12080 100644 --- a/dev-python/pyzmq/Manifest +++ b/dev-python/pyzmq/Manifest @@ -1,4 +1,4 @@ AUX pyzmq-23.2.0-libdir.patch 510 BLAKE2B cb7884416d3e15f735412d69a7ae0decbbf8eca14ae909b23e68231a65b3ad36d021b5c6f5315a3cb982cd571913ce021cc5df60509d90b28d4353dd7bd316e8 SHA512 f268d03de45971d50a89210366b4aef0e79e652a45d650fc3e4a6711558ee186ee558a2808b7c9f5c5a64ce8b9282adf024ab21a782ba614900a4813e8b6d6ca DIST pyzmq-25.1.1.gh.tar.gz 389825 BLAKE2B d8e231a0eeaa6a7ad372da912cb42e96e4d862e163859b97d1c369a7940e019c074fc717685f53da06de69cfee79430e343fcd1987d768f3cc99ec75cad0955b SHA512 4aa0d5d5c1036e6ac35898c48d9612f677ee6e9345fafd02091ba81a5081f1ac8bf552eb5c03636ad643cc87e17f037013ec981d9b852c0252d30de8ce046d5a -EBUILD pyzmq-25.1.1.ebuild 2233 BLAKE2B 99b18f334f2f8dc08844c7c70a631d544d1746082884a4a3fe84c2062d18d780b3f37fe34973ffbde4ebe5200d8a7d530cbb86510ddbf849eee3a1818322f609 SHA512 f89e86bcec6f4a755df0b8539953a1875c38b4f5db4e75f7fcf849232f532a18171a87ad4d17f655b52376e3e2dfe1cdbbbd52eef54305862845559c28057854 +EBUILD pyzmq-25.1.1.ebuild 2307 BLAKE2B 518a210ee7f2b29debae65a154c954e299e433a490808aac7169b5955341db1b371949f3a18c256ac9aff30669eafd42c027140a3219e9b15b7b01dccd56b1b2 SHA512 e97f310487ff3b94e1476b9af92437f639e20751b93ad54dc6955c4bf58d2f9d1c02fa36603bdd470d4da1f78712d31c998c909d1c36da73d4a97236b2a1c379 MISC metadata.xml 549 BLAKE2B 46a9a1476f68f05c71bb4f849a9e0822c58142ac036da635454f57781dcea81687accfbf9563273d4f8672a8479b098c9f03cec64e5e7f456e50ad8c7ffba9d3 SHA512 3765c31f1b0048a60d5ccf90aa1fa5416c92addb7b01c62e529419e53a4e29746d0e4434d4d4fbd5918413e7521144c8758cdef9eacf5298108c2287783908c1 diff --git a/dev-python/pyzmq/pyzmq-25.1.1.ebuild b/dev-python/pyzmq/pyzmq-25.1.1.ebuild index b7c58ef257cf..7a6aa2779167 100644 --- a/dev-python/pyzmq/pyzmq-25.1.1.ebuild +++ b/dev-python/pyzmq/pyzmq-25.1.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -31,11 +31,8 @@ DEPEND=" >=net-libs/zeromq-4.2.2-r2:=[drafts=] " # It uses cffi backend for pypy, cython backend for cpython -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/py[${PYTHON_USEDEP}] - dev-python/cffi:=[${PYTHON_USEDEP}] - ' pypy3) +RDEPEND=" + ${DEPEND} " BDEPEND=" $(python_gen_cond_dep ' @@ -52,22 +49,6 @@ PATCHES=( "${FILESDIR}"/${PN}-23.2.0-libdir.patch ) -EPYTEST_DESELECT=( - # TODO - zmq/tests/test_auth.py - zmq/tests/test_cython.py - zmq/tests/test_zmqstream.py - - # swap thrashing on low-mem hosts, per Debian: - # https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send - zmq/tests/test_socket.py::TestSocket::test_large_send -) - -EPYTEST_IGNORE=( - # Avoid dependency on mypy - zmq/tests/test_mypy.py -) - distutils_enable_tests pytest # TODO: Package enum_tools # distutils_enable_sphinx docs/source \ @@ -82,6 +63,29 @@ python_prepare_all() { } python_test() { + local EPYTEST_DESELECT=( + # TODO + zmq/tests/test_auth.py + zmq/tests/test_cython.py + zmq/tests/test_zmqstream.py + + # swap thrashing on low-mem hosts, per Debian: + # https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send + zmq/tests/test_socket.py::TestSocket::test_large_send + ) + local EPYTEST_IGNORE=( + # Avoid dependency on mypy + zmq/tests/test_mypy.py + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # not implemented in cffi variant? + zmq/tests/test_draft.py::TestDraftSockets + ) + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die epytest -p asyncio -p rerunfailures diff --git a/dev-python/send2trash/Manifest b/dev-python/send2trash/Manifest index c26495ad1725..015c5725c147 100644 --- a/dev-python/send2trash/Manifest +++ b/dev-python/send2trash/Manifest @@ -1,3 +1,3 @@ DIST Send2Trash-1.8.2.tar.gz 17487 BLAKE2B 3362a7e0c70f0e3f0f7a64676174d6c6f28290079590e08e4a746c0e19f96deca028aa521df58afa7f0ab47d78f286df01f98e903dfd771063af0ff40b4f6c08 SHA512 378107c8175e8d08566258daa13d3000e66ec03f732698180a2eb7f862c39d3c458be66ecf3f8864f559b961e29b777b8e7f5169468219e19723def62a69bb9c -EBUILD send2trash-1.8.2.ebuild 548 BLAKE2B 392060f57d1a2cf6f4f70c0b450250e4fb6f8077e0bad3ecb2b404f234f05fb1b6a098fed73b19c2cc34829f4d80b12c3fa5f14358793372017abfcd2b3593c2 SHA512 a3ef4eaecf8cc461788189d1c3d6ff1853fbf1261c15671050f5340f4ba7ee9d0e15581702f1542e9c6469e232cccbf369a9e607ec34fbca4294c0839f40eb8f +EBUILD send2trash-1.8.2.ebuild 554 BLAKE2B 8ae061a18204379f0965cd04dbbb82083b4810f38a418ab13066bd6eddc624e34d533b7e57323465ebfd7e3199959c3593994c13f557f6e21a691dec4fc81902 SHA512 d32e3492985e53094bf5b6dbc58c349e88d9001169f8194809c990072f0acd4f0e20a394f472a5544b1c1bc418ef173732962efaf9228e3767b84b260a35b92b MISC metadata.xml 411 BLAKE2B bc650bdcb346ddb4c94fff51727b5ae9f2ae1cb62d0fe52709b531fd779fb4b5342f8c200a924816763b3b21354849b320a92050d62d243a48e862f46c997d9b SHA512 b5ba72495ce17919eedb91021749653ec411d1df1188520f95a4db28efbfc9c59d291c23e54014430be77fbf961a0662f25539805086b5b284b992520f5dcc22 diff --git a/dev-python/send2trash/send2trash-1.8.2.ebuild b/dev-python/send2trash/send2trash-1.8.2.ebuild index 1a0e9cbad0ef..d759f6cb0331 100644 --- a/dev-python/send2trash/send2trash-1.8.2.ebuild +++ b/dev-python/send2trash/send2trash-1.8.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=Send2Trash -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/stack-data/Manifest b/dev-python/stack-data/Manifest index dc44b2361ebb..62ccdf53285a 100644 --- a/dev-python/stack-data/Manifest +++ b/dev-python/stack-data/Manifest @@ -1,3 +1,3 @@ DIST stack_data-0.6.3.tar.gz 44707 BLAKE2B d50e8c8e925cd9a4a19f883422aa487543836b36e20861f9bdf41551484ba02f7bdfb729f8bc051b3a97e76b4df7e7833b53bd3c47daf85dc2aa4e8d5d1c11b1 SHA512 629c112c09a1f69566160039c4d5fd49e59bdc206ad76799c67418e08b93a0990dd802078b646da175ab719b448394b723aab37479be14d09c0fb1c72cdbd0b8 -EBUILD stack-data-0.6.3.ebuild 1008 BLAKE2B 5a2f4daa4860d3e08e5b1f5a5d4f22c1b56ddae4b1f975d699da8035157aff60d68bf1e90372cb9e627d3eee53b76af3e799d1ef48655b7c7ef15d4ceaa33c7a SHA512 7a94a27e7508ba5d5e9c8f8b7327eb1e7a023c741a3070f0d3bcf9718dde99aa0478b7018b113ef7e55776f2e99ecebf3a29e637fa00df5cac8b84c487ea853e +EBUILD stack-data-0.6.3.ebuild 1014 BLAKE2B dc6d070ceebb9f17a02489c70cdbeff99e5215e471499489b8aeb2d88053e70df88d6ca6ba60eb3d12a977747841a5bbf1a8d75ef54b0338ca436007434f1209 SHA512 04912972152c918d8361de60ac444ebf849fe98e4048e3aae1e3aea125ecc482295cd6a3c82e72f1c8dfcde0b323055b00db5b2234b37a6502f5e323a0e56d7e MISC metadata.xml 399 BLAKE2B 6f2f1d18b8e574335af618995b745aa50ff1db8c58ea881b3596cbc9c22796dcf20b78ae52f370d308999a337233c6ab5a778a555876877851cdec20ac4e14b0 SHA512 474c2eae21a1617dbbd8002189fff802764bdf24bc854dd68b1feaf3e7ec4ba7831678b5facc9cf4587c784874cd530b11140ee345e831a9b7824e6752d2923e diff --git a/dev-python/stack-data/stack-data-0.6.3.ebuild b/dev-python/stack-data/stack-data-0.6.3.ebuild index f3aab01bd470..441925167275 100644 --- a/dev-python/stack-data/stack-data-0.6.3.ebuild +++ b/dev-python/stack-data/stack-data-0.6.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi @@ -21,7 +21,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc RDEPEND=" >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] >=dev-python/executing-1.2.0[${PYTHON_USEDEP}] - dev-python/pure_eval[${PYTHON_USEDEP}] + dev-python/pure-eval[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/terminado/Manifest b/dev-python/terminado/Manifest index 548cbf5aebe3..7d747d4b0f6a 100644 --- a/dev-python/terminado/Manifest +++ b/dev-python/terminado/Manifest @@ -1,5 +1,5 @@ DIST terminado-0.17.1.tar.gz 30603 BLAKE2B e21087ab332076df3462f765ef839ed1b99580fd86acb2aa36626a656972c08ce4fff349e47d27847799d6550f6f31489ce7bf5fc67988fb74f7403b77d8fc79 SHA512 c61987e6ccb75fef6428c4557a690be3f48ff186b2bd6765d4f5b71d4443833def7025921e7f1362a47bf77163846294080c2d81f6d2ff15236d499f480ec8e9 DIST terminado-0.18.0.tar.gz 32250 BLAKE2B 1993df502e0e54f78160aca91b475f989cd83a3ea6dedef3d70db7a2d2c7b4dd8ccbcb854302e665f079f4b12c91ad434c23407974ad18e8c6e1f47cf54179ec SHA512 4cefaf34e00d4c22b01c2cfbd55e385df1c2ad6e812fb6f9a47d1af2126251028d633a40c20e9babec7de927a44fc580c5972f85d00fbdd32b895a4197346c90 EBUILD terminado-0.17.1.ebuild 804 BLAKE2B 38aaa8c57521d81e8c55697a336d182dd797e415825c824b7f14b948dad42faa506e1f2fe17d6a740071b22f63e360635ae3dd11eac41fd3d0bc93541881e95b SHA512 5c4e10e514edc2be3e7ad64823ab28bc8334eaeb0d4940534f5e9c3640e71c48d9dddb9125b856528c343ce9ee3e4be4194e0281585fc9f6c940823a802515e3 -EBUILD terminado-0.18.0.ebuild 812 BLAKE2B cd879373ff03700e8943affb9f69cc967ca2ebb21cf622bb53c27e98d1c3236fd15648f00ae78f02028a479b053a00e65ad07eaf7063858a0af775bdc2752aaf SHA512 43da4756ea93dba46c4670bc831ef13769980c06639955308f2ee17d5b3425a196af3d70646788b44d5c8bdf6af1ca44806186261db4470bdc0cba451b8d49f1 +EBUILD terminado-0.18.0.ebuild 818 BLAKE2B 6a8a059d552950c299871240a1b5468585341c6a7804c669d3d27eb725854c3731f9a78cfad4d84d0355088a8ee5a8196664d74d41edbf968380e7b0f9fbe610 SHA512 7d8a626232fb3495ae49838c027c8f1f2d0ee8e7a380172fae4b0177725698234dcf471a619fa579566efa131c7669bc6706b957cec1277f3864b40f70805d16 MISC metadata.xml 407 BLAKE2B 11da32addf98212561629b99650880eca0a6c057414d8a97f535f40b046c6587d326e3193eab264f439caf38e5d6d8f3f5d1a5891746262494ced39effb2651f SHA512 6c993bf16c0413aea33e06efef79dc6189d3b62b71574fffb2bdce7ddb27b4b12f1d5c0d2a3a80a51ae8894c60efb83a9966cabd53662d358f3f1ec52d27590b diff --git a/dev-python/terminado/terminado-0.18.0.ebuild b/dev-python/terminado/terminado-0.18.0.ebuild index fa42e2a3a8cd..a01613447916 100644 --- a/dev-python/terminado/terminado-0.18.0.ebuild +++ b/dev-python/terminado/terminado-0.18.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/tinycss2/Manifest b/dev-python/tinycss2/Manifest index 4b283e28b55d..b53e883d7f97 100644 --- a/dev-python/tinycss2/Manifest +++ b/dev-python/tinycss2/Manifest @@ -1,4 +1,4 @@ DIST css-parsing-tests-c5749e51dda3868b3e8062e65a36584c2fec8059.gh.tar.gz 35758 BLAKE2B d834011c3ac774eb79b35e2e74f3854ddc2bb871531a32194041d6f98bde3dc68db67baea25d5463a03e057197144237be69fee4eacfb8edb73167e6e4faf7be SHA512 ef44eb1144a6484f308fabe4187310b2ef0067f328bf5213969d87c475fccae3d716dc66640a0a554ab2a3d7da0efb3a168a288ac6eef7722f3ae46959943b49 DIST tinycss2-1.2.1.gh.tar.gz 28351 BLAKE2B 42e1ba559e015654184be94afb02866f32bb6cfbdb0006df29ce64f8715d25a8751acd8380db7ad06bd9f5fdcc694519d2bc3c916dfd09816ba44c18a1f1d750 SHA512 59964398418fd895c6b5bdbdac47edb0bd421aeb8b3939307cb9ff864f50071fc171a9d6bb9b9b0adbbb645beedea0e14720af0d824949236e54b2d1b189bc72 -EBUILD tinycss2-1.2.1.ebuild 1053 BLAKE2B 3bc1d112f3b711f3ca0208cef30043e53c962ff12a7e282d22161f69c48bf1ecff1809469b4e03fafa40ff3bf650f93f7ff16d2828d82c05ecdb17527391157d SHA512 cd74ffca5c2e4638c8d0041844102bcb9e69dabe6066abc945c98c31f8bce53dad6c3b6246c0bcbe1043b7477cf91816003dba780e41dae5c7898e33fd4bb9a2 +EBUILD tinycss2-1.2.1.ebuild 1059 BLAKE2B 7eb6077e6c6a710a15a4f5f7b73e6783b1a96c7f82beedb266e02a308b7e2ef6a9f46751056dcb0efd56ff0ba6032228cf8d602161c816e83269c333fbcaddd5 SHA512 5aab482696532b08a493bd32744a62369076b0149f19124f26248f72ed16f70b82dfd6c5cab50669e035c9e86181185d3973a802132456ce37f252af50cc1cb0 MISC metadata.xml 523 BLAKE2B 1590e6af6e994f20bd2087eb2ad0d9a05736f983a123cf5a7373d0f8e2608dbdd8886fe90fd62d978e0abcdcb9deef30a9cf9622302fc2d3d20a137ce1d4b563 SHA512 04c0ea9aa7b4d9317a262bda5486c1495a7978b44e6c87c1c67a44f7846807c2ba5dae6a55f32c21237adb8d25426746da0b0c63dba6668ea2e0f35223859a6c diff --git a/dev-python/tinycss2/tinycss2-1.2.1.ebuild b/dev-python/tinycss2/tinycss2-1.2.1.ebuild index 41a66ea414d9..6e65527eda2a 100644 --- a/dev-python/tinycss2/tinycss2-1.2.1.ebuild +++ b/dev-python/tinycss2/tinycss2-1.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest index 414ec0f13a4c..3bc861120b93 100644 --- a/dev-python/typeguard/Manifest +++ b/dev-python/typeguard/Manifest @@ -1,3 +1,3 @@ DIST typeguard-4.1.5.tar.gz 69228 BLAKE2B 2af39b1cb179483e167b8cfbf053e633f5947b3a17c496aaa2bdf22f3a69f7b41e2c9f317534eb12ffb781364cf81d117ced9fafd389aadd85d16d05e42bff0b SHA512 50bf3760246dba5de2e98038c78acbd6f2fd2d69ae8c688c3efeface5ef6cc4c2521f82d6084dabc1258286ac589ff94f1b9e3c9b67e9b019d725bf13884fce2 -EBUILD typeguard-4.1.5.ebuild 942 BLAKE2B 51d767682bdbea3e1b694fb3f2c816d145c815e157d8df1858cc73d992af74423a248b2a0038f06e653e4f21dbe9526f542d0c8c9d4597d1188da795de12f7ad SHA512 61cbfd90af8325f3cac03b2fe49cf69475f682be54783f88f8d04298ee12e6cee5d8e61cbd6cb7f0007756b4e259c363805169e96aab3cb3738abb557647b255 +EBUILD typeguard-4.1.5.ebuild 948 BLAKE2B 07278a20308c63362089936461d76f208901bb2324ee7809ac3f145bce01a5c43a5028b2965aedae6d0981e846a7b82b73545ffb38a27182580f40fa744510ff SHA512 f39a941c871e753b6edf8aef14ab3fa230f955fbb858e70ab86e8bc3da1724d1e6ecef5f0305e91666a556d2371420a06f93c97f396d34c03cb3308856c41389 MISC metadata.xml 350 BLAKE2B 78dc7293e08dae7974b38d84ce457ceddc5888a7278c1b149b8ba3057f07130b2e002dd78a9df91fd09d85b7ebc26272b4c78dd96c6cdd3938cff67b9c451366 SHA512 1fe4c4164b0732bd294815dacdd46a70ace6e8886343491232fb59b6b3697316c3eac5dd72e2e4758d87fd093d845f4453b8f278009be640ca1555413f47e869 diff --git a/dev-python/typeguard/typeguard-4.1.5.ebuild b/dev-python/typeguard/typeguard-4.1.5.ebuild index fcb8380128ee..b63143ee3d93 100644 --- a/dev-python/typeguard/typeguard-4.1.5.ebuild +++ b/dev-python/typeguard/typeguard-4.1.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest index 97ce789d7134..7e6e9b1193b5 100644 --- a/dev-python/uvloop/Manifest +++ b/dev-python/uvloop/Manifest @@ -1,7 +1,3 @@ -DIST uvloop-0.17.0.tar.gz 2279973 BLAKE2B 7ccbf3b8e723e36c1010a70e256de0ad1a9728fe10b3538e05c57157b16ea7e5369347c855cd1460e49f89197ebb05628c4b6fcd7e50c623b1aaa5890ac64b5f SHA512 861d7f28ad879ecbfa40d53b9626e38660f02618fd433edbd5a8ea5100a17ade042a26549def04bc23f928aca3adc83d62503f0548038cd400284f5654003ee4 -DIST uvloop-0.18.0.tar.gz 2319264 BLAKE2B 9aeef9278ec97dce62458b3ce4833ef5beeb101d3feaf5b2e45d1ac05b2f40c21bcd6aa3135694c8b9dc9e8078cbd0c74d113784a10f94039f6bbeaf24b06f1f SHA512 1ce01f3e4fca15d1f76c71eb29abb608f6f65d6ebdb3f79ed7c63db5b96bb1325f7a7d97c3adbf8cdb2506907ad13a1c88c767fd3a143cd728f9153ec8958d0e DIST uvloop-0.19.0.tar.gz 2318492 BLAKE2B 1c46a8bf3e204c261e3a5e60c3583b75b8b9b20086443725c42842f96ea3f6804242470aa9569f8cc74a6e3bd38b5aaa70f9a9d92b5df3e73911acc169185570 SHA512 b6ca7ba7baf61dc930bb92e35013e5abaf7a227a5e99c88ec4b58fa87a40692151d9891b81d9e514a8481df62bb9721baa789ec234dcbbb34f69e0bee489c57c -EBUILD uvloop-0.17.0.ebuild 2006 BLAKE2B a932053b2c33785843328489ae4af8efc57ab51dc5575aed65d56b8a94a34604f460e8bd63e2259031a1254d47ca3c5ec4d67a68a1eaedf241002e8a0e358068 SHA512 4457fde951946eb5940539f632af9c67418324bdf3a3fec150a22e7d88e6eb9ebe7c0bd8a6b43f2d56a714f61eaaadeb4bbaeba72286e0809cff765a442c48d5 -EBUILD uvloop-0.18.0.ebuild 2013 BLAKE2B 5f7a7056c89e1769a6a1bda8aee13aa79b2b21421d8f4650125901b4a408dfd2b1a3d9ebeb7ee83d394064528970b2ab96f3d5d28609358dee059e46f76f2f51 SHA512 2c3f537c29ca5e173d49949ddc3953b9e9e98ddc6e76c4fa58b82ad95437ab09d093261f2d338f20a247377704be40ba37b4f91b7a22d4e7ce655f8f954b3fd2 -EBUILD uvloop-0.19.0.ebuild 2007 BLAKE2B d072b299838ed82b7d27f614a8cd4dde6f08627219d92d7f2a7566ff85c2fdb9cbf1208fef3e92d86fa7c31ecd1ccf629a4342a8cfd7a674bc92e5bc0ec0f81e SHA512 4ee6d9f552c5f0fcf1cfddc21f8ce1dc0de0c7100502c0b03b8851a701b605941c7d2e4a670aa1effc8409742a8ae59cd109c6504071be96ecd439df406c205e +EBUILD uvloop-0.19.0.ebuild 2006 BLAKE2B cdf805cdcd48253357856bb9a660649af30e6493a410ffdf09a1e8fa02190bcd479312dded6687f30c2ecdf2c9a2c13978ea021677118b139a6456dd5ba52687 SHA512 161f9265fead972e6db3b8f3765ea0caa6ec1c5c5cadc83d20ed344778909db40685458631e60d4b49b765d886305bdea997573d25ed5a916c0b3d62279f5a69 MISC metadata.xml 527 BLAKE2B 2db44bdfb681fcce35ef35f13155293ac3fdffa12a695b654ed8acc608cf1f769243136e66b6b2c1afd57caa7e59a66a60d34631c37a4b98a474bd0635fcbaa3 SHA512 02540835a23405c467293395fa7984741e02ca1aca75f527edd3b988d307b41db0f729d5cc0b3a826a652fb7104dec7be86a9a57f4d5646d2af87255cc2d90de diff --git a/dev-python/uvloop/uvloop-0.17.0.ebuild b/dev-python/uvloop/uvloop-0.17.0.ebuild deleted file mode 100644 index 5b6839d09ea7..000000000000 --- a/dev-python/uvloop/uvloop-0.17.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" -HOMEPAGE=" - https://github.com/magicstack/uvloop/ - https://pypi.org/project/uvloop/ -" - -KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc x86" -LICENSE="MIT" -SLOT="0" -IUSE="examples" - -DEPEND=" - >=dev-libs/libuv-1.11.0:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - rm -r vendor || die - cat <<-EOF >> setup.cfg || die - [build_ext] - use_system_libuv=True - cython_always=True - EOF - - # flake8 only - #rm tests/test_sourcecode.py || die - # force cythonization - rm uvloop/loop.c || die - # hangs - #sed -i -e 's:test_remote_shutdown_receives_trailing_data:_&:' \ - # tests/test_tcp.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_IGNORE=( - # linting - tests/test_sourcecode.py - ) - local EPYTEST_DESELECT=( - # TODO: expects some... cython_helper? - tests/test_libuv_api.py::Test_UV_libuv::test_libuv_get_loop_t_ptr - # unhappy about sandbox injecting its envvars - tests/test_process.py::Test_UV_Process::test_process_env_2 - tests/test_process.py::Test_AIO_Process::test_process_env_2 - # hangs - tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data - # crashes on assertion - # https://github.com/MagicStack/uvloop/issues/574 - tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine - ) - - rm -rf uvloop || die - epytest -s -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/uvloop/uvloop-0.18.0.ebuild b/dev-python/uvloop/uvloop-0.18.0.ebuild deleted file mode 100644 index 9c5ab1780086..000000000000 --- a/dev-python/uvloop/uvloop-0.18.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv" -HOMEPAGE=" - https://github.com/magicstack/uvloop/ - https://pypi.org/project/uvloop/ -" - -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -riscv ~sparc ~x86" -LICENSE="MIT" -SLOT="0" -IUSE="examples" - -DEPEND=" - >=dev-libs/libuv-1.11.0:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - <dev-python/cython-3[${PYTHON_USEDEP}] - >=dev-python/cython-0.29.32[${PYTHON_USEDEP}] - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-22.0.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - rm -r vendor || die - cat <<-EOF >> setup.cfg || die - [build_ext] - use_system_libuv=True - cython_always=True - EOF - - # flake8 only - #rm tests/test_sourcecode.py || die - # force cythonization - rm uvloop/loop.c || die - # hangs - #sed -i -e 's:test_remote_shutdown_receives_trailing_data:_&:' \ - # tests/test_tcp.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_IGNORE=( - # linting - tests/test_sourcecode.py - ) - local EPYTEST_DESELECT=( - # TODO: expects some... cython_helper? - tests/test_libuv_api.py::Test_UV_libuv::test_libuv_get_loop_t_ptr - # unhappy about sandbox injecting its envvars - tests/test_process.py::Test_UV_Process::test_process_env_2 - tests/test_process.py::Test_AIO_Process::test_process_env_2 - # hangs - tests/test_tcp.py::Test_AIO_TCPSSL::test_remote_shutdown_receives_trailing_data - # crashes on assertion - # https://github.com/MagicStack/uvloop/issues/574 - tests/test_cython.py::TestCythonIntegration::test_cython_coro_is_coroutine - ) - - rm -rf uvloop || die - epytest -s -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/uvloop/uvloop-0.19.0.ebuild b/dev-python/uvloop/uvloop-0.19.0.ebuild index 3378415060f8..494e66452889 100644 --- a/dev-python/uvloop/uvloop-0.19.0.ebuild +++ b/dev-python/uvloop/uvloop-0.19.0.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" https://pypi.org/project/uvloop/ " -KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc ~x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc x86" LICENSE="MIT" SLOT="0" IUSE="examples" |