diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-15 17:57:07 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-04-15 17:57:07 +0000 |
| commit | adc00facea3b758b0f4d383aa6560ee91ad11055 (patch) | |
| tree | 42aacc0f61d602c074216427aa7dbaa438ad9e46 /dev-python | |
| parent | e0c32010d2777aef9935cc7221be661200b38124 (diff) | |
| download | baldeagleos-repo-adc00facea3b758b0f4d383aa6560ee91ad11055.tar.gz baldeagleos-repo-adc00facea3b758b0f4d383aa6560ee91ad11055.tar.xz baldeagleos-repo-adc00facea3b758b0f4d383aa6560ee91ad11055.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
50 files changed, 810 insertions, 413 deletions
diff --git a/dev-python/blake3/blake3-1.0.4.ebuild b/dev-python/blake3/blake3-1.0.4.ebuild index 1ba3f577d591..897883a98a9a 100644 --- a/dev-python/blake3/blake3-1.0.4.ebuild +++ b/dev-python/blake3/blake3-1.0.4.ebuild @@ -116,7 +116,6 @@ src_prepare() { python_compile() { local DISTUTILS_USE_PEP517=$(usex rust maturin setuptools) - local DISTUTILS_UPSTREAM_PEP517=${DISTUTILS_USE_PEP517} if ! use rust; then cd c_impl || die diff --git a/dev-python/bottle/bottle-0.13.2.ebuild b/dev-python/bottle/bottle-0.13.2.ebuild index c39bcab0a7bb..603af5eedf50 100644 --- a/dev-python/bottle/bottle-0.13.2.ebuild +++ b/dev-python/bottle/bottle-0.13.2.ebuild @@ -18,6 +18,8 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" BDEPEND=" test? ( diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 48cb93750fdd..ba49b66e1652 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -8,6 +8,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz 230651433 BLAKE2B b71d459de99a741f9eb5809fcb44e6d9a17d3295bf11755d2b04a83fff6257eb4e5856826581c000e3b2868ff1cfb155ee18c692654f8083af04574d414c8fa2 SHA512 5b8d1e493830b7838b3ca76148dfc2e2af1cbaa660bd80958777698210c3347a1308f0725d40b10f8f12877daf99c4ba4837e4fa857a781ae912ee167369bafd DIST llvm-project-20.1.2.src.tar.xz 147229028 BLAKE2B 90be4c8b69d44bc3a295f3f63081f999cf35d05e9157ab104d403a5d5b6c3ff97b57a89598d2ec0413988f93a23f97f485b2216bbf0630cade754e9830246621 SHA512 c95e088e471d49c6692c8af1a7e40924467e4c269dada019c44455687c9f0e6a213b9b3ac8afa4e3d20cb3e757afc3400152e7cd06981aeebd61591cac15580d DIST llvm-project-20.1.2.src.tar.xz.sig 566 BLAKE2B fa4637cd41bddb0425567b17bcb0ba4800ec9a689897610febfba7f49f8218d6aff7bb8f7ecf6bb927397096ca49c0c1817b243e5ba7fc0ba51993ef532dadeb SHA512 d3f6a350ebd9884878442ea202f58328f8e85c30cfb150371e4af7fa8dc560bb421cd0f49f49e6bc95f57de6c06543633f0b2799aab9590750f440e099424e01 DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7 diff --git a/dev-python/clang/clang-21.0.0_pre20250415.ebuild b/dev-python/clang/clang-21.0.0_pre20250415.ebuild new file mode 100644 index 000000000000..a99c5601e047 --- /dev/null +++ b/dev-python/clang/clang-21.0.0_pre20250415.ebuild @@ -0,0 +1,53 @@ +# 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} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/configshell-fb/Manifest b/dev-python/configshell-fb/Manifest index b59823660b3f..e2664f954f12 100644 --- a/dev-python/configshell-fb/Manifest +++ b/dev-python/configshell-fb/Manifest @@ -1,2 +1,3 @@ DIST configshell_fb-2.0.0.tar.gz 33794 BLAKE2B 7bb46a19b58107c7e4d0f7a4dde9520cdd31b85238ad7579f85c30f855c7fb90736470419e7f6882bbeed89d9d55091b92f7a3f1e4bbff5e5a9eae813c148756 SHA512 3e0c0c3fda661cd09d80cd07e32cc942aa804fde49c00cfed5234671b1005f8126264c39a72aec466b3b9324366faa83828eee74f8b541d6f8bc628548d31a9e DIST configshell_fb-2.0.1.tar.gz 34046 BLAKE2B b9337ab17d1a3486e7a762669b4f3a37ef40bdbe26da8f35757b2ef839a3e8e1b5fa778d722f9afdcbc7dbd26cd48c82609cfad8dbced083da0d260436c42189 SHA512 77006982cd213ee5c30091232146787b8387b5366452d24ce6c931096b6048f503a4c87d7aefd4b5dafda475d69f5782b7a4f1efb5cd0e376f1ab336f749c15b +DIST configshell_fb-2.0.2.tar.gz 34339 BLAKE2B 1b8cb5579b3ca227038ad845e152d37fa7b2c974e860126b2126be5ac59bc1a9caf1e056963eaa6c22e0a23997adfe83c60148217ccbdaab0c97a01e29f5f8d3 SHA512 60ed61df6d318541c7a9ec9d9d0f27edbbfce8d1839114d54b061bfb9f969f99d4c99312d31ec90f29366bc4605240c112abda20cedeb1b49973054bb5d120ae diff --git a/dev-python/configshell-fb/configshell-fb-2.0.2.ebuild b/dev-python/configshell-fb/configshell-fb-2.0.2.ebuild new file mode 100644 index 000000000000..f78790722e58 --- /dev/null +++ b/dev-python/configshell-fb/configshell-fb-2.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-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 pypi + +DESCRIPTION="A Python library for building configuration shells" +HOMEPAGE=" + https://github.com/open-iscsi/configshell-fb/ + https://pypi.org/project/configshell-fb/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" examples/myshell || die "Test failed with ${EPYTHON}" +} diff --git a/dev-python/dep-logic/Manifest b/dev-python/dep-logic/Manifest index 5db23bfd9a3c..754df225552c 100644 --- a/dev-python/dep-logic/Manifest +++ b/dev-python/dep-logic/Manifest @@ -1,2 +1,3 @@ DIST dep_logic-0.4.10.tar.gz 35432 BLAKE2B 6b18af609747995e4417d3040b853ef28f747225fefa0a482446188d75ae3b0021919c19dae1a4fa134158b8d663edb5153d1f5c8ce1d1aca4442997351617e8 SHA512 e53832385a22a4700067871eaaea8124f2245ab36b4e5daa775598b5e699a89de9dcb17f1c4c6e19c0915baeb835fcffdc13da17b82af792ab6706b481f7ac6f DIST dep_logic-0.4.11.tar.gz 35450 BLAKE2B 9568cb823255e375d09f267807291a6ca7fb516e57faaa3a6d94ecaf2578f20df96ae7b0691238253057b7eba6904b9bb2ed96d4126a357cf2e8d9f9c17f4c7c SHA512 fdc004bccaf7ae0da2b0926a106d2c16373f6e3e8da4f14949cb50332150e261f7834fbb34fccf8abe269c6765ae9862c691c6719c969b21fb6e7acb8ac054c7 +DIST dep_logic-0.5.0.tar.gz 36667 BLAKE2B 245b442eba8aca129f6c63906b1704041343b26f7bc0bfef67912c2c9f800f2cbd8ff20d7155c741303bf716e0cc5a40c99f5b84e6b625e622be7ed339b39d89 SHA512 458aa13ef623bd497bd3580a2dc17ee49cdfe31de1fb330d5f73422e2b6f49b1e415460a38a86ea8451f55c55ebfa1bd166435f764f8530285719c1a69d149bf diff --git a/dev-python/dep-logic/dep-logic-0.5.0.ebuild b/dev-python/dep-logic/dep-logic-0.5.0.ebuild new file mode 100644 index 000000000000..afa826cc943f --- /dev/null +++ b/dev-python/dep-logic/dep-logic-0.5.0.ebuild @@ -0,0 +1,25 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python dependency specifications supporting logical operations" +HOMEPAGE=" + https://github.com/pdm-project/dep-logic/ + https://pypi.org/project/dep-logic/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/packaging-22[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 1ea1ae3dfde4..6ebaf39d17a6 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1 +1,2 @@ DIST google_api_python_client-2.166.0.tar.gz 12680525 BLAKE2B 3b05b2d18da5a20e74a798738e48385e3fe85297f3a1b106624c948a1ef48b4a90e955bb8c75c3381d30a7c370ded63eb931769dfc4d09406913499fc03325c4 SHA512 cb41e2f3968da6b87f6bad2c66410cfbb5ab86d20b0b0713660a5e3aefecd2ede7015d136784d31c6af1dcdbbeacc8ca24cdc9c22b9799c271bb1bdfe6179f71 +DIST google_api_python_client-2.167.0.tar.gz 12725129 BLAKE2B d1d94b92f161f68ccad986eb17043a9f1855357cc8914b9a58755f6eb9451c3768012a68d45709f0a79e70936734ff8f1464dcbc19b7ba1bdff88eca54a881fa SHA512 ae51ef8985d87f0663ce34d5bc28c29693268fdf362b95ad1d8c6c5aa847c6880082d0b25281d6c7dda91b7a17eb62057deeccd31e9416309a50f04c6ff33e09 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.167.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.167.0.ebuild new file mode 100644 index 000000000000..b2220fafe3ef --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.167.0.ebuild @@ -0,0 +1,50 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index c8ad77bd81a1..f055ace006e6 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1 +1,2 @@ DIST google_auth-2.38.0.tar.gz 270866 BLAKE2B fe21c52c00a9a515d250644ffcff593c4dae55f326eae917f9fac1864b5f595a60da753e9c96e2c2fc15dfa1623f97b4ba5ebc069b3e0f8e2f7963db2e35909c SHA512 fdc771a6b3ff2912ec5c7b6efeb84b4faf9f429caea4ecc76473515a74a73c0a3e2d78bacb96725f6e2c8170292208ae8b4fb4f790e874cf3e2a3f5b221451bf +DIST google_auth-2.39.0.tar.gz 274834 BLAKE2B f924291ba51799c4560849f61c30419110c786bfe12bade26ecd6940c952ad91a515770997008a2dd0b82f42771695500b951e036b2387b43e57c76ca2e6e04e SHA512 3bee0b649fdec2e9972afc47cd863f58c2b5e451a3970d85674d3d0572b1cbfd39d355af8c7648bb79aea2b41bd177da03dd01cb146681ed651de2d06bf355c0 diff --git a/dev-python/google-auth/google-auth-2.39.0.ebuild b/dev-python/google-auth/google-auth-2.39.0.ebuild new file mode 100644 index 000000000000..fc3d3759d7bf --- /dev/null +++ b/dev-python/google-auth/google-auth-2.39.0.ebuild @@ -0,0 +1,72 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success + ) + local EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/googleapis-common-protos/Manifest b/dev-python/googleapis-common-protos/Manifest index 7c78603d4fe4..b8ce80a042ca 100644 --- a/dev-python/googleapis-common-protos/Manifest +++ b/dev-python/googleapis-common-protos/Manifest @@ -1 +1,2 @@ DIST googleapis_common_protos-1.69.2.tar.gz 144496 BLAKE2B 0f6eeef6fc124062db6214fa4d90b9717e4c4fce6b61faa0864ba8946a6c1de4ff7941b8dae6e1a0fb09821ae79927cd1a45eb5768a7ea22a7d866e58fc9b489 SHA512 a8f6f6ab551813e05db06af9ec404e4e87dcf2ebdeeecc6976b11a7cf0ccf0e6ca500ba0c263dcb6b71290b3919c84e5af8c2705ae3f4a5b630831aea8ddb668 +DIST googleapis_common_protos-1.70.0.tar.gz 145903 BLAKE2B 6ea31260065b375a95c2a6ea9290fc4089449163b00230692777363edd77ae5aa65c42665309ac785f2831ad58e442a64f22419520cd87fe5ea0fa8d5a3e026f SHA512 02f5883a94ee59876d800b479e711f48367698f885cb3965f542af5f108f4858b7fd20b01c95a76c1cc792b7a3e883e68f8f0c04ef132da388c67576bce89ece diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild new file mode 100644 index 000000000000..d681063f2c36 --- /dev/null +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020-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="Python classes generated from the common protos in the googleapis repository" +HOMEPAGE=" + https://github.com/googleapis/python-api-common-protos/ + https://pypi.org/project/googleapis-common-protos/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + <dev-python/protobuf-7[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} diff --git a/dev-python/html2text/Manifest b/dev-python/html2text/Manifest index 745d4c444039..8435e0021e42 100644 --- a/dev-python/html2text/Manifest +++ b/dev-python/html2text/Manifest @@ -1 +1,2 @@ DIST html2text-2024.2.26.tar.gz 56527 BLAKE2B 898f69fd087405412ac75cb4e2e9544f1725b9b558c334e1183a79fb6440ab13c4dbfefe6059e1bcb7befc2d365f11887dccc8ba62936c2732a79034d6b00908 SHA512 8304dbc0a8d06ea1bbed4edccbbcb817423bab7acbaa9db84c6c9c3e74a8d1daec148cb591b76b7d5865224ea424b388316c867bda4b07b19ed91272b7beff88 +DIST html2text-2025.4.15.tar.gz 64316 BLAKE2B 7ebcedda8d3db1a1cd6cf4d14c488f4eaa2b6210b952c19f0f92f9f790f965c9671f7497ad227f7d334cccc4b3f792b53b5400d06e97fa98aebdaecd735dde7e SHA512 2f12e293bb8aa87b4d03d3ec4698e8e8bf013acc9f69b25a2c7a1aacca9a8aaf646747c56a47bc15dae0601ecdc119ba4818daca933d4be7fa52f234c672d9f3 diff --git a/dev-python/html2text/html2text-2025.4.15.ebuild b/dev-python/html2text/html2text-2025.4.15.ebuild new file mode 100644 index 000000000000..8e0415ced77d --- /dev/null +++ b/dev-python/html2text/html2text-2025.4.15.ebuild @@ -0,0 +1,33 @@ +# 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="Turn HTML into equivalent Markdown-structured text" +HOMEPAGE=" + https://github.com/Alir3z4/html2text/ + https://pypi.org/project/html2text/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" + +DOCS=( AUTHORS.rst ChangeLog.rst README.md ) + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # naming conflict with app-text/html2text, bug 421647 + sed -e 's/html2text = html2text.cli:main/py\0/' -i setup.cfg || die + distutils-r1_src_prepare +} diff --git a/dev-python/huawei-lte-api/Manifest b/dev-python/huawei-lte-api/Manifest index 6534f100ac98..64724c150087 100644 --- a/dev-python/huawei-lte-api/Manifest +++ b/dev-python/huawei-lte-api/Manifest @@ -1,2 +1 @@ -DIST huawei-lte-api-1.10.gh.tar.gz 43853 BLAKE2B 568da364ecc709716a040a5f6c32f79b028ceca42ffce29949d064115279a4653544df50e30ac07ad873a1e98ba203093fcf000bca65b4b1ea6f4f009217d4c8 SHA512 7ffe128817bf38d60ee5dcbdb6668516a3ab47a02d34868ab9c9cc6b26cfae10c334a779b4ba63f0ec635b834fce46b12409b913f7c9b45a746ff5ba875e1758 DIST huawei-lte-api-1.11.0.gh.tar.gz 45445 BLAKE2B 8bb2deaeb91eb02fbafd6b177b0299f17b7d459b51c963bad938371daa47f66daeea11296f64a75ebf11608f9ca144857b5ba86a66bf3f2f1d0512e559cf8f4f SHA512 04e01c54d6393b93947bd054a3f5723ebc77566bb384fdac6b9848000d4b5e398822e0ca91cc52fc643f64a6409113cf798c1f8b0e3931d5b2f5f1af90ffe344 diff --git a/dev-python/huawei-lte-api/huawei-lte-api-1.10.ebuild b/dev-python/huawei-lte-api/huawei-lte-api-1.10.ebuild deleted file mode 100644 index d87d95eafdcb..000000000000 --- a/dev-python/huawei-lte-api/huawei-lte-api-1.10.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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 - -DESCRIPTION="API For huawei LAN/WAN LTE Modems" -HOMEPAGE=" - https://github.com/Salamek/huawei-lte-api/ - https://pypi.org/project/huawei-lte-api/ -" -SRC_URI=" - https://github.com/Salamek/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/pycryptodome[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] -" - -python_prepare_all() { - # make cryptodome-friendly - sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die - find -name '*.py' -exec \ - sed -i -e 's:Cryptodome:Crypto:g' {} + || die - - distutils-r1_python_prepare_all -} - -distutils_enable_tests pytest diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 4b383a6db9cd..ddd7d7e34ac1 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -2,3 +2,4 @@ DIST inline_snapshot-0.20.10.tar.gz 92902 BLAKE2B 74a1f89e92bbce25eb08837524e819 DIST inline_snapshot-0.21.3.tar.gz 254753 BLAKE2B 5b9dd20fd8844c3b63de9f39fdc9e6fd4be1e208006bb4ffdb9e3a643412de5ac8314ff383836d96dfab819c660ca453a417dd85f4626f5c4450f763844c5cc0 SHA512 e77bebe7026700fad239b8d294f0cec0e37f309af6c5584eddaef23d6b54f521b3acb8e499238c9953ecf43275c32f2643a67348ee29403cd9262d054ae21dec DIST inline_snapshot-0.22.1.tar.gz 258823 BLAKE2B 9929a5f01245db35ef5671961eb0c364b4f34adad8bfc64a7bff808ba7d305133339c20ab803682a0983c652b3e3998a0779f7e083505f83cc4fa935b667c2e6 SHA512 33e0d2203705419808a7175bc48bb1d2a85b21decaab6c579e3ae99c74c33365dfb88f0ba735b54700adc6ade0389f471f890739ebfeba4e8dc4195fde17ce4b DIST inline_snapshot-0.22.2.tar.gz 259363 BLAKE2B 6c18b28c1a52a39fd8e1e1479d001b2bcea6de720d27c72bd67d86ecaf7027af69673466193494452c09cc4b64b9fb51dc9f90b490fc61d90a7390dcd320fb83 SHA512 59e11b990b1e37c15b82e3c85035a6dc850b59c174206636a61e050e49d6c41c5e5886c3c15dd334f1cdb4baee8610db700504023ee0fa08ec7313d71341e09d +DIST inline_snapshot-0.22.3.tar.gz 259515 BLAKE2B 2b4e2a87d28a6dc3af279d85e4b749b429a77f1f516c6516e6311d6cd9a427530fee82010d907256cf8a7a700650812c6a7dcccdccf8940682fc4d0656c273f4 SHA512 f94ad7e9f75b84dcbc0ff099ff1fa26c6c7f114056af2f148fb7086eaa0579581a808c279c3b3cdebf1d87bd7833d9a7926b38ffc06d074036e89579560d92c4 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.22.3.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.22.3.ebuild new file mode 100644 index 000000000000..f6e9b5488ace --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.22.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 2024-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin + local -x PYTHONPATH=${S}/src + epytest -p pytest_mock +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 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 new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +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 56733bbffc48..eb2586280d80 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 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ 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 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 48cb93750fdd..ba49b66e1652 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -8,6 +8,7 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b DIST llvm-project-19.1.7.src.tar.xz 141249332 BLAKE2B 1259ed7f9aca7b35e89d818befdee20fd8bed4d2dc2c2c6f6f56451fd43d35ac03a0a5a406e142d22b25137999dc5b17471c196f8fcf79f20a8296832d900f6d SHA512 c7d63286d662707a9cd54758c9e3aaf52794a91900c484c4a6efa62d90bc719d5e7a345e4192feeb0c9fd11c82570d64677c781e5be1d645556b6aa018e47ec8 DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf6f30e75705123d067ea97175d91d7a5b6a75008df01d99ae7aa16aaa3b101f3f41e38d01f04158f95a261d617b3ede0254cd SHA512 195797b06ac80a742e0ccbc03a50dc06dd2e04377d783d5474e3e72c5a75203b60292b047929312a411d22b137a239943fba414a4d136a2be14cbff978eb6bda +DIST llvm-project-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz 230651433 BLAKE2B b71d459de99a741f9eb5809fcb44e6d9a17d3295bf11755d2b04a83fff6257eb4e5856826581c000e3b2868ff1cfb155ee18c692654f8083af04574d414c8fa2 SHA512 5b8d1e493830b7838b3ca76148dfc2e2af1cbaa660bd80958777698210c3347a1308f0725d40b10f8f12877daf99c4ba4837e4fa857a781ae912ee167369bafd DIST llvm-project-20.1.2.src.tar.xz 147229028 BLAKE2B 90be4c8b69d44bc3a295f3f63081f999cf35d05e9157ab104d403a5d5b6c3ff97b57a89598d2ec0413988f93a23f97f485b2216bbf0630cade754e9830246621 SHA512 c95e088e471d49c6692c8af1a7e40924467e4c269dada019c44455687c9f0e6a213b9b3ac8afa4e3d20cb3e757afc3400152e7cd06981aeebd61591cac15580d DIST llvm-project-20.1.2.src.tar.xz.sig 566 BLAKE2B fa4637cd41bddb0425567b17bcb0ba4800ec9a689897610febfba7f49f8218d6aff7bb8f7ecf6bb927397096ca49c0c1817b243e5ba7fc0ba51993ef532dadeb SHA512 d3f6a350ebd9884878442ea202f58328f8e85c30cfb150371e4af7fa8dc560bb421cd0f49f49e6bc95f57de6c06543633f0b2799aab9590750f440e099424e01 DIST llvm-project-f3e6473df46fd920e09e06e57a5549eb8e3a8bd3.tar.gz 229893133 BLAKE2B 20a14a99fb55070c30b05298916875d7f7b5476bc47c72f675204adb62daf1126bc83f2e7e51867042cb0ea415f04ef32653118116d01f666a82dc888fb6e999 SHA512 f11eac15fc1d96232267d588fa1c41ebbff3367b1fccf1cfd43f3290f682b73ffa78f2336a2a155c41ef67cf4e6f43019b152996d790f03acf4b9b732a3cf4b7 diff --git a/dev-python/lit/lit-21.0.0_pre20250415.ebuild b/dev-python/lit/lit-21.0.0_pre20250415.ebuild new file mode 100644 index 000000000000..4230fa63b2a4 --- /dev/null +++ b/dev-python/lit/lit-21.0.0_pre20250415.ebuild @@ -0,0 +1,45 @@ +# 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} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index 25d784721131..3c3da8256164 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,4 +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 -DIST narwhals-1.34.0.gh.tar.gz 692545 BLAKE2B 9463525dc1e1e8601abd071d76a1acd603b5d1d8a5ad872434fe33d498844a99d5d3f67f074ff00272e8bc671a064aeed406a912f1a955ad4a760431b8e5aff5 SHA512 4ed6ef2d896bb94cb75cb2584eeef669a14808b223a984cd89d7b648274d50cb85c1dc516e103a6c19dcf1ce56081b159ebf2503ed8d53088a8d7c78abfb0dc2 DIST narwhals-1.34.1.gh.tar.gz 692736 BLAKE2B cdde47102f74ab7cb3917943997f003020d58c4470e2be0ce512683fe45334e85fe5614b7984e1a1ca1c200576bdcc194ed537e3f0a2b8b99c712af2c61a650e SHA512 83aa76aa208f7faff0bb9a24ce31fb8e1d91aed9edc1376790d61c561f580b441f4016b1bb9cdb0ca849d432c09392bd9fd697da7631a7ac2af2779314fe6ba9 +DIST narwhals-1.35.0.gh.tar.gz 695990 BLAKE2B 3e631ca1553a9c528daccb62ccff4ce5fac4fd3c2d24359619736be5424afe1d9025375857c6c3806ce6b65b2379afd67011f45a861f3062ebaf519d0b047e24 SHA512 47b9ceb9ee714ae406bba19d0731a49dd07ad625b77709febff84bf990f32ce373ac41b61d224a0c9bf6474797328fbecdcbd81dfa3a7ae98afa91a77e1ea551 diff --git a/dev-python/narwhals/narwhals-1.33.0.ebuild b/dev-python/narwhals/narwhals-1.33.0.ebuild deleted file mode 100644 index 7059c1a7ca16..000000000000 --- a/dev-python/narwhals/narwhals-1.33.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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/narwhals/narwhals-1.34.0.ebuild b/dev-python/narwhals/narwhals-1.34.0.ebuild deleted file mode 100644 index 7059c1a7ca16..000000000000 --- a/dev-python/narwhals/narwhals-1.34.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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/narwhals/narwhals-1.32.0.ebuild b/dev-python/narwhals/narwhals-1.35.0.ebuild index 7059c1a7ca16..8dd51b2328a8 100644 --- a/dev-python/narwhals/narwhals-1.32.0.ebuild +++ b/dev-python/narwhals/narwhals-1.35.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" BDEPEND=" test? ( diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index 5966ccd3241f..519418dadf8e 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,2 +1 @@ -DIST plotly.py-5.24.1.gh.tar.gz 32096988 BLAKE2B 79c1f3350bb43780f5f5f2f54955591875c2819a4b819e667e8df14ae72e42cf2939167a3425bd725e80af8823c8578a9cf286f4e4d82881578ca13f7e1cd860 SHA512 dc1484f5b0630bd4d936ab23231be7a577b887701f1f3c33d8f6501dc65718d871bee7af9f467fe130d2e7dcdded22717562352ce4ec70d25bc368faeb51d0e8 DIST plotly.py-6.0.1.gh.tar.gz 7619570 BLAKE2B 6c88b24d15aa233e1d3871975d224bd9829f1726beba665bc68a2d1af293361774b10a9d4a95ce2c5c53afe7ac01f7770809fbfbab3733ff31531233905c97f1 SHA512 192d5ea5e5d75548d9fbacc36d419b695d5e976ab0e2e538b1453c89ba3b1b0494abc4631d0d631cd6fe60a74b4a67937173564f9661aa408ffc1fc0bfac2559 diff --git a/dev-python/plotly/files/plotly-5.23.0-numpy-2.patch b/dev-python/plotly/files/plotly-5.23.0-numpy-2.patch deleted file mode 100644 index 6941369978e8..000000000000 --- a/dev-python/plotly/files/plotly-5.23.0-numpy-2.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 99df182e9171e9b9e81811447f37ace05acc9272 Mon Sep 17 00:00:00 2001 -From: Ben Greiner <code@bnavigator.de> -Date: Sun, 2 Jun 2024 16:43:06 +0200 -Subject: [PATCH 1/3] Remove np.nan and np.inf aliases no longer present in - numpy2 - ---- - .../tests/test_optional/test_utils/test_utils.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/plotly/tests/test_optional/test_utils/test_utils.py b/plotly/tests/test_optional/test_utils/test_utils.py -index cf32e1bdff..d7d982e635 100644 ---- a/plotly/tests/test_optional/test_utils/test_utils.py -+++ b/plotly/tests/test_optional/test_utils/test_utils.py -@@ -34,7 +34,7 @@ - - ## JSON encoding - numeric_list = [1, 2, 3] --np_list = np.array([1, 2, 3, np.NaN, np.NAN, np.Inf, dt(2014, 1, 5)]) -+np_list = np.array([1, 2, 3, np.nan, np.inf, dt(2014, 1, 5)]) - mixed_list = [ - 1, - "A", -@@ -45,7 +45,7 @@ - dt_list = [dt(2014, 1, 5), dt(2014, 1, 5, 1, 1, 1), dt(2014, 1, 5, 1, 1, 1, 1)] - - df = pd.DataFrame( -- columns=["col 1"], data=[1, 2, 3, dt(2014, 1, 5), pd.NaT, np.NaN, np.Inf] -+ columns=["col 1"], data=[1, 2, 3, dt(2014, 1, 5), pd.NaT, np.nan, np.inf] - ) - - rng = pd.date_range("1/1/2011", periods=2, freq="H") -@@ -184,7 +184,7 @@ def test_figure_json_encoding(self): - - assert ( - js1 == '{"type": "scatter3d", "x": [1, 2, 3], ' -- '"y": [1, 2, 3, null, null, null, "2014-01-05T00:00:00"], ' -+ '"y": [1, 2, 3, null, null, "2014-01-05T00:00:00"], ' - '"z": [1, "A", "2014-01-05T00:00:00", ' - '"2014-01-05T01:01:01", "2014-01-05T01:01:01.000001"]}' - ) -@@ -195,9 +195,9 @@ def test_figure_json_encoding(self): - _json.dumps(figure, cls=utils.PlotlyJSONEncoder, sort_keys=True) - - # Test data wasn't mutated -- np_array = np.array([1, 2, 3, np.NaN, np.NAN, np.Inf, dt(2014, 1, 5)]) -+ np_array = np.array([1, 2, 3, np.nan, np.inf, dt(2014, 1, 5)]) - for k in range(len(np_array)): -- if k in [3, 4]: -+ if k == 3: - # check NaN - assert np.isnan(np_list[k]) and np.isnan(np_array[k]) - else: -@@ -237,7 +237,7 @@ def test_pandas_json_encoding(self): - # Test that data wasn't mutated - assert_series_equal( - df["col 1"], -- pd.Series([1, 2, 3, dt(2014, 1, 5), pd.NaT, np.NaN, np.Inf], name="col 1"), -+ pd.Series([1, 2, 3, dt(2014, 1, 5), pd.NaT, np.nan, np.inf], name="col 1"), - ) - - j2 = _json.dumps(df.index, cls=utils.PlotlyJSONEncoder) - -From 23b50d9df805349674e11949459976fb338b3d76 Mon Sep 17 00:00:00 2001 -From: Ben Greiner <code@bnavigator.de> -Date: Sun, 2 Jun 2024 16:48:34 +0200 -Subject: [PATCH 2/3] Avoid putting 255 into int8 due to new numpy 2 type - promotion rules - ---- - .../plotly/plotly/tests/test_optional/test_px/test_imshow.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plotly/tests/test_optional/test_px/test_imshow.py b/plotly/tests/test_optional/test_px/test_imshow.py -index c2e863c846..d8f9ad98c7 100644 ---- a/plotly/tests/test_optional/test_px/test_imshow.py -+++ b/plotly/tests/test_optional/test_px/test_imshow.py -@@ -341,7 +341,7 @@ def test_imshow_source_dtype_zmax(dtype, contrast_rescaling): - assert ( - np.abs( - np.max(decode_image_string(fig.data[0].source)) -- - 255 * img.max() / np.iinfo(dtype).max -+ - np.int64(255) * img.max() / np.iinfo(dtype).max - ) - < 1 - ) - diff --git a/dev-python/plotly/plotly-5.24.1.ebuild b/dev-python/plotly/plotly-5.24.1.ebuild deleted file mode 100644 index 2dc1e6689c42..000000000000 --- a/dev-python/plotly/plotly-5.24.1.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -MY_P=plotly.py-${PV} -DESCRIPTION="Browser-based graphing library for Python" -HOMEPAGE=" - https://plotly.com/python/ - https://github.com/plotly/plotly.py/ - https://pypi.org/project/plotly/ -" -SRC_URI=" - https://github.com/plotly/plotly.py/archive/refs/tags/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/packages/python/plotly" -# The tests are not included in the PyPI tarball, to use the GitHub tarball -# we have to skip npm, which means that the resulting install will -# unfortunately lack the jupyterlab extension. - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/tenacity-6.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/jupyter[${PYTHON_USEDEP}] - dev-python/jupyterlab[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/shapely[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - dev-python/xarray[${PYTHON_USEDEP}] - dev-python/scikit-image[${PYTHON_USEDEP}] - ) -" - -# There are sphinx docs but we are missing a bunch of dependencies. -# distutils_enable_sphinx ../../../doc/apidoc -distutils_enable_tests pytest - -# README ends up a broken symlink -DOCS=() - -python_prepare_all() { - local PATCHES=( - # https://github.com/plotly/plotly.py/pull/4622 - "${FILESDIR}/${PN}-5.23.0-numpy-2.patch" - ) - - distutils-r1_python_prepare_all - - # unbundle versioneer - rm versioneer.py || die - # Do not try to fetch stuff with npm - export SKIP_NPM=1 -} - -python_test() { - local EPYTEST_IGNORE=( - # kaleido not packaged - plotly/tests/test_optional/test_kaleido - - # plotly-orca not packaged - plotly/tests/test_orca - ) - - local EPYTEST_DESELECT=( - # kaleido not packaged - plotly/tests/test_orca/test_to_image.py::test_bytesio - - # fails in non-isolated env - test_init/test_dependencies_not_imported.py::test_dependencies_not_imported - test_init/test_lazy_imports.py::test_lazy_imports - - # Minor matplotlib incompatibility - plotly/matplotlylib/mplexporter/tests/test_basic.py::test_legend_dots - plotly/matplotlylib/mplexporter/tests/test_utils.py::test_linestyle - - # TODO - plotly/tests/test_io/test_to_from_plotly_json.py::test_sanitize_json - - # two subtests that require 'vaex' and 'polars' respectively - plotly/tests/test_optional/test_px/test_px_input.py::test_build_df_from_vaex_and_polars - plotly/tests/test_optional/test_px/test_px_input.py::test_build_df_with_hover_data_from_vaex_and_polars - - # the usual recursion problem - plotly/tests/test_optional/test_utils/test_utils.py::test_masked_constants_example - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - distutils-r1_python_install_all - - mv "${ED}"/{usr/etc,etc} || die -} diff --git a/dev-python/plotly/plotly-6.0.1.ebuild b/dev-python/plotly/plotly-6.0.1.ebuild index 523fc952e137..fc08446ad7b5 100644 --- a/dev-python/plotly/plotly-6.0.1.ebuild +++ b/dev-python/plotly/plotly-6.0.1.ebuild @@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/narwhals-1.15.1[${PYTHON_USEDEP}] diff --git a/dev-python/pycairo/Manifest b/dev-python/pycairo/Manifest index 806fc91a4167..544ac345dac1 100644 --- a/dev-python/pycairo/Manifest +++ b/dev-python/pycairo/Manifest @@ -1 +1,2 @@ DIST pycairo-1.27.0.tar.gz 661450 BLAKE2B cc1ef54057d02f3e25fed010c995e4fe400ccdf3a5d2f241c029ded167c5db2560a4d9c8cb09b2f0519e674b5962f2244f0570401f45743fe1ec61d5a8982227 SHA512 1b077917b1d99262da1c1d2ff85ae841dd0ff715925a5a20032162aa876576d966fc6b30c154343cc45f104cce243887de9b5f14af1e15775cb71b6c11e553a6 +DIST pycairo-1.28.0.tar.gz 662477 BLAKE2B 26ab0ab926bc209c33eeff2f7578d31ffce138111e923f6bc8e31a5e318f7ead9d0350ee5717e3774c65eb8ac9f3324ff0446c316469796dc866c3530ef2d0dc SHA512 d3fcb6641ad6dcf9b804dbc2a372f653619512e139fb7a196bb1219b00f60e79e5d60fbbddc2e6a0afb959f9fcb37f1f3c460ad6331274581cb241434865b5a5 diff --git a/dev-python/pycairo/pycairo-1.28.0.ebuild b/dev-python/pycairo/pycairo-1.28.0.ebuild new file mode 100644 index 000000000000..4a396b1e679d --- /dev/null +++ b/dev-python/pycairo/pycairo-1.28.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit meson distutils-r1 + +DESCRIPTION="Python bindings for the cairo library" +HOMEPAGE=" + https://www.cairographics.org/pycairo/ + https://github.com/pygobject/pycairo/ + https://pypi.org/project/pycairo/ +" +SRC_URI=" + https://github.com/pygobject/${PN}/releases/download/v${PV}/${P}.tar.gz +" + +LICENSE="|| ( LGPL-2.1 MPL-1.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="X examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=x11-libs/cairo-1.15.10[svg(+),X=] +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_compile() { + local emesonargs=( + # TODO: move that to the eclass? + -Dpython.bytecompile=2 + -Dtests="$(usex test true false)" + ) + + meson_src_configure + meson_src_compile +} + +python_test() { + cd "${BUILD_DIR}" || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + meson_src_install +} + +python_install_all() { + if use examples; then + dodoc -r examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/recurring-ical-events/Manifest b/dev-python/recurring-ical-events/Manifest index 1d9a1afd23b4..738b0bc79fed 100644 --- a/dev-python/recurring-ical-events/Manifest +++ b/dev-python/recurring-ical-events/Manifest @@ -1,2 +1,2 @@ -DIST recurring_ical_events-3.5.2.tar.gz 604333 BLAKE2B 380373cea7fe8b854373b3834f966b81ca613d4d4d0aee2968bf7fb80174e00affcd9cc1a59c8dcf0297447426c51d7d7ede50672bf80519df61b81ae2f6f917 SHA512 11e713d2a1fbbcdfd6e2185581e9c8a1f108f01cbb05389d735ad82233eea9e23cfa28fb3b28f17eecafe012b6ae090adf31ae475c0aa0bcf28c2199525c5ef6 DIST recurring_ical_events-3.6.0.tar.gz 606489 BLAKE2B ee2f24c86bb39ec661389da98a9d126fe5f24891d7ec08d90d625ce9d491b9ea8cfba47b0a03c0a80951e0c4941e30bf774855e1048892b855a92995f6471dca SHA512 fa13e7a5c396ccd468f3d505efe1075dbfe789b4defd5f47fb38cf20895269852a4663cf1fef78004958b040217ea1cc29068f88fb4970f5f15ba8ff59f0caea +DIST recurring_ical_events-3.6.1.tar.gz 601919 BLAKE2B 1dd855880b45bc7c093e49670d5ef11d3d5bb121041e1bcaaee6ebe131d8fc925cd290f4a433ef99ed0a49a547bc547c2355920d46c86b8a02b521989648a040 SHA512 4a4c2e04ce9c2cd2022055a9d623ec76b3e95102b6b40bb1b0370b238fa850d5a6ed5ceec10d81836f047e4df0319d66b07355cdb537dd811fd4526143169066 diff --git a/dev-python/recurring-ical-events/recurring-ical-events-3.5.2.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-3.6.1.ebuild index 2a915b110f67..2a915b110f67 100644 --- a/dev-python/recurring-ical-events/recurring-ical-events-3.5.2.ebuild +++ b/dev-python/recurring-ical-events/recurring-ical-events-3.6.1.ebuild diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest index 84729cf7b66f..2b59892b6d5a 100644 --- a/dev-python/sigstore/Manifest +++ b/dev-python/sigstore/Manifest @@ -1 +1,2 @@ DIST sigstore-python-3.6.1.gh.tar.gz 278434 BLAKE2B 9591a6937c30ee7a8b429075154309e5da78e5949ef0d27874237b8d7820c771e86b4640feeca8d6a5499ecc9f856ca45b0bc017ab6ce1c47fbef96aa5f971cf SHA512 daad7cd6e2cab7b511540d491378ee0d5829a6fa8a2c8bd601dcceb7a2ed73b99b4e0d42876b42cd8a510b463c2dd48941dd901dc6414620623b2bd6252bc6af +DIST sigstore-python-3.6.2.gh.tar.gz 277160 BLAKE2B bfbe89ce9e9b186d9beefabfecc3fc1321deb5cb158328b0eca8d19932f807f2344b8d685987625665e4d275fc7a6d9eacbec51d62b0f63dae7707cd536abbe7 SHA512 60694da77df9f6dc2d899d36af79d063fa398d6df3c26252793b74e6ddce79fc3c5ba3e2c29ad919b80fcd51f965c4dd1ed9a8c8b6357ed499e6933c51721e41 diff --git a/dev-python/sigstore/sigstore-3.6.2.ebuild b/dev-python/sigstore/sigstore-3.6.2.ebuild new file mode 100644 index 000000000000..7e9775063b2d --- /dev/null +++ b/dev-python/sigstore/sigstore-3.6.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=sigstore-python-${PV} +DESCRIPTION="A tool for signing Python package distributions" +HOMEPAGE=" + https://github.com/sigstore/sigstore-python/ + https://pypi.org/project/sigstore/ +" +# no tests in sdist, as of 3.3.0 +SRC_URI=" + https://github.com/sigstore/sigstore-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/cryptography-45[${PYTHON_USEDEP}] + >=dev-python/cryptography-42[${PYTHON_USEDEP}] + >=dev-python/id-1.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ~dev-python/rfc3161-client-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rich-13[${PYTHON_USEDEP}] + ~dev-python/sigstore-protobuf-specs-0.3.2[${PYTHON_USEDEP}] + ~dev-python/sigstore-rekor-types-0.0.18[${PYTHON_USEDEP}] + >=dev-python/tuf-6.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-resources-5.7[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -r -i -e 's:~=:>=:' -e 's:, ?< ?[0-9.]*::' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/unit --skip-online +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 3805add1d6c2..f904481827b3 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -2,3 +2,5 @@ DIST sqlglot-26.12.1-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b DIST sqlglot-26.12.1.tar.gz 5341371 BLAKE2B 73d45669337786903f5e3e14683e96fa4d258696cd1116d3f82034437178612651e8c804cfb072cae444bd6a0d0496556f20e459d3d7470700215e16c23cb4af SHA512 2839c23d6ffd3dc2fc63258b43485c6f8471cdadec3be53012fccad41158ca834ac6aef41b21c004a749be130fef40d5747cb0d88a9a22c8dedf3b153c675aa2 DIST sqlglot-26.13.0-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e DIST sqlglot-26.13.0.tar.gz 5346071 BLAKE2B c2bb4db94e58a60f958171ed30af2d5f87f61bc79c7638ef0fb569c221431f5da34c0dcf87391a49a4c8185c0070fb163c08b66965b5dcf3c0ce3a8680818dd9 SHA512 2ee7cb506bc67b17e325fd79114987a94d7c6742571d183cf4669b4db671e7413a2303473e52f1a9600bac30b5290bb93942bc13d7ddfc069d4ad17f99865152 +DIST sqlglot-26.13.2-crates.tar.xz 8327388 BLAKE2B 69213d11940f9d4e743b169ef831b8b52a771f012e247570cf0703580a14af435d4d033b4b3ddfca6f4022b741261a24f3b47e5137de644d863714006520f857 SHA512 5de0781c54265b369e5e46b7cfbcc04a3118aa8d1323bff14f2841c95d471f545c923eedb88dbbb81a910801c5a505ff37a25701af936c06cf55a1659cd8822e +DIST sqlglot-26.13.2.tar.gz 5348477 BLAKE2B 82e65a48e746cb378f114eb11b48383520696f58a6223f4760ed3068531bda0d377ed3d5af00e3bf77bfcda37cf16eab78a60a5c5412cd0ad4e72d1a3b969b18 SHA512 e6bd8098b45cf11c10a9ec704e208131b6140fd4dc2933a1dfae42f8e037bb3135dea837f7fffafe284d7eb544fbeeb70cbeff34b4500e2ad0378dd6e2c57569 diff --git a/dev-python/sqlglot/sqlglot-26.12.1.ebuild b/dev-python/sqlglot/sqlglot-26.12.1.ebuild index 745ae109fd13..1cd15f5454ca 100644 --- a/dev-python/sqlglot/sqlglot-26.12.1.ebuild +++ b/dev-python/sqlglot/sqlglot-26.12.1.ebuild @@ -62,7 +62,6 @@ python_compile() { if use native-extensions; then local DISTUTILS_USE_PEP517=maturin - local DISTUTILS_UPSTREAM_PEP517=maturin cd sqlglotrs || die distutils-r1_python_compile cd - >/dev/null || die diff --git a/dev-python/sqlglot/sqlglot-26.13.2.ebuild b/dev-python/sqlglot/sqlglot-26.13.2.ebuild new file mode 100644 index 000000000000..745ae109fd13 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-26.13.2.ebuild @@ -0,0 +1,96 @@ +# 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 + local DISTUTILS_UPSTREAM_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/sympy/Manifest b/dev-python/sympy/Manifest index 8e71cfe20b0d..6f1d476354a1 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1 +1,2 @@ DIST sympy-1.13.3.gh.tar.gz 7919933 BLAKE2B 94c601e79caf87eb0f08e15ca4cb79e16bcd97d347e1fd948b6ea98b044133ea99f52032f09e290668e4485393425254ff4062ccfd3a3ac0b8afba080da6ba19 SHA512 2ae7a400d4a2d9c826cfaa165e3e1f5d9ba210c25647984d997775d4ec3d7c8f3ad3c5468d9adf141a1dceec864ca988b4f3a01fd934b923c4486ddd458670a3 +DIST sympy-1.14.0rc1.gh.tar.gz 7910059 BLAKE2B aee2c8c737497204be6ebceacfb516c49a027bb715975c636b76b959e4fab13a5bd2d59e516c56f9722633e3234af573a988f17bfab484bbd26f0d30ee5a8c69 SHA512 567c713eeb8cddbf8238afd46a5aba1931427e7a9834a779007c91018ae2d108ebc3f8cfba185a757109c46c2817a29d0dc04d7d419b1b619bcba52b899e3e3e diff --git a/dev-python/sympy/sympy-1.14.0_rc1.ebuild b/dev-python/sympy/sympy-1.14.0_rc1.ebuild new file mode 100644 index 000000000000..0a736156d823 --- /dev/null +++ b/dev-python/sympy/sympy-1.14.0_rc1.ebuild @@ -0,0 +1,83 @@ +# 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 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE=" + https://www.sympy.org/ + https://github.com/sympy/sympy/ + https://pypi.org/project/sympy/ +" +# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 +SRC_URI=" + https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz + -> ${P/_/}.gh.tar.gz +" +S=${WORKDIR}/${P/_/} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="imaging ipython latex mathml pdf png pyglet symengine texmacs" + +RDEPEND=" + >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}] + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( + dev-python/ipython[${PYTHON_USEDEP}] + ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # require old version of antlr4, also deprecated + # https://github.com/sympy/sympy/issues/27026 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/tuf/Manifest b/dev-python/tuf/Manifest index 2557ab61cb23..706bb37e35dc 100644 --- a/dev-python/tuf/Manifest +++ b/dev-python/tuf/Manifest @@ -1,3 +1 @@ -DIST tuf-5.0.0.tar.gz 266998 BLAKE2B 6fcf909955f7c2515ede1922c9534ca439cc68d07af81ba53d8811f74fd4510655cc17395f1e0e5df0e3ea752e74862e8d1397b9b3a272565e793c70af9de352 SHA512 c8ae86480320fb33e6d92292da0e687a3d7c90c2bcc234518d934671a954a0970e158cc48ab95be51e6eb21eb63a769c47be9a7880b446d5b0eba9f34570c07d -DIST tuf-5.1.0.tar.gz 269105 BLAKE2B 56462bce222685784a8e26395792e24c22b59b4216c0488437a169313a655b7b3280044643042f7828f0343a5c215900f824fe5a61fb8fa5c2ab866ccfe03827 SHA512 1559b6c6700e947941a70e1c57dd9b05893e5da9690e4b4c81b35e95fa11551a1ec7db4d11a7ee71ffb9f489f9f39e49a3ee7bbdeccacd265e061db59d584ff8 DIST tuf-6.0.0.tar.gz 271268 BLAKE2B 4f653a77b8f730fbe29d5d768dd93bff3bcf3856b3d691ef5ddf7867e5c35226add5db3352d59e23ee01407a63076ea8240c73b3e679ae32f9a7cd77b82ae24d SHA512 71a24d1895d4aeeb3005e229a931cfd81761d707b7a42b62547068e2cf56dc2ef9b3628a38c774016c340809bbfbf2e0cb1ade3b30d902d9548e7ba6776e8d32 diff --git a/dev-python/tuf/tuf-5.0.0.ebuild b/dev-python/tuf/tuf-5.0.0.ebuild deleted file mode 100644 index bf253c0438fd..000000000000 --- a/dev-python/tuf/tuf-5.0.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2024 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 pypi - -DESCRIPTION="A secure updater framework for Python" -HOMEPAGE=" - https://github.com/theupdateframework/python-tuf/ - https://pypi.org/project/tuf/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/requests-2.19.1[${PYTHON_USEDEP}] - <dev-python/securesystemslib-2[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - cd tests || die - local -x PYTHONPATH="..:${PYTHONPATH}" - eunittest -} diff --git a/dev-python/tuf/tuf-5.1.0.ebuild b/dev-python/tuf/tuf-5.1.0.ebuild deleted file mode 100644 index bf253c0438fd..000000000000 --- a/dev-python/tuf/tuf-5.1.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2024 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 pypi - -DESCRIPTION="A secure updater framework for Python" -HOMEPAGE=" - https://github.com/theupdateframework/python-tuf/ - https://pypi.org/project/tuf/ -" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/requests-2.19.1[${PYTHON_USEDEP}] - <dev-python/securesystemslib-2[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - cd tests || die - local -x PYTHONPATH="..:${PYTHONPATH}" - eunittest -} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 3ce7082f6a36..c9207af56150 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-65.0.tar.gz 498355 BLAKE2B 891f249114fb50eedc053873ea826e956a9b9e13d39d0c551992468dff7ec7dd79c103b37aa76c843dd2ab04a77d578b2f326fcd51a389d264d974e38b343727 SHA512 8713d886fc2630d8efd0c3a2df6b1a9bf0b7d56c8b2a8117f5164b583e54f54897c6d2f1dd733e47406547c2f385f99c89fa8f651834404f27b6d87319509efd +DIST weasyprint-65.1.tar.gz 499028 BLAKE2B 44dc948fb1c8b2fc5c6ca55203d049038ed74cf405211fc7c7364ac2bcb82b591c8df2c99c1b20d3f2f944b8b4611b1a2b87fdb9b1ede1413739444cc9f15dbc SHA512 6b36b66b471c8b6a853f783a0c6d9548f27ac2ee51be0a54d1e75eb9451c94da931484d1877e716ee99c9624a9fec4c8f28bfea5959f44344dc5938272c8bef1 diff --git a/dev-python/weasyprint/weasyprint-65.1.ebuild b/dev-python/weasyprint/weasyprint-65.1.ebuild new file mode 100644 index 000000000000..833c783f22a4 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-65.1.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=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.8.0[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tinyhtml5-2.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
