diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-07 19:00:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-07 19:00:05 +0000 |
| commit | e2c8371499a6ce7ef5136931610249a0b81053ef (patch) | |
| tree | 338829ad3026f0a6fa64b5194f31c9c4b1bff67f /dev-python | |
| parent | 6b6784eac42fb51ff3ec279d942327682adc6ddc (diff) | |
| download | baldeagleos-repo-e2c8371499a6ce7ef5136931610249a0b81053ef.tar.gz baldeagleos-repo-e2c8371499a6ce7ef5136931610249a0b81053ef.tar.xz baldeagleos-repo-e2c8371499a6ce7ef5136931610249a0b81053ef.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
25 files changed, 196 insertions, 43 deletions
diff --git a/dev-python/asyncpg/asyncpg-0.30.0.ebuild b/dev-python/asyncpg/asyncpg-0.30.0.ebuild index be5a30782497..82d0388fcdb7 100644 --- a/dev-python/asyncpg/asyncpg-0.30.0.ebuild +++ b/dev-python/asyncpg/asyncpg-0.30.0.ebuild @@ -37,8 +37,10 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${PN}-0.30.0-cflags.patch + "${FILESDIR}"/${PN}-0.30.0-disable-broken-tests.patch ) +EPYTEST_PLUGINS=( ) EPYTEST_IGNORE=( # checks versions from env variables "${S}"/tests/test__environment.py diff --git a/dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch b/dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch new file mode 100644 index 000000000000..1fafbc25f3c0 --- /dev/null +++ b/dev-python/asyncpg/files/asyncpg-0.30.0-disable-broken-tests.patch @@ -0,0 +1,67 @@ +From 5a1ee01f8bc8fc6709ef4f636f7a67029d90e26d Mon Sep 17 00:00:00 2001 +From: Elvis Pranskevichus <elvis@edgedb.com> +Date: Fri, 14 Mar 2025 17:58:46 -0700 +Subject: [PATCH] Disable connection URI tests broken by a recent Python fix + (#1244) + +A fix for python/cpython#105704 broke parsing of URIs containing +multiple hosts if one or all of the hosts are IPv6 address literals. +This blocks CI, so disable those tests for now until this is fixed +properly. +--- + tests/test_connect.py | 39 ++++++++++++++++++++------------------- + 1 file changed, 20 insertions(+), 19 deletions(-) + +diff --git a/tests/test_connect.py b/tests/test_connect.py +index 0037ee5..024c29e 100644 +--- a/tests/test_connect.py ++++ b/tests/test_connect.py +@@ -846,25 +846,26 @@ class TestConnectParams(tb.TestCase): + ), + }, + +- { +- 'name': 'dsn_ipv6_multi_host', +- 'dsn': 'postgresql://user@[2001:db8::1234%25eth0],[::1]/db', +- 'result': ([('2001:db8::1234%eth0', 5432), ('::1', 5432)], { +- 'database': 'db', +- 'user': 'user', +- 'target_session_attrs': 'any', +- }) +- }, +- +- { +- 'name': 'dsn_ipv6_multi_host_port', +- 'dsn': 'postgresql://user@[2001:db8::1234]:1111,[::1]:2222/db', +- 'result': ([('2001:db8::1234', 1111), ('::1', 2222)], { +- 'database': 'db', +- 'user': 'user', +- 'target_session_attrs': 'any', +- }) +- }, ++ # broken by https://github.com/python/cpython/pull/129418 ++ # { ++ # 'name': 'dsn_ipv6_multi_host', ++ # 'dsn': 'postgresql://user@[2001:db8::1234%25eth0],[::1]/db', ++ # 'result': ([('2001:db8::1234%eth0', 5432), ('::1', 5432)], { ++ # 'database': 'db', ++ # 'user': 'user', ++ # 'target_session_attrs': 'any', ++ # }) ++ # }, ++ ++ # { ++ # 'name': 'dsn_ipv6_multi_host_port', ++ # 'dsn': 'postgresql://user@[2001:db8::1234]:1111,[::1]:2222/db', ++ # 'result': ([('2001:db8::1234', 1111), ('::1', 2222)], { ++ # 'database': 'db', ++ # 'user': 'user', ++ # 'target_session_attrs': 'any', ++ # }) ++ # }, + + { + 'name': 'dsn_ipv6_multi_host_query_part', +-- +2.50.0 + diff --git a/dev-python/blurhash/blurhash-1.1.4.ebuild b/dev-python/blurhash/blurhash-1.1.4.ebuild index caced0ba1894..bfd898cce06e 100644 --- a/dev-python/blurhash/blurhash-1.1.4.ebuild +++ b/dev-python/blurhash/blurhash-1.1.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -17,6 +17,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +EPYTEST_PLUGINS=( pytest-import-check ) + # no tests in v1.1.4 tarball distutils_enable_tests import-check diff --git a/dev-python/click-aliases/click-aliases-1.0.5.ebuild b/dev-python/click-aliases/click-aliases-1.0.5.ebuild index 18bde7def446..38f085a656ad 100644 --- a/dev-python/click-aliases/click-aliases-1.0.5.ebuild +++ b/dev-python/click-aliases/click-aliases-1.0.5.ebuild @@ -21,4 +21,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/click[${PYTHON_USEDEP}]" +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest diff --git a/dev-python/cryptg/cryptg-0.5.0_p0.ebuild b/dev-python/cryptg/cryptg-0.5.0_p0.ebuild index f83dc867f4ec..ef7392cf29e2 100644 --- a/dev-python/cryptg/cryptg-0.5.0_p0.ebuild +++ b/dev-python/cryptg/cryptg-0.5.0_p0.ebuild @@ -75,11 +75,16 @@ LICENSE+=" SLOT="0" KEYWORDS="~amd64" -BDEPEND="dev-python/setuptools-rust[${PYTHON_USEDEP}]" +BDEPEND=" + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] +" # rust does not use *FLAGS from make.conf, silence portage warning QA_FLAGS_IGNORED=".*" +EPYTEST_PLUGINS=( pytest-import-check ) + distutils_enable_tests import-check src_unpack() { diff --git a/dev-python/daiquiri/daiquiri-3.3.0.ebuild b/dev-python/daiquiri/daiquiri-3.3.0.ebuild index f1f4736c8ee1..fc6dfb521b70 100644 --- a/dev-python/daiquiri/daiquiri-3.3.0.ebuild +++ b/dev-python/daiquiri/daiquiri-3.3.0.ebuild @@ -20,6 +20,8 @@ KEYWORDS="~amd64" RDEPEND=">=dev-python/python-json-logger-3[${PYTHON_USEDEP}]" BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]" +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest distutils_enable_sphinx doc/source diff --git a/dev-python/gherkin-official/Manifest b/dev-python/gherkin-official/Manifest index de0c5d28f3ba..d57ccaa964b6 100644 --- a/dev-python/gherkin-official/Manifest +++ b/dev-python/gherkin-official/Manifest @@ -1 +1,2 @@ DIST gherkin-32.1.2.gh.tar.gz 3848597 BLAKE2B e6912b18410ac6017a740d72021c05aa80aa6b2868b6eaa27c055b4b65ca732242cd3288c5e519868085c310b734cf8a9a6a39d4d4a689735fb0c9cea432602a SHA512 57bc9658c4c0be29526f05e84c1d9a3940737cd4fb63deacf8ee4f8e646acb46a68e66ffce26d4a17cc9e63ac4cee54080fb1402f6aab3a097b74342a9c06bd7 +DIST gherkin-33.0.0.gh.tar.gz 3852030 BLAKE2B aae19a7c6971b1c33d9ed5aa645f8776b65b7c33f593308f30d7301af818651f0f081589e29a924972dc4eaa97131fe84ce4ceda509885f94e2f13c24f750bd1 SHA512 2597d1b71b7df50e18ecaead10994b14370d7fda949f14c01dcbac3af5ffe32c9a12e394b4c2c9ac93fd08f07c5557b202c45ae768c5a0ff1977b3b91f2fc8cc diff --git a/dev-python/gherkin-official/gherkin-official-33.0.0.ebuild b/dev-python/gherkin-official/gherkin-official-33.0.0.ebuild new file mode 100644 index 000000000000..6b00e24ae09a --- /dev/null +++ b/dev-python/gherkin-official/gherkin-official-33.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) +inherit distutils-r1 + +DESCRIPTION="Gherkin parser/compiler for Python" +HOMEPAGE="https://github.com/cucumber/gherkin/" +SRC_URI=" + https://github.com/cucumber/gherkin/archive/refs/tags/v${PV}.tar.gz + -> gherkin-${PV}.gh.tar.gz +" +S=${WORKDIR}/gherkin-${PV}/python + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/http-ece/http-ece-1.2.1.ebuild b/dev-python/http-ece/http-ece-1.2.1.ebuild index 120410dcf4b0..d1dd7b899ec9 100644 --- a/dev-python/http-ece/http-ece-1.2.1.ebuild +++ b/dev-python/http-ece/http-ece-1.2.1.ebuild @@ -20,9 +20,10 @@ KEYWORDS="~amd64" RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]" +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -o addopts= } diff --git a/dev-python/iuliia/iuliia-0.13.0.ebuild b/dev-python/iuliia/iuliia-0.13.0.ebuild index 72cd99f03f49..6f0ac3885214 100644 --- a/dev-python/iuliia/iuliia-0.13.0.ebuild +++ b/dev-python/iuliia/iuliia-0.13.0.ebuild @@ -18,4 +18,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest diff --git a/dev-python/markovify/markovify-0.9.4.ebuild b/dev-python/markovify/markovify-0.9.4.ebuild index ddf328bd5a5a..857771264021 100644 --- a/dev-python/markovify/markovify-0.9.4.ebuild +++ b/dev-python/markovify/markovify-0.9.4.ebuild @@ -21,6 +21,8 @@ KEYWORDS="~amd64" RDEPEND="dev-python/unidecode[${PYTHON_USEDEP}]" +EPYTEST_PLUGINS=( ) + # Does not work with vanilla unittest, # test suite is designed for running with nose. distutils_enable_tests pytest diff --git a/dev-python/mastodon-py/mastodon-py-2.0.1.ebuild b/dev-python/mastodon-py/mastodon-py-2.0.1.ebuild index bc7e896df1db..451dc49e396a 100644 --- a/dev-python/mastodon-py/mastodon-py-2.0.1.ebuild +++ b/dev-python/mastodon-py/mastodon-py-2.0.1.ebuild @@ -29,16 +29,18 @@ BDEPEND=" test? ( >=dev-python/cryptography-1.6.0[${PYTHON_USEDEP}] >=dev-python/http-ece-1.0.5[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-recording[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] - dev-python/requests-mock[${PYTHON_USEDEP}] dev-python/vcrpy[${PYTHON_USEDEP}] ) " PATCHES=( "${FILESDIR}"/${PN}-2.0.1-tests.patch ) +EPYTEST_PLUGINS=( + pytest-mock + pytest-recording + requests-mock +) EPYTEST_XDIST=1 EEPYTEST_DESELECT=( # something related to simplejson diff --git a/dev-python/mautrix/mautrix-0.20.8.ebuild b/dev-python/mautrix/mautrix-0.20.8.ebuild index 2acbff803d27..c0faf7db1792 100644 --- a/dev-python/mautrix/mautrix-0.20.8.ebuild +++ b/dev-python/mautrix/mautrix-0.20.8.ebuild @@ -38,11 +38,12 @@ BDEPEND=" test? ( dev-python/aiosqlite[${PYTHON_USEDEP}] dev-python/asyncpg[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/ruamel-yaml[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-asyncio ) + distutils_enable_tests pytest daemons_enable postgresql test diff --git a/dev-python/proselint/proselint-0.14.0.ebuild b/dev-python/proselint/proselint-0.14.0.ebuild index 3acb2d66db93..f9a9915b0d98 100644 --- a/dev-python/proselint/proselint-0.14.0.ebuild +++ b/dev-python/proselint/proselint-0.14.0.ebuild @@ -24,9 +24,6 @@ RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] " -distutils_enable_tests pytest +EPYTEST_PLUGINS=( ) -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} +distutils_enable_tests pytest diff --git a/dev-python/pydantic-settings/Manifest b/dev-python/pydantic-settings/Manifest index 8b195e2a9d56..ff8dc96950db 100644 --- a/dev-python/pydantic-settings/Manifest +++ b/dev-python/pydantic-settings/Manifest @@ -1,2 +1,2 @@ DIST pydantic_settings-2.10.0.tar.gz 172625 BLAKE2B 175b68b3af0c29c707ad8bfbe2ffe85b2093755873624951eb6998c92f053a2f015676336f784eaf8d22cbd33e3d3a093545605ff7b79f586402b9529b1fb5bf SHA512 7841b4acae13b35a287079b074cc62b3100a9bd46a53d1d27d5a5a19a042c49ec136c6b294328174fd91bfb464a3c9ac5c1d2d571db3d737cc18f2860cb1b5ca -DIST pydantic_settings-2.9.1.tar.gz 163234 BLAKE2B da37c3b128272bef7d7f8cd6e8545158e31a200420afd290b27d84083be50a501b76a4116904888c4c8b30715cb7a0ca7705267d29429ab9a99fc9072667a188 SHA512 85a039edcce86c5273ea224990d1542a9171f38a5137bca3161bba774a5a407b8ae409d8b3e5de780e98ea8e6a57a4b97ae4941453cd0a48e208778c5e56cce3 +DIST pydantic_settings-2.10.1.tar.gz 172583 BLAKE2B 4d60f8c6620103e37dcc7684c138a875208e5c4b101fbe1b3b6a49cc6f247ee7eefb9eef6506e6ecd2e444790c254900867f9de4ed447ea7204db0f600e9ff5f SHA512 fdb61817bb345abef06ffeaab09d993a63bd1c6bde9b3440e31e4fcb6814947ae796dc351192202ccb9f022f99d7e95490df6a847ac54d46713ddb8a49ed2ac1 diff --git a/dev-python/pydantic-settings/pydantic-settings-2.9.1.ebuild b/dev-python/pydantic-settings/pydantic-settings-2.10.1.ebuild index 3d48a8e253b0..25b3c2525036 100644 --- a/dev-python/pydantic-settings/pydantic-settings-2.9.1.ebuild +++ b/dev-python/pydantic-settings/pydantic-settings-2.10.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 optfeature pypi +inherit distutils-r1 pypi DESCRIPTION="Settings management using Pydantic" HOMEPAGE=" @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="yaml" +IUSE="aws yaml" RDEPEND=" >=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}] @@ -25,6 +25,7 @@ RDEPEND=" >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] >=dev-python/typing-inspection-0.4.0[${PYTHON_USEDEP}] + aws? ( dev-python/boto3[${PYTHON_USEDEP}] ) yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) " BDEPEND=" @@ -32,24 +33,13 @@ BDEPEND=" dev-python/annotated-types[${PYTHON_USEDEP}] dev-python/boto3[${PYTHON_USEDEP}] dev-python/moto[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-mock ) EPYTEST_IGNORE=( # Dependencies not packaged: pytest-examples tests/test_docs.py - - # https://github.com/pydantic/pydantic-settings/pull/601 - tests/test_source_azure_key_vault.py - - # https://github.com/pydantic/pydantic-settings/pull/602 - tests/test_source_gcp_secret_manager.py ) distutils_enable_tests pytest - -pkg_postinst() { - optfeature "AWS Secrets Manager support" dev-python/boto3 -} 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 63e25b6d8ab5..064986614758 100644 --- a/dev-python/python-olm/python-olm-3.2.16.ebuild +++ b/dev-python/python-olm/python-olm-3.2.16.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) # broken on pypy3 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 inherit distutils-r1 @@ -25,6 +25,7 @@ RDEPEND=" ' 'python*') " +EPYTEST_PLUGINS=( ) EPYTEST_DESELECT=( # disable benchmarks tests/group_session_test.py::TestClass::test_encrypt diff --git a/dev-python/questionary/questionary-2.1.0.ebuild b/dev-python/questionary/questionary-2.1.0.ebuild index a53a7996a1fc..bbc55f9e7c8e 100644 --- a/dev-python/questionary/questionary-2.1.0.ebuild +++ b/dev-python/questionary/questionary-2.1.0.ebuild @@ -24,6 +24,8 @@ RDEPEND=" <dev-python/prompt-toolkit-4[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest distutils_enable_sphinx docs \ diff --git a/dev-python/repology-client/repology-client-0.4.0.ebuild b/dev-python/repology-client/repology-client-0.4.0.ebuild index f3e66f559f12..f8fa295db22d 100644 --- a/dev-python/repology-client/repology-client-0.4.0.ebuild +++ b/dev-python/repology-client/repology-client-0.4.0.ebuild @@ -25,12 +25,11 @@ RDEPEND=" >=dev-python/pydantic-core-2[${PYTHON_USEDEP}] <dev-python/pydantic-core-3[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-recording[${PYTHON_USEDEP}] - ) -" + +EPYTEST_PLUGINS=( + pytest-asyncio + pytest-recording +) distutils_enable_tests pytest diff --git a/dev-python/rich-click/rich-click-1.8.9.ebuild b/dev-python/rich-click/rich-click-1.8.9.ebuild index 0743d793b4c9..127e1db6a0db 100644 --- a/dev-python/rich-click/rich-click-1.8.9.ebuild +++ b/dev-python/rich-click/rich-click-1.8.9.ebuild @@ -25,6 +25,8 @@ RDEPEND=" >=dev-python/typing-extensions-4[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=( ) + distutils_enable_tests pytest click-app_enable_completions rich-click @@ -34,8 +36,3 @@ src_prepare() { touch tests/fixtures/__init__.py || die } - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild b/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild index cdae6b1a9af2..af950f70ac12 100644 --- a/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild +++ b/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 pypi @@ -23,6 +23,8 @@ RDEPEND=" >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=( pytest-import-check ) + # Tests require to clone a Git repo. While this can be worked around by using # git-bundle, tests still fail because Sphinx makes some warnings fatal. distutils_enable_tests import-check diff --git a/dev-python/sphinx-sitemap/Manifest b/dev-python/sphinx-sitemap/Manifest index 7fce379895f6..852c6b89aa93 100644 --- a/dev-python/sphinx-sitemap/Manifest +++ b/dev-python/sphinx-sitemap/Manifest @@ -1,2 +1,3 @@ DIST sphinx-sitemap-2.6.0.gh.tar.gz 27157 BLAKE2B fe9b8b3df5d5ca84a13e7c99adca9e1eda3b2c89135293ebb07f2575c98fdec517f45eaec8429404b7d9b08d43b0d24cd1113a48ec3e12396dce6b3e0979287b SHA512 cfe5f575c77790cf7c5b6a5765d03e39059bce62b3ec0d908a9d2ec2071c3f1d104ee0ab8b1ca77343f327b8cd7c31d4cb5588c92d5ade9ba6f6e44b0fc35c4c DIST sphinx-sitemap-2.7.1.gh.tar.gz 27616 BLAKE2B 8b84f17d49dee79a7a9712b0a292f5887c2dc71c87c512787c9becbb77882e3bf8f06a1c773a4714d35ed5377b72f45226e9f16541dc91b55c26318880627ff2 SHA512 9c2777111e11bf340079183a022fd3547b9f71c5ba4a69777b1eb0a3d29c436b818ce745a8a5e3afcdfa9c0340a79611e192e23fcc3ec26d01106f148ab0d92a +DIST sphinx-sitemap-2.7.2.gh.tar.gz 28215 BLAKE2B b170337d6e3d3d29ecdbc9daaeb6d98dad55f4e70faa9818e883690d1066f9f1d81ef4d096dfdcbf56d6d2ea76321952f6f82e20bce0763604a28ab1b1e155d3 SHA512 4d8e64122f7085c1748f7d86a71f9ecdc5d7e3061dcf223488177939f3fa1f07ace180e58eadff35fe8970f89baf9cfb60ba61ee6fe53193a251095c139fb76f diff --git a/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.2.ebuild b/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.2.ebuild new file mode 100644 index 000000000000..324869f37383 --- /dev/null +++ b/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Sitemap generator for Sphinx" +HOMEPAGE=" + https://pypi.org/project/sphinx-sitemap/ + https://github.com/jdillard/sphinx-sitemap +" +SRC_URI="https://github.com/jdillard/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-last-updated-by-git[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/gitpython[${PYTHON_USEDEP}] ) +" + +DOCS=( {CHANGELOG,README}.rst ) + +EPYTEST_PLUGINS=( ) + +distutils_enable_tests pytest + +src_prepare() { + #sed "s:\(GIT_TAG_OUTPUT =\) .*:\1 b'v${PV}':" -i docs/source/conf.py + distutils-r1_src_prepare +} + +#distutils_enable_sphinx docs/source \ + #dev-python/furo \ + #dev-python/sphinxemoji \ + #dev-python/sphinxext-opengraph \ + #dev-python/sphinx-contributors diff --git a/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild b/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild index 0c376d94b4f4..cb0d33d7e064 100644 --- a/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild +++ b/dev-python/tempus-themes/tempus-themes-2.3.0.20220206.ebuild @@ -20,4 +20,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" +EPYTEST_PLUGINS=( pytest-import-check ) + distutils_enable_tests import-check diff --git a/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild index 171cd4ce37b4..e4d0a6f2f166 100644 --- a/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild +++ b/dev-python/tulir-telethon/tulir-telethon-1.37.0_alpha1.ebuild @@ -32,12 +32,14 @@ RDEPEND=" dev-python/python-socks[${PYTHON_USEDEP}] dev-python/rsa[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] ) -" +EPYTEST_PLUGINS=( pytest-asyncio ) EPYTEST_DESELECT=( + # test fails tests/telethon/test_utils.py::test_private_get_extension + + # incompatible with recent pytest-asyncio changes + tests/telethon/test_helpers.py::TestSyncifyAsyncContext ) distutils_enable_tests pytest |
