diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-31 19:19:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-12-31 19:19:17 +0000 |
| commit | 2ad15b521153b34458b1525df5d7b8411f3f5ac4 (patch) | |
| tree | e541a23b61954150462ff920eea88696b287f52b /dev-python | |
| parent | e2c2a9c364d22d65cbba766bb0683b57cb69682a (diff) | |
| download | baldeagleos-repo-2ad15b521153b34458b1525df5d7b8411f3f5ac4.tar.gz baldeagleos-repo-2ad15b521153b34458b1525df5d7b8411f3f5ac4.tar.xz baldeagleos-repo-2ad15b521153b34458b1525df5d7b8411f3f5ac4.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
77 files changed, 827 insertions, 699 deletions
diff --git a/dev-python/DAWG-Python/DAWG-Python-0.7.2.ebuild b/dev-python/DAWG-Python/DAWG-Python-0.7.2.ebuild index e27db07e8f25..c46eafb592d8 100644 --- a/dev-python/DAWG-Python/DAWG-Python-0.7.2.ebuild +++ b/dev-python/DAWG-Python/DAWG-Python-0.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/EbookLib/EbookLib-0.17.1.ebuild b/dev-python/EbookLib/EbookLib-0.17.1.ebuild index fe4207cdd8b9..4956e3b80d5a 100644 --- a/dev-python/EbookLib/EbookLib-0.17.1.ebuild +++ b/dev-python/EbookLib/EbookLib-0.17.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index db2cd90bd3f3..4bd48b04a9bd 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-1.9.5.tar.gz 3911838 BLAKE2B 064ad4aa48d94b4eb7c886d445e7228c72d03dcb22e75e82a7c43b42a20a32f1b11855017f72101e54c45b4591ffd2af0912191eb7f13367f16726208308a6de SHA512 8b8bc0ec0f4666ae63bd4cb3463c6321bd1cbde7a64ca37d500bd2e60d50f6a13aca5dc89a101d7b8e39622e21091b24232ecf8361b4ae9a9913c187742c7607 +DIST Nuitka-1.9.6.tar.gz 3914776 BLAKE2B 82a50f642f8b93caa725bbfffa6236d490ccb8d731ea917886d0cde03aa6c2237f6c8ff7687ad3140c985cc7c5b525e16aaf07bd604232e32b7fa0fb102a00f5 SHA512 005be29f72685677da1e037b36381765c1248bc2940eb92a46e8e5df990f0241af831b8cf28ab2957d3a7d3d0cb03c2b99ab5af4e900afba53b5ac60e95d1a24 diff --git a/dev-python/Nuitka/Nuitka-1.9.6.ebuild b/dev-python/Nuitka/Nuitka-1.9.6.ebuild new file mode 100644 index 000000000000..ac9ead24db5b --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.9.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka3.1 doc/nuitka3-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" app-admin/chrpath +} diff --git a/dev-python/SLPP/SLPP-1.2.3.ebuild b/dev-python/SLPP/SLPP-1.2.3.ebuild index a41e9edcf813..dd3a7ffe731a 100644 --- a/dev-python/SLPP/SLPP-1.2.3.ebuild +++ b/dev-python/SLPP/SLPP-1.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/argh/Manifest b/dev-python/argh/Manifest index bb933ee56341..484e1d1de177 100644 --- a/dev-python/argh/Manifest +++ b/dev-python/argh/Manifest @@ -1,2 +1,3 @@ DIST argh-0.30.4.tar.gz 62618 BLAKE2B e95ee9219d2b8079e4b9548f68811832ed9ca699c1dcfeabcf31a9a0c3fd35c107896f088a64efe430347fefd1424345753bc4e0341155a92d99a5327f4a137d SHA512 6a17fcaef3a1a400426cc53339e07583734b0b68ce9202a7b3655f5cababa495aa5269f66cde2d0b2217874ddb730bf7d1c7636dd915e4e778058399b9b9a44c DIST argh-0.30.5.tar.gz 63041 BLAKE2B 3b8e928d1e6f8fd2340afa87072c35a04e4222dac7d3d549fa6040f3e1352365ff9d2b940d30f20b6aa0959a8331638e076e3f42fe7b16ff96be8734278db59c SHA512 74194010f0558335557a56ea9daa24a7301733090ffcbd201524b67727a64d8dabaeb31558f7da6f2bf51ab9354b371b09a0be55125bcaee128630df59343188 +DIST argh-0.31.0.tar.gz 65743 BLAKE2B c577273bf361b0bede939b7bcadf9c9ce6dd24d473b834ebd8d2bdc41d163e9cb6f2b79252ab810ac5b6f1f2e20b312cf096b23cf6cd4cd53705fb2c30b55f7d SHA512 d4caefede2596452d3256f4c2194517994dffdb2e01643f0b96b8002d269ac0150e938bb29d0469b67bbb72669b2a82b3e66d28cfecad5230f641c60f1c879e5 diff --git a/dev-python/argh/argh-0.31.0.ebuild b/dev-python/argh/argh-0.31.0.ebuild new file mode 100644 index 000000000000..b39fbe43f5ea --- /dev/null +++ b/dev-python/argh/argh-0.31.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A simple argparse wrapper" +HOMEPAGE=" + https://pythonhosted.org/argh/ + https://github.com/neithere/argh/ + https://pypi.org/project/argh/ +" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="LGPL-3" + +BDEPEND=" + test? ( + dev-python/iocapture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/attrs/Manifest b/dev-python/attrs/Manifest index 13dfaa36481f..c8f01f212aec 100644 --- a/dev-python/attrs/Manifest +++ b/dev-python/attrs/Manifest @@ -1 +1,2 @@ DIST attrs-23.1.0.tar.gz 212878 BLAKE2B e562c22e7afdf50a9cf8deafc221d0438b8f3fb6b379c6eeb7f9e5ef182b69d5aa9bb886f4b7f69818ba2f1e9bf2ffa2831571a61c3521ab1c56f9c199b411a2 SHA512 1fff41da90668601b29412f71b4419dd9ffb9f2a8e54ce2199198557729167d6d7574954dc998818caba0d6bc378ab2ce068541df9c1c0d4ab1b071758d4a38a +DIST attrs-23.2.0.tar.gz 780820 BLAKE2B a06f4f17a81fc173c37661bcf518367a1cdc9a333d2783bd2cd1ac5f0a72bd20ec1afdd964e10255624bcfa027e3a152375cd21472c177428d29bd06b29984a1 SHA512 d8b178072a028b95d8424cd3ce0c8b4e6da8558fbcbcaaef91fbd03cf51e6190aa248aa0bff853e6f7c9595bbd5a8eef9d6f68ae2830cc1cc6d826ab0dda2378 diff --git a/dev-python/attrs/attrs-23.2.0.ebuild b/dev-python/attrs/attrs-23.2.0.ebuild new file mode 100644 index 000000000000..f5062deb3205 --- /dev/null +++ b/dev-python/attrs/attrs-23.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Attributes without boilerplate" +HOMEPAGE=" + https://github.com/python-attrs/attrs/ + https://attrs.readthedocs.io/ + https://pypi.org/project/attrs/ +" + +LICENSE="MIT" +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" + +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-23.2.0[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' python3_{10..12}) + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/autoflake/Manifest b/dev-python/autoflake/Manifest index 488179638d8d..2de21f6c253f 100644 --- a/dev-python/autoflake/Manifest +++ b/dev-python/autoflake/Manifest @@ -1 +1 @@ -DIST autoflake-1.4.gh.tar.gz 24219 BLAKE2B 622c82b9ab5e7fd68e8bc2678c5868282e605640e1c52d1a8f81fbaaba26dfb738ac1ceb9eb20195bb820256fbae27222953a5271130e74b8708988516e20e00 SHA512 53e542a765cbd18df7c35a90f16786e173bdc332b4410abfbc6d24f1009bf5d6f8a383e897e72558617bdf339573d8aa9b8de6901aac392caf48889aacf0c9a6 +DIST autoflake-2.2.1.tar.gz 27377 BLAKE2B d669fd1954974f7237423d7dc67de044d737ba5a462b565f3307f1b6bdecefa6a6b2a6de437570e6a7772a692e894fb414e1ff05fc0aae7cbb3a0901ec9a0129 SHA512 02021b5f92edcdcb0b3c11132a46cf73dbc4b6e4efc4f5d5981b66bc5beafbef66a81229e65a727816ebda419c93399df14e9b6ba9f38a728f95a3455c1089f9 diff --git a/dev-python/autoflake/autoflake-1.4-r1.ebuild b/dev-python/autoflake/autoflake-1.4-r1.ebuild deleted file mode 100644 index b150d02e324b..000000000000 --- a/dev-python/autoflake/autoflake-1.4-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="Removes unused imports and unused variables as reported by pyflakes" -HOMEPAGE=" - https://github.com/myint/autoflake - https://pypi.org/project/autoflake/ -" -SRC_URI="https://github.com/myint/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=dev-python/pyflakes-1.1.0[${PYTHON_USEDEP}]" - -distutils_enable_tests setup.py - -python_test() { - "${EPYTHON}" test_autoflake.py || die -} diff --git a/dev-python/autoflake/autoflake-2.2.1.ebuild b/dev-python/autoflake/autoflake-2.2.1.ebuild new file mode 100644 index 000000000000..3f6b0695f998 --- /dev/null +++ b/dev-python/autoflake/autoflake-2.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi + +DESCRIPTION="Removes unused imports and unused variables from Python code" +HOMEPAGE="https://github.com/PyCQA/autoflake/ https://pypi.org/project/autoflake/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/tomli-2.0.1 + >=dev-python/pyflakes-3.0.0" + +distutils_enable_tests unittest + +src_prepare() { + sed -Ei -e '/include/,/]/ { /(test_.*|LICENSE|README)/d }' pyproject.toml || die "Sed failed :-(" + default +} + +python_test() { + # unit test + eunittest -p "test_autoflake.py" +} diff --git a/dev-python/celery/files/celery-5.3.0_beta1-sphinx-6.0.patch b/dev-python/celery/files/celery-5.3.0_beta1-sphinx-6.0.patch deleted file mode 100644 index 5d785b9c6ef3..000000000000 --- a/dev-python/celery/files/celery-5.3.0_beta1-sphinx-6.0.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 57acb4d0ecb4fcb55daf3bb2d750aa760a81eec6 Mon Sep 17 00:00:00 2001 -From: Mathias Ertl <mati@er.tl> -Date: Sat, 24 Dec 2022 10:40:19 +0100 -Subject: [PATCH] return list of nodes to make sphinx extension compatible with - Sphinx 6.0 - ---- - celery/contrib/sphinx.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/celery/contrib/sphinx.py b/celery/contrib/sphinx.py -index a3a06479ccf..a5505ff189a 100644 ---- a/celery/contrib/sphinx.py -+++ b/celery/contrib/sphinx.py -@@ -32,6 +32,7 @@ - """ - from inspect import signature - -+from docutils import nodes - from sphinx.domains.python import PyFunction - from sphinx.ext.autodoc import FunctionDocumenter - -@@ -75,7 +76,7 @@ class TaskDirective(PyFunction): - """Sphinx task directive.""" - - def get_signature_prefix(self, sig): -- return self.env.config.celery_task_prefix -+ return [nodes.Text(self.env.config.celery_task_prefix)] - - - def autodoc_skip_member_handler(app, what, name, obj, skip, options): diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index d18fd85ea154..e9444836cf54 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -1,2 +1,3 @@ DIST Chameleon-4.3.0.tar.gz 178781 BLAKE2B 8dfad0c915291a5afb87d10b17ccca00ee26468bb2ddab2bccb36a67451d52727daecb3207923785820702173bd553fa5e8e2af09c89e51cac830917dc77ce66 SHA512 4fc63b7cff2cd41030d8efe32aa723e9245a6c9197faa9be3862c433ce668998ee39adf3b4b59d3b4968341f3af4326fbb61f9c93ee3399d195c1e521525fc52 DIST Chameleon-4.4.2.tar.gz 179991 BLAKE2B 240737d20653c5787261fd12aa5e8cc6c6fb8b97498eb5716385bd5960540ff75ea4e109463f12dce060819499d355820830360f397815205f1737b03ce40286 SHA512 5cf5a86981711b2e694f5c47017e39628e8160aaa4020288b3ea87b4212e7fa0694dccae9255f6a2d314fa1e7d2e8fa1994f5587d9c07ced07abcff0361c9f01 +DIST Chameleon-4.4.3.tar.gz 178203 BLAKE2B 0946e91b4f0be618bd8d5c9c87b3517af5cf1fd1af7182d2b1a60feda876e0ba5d1f2b7de9c3b2b27f0a4615dbd346b90abf497f0a1c9e3312b4b52ac8685e98 SHA512 0b72da4b17bf2b815eef329c9a07e51d8405fe38813e025db404279888e410e7d406b314a72ed5b76a7e5416d43a075ea0b0a8971cd363d4999d73172d9583c5 diff --git a/dev-python/chameleon/chameleon-4.4.3.ebuild b/dev-python/chameleon/chameleon-4.4.3.ebuild new file mode 100644 index 000000000000..2a50115029bb --- /dev/null +++ b/dev-python/chameleon/chameleon-4.4.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast HTML/XML template compiler for Python" +HOMEPAGE=" + https://github.com/malthe/chameleon/ + https://pypi.org/project/Chameleon/ +" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +distutils_enable_tests unittest + +src_test() { + cd src || die + distutils-r1_src_test +} diff --git a/dev-python/darkdetect/darkdetect-0.8.0.ebuild b/dev-python/darkdetect/darkdetect-0.8.0.ebuild index f3a0bd3377fe..f282a92ea9dd 100644 --- a/dev-python/darkdetect/darkdetect-0.8.0.ebuild +++ b/dev-python/darkdetect/darkdetect-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/django-registration/django-registration-3.4.ebuild b/dev-python/django-registration/django-registration-3.4-r1.ebuild index 58bb37b16479..58bb37b16479 100644 --- a/dev-python/django-registration/django-registration-3.4.ebuild +++ b/dev-python/django-registration/django-registration-3.4-r1.ebuild diff --git a/dev-python/django/files/django-4.2.3-py312.patch b/dev-python/django/files/django-4.2.3-py312.patch deleted file mode 100644 index 7989f8e7cbcc..000000000000 --- a/dev-python/django/files/django-4.2.3-py312.patch +++ /dev/null @@ -1,25 +0,0 @@ -This is a hack to get the tests to pass prior to: - -[e83a88566a71a2353cebc35992c110be0f8628af] Fixed #32172 -- Adapted signals to allow async handlers. - -diff --git a/django/test/signals.py b/django/test/signals.py -index 94a5161e82..1358101b98 100644 ---- a/django/test/signals.py -+++ b/django/test/signals.py -@@ -14,6 +14,7 @@ from django.utils import timezone - from django.utils.formats import FORMAT_SETTINGS, reset_format_cache - from django.utils.functional import empty - from django.utils.module_loading import import_string -+from django.utils.version import PY312 - - template_rendered = Signal() - -@@ -183,7 +184,7 @@ def complex_setting_changed(*, enter, setting, **kwargs): - # this stacklevel shows the line containing the override_settings call. - warnings.warn( - f"Overriding setting {setting} can lead to unexpected behavior.", -- stacklevel=6, -+ stacklevel=5 if PY312 else 6, - ) - - diff --git a/dev-python/elastic-transport/Manifest b/dev-python/elastic-transport/Manifest index afc5bb6d7276..4711d1bdf5c0 100644 --- a/dev-python/elastic-transport/Manifest +++ b/dev-python/elastic-transport/Manifest @@ -1,2 +1 @@ -DIST elastic-transport-python-8.10.0.gh.tar.gz 71836 BLAKE2B 1be9a93b6b8cb9b7987de721e65ce532fb247fca931179f99dcdee197cec314a8b3626e0db569a494bab45a194530abccbfd8946d66d03c6bedfb17252a8fb3b SHA512 a883509ec8f0000c4a8aeb435d4dee1cbc4563157668c5e1378e16be9d1a5f5a16927de4df9c5244ca6f1c6f2f273ad513c2d29beaa081b11b34416da2883359 DIST elastic-transport-python-8.11.0.gh.tar.gz 71944 BLAKE2B 9f5199b171f57169e2ca9d77f225a7ad1d67cc28550a41648f37305342f2cddb2c570e0b314057e49d4a5948ceacdbfbe3d928a456ef47fd334abebbf8c6c718 SHA512 b2ab09c63e5824d8cb59ed78728e4670115eee56bb07310e4d8a083b86eace4bc2dfc0dbefc4346906338acf195b193c0f2fc99a0dc1190ac30950fbe6fbcc70 diff --git a/dev-python/elastic-transport/elastic-transport-8.10.0.ebuild b/dev-python/elastic-transport/elastic-transport-8.10.0.ebuild deleted file mode 100644 index fb36cd892132..000000000000 --- a/dev-python/elastic-transport/elastic-transport-8.10.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -MY_P=elastic-transport-python-${PV} -DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" -HOMEPAGE=" - https://github.com/elastic/elastic-transport-python/ - https://pypi.org/project/elastic-transport/ -" -SRC_URI=" - https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" -PROPERTIES="test_network" -RESTRICT="test" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/sphinx \ - dev-python/furo \ - dev-python/sphinx-autodoc-typehints -distutils_enable_tests pytest - -src_prepare() { - # unpin deps - sed -i -e 's:, *<[0-9.]*::' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # fragile to random warnings - tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off - tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -o addopts= -} diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest index 0a34761af494..06a9d19d56ff 100644 --- a/dev-python/eventlet/Manifest +++ b/dev-python/eventlet/Manifest @@ -1 +1,2 @@ DIST eventlet-0.33.3.gh.tar.gz 554578 BLAKE2B 19bcd7a5adc2ef24f2637bfd9b19e68a9a268ebb7791cc9c419d9da88e5860c4cbbf6ecbaa0f3c300246584082622e6dab7ab75374f7d54f3c4a65661e22dbfd SHA512 b2e1818c7b6134be4020d2b4315bbb3db795960df76da08a490e0d952549eafb477800c884e7a99493146c1ac082aed5fb87c7e2882ee468ea42b5cc26b8517f +DIST eventlet-0.34.2.tar.gz 539756 BLAKE2B 9090f5647bfe23d92e9a8cfe5281129192406817706223f121c6c33b6defae5a0dd5ab62c81db0bc456286452d68e927189d4737a866a76d48d74334da7b68af SHA512 4115db66dcf95e1f2f31d90de8bfefc6335ebb8a20275c4e599468e56faf854a359cd79193911095d2f27713fad28f4bdf92724fdee5fe1f8cef2b73a5621254 diff --git a/dev-python/eventlet/eventlet-0.34.2.ebuild b/dev-python/eventlet/eventlet-0.34.2.ebuild new file mode 100644 index 000000000000..edfb4812a912 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.34.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Concurrent networking library for Python" +HOMEPAGE="https://github.com/eventlet/eventlet/ + https://pypi.org/project/eventlet/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/dnspython[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + test? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +# https://github.com/eventlet/eventlet/issues/821 +EPYTEST_DESELECT=( + tests/greenio_test.py::TestGreenSocket::test_full_duplex + tests/greenio_test.py::TestGreenSocket::test_invalid_connection + tests/greenio_test.py::TestGreenSocket::test_nonblocking_accept_mark_as_reopened +) diff --git a/dev-python/frozendict/Manifest b/dev-python/frozendict/Manifest deleted file mode 100644 index d63e2694f4bf..000000000000 --- a/dev-python/frozendict/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST frozendict-2.3.8.gh.tar.gz 310193 BLAKE2B e21d278396bcc10d88dbc6d33c86027308f66c8de84015d1aa186f1f34e74e4be7c915459a694597e277aab0eaaa78fb716e51e5c0f9fba58bb1e8b8d22394bd SHA512 17f610fc12138446908dbd425b8b15d2b6b7d8ad2b41f68b9a03acbd096d173994049b86169c62b51732cacf1e19de77e58cd38edf3422413269bd9e4eb5ca6d -DIST frozendict-2.3.9.gh.tar.gz 310538 BLAKE2B 9095cc85fc25ddab23a30879a623b4e09557d7c8d27f51199913002d8dffe58e965174360e964a7f87c556d0b282c2fe6718bf01dc4483bb642db431e53dd0ce SHA512 e724c316c9c4f9c11127bd70ac9dd8e9f9012c61797ca55593b405109d09277657c1c3177183051b6f7d8f7ac86e70715a3448136c2c196db5393271a2fd4fb7 diff --git a/dev-python/frozendict/frozendict-2.3.8.ebuild b/dev-python/frozendict/frozendict-2.3.8.ebuild deleted file mode 100644 index ab6a92f123e4..000000000000 --- a/dev-python/frozendict/frozendict-2.3.8.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2022-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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="A simple immutable mapping for python" -HOMEPAGE=" - https://github.com/Marco-Sulla/python-frozendict/ - https://pypi.org/project/frozendict/ -" -SRC_URI=" - https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/python-${P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc64" - -distutils_enable_tests pytest - -python_compile() { - # This prevents the build system from ignoring build failures, sigh. - local -x CIBUILDWHEEL=1 - - distutils-r1_python_compile -} - -python_test() { - rm -rf frozendict || die - epytest -} diff --git a/dev-python/frozendict/frozendict-2.3.9.ebuild b/dev-python/frozendict/frozendict-2.3.9.ebuild deleted file mode 100644 index 5a85ac8f88fb..000000000000 --- a/dev-python/frozendict/frozendict-2.3.9.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2022-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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="A simple immutable mapping for python" -HOMEPAGE=" - https://github.com/Marco-Sulla/python-frozendict/ - https://pypi.org/project/frozendict/ -" -SRC_URI=" - https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/python-${P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" - -distutils_enable_tests pytest - -python_compile() { - # upstream provides a C extensions for python3.10 only, and errors out - # if we enable it for newer versions, so the extra effort does not seem - # to be worth it - local -x FROZENDICT_PURE_PY=1 - distutils-r1_python_compile -} diff --git a/dev-python/frozendict/metadata.xml b/dev-python/frozendict/metadata.xml deleted file mode 100644 index db5cb24eff37..000000000000 --- a/dev-python/frozendict/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>arkamar@gentoo.org</email> - <name>Petr Vaněk</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/gemcall/Manifest b/dev-python/gemcall/Manifest index 0fc276f7d2d7..2b4e45f43f33 100644 --- a/dev-python/gemcall/Manifest +++ b/dev-python/gemcall/Manifest @@ -1 +1,2 @@ DIST gemcall-0.9.1.tar.gz 4758 BLAKE2B 7ad4bb54fa4cc62f365cd4fd4b5b0fbe3c3b500a9833bc765fc5813bee3e50442573ac28a22dc68d978061826868de589bc7601625c4f7ddd6dcde1e1b50b14f SHA512 e418a77e6896361b6f632e121d544ed5e7ce8ccd93c18dab51d7a2e6771f34031729c829d04193ecc1bafa70b7bb0de5a3a2d2e0856177be3fbb6b7c6c69022e +DIST gemcall-0.9.2.tar.gz 4778 BLAKE2B e846cac6c6fe4957e2222d7cfbdd07a65588b02e988f09654e12f56f7f9f93d54cfff237ac4c29d77aa3ebc86122fbd202eb4e18fd5cdaa3f3bdc2b099cca6e3 SHA512 9c65a97557f4f536c7146ea19f8f826bfe8e08986f9adf1add6026ae4f1a85d8845efc35eccdb84015a46426c5906ee2e9f76bd18432f5d0e17fc491b1585ed0 diff --git a/dev-python/gemcall/gemcall-0.9.2.ebuild b/dev-python/gemcall/gemcall-0.9.2.ebuild new file mode 100644 index 000000000000..c6ab6026cb21 --- /dev/null +++ b/dev-python/gemcall/gemcall-0.9.2.ebuild @@ -0,0 +1,17 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="A library and CLI tool for making gemini requests" +HOMEPAGE="https://notabug.org/tinyrabbit/gemcall/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/pycryptodome[${PYTHON_USEDEP}]" diff --git a/dev-python/hachoir/Manifest b/dev-python/hachoir/Manifest index e2bca864bf6d..3f1d4f736112 100644 --- a/dev-python/hachoir/Manifest +++ b/dev-python/hachoir/Manifest @@ -1 +1,2 @@ DIST hachoir-3.2.0.gh.tar.gz 6922212 BLAKE2B d4e4b220a2495f00506e4a74882cb90abc0b20937fe6a28da1ed03e46c9ee7de004abd0ec04306a62f37c4799d78dad6bafdc70691b4d70864dd2e63979b960f SHA512 82b4271bfe8c50529b69e482205f66953c63da754220a11bb2d4ff9474d8ae81d856e639c293c4461427fc190ae53eae259c592af6844b67667d3063de955751 +DIST hachoir-3.3.0.gh.tar.gz 7905416 BLAKE2B 2125d28c932564867b37265206d5e27c9202b523ee8cb01d438aba44e6be42e76a6d2411ff72002db1a2dd28cf5561ff9c810920c88bbd8b20399007d85c3abf SHA512 8c9d6070877cedf706bec45f2813e145b3014dfc5c29d44e6c78fade165f0706cb214690e89551e4934a54c7e8e1fac1c73362fb9ada1c3d3d41f35556f43c7a diff --git a/dev-python/hachoir/hachoir-3.3.0.ebuild b/dev-python/hachoir/hachoir-3.3.0.ebuild new file mode 100644 index 000000000000..0b386265668f --- /dev/null +++ b/dev-python/hachoir/hachoir-3.3.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Hachoir is a Python library to view and edit a binary stream field by field " +HOMEPAGE="https://github.com/vstinner/hachoir/" +SRC_URI="https://github.com/vstinner/hachoir/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +distutils_enable_tests pytest diff --git a/dev-python/hatch-fancy-pypi-readme/Manifest b/dev-python/hatch-fancy-pypi-readme/Manifest index ac554e420572..c161453dd7cb 100644 --- a/dev-python/hatch-fancy-pypi-readme/Manifest +++ b/dev-python/hatch-fancy-pypi-readme/Manifest @@ -1 +1,2 @@ DIST hatch-fancy-pypi-readme-23.1.0.gh.tar.gz 27878 BLAKE2B 934e7e1b8000feb554014dd3594724943173f1b5d78d1072e5612dde744d3cea925e49e46e0eddff7408211439c9f9efc24c488e6ce73fe9955bb5bf5d851b6d SHA512 a26b8205877815292c7c65380f3fff43a3222ec5044556a29fb0b570f0822b548f8f4403cb6a800044671692806b257ecee5f9ec0f3efb597e9a5780a8885424 +DIST hatch-fancy-pypi-readme-23.2.0.gh.tar.gz 28280 BLAKE2B d868f18fc8593626792225025305a0cc3fa915cdcb041371fad1b50a8fb590f184371586265b0c038229b8332494c1cdb5818065493762920667166af084ecc7 SHA512 eb678326fc6bc440c1bd64513ca235c628eaac73c16d9272c160acc8aa116076d8ac5bcdec7176c1299d5598c3025a2dce78a17a07c456ff2973245cdf722a7e diff --git a/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-23.2.0.ebuild b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-23.2.0.ebuild new file mode 100644 index 000000000000..c943d1e31922 --- /dev/null +++ b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-23.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Fancy PyPI READMEs with Hatch" +HOMEPAGE=" + https://pypi.org/project/hatch-fancy-pypi-readme/ + https://github.com/hynek/hatch-fancy-pypi-readme/ +" +SRC_URI=" + https://github.com/hynek/hatch-fancy-pypi-readme/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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/hatchling[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fails without Internet (via pip) + tests/test_end_to_end.py +) diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/markdownify/markdownify-0.11.6.ebuild b/dev-python/markdownify/markdownify-0.11.6.ebuild index 2b250a1f7c6c..fc03553ceac9 100644 --- a/dev-python/markdownify/markdownify-0.11.6.ebuild +++ b/dev-python/markdownify/markdownify-0.11.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild b/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild index 234cee070475..f07aebe63605 100644 --- a/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild +++ b/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) # fails all tests with py3.12 PYPI_NO_NORMALIZE=1 PYPI_PN="Mastodon.py" inherit distutils-r1 optfeature pypi @@ -39,6 +39,12 @@ BDEPEND=" ) " +EPYTEST_DESELECT=( + # something related to simplejson + tests/test_notifications.py::test_notifications_dismiss_pre_2_9_2 + tests/test_status.py::test_status_card_pre_2_9_2 +) + distutils_enable_tests pytest distutils_enable_sphinx docs diff --git a/dev-python/netaddr/Manifest b/dev-python/netaddr/Manifest index 14adb6b6a5b5..9a05f7dce3cc 100644 --- a/dev-python/netaddr/Manifest +++ b/dev-python/netaddr/Manifest @@ -1 +1,2 @@ +DIST netaddr-0.10.0.tar.gz 2225176 BLAKE2B f426b55c450c3bb5204452f1299c7373e816833682d66dfcb80dae982289f295cdbb4404c107de042fdc76367c8ff832aebccbcf7b32034032c00eff7ad47d67 SHA512 120c7276c39f4d2e17265c5b09842408f7cc211035239a6fb540d538fa8d9c75cf1e201d4ae459d5319096b0c4d9c39a3f171364b2f1d2f5265d0535691fc2b3 DIST netaddr-0.9.0.tar.gz 2196428 BLAKE2B 279aea0816abfcf1efb70ac5b8593cfdea0551fd9a0cb0bf49e3247d5681c884d19aff83ab40df0e41b6549c20b66fbaba8508f0b442e0d72405c46a98365c0f SHA512 250b00a930f7180e1b4e18cb90de579733ffea9cd4ac93a3b7d2f7796b30c6b49d70da4b05ed522ebc9389600f4db8ecaed9345f7d0076632d0beae41e11c3ae diff --git a/dev-python/netaddr/netaddr-0.10.0.ebuild b/dev-python/netaddr/netaddr-0.10.0.ebuild new file mode 100644 index 000000000000..bb1a77a726cc --- /dev/null +++ b/dev-python/netaddr/netaddr-0.10.0.ebuild @@ -0,0 +1,27 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Network address representation and manipulation library" +HOMEPAGE=" + https://github.com/netaddr/netaddr/ + https://pypi.org/project/netaddr/ + https://netaddr.readthedocs.io/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "CLI support" dev-python/ipython +} diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index af0478decc36..1d574a520608 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -1,5 +1,6 @@ DIST pikepdf-8.10.0.tar.gz 2865745 BLAKE2B 088b18c1ed5df942f5efc01d1895af6417a05bb2f5e249c2ad134f282456fe9841e8fd6414005f21845aabc9a543967b1c73f41b36e3c85821f656c1fa3c5275 SHA512 5e7ce6a0a8036e9387a0e94a67cacf5276ff9e0a08d70ed523ed6c2d0da3386ac16cc315dab490c492f3ea446fd85b2ff371fe3d3979a9efd3cc784b31f46c7d DIST pikepdf-8.10.1.tar.gz 2866702 BLAKE2B a525b348bfd144623233f83cd194d0fbe3385d48242bd730fd00c2e660ffffe5d19eaf39d306824a6bc835f7ca9660459efa8a69135f86278ddc3271a05d1a24 SHA512 aad1135cbff9513a0a572aa35d8f408188573271c7f62473b4a0a8a86795587351240dddb53db59a4eb7a065b0a0921ffca1c6d1af5b8e48dc6beb9968f000d3 +DIST pikepdf-8.11.1.tar.gz 2869234 BLAKE2B ec8c5d0ccae1c24a08ba685f1c7ce81ed7ff98bfe0172ee32cd7a2aa7e0844c1b85d6a27bb911eeefc1b49866f68163e0bb51f81e41ccd1c00d27cb9851cf5bd SHA512 1651d02af9bbce9c9c7a9622df46b6b0c92b87d13bb4fdd63da795ea14baf6ce69d035e90b4ac17da4d0876cbd256c349a9be4cffe87796f169b79d50b1c893c DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa DIST pikepdf-8.7.1.tar.gz 2860480 BLAKE2B fa06667947d0166e8597e4fa757ffa96eb69ed3fe2dfd4a54e515678f55afd15a0e2dfcd571fabc933423f0696725d623b0fb9f95cb8ca8633a6581a7957c25d SHA512 3adc075244eb66e0aa4b18882c2ede598b26a40c56497628a8262f82c8ec72af25b4c97ded0771a8e0ec7bb1e7537ec4e172505fd30271a995491361bf17277f DIST pikepdf-8.8.0.tar.gz 2865070 BLAKE2B 78c26c577db858c27a1aa632c0e93a955eafc76f3e5928a5d4862408a71c02b66325e51728e81a5d6bd571655b2c96468592b3c591993e4cf6ecfa28fd997a89 SHA512 91bdf67a800c18559172c7a253859e6e5ef443b0f6e2d2f3af21042db2640f9d96a8fb5764e6ddd64ace248788e32b071ed624c95a6a0557ba19dc6fc33fdf76 diff --git a/dev-python/pikepdf/pikepdf-8.11.1.ebuild b/dev-python/pikepdf/pikepdf-8.11.1.ebuild new file mode 100644 index 000000000000..581808f5428d --- /dev/null +++ b/dev-python/pikepdf/pikepdf-8.11.1.ebuild @@ -0,0 +1,67 @@ +# 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python library to work with pdf files based on qpdf" +HOMEPAGE=" + https://github.com/pikepdf/pikepdf/ + https://pypi.org/project/pikepdf/ +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as +# https://qpdf.readthedocs.io/en/stable/release-notes.html. +DEPEND=" + >=app-text/qpdf-11.7.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/deprecated[${PYTHON_USEDEP}] + >=dev-python/lxml-4.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pybind11-2.10.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] + >=dev-python/psutil-5.9[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile to system load + tests/test_image_access.py::test_random_image +) + +src_prepare() { + sed -e '/-n auto/d' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} diff --git a/dev-python/portion/Manifest b/dev-python/portion/Manifest index 6807c005cd43..a4d0f4a6d039 100644 --- a/dev-python/portion/Manifest +++ b/dev-python/portion/Manifest @@ -1,2 +1,2 @@ -DIST portion-2.4.0.tar.gz 52866 BLAKE2B 5ce5d1ce35f5847eef1e7192eb04195e2c2ec25dfccee18b63073dd00d9950d1acd0b346e07dfbfbc5e09f9d5ac557066739e8d1da3c992b4b0d73965692e61f SHA512 6134fb5d32c08f5424f65ce88f721f93deaedcae9a7b5fa7380eb27dadf83f7df9b22c8577b9d1c54409dd7d3ae91f11d88214d4d8146682fcdf0f1a0a26d8a4 DIST portion-2.4.1.tar.gz 52894 BLAKE2B bdb5c387c9ab6ee0fec9e4aea71be40a51cc1f9be6f40b1f71389947e6e60f84c7f2a89e0d617923b835e72e524b80f8f2fbcdb14895a5307d09ee3d67fd01f0 SHA512 72181519dcadae036025be36fde63bd70ab7e7fa448400dd91e639e8eef5bc70b2ad490cd48a882d1b2be0cdc04f57cd63de44690181462f31afe771108f5c51 +DIST portion-2.4.2.tar.gz 53011 BLAKE2B a91264c1abc065d29942d292819d14a6d7f49c66782f2453a17762106af8be3ca156901bc808ca62a30688a4dcc74e134e4ee9ee9199682fd425511951713423 SHA512 ae5ed99f89d066eee4c97fda2b395bdbde153064e9582f3cc425c7a0f728b3f07ab703ce57708be835486a61eaaee242496ce0caeb3df0262a27fa627b59b54e diff --git a/dev-python/portion/portion-2.4.0.ebuild b/dev-python/portion/portion-2.4.2.ebuild index a9d4e3881b25..531102582d86 100644 --- a/dev-python/portion/portion-2.4.0.ebuild +++ b/dev-python/portion/portion-2.4.2.ebuild @@ -9,7 +9,9 @@ DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="A Python library providing data structure and operations for intervals." -HOMEPAGE="https://github.com/AlexandreDecan/portion" +HOMEPAGE="https://github.com/AlexandreDecan/portion + https://pypi.org/project/portion/ +" LICENSE="LGPL-3" SLOT="0" diff --git a/dev-python/pure-protobuf/files/pure-protobuf-do-not-install-tests.patch b/dev-python/pure-protobuf/files/pure-protobuf-do-not-install-tests.patch deleted file mode 100644 index 6da5a8db4194..000000000000 --- a/dev-python/pure-protobuf/files/pure-protobuf-do-not-install-tests.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/setup.py b/setup.py -index deb6c95..2ae6c69 100644 ---- a/setup.py -+++ b/setup.py -@@ -9,7 +9,7 @@ setup( - author='Pavel Perestoronin', - author_email='eigenein@gmail.com', - url='https://github.com/eigenein/protobuf', -- packages=find_packages(exclude=['tests']), -+ packages=find_packages(exclude=['tests*']), - zip_safe=True, - install_requires=[ - 'dataclasses>=0.6,<1.0; python_version < "3.7"', diff --git a/dev-python/pycryptodome/Manifest b/dev-python/pycryptodome/Manifest index bc2bf065d8c2..9447883fe3c6 100644 --- a/dev-python/pycryptodome/Manifest +++ b/dev-python/pycryptodome/Manifest @@ -1,2 +1 @@ -DIST pycryptodome-3.19.0.gh.tar.gz 17153954 BLAKE2B 5ecaacce490e5eec052d632b1427a4e36ba19a863c28934f53f247b945bb32a1367aeaf1b8669018978bd19d53c28a00f711158c6be014779c47c48f263b2e8c SHA512 1afa71336da38efb32f79d87b442a1d50537a6908ec153be7a087027a8540cebabab12922557c92e501f2d6da5c2f35466d3bbe6a3de44540de7278069691290 DIST pycryptodome-3.19.1.gh.tar.gz 17158420 BLAKE2B 2180bb37e2295f0499c6d00237207513ad6c186ff8fd8fac466cc43efa9b068cf8a272b5ae30da08d37db88d354d41c0b426643743251ea8460abb6ff627e3be SHA512 103910b385578732e356145247d3c1a4a3b0fe8acf22ce91f1c1155500cce2342e5caa0dff0a30825b11d7a614853c2dcb8657628f4d65682f6e543adb4db240 diff --git a/dev-python/pycryptodome/files/pycryptodome-3.19.0-fix-verbosity-in-tests.patch b/dev-python/pycryptodome/files/pycryptodome-3.19.0-fix-verbosity-in-tests.patch deleted file mode 100644 index 7d54e5e4c2a7..000000000000 --- a/dev-python/pycryptodome/files/pycryptodome-3.19.0-fix-verbosity-in-tests.patch +++ /dev/null @@ -1,120 +0,0 @@ -https://github.com/Legrandin/pycryptodome/issues/765 -https://github.com/Legrandin/pycryptodome/commit/87ff66373a5b80cddc9b0dd76e9bb8c15f6a8e50 - -From 87ff66373a5b80cddc9b0dd76e9bb8c15f6a8e50 Mon Sep 17 00:00:00 2001 -From: Helder Eijs <helderijs@gmail.com> -Date: Sun, 17 Sep 2023 23:32:02 +0200 -Subject: [PATCH] Fix verbosity problem in tests - ---- a/lib/Crypto/SelfTest/Protocol/test_ecdh.py -+++ b/lib/Crypto/SelfTest/Protocol/test_ecdh.py -@@ -72,6 +72,8 @@ def ecdh_test_rev(self, - - class TestVectorsECDHWycheproof(unittest.TestCase): - -+ desc = "Wycheproof ECDH tests" -+ - def add_tests(self, filename): - - def curve(g): -@@ -107,7 +109,6 @@ def shortDescription(self): - return self.desc - - def test_verify(self, tv): -- self._id = "Wycheproof ECDH Verify Test #%d (%s, %s)" % (tv.id, tv.comment, tv.filename) - - if len(tv.public) == 0: - return -@@ -138,7 +139,7 @@ def test_verify(self, tv): - - def runTest(self): - for tv in self.tv: -- self.desc = "Test #%d (%s) - %s" % (tv.id, tv.filename, tv.comment) -+ self.desc = "Wycheproof ECDH Verify Test #%d (%s, %s)" % (tv.id, tv.comment, tv.filename) - self.test_verify(tv) - - ---- a/lib/Crypto/SelfTest/__init__.py -+++ b/lib/Crypto/SelfTest/__init__.py -@@ -28,18 +28,19 @@ - application runs. - """ - --__revision__ = "$Id$" -- - import sys - import unittest -+from importlib import import_module - from Crypto.Util.py3compat import StringIO - -+ - class SelfTestError(Exception): - def __init__(self, message, result): - Exception.__init__(self, message, result) - self.message = message - self.result = result - -+ - def run(module=None, verbosity=0, stream=None, tests=None, config=None, **kwargs): - """Execute self-tests. - -@@ -77,21 +78,25 @@ def run(module=None, verbosity=0, stream=None, tests=None, config=None, **kwargs - raise SelfTestError("Self-test failed", result) - return result - -+ - def get_tests(config={}): - tests = [] -- from Crypto.SelfTest import Cipher; tests += Cipher.get_tests(config=config) -- from Crypto.SelfTest import Hash; tests += Hash.get_tests(config=config) -- from Crypto.SelfTest import Protocol; tests += Protocol.get_tests(config=config) -- from Crypto.SelfTest import PublicKey; tests += PublicKey.get_tests(config=config) -- from Crypto.SelfTest import Random; tests += Random.get_tests(config=config) -- from Crypto.SelfTest import Util; tests += Util.get_tests(config=config) -- from Crypto.SelfTest import Signature; tests += Signature.get_tests(config=config) -- from Crypto.SelfTest import IO; tests += IO.get_tests(config=config) -- from Crypto.SelfTest import Math; tests += Math.get_tests(config=config) -+ -+ module_names = [ -+ "Cipher", "Hash", "Protocol", "PublicKey", "Random", -+ "Util", "Signature", "IO", "Math", -+ ] -+ -+ for name in module_names: -+ module = import_module("Crypto.SelfTest." + name) -+ tests += module.get_tests(config=config) -+ - return tests - -+ - if __name__ == '__main__': -- suite = lambda: unittest.TestSuite(get_tests()) -+ def suite(): -+ return unittest.TestSuite(get_tests()) - unittest.main(defaultTest='suite') - - # vim:set ts=4 sw=4 sts=4 expandtab: ---- a/lib/Crypto/SelfTest/__main__.py -+++ b/lib/Crypto/SelfTest/__main__.py -@@ -26,7 +26,7 @@ - - from Crypto import SelfTest - --slow_tests = not "--skip-slow-tests" in sys.argv -+slow_tests = not ("--skip-slow-tests" in sys.argv) - if not slow_tests: - print("Skipping slow tests") - -@@ -34,5 +34,10 @@ - if wycheproof_warnings: - print("Printing Wycheproof warnings") - --config = {'slow_tests' : slow_tests, 'wycheproof_warnings' : wycheproof_warnings } --SelfTest.run(stream=sys.stdout, verbosity=1, config=config) -+if "-v" in sys.argv: -+ verbosity=2 -+else: -+ verbosity=1 -+ -+config = {'slow_tests': slow_tests, 'wycheproof_warnings': wycheproof_warnings} -+SelfTest.run(stream=sys.stdout, verbosity=verbosity, config=config) diff --git a/dev-python/pycryptodome/pycryptodome-3.19.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.19.0.ebuild deleted file mode 100644 index 75f81d3d5bf7..000000000000 --- a/dev-python/pycryptodome/pycryptodome-3.19.0.ebuild +++ /dev/null @@ -1,61 +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_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="A self-contained cryptographic library for Python" -HOMEPAGE=" - https://www.pycryptodome.org/ - https://github.com/Legrandin/pycryptodome/ - https://pypi.org/project/pycryptodome/ -" -SRC_URI=" - https://github.com/Legrandin/pycryptodome/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD-2 Unlicense" -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" - -DEPEND=" - dev-libs/gmp:= - >=dev-libs/libtomcrypt-1.18.2-r1:= -" -BDEPEND=" - $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') -" -RDEPEND=" - ${DEPEND} - ${BDEPEND} -" - -PATCHES=( - "${FILESDIR}/pycryptodome-3.10.1-system-libtomcrypt.patch" - "${FILESDIR}/pycryptodome-3.19.0-fix-verbosity-in-tests.patch" -) - -python_prepare_all() { - # make sure we're unbundling it correctly - rm -r src/libtom || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTHONPATH=${S}/test_vectors:${PYTHONPATH} - "${EPYTHON}" - <<-EOF || die - import sys - from Crypto import SelfTest - SelfTest.run(verbosity=2, stream=sys.stdout) - EOF - - # TODO: run cmake tests from src/test? -} diff --git a/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild b/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild index b5a09da4ca76..290663d2314a 100644 --- a/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild +++ b/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pydot/Manifest b/dev-python/pydot/Manifest index cddb02660c60..91b87540c67e 100644 --- a/dev-python/pydot/Manifest +++ b/dev-python/pydot/Manifest @@ -1 +1,2 @@ DIST pydot-1.4.2.gh.tar.gz 272678 BLAKE2B 966f2c4ef3e26a63cc50ab89b5b6b5b413aabdfeddf994f2d5ba9dedaa1ed3152dd8060186e7380c3e768b783f7bfe1971cd600c18d1b73f7ac63db08ee3ace9 SHA512 caa8051561710129b5164fd1392da941829fd977092a6ec8b00efe7a199d2d60bc7ef13cb0e51615f384550f0fb80190d0f56b83d8d80d1fe372efb5dbbd3632 +DIST pydot-2.0.0.gh.tar.gz 275188 BLAKE2B 58f1598196861795bd44c6b97683e0c37b3c05e848a69d42a3fc898849f272466c989e7ff72e0be22a322a1e92c31c6b76a9317e56f3ec26743c20801daf8bfd SHA512 09102930a59ac4339e1d1e4f7a9d075f99eda6cb060885631a72f1fded90d001bd02940b55addc0c92856e95321cb3b344a1797b4809ac7c9048ac57c81d4707 diff --git a/dev-python/pydot/pydot-2.0.0.ebuild b/dev-python/pydot/pydot-2.0.0.ebuild new file mode 100644 index 000000000000..9320beb09751 --- /dev/null +++ b/dev-python/pydot/pydot-2.0.0.ebuild @@ -0,0 +1,42 @@ +# 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to Graphviz's Dot language" +HOMEPAGE=" + https://github.com/pydot/pydot/ + https://pypi.org/project/pydot/ +" +# pypi releases don't include tests +SRC_URI=" + https://github.com/pydot/pydot/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + media-gfx/graphviz +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/chardet[${PYTHON_USEDEP}] + ) +" + +python_test() { + cd test || die + local -x PYTHONPATH="${BUILD_DIR}/install$(python_get_sitedir)" + "${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}" +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 48d80c7ade70..988f7bfa4567 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,2 +1,3 @@ DIST pymdown_extensions-10.5.tar.gz 788318 BLAKE2B cf6834a848a0276d636b75df33c3ec0bcc0988a02b2d9d7d2086a0104a3f105e080fa2acaab36c010f997f351c89c61adb165152ee3b0467ee8a41da71603abf SHA512 f574fe45a8b8b30ad51e1f6b1a1ce60a65a10e560f9f5c6db6a487309acf2d65e28d79c7edad4f58192ddbda9546fd50e279e08efcbc1c2eb707de0a84696225 DIST pymdown_extensions-10.6.tar.gz 790597 BLAKE2B 6ed0ed82771d1e6e9aaf2bf0c005aeaa8da41af5b48c1ba385f0c46c9af986c039518a9576192126a584007b23b7689b70849fdd2b590fac9b31a6a042a710e3 SHA512 ae081621fc090eb9de0a92b265f43eb355c09a595098301d2d64f6d2cd7129c14264450162b24bf41076da3a64a5151b5db3fad85a33ff23120b2aa3a775efc6 +DIST pymdown_extensions-10.7.tar.gz 811535 BLAKE2B d933fa172e34e4d36956d8db385865939519f3cc8c5eecc3e132e4d2730910edf8df40ff52183caad26a5ea7613230fe55f09ca8e74a0911b4bbc039b2160ed3 SHA512 1fd1514dc2d322de42b077f90c9e328b6359f34904339deaaed699278c41ea464c793a3a794337d7bb634e2eca4411d54553005a3e5b0d8e31444feeb9e9a0db diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild new file mode 100644 index 000000000000..93b704c670cf --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.5[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pymorphy3-dicts-ru/pymorphy3-dicts-ru-2.4.417150.4580142.ebuild b/dev-python/pymorphy3-dicts-ru/pymorphy3-dicts-ru-2.4.417150.4580142.ebuild index 68fb56d521d2..b6121a1fd96f 100644 --- a/dev-python/pymorphy3-dicts-ru/pymorphy3-dicts-ru-2.4.417150.4580142.ebuild +++ b/dev-python/pymorphy3-dicts-ru/pymorphy3-dicts-ru-2.4.417150.4580142.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=bdepend +DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/pymorphy3-dicts-uk/pymorphy3-dicts-uk-2.4.1.1.1663094765.ebuild b/dev-python/pymorphy3-dicts-uk/pymorphy3-dicts-uk-2.4.1.1.1663094765.ebuild index b547ed185d55..22078aebdcaa 100644 --- a/dev-python/pymorphy3-dicts-uk/pymorphy3-dicts-uk-2.4.1.1.1663094765.ebuild +++ b/dev-python/pymorphy3-dicts-uk/pymorphy3-dicts-uk-2.4.1.1.1663094765.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=bdepend +DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi diff --git a/dev-python/pymorphy3/pymorphy3-1.2.0.ebuild b/dev-python/pymorphy3/pymorphy3-1.2.0.ebuild index 018e6ee5c0c5..7bdd465763e8 100644 --- a/dev-python/pymorphy3/pymorphy3-1.2.0.ebuild +++ b/dev-python/pymorphy3/pymorphy3-1.2.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -DISTUTILS_USE_SETUPTOOLS=bdepend +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="Morphological analyzer (POS tagger + inflection engine) for Russian language." diff --git a/dev-python/pypy3_10/pypy3_10-7.3.14.ebuild b/dev-python/pypy3_10/pypy3_10-7.3.14-r1.ebuild index 723a5ebe36a9..8bc0e2eb6b6d 100644 --- a/dev-python/pypy3_10/pypy3_10-7.3.14.ebuild +++ b/dev-python/pypy3_10/pypy3_10-7.3.14-r1.ebuild @@ -56,6 +56,10 @@ src_prepare() { local PATCHES=( "${WORKDIR}/${PATCHSET}" ) + + # typo + mv lib_pypy/cffi{.,-}1.16.0.dist-info || die + default } diff --git a/dev-python/pyqtdarktheme/pyqtdarktheme-2.1.0.ebuild b/dev-python/pyqtdarktheme/pyqtdarktheme-2.1.0.ebuild index 62ef86485ccb..8516fece7fff 100644 --- a/dev-python/pyqtdarktheme/pyqtdarktheme-2.1.0.ebuild +++ b/dev-python/pyqtdarktheme/pyqtdarktheme-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index fad24f911225..eec94951148c 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -1,2 +1,3 @@ DIST pytest-7.4.2.tar.gz 1354640 BLAKE2B 3929631bae67c5bfa86c12850c48549b6e545512b3d37d821b48f69adaa8ef057d8cfac4426c047746d9c80e7e3515cc45018744f2155805b5381e7e43cd1b12 SHA512 6f68b7e2bf6a14fbe89a452706b25c4afda69de2c0f78da9c03cf8795d1795d9bdaaff26ba5bc93931c1a04c1472a4eba58bb9774f81116419526413eb1fed4f DIST pytest-7.4.3.tar.gz 1356179 BLAKE2B 2f4fd893aaf9867f20548eababc7aac6f4978253bcc4a35c50f7e2327a48458bc184f2340764ee7fed3dd02bc779ed03f084a0d8839a18f614d32245888c4f56 SHA512 1b80e9b7e0ba8fe966d6658aa72d49d101190f255acd9eb81d66142327535b7108c921055d8fe3e330e3ff4163aa03d7c67b2807d433dd9e1799be6a59b208c9 +DIST pytest-7.4.4.tar.gz 1357116 BLAKE2B 0bf281b3d4b7b2eb7805423a75c8c2befa820cc230318511e5a2d5ea35321a78a2603d5dbc033414ed73171525371efa9d9f54083d5638fc752c1c218e6d53aa SHA512 28a259dac6739683c131993409d508e10fbfee461291b8fc7697dd83f30725a3c60e681ba00b5669a215af6a5e683f07a329485d780acc9ad0372a6552f783a1 diff --git a/dev-python/pytest/pytest-7.4.4.ebuild b/dev-python/pytest/pytest-7.4.4.ebuild new file mode 100644 index 000000000000..82854fbcdb48 --- /dev/null +++ b/dev-python/pytest/pytest-7.4.4.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE=" + https://pytest.org/ + https://github.com/pytest-dev/pytest/ + https://pypi.org/project/pytest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/iniconfig[${PYTHON_USEDEP}] + >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +PATCHES=( + # https://github.com/pytest-dev/pytest/pull/11638 + "${FILESDIR}/${PN}-7.4.3-no-color.patch" +) + +src_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # times out + testing/test_debugging.py::TestPDB::test_pdb_interaction_exception + ) + + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + + epytest -p xdist -n "$(makeopts_jobs)" +} diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index da126c357e7b..39061f3201fd 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1,2 +1,3 @@ DIST python-dbusmock-0.30.0.tar.gz 98201 BLAKE2B eb519dc526d4e3ab804c3415d223d77462e944bac8d03dd64fbe11f8a5d875ebad1643230b93d1d51cd4a979eed24e6b97d0744b115d28d233b4d1239ec04f01 SHA512 280a8ebfe12a0f5b309d5b807547ed521c80c9899fdc89abaaee238621cf94d05f8413ab2908ca331f9d3ef1c610234dafbd912f8590f18c7d9cafe470beece6 DIST python-dbusmock-0.30.1.tar.gz 98206 BLAKE2B e7617e61f2dcd28ba01f5a4572250f1be756640a7751353c5adabc7539897a8f2dce1bf0f0233ed6dec52703d0cf989ff0dbdc3a526a299691f94ee227a3167a SHA512 dfa27c94d71e132ef56615cc02f2f9733ca55366b5e88f023ddc594b39c2239b460389e4b53981493d627e8c117542fa5ec82f0f4ec407ed6e825e30f5d206ae +DIST python-dbusmock-0.30.2.tar.gz 98188 BLAKE2B bfcac761933c2d433ddc7b53ca87ceb395dba23b73fc4478e0317cf1da6693b3b55cd7d5ca814425d74714f8b7544255f07a536fe7c1a1949dee30996a2761a0 SHA512 a34c4660fe50b9551274626b19959dbe985e112429d2eb68811f3cc37cc017f8171eac2e2b8c262874678e24f7fb3d1f39410cd977b59f501973de19b6ca3a13 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.30.2.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.30.2.ebuild new file mode 100644 index 000000000000..969f1d3f64ec --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.30.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE=" + https://github.com/martinpitt/python-dbusmock/ + https://pypi.org/project/python-dbusmock/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # linter tests, fragile to newer linter versions + tests/test_code.py +) + +src_prepare() { + # dev-python/dbus-python uses autotools, so no .dist-info there + sed -i '/dbus-python/d' pyproject.toml setup.cfg || die + + distutils-r1_src_prepare +} + +python_test() { + # Tests break if XDG_DATA_DIRS is modified by flatpak install + unset XDG_DATA_DIRS + distutils-r1_python_test +} diff --git a/dev-python/python-lsp-mypy/Manifest b/dev-python/python-lsp-mypy/Manifest new file mode 100644 index 000000000000..a8e291f18194 --- /dev/null +++ b/dev-python/python-lsp-mypy/Manifest @@ -0,0 +1 @@ +DIST python-lsp-mypy-0.6.8.gh.tar.gz 13731 BLAKE2B 34bae285bfee66ac4caafab16cf04b63f2d60be825e083b7e8d26444bd7d11cc799e96a4cb33dff1c68dc4bc4ba7e361c097f402c096ab8d1b5708b930ee59df SHA512 dca528c04cbe09dac34a666541cd9a3739e9d27842191224aaba37593e672766860fccd48d6f7e81a2435e9c862b86bedbe6f1357831eef3ccf1282e478e3a98 diff --git a/dev-python/python-lsp-mypy/metadata.xml b/dev-python/python-lsp-mypy/metadata.xml new file mode 100644 index 000000000000..6ce507c50648 --- /dev/null +++ b/dev-python/python-lsp-mypy/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>moritz.brunner+gentoo@posteo.de</email> + <name>Moritz Brunner</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild b/dev-python/python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild new file mode 100644 index 000000000000..4ea444f380a3 --- /dev/null +++ b/dev-python/python-lsp-mypy/python-lsp-mypy-0.6.8.ebuild @@ -0,0 +1,34 @@ +# 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_{8,9,10,11,12} ) + +MY_PN="pylsp-mypy" + +inherit distutils-r1 + +DESCRIPTION="Mypy plugin for the Python LSP Server" +HOMEPAGE=" + https://github.com/python-lsp/pylsp-mypy + https://pypi.org/project/pylsp-mypy/ +" +SRC_URI=" + https://github.com/python-lsp/${MY_PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/python-lsp-server-1.7.0[${PYTHON_USEDEP}] + >=dev-python/mypy-0.981[${PYTHON_USEDEP}] + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/python-olm/python-olm-3.2.16.ebuild b/dev-python/python-olm/python-olm-3.2.16.ebuild index 8f3bbdee36f2..1931a42d6b72 100644 --- a/dev-python/python-olm/python-olm-3.2.16.ebuild +++ b/dev-python/python-olm/python-olm-3.2.16.ebuild @@ -5,6 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 inherit distutils-r1 DESCRIPTION="Python bindings for dev-libs/olm" @@ -27,8 +28,6 @@ BDEPEND=" test? ( dev-python/aspectlib[${PYTHON_USEDEP}] ) " -DOCS=( README-python.md ) - EPYTEST_DESELECT=( # disable benchmarks tests/group_session_test.py::TestClass::test_encrypt diff --git a/dev-python/qdarkstyle/Manifest b/dev-python/qdarkstyle/Manifest index 3d4fef3c07b8..bf4e488071e5 100644 --- a/dev-python/qdarkstyle/Manifest +++ b/dev-python/qdarkstyle/Manifest @@ -1,4 +1 @@ -DIST QDarkStyle-3.1.tar.gz 698602 BLAKE2B 8c96b2dd5532c9db0c1d813fe0cf049b7cf55ef6469d2ebb21b5ea85fe6ecd23e8a247c45f45cfa674f8012a4a03ea377df8cb7efac8f13c079e2512091ecdc7 SHA512 275fe333bcf2502f8f1ef61eca3f82d8909e760e8f88a1605157c5043cb1e4cad97bbb8ddb0464ef2125c1b70f318bfa8f0106d2721d6b9862c162b5f716aa4b -DIST QDarkStyle-3.2.1.tar.gz 681590 BLAKE2B 837b56ca96be3a03cc94840c7b70df3c6ef98d9edb7ec2d590dc82a06eef93c7d436746284e6d80e0d87212184ed67725bd40a87242ffae87f2afcaf311bb96e SHA512 435c836c9f5d61345cd9b37c151a990d1abb8c79505820cfb62ed4134f43511825a44709364bd8044e0f3acc9d63e1ccf65984334165707f9b28739f6745df50 -DIST QDarkStyle-3.2.2.tar.gz 698131 BLAKE2B 98fa7684fb97c1a719b73f893b0d32fcbfb6453f62847bf40a3f92794b1f24c5396c988cff0aa3cbe877615c9762522c911afb15b1765335d9c1ff34a3217d91 SHA512 e0f428565280b453af49f12f2c3298fe1d5d78358acfe350d6cbb4d5780a851ab4d10016d2a5836292218e4d114d0c021ac67d0a3b1b62441c32b779275e66b7 DIST QDarkStyle-3.2.3.tar.gz 700957 BLAKE2B be58444ad99dc4814b722aa9ef2b7cf30d8ce92926db60d063cfa3d6ee923de922db2752182ccbf5d6de0f0cf4a29b1fe4085822910e7ddc4ad44e91ec6b5d13 SHA512 185d04c89d002da67f63c71b7da1cb13fa941bf75271b089d3d67bcc33011e5c5dcdac6a51854d99711070230596f2cd5c40f7ed2ff99b3ae1fde62fbe260edf diff --git a/dev-python/qdarkstyle/qdarkstyle-3.1.ebuild b/dev-python/qdarkstyle/qdarkstyle-3.1.ebuild deleted file mode 100644 index eedeec7a4caa..000000000000 --- a/dev-python/qdarkstyle/qdarkstyle-3.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN="QDarkStyle" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="A dark style sheet for QtWidgets application" -HOMEPAGE=" - https://github.com/ColinDuquesnoy/QDarkStyleSheet/ - https://pypi.org/project/QDarkStyle/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/QtPy-1.9[gui,${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - dev-python/qtsass[${PYTHON_USEDEP}] - dev-python/watchdog[${PYTHON_USEDEP}] - >=dev-python/QtPy-1.9[gui,testlib,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature "Retrieve detailed system information and report bugs upstream" dev-python/helpdev - optfeature "qdarkstyle.utils" dev-python/qtsass dev-python/watchdog -} diff --git a/dev-python/qdarkstyle/qdarkstyle-3.2.1.ebuild b/dev-python/qdarkstyle/qdarkstyle-3.2.1.ebuild deleted file mode 100644 index 171c33062fdb..000000000000 --- a/dev-python/qdarkstyle/qdarkstyle-3.2.1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN="QDarkStyle" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="A dark style sheet for QtWidgets application" -HOMEPAGE=" - https://github.com/ColinDuquesnoy/QDarkStyleSheet/ - https://pypi.org/project/QDarkStyle/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/QtPy-2.0.0[gui,${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - dev-python/qtsass[${PYTHON_USEDEP}] - dev-python/watchdog[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.0.0[gui,testlib,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature "Retrieve detailed system information and report bugs upstream" dev-python/helpdev - optfeature "qdarkstyle.utils" dev-python/qtsass dev-python/watchdog -} diff --git a/dev-python/qdarkstyle/qdarkstyle-3.2.2.ebuild b/dev-python/qdarkstyle/qdarkstyle-3.2.2.ebuild deleted file mode 100644 index 171c33062fdb..000000000000 --- a/dev-python/qdarkstyle/qdarkstyle-3.2.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN="QDarkStyle" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="A dark style sheet for QtWidgets application" -HOMEPAGE=" - https://github.com/ColinDuquesnoy/QDarkStyleSheet/ - https://pypi.org/project/QDarkStyle/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/QtPy-2.0.0[gui,${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - dev-python/qtsass[${PYTHON_USEDEP}] - dev-python/watchdog[${PYTHON_USEDEP}] - >=dev-python/QtPy-2.0.0[gui,testlib,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature "Retrieve detailed system information and report bugs upstream" dev-python/helpdev - optfeature "qdarkstyle.utils" dev-python/qtsass dev-python/watchdog -} diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index 2e7219df31bc..a5485bafa6a3 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1,2 +1 @@ DIST scrapy-2.11.0.tar.gz 1373184 BLAKE2B 7fc758a729d9e9f88c89e30c503ff8bf4c2e111bc00cbd003d5f8785dc818e5ef69ae3774013c4fe27db623c1246a57d57db097cf5220b257a9632bdd29b7023 SHA512 08da9684f4312e4149929f3785cc516207070fdd0eb99d8b7ed3276095378cc71d18534d0535fd1107af442aed42d6c91792ad7749d631b5f54522c3912ce073 -DIST scrapy-2.8.0.tar.gz 1345516 BLAKE2B 9a02d50cfde6c829e6c9064f29b75de4fb97139759b7822e20914ad3edfae104df3b4d65452f58bae6f4b7af4407ed87c6dc59000e5285e823637e54f1412102 SHA512 c758e8aad459aad5f447e6e721afd3c8e8f5743c8a0961d7562ecea9735444a2a2b7fd1b4c443fd3623fcb9bd3db5fdd108aa6fe7fa629a36229a3175eabac7d diff --git a/dev-python/scrapy/files/scrapy-2.11.0-lift-twisted-restriction.patch b/dev-python/scrapy/files/scrapy-2.11.0-lift-twisted-restriction.patch new file mode 100644 index 000000000000..c3ef23287087 --- /dev/null +++ b/dev-python/scrapy/files/scrapy-2.11.0-lift-twisted-restriction.patch @@ -0,0 +1,99 @@ +Backport commits 720f351a3eea5e5bfa83a6eaf50210cd1fa43992^..0630e4aaa10c3fb8c79c2542a229f5c0632cddde. +At the time of writing, ::gentoo no longer has <dev-python/twisted-23.8.0. +These commits refactor the signal handling logic to support newer versions of Twisted. + +Author: Lucio Sauer <watermanpaint@posteo.net> +--- a/scrapy/crawler.py ++++ b/scrapy/crawler.py +@@ -404,8 +404,8 @@ class CrawlerProcess(CrawlerRunner): + :param bool stop_after_crawl: stop or not the reactor when all + crawlers have finished + +- :param bool install_signal_handlers: whether to install the shutdown +- handlers (default: True) ++ :param bool install_signal_handlers: whether to install the OS signal ++ handlers from Twisted and Scrapy (default: True) + """ + from twisted.internet import reactor + +@@ -416,15 +416,17 @@ class CrawlerProcess(CrawlerRunner): + return + d.addBoth(self._stop_reactor) + +- if install_signal_handlers: +- install_shutdown_handlers(self._signal_shutdown) + resolver_class = load_object(self.settings["DNS_RESOLVER"]) + resolver = create_instance(resolver_class, self.settings, self, reactor=reactor) + resolver.install_on_reactor() + tp = reactor.getThreadPool() + tp.adjustPoolsize(maxthreads=self.settings.getint("REACTOR_THREADPOOL_MAXSIZE")) + reactor.addSystemEventTrigger("before", "shutdown", self.stop) +- reactor.run(installSignalHandlers=False) # blocking call ++ if install_signal_handlers: ++ reactor.addSystemEventTrigger( ++ "after", "startup", install_shutdown_handlers, self._signal_shutdown ++ ) ++ reactor.run(installSignalHandlers=install_signal_handlers) # blocking call + + def _graceful_stop_reactor(self) -> Deferred: + d = self.stop() +--- a/scrapy/utils/ossignal.py ++++ b/scrapy/utils/ossignal.py +@@ -19,13 +19,10 @@ def install_shutdown_handlers( + function: SignalHandlerT, override_sigint: bool = True + ) -> None: + """Install the given function as a signal handler for all common shutdown +- signals (such as SIGINT, SIGTERM, etc). If override_sigint is ``False`` the +- SIGINT handler won't be install if there is already a handler in place +- (e.g. Pdb) ++ signals (such as SIGINT, SIGTERM, etc). If ``override_sigint`` is ``False`` the ++ SIGINT handler won't be installed if there is already a handler in place ++ (e.g. Pdb) + """ +- from twisted.internet import reactor +- +- reactor._handleSignals() + signal.signal(signal.SIGTERM, function) + if signal.getsignal(signal.SIGINT) == signal.default_int_handler or override_sigint: + signal.signal(signal.SIGINT, function) +--- a/scrapy/utils/testproc.py ++++ b/scrapy/utils/testproc.py +@@ -2,7 +2,7 @@ from __future__ import annotations + + import os + import sys +-from typing import Iterable, Optional, Tuple, cast ++from typing import Iterable, List, Optional, Tuple, cast + + from twisted.internet.defer import Deferred + from twisted.internet.error import ProcessTerminated +@@ -26,14 +26,15 @@ class ProcessTest: + env = os.environ.copy() + if settings is not None: + env["SCRAPY_SETTINGS_MODULE"] = settings ++ assert self.command + cmd = self.prefix + [self.command] + list(args) + pp = TestProcessProtocol() +- pp.deferred.addBoth(self._process_finished, cmd, check_code) ++ pp.deferred.addCallback(self._process_finished, cmd, check_code) + reactor.spawnProcess(pp, cmd[0], cmd, env=env, path=self.cwd) + return pp.deferred + + def _process_finished( +- self, pp: TestProcessProtocol, cmd: str, check_code: bool ++ self, pp: TestProcessProtocol, cmd: List[str], check_code: bool + ) -> Tuple[int, bytes, bytes]: + if pp.exitcode and check_code: + msg = f"process {cmd} exit with code {pp.exitcode}" +--- a/setup.py ++++ b/setup.py +@@ -6,8 +6,7 @@ version = (Path(__file__).parent / "scrapy/VERSION").read_text("ascii").strip() + + + install_requires = [ +- # 23.8.0 incompatibility: https://github.com/scrapy/scrapy/issues/6024 +- "Twisted>=18.9.0,<23.8.0", ++ "Twisted>=18.9.0", + "cryptography>=36.0.0", + "cssselect>=0.9.1", + "itemloaders>=1.0.1", diff --git a/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch b/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch deleted file mode 100644 index 7c1b76d052f8..000000000000 --- a/dev-python/scrapy/files/scrapy-2.5.1-no-doctest.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/pytest.ini b/pytest.ini -index 0aae09f..c1f20ee 100644 ---- a/pytest.ini -+++ b/pytest.ini -@@ -5,7 +5,6 @@ python_files=test_*.py __init__.py - python_classes= - addopts = - --assert=plain -- --doctest-modules - --ignore=docs/_ext - --ignore=docs/conf.py - --ignore=docs/news.rst diff --git a/dev-python/scrapy/scrapy-2.11.0.ebuild b/dev-python/scrapy/scrapy-2.11.0-r1.ebuild index b5c841216e37..6a7217d6940c 100644 --- a/dev-python/scrapy/scrapy-2.11.0.ebuild +++ b/dev-python/scrapy/scrapy-2.11.0-r1.ebuild @@ -14,11 +14,12 @@ SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P} LICENSE="BSD" SLOT=0 KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" # The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy # https://bugs.gentoo.org/684734 -RDEPEND="${PYTHON_DEPS} - dev-python/cssselect[${PYTHON_USEDEP}] +RDEPEND="dev-python/cssselect[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] <dev-python/priority-2.0.0[${PYTHON_USEDEP}] dev-python/h2[${PYTHON_USEDEP}] @@ -33,27 +34,28 @@ RDEPEND="${PYTHON_DEPS} dev-python/service-identity[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/tldextract[${PYTHON_USEDEP}] - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}] - <=dev-python/twisted-22.10.0[${PYTHON_USEDEP}] + >=dev-python/twisted-18.9.0[${PYTHON_USEDEP}] dev-python/w3lib[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND} +BDEPEND=" test? ( + ${RDEPEND} dev-python/testfixtures[${PYTHON_USEDEP}] dev-python/uvloop[${PYTHON_USEDEP}] ) " +PATCHES="${FILESDIR}"/${P}-lift-twisted-restriction.patch + distutils_enable_tests pytest -python_test() { - py.test -vv --ignore=docs \ - --ignore="tests/test_proxy_connect.py" \ - --ignore="tests/test_utils_display.py" \ - --ignore="tests/test_command_check.py" \ - --ignore="tests/test_feedexport.py" \ - --ignore="tests/test_pipeline_files.py" \ - --ignore="tests/test_pipeline_images.py" \ - --ignore="tests/test_squeues.py" || die -} +EPYTEST_DESELECT=( + # these require (local) network access + tests/test_command_check.py + tests/test_feedexport.py + tests/test_pipeline_files.py::TestFTPFileStore::test_persist + # Flaky test: https://github.com/scrapy/scrapy/issues/6193 + tests/test_crawl.py::CrawlTestCase::test_start_requests_laziness + ) +EPYTEST_IGNORE=( docs ) diff --git a/dev-python/scrapy/scrapy-2.8.0-r1.ebuild b/dev-python/scrapy/scrapy-2.8.0-r1.ebuild deleted file mode 100644 index 7074aab6dc87..000000000000 --- a/dev-python/scrapy/scrapy-2.8.0-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="A high-level Web Crawling and Web Scraping framework" -HOMEPAGE="https://scrapy.org/" -SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT=0 -KEYWORDS="~amd64" - -# The 'PyDispatcher>=2.0.5' distribution was not found and is required by Scrapy -# https://bugs.gentoo.org/684734 -RDEPEND="${PYTHON_DEPS} - dev-python/cssselect[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - <dev-python/priority-2.0.0[${PYTHON_USEDEP}] - dev-python/h2[${PYTHON_USEDEP}] - dev-python/itemadapter[${PYTHON_USEDEP}] - dev-python/itemloaders[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/parsel[${PYTHON_USEDEP}] - dev-python/protego[${PYTHON_USEDEP}] - >=dev-python/pydispatcher-2.0.5[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/queuelib[${PYTHON_USEDEP}] - dev-python/service-identity[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/tldextract[${PYTHON_USEDEP}] - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}] - <=dev-python/twisted-22.10.0[${PYTHON_USEDEP}] - dev-python/w3lib[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] -" -DEPEND="${RDEPEND} - test? ( - dev-python/testfixtures[${PYTHON_USEDEP}] - dev-python/uvloop[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( "${FILESDIR}/${PN}-2.5.1-no-doctest.patch" ) - -python_test() { - py.test -vv --ignore=docs \ - --ignore="tests/test_proxy_connect.py" \ - --ignore="tests/test_utils_display.py" \ - --ignore="tests/test_command_check.py" \ - --ignore="tests/test_feedexport.py" \ - --ignore="tests/test_pipeline_files.py" \ - --ignore="tests/test_pipeline_images.py" \ - --ignore="tests/test_squeues.py" || die -} diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index 45c121e61b45..71111b0e4674 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,2 @@ -DIST tulir-telethon-1.32.0_alpha3.gh.tar.gz 495988 BLAKE2B ca2c7f64067369ad9b2424ef00d2697b1a836de7e4709ffeae4cd9b1bfaef50c998ffc49501830ad7e1564fada4ec804abf0b8a7f27f0659398f9112514ec837 SHA512 1a4f17d22f10a04c862433ce474b946c835ee954e4f5158fdc2c81f510cf5dd1041544b0df44f1c61d9dfcdfb27c023b213552230153e3a3f4ce5f1512094f9b DIST tulir-telethon-1.33.0_alpha1.gh.tar.gz 496284 BLAKE2B 6bba90dd4be4b6aeb2f1a4bd9bd4dc59740504cf2ef75606a5df861df00292d9f935c29a397c98bc6c83cfad80c5413700ca5cc131896a5710748848e01a7b78 SHA512 b8eb5ff95f2450ab7d29af6d9ccea63f562b14d984aedc946b82f80a4d68338133767a81432da10a6b6d9aa9c26ac431ad33d73a5a5a9b733702d37747b49a10 +DIST tulir-telethon-1.34.0a2.tar.gz 575337 BLAKE2B e76172e38ab22383a584e18ac376cf1aaf5f9ae54428ed09e9cd99f7707b45aa11f5f2da5e601baa998d75e2df6fc036fb03516cf911d80241c3d82f83c439e4 SHA512 bc20db27b4d32675e38386a95b610be21ba83dead18a27907ff0673afc5f2d93002a4e79e62d7ac1f8d18d784c3e0904c760ea9b7fc93f88417c04197d5d7ab6 diff --git a/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha3.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha2.ebuild index 5eef2e2bc26d..be0834ddc3f1 100644 --- a/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha3.ebuild +++ b/dev-python/tulir-telethon/tulir-telethon-1.34.0_alpha2.ebuild @@ -3,16 +3,15 @@ EAPI=8 +PYPI_NO_NORMALIZE=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 +inherit distutils-r1 pypi MY_PV="${PV/_alph/}" DESCRIPTION="Pure Python 3 MTProto API Telegram client library, for bots too!" HOMEPAGE="https://github.com/tulir/Telethon/" -SRC_URI="https://github.com/tulir/Telethon/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/Telethon-${MY_PV}" LICENSE="MIT" SLOT="0" @@ -33,9 +32,3 @@ RDEPEND=" ) " DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/readthedocs/quick_references/test_client_reference.py::test_all_methods_present -) diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest index 62e0617ec514..3b1946089c31 100644 --- a/dev-python/zope-testrunner/Manifest +++ b/dev-python/zope-testrunner/Manifest @@ -1,2 +1,2 @@ -DIST zope.testrunner-6.1.tar.gz 154261 BLAKE2B e68c6449c1cccc059e5e07abb528fb39bc1409d6c56932299ffd3949c803d585bc432463f1e256a6fa47dc1c8b173c3f488220821a60c6e38c0191fa4af4f75d SHA512 6f23bcc7a27b0c5ab8b59ad0ea03a5482b4e7e924b8df41e5c78e86c402971761c875070c5b8553d3d90f772d04422a07bde675b8e2cb160fe5326031226fde3 +DIST zope.testrunner-6.2.1.tar.gz 150397 BLAKE2B 57210c321ae66738cc2c533a3e9d183273bbc2b98b639fa3a30502ddcb98154eb62f36d50d25674b255547788433498f341ceaec9c1744810571df007632bffd SHA512 5dc8764a518b49f42ef16b64ccb70fb772de0ccda2057ae90597a64975b01c25e885133385e791376f6664b72c67a98499934ebda64238511beef28416ec6add DIST zope.testrunner-6.2.tar.gz 150192 BLAKE2B 4ce0a5ed134910a4fb8cbc68700fbcd3d6e7508654e1ac68d51f5671e797e886a28ef0b55126f5b359cb704ec4b1c4d6f1ed9e66d25d0f83dd62e4884a262358 SHA512 5fc559c497c9db67c81af692e83d60d5cb75ee4cdb28b25c23040eccdaf01d704b2897b385e35e09e916792f6bf7155eded67d4b5de3c1beb1a435590c249dfd diff --git a/dev-python/zope-testrunner/zope-testrunner-6.1.ebuild b/dev-python/zope-testrunner/zope-testrunner-6.2.1.ebuild index d394c06558a2..2229a4f79302 100644 --- a/dev-python/zope-testrunner/zope-testrunner-6.1.ebuild +++ b/dev-python/zope-testrunner/zope-testrunner-6.2.1.ebuild @@ -11,14 +11,15 @@ PYPI_PN="${PN/-/\.}" inherit distutils-r1 pypi DESCRIPTION="This package provides a flexible test runner with layer support." -HOMEPAGE="https://github.com/zopefoundation/zope.testrunner" +HOMEPAGE="https://github.com/zopefoundation/zope.testrunner + https://pypi.org/project/zope.testrunner/ +" LICENSE="ZPL" SLOT="0" KEYWORDS="~amd64" RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}] dev-python/zope-exceptions[${PYTHON_USEDEP}] doc? ( dev-python/sphinxcontrib-programoutput[${PYTHON_USEDEP}] ) |
