diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-22 20:15:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-22 20:15:21 +0000 |
| commit | 533d61a2c56fa029d84c5c5aa51a599ee92fb293 (patch) | |
| tree | 12933059fd8f644da61456731f7c75545433f1c7 /dev-python | |
| parent | cf6fc725014b268044a0b732ca494ae824033f60 (diff) | |
| download | baldeagleos-repo-533d61a2c56fa029d84c5c5aa51a599ee92fb293.tar.gz baldeagleos-repo-533d61a2c56fa029d84c5c5aa51a599ee92fb293.tar.xz baldeagleos-repo-533d61a2c56fa029d84c5c5aa51a599ee92fb293.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
21 files changed, 130 insertions, 83 deletions
diff --git a/dev-python/glcontext/glcontext-3.0.0.ebuild b/dev-python/glcontext/glcontext-3.0.0.ebuild index d55e753e10fd..f389f6fe76fd 100644 --- a/dev-python/glcontext/glcontext-3.0.0.ebuild +++ b/dev-python/glcontext/glcontext-3.0.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 virtualx @@ -24,9 +24,10 @@ BDEPEND=" test? ( dev-python/pytest[${PYTHON_USEDEP}] dev-python/psutil[${PYTHON_USEDEP}] - ) + ) " DEPEND="${BDEPEND}" +RDEPEND="dev-util/spirv-tools" distutils_enable_tests pytest src_test() { diff --git a/dev-python/icecream/Manifest b/dev-python/icecream/Manifest index 875e4c6ea8f4..08debb95671a 100644 --- a/dev-python/icecream/Manifest +++ b/dev-python/icecream/Manifest @@ -1 +1 @@ -DIST icecream-2.1.3.gh.tar.gz 38879 BLAKE2B 0a3f1e1c75730255dee4d11ffd5954bc0b6d84eb971865300f00e2015fba84561d179cc1640766841cb58483b741e14bb36ace31a6e4cee67321cb385fd85995 SHA512 b319109248c7ae65a24fe7fa85b7900435a3f681466612c0c25769fe3ee4cd2bc5305bff8be1bd36ca26064d54cf9738b58d24a6c1d9b3d3ebe93228656b3ee3 +DIST icecream-2.1.4.gh.tar.gz 23930 BLAKE2B ac58c117b706cdbb5736203304228c0837ca987631714b5b083e5826ff065b889c1149a7c0b60878fce850654f1eb1ddaa6f4a98f7b24fdd31605c5a66c0ea80 SHA512 3ac6e567ca11d41e32966abc7a822180ac62e4840f28f06cde051e2717a8b81990a137b24f3a62fa5da35394a7fe0a2d6efbac70a1a0e610143fcb05ddd19007 diff --git a/dev-python/icecream/icecream-2.1.3.ebuild b/dev-python/icecream/icecream-2.1.4.ebuild index 6c6e2ee94502..8a5d29f9af68 100644 --- a/dev-python/icecream/icecream-2.1.3.ebuild +++ b/dev-python/icecream/icecream-2.1.4.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + inherit distutils-r1 DESCRIPTION="Pythonic task execution" @@ -18,18 +19,14 @@ KEYWORDS="~amd64" RDEPEND=" >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}] >=dev-python/pygments-2.2.0[${PYTHON_USEDEP}] - >=dev-python/executing-0.3.1[${PYTHON_USEDEP}] + >=dev-python/executing-2.1.0[${PYTHON_USEDEP}] >=dev-python/asttokens-2.0.1[${PYTHON_USEDEP}] " distutils_enable_tests unittest python_prepare_all() { - # https://github.com/gruns/icecream/pull/147 - sed -i 's/assertRegexpMatches/assertRegex/' tests/test_icecream.py || die + # Install tests package otherwise + sed -i 's/find_packages()/find_packages(exclude=["tests", "tests.*"])/' "${S}"/setup.py || die distutils-r1_python_prepare_all } - -python_test() { - eunittest tests -} diff --git a/dev-python/id/id-1.5.0.ebuild b/dev-python/id/id-1.5.0.ebuild index 85d7a4fe30cd..1c1e1ea82686 100644 --- a/dev-python/id/id-1.5.0.ebuild +++ b/dev-python/id/id-1.5.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/moderngl-window/Manifest b/dev-python/moderngl-window/Manifest index bc04a9660d4e..a2dcd2027880 100644 --- a/dev-python/moderngl-window/Manifest +++ b/dev-python/moderngl-window/Manifest @@ -1 +1 @@ -DIST moderngl-window-3.0.3.gh.tar.gz 30985508 BLAKE2B 3930e0f21c1a51e6f2330ee372574e9c90d546bf8abbbee875bd116457cd8275fd869997c5ef1b47254181b7a8d4b7067e5e9632053d37eec31b93a9edbe105c SHA512 46342731f15a6ae093658f85087eb7fd3597445a19559802372b7c278e9071911af83c6044bf293a46ee2b4dc3cb10f4f2dcb50cdbfa6da701029e4204d2f3e8 +DIST moderngl-window-3.1.1.gh.tar.gz 30986129 BLAKE2B e75bffd6f212bee360e7f76f79e044b55009d9e79a19d471264f7fc32b236c38d49443b9a092b3db018c36604623ce268c6151f74439369021a9cfb82bc1326f SHA512 16835aafd0f93094fb47b81001f2e5ab838dfd37b4c009b461c92ab6aeb93beabdbbedc3f0712766320cefa167578ea5f8c16b2d2d768f0f89358cc87000f3d6 diff --git a/dev-python/moderngl-window/moderngl-window-3.0.3-r1.ebuild b/dev-python/moderngl-window/moderngl-window-3.1.1.ebuild index a78bcaa31f25..4aa067d55c3f 100644 --- a/dev-python/moderngl-window/moderngl-window-3.0.3-r1.ebuild +++ b/dev-python/moderngl-window/moderngl-window-3.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,8 +25,8 @@ KEYWORDS="~amd64" RDEPEND=" <dev-python/moderngl-6[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] + >=dev-python/pillow-10.0.1[${PYTHON_USEDEP}] + >=dev-python/pyglet-2.0.0[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/pyglm-2.7.0[${PYTHON_USEDEP}] <dev-python/pyglm-3[${PYTHON_USEDEP}] diff --git a/dev-python/pypandoc/Manifest b/dev-python/pypandoc/Manifest index 1bc4ae741c43..92e632ed27f2 100644 --- a/dev-python/pypandoc/Manifest +++ b/dev-python/pypandoc/Manifest @@ -1 +1 @@ -DIST pypandoc-1.14.gh.tar.gz 70683 BLAKE2B 415b52829913fddcc57f555f19f74707258b16f6b2dfdbc1928316aa924da2107b68ada101de09a57edc243e1bb364da61a4839a5d9c6dec6aad27117643f371 SHA512 f3ad3b14e45726de47cdd251a988cb377dad41f33a4569e9c051ff6d4d13a7688b23221972140b97fba5160575a02e115d4bf22861d0472931142bb24534646b +DIST pypandoc-1.15.gh.tar.gz 70808 BLAKE2B cee70ded756b66d835c2693a4b67bc175314c9998acb71f35befd33e31f7b7e1042a5cf871535ba426272004f0426c50557bdd48a05fff5ff2aac0ca7ba70c42 SHA512 c6127aa085c27f2e82148689647f7861c8bdb37feacc6b5fdf017947c7e1c18eaf7c17ec26b7c2881d4ae40bb20dcaaf86aa52f989315d19df92e491bf07efb8 diff --git a/dev-python/pypandoc/pypandoc-1.14.ebuild b/dev-python/pypandoc/pypandoc-1.15.ebuild index 1a37a12278ce..620dbdc830b4 100644 --- a/dev-python/pypandoc/pypandoc-1.14.ebuild +++ b/dev-python/pypandoc/pypandoc-1.15.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517="poetry" +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) inherit distutils-r1 @@ -15,14 +15,13 @@ SRC_URI="https://github.com/JessicaTegner/pypandoc/archive/refs/tags/v${PV}.tar. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" + +DOCS+=( examples README.md LICENSE ) RDEPEND="virtual/pandoc" BDEPEND=" test? ( >=dev-python/pandocfilters-1.5.0[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] app-text/texlive-core dev-texlive/texlive-latex dev-texlive/texlive-fontsrecommended @@ -38,6 +37,7 @@ EPYTEST_DESELECT=( # Fail for a reason I do not understand tests.py::TestPypandoc::test_basic_conversion_from_file_pattern_pathlib_glob ) +distutils_enable_tests pytest python_test() { epytest tests.py || die "Test failed with ${EPYTHON}" } diff --git a/dev-python/syrupy/Manifest b/dev-python/syrupy/Manifest index bc47e9e02240..d69e3b9bbba9 100644 --- a/dev-python/syrupy/Manifest +++ b/dev-python/syrupy/Manifest @@ -1 +1 @@ -DIST syrupy-4.8.0.gh.tar.gz 2313840 BLAKE2B 10d3274ec03591e864460472c72f50e244385b86b8cab631fbc6835f099d96a47ba94969e28a7956374c2e6f1c8d4da0ae064dc2a7273ba655fd4a7efa6d66c7 SHA512 ee47b1b32a88185799166e372d80fc076427f341643163bf288a0740e56fe239e578f05501fc59b90c760062c8320a4992c9a93cb3f25af012f65d641e9f4ee9 +DIST syrupy-4.8.1.gh.tar.gz 2315109 BLAKE2B 849e808f3f00017c045a48c47a389eb6f291653a47a979e66a818ca50cfd8a6ab9491a216124591967c18234b0111e1990045300b4d9e100bb12a0421dd5d688 SHA512 6c2e568ab622a03cf17098b979601d7b6710db8d9e92fa4550b1390cfd0e3b14469e5b18c6e7dd87f49ba8b78e992026ddf2f3117021fed9b6ca9d20f049a07f diff --git a/dev-python/syrupy/syrupy-4.8.0.ebuild b/dev-python/syrupy/syrupy-4.8.1.ebuild index 8850d1f9d1f4..02ffc95f1a44 100644 --- a/dev-python/syrupy/syrupy-4.8.0.ebuild +++ b/dev-python/syrupy/syrupy-4.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -DOCS=( README.md CHANGELOG.md ) +DOCS+=( LICENSE README.md CHANGELOG.md ) RDEPEND=" dev-python/rich[${PYTHON_USEDEP}] @@ -28,4 +28,10 @@ BDEPEND=" ) " +# Can not use dev-python/pytest-xdist because strange errors appear +# EPYTEST_XDIST=1 +EPYTEST_DESELECT=( + # This test fails for some strange reason + "tests/integration/test_snapshot_option_update.py::test_update_failure_shows_snapshot_diff[xdist_two]" +) distutils_enable_tests pytest diff --git a/dev-python/termynal/Manifest b/dev-python/termynal/Manifest index eb8fc4b2c06c..c75413e247c9 100644 --- a/dev-python/termynal/Manifest +++ b/dev-python/termynal/Manifest @@ -1 +1 @@ -DIST termynal-0.12.2.gh.tar.gz 171222 BLAKE2B 98d56aa220ed268379b41626d72834d7d86f76c6bfd489f52846d3c0530a7997affc477343ba30e82f253ffcd482c701d4ca0805bbdec9681f6e74a250cf0edb SHA512 2248d27ec13455a514fc57cd0317219e424ecb9c5a57166fe2c83162b62ecf1c2ebfe3de5be06d3ae71126ab903df8e3ef3e39acb558e3dbfa045ab456d52d7d +DIST termynal-0.13.0.gh.tar.gz 171420 BLAKE2B b9e8d98e6b974d3ae00df81bfadc4aa89147eb892fa0311eadc809a619bc78c75821ee087362113ed55e24cd6e3f177b6d6df7932433b5c9e6893005318a269f SHA512 c6d7365deacd9f6d2c48e5163b0a375184e4f54907bebb20eecb53039e95cff473f42c853665562c34c05876808f8654232a3de2ebc3bd8f76231f6a52e90ce1 diff --git a/dev-python/termynal/termynal-0.12.2.ebuild b/dev-python/termynal/termynal-0.13.0.ebuild index c5ed53dc0b36..de8ddce8d83c 100644 --- a/dev-python/termynal/termynal-0.12.2.ebuild +++ b/dev-python/termynal/termynal-0.13.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -29,12 +29,6 @@ RDEPEND=" >=dev-python/mkdocs-1.4[${PYTHON_USEDEP}] <dev-python/mkdocs-2.0[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - >=dev-python/pytest-mock-3.14[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - ) -" DEPEND="${RDEPEND}" distutils_enable_tests pytest diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 409b91620018..1f9938833e13 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1 +1,2 @@ DIST textual-0.88.1.gh.tar.gz 29517235 BLAKE2B 457caef7957eab0b7317e94ce4dd991cf0da54c4b7c9b670089de6cb762b1fd28c1021b8be89e66947717452dcc4925ff70eb856cef470eacda6062322df2e7a SHA512 7c849dac56ca93853b36ad8c67f5544f5a071ad3b23f7753f46a6b62a1017098b40ce2be0aa526aa5a4de397ec26bb7b42a245170516e22ef297ccbc49321394 +DIST textual-1.0.0.gh.tar.gz 29642631 BLAKE2B e5122ed9f515c6c3f3707385523ec55d9281bda077fd80a9ca1b54030a0994800d6fe15b3f89998ac600b5e71120de0261d6b272132b5366d3bf53ec145dd1fa SHA512 d943ba0a01f84b526a15755fd1fb41b094e6029f73b317e098b8c23abbc87e43b7f75d1ab9bc92c0462463ef5e9229476f5d2700fa27d1245665b9aa89c2a2b5 diff --git a/dev-python/textual/files/fix-mkdocstrings.patch b/dev-python/textual/files/fix-mkdocstrings.patch deleted file mode 100644 index d1b13868f472..000000000000 --- a/dev-python/textual/files/fix-mkdocstrings.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/docs/_templates/python/material/_base/class.html b/docs/_templates/python/material/_base/class.html -index 120fe338f..731d2ae73 100644 ---- a/docs/_templates/python/material/_base/class.html -+++ b/docs/_templates/python/material/_base/class.html -@@ -46,7 +46,7 @@ - {% if "__init__" in class.members %} - {% with function = class.members["__init__"] %} - {% filter highlight(language="python", inline=False) -%} -- def {% filter format_signature(config.line_length) %} -+ def {% filter format_signature(function, config.line_length) %} - __init__{% include "signature.html" with context %} - {% endfilter %}: - {% endfilter %} -diff --git a/docs/_templates/python/material/_base/function.html b/docs/_templates/python/material/_base/function.html -index 58a4c37ad..c5e574ffa 100644 ---- a/docs/_templates/python/material/_base/function.html -+++ b/docs/_templates/python/material/_base/function.html -@@ -37,7 +37,7 @@ - - {% if config.separate_signature %} - {% filter highlight(language="python", inline=False) %} --def {% filter format_signature(config.line_length) %} -+def {% filter format_signature(function, config.line_length) %} - {% if show_full_path %}{{ function.path }}{% else %}{{ function.name }}{% endif %} - {% include "signature.html" with context %} - {% endfilter %}: diff --git a/dev-python/textual/textual-1.0.0.ebuild b/dev-python/textual/textual-1.0.0.ebuild new file mode 100644 index 000000000000..7922e1959907 --- /dev/null +++ b/dev-python/textual/textual-1.0.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocstrings + dev-python/mkdocstrings-python + dev-python/mkdocs-exclude + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-material + dev-python/mkdocs-rss-plugin +" +DOCS_INITIALIZE_GIT=1 + +inherit distutils-r1 optfeature docs + +DESCRIPTION="Modern Text User Interface framework" +HOMEPAGE="https://github.com/Textualize/textual https://pypi.org/project/textual/" +SRC_URI="https://github.com/Textualize/textual/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/markdown-it-py-2.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.6.0[${PYTHON_USEDEP}] + <dev-python/platformdirs-5[${PYTHON_USEDEP}] + >=dev-python/rich-13.3.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/griffe[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + =dev-python/textual-dev-1.7*[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +DOCS+=( CHANGELOG.md LICENSE README.md ) + +EPYTEST_XDIST=1 +EPYTEST_DESELECT=( + # Those tests ask to press keys + tests/snapshot_tests/test_snapshots.py + tests/test_xterm_parser.py::test_escape_sequence_resulting_in_multiple_keypresses + + # Need a package that should be optional + tests/text_area/test_languages.py +) +distutils_enable_tests pytest +python_test() { + if [[ ${EPYTHON} == python3.13 ]]; then + EPYTEST_DESELECT+=( + # See https://github.com/Textualize/textual/issues/5327 + "tests/text_area" + # Some tests just do not work under python3.13 (more than half of those in this file) + tests/test_focus.py + ) + epytest -m 'not syntax' tests + else + epytest tests + fi +} + +python_compile_all() { + echo "INHERIT: mkdocs-offline.yml" > "${S}/mkdocs.yml" + grep -v "\- \"*[Bb]log" "${S}/mkdocs-nav.yml" >> "${S}/mkdocs.yml" + if use doc; then + DOCS+=( questions ) + fi + docs_compile + rm "${S}/mkdocs.yml" +} + +pkg_postinst() { + optfeature "bindings for python" dev-python/tree-sitter +} diff --git a/dev-python/twine/twine-6.1.0.ebuild b/dev-python/twine/twine-6.1.0.ebuild index 7281709cce55..eb97c596ddba 100644 --- a/dev-python/twine/twine-6.1.0.ebuild +++ b/dev-python/twine/twine-6.1.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" RDEPEND=" >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] diff --git a/dev-python/uv/uv-0.5.15.ebuild b/dev-python/uv/uv-0.5.15.ebuild index 48ec25befd76..103942a88dda 100644 --- a/dev-python/uv/uv-0.5.15.ebuild +++ b/dev-python/uv/uv-0.5.15.ebuild @@ -46,7 +46,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc ppc64 ~riscv x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" |
