diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-02 07:58:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-02 07:58:05 +0000 |
| commit | 49b9a95341a72ad3b54d66a49cab9194209ff20b (patch) | |
| tree | 2d606b20150191ff67220910860c713f8757e474 /dev-python | |
| parent | 60bd4e8775f9ce326363c698407298b8fc2e7691 (diff) | |
| download | baldeagleos-repo-49b9a95341a72ad3b54d66a49cab9194209ff20b.tar.gz baldeagleos-repo-49b9a95341a72ad3b54d66a49cab9194209ff20b.tar.xz baldeagleos-repo-49b9a95341a72ad3b54d66a49cab9194209ff20b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
43 files changed, 1181 insertions, 402 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index c4fdf28bf2b0..b6a47c71c1df 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,2 +1,3 @@ DIST aiohttp-3.11.13.tar.gz 7674284 BLAKE2B 1975baf20e3d1b7fa5b6b5fbdf4fb916fea57fbfb2dbe9295300fa2952b1cd7fb8aaa814e37bb5c403e43ea9930ca35f9ca17bba5359e8c07e535dfc1d71d607 SHA512 cd9745ea07041e438bb42508ed86095582b7121d233719e9d16033c34d567063c2fd091536ab45ea1695ba118d49b955c56153fe7d6b51c2ee0a4760bfd816a9 DIST aiohttp-3.11.14.tar.gz 7676994 BLAKE2B e8e048c01db9600df3bdc7bdc6e5066094b4575d08fef3ec7d0a78763a701cd3501dce435b80d3fbea28d2e7bf4110a5cc9e0ccec2bc3745835cadcb27528404 SHA512 38e51d3640b533d9bd639a59657bf7affbfc0b1a9dc40d77175d6528044e23b1e524589b9a10e0159eb8f9ba29e96b3e67529a9d11f1c53760a70800d813d13f +DIST aiohttp-3.11.15.tar.gz 7676625 BLAKE2B 02a5230bd9d038f0e90e4b63e69502a8f2445b781e0b4ff6e40657d7c0d49ddce011ba28c3ddc03cd75a4e205d3544af15f9944f9908064d6f9b922862cc8ab0 SHA512 deeaed7f204fef23641d076d1fd455ebe97173726e2cfc47f82fffc654c51e975fb3012ac78bf60181771e001f3e6f3aac67e2bfc9ed9291ff6d92873969eb0e diff --git a/dev-python/aiohttp/aiohttp-3.11.15.ebuild b/dev-python/aiohttp/aiohttp-3.11.15.ebuild new file mode 100644 index 000000000000..a0fbae8f985c --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.11.15.ebuild @@ -0,0 +1,135 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions test-rust" + +RDEPEND=" + >=dev-python/aiodns-3.2.0[${PYTHON_USEDEP}] + >=dev-python/aiohappyeyeballs-2.3.0[${PYTHON_USEDEP}] + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/propcache-0.2.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.17.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/async-timeout-6[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/pytest_cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + + distutils-r1_src_prepare +} + +python_configure() { + if [[ ! -d tools && ${EPYTHON} != pypy3 ]] && use native-extensions + then + # workaround missing files + mkdir tools || die + > requirements/cython.txt || die + > tools/gen.py || die + chmod +x tools/gen.py || die + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize + fi +} + +python_compile() { + # implicitly disabled for pypy3 + if ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + # benchmarks + tests/test_benchmarks_client.py + tests/test_benchmarks_client_request.py + tests/test_benchmarks_client_ws.py + tests/test_benchmarks_cookiejar.py + tests/test_benchmarks_http_websocket.py + tests/test_benchmarks_http_writer.py + tests/test_benchmarks_web_fileresponse.py + tests/test_benchmarks_web_middleware.py + tests/test_benchmarks_web_response.py + tests/test_benchmarks_web_urldispatcher.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + ) + + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then + local -x AIOHTTP_NO_EXTENSIONS=1 + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin + rm -rf aiohttp || die + epytest -m "not internal and not dev_mode" \ + -p rerunfailures --reruns=5 +} diff --git a/dev-python/calver/Manifest b/dev-python/calver/Manifest index e4b3e4e8dfba..289b439b01d6 100644 --- a/dev-python/calver/Manifest +++ b/dev-python/calver/Manifest @@ -1 +1,3 @@ DIST calver-2022.06.26.gh.tar.gz 7601 BLAKE2B e4bea1dc8954b4f65003cb06dadebfa6a7ad0554d64c23e5339652955d2e4659ffc093b8d11d284e03bc74267059a10043a45dd1eb7717378fb22327d6409428 SHA512 4d436cead8930cae1a71eddef9f0ecd2881f8cb632c3814dc75390b061a909e7ca969a604a5fded1c66647947856d540e2180bd3ce4bed5087b4dbc9d5edb393 +DIST calver-2025.03.31.gh.tar.gz 7950 BLAKE2B 5217d26bccb1997056fc2073fcdc9b8873e689283a0845af52202bdc84aca8502886c995532936ff46469614720d0f58b510354677e45aa7e3cb50a2118bd8b1 SHA512 f728e42326dfb7d1cc5f1a0d86d67c7bd479dc98ef5829d6fe70606317ce36662f5d2c8d06c76a1016a4b9a6e9c5474049b71d53c201c486aaa2d93c7a59a91e +DIST calver-2025.04.01.gh.tar.gz 7923 BLAKE2B 83f777161486256459bf2cba236ef670345f88bbd342acf1e43ef94c673364e1b7ed96508701ae252a59069254cd3424abde2495e7080c2b328132968ca167b6 SHA512 e74ac06bf21c7ec610f7f2eac0e6f2e538e3d9b442a7f5e861d5dc484f8a5d839349491a98796401f2834e1fa505d0570c8e2c52dc7b52f33374e0bf4904132f diff --git a/dev-python/calver/calver-2025.03.31.ebuild b/dev-python/calver/calver-2025.03.31.ebuild new file mode 100644 index 000000000000..ed90732cee1d --- /dev/null +++ b/dev-python/calver/calver-2025.03.31.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Setuptools extension for CalVer package versions" +HOMEPAGE=" + https://github.com/di/calver/ + https://pypi.org/project/calver/ +" +SRC_URI=" + https://github.com/di/calver/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_compile() { + # what a mess, also we need to scope it not to break tests + local -x SOURCE_DATE_EPOCH=$(date --date="${PV//./-}" +%s) + + distutils-r1_src_compile +} diff --git a/dev-python/calver/calver-2025.04.01.ebuild b/dev-python/calver/calver-2025.04.01.ebuild new file mode 100644 index 000000000000..ed90732cee1d --- /dev/null +++ b/dev-python/calver/calver-2025.04.01.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022-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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Setuptools extension for CalVer package versions" +HOMEPAGE=" + https://github.com/di/calver/ + https://pypi.org/project/calver/ +" +SRC_URI=" + https://github.com/di/calver/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_compile() { + # what a mess, also we need to scope it not to break tests + local -x SOURCE_DATE_EPOCH=$(date --date="${PV//./-}" +%s) + + distutils-r1_src_compile +} diff --git a/dev-python/cloup/Manifest b/dev-python/cloup/Manifest index d18d298b1392..4a173f88d0e1 100644 --- a/dev-python/cloup/Manifest +++ b/dev-python/cloup/Manifest @@ -1 +1 @@ -DIST cloup-3.0.6.gh.tar.gz 225617 BLAKE2B 66921c03e0ef5ab547b583a3c0584b5e5a6f5f16c2bc7d8648df547e704362a4388228dbbf98224d6798bcf1d47e6b095d73966af5a279c3f34f0c9f581e3dbb SHA512 6a936868127557f35c9accf216ed00f8fd19f40f64fa8a986f73ea58cb83545cfb8a6bac1101b4b9811c2b280b50a0ff1bc9fa58b553f9279056768d22825fec +DIST cloup-3.0.7.gh.tar.gz 225782 BLAKE2B 9eb659a30a2b5d931245236fb60782bd60608c56d1f4c97ec7d09d6a96c898750c9fcd47b81f906f2ac086287fe6104408e1fcdf23dec1394c3b9cb0ed05e643 SHA512 c589a68d058b20cdd935325ffdd79bb310ca962f024ab70dbc7924459ccf08678774831defd73f2b5646f981e081b5448e7516419566a89a13ff96f521ad03a1 diff --git a/dev-python/cloup/cloup-3.0.6.ebuild b/dev-python/cloup/cloup-3.0.7.ebuild index 01cec1040626..01cec1040626 100644 --- a/dev-python/cloup/cloup-3.0.6.ebuild +++ b/dev-python/cloup/cloup-3.0.7.ebuild diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index c80b3785c864..45a41f2110ef 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -1,2 +1 @@ -DIST docutils-0.20.1.tar.gz 2058365 BLAKE2B 73fb8302599ffe57b0840c898b0b2e3ccd39ff9ea6eec2b5d345d02c950e1a8357bd821e62733b0484e82bc30e71d30fab381390b0edaef4375b02bcd9eeeb40 SHA512 a0ddca315d03677003036d6a8052ac96fbd3fcc4508564938ea684d79bedb4d322d83449c7b26e55b19b0aadd6e46ca9ac409bb16279a20f06c70e9c15ef5eb0 DIST docutils-0.21.2.tar.gz 2204444 BLAKE2B 727c2f97fc5835a0ffa62e38ea85af366cd89ad1eaec0b8af8b1f3b12e6cddfddb65161ba34f9109952d37ba2cf8985f3c3b6905ebb2ac1c9a984cce3fb4d170 SHA512 7fafa331f5687448e80d299c20cdccc4b49819fa471b5f586bf0ab18c694ba43a70f58e7c76b0a70a16267585548389214e11a4998ad7fdc19a27f0f7644539c diff --git a/dev-python/docutils/docutils-0.20.1-r1.ebuild b/dev-python/docutils/docutils-0.20.1-r1.ebuild deleted file mode 100644 index f062425c33f5..000000000000 --- a/dev-python/docutils/docutils-0.20.1-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)" -HOMEPAGE=" - https://docutils.sourceforge.io/ - https://pypi.org/project/docutils/ -" - -# GPL-3+ only for emacs/rst.el -LICENSE="BSD BSD-2 GPL-3+ PSF-2.4 public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/pygments[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} -" - -python_compile_all() { - # Generate html docs from reStructured text sources. - - # Place html4css1.css in base directory to ensure that the generated reference to it is correct. - cp docutils/writers/html4css1/html4css1.css . || die - - cd tools || die - "${EPYTHON}" buildhtml.py --input-encoding=utf-8 --no-datestamp \ - --stylesheet-path=../html4css1.css, --traceback ../docs || die -} - -src_test() { - cd test || die - distutils-r1_src_test -} - -python_test() { - "${EPYTHON}" alltests.py -v || die "Testing failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # Install tools. - python_doscript tools/buildhtml.py -} - -install_txt_doc() { - local doc="${1}" - local dir="txt/$(dirname ${doc})" - docinto "${dir}" - dodoc "${doc}" -} - -python_install_all() { - local DOCS=( *.txt ) - local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) - - distutils-r1_python_install_all - - local doc - while IFS= read -r -d '' doc; do - install_txt_doc "${doc}" - done < <(find docs tools -name '*.txt' -print0) -} - -pkg_postinst() { - optfeature \ - "auto-detecting the image dimensions when using the 'scale' option" \ - dev-python/pillow -} diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index 767d31e0b9c6..6c3cff6f8c07 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,2 +1,3 @@ DIST filesystem_spec-2025.3.0.gh.tar.gz 430334 BLAKE2B 99b066224ee9a8f6bd241480e639f2e5dc47ccd5df02d08a9084755ca363ee4e9c65627b6bb1960014fd017e2c7d50525b61e36d818a34d68905c8fc366edf72 SHA512 aba1570a8083a007f566d3ae7a1e1e64ea3caad2da9a616adf06e0a94a39652f7e9c1d1316c328a11bc433410689b4aaa0e67b0902262984b9457918658b7872 DIST filesystem_spec-2025.3.1.gh.tar.gz 432007 BLAKE2B 44771506b41887b0d025b963e9589be5481de78e8946191e1583340de5a77396f93dd8e6c2db7771cea5082e22b7b76be50905c8d8a2cb6efcae36810464a1ef SHA512 00d0c3fe3ffaaa8510d93be8c9375ea5a277ccb7a0a9c7957635ebc606e1af624f81f5d65cbadc3bce77815ef4a12a2c96672d43a819a5e387c240f50f20b0d0 +DIST filesystem_spec-2025.3.2.gh.tar.gz 432022 BLAKE2B 7b18b80a1f024832a3a53545764299a2a40785809dc4d63fbe7cd0fff303ebd9382888153c012fe31425c93d67c56be1d117fd314fec149964ac7ee74a4b7464 SHA512 b446f7f09ef34e50cc22a3370b1a9312970b9585ff98ebb5ff02b066bc6a44786cf96cd0d1452753384861b7c61c3e927da009d215466588cf746d894dd430a0 diff --git a/dev-python/fsspec/fsspec-2025.3.2.ebuild b/dev-python/fsspec/fsspec-2025.3.2.ebuild new file mode 100644 index 000000000000..6cdbdfed8fde --- /dev/null +++ b/dev-python/fsspec/fsspec-2025.3.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=filesystem_spec-${PV} +DESCRIPTION="A specification that python filesystems should adhere to" +HOMEPAGE=" + https://github.com/fsspec/filesystem_spec/ + https://pypi.org/project/fsspec/ +" +# upstream removed tests in 2024.6.0 +SRC_URI=" + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +# Note: this package is not xdist-friendly +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +src_test() { + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + fsspec/implementations/tests/test_reference.py::test_async_cat_file_ranges + fsspec/implementations/tests/test_github.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all +} diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 712b812fc209..ae9e0f65659f 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,3 +1,4 @@ DIST griffe-1.6.3.gh.tar.gz 395341 BLAKE2B c2beca0377d6d4a43a9a833142d1750d10fb4584c451cc7c9758275bfb58e6078634e79a204794b3b360d7afff0b37d68fb12d2f845ae846a6aa97ccb696538d SHA512 7b9197854ea8262bbcfa14fcd18dfb10e6bde253b92b7e88fc199f49f73d76f3641a6d3df8e383b4b1e2736a35f204eafe520347f00fd0f3c4f7bfd9a56d1e3e DIST griffe-1.7.0.gh.tar.gz 397619 BLAKE2B ecd2b490ec4fa37e5ac4bc0ac509145093245345af81a933d9b1e763c94e3fe0e6fdcd8a8d73f276c6740a1dd5397eedaa647efee6c01bab7e55b914cc43e1fd SHA512 c69d7ddbd5641f8cc1c0b920349488dcf1f61109d3437a4658ae1379ee80cabf02073c0c25a41ba1ef5a627a8c27fd42bd6339931af043ce866ab096d064ffb2 DIST griffe-1.7.1.gh.tar.gz 397814 BLAKE2B fe481ae8cbffb79f355881fd5030ef43275c3bd8732757f77b5038a757629024b223374c33d9a5140fe0c375e54153e9835c267548282d545596c3b4a183afc8 SHA512 e2c538e2a413f2803c714ba2326599453ca7fd4ffbb6221076ef3a00ea95a159a852b9ad766cf0e66364cd1d05748b39efac534c6b7429cb276b85d09f6e2342 +DIST griffe-1.7.2.gh.tar.gz 398102 BLAKE2B ec4125401ce079dee0795b5bf2db0f74799f3a0c8a122c5c47317fa040cec79772b08aab4e168f4a6ade3ba9e9f4b17b4def17108e9c27ab69d0b701896f2f53 SHA512 4e1573cdfa8a5ba37b932448ed4647a0e37ed680ade4c099e21a0c1ef038840392d5ff906e763bba584d5777b6e6571842f848e3eb3faa4f7f474d61744ba26b diff --git a/dev-python/griffe/griffe-1.7.2.ebuild b/dev-python/griffe/griffe-1.7.2.ebuild new file mode 100644 index 000000000000..6f7090dd3f3d --- /dev/null +++ b/dev-python/griffe/griffe-1.7.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Signature generator for Python programs" +HOMEPAGE=" + https://mkdocstrings.github.io/griffe/ + https://github.com/mkdocstrings/griffe/ + https://pypi.org/project/griffe/ +" +# Tests need files absent from the PyPI tarballs +SRC_URI=" + https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # fragile to installed packages + # (failed on PySide2 for me) + tests/test_stdlib.py::test_fuzzing_on_stdlib + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/5226 + tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless + ) + ;& + pypy3*) + EPYTEST_DESELECT+=( + # tries importing CPython-specific modules + # https://github.com/mkdocstrings/griffe/issues/362 + tests/test_loader.py::test_load_builtin_modules + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index be13237a8044..f4f18a4b9c57 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1 +1,2 @@ DIST narwhals-1.32.0.gh.tar.gz 683557 BLAKE2B 830ff49ba0c3dd41b9b35d78a29693b8d79a35e5be8a77a9cc4980f7e853fb60ae2221b486df8d17499608c97bf92aa74b199b048eb0b3ab8249c5e4906864e4 SHA512 cdae2b4b579bd011d57fd6f0b6e9fbff7150f97f03f94044c3ba31ca95a782bded605607d7281fe717d765adbb1e7409f16c4031c0df51b20ffa99fb10479889 +DIST narwhals-1.33.0.gh.tar.gz 689586 BLAKE2B e3e3b8540caf66e599dab3df78860eff10ab2b502a0c1d51054aff2cd573a0f2f11d1a8f95a67273311ea00b8469b33e1e43189abff33b0160f45bb1a324b78d SHA512 03ee9992e7dcbf70a24bed784b890344831116891109001032ffadda24234c6c62a6a975e9765989789dc05ea93396b7fc8b2ab8f0aac40d0cc162de7c388843 diff --git a/dev-python/narwhals/narwhals-1.33.0.ebuild b/dev-python/narwhals/narwhals-1.33.0.ebuild new file mode 100644 index 000000000000..7059c1a7ca16 --- /dev/null +++ b/dev-python/narwhals/narwhals-1.33.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Extremely lightweight compatibility layer between dataframe libraries" +HOMEPAGE=" + https://github.com/narwhals-dev/narwhals/ + https://pypi.org/project/narwhals/ +" +# https://github.com/narwhals-dev/narwhals/issues/2284 +SRC_URI=" + https://github.com/narwhals-dev/narwhals/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-env[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --runslow --constructors="pandas,pandas[pyarrow],pyarrow" +} diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 44f5bbefb7c0..98676e2e73fb 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1,3 @@ DIST pdm-2.22.3.tar.gz 2647179 BLAKE2B 61a2e99fabe3395d1f472cf6835a4b56fcecd02a3acf964051bde1304028db575cfcb77803922b2bf0f9f9be3864e59ae2f2f075d41e38a82fd07bdd5f9a8d22 SHA512 2d0aa9aa075e26d5184853d41e95d0427ac4c9a15ddfc00a2881a4edcd0d373d8c71efde2fd0f1f30861e07b418c577b123f53125883f6f5d424609f1c758b80 DIST pdm-2.22.4.tar.gz 2647094 BLAKE2B 629b855964be63f4cddf9dd295390e62c5b948e1a450357ca9dce4f940e99064c335d670bd695c3fc62606452e7252f5ec4fcc145ec73b14ea6181e1c4193454 SHA512 9988420d27f1a409f81b33be8eeb7a209a37529e838465bde815f6bb50c923cb44004e528f735d99ddff02c11bc88dbf1544f310836262b158f783db241e5c9f +DIST pdm-2.23.0.tar.gz 2648692 BLAKE2B aba0a73dbf6a34636144bf35e04226d8b11cc4e54f22c8c15f486424d564aa59161662477d0f740ed489382dfd7d95b743f4a548059c67dccb1caef4588d6db7 SHA512 47b17fcd23ead47886359f34eeb73783688349339efa00af709f740eefe9722d3313baea9ba479892dad9bc67ff85ec8b94d790f15cc9ab5a8322a09711ed0ff diff --git a/dev-python/pdm/pdm-2.23.0.ebuild b/dev-python/pdm/pdm-2.23.0.ebuild new file mode 100644 index 000000000000..281b11e31d7b --- /dev/null +++ b/dev-python/pdm/pdm-2.23.0.ebuild @@ -0,0 +1,132 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.4.4[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.1[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/uv + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + 'tests/resolver/test_resolve.py::test_resolve_local_artifacts[sdist]' + 'tests/resolver/test_resolve.py::test_resolve_two_extras_from_the_same_package' + 'tests/resolver/test_resolve.py::test_resolve_file_req_with_prerelease' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + # i guess doesn't expect some dep to be present + tests/cli/test_build.py::test_build_with_no_isolation + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +} diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index cf74834f59b3..f6b090d7ebd5 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,3 +1,4 @@ DIST pillow-11.1.0.gh.tar.gz 46815201 BLAKE2B 7990683c90359e0a72e17a13e1a29455bc3ace8ce3616d6af59360edfc1ac87541bd1fd6967160bd8d7dd25cfedfc9d2e9b058c3ed433a6208379834f15bc312 SHA512 bb0622fae0b9c3903ddd945dced8e2b94348b2bd06c14bc74da00d8aa3a795aab2daaff39ca6c40b712dcce4f10218cd30739f0eb616c9dfbc16efcf80886f1e +DIST pillow-11.2.0.gh.tar.gz 47097571 BLAKE2B d59e87e7249e7a2b64dd420702d08f6da1d29d91fd32d7043eacac7c5cf33e4cef6d378545454bcb460ea1ae49052e2e684335966e00f6003e018e9241ad50eb SHA512 4ab01472accb056ef48feab6c945a3792b622053c1dc166daf0095597a2df846562ae5ee56e66e595d65e76e7b7bfaf3d5b0cf7847777603a1abdc7af135ec44 DIST pillow-test-images-716bdc4adaf97601e5b9a31c9be25f8975381ee1.gh.tar.gz 57416881 BLAKE2B 8ea5fff2231567f957fc911120c1b50610722477da99559639317e4513e4bc4e73b8b49368a6d95c6938333f0c48db7672c3713eaef70494f7896dadd07cc42d SHA512 b00009be0f5ca85ec0c761fa780f0e650c1877b456b9a9426a4d2300a0c5654358495299e129ded411fccb641e4add7e460bcb3ca7be055f3b207407ccefb33c DIST pythoncapi_compat.h 61109 BLAKE2B 9b8d9f774a6803dee73aedc5465519f2956c284bf70314f5e046d0d5522a10891bf55358a85fea5a156d4063736424c0f019bc71dd18592bbf56c364db7b6bce SHA512 d0ca43186fdc3cd8d0e993135b50fc86eeea05e8b84cba529d89f60ce28bc9502f8d3825eb508be5d68d1fbfc53423a69756c0e79fe0fe7adf94c602b1cf79ff diff --git a/dev-python/pillow/pillow-11.2.0.ebuild b/dev-python/pillow/pillow-11.2.0.ebuild new file mode 100644 index 000000000000..765eaafd427a --- /dev/null +++ b/dev-python/pillow/pillow-11.2.0.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# setuptools wrapper +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE='tk?,threads(+)' + +inherit distutils-r1 toolchain-funcs virtualx + +MY_PN=Pillow +MY_P=${MY_PN}-${PV} + +# upstream always fetches from main +TEST_IMAGE_COMMIT="716bdc4adaf97601e5b9a31c9be25f8975381ee1" + +DESCRIPTION="Python Imaging Library (fork)" +HOMEPAGE=" + https://python-pillow.org/ + https://github.com/python-pillow/Pillow/ + https://pypi.org/project/pillow/ +" +SRC_URI=" + https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/python-pillow/test-images/archive/${TEST_IMAGE_COMMIT}.tar.gz + -> pillow-test-images-${TEST_IMAGE_COMMIT}.gh.tar.gz + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" +REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" +RESTRICT="!test? ( test )" + +DEPEND=" + imagequant? ( media-gfx/libimagequant:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:2= ) + lcms? ( media-libs/lcms:2= ) + tiff? ( media-libs/tiff:=[jpeg,zlib] ) + truetype? ( + media-libs/freetype:2= + media-libs/harfbuzz:= + ) + webp? ( media-libs/libwebp:= ) + xcb? ( x11-libs/libxcb ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${DEPEND} + dev-python/olefile[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + virtual/pkgconfig + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + || ( + media-gfx/imagemagick[png] + media-gfx/graphicsmagick[png] + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # https://github.com/python-pillow/pillow/pull/7634 + "${FILESDIR}/${PN}-10.2.0-cross.patch" + ) + + distutils-r1_src_prepare + + if use test; then + mv "${WORKDIR}/test-images-${TEST_IMAGE_COMMIT}"/* \ + Tests/images || die + fi +} + +usepil() { + usex "${1}" enable disable +} + +python_configure_all() { + cat >> setup.cfg <<-EOF || die + [build_ext] + debug = True + disable_platform_guessing = True + $(usepil truetype)_freetype = True + $(usepil jpeg)_jpeg = True + $(usepil jpeg2k)_jpeg2000 = True + $(usepil lcms)_lcms = True + $(usepil tiff)_tiff = True + $(usepil imagequant)_imagequant = True + $(usepil webp)_webp = True + $(usepil xcb)_xcb = True + $(usepil zlib)_zlib = True + EOF + if use truetype; then + # these dependencies are implicitly disabled by USE=-truetype + # and we can't pass both disable_* and vendor_* + # https://bugs.gentoo.org/935124 + cat >> setup.cfg <<-EOF || die + vendor_raqm = False + vendor_fribidi = False + EOF + fi + + tc-export PKG_CONFIG +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO (is clipboard unreliable in Xvfb?) + Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard + # requires xz-utils[extra-filters]? + Tests/test_file_libtiff.py::TestFileLibTiff::test_lzma + ) + + case ${ARCH} in + ppc) + EPYTEST_DESELECT+=( + # https://github.com/python-pillow/Pillow/issues/7008 + # (we've reverted the upstream patch because it was worse + # than the original issue) + Tests/test_file_libtiff.py::TestFileLibTiff::test_exif_ifd + ) + ;; + esac + + "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # leak tests are fragile and broken under xdist + epytest -k "not leak" -p timeout || die "Tests failed with ${EPYTHON}" +} + +python_install() { + python_doheader src/libImaging/*.h + distutils-r1_python_install +} + +python_install_all() { + if use examples ; then + docinto example + dodoc docs/example/* + docompress -x /usr/share/doc/${PF}/example + fi + distutils-r1_python_install_all +} diff --git a/dev-python/playsound/files/playsound-1.3.0-pep517.patch b/dev-python/playsound/files/playsound-1.3.0-pep517.patch new file mode 100644 index 000000000000..05f42faf8e99 --- /dev/null +++ b/dev-python/playsound/files/playsound-1.3.0-pep517.patch @@ -0,0 +1,125 @@ +https://bugs.gentoo.org/921854 +https://github.com/TaylorSMarks/playsound/pull/149 +From 92385c78ec05c2fc3afad1afc5edc9d1282aa1e5 Mon Sep 17 00:00:00 2001 +From: taconi <igor.taconi@protonmail.com> +Date: Fri, 10 Nov 2023 22:59:23 -0300 +Subject: [PATCH 1/2] Update setuptools configuration file for pyproject.toml + +--- + pyproject.toml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ + setup.py | 43 ------------------------------------- + 2 files changed, 57 insertions(+), 43 deletions(-) + create mode 100644 pyproject.toml + delete mode 100644 setup.py + +diff --git a/pyproject.toml b/pyproject.toml +new file mode 100644 +index 0000000..d2b77e3 +--- /dev/null ++++ b/pyproject.toml +@@ -0,0 +1,56 @@ ++[project] ++name = "playsound" ++version = "1.3.0" ++description = "Pure Python, cross platform, single function module with no dependencies for playing sounds." ++readme = "README.rst" ++license = "MIT" ++authors = [{ name = "Taylor Marks", email = "taylor@marksfam.com" }] ++keywords = [ ++ "sound", ++ "playsound", ++ "music", ++ "wave", ++ "wav", ++ "mp3", ++ "media", ++ "song", ++ "play", ++ "audio", ++] ++classifiers = [ ++ "Development Status :: 5 - Production/Stable", ++ "Intended Audience :: Developers", ++ "Operating System :: OS Independent", ++ "Programming Language :: Python :: 2", ++ "Programming Language :: Python :: 2.3", ++ "Programming Language :: Python :: 2.4", ++ "Programming Language :: Python :: 2.5", ++ "Programming Language :: Python :: 2.6", ++ "Programming Language :: Python :: 2.7", ++ "Programming Language :: Python :: 3", ++ "Programming Language :: Python :: 3.1", ++ "Programming Language :: Python :: 3.2", ++ "Programming Language :: Python :: 3.3", ++ "Programming Language :: Python :: 3.4", ++ "Programming Language :: Python :: 3.5", ++ "Programming Language :: Python :: 3.6", ++ "Programming Language :: Python :: 3.7", ++ "Programming Language :: Python :: 3.8", ++ "Programming Language :: Python :: 3.9", ++ "Topic :: Multimedia :: Sound/Audio :: MIDI", ++ "Topic :: Multimedia :: Sound/Audio :: Players", ++ "Topic :: Multimedia :: Sound/Audio :: Players :: MP3", ++] ++ ++[project.urls] ++Homepage = "https://github.com/TaylorSMarks/playsound" ++Documentation = "https://github.com/TaylorSMarks/playsound/blob/master/README.rst" ++Repository = "https://github.com/TaylorSMarks/playsound" ++"Issue tracker" = "https://github.com/TaylorSMarks/playsound/issues" ++ ++[tool.setuptools] ++py-modules = ["playsound"] ++ ++[build-system] ++requires = ["setuptools", "setuptools-scm"] ++build-backend = "setuptools.build_meta" +diff --git a/setup.py b/setup.py +deleted file mode 100644 +index 909a3ff..0000000 +--- a/setup.py ++++ /dev/null +@@ -1,43 +0,0 @@ +-from codecs import open +-from inspect import getsource +-from os.path import abspath, dirname, join +-from setuptools import setup +- +-here = abspath(dirname(getsource(lambda:0))) +- +-with open(join(here, 'README.rst'), encoding='utf-8') as f: +- long_description = f.read() +- +-setup(name = 'playsound', +- version = '1.3.0', +- description = long_description.splitlines()[2][1:-1], +- long_description = long_description, +- url = 'https://github.com/TaylorSMarks/playsound', +- author = 'Taylor Marks', +- author_email = 'taylor@marksfam.com', +- license = 'MIT', +- classifiers = ['Development Status :: 5 - Production/Stable', +- 'Intended Audience :: Developers', +- 'License :: OSI Approved :: MIT License', +- 'Operating System :: OS Independent', +- 'Programming Language :: Python :: 2', +- 'Programming Language :: Python :: 2.3', +- 'Programming Language :: Python :: 2.4', +- 'Programming Language :: Python :: 2.5', +- 'Programming Language :: Python :: 2.6', +- 'Programming Language :: Python :: 2.7', +- 'Programming Language :: Python :: 3', +- 'Programming Language :: Python :: 3.1', +- 'Programming Language :: Python :: 3.2', +- 'Programming Language :: Python :: 3.3', +- 'Programming Language :: Python :: 3.4', +- 'Programming Language :: Python :: 3.5', +- 'Programming Language :: Python :: 3.6', +- 'Programming Language :: Python :: 3.7', +- 'Programming Language :: Python :: 3.8', +- 'Programming Language :: Python :: 3.9', +- 'Topic :: Multimedia :: Sound/Audio :: MIDI', +- 'Topic :: Multimedia :: Sound/Audio :: Players', +- 'Topic :: Multimedia :: Sound/Audio :: Players :: MP3'], +- keywords = 'sound playsound music wave wav mp3 media song play audio', +- py_modules = ['playsound']) diff --git a/dev-python/playsound/playsound-1.3.0.ebuild b/dev-python/playsound/playsound-1.3.0-r1.ebuild index 19b2a9651688..905c58e6fd80 100644 --- a/dev-python/playsound/playsound-1.3.0.ebuild +++ b/dev-python/playsound/playsound-1.3.0-r1.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi @@ -16,3 +17,9 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND="dev-python/gst-python[${PYTHON_USEDEP}]" + +PATCHES=( + "${FILESDIR}/${P}-pep517.patch" +) diff --git a/dev-python/pyflakes/Manifest b/dev-python/pyflakes/Manifest index eb7a1060863b..da9da06e35b5 100644 --- a/dev-python/pyflakes/Manifest +++ b/dev-python/pyflakes/Manifest @@ -1,3 +1,4 @@ DIST pyflakes-3.2.0.tar.gz 63788 BLAKE2B 12547bc1ef69d11efb86198c091072085df8a5435608aace18eab9da92b428980ad62fc4b7b6e182bee7963c511b637c17191db9138fc811256f553b902dbd66 SHA512 bd413b2ad80ae942bc13cef5ecb3a47b09abb0641fe468d427717b32895eb1702c9e8831867fbaa1de6fff71ab16bc3dae96f745bbc3e7d99de104a008f397ba DIST pyflakes-3.3.0.tar.gz 64021 BLAKE2B e516b08a03b97f5b04377cb34b403c01259463199a84d8ae555fa42fadf7f6bbecf56662814535876173d81e9b789a9ba514f78701ce8f2f535d5094b807398b SHA512 8f22aff3cdac803e4ffc93a0da8317625d624c23ad53428148c9579c3b61b4838b5c1a2c7835c5005d6f73dfa75fb9fb1038e6b55e01c55f2b81d550ad677157 DIST pyflakes-3.3.1.tar.gz 64135 BLAKE2B e4a28b909446441b19ab5ed11165f0b596d4c9a4595fb7115cddc74c7d0585c07e8dda0a0c0be542892fb31c18ebd9b7eeb0beab1728c9cd2e4dc1ffc71cc148 SHA512 3cbee3b6b18909c6fc18539141068261745c7ca2d3966c79244b5077f0750356ca19dc4b0a112c37f554320f4cd38589fdfdf41683565106915ee7b97b896790 +DIST pyflakes-3.3.2.tar.gz 64175 BLAKE2B d1fe4713ce62e3cce0f54724113546c8025457b09ad2d20176f011de8654f48b24981aa7ecfddb3ab3fc65b8f974411560be78cfc319c45f15acb14020d0866a SHA512 1cf65584e77a70a17dea0b66dc3e4e4a202cf6501f0209025eac2ce34925e229b28b6a66e09c536692a6ce5ce895c5b7451dbd6b44dd77994e4c0701653c6251 diff --git a/dev-python/pyflakes/pyflakes-3.3.2.ebuild b/dev-python/pyflakes/pyflakes-3.3.2.ebuild new file mode 100644 index 000000000000..09e8ba85c4c8 --- /dev/null +++ b/dev-python/pyflakes/pyflakes-3.3.2.ebuild @@ -0,0 +1,47 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Passive checker for Python programs" +HOMEPAGE=" + https://github.com/PyCQA/pyflakes/ + https://pypi.org/project/pyflakes/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3*) + # regressions with pypy3.10 + # https://github.com/PyCQA/pyflakes/issues/779 + EPYTEST_DESELECT+=( + pyflakes/test/test_api.py::CheckTests::test_eofSyntaxError + pyflakes/test/test_api.py::CheckTests::test_misencodedFileUTF8 + pyflakes/test/test_api.py::CheckTests::test_multilineSyntaxError + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # failing due to improved error message + # https://github.com/PyCQA/pyflakes/issues/812 + pyflakes/test/test_api.py::IntegrationTests::test_errors_syntax + pyflakes/test/test_api.py::TestMain::test_errors_syntax + ) + ;; + esac + + local -X PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pyglm/Manifest b/dev-python/pyglm/Manifest index 546f86117e38..c897eb2ca43f 100644 --- a/dev-python/pyglm/Manifest +++ b/dev-python/pyglm/Manifest @@ -1,2 +1,2 @@ -DIST pyglm-2.7.3-glm.gh.tar.gz 232356 BLAKE2B ae9c1dada06c33240eac906af5e6ecad903a19d62640aa569371a0aa223ebc0afa6d7f3cfc4ad419376bc43d5877e5e606f5e419d048306247f8b3eba352ca1d SHA512 9005100f39990b5b61eced679863d116bb6375060384c6e4cddbd2dc0caa3a66d165d9b294de84fdfe58e610f15500ffa172ca0760eba4efff9d91c65a310852 -DIST pyglm-2.7.3.gh.tar.gz 735017 BLAKE2B 9584c9f7dd7121843ccaa8b036d535532b29b3d4eee48b5ce24daddd1669160cf9f5262c08ef8c6912ccb3f8e39958a63563a2e0369ebc88b5673a3bd4822c77 SHA512 e48019abc27f8c6dfbad48d7fd94169f0cea24fb8ba3428ea7f418e7129eb900fc1c670b96637a3b7ff8a5fefbd3dbaa399738eb508523460d5b2a62e148a202 +DIST pyglm-2.8.1-glm.gh.tar.gz 293158 BLAKE2B fca1a7d971aed95c3e78edae5542436cbe49b6f5f2adea526a21efb7f30843d553e858375c1afbf5e66362d8fc7c12586b8d14e247b69bf6a31b33172d2ba2ad SHA512 2261bbe1ea8dd2f573842ec809e5343ff703a72c9975e83f0da709188f8ff16ac6ee014217430dac8057420787519e53b36b743bd847355de064612cc36da0c0 +DIST pyglm-2.8.1.gh.tar.gz 791363 BLAKE2B 5f1f455bdc09c82329cc0b6ee2c70fd1239f58feef6b71ef24560b67fa1ec94cfe728b3814f733afed42fd37f5574d36ff91d9a193fa942bf2b2c4196d0daca0 SHA512 47f28151be41251e29b51514e547fb21e9abec2520118284788fff65d659ec61f5ef3dcb4e6e4daa2dc7c4adb9f3a11849c1732a0915a9ff9ab1a91ea8c691b8 diff --git a/dev-python/pyglm/pyglm-2.7.3.ebuild b/dev-python/pyglm/pyglm-2.8.1.ebuild index 0b296407e827..313deb192106 100644 --- a/dev-python/pyglm/pyglm-2.7.3.ebuild +++ b/dev-python/pyglm/pyglm-2.8.1.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 -HASH="fbc534be62f8c785db989f8ae7526edf6d0dc306" +HASH="58e0db58cc860c0c6f7f6ee3a462e17a431646a4" DESCRIPTION="Fast OpenGL Mathematics (GLM) for Python" HOMEPAGE="https://github.com/Zuzu-Typ/PyGLM https://pypi.org/project/PyGLM" SRC_URI=" @@ -21,20 +21,21 @@ S="${WORKDIR}/PyGLM-${PV}" LICENSE="ZLIB" SLOT="0" KEYWORDS="~amd64" +DOCS+=( wiki ) RDEPEND=" media-libs/glm test? ( dev-python/numpy[${PYTHON_USEDEP}] ) " -EPYTEST_DESELECT=( - # Tests fails, see https://github.com/Zuzu-Typ/PyGLM/issues/227 - test/PyGLM_test.py::test_findMSB - test/PyGLM_test.py::test_bitCount -) distutils_enable_tests pytest src_prepare() { default - mv "${WORKDIR}/glm-${HASH}"/* -t "${S}/glm" || die "Could not move the glm source" + mv "${WORKDIR}/glm-${HASH}"/* "${S}/PyGLM_lib/glm" || die "Could not move the glm source" +} + +python_test() { + rm -rf "${S}/pyglm" "${S}/glm" || die "Could not remove the source directory" + epytest } diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest index aa32b16a395a..9bac094dbdf6 100644 --- a/dev-python/pytest-cov/Manifest +++ b/dev-python/pytest-cov/Manifest @@ -1 +1,2 @@ DIST pytest-cov-6.0.0.tar.gz 66945 BLAKE2B 8746915eb23b7d524e15ece1a05d5a1c8de6e8e08b807142e9a03f48605d54f715396d73cdb4ee5004dc5703ac0f68309e700d783ebb2037fc861e00033c35f3 SHA512 2947a032417d60867595bb65630942ff5d8a61523af5298e3f169420b28882f9b4256d89980a9cbe88c34f9b7fa759f44fd64d391ad86c1491a55f9a70282bf0 +DIST pytest_cov-6.1.0.tar.gz 66651 BLAKE2B b71fc2da69cdc2c3370cbefb8921b861888ee4e0a93871ad5c7b94ae9f0b9ee6e48bf622e33f28980a2cd26efdfad60c4098dbde703706e49aec88acd09349d6 SHA512 0d1aa8f1ba1aa06a16f86f80d73b96143b845734a84205f35201a6b0d24913c61f1459ac0ff2a149c36eb273873a24cce94ea92e6aa2c876689fb77f52575eb5 diff --git a/dev-python/pytest-cov/pytest-cov-6.1.0.ebuild b/dev-python/pytest-cov/pytest-cov-6.1.0.ebuild new file mode 100644 index 000000000000..483c0e8bb1af --- /dev/null +++ b/dev-python/pytest-cov/pytest-cov-6.1.0.ebuild @@ -0,0 +1,56 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin for coverage reporting" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-cov + https://pypi.org/project/pytest-cov/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/py-1.4.22[${PYTHON_USEDEP}] + >=dev-python/pytest-3.6[${PYTHON_USEDEP}] + >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}] +" +# NB: xdist is also used directly in the test suite +BDEPEND=" + test? ( + dev-python/fields[${PYTHON_USEDEP}] + >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/furo +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # NB: disabling all plugins speeds tests up a lot + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail + + # https://github.com/pytest-dev/pytest-cov/issues/517 + local -x PYTHONPATH=$(python_get_sitedir):${PYTHONPATH} + local EPYTEST_DESELECT=( + # this one's broken by the PYTHONPATH hack + # the alternative is to symlink coverage and pytest into venv, + # but that's ugly and likely to break again in the future + tests/test_pytest_cov.py::test_central_subprocess_change_cwd_with_pythonpath + ) + + epytest +} diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index 28960c829a3d..df883cdfcf7d 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -112,6 +112,8 @@ DIST pyo3-macros-0.22.6.crate 8182 BLAKE2B 81998e4f4cb325763e4d3477af05b332e184c DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 DIST qiskit-1.4.0.gh.tar.gz 8508849 BLAKE2B 8f7cf0992d6623ae441719339aac48dcbb6f969276da4d76c0e317865f75b9bb0ca76e0feccea8ef297b2306320de47aab05bb07fc6e2cc40ae6f1c6c04bf37f SHA512 c1a74ff98474add76a24a962a39c43a0a7ae44cf5421f846c43a4c39d89e61552cc51ed2769f0badf1c4eb4ee8d6f2be9715041583ad3b359bab9778a309455c DIST qiskit-1.4.2.gh.tar.gz 8513418 BLAKE2B 99afd2b678d9aa7cc81c36adb10c54f51340a40a5bbf996905473fdae61adcdc9c110b511c96435ab4695b8198030fee4b79eaddfd8aff793e1f8801902cdc07 SHA512 11225da1654cf576a9d3cc953a59dbc11d5db1b67d8ee024dca7837251393bf76042ce0b490528d8db64a1c87eda064c566fba37d4e7f8597edeab405123f72a +DIST qiskit-2.0.0-crates.tar.xz 15000540 BLAKE2B d7fbd51bff125bdd389b8945c6d69d5646169eb92efa6236f01c0442fa460b8a776e8f8e69e13d36400e68feb40f192c95ea92688ae50cebe15a9aa0c3a3d437 SHA512 0dd619cc11ca4c2d23da56f313ecb92d2b451ca6f01fecb831bf39825610802149bd69ed0d8ae73044041b1d53427ad8c6b510728570c8e76466a3f88cb38ad8 +DIST qiskit-2.0.0.gh.tar.gz 7911127 BLAKE2B da36cfbaaef52fe3f8e03916de0fc12ffd7ef8c1ce264e3b4558563909ee44ee5a85a3a61b7def07ba38e2061e9e154a98dddf5d7f280bf6b70b793176a53a65 SHA512 cea8b1722ad12961b86e42236f93e74e996a8be30da279c16c65b5090a957a86c2584c7373c95f4b4c0da04063ee82d7711707ab3dd859f44f594adb35670fb3 DIST qiskit-2.0.0rc1-crates.tar.xz 14966052 BLAKE2B a7c0a83ebc2c03e856b4634e8c2f300d6aa953926e33af3884ab7419f2784b13db70134d1d26d2e20afe597e4acbf84135107842794a0e460389698d8dd9dc6d SHA512 e74a00c53600247a194e80633157c5ad050e6b41b254e8e238f9852272e51d6b2a9f65a1cc4aec89939b1319e32885a35e6fa39d9cde715a29ee68f461807943 DIST qiskit-2.0.0rc1.gh.tar.gz 7874905 BLAKE2B ab21ce2c190006fe3ee698d39800e03272252a2065dcb8f3b9aebcc2da8b2ee355ea4f4e6440cd0c74bf58691299d7dcebb2f8e2ba4a6406a12e00001404b262 SHA512 cb13db2823de6fd270c5ce565ebdce4afa15c6004bdc7866c3cce5348a48efeac5d27769a1bc780738bb84c0dfead696a3665cfb04e9dd17e3bf82befc3e5862 DIST qiskit-2.0.0rc2-crates.tar.xz 14966052 BLAKE2B a7c0a83ebc2c03e856b4634e8c2f300d6aa953926e33af3884ab7419f2784b13db70134d1d26d2e20afe597e4acbf84135107842794a0e460389698d8dd9dc6d SHA512 e74a00c53600247a194e80633157c5ad050e6b41b254e8e238f9852272e51d6b2a9f65a1cc4aec89939b1319e32885a35e6fa39d9cde715a29ee68f461807943 diff --git a/dev-python/qiskit/qiskit-2.0.0.ebuild b/dev-python/qiskit/qiskit-2.0.0.ebuild new file mode 100644 index 000000000000..e1f8cc46a09b --- /dev/null +++ b/dev-python/qiskit/qiskit-2.0.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 2022-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} ) + +CRATES=" +" + +inherit cargo distutils-r1 + +MY_P=${P/_} +DESCRIPTION="An open-source SDK for working with quantum computers" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} + https://github.com/gentoo-crate-dist/qiskit/releases/download/${PV/_}/${MY_P}-crates.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT MPL-2.0 + Unicode-3.0 ZLIB +" +SLOT="0" +IUSE="+visualization" + +RDEPEND=" + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + <dev-python/symengine-0.14[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) + visualization? ( + >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] + dev-python/pydot[${PYTHON_USEDEP}] + >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] + >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] + test? ( + app-text/poppler[png] + >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] + >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] + >=dev-python/networkx-2.2[${PYTHON_USEDEP}] + >=dev-python/qiskit-aer-0.14[${PYTHON_USEDEP}] + >=dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED=" + usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so + usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die + + # sigh + find test -name '*.py' -exec \ + sed -i -e 's:assertRaises(DeprecationWarning):assertWarns(DeprecationWarning):' \ + {} + || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw + test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin + test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register + # tiny image differences, sigh + test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit + # TODO: failures from dill + test/python/circuit/test_parameters.py::TestParameters::test_transpiling_multiple_parameterized_circuits + test/python/compiler/test_transpiler.py::TestTranspile::test_delay_converts_expr_to_dt + test/python/compiler/test_transpiler.py::TestTranspile::test_transpile_two + test/python/transpiler/test_naming_transpiled_circuits.py::TestNamingTranspiledCircuits::test_multiple_circuits_name_list + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + test/python/transpiler/test_preset_passmanagers.py + ) + + rm -rf qiskit || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Run the Python test suite rather than everything under test/ which + # includes the 'randomized' suite. Upstream run that in a separate CI job. + epytest test/python +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 7f94117eb9f7..a7614eae324a 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,8 +1,2 @@ -DIST sqlglot-26.10.1-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e -DIST sqlglot-26.10.1.tar.gz 5334132 BLAKE2B 09050744362cd6096b761f97d67230e9908b88f074958b23c3c5eeae10adc5319a69134d68f41d5d181fea0e7d16aaaed224a6c786426da36a60fba5b6bbda16 SHA512 cee6ff027bbeb21d1a325f90f2d64f9d87bd221e2e5a1c0a9f11ddb3f11a898dc570b278be157ebd1050cb810338057bd6595fec322c97a98937c2c9ee008a09 -DIST sqlglot-26.11.1-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e -DIST sqlglot-26.11.1.tar.gz 5335079 BLAKE2B fad8c5cf7f9e4b092bdcb73d3ed476b9e9d8260db3fff6679d8b325529b2164cdc0ca6368f45f7e351ebd31062037e1c78c9070b84a8347caaa5968d1108a2be SHA512 b7db28026c5f28b6e23e3f517daed08158315acb5965975ecf8ce43cb3cdaeeda8799ca60606037197d09c23338d9f6a10c95a33212c1106576860b1b17974f7 -DIST sqlglot-26.12.0-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e -DIST sqlglot-26.12.0.tar.gz 5339903 BLAKE2B e09691ae560db4a078a60fe3bb5fa7ef98b9f186dc487ba9c3ad1dc5467a197a600f407f7aef5da8e1d04a0e196d63c3e3d48e4ca88b1c0d7188e8234804f816 SHA512 e5e7736ebf205393f4616906fe81e8e664e6364d6f5f1645ce5140b71170e46d184572b686433f5ee1882ddb410a0075f9022681881c10727f0e1dc212571a50 DIST sqlglot-26.12.1-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e DIST sqlglot-26.12.1.tar.gz 5341371 BLAKE2B 73d45669337786903f5e3e14683e96fa4d258696cd1116d3f82034437178612651e8c804cfb072cae444bd6a0d0496556f20e459d3d7470700215e16c23cb4af SHA512 2839c23d6ffd3dc2fc63258b43485c6f8471cdadec3be53012fccad41158ca834ac6aef41b21c004a749be130fef40d5747cb0d88a9a22c8dedf3b153c675aa2 diff --git a/dev-python/sqlglot/sqlglot-26.10.1.ebuild b/dev-python/sqlglot/sqlglot-26.10.1.ebuild deleted file mode 100644 index e6d6333f80ba..000000000000 --- a/dev-python/sqlglot/sqlglot-26.10.1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" " - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CARGO_OPTIONAL=1 - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - https://github.com/gentoo-crate-dist/sqlglot/releases/download/v${PV}/${P}-crates.tar.xz - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-26.11.1.ebuild b/dev-python/sqlglot/sqlglot-26.11.1.ebuild deleted file mode 100644 index e6d6333f80ba..000000000000 --- a/dev-python/sqlglot/sqlglot-26.11.1.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" " - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CARGO_OPTIONAL=1 - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - https://github.com/gentoo-crate-dist/sqlglot/releases/download/v${PV}/${P}-crates.tar.xz - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-26.12.0.ebuild b/dev-python/sqlglot/sqlglot-26.12.0.ebuild deleted file mode 100644 index e6d6333f80ba..000000000000 --- a/dev-python/sqlglot/sqlglot-26.12.0.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" " - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CARGO_OPTIONAL=1 - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - https://github.com/gentoo-crate-dist/sqlglot/releases/download/v${PV}/${P}-crates.tar.xz - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest index 2f38ca0e4d6c..3b7db4c057fd 100644 --- a/dev-python/stone/Manifest +++ b/dev-python/stone/Manifest @@ -1 +1,2 @@ DIST stone-3.3.8.gh.tar.gz 281200 BLAKE2B 17af8af8d5cf01483ab4f63ebb694076e675880c0374a11a4b38f02d8783a35c4b518a9109721523fb3efe5b9f6f3381f288a4e00322dfda62343f77f2768f43 SHA512 bd7cd80a44f59225cbd322e385cfc6b6eccd7e30d8e6f0939d0fd65405b75773b1bc4449f6737366d0fa481c5860931b20ffe048eff57aad34ae90be47d18020 +DIST stone-3.3.9.gh.tar.gz 290882 BLAKE2B ad6e579d98b95d1828d0050ec29c53c6e5e52968def1fc10d315d311afdb8f350e9a7fd26330dce692c8f2419fe62ee22dba5ae54f0bcc91f09f51d7a7368f9c SHA512 916e8bce6e46114da8e684af25666d15257aa33bb0abb571c10f84457cfb958c309ca35bd3884f816ef8091c877e20b56b392cf5c85a760fab95f116efc7b321 diff --git a/dev-python/stone/stone-3.3.9.ebuild b/dev-python/stone/stone-3.3.9.ebuild new file mode 100644 index 000000000000..25077a9ecd7c --- /dev/null +++ b/dev-python/stone/stone-3.3.9.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021-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} ) + +inherit distutils-r1 + +DESCRIPTION="The Official Api Spec Language for Dropbox" +HOMEPAGE=" + https://www.dropbox.com/developers + https://github.com/dropbox/stone + https://pypi.org/project/stone/ +" +SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/syrupy/Manifest b/dev-python/syrupy/Manifest index d69e3b9bbba9..aa3a77d469b4 100644 --- a/dev-python/syrupy/Manifest +++ b/dev-python/syrupy/Manifest @@ -1 +1 @@ -DIST syrupy-4.8.1.gh.tar.gz 2315109 BLAKE2B 849e808f3f00017c045a48c47a389eb6f291653a47a979e66a818ca50cfd8a6ab9491a216124591967c18234b0111e1990045300b4d9e100bb12a0421dd5d688 SHA512 6c2e568ab622a03cf17098b979601d7b6710db8d9e92fa4550b1390cfd0e3b14469e5b18c6e7dd87f49ba8b78e992026ddf2f3117021fed9b6ca9d20f049a07f +DIST syrupy-4.9.1.gh.tar.gz 2319662 BLAKE2B 1f7aa3b1b928b88905606b67b4bd05096c6d9e9d7508d16f899540e3d249956467d2f008e3b4881e228e8c4cad06bddccdcfc1947ee3a2b96b59170b2a475b64 SHA512 e8a33fc788e1cd46c24070099942eedc2b4d88953f14c1255eb8350e44fbd92f37547f6f1a2b5bcd073670fcaa5d924e6a6ff0beb5e3f8a76180bca7037aa189 diff --git a/dev-python/syrupy/syrupy-4.8.1.ebuild b/dev-python/syrupy/syrupy-4.9.1.ebuild index 02ffc95f1a44..02ffc95f1a44 100644 --- a/dev-python/syrupy/syrupy-4.8.1.ebuild +++ b/dev-python/syrupy/syrupy-4.9.1.ebuild diff --git a/dev-python/tblib/Manifest b/dev-python/tblib/Manifest index ae7418165359..b7fbd4b1a2d7 100644 --- a/dev-python/tblib/Manifest +++ b/dev-python/tblib/Manifest @@ -1 +1,2 @@ DIST tblib-3.0.0.tar.gz 30616 BLAKE2B 4e2ea0e0f09894f1a8dee4d0dbdc61c054964e4ec5a8a1fbb31f3793268ab8607b5b6e547f7771264c9863522b01cdd39ef6aa4a91d757f1c37f9fac37d6cbaf SHA512 9914709846a4a9b0d9fe0f58eb321085f69e11ce364930f67cc5fec008d6ca57963b17699b0a136e2de91ff01004275fc43a38f318b9faab7cb2fac861108297 +DIST tblib-3.1.0.tar.gz 30766 BLAKE2B aa28e1f4a851b8562d0545643afc7293e3c0cf173a4a0ca04927958b143ace94ad36f449401fd237797a7f978d10f3080f4419fdc89f0e07503f5dbe7ad1f05f SHA512 619e3a45322da4833e839e1af92231fee515f88fadf31f2544ba04d994f203778e4bb7c83abb937d89ff8fa1aa6949d3769cc7d828daf600833801f479bdfd33 diff --git a/dev-python/tblib/tblib-3.1.0.ebuild b/dev-python/tblib/tblib-3.1.0.ebuild new file mode 100644 index 000000000000..d4f06ebce531 --- /dev/null +++ b/dev-python/tblib/tblib-3.1.0.ebuild @@ -0,0 +1,43 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Traceback fiddling library for Python" +HOMEPAGE=" + https://github.com/ionelmc/python-tblib/ + https://pypi.org/project/tblib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--benchmark-disable/d' pytest.ini || die +} + +python_test() { + local EPYTEST_IGNORE=( + tests/test_perf.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTHONNODEBUGRANGES=yes + epytest +} diff --git a/dev-python/textual/Manifest b/dev-python/textual/Manifest index 1f9938833e13..85d147dab6b3 100644 --- a/dev-python/textual/Manifest +++ b/dev-python/textual/Manifest @@ -1,2 +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 +DIST textual-3.0.0.gh.tar.gz 30121836 BLAKE2B 0b72d0b67fafcae4eddddc9e8cac53a4c83d0b7d9d2d959a84219adf3cd8daeeae1f31d8abbab7b89bf8c0ffd7d22bb35e08dab36f1bb542fae15c34867f355a SHA512 384f2d2b4f441c3ff8dc731ed1b00e2d3e145330c9793cbf6141bceb7b6452cd11ea2d9e07128e79a672a11e859e15c2b26d6e6e1e1f82dcbe953945e7daa546 diff --git a/dev-python/textual/textual-1.0.0.ebuild b/dev-python/textual/textual-3.0.0.ebuild index 7922e1959907..b93a6270e8a8 100644 --- a/dev-python/textual/textual-1.0.0.ebuild +++ b/dev-python/textual/textual-3.0.0.ebuild @@ -37,7 +37,6 @@ 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}] ) @@ -54,21 +53,34 @@ EPYTEST_DESELECT=( # Need a package that should be optional tests/text_area/test_languages.py + + # Xdist fails thoses + tests/test_focus.py::test_focus_next_and_previous + tests/test_focus.py::test_focus_next_wrap_around + tests/test_focus.py::test_focus_previous_wrap_around + tests/test_focus.py::test_wrap_around_selector + tests/test_focus.py::test_no_focus_empty_selector + tests/test_focus.py::test_focus_next_and_previous_with_type_selector + tests/test_focus.py::test_focus_next_and_previous_with_str_selector + tests/test_focus.py::test_focus_next_and_previous_with_str_selector_without_self + tests/test_focus.py::test_focus_chain + tests/test_focus.py::test_allow_focus + tests/test_focus.py::test_focus_next_and_previous_with_type_selector_without_self ) 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_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" diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index 22fde3cf71e5..488dfbaeaf6a 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1 +1,2 @@ DIST types_psutil-7.0.0.20250218.tar.gz 19828 BLAKE2B 0b1c1f53a4ba50145e6dfb3ca3e698c341b3050bb6fdbbfe62f10c7fadf85b16dba37feb15b6d66b11e068afbe693e54aaaa02fab85857b4d9f2e9def17259ee SHA512 0fc058e34e87af5438e0cd0702e30743ec9c4dd6e28ffe892d43afb8821480198a75b79b77650f76aef742ce44f35aa1ff6739dbcbabfb6aa68fdfd3d7d4f647 +DIST types_psutil-7.0.0.20250401.tar.gz 20273 BLAKE2B 71961ed1e723d9f27f882511bce5398abffc199e90a0f3cfb0b7eae9dc23b88e76c08351e57e472262b89a35872c2d84566e4e6fc20577507f50c671863fb188 SHA512 c28c668860a907c702f7f6f1d14d24bac8ebf1099516ff50ab7ec3822870da89c891aee1561b522b6ed2c202edcb7edf5c0ea509012d33005f606d5b865fed44 diff --git a/dev-python/types-psutil/types-psutil-7.0.0.20250401.ebuild b/dev-python/types-psutil/types-psutil-7.0.0.20250401.ebuild new file mode 100644 index 000000000000..fac2c3367736 --- /dev/null +++ b/dev-python/types-psutil/types-psutil-7.0.0.20250401.ebuild @@ -0,0 +1,16 @@ +# Copyright 2023-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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
