diff options
Diffstat (limited to 'dev-python')
60 files changed, 1711 insertions, 367 deletions
diff --git a/dev-python/ast-serialize/Manifest b/dev-python/ast-serialize/Manifest index dbdf13b4860a..1822d804f176 100644 --- a/dev-python/ast-serialize/Manifest +++ b/dev-python/ast-serialize/Manifest @@ -17,8 +17,9 @@ DIST ast_serialize-0.10.0.tar.gz.provenance 9976 BLAKE2B b53ba5b18e7de1ef6494299 DIST ast_serialize-0.11.2-crates.tar.xz 8982344 BLAKE2B 1c5a26985bbca3537808e0c49a11af37f4666194b9f757d3039d55ca895bd7932bf50d4a7944fad85973a4c88d2ea5680313241abe56dfe81c25f98a7a37ffc7 SHA512 aed9985a44ff14b227d2c67e89358d1dfdd13d728fc1347d6b139d65f1ed4a8a8c5c461a80a5862525aa12c07f8ee86162aad0a722f30221e38e26bfc4163d69 DIST ast_serialize-0.11.2.tar.gz 954387 BLAKE2B cbaadfb641ce65e26c65f0b10348591f4b4e6dc4282b3eb292018348d8719c80e3c60f345554bb439f212493231d2022796262d452a2a2c857f847b1165d511d SHA512 ec0ba26321f3fa1622444abe6ee26e604434477398746122b2414b6851fc053d527dde6ae26880a5ab6b506070437206337018e5f49d57854f593e6a31759348 DIST ast_serialize-0.11.2.tar.gz.provenance 9835 BLAKE2B a92d1307c050d3c757bd5c7aa01b18fdb4f9f81b7616d0f0b60e2bc88b8402cb596c8ebda0e43aca05e7a725010f3ae58d167ed2da393fd6a01c4a0e13c82af6 SHA512 9a1770038629de5d9d88eaadef1ea4398c0ce908f302eb9764a1523eec21ccac7a3b5fd88a3fdf5320f7b649169dc9b7d538c8b192b40add6ebcfa6108240c16 -DIST ast_serialize-0.7.0.tar.gz 845507 BLAKE2B 2ae173ce25210a8fa69917acef2eb6de3dec5f3bc3ea0cddf1fd962f654b5ed9b7fb3ac3d39f089fa8c9c058dd366d48a49543d97f706164b8459f243259fdb3 SHA512 b50d29b37640939e0b7e6f05ee46e7f8fb0e5f2e7a2cdec91c7093e01015d0ce9d23e1734594be2435fb17e6111ec88f40c3d8297a520edd7e95516b17ca6940 -DIST ast_serialize-0.7.0.tar.gz.provenance 9942 BLAKE2B b6c2a9796d9079900d1b1b729c3488a8bed445d3f22410112dceb7c2991d699e29dac56e3674fa059064d6908f28401e442b2dc7e6bb00ba01871d085726a68a SHA512 4775c8a45e5c5cfaf87486fe468c1b115172dcfd21e5fe459033c8d604b157158d12689d7a0ea4134ef4c91a0fb5ac934d51f11e47f6cf51d995e82122b5d202 +DIST ast_serialize-0.12.0-crates.tar.xz 8982344 BLAKE2B 1c5a26985bbca3537808e0c49a11af37f4666194b9f757d3039d55ca895bd7932bf50d4a7944fad85973a4c88d2ea5680313241abe56dfe81c25f98a7a37ffc7 SHA512 aed9985a44ff14b227d2c67e89358d1dfdd13d728fc1347d6b139d65f1ed4a8a8c5c461a80a5862525aa12c07f8ee86162aad0a722f30221e38e26bfc4163d69 +DIST ast_serialize-0.12.0.tar.gz 954475 BLAKE2B 70baf196eaafd7011f88c4486a5d710322fafb65668c2900dd94938815e97cade912142151045c2aaee2a94821906818eb868142fc56a047a4d2c124b7579369 SHA512 504477ed0da183c4cf52a139b36dfda5039b4ddea15d52911dd3382bdf612e54141998dd7be128e0ab3674a30a757d703ad1124f7d99723137ee4478c784d3e7 +DIST ast_serialize-0.12.0.tar.gz.provenance 10070 BLAKE2B c077d4d2f7c887e2786037bc3a91daffcfa12dbba443429180bcaaed6612063b465649177b01a44f24f804d259609765a3038f6b865bc3fe029ffe4c0e773609 SHA512 7fa0d37ec04c6afc49a1a4838eb31552ddd378eda47169b2b2e0da209fae03e4861927b18131e826c19dc21b6814b597177ab89fc7c379d40b042cea8ca73290 DIST ast_serialize-0.8.0.tar.gz 845638 BLAKE2B 9b09fb82f073c3ae73486dab703c22e80cb2c5973adc94faa747d01923221d79b06f17b5b300adf13e59fa5e64b3d0fb31d7beecf1e84b0a7b692d1ae79ae8ea SHA512 5ccb2f87da07e432e6f7f3790c6c9adb9403fb90c60a223a2fc598c6a931e44b88b504b1f3e45bcef5b51f2f75349fd0e3718d7f484addd046f566b3b1045315 DIST ast_serialize-0.8.0.tar.gz.provenance 9844 BLAKE2B c0d30fca1b7a90f1a5e7e67cdf118c3527422bff8dc81ca88c79428dfac2e4b1cca55ded5a778f6fd7932984831aacbd5a4efe422f1a381d37181d62014eba62 SHA512 5318100f2793f5fbbaf61964ca0344c7b1a3a50d4e841dffa23632c4377cf85a047e2840a6d5b5c012485be46c8d184e63265dc8ab2aa8e235aa3e8c65fd7170 DIST ast_serialize-0.9.0.tar.gz 951293 BLAKE2B 7d2bbbaeb9708c50bbeec4f603c50a79fa9f4c97f028b296daf3ebd5dd166db97b328df1f919c1ea54c21d471095e812d2329151b08fc234170d94fe763cecf7 SHA512 7cc3dae13229bc2418af65722b4e94f0a3e823136736380c808211548cac69d6b1112ac4ff518a51f81277460fb0e79a3e6e43b1063d20bbd4789bf88d5eab96 diff --git a/dev-python/ast-serialize/ast-serialize-0.12.0.ebuild b/dev-python/ast-serialize/ast-serialize-0.12.0.ebuild new file mode 100644 index 000000000000..7142c24913c5 --- /dev/null +++ b/dev-python/ast-serialize/ast-serialize-0.12.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/mypyc/ast_serialize +PYTHON_COMPAT=( python3_{13..14} ) + +RUST_MIN_VER="1.95.0" +CRATES=" +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings for mypy AST serialization" +HOMEPAGE=" + https://github.com/mypyc/ast_serialize/ + https://pypi.org/project/ast-serialize/ +" +SRC_URI+=" + https://github.com/gentoo-crate-dist/ast_serialize/releases/download/v${PV}/ast_serialize-${PV}-crates.tar.xz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 + Unicode-DFS-2016 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + crates +) + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/ast_serialize/ast_serialize.*" + +src_unpack() { + pypi_src_unpack + cargo_gen_config +} diff --git a/dev-python/ast-serialize/ast-serialize-0.7.0.ebuild b/dev-python/ast-serialize/ast-serialize-0.7.0.ebuild deleted file mode 100644 index 9759c45c0324..000000000000 --- a/dev-python/ast-serialize/ast-serialize-0.7.0.ebuild +++ /dev/null @@ -1,231 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=maturin -PYPI_VERIFY_REPO=https://github.com/mypyc/ast_serialize -PYTHON_COMPAT=( python3_{13..14} ) - -RUST_MIN_VER="1.93.0" -CRATES=" - aho-corasick@1.1.4 - allocator-api2@0.2.21 - anstream@0.6.21 - anstream@1.0.0 - anstyle-lossy@1.1.5 - anstyle-parse@0.2.7 - anstyle-parse@1.0.0 - anstyle-query@1.1.5 - anstyle-svg@1.1.1 - anstyle-wincon@3.0.11 - anstyle@1.0.14 - anyhow@1.0.100 - attribute-derive-macro@0.10.5 - attribute-derive@0.10.5 - autocfg@1.5.1 - bit-set@0.8.0 - bit-vec@0.8.0 - bitflags@2.10.0 - block-buffer@0.10.4 - boxcar@0.2.14 - bstr@1.12.1 - camino@1.2.5 - castaway@0.2.4 - cfg-if@1.0.4 - clap@4.5.60 - clap_builder@4.5.60 - clap_derive@4.5.55 - clap_lex@1.1.0 - collection_literals@1.0.3 - colorchoice@1.0.5 - compact_str@0.9.0 - console@0.16.4 - cpufeatures@0.2.17 - crossbeam-deque@0.8.7 - crossbeam-epoch@0.9.20 - crossbeam-queue@0.3.13 - crossbeam-utils@0.8.22 - crypto-common@0.1.7 - datatest-stable@0.3.3 - derive-where@1.6.0 - digest@0.10.7 - dyn-clone@1.0.20 - either@1.15.0 - encode_unicode@1.0.0 - equivalent@1.0.2 - errno@0.3.14 - escape8259@0.5.3 - escargot@0.5.15 - fancy-regex@0.14.0 - fastrand@2.5.0 - filetime@0.2.29 - foldhash@0.1.5 - foldhash@0.2.0 - generic-array@0.14.7 - get-size-derive2@0.8.0 - get-size2@0.8.0 - getopts@0.2.24 - getrandom@0.2.17 - getrandom@0.4.3 - glob@0.3.4 - globset@0.4.20 - hashbrown@0.15.5 - hashbrown@0.17.1 - hashlink@0.10.0 - heck@0.5.0 - html-escape@0.2.15 - ignore@0.4.33 - indexmap@2.14.0 - indoc@2.0.7 - insta@1.48.0 - interpolator@0.5.0 - intrusive-collections@0.9.7 - inventory@0.3.24 - is-macro@0.3.7 - is_terminal_polyfill@1.70.2 - itertools@0.14.0 - itoa@1.0.17 - libc@0.2.189 - libtest-mimic@0.8.2 - linux-raw-sys@0.12.1 - lock_api@0.4.14 - log@0.4.29 - manyhow-macros@0.11.4 - manyhow@0.11.4 - memchr@2.7.6 - memoffset@0.9.1 - normalize-line-endings@0.3.0 - once_cell@1.21.3 - once_cell_polyfill@1.70.2 - ordermap@1.2.0 - os_pipe@1.2.3 - parking_lot@0.12.5 - parking_lot_core@0.9.12 - phf@0.11.3 - phf_codegen@0.11.3 - phf_generator@0.11.3 - phf_shared@0.11.3 - pin-project-lite@0.2.17 - portable-atomic@1.13.0 - ppv-lite86@0.2.21 - proc-macro-utils@0.10.0 - proc-macro2@1.0.106 - pyo3-build-config@0.29.2 - pyo3-ffi@0.29.2 - pyo3-macros-backend@0.29.2 - pyo3-macros@0.29.2 - pyo3@0.29.2 - quote-use-macros@0.8.4 - quote-use@0.8.4 - quote@1.0.44 - r-efi@6.0.0 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - redox_syscall@0.5.18 - ref-cast-impl@1.0.26 - ref-cast@1.0.26 - regex-automata@0.4.18 - regex-syntax@0.8.11 - regex@1.13.1 - rustc-hash@2.1.1 - rustix@1.1.4 - rustversion@1.0.22 - ryu@1.0.22 - salsa-macro-rules@0.26.2 - salsa-macros@0.26.2 - salsa@0.26.2 - same-file@1.0.6 - schemars@1.2.2 - schemars_derive@1.2.2 - scopeguard@1.2.0 - seahash@4.1.0 - serde@1.0.228 - serde_core@1.0.228 - serde_derive@1.0.228 - serde_derive_internals@0.30.0 - serde_json@1.0.151 - serde_spanned@1.1.1 - serde_test@1.0.177 - sha1@0.10.6 - similar@2.7.0 - similar@3.1.2 - siphasher@1.0.1 - smallvec@1.15.1 - snapbox-macros@1.1.0 - snapbox@1.2.2 - static_assertions@1.1.0 - strsim@0.11.1 - syn@2.0.114 - syn@3.0.3 - synstructure@0.13.2 - target-lexicon@0.13.5 - tempfile@3.27.0 - thin-vec@0.2.19 - thiserror-impl@2.0.18 - thiserror@2.0.18 - tinyvec@1.10.0 - tinyvec_macros@0.1.1 - toml@1.1.4+spec-1.1.0 - toml_datetime@1.1.1+spec-1.1.0 - toml_parser@1.1.3+spec-1.1.0 - toml_writer@1.1.2+spec-1.1.0 - tracing-core@0.1.36 - tracing@0.1.44 - tryfn@1.1.0 - typeid@1.0.3 - typenum@1.19.0 - unicode-ident@1.0.22 - unicode-normalization@0.1.25 - unicode-width@0.2.2 - unicode_names2@1.3.0 - unicode_names2_generator@1.3.0 - utf8parse@0.2.2 - version_check@0.9.5 - wait-timeout@0.2.1 - walkdir@2.5.0 - wasi@0.11.1+wasi-snapshot-preview1 - winapi-util@0.1.11 - windows-link@0.2.1 - windows-sys@0.61.2 - winnow@1.0.4 - zerocopy-derive@0.8.33 - zerocopy@0.8.33 - zmij@1.0.23 -" - -inherit cargo distutils-r1 pypi - -DESCRIPTION="Python bindings for mypy AST serialization" -HOMEPAGE=" - https://github.com/mypyc/ast_serialize/ - https://pypi.org/project/ast-serialize/ -" -SRC_URI+=" - ${CARGO_CRATE_URIS} -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 - Unicode-DFS-2016 ZLIB -" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64 ~riscv ~s390 ~sparc ~x86" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - crates -) - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/ast_serialize/ast_serialize.*" - -src_unpack() { - pypi_src_unpack - cargo_src_unpack -} diff --git a/dev-python/bibtexparser/Manifest b/dev-python/bibtexparser/Manifest index 58f3b38ebb5e..6ce9376492c0 100644 --- a/dev-python/bibtexparser/Manifest +++ b/dev-python/bibtexparser/Manifest @@ -1,3 +1,3 @@ DIST bibtexparser-1.4.4.gh.tar.gz 97227 BLAKE2B 53ba09d456e339d5c58254c2403629ca2fccbef79800f5c3a0f2bb1e961399f764b5e4ef9391463f0421338ce8c140f247471f1220f840d431db3c36cda3c9a7 SHA512 fe853847215c2d363ad2238afbc310b2e5946630092b86ff010c1053e1afa9acbed81ee4954fb1793d11a9bb19627f31f56bdb59c429c1d520aa4deffb454599 -DIST bibtexparser-2.0.0.tar.gz 88017 BLAKE2B a3ad59546a7a3c5c5ba736d70e77a07c6d6aaf60139a129ee77e3676bceecae3a90e3011395130ed678f9a0792fb3d730864f7345dd5dd5e73ef4f4172cc5dd4 SHA512 044e18c30fd6147dffd7d0b4b5f15fccc0ec443c62503ddd3f18d13270df0a9eb65b8eb1a0ba8ed01a362397781d59820ee20415f1c9a4cc79e9e0e7a1acdbd1 DIST bibtexparser-2.0.1.tar.gz 88449 BLAKE2B a53ee76ab6d301d55bbc0ea19a2899cb565ebe728890b9543ecd5df30e8eebb081f8bfa49ec899fbc1005ab73a294ec56b165bf739e1adb0e63c359bcc45de75 SHA512 a8cb17d27c85d3e22cb292fd7ef19b12b4f0cab509e266004907a9a02aa9f2b6d6fde5152156c68ffe564ea9f076131e3521382007ac8bc76a73ccc2af6f6605 +DIST bibtexparser-2.1.0.tar.gz 88630 BLAKE2B 733b0ce320a603427a4ee5cb284ee5ea2af2415267dd3c320ce56af5e24fb15814d2a944f1bd368e12348432f7620eb40c43a5d28e3e33c88f8ee0a5ce40e29b SHA512 993818abb99f97de897bc8d802f26d82a4cbda73392602f5dcffecc14288b6f6c3de9f01cbfb6dbd035df9f3d324eb77b7e05397586a15b2c5df76158520dde8 diff --git a/dev-python/bibtexparser/bibtexparser-2.0.0.ebuild b/dev-python/bibtexparser/bibtexparser-2.1.0.ebuild index 9fd150062431..9fd150062431 100644 --- a/dev-python/bibtexparser/bibtexparser-2.0.0.ebuild +++ b/dev-python/bibtexparser/bibtexparser-2.1.0.ebuild diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index a2a08795dcf4..9672866b3ee2 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,6 +3,7 @@ DIST boto3-1.43.104.gh.tar.gz 1244023 BLAKE2B 7534126599f77fcbb7c4223cb961d75349 DIST boto3-1.43.105.gh.tar.gz 1246106 BLAKE2B db3c814e94337fb5c1606dc2d6b553fdccb4247560887397cda324d0e975156ac56485cb5e96ff4d4a6140c56cb779be3b91920b522084972d68c78e1f89b7a3 SHA512 ae05d2b6510b48bfa8a294c8a077e7a43a7c47c8b7f331ce4db3c53ab79194a008ee15b8a7f1ce2febb0e362ff4afd251b1b40064f6e25ce900b16aa46b8916d DIST boto3-1.43.106.gh.tar.gz 1247663 BLAKE2B 94e62a747d2594c2240e8f0e74ca33e11f627c0251fe2bb281811fb02d0780a56099ff1211e55c90802509e488f13ff1b605f4c517ff45267aac2a297197cb58 SHA512 919fd973d279c6620b60262abe3ed13799cd26232a4e0380664c3d0cbca73617a35d00036b7f76887fc22680c1e83e7f84d6ea63ac80843ad83abbcd82697c75 DIST boto3-1.43.107.gh.tar.gz 1249178 BLAKE2B 22bc47915a435c0d16d55e297d4454a7782af6b6503ae814945147720615aca45e0061bfb2fa75ea351e00ff14ee13f084a20fa53038372c519d5c4953eb8936 SHA512 55c1b4addac94b5f1ccdcb688ef5fa2f18acb0de58f503159c047d32d1416a1e741c95384895157d422b70ebea371ebbc1efe5b0dc6085956bd911a861d34b53 +DIST boto3-1.43.108.gh.tar.gz 1250263 BLAKE2B 73f98863859b8c1ff06655d84d6b155811ac120dc88afd377272187b000e09346ac9c6843967521d1576753427490080e4104ba811defc96bf7fc1595ba649c2 SHA512 e1a95db416b3f7966bac99d7b54fa839b7dfc5d42e8319516fe0bc8e6882ecb1741c11fffc350b438f7bd07d634b0fc2f0ee50916ac5df8622c533b91ed39856 DIST boto3-1.43.78.gh.tar.gz 1213393 BLAKE2B b3e4188ba53609873bf6613d5667792d24634d728dfe0e0588917ade93c4d6c9a5a28d2e46bd5ca314723604a9cab9a4fae7ca1e6f9e496cc29671bc68849d7e SHA512 c98ede06cf4934089ba4a62c4fb03da692a5f9e2a415728e9f51979e33942229d8f4cd6fa02ac229b360b63a930fd91890f2ed645d17011d4a42e236943fd780 DIST boto3-1.43.83.gh.tar.gz 1218064 BLAKE2B 0758e28dd9b086615b045e107aece2ef46bee541110e51fdcd231c60cac0452f4cdfec58ea4041757835c195cd2b8becb3c4e9fd24ad7bc306d90b16af082f63 SHA512 ed110edd551138c5d63ab7ead46a4c9ddb410dea1b5e642045102936af22c4208f357f79fc994434fc6a7df7c16aba99052508103bad7599f8cc558ae1c5f842 DIST boto3-1.43.89.gh.tar.gz 1225424 BLAKE2B 625bb37a542644c8fe37aab42a115bf8be2e36373d7f6149dcc7e150e327c75b334ef480897be1d4954809b233a47e02854d7b28b4a3904f0e5cdcea3f0440d7 SHA512 1c04fd6df819abbe60d551c6d706f7254fe6d6758e95fd53ec70d4dd892b6f7bf69981cb001fc6ca5bc5885f083718b80a4fd045b146e7f4add16a50ac3a9d38 diff --git a/dev-python/boto3/boto3-1.43.108.ebuild b/dev-python/boto3/boto3-1.43.108.ebuild new file mode 100644 index 000000000000..93fbbe6dd59b --- /dev/null +++ b/dev-python/boto3/boto3-1.43.108.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.19.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 80ba422db1ad..ea22a43423f9 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,6 +3,7 @@ DIST botocore-1.43.104.gh.tar.gz 17309295 BLAKE2B c57dd3732e4970d0071aea6aa25878 DIST botocore-1.43.105.gh.tar.gz 17320228 BLAKE2B 1d4dc83a26343af7d5fa75cec3cc18f8a01cf8f7b155a90c02d889082627f71f47af143fdda3fb4b678c0d83d01ed7cd0d66075e873db0ec9f739771a72dc4c3 SHA512 9fdb623d22771689611be50bc40ddaa5ef4c1af0aa3c3cc7a12f98e379fe44077ce470c966e9ea2cb349d4af4ac4b0d4def63b9b1acb7dc20be98476cd32ad22 DIST botocore-1.43.106.gh.tar.gz 17330996 BLAKE2B 3ffd1037830711e44d5f71bffa40a70263d7b8fbf99865a7dfdeff16fefb179c28e30911ed9f542fc48d40a350912cb741f00f3db3b793431424476bf84aef6a SHA512 06fbfa4afcf52c999c36acd125562fadd821bceecbf65628ef7efb2afaf21c1bea6aa0dfea93c7876bb184e0312b14a752e484237afafcbf5fac8f21a8c83339 DIST botocore-1.43.107.gh.tar.gz 17365768 BLAKE2B 85efbe0a1576e1c7c43b68f8f722c8b99d64ac7a29849735bda62a23fea0f7a7b1e5569797d7631d61d765a7fdcabf4cb5ee5ab16254df6e48fc5cee89efcc15 SHA512 b0024bb05f5ed1e00dbad26cedbc25f53ff3a4dc0bf7f1356ee7262445e450ef4f6c1696db54672943c1e903dcd06122ee50ffc3514fc99930c1c3b9afe0cbb5 +DIST botocore-1.43.108.gh.tar.gz 17372621 BLAKE2B c4a053b10a7a95d78a84254aabe941f721fbb3cf5595a6c84b286e7527d4f90eb86312c211547fe5fa0ca593caa3b8bd2ff4f1e84534e565a171c7acca968b6e SHA512 15db0910153e66c9ad251866d89a3510548be2391e6aaf9f6178dd3149077a9563888a2558602358d31257991aac631bb50b9e3b99ffee18d1d7653cfc462f77 DIST botocore-1.43.78.gh.tar.gz 17008224 BLAKE2B 137656d64f62025ca47f03c48ba84aa7eccae9dbc752c81f909c3c3f12dd843bb40173075fc7e255492385d8ea8824da08e5d3155bb5ff1dbfd62c858c0a057f SHA512 bd65c7fe451ef0b3bef21e25e557aa37748ca01f71e567b31b852ac356d323f1cfa6dd0e920eff7c52e0db879a34cf99eed6c1b841dfa6065e139362702f9d13 DIST botocore-1.43.83.gh.tar.gz 17038145 BLAKE2B f74b399b04f9b259e1a2f424719c4b80cc279627174ac96f9b79d85418ecc0442fbd27d7e79ccdf12526ac02489fde4254e360f216103f3cd5ff050b3cf1a838 SHA512 618c0ef0fc89879ee6900606e3378b2876901c4a63ede52529de12898a65e34fc41a8f0ad8ab682b7788626176f9b86904e257b63d88be9d58c53116918b1d12 DIST botocore-1.43.89.gh.tar.gz 17111395 BLAKE2B 25837125b5d9477b011c065594ffa1b49a2f5d0cf76e1c664aa5401d50dfe8dd9573d0ab3a60f739c796c32965a7dd7608e302a284bfcc97d9f7f4a8a2b698e3 SHA512 c9c0b7636fb7595d4ff3ee2ec7e1ef8ad3000e9e453ce6edb827a1152109fc2fb6b226bd08f27653fc1436444c39be6f160fa4f7c34eb50a7384988686933590 diff --git a/dev-python/botocore/botocore-1.43.108.ebuild b/dev-python/botocore/botocore-1.43.108.ebuild new file mode 100644 index 000000000000..14ad5b2d1f27 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.108.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + # The test suite can eat up a lot of memory when running via xdist, + # and slow down some tiny tests. Let's just run a safe subset + # of tests known to be slow-ish in parallel, and the rest in series. + local parallel_tests=( + tests/functional/*/ + tests/functional/test_event_alias.py + tests/functional/test_[cds-z]*.py + tests/unit/ + ) + + epytest "${parallel_tests[@]}" + + local EPYTEST_IGNORE=( "${parallel_tests[@]}" ) + EPYTEST_XDIST= epytest tests/functional +} diff --git a/dev-python/cysignals/Manifest b/dev-python/cysignals/Manifest index cc90f1da5143..5ead8227538d 100644 --- a/dev-python/cysignals/Manifest +++ b/dev-python/cysignals/Manifest @@ -2,3 +2,5 @@ DIST cysignals-1.12.6.tar.gz 79583 BLAKE2B 2b743fe0a1ec17443df484aef441fef73f8f4 DIST cysignals-1.12.6.tar.gz.provenance 9356 BLAKE2B 51a9f2a4e1c0a639b0c13db22eea4cdc513ea60795f2519991c6d13290c359a1fa20c0ab684a3d9c57e01eaac4e00ffd12585e085878abd60ca91c14e851d7d0 SHA512 2cb4075012971d69e285bd7ce504343c5697c2cd77ed1e2e9f4d763d73102cfd9e897ca93d6f1fb8d4758a5e8adb68700f5b0eedfc57084939c45e2121595c56 DIST cysignals-1.13.0.tar.gz 77411 BLAKE2B 4785be76bffc0c6b5d11c47225323ec2c515f7ff5e4821f0e2d4b2cdcceb3ff3587995aa4e3611e1b43651c3581e2ff0d7d36593d50a9874581924b5d244bf3c SHA512 032b4f56f86c42dc7be59b857eb481b7b71846144897c6d81c53c8c1098a46bc7406129894af1dd77fac44cee3fdff428c8f30cdf37cbbc976ea028e9424629a DIST cysignals-1.13.0.tar.gz.provenance 9568 BLAKE2B ff0abc247f4e3c1bdb884dcdbc716f88d17d2acf92a79d57806514279bff05e0411a738402b23a020cdac11fe522fd44de0d5eb4b535ad5723b8d58a25f50f2a SHA512 bea5580fa79d0991c164ae0214e7d6183aa48fd872bdf6fb384b550561f47f93b107712fd4597be0ca5c0af3e59cdb8741e15c1aaeecd660febc0af72a7a82fd +DIST cysignals-1.13.1.tar.gz 77348 BLAKE2B b7924fb6522291cd5a766a71678d511d3522c259ff1e2bf2bc9d468e27579df0fc64f591cb9acb847dd029eb02cb084c46bedb74c4a825eab8e0527d8f839d13 SHA512 8d5056a4d61c190cb9b8f50c87fb311c94c8088898eec16eec75d0b965ba953286c6aac313f04ca968870d53e938893cac1ce8cbc51bfc7111f11108c4deee91 +DIST cysignals-1.13.1.tar.gz.provenance 9574 BLAKE2B ac90a118bcc5943780ac8f0f1738c3cfc4a3f662373115d25f675ce169c280530d8019a10070f537a5acc48a97b17b78d8038cc26dc39404f1a74ccd06fa3227 SHA512 9624b2517969f9445c4ebf6a0e9739215147bc85a7d742df315c89f42e6f6e0b3dcae0dd0cc57f25d90d7182a5ce8f76831c4645269635cf7b370d70f3585201 diff --git a/dev-python/cysignals/cysignals-1.13.1.ebuild b/dev-python/cysignals/cysignals-1.13.1.ebuild new file mode 100644 index 000000000000..76cb27e37648 --- /dev/null +++ b/dev-python/cysignals/cysignals-1.13.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYPI_VERIFY_REPO=https://github.com/sagemath/cysignals +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 flag-o-matic pypi + +DESCRIPTION="Interrupt and signal handling for Cython" +HOMEPAGE=" + https://github.com/sagemath/cysignals/ + https://pypi.org/project/cysignals/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +BDEPEND=" + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +src_configure() { + # bug 918934 + append-cppflags -D_GENTOO_NO_FORTIFY_SOURCE + distutils-r1_src_configure +} diff --git a/dev-python/dbus-fast/Manifest b/dev-python/dbus-fast/Manifest index 2d4e84e52b3a..3d19ec174a8f 100644 --- a/dev-python/dbus-fast/Manifest +++ b/dev-python/dbus-fast/Manifest @@ -1,2 +1,3 @@ DIST dbus-fast-5.0.22.gh.tar.gz 262681 BLAKE2B 10a4f0a9917e528109d79cee97620f4a4f78755db7d36c755d29b82f2ae47a93a9a5c1ded936cdbe0156df1675c2914f4642f6bbc4d2c22bca75e0da8590eac9 SHA512 de1dbeeb21d81d2819dee632a7617cd72a05f15cab8ff35de343c25d3ff3dd2ad794a99d842abf4da8b9432bf933df98999b545c81de9ebeed4288c0ca2dd1bb DIST dbus-fast-5.0.25.gh.tar.gz 297422 BLAKE2B 96624f775e146b9721574253acccafab2c10c8cf2c69022950a97c24bec36de473c487cedce0ffb7d7791427b7526b8dc82f0d1c19dceab0dea62606be5a512c SHA512 fca3e29f8f8408fbb85b3d91870cb1c7c0c3ffbd7fab454aa663642d5a20e3241db46d4909d553874fb812d8eaa5bc00d8024b324ec2d2244ddd794d6bf43093 +DIST dbus-fast-5.2.0.gh.tar.gz 299350 BLAKE2B b128991a2ee799fa4e323d599eebea8b7674e4cfa3a5296e2d542823af78f6063b1747f1e8a42d862921082c4ec14e6e368d24de34b45724da8f616217f8d5fa SHA512 80faf8935b6bac5dee93e67234732035f3660593375f6d419a890ef9e0b8167fe9b1e85b630f612f1e8a9dc852c41418b3b66129dbc26886ae39d62213c7a2d2 diff --git a/dev-python/dbus-fast/dbus-fast-5.2.0.ebuild b/dev-python/dbus-fast/dbus-fast-5.2.0.ebuild new file mode 100644 index 000000000000..0e4b14fc17b6 --- /dev/null +++ b/dev-python/dbus-fast/dbus-fast-5.2.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry-core +# TODO: freethreading compatible +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="A faster version of dbus-next" +HOMEPAGE=" + https://github.com/bluetooth-devices/dbus-fast/ + https://pypi.org/project/dbus-fast/ +" +SRC_URI=" + https://github.com/Bluetooth-Devices/dbus-fast/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="+native-extensions" + +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.4.1[${PYTHON_USEDEP}] + test? ( + dev-python/blockbuster[${PYTHON_USEDEP}] + >=dev-python/pycairo-1.21.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.50[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,timeout} ) +distutils_enable_tests pytest + +src_configure() { + export REQUIRE_CYTHON=1 + if ! use native-extensions; then + export SKIP_CYTHON=1 + fi +} + +src_test() { + local dbus_params=( + $(dbus-daemon --session --print-address --fork --print-pid) + ) + local -x DBUS_SESSION_BUS_ADDRESS=${dbus_params[0]} + + virtx distutils-r1_src_test + + kill "${dbus_params[1]}" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # interface not found on this object: org.freedesktop.DBus.Debug.Stats + tests/client/test_signals.py::test_signals + ) + local EPYTEST_IGNORE=( + tests/benchmarks + ) + + nonfatal epytest -o addopts= || die +} diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 2bd429da926d..f397cef8ceb6 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1,3 +1,4 @@ DIST hcloud-python-2.23.0.gh.tar.gz 151968 BLAKE2B f5f0468a5c68192e1813bb5f08b0bda523987b67e39b794989e57f1e0f0506075398990443fffd4df87c5b98d2fc22a020e1b1583d27f26d23c949a331ab8462 SHA512 eebfd11411f2edda739997aa3194f23621c065e75444605f71dcbfcc3dd7dd6ee0e1a351738f5a75d2bc87d57bd288af30b4efa6cccb9cf00751e96424b5314c DIST hcloud-python-2.24.0.gh.tar.gz 152444 BLAKE2B 22463dae842f98e6b594c8bd04e3aa5ff1b1a48cfc8c161acf937da31b4fb6119f82ce72aa02224c757045d6b363e1316359356676066e93301803e36e5a7112 SHA512 1c9cbb03619f8f34eb0de354893d443707c855375571ea263df1ac19c4f55cae3fee474d6f28eb16260318d150b16d6977c4191d5c87d48a239eb33cf1fad276 DIST hcloud-python-2.25.1.gh.tar.gz 153888 BLAKE2B e135a5f91a4062a1d00c0e18262198e3fdda40056994920552362853c6c892a68ea557edca0beb6c9358d90338e898d2e5c217b7aaec0f6f78e02747355d0677 SHA512 61ae9f14fb01c53c45c48566c01af9f598a29352c9def9810739fc0377b0304ca1cf4c91995618f3f6e9ab4819f95bcb153279717655d2dd4dafe119a07aa596 +DIST hcloud-python-2.26.0.gh.tar.gz 154791 BLAKE2B d28430fc30608fc2eb622d0318f62d3569ae9ed08a88730b3389f201137e8a823e943df87032c540fd697f6a28ad1df6bb8b629d8d37193bce5fdc1e3a84be09 SHA512 25bcc566150b1e241647067c931ab80cc76cbcc292488cf1739d93049b892a62064f9890a92fb614e862da6f1662a36a53b8034f6d3d94892518534c20cb7467 diff --git a/dev-python/hcloud/hcloud-2.26.0.ebuild b/dev-python/hcloud/hcloud-2.26.0.ebuild new file mode 100644 index 000000000000..9b729306ac26 --- /dev/null +++ b/dev-python/hcloud/hcloud-2.26.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +MY_P=hcloud-python-${PV} +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE=" + https://github.com/hetznercloud/hcloud-python/ + https://pypi.org/project/hcloud/ +" +# sdist is missing doc assets as of 1.19.0 +# https://github.com/hetznercloud/hcloud-python/pull/183 +SRC_URI=" + https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx-rtd-theme + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + tests/integration +) + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index 7523c34fcaf5..4b9f8e1cf516 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,4 +1,4 @@ -DIST inline_snapshot-0.35.3.tar.gz 2535863 BLAKE2B 9155bf319416aa71ee9dadd469ca89765066a1cc34e777668f3dd1c15f84dd9c89b41308f2cd837f4745f5ae9964859520da0486ed5d1752796800f5063f2e5f SHA512 16b07648cc723e169443b727f3166edba7d1099e7e6b7ecff477b88773a6ac9db442d9abe0a30e6f2ba78bd36558dd003a481e00b32fac65435223f3fc405eab -DIST inline_snapshot-0.35.3.tar.gz.provenance 9909 BLAKE2B ae258fa2cba3129329f88694759627f47297d313899d75f4ed250a80f252bc4d7b9d87b4cfdda6ee8042a5e2a5f75fbe8513b12492abde90cb2a0e738d364985 SHA512 32103d78f06a9530727dccafed2951b32666e608886c0f7f96dd2afa58e17951f4f0d8b3683b8e2e4c91adc1c72b1a6beb79d46b53a373a2f36b4ae31bd4cdd5 DIST inline_snapshot-0.35.4.tar.gz 2537089 BLAKE2B c2651439a3dad5680c4deff9d9c1140f3dd3f596a4787857b06a85e662a8a1c5bc3012babdabc4df1618a3ceb7a8ce8dd4f2bd0c6e54f36d9d616880b579e92d SHA512 8e3e7537b21c012607337eb3792f79e2c96fb4befb034b8079453c1bdbfd58f8ceb494b9008be9eabce449e76e9eb6e6bb492e2cbacb14508abbe8226297d178 DIST inline_snapshot-0.35.4.tar.gz.provenance 9707 BLAKE2B 12d8553922ac2906ea9c7d6f98932e0b7a8cc680775d34f328aaab011543953a59ba7595c19a023e6a768ca5916aadd34e85a110e5bf9ef7f3f13fad28fbd80e SHA512 ebdfc8396f7ce62ef2ed1c7e4d7489e1321557da1f0369160f32ece721979646917a9b0b6b356003bcc963ac21215ecefc140582f10ad1aed40e4b7a4bbefa28 +DIST inline_snapshot-0.36.0.tar.gz 2541802 BLAKE2B c6c3d7b17645c50a77fd53e0368019e1b19ed3b7316295fea569914f9e6daba620dc4e0d03887d0d661f8f6114931a677560b52c48dc64ef953dc8708b18c64e SHA512 fdb16a953b91e5d594bc1b055ae0a035820e66c7efa9dd62518ac059306a4c3f96dace00562ffe461b99ce8889b4efbd4c4d0d896a2a57668e2452e151fe4b32 +DIST inline_snapshot-0.36.0.tar.gz.provenance 9754 BLAKE2B 606f6dce2136c5d7c3c8b3d68d314c2a8bfc8ffae882d7fc9090e0c943a41f1bca92dd99751a52c39fa6f9348eee6c48bf693f26cfc1ea09a0aab57c306d28a4 SHA512 335404c9c25a857e3d478c326f38e1f3781f96272a42be02d40d5971441d24e483a5d1412d44383460f842714437453037fc50caa5ef2f1f92d4ff7ab711dc36 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.35.3.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.36.0.ebuild index 7850b768c243..88d1a6b4a0bc 100644 --- a/dev-python/inline-snapshot/inline-snapshot-0.35.3.ebuild +++ b/dev-python/inline-snapshot/inline-snapshot-0.36.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 4b70596bb23a..0c310eeb51e1 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1 +1,2 @@ DIST jsonpickle-4.1.2.tar.gz 319120 BLAKE2B c00b4f82f709b24813204b264fb5dafa4274c68e74692d3dffeb1618d3d139c76b335bd9c1fbcc5988bd18446afa43ad8de96e6d6185ff9e204a73e173f631bf SHA512 e3ecb9cecc9d7799ff8d2a610fb9327616830ac26970bb486d46de2e94f0b551526cadeb82f7e8536ef5b207df4f4fd110e52d5c5ff1a55b3e869641a94ec936 +DIST jsonpickle-4.1.3.tar.gz 317678 BLAKE2B c89dc5eaf690fca47ae1b928296d41738c35873d8c0f3bccdeb837233b61f689caf6df36520358cf3d09f256b444f5251036d96be7da72d112e9c44052667451 SHA512 a1e3e9da149ba948e72156a3a261b9e3c35531663b4e00b5e6949a9eb9cb6a69f71734db5abb8b2c121a231846774925aa153595713d9fe85cc4736568bdb86c diff --git a/dev-python/jsonpickle/jsonpickle-4.1.3.ebuild b/dev-python/jsonpickle/jsonpickle-4.1.3.ebuild new file mode 100644 index 000000000000..8290f7657c17 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-4.1.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_FULLY_TESTED=( python3_{12..14} ) +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="test-full" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + test-full? ( + $(python_gen_cond_dep ' + dev-python/gmpy2[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + local EPYTEST_DESELECT=( + # new numpy + tests/numpy_test.py::test_ndarray_roundtrip + # new pandas + tests/pandas_test.py::test_dataframe_roundtrip + tests/pandas_test.py::test_multindex_dataframe_roundtrip + tests/pandas_test.py::test_pre_v3_4_df_decoding + ) + + if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) + fi + + # ignore DeprecationWarnings from numpy, since upstream is matching + # on exact warning count + epytest -Wignore::DeprecationWarning tests +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index cac65e4fca99..218e2bceb137 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1,4 +1,2 @@ -DIST lmdb-2.2.1.tar.gz 938665 BLAKE2B f89d62b84779ddc72f4f5b3b7cfbb0c34c5fe321f2279d96ed6a1d4c9e5f717677c902967def0bb334cf29b670e650768cbf0b0e60c53c4ec84f2dcfb334c293 SHA512 3a20a20e0efbf8dd242a7a76c3966595c33b98d6af53f5bd38ad7c39dcbba9ab87333ae09b50ae31cd7098d3eecdce23736f000a08097a4ce345a8aa272d000d -DIST lmdb-2.2.1.tar.gz.provenance 10020 BLAKE2B 58a00d5855ad8830d37dfb981e0412c9e173cfba0a8a006631a585748adf97cbc47c0cf9aa463ccc526c9719aa06b5c35170cd071671a0ebc06a1c43917bae4f SHA512 6382771cd752f2dbedbee0990a869c37aad24b7039aa20f45d8011e51734690d71e476f7f4608a04dd9450262ab68f20994a4f8b0bcc0d5c4764e4f1b2a06b56 DIST lmdb-2.3.0.tar.gz 954381 BLAKE2B 165ac0c2a3494947d986278087f145ed8d8e1b8f41ac6da6002619e5719c6154b9b75d8b46cfa226cc8bf3afe1b8cfe0e1398808bda2f56d2d0f01080ef27674 SHA512 4e9dc23af060e20b402b8a69bb253f06f0ac9d68e09fd74a70f189f59b5b6661a9ec297bd748568717702c1316f81854407490f184f7f9a1dbaf23705f20fdc8 DIST lmdb-2.3.0.tar.gz.provenance 9973 BLAKE2B bcca679a170150b9e09f3506f94a0eb735f7332aac98e680a6691ed376d8122f582ef893e6c3f1607c4abb0b9568fff7757a2d0e9924322968dc1804bbc2849b SHA512 1ff24b819e1645ebe24822d744f6cfe34570cce0f5ef639353d304bea06612302d6154ac7dffc39e6ca00426da22fe8baca97d0f6c1662ef8ba39265b955db97 diff --git a/dev-python/lmdb/lmdb-2.2.1.ebuild b/dev-python/lmdb/lmdb-2.2.1.ebuild deleted file mode 100644 index 82a3ad5dbe7e..000000000000 --- a/dev-python/lmdb/lmdb-2.2.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/jnwatson/py-lmdb -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python bindings for the Lightning Database" -HOMEPAGE=" - https://github.com/jnwatson/py-lmdb/ - https://pypi.org/project/lmdb/ -" - -LICENSE="OPENLDAP" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -# cffi is used only on pypy, so no dep -DEPEND=" - >=dev-db/lmdb-0.9.28:= -" -RDEPEND=" - ${DEPEND} -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -export LMDB_FORCE_SYSTEM=1 - -python_test() { - rm -rf lmdb || die - epytest tests -} - -src_install() { - distutils-r1_src_install - - # remove temporary files - find "${D}" -name '*.o' -delete || die - find "${D}" -depth -type d -empty -delete || die -} diff --git a/dev-python/lsdetect/Manifest b/dev-python/lsdetect/Manifest new file mode 100644 index 000000000000..be766c9b862e --- /dev/null +++ b/dev-python/lsdetect/Manifest @@ -0,0 +1,31 @@ +DIST autocfg-1.5.1.crate 18911 BLAKE2B 0547eaf76e14418f5cc105f1127ea6de3182e8960e808008aa536f5f85849dbfaec334fb8ace1ddfa95521ee289c494576eac7d57729f06385f911d16419872e SHA512 4d7c168dd8e98d74b09a2762dd95c9912b903e9785ecded165098fc58e20ff35c80facd7fe5a6a5523250fc34c1e5fc509ab93c7c68bc3b2334ec0dac3bcb840 +DIST crossbeam-deque-0.8.8.crate 24634 BLAKE2B b5979d6adc03af42c59cc0931b99b36b4f8ee10ff018753d0f7798e0fee4f98eed7529a907a6b85960252e9ccbe34adb47a8638669341a7183034cc3f9db40d4 SHA512 4ee9d102f2ccdbea90396c3b735ef814bea51627fd0b994c23c5295ea041894c09cfdfe0490e7c59870465ceca7a7ef23c969440f02abb5f0692217594478f45 +DIST crossbeam-epoch-0.9.21.crate 47936 BLAKE2B a0e81692b3f8075a6b54c06ef4506cf08ae9061002a7b4e47d25d9c1809f8134b799ec3365f9083e71d5094cec46ba5a8347ab8b12f46e1f9f23717b82e587e6 SHA512 b13bd03fdbab8d16d14a822ab6b61330405aef39ff7b32ff2e907fefc9df5abe5e30b51f5fb4cef46a2fe1cd795fd73685ce6763ec7107f0342da8d24229fa89 +DIST crossbeam-utils-0.8.23.crate 47174 BLAKE2B 1a5ec35d66494cd04c1d35f13c95e5ef34e19597946882fe8baab13eca3da89bb6089c6c11f61d14214f4d1d54a3b6a81277f45460d120b61eff647bb3e436a6 SHA512 b6116e4440aa8e0012a3c67fba141ad76fb820fa56f4a76914da2c531b5c1dcd9bb7d8808f41379c67e2abdbf73268101fd6021d95cbcf9f1aee82e10aa5f18e +DIST either-1.18.0.crate 22357 BLAKE2B cef6eabc788d34cf10ee2dc7f18b220e485dd387588b971f4375ed109265f32f29e75ba99ccb78b81b80359b02d7836ef3108c55adcd04a3fa01308bb0a9e905 SHA512 b74a704e39869ff7231d47d3e2fefffc52cbdc7da5ef8fbbef0b9b032b67cf91b99330c6134a76ebdf38af9c93ac857ff35376d5fb350ec407e8957684e51535 +DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 +DIST libc-0.2.189.crate 851502 BLAKE2B 05155a249c6880ca96a19bbb7569d4ca7530f544504e4ccb48db1ebca0b70d84e99c6b9532adb9dfbb3d4d1187eca22698a6b2ba6ae40bebf5d6eafdae86c71d SHA512 0cf621171ed4e6bbfeb71fb582ebf037d62ab481bc406ca2fb766bd4a8416f220a189325a0d3cb3e3cb39d80e09312516ca6335fad71b329c5fccddabedf4110 +DIST lsdetect-0.3.0.gh.tar.gz 25195 BLAKE2B cfdec4f93b3e2b7f2d2bf13ac150e5645cf2a40a16132086692738d64d16c73149116ec536415e821935607507dada2110bd372b329fa20dace816260647a228 SHA512 a9bc3e17893d6b2b7ac424517777997460fa55de9b50488273efaef31f44a5daf483c75eb5907fded855ee73040c2156629ecc4f5a3e64991356e425748d6636 +DIST matrixmultiply-0.3.11.crate 51167 BLAKE2B a2415bc9e13fdd19252a7001b3952c38f400f55320ef7170e6f57a5816546bae17aeefe910a64bdc7a41a7fc587864da651b584aa3e35536779be4cf4edbf16a SHA512 f07040577d0e8af7ab197249fb6bcef71cea874111c9ca36cddae162c33c6053e4a5b53cc6c59cc28c7e781a4f56dc3647e567bb1b420a71c6477a1131d87dcf +DIST ndarray-0.17.2.crate 243631 BLAKE2B edd883d493ee17000eef895b554ce1663a4c3d806710113f387d1ee9be61fded11c5990541925dbc63a9aff86d5a238b2ff4ae9c1a5fce334eba6b8f1e1e5fc7 SHA512 2f0ac40314965d9da1a60a450e1dad7610f323a4c1393b2f6f493504996dd05683552c5455c3d942d4f52bc272762bacdce44706112c0de4000f0963e7e66733 +DIST num-complex-0.4.6.crate 30352 BLAKE2B b9f0465d53e8e16edc44187f8efa40681377e75fc4bbaec2c9fd8b8f5384044c3a989106ed3cdb740cb86e19659b34e4b38e7cfd7bb01904e137ddeda3d0b6b5 SHA512 11ca2c28ffbd15aacb7e184b7f3e09cbec9c955738568c1e0760c256c72b230cae7152403d834c8ed9358e42b724269e99313dde9a23027a6963ca176ca45615 +DIST num-integer-0.1.47.crate 23502 BLAKE2B 713c3e5d74c5fc39febd9264eda943f5f8807960e48aa3e73487ba6181496761a25e9bdba0e20b7f6533c82fbe8382baf7e02900212e9678f6530c54f8bee49e SHA512 119291d5a367c0bfab81983cbfd786062e0980f2b3a8c51917fb2ae8ac9fe02c7ccabfee42e23bcab30d337591bc57619afe0663ad9b0d1540b15496a4dd53f2 +DIST num-traits-0.2.19.crate 51631 BLAKE2B 78637360cbf32d172510a62bd9442708af9730c0296a2bb4ebd200c08facd49bc31bf8ddd58967e0df7273a938832b620265d9f8f4d26ad16049bf6dac1cb4e5 SHA512 180018a5eceb45085e4e8d103ff21bb4d5079cea874c42a0ad4c76c99d275d434bbc1cc289f0cdec172866daa89dbfe0871410b2cc3407233fe1129786905956 +DIST numpy-0.29.0.crate 86464 BLAKE2B 9eb9a0bdf4c53fdfd0ff1ba9ef48844d9d9833889fab89cb8ca7b72ada0bd7ca85e97ba12d56919eea95f38a8aca0142f966aca2509fda9d571067684173521a SHA512 1d6d98d68ba767a28bbdf5cf04a09fdfa7442a4c8f556027585c28ff9f8d894b6da97aff67c747c1a4c6c6fabba97fa9e7c2a8282eced0cd00eef8158147b234 +DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155 +DIST portable-atomic-1.15.0.crate 202705 BLAKE2B bf956c2bf08953b0ae1384d5c1703edf12c4a9b9d1f035b49043f4fb5e0a1ad005263affaf02331a77f098471fe2da8eee7b16861c33df9ef0d76444c614e291 SHA512 257cd168d0362b7b1d5e6ed9032cde9b0ac6e69d90b7e27347c39702a5ea020159c271e37e8045cf10661170f9354638791cfc972587bff3cba01da137f5a2c0 +DIST portable-atomic-util-0.2.8.crate 53874 BLAKE2B 835a61db79a2302fa16135e9a1397d76962070389704cad42715324d8fa83ca6dadfec2587aa7d13e75a270ff09f0291f70528940142c8e70599289ea1c899b2 SHA512 fb1b3b8cbc06fa4ad966cb8809e28924c86e30dad9c53c151e304d3cc6a9f73ede054ee9ba7e27c5fad8ec904a6573a38502c694cbcc4950f52fb8bd85fdf70e +DIST proc-macro2-1.0.107.crate 59588 BLAKE2B 91df0c573e3e1f09c1aeedcad0381cf18186d72c3d50b077b1d232fbb67d1c87ed09f3c6dc515140041c2dab5ce7706042c8235b93099df7d1c962d4a3a99160 SHA512 c109d5509624a57156e0eae22a3aec89a1a163623e8b4e376a13d872a46e4bf6855ee3cd4428c07cdf5c22f2284b6ce755f9cc7e075480e4587ce4f2d40fa903 +DIST pyo3-0.29.2.crate 1255741 BLAKE2B 5187b7dc0f0b2b1441b451850f442a9cf7b8e65baab3c94996be80e39543350ce8739baccb2df0caae1049a4cf744274e4ca9a9d752887d09df5c03e380d42b0 SHA512 85326462a932fd49441f320a879192306a7a6f3a66468ca468fefdb3dff9a530b7895010f156c8c3b125279b94dd304b72825fd4bbdcaeba8e3a58bd8cdcc929 +DIST pyo3-build-config-0.29.2.crate 41104 BLAKE2B b4a78b704ae7c6cd8393abd436fc5d4e9f984ad6f4c95f1fd069888865a516f1a65eaebeecc7bb61e6a0d62d637ff4312a8d6a31f2dabb262d0f3c5177abdf39 SHA512 ecae961c373a87eb13ed3881ac4954112bbf54b3e02eb287d818e44e5ab46cd4700220da5072dd1fb22d68435d012a413a3680b54505c700ee059f1472833b6a +DIST pyo3-ffi-0.29.2.crate 90029 BLAKE2B f20803f6866a99767ce814984cc624783c2207ab54909deaba0a674c3c8f3e98c56bac80e1ea0e13b295634b0c6a713bd961b6c58aacbbc3be5fa9e224ff86e3 SHA512 a5b1db7e856af10f32ba3ce6a4dddc48a11f48431b82cbc1e40be88370836902afc9ab2918eb953d7fbed1ad7daaebefdf70489c7c798e591782e7dd6e2d0ddd +DIST pyo3-macros-0.29.2.crate 9044 BLAKE2B f7caebd70dc9f54914d1d87e4c800f7bddc5d1e09835b0afd96e1f98320127660aa38f58b634ca196d823c926e279bf87c17506161a61bbae0908c51fc3b7eef SHA512 32281797e849ccb23c0ba03f8bea13ffcd86acfc3d5df65543c13befc03c142e88bfaf45f0cf5489cfe9e6acf9170ca6c24ced5d3f3f72be37bc7d2ce2bdb935 +DIST pyo3-macros-backend-0.29.2.crate 93749 BLAKE2B dce6aeef93fc8483dfffd5b514d21530ff499f241ac157e2ea304c8cd050e9fc1343d356a5a85dacb8a73d4d4405b89b4eab128f85fac54aa00f53298ab409a5 SHA512 944b8482e2a6fd0dce82eabe50f915d82b066cf11944e413ab81c01fc917dfe1877748cb8eb92f23d8acee43a9d1fb35f8690203ec440e7db7c66b03c7f27358 +DIST quote-1.0.47.crate 31622 BLAKE2B d912f17bdb5f2db29f5349e976e12da52db9d2197dd9900cb00e907d1e9b06ab177e9b020c1d53f6a6cd087e3a973aed5af63eac282da77792b2a6d6e1b35b07 SHA512 544f4324d425ae011905e0d1b52e367d4660bc34457b2f802af94e1def1e6c4e39ffba3beeb40d75753967d15b6dccce18fea273e7f3d46b63d5c89898d19441 +DIST rawpointer-0.2.1.crate 7490 BLAKE2B ee4542886347f2bfc7cb32cf4f7d025d35c78cb763e6d6acf2a8f85ae8d0261a2a20f86903952bd33b886dcaff789bd30c507b4e5d53c0debd2e6696291a825b SHA512 bff9ba7b69e7754e89ca6d42bd3b7a547f450404de999e35c10e4002fe03ee1f563b9799673c5010aa4c2f80885ca9e45b5560c5093e117be3b75d86affcb62f +DIST rayon-1.12.0.crate 183391 BLAKE2B 97807936988b73fcd72574a9677ce0364e67f5932cab13e137bb3d285a14c366d767bcb7d1fad9733be7b022c2bfef7eb8131555966470d53f41b85414915557 SHA512 adad1851620e8f4652449aeb110c62741d454818910cb6aebc2bdf71672b8b3e1371a0045b1e2d8faf2a1a638558220fd2b7e3dd3a7b8178441dacf2d0bce2cb +DIST rayon-core-1.13.0.crate 73151 BLAKE2B 31112b2f4ff2a0607daced97e234c6cad1356c79d21c7493f3b19b2747083eca85709d5548c9214bb5186a7e2e5fe0def27c45d69d597cac976bb0956da2aa70 SHA512 dce0adda8f5858d351f628f50168d9097ecca437b77fc0c63ad18fb8b3fcc87f2f513cbcbf57606862e30e81f293a05d245073be75292d1a536d6a4d3e2edb9b +DIST rustc-hash-2.1.3.crate 14811 BLAKE2B 97f5d4a011d8488d382d34f53a387969e815d278e798cc04daec21a2b7d074bcbf7ad939b55214d6bcdf1fe97a92f8dc88f5059b37660af8cebbf8bf243796bc SHA512 d44c38f6775b77b5841a644c53a68c09a2f98541aafd809d385b854f385bbba86399aa4fc76bb3dfadd2cba64ec688db22bd353e1ae4de81e0f6e9d36f0cf629 +DIST syn-2.0.119.crate 307407 BLAKE2B 0be3bce1250db4818af7246a03352ab50faeca02b81126fd623bd473d7223693f43914e88e07baa0d7fa5473192e390406165f83e00dbff048c1ea373085eced SHA512 4f2493e334b71c2b0c467e19915d385942c10dc4c0142dd989dcfab9809dea552c45ac3da0b0039956a961f7aca2973c0845c6978e9dfe25c03fdc52dfb1dec0 +DIST target-lexicon-0.13.5.crate 26928 BLAKE2B f8c62cb91f68a635e6ce3fc254df9ce378b5e8f62c1147404c967484b9ed97fb33d7993b4671611db76566063e999d658d201f856f70196ec678d72cc758cf6d SHA512 956df27c01e1186c5356117ffd07810fc0b62fb919d5bfd215955ba85be00ef675212a3c0dc36679986be7b825442fec5c93c7643b7e1e19c04572e6463546fc +DIST unicode-ident-1.0.26.crate 48425 BLAKE2B d615360eb4874b898657770cd8adcb39350e51dbc76a3109f5e0589a8017b89e19b13a49c0170643cd4988296482bdc293f22437d44f06a1e0af9b76b3a0fa1c SHA512 216d13c655e47dddf888fac997a6345bb7c6d1f0ab6b67ed06bfd9013a891fda8e9e8d71b763639957c15b951145ffd77243ee2056a20ed809d2cae48502c472 diff --git a/dev-python/lsdetect/lsdetect-0.3.0.ebuild b/dev-python/lsdetect/lsdetect-0.3.0.ebuild new file mode 100644 index 000000000000..686866d2864a --- /dev/null +++ b/dev-python/lsdetect/lsdetect-0.3.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + autocfg@1.5.1 + crossbeam-deque@0.8.8 + crossbeam-epoch@0.9.21 + crossbeam-utils@0.8.23 + either@1.18.0 + heck@0.5.0 + libc@0.2.189 + matrixmultiply@0.3.11 + ndarray@0.17.2 + num-complex@0.4.6 + num-integer@0.1.47 + num-traits@0.2.19 + numpy@0.29.0 + once_cell@1.21.4 + portable-atomic@1.15.0 + portable-atomic-util@0.2.8 + proc-macro2@1.0.107 + pyo3@0.29.2 + pyo3-build-config@0.29.2 + pyo3-ffi@0.29.2 + pyo3-macros@0.29.2 + pyo3-macros-backend@0.29.2 + quote@1.0.47 + rawpointer@0.2.1 + rayon@1.12.0 + rayon-core@1.13.0 + rustc-hash@2.1.3 + syn@2.0.119 + target-lexicon@0.13.5 + unicode-ident@1.0.26 +" +RUST_MIN_VER="1.88.0" + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cargo distutils-r1 + +DESCRIPTION="Line segment detector (LSD) in pure Rust, with Python bindings" +HOMEPAGE=" + https://github.com/p5k369/lsdetect + https://pypi.org/project/lsdetect/ +" +SRC_URI=" + https://github.com/p5k369/lsdetect/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" + +QA_FLAGS_IGNORED="usr/lib/python.*/site-packages/lsdetect/.*\.so" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/lsdetect/metadata.xml b/dev-python/lsdetect/metadata.xml new file mode 100644 index 000000000000..2b263b9603ee --- /dev/null +++ b/dev-python/lsdetect/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@p5k.org</email> + <name>Patrick Zwerschke</name> + </maintainer> + <origin>srcux</origin> +</pkgmetadata> diff --git a/dev-python/markupsafe/Manifest b/dev-python/markupsafe/Manifest index bdf2248fcf22..af20cd2773f1 100644 --- a/dev-python/markupsafe/Manifest +++ b/dev-python/markupsafe/Manifest @@ -1,2 +1,4 @@ DIST markupsafe-3.0.3.tar.gz 80313 BLAKE2B b2ccf12452ca34e301378feda975fa2f1e256ca8a6f59a0224dc7c30c779e52216721bd9386af4d7e4ee4a5a8fcd9e03dbb5ddf24a777ddeff1c28aff650ba77 SHA512 8c4ed04b467244f6bf99cd2a60ed922bc0569581f00cc5a13d9edcd0a4bc8b97c404edc4576f6146c7aa543bbd37cf52e5312d3bdd27758264d8751fdc7a646c DIST markupsafe-3.0.3.tar.gz.provenance 9208 BLAKE2B f8f2df90df4e587e6316b1a6b523c4e468e2d697efeeff71fa247da62da1c763ee0bee47481a94fe43c7c2e452b36ae7f2be593822ab76e3d9aaed52bd5484c7 SHA512 28b269f9e0a63b7c1a384bd5d35e83ef2ad297862220f368d229f3cf4849b6063c17ede5b6f02b127750e6515b323086447ff9d209c6875193bded2a3956f8a3 +DIST markupsafe-3.0.4.tar.gz 153777 BLAKE2B 304d35fa105fca9adb0707e00f6ea98a339b51e8597ee1d5aa6cef93c4a548999647a9722a5c692b015c47bb84b14b82f33db85ad25d8c2724bed88f4acfe5b2 SHA512 032a791bdc82ddb8cb7a24ee767ae87bd996af2a7195c9272bff7affc0bb63ffe664f54c785335d917b2fa23f45c74fd3b41e51ed46c0eef7a44f005070311f1 +DIST markupsafe-3.0.4.tar.gz.provenance 10012 BLAKE2B 6efeb89d402dcb324d3ec3691c7972defca5419b32736ee2e9d1040a3556f061a57f6658f05667ee82dd45a3542699c2f71a80727d2a2e2d21ca4115a3f1fadf SHA512 414bb634477ce4adca0484e3cf2292a45d8d4212e9a4d6a46fe2bea4623c657d1efeaa10fcbdb4a6c1372a7e42ba1901d0732fff989dca79e996c9f2f55a8490 diff --git a/dev-python/markupsafe/markupsafe-3.0.4.ebuild b/dev-python/markupsafe/markupsafe-3.0.4.ebuild new file mode 100644 index 000000000000..a572a017e540 --- /dev/null +++ b/dev-python/markupsafe/markupsafe-3.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN="MarkupSafe" +PYPI_VERIFY_REPO=https://github.com/pallets/markupsafe +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python" +HOMEPAGE=" + https://palletsprojects.com/p/markupsafe/ + https://github.com/pallets/markupsafe/ + https://pypi.org/project/MarkupSafe/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="+native-extensions" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # GC nonsense + tests/test_leak.py::test_markup_leaks +) + +src_prepare() { + distutils-r1_src_prepare + + if ! use native-extensions; then + sed -i -e '/run_setup/s:True:False:' setup.py || die + fi +} + +python_compile() { + local -x CIBUILDWHEEL=1 + distutils-r1_python_compile +} diff --git a/dev-python/nanobind/files/nanobind-cstdio.patch b/dev-python/nanobind/files/nanobind-cstdio.patch new file mode 100644 index 000000000000..3a38ee0f10a1 --- /dev/null +++ b/dev-python/nanobind/files/nanobind-cstdio.patch @@ -0,0 +1,13 @@ +https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763 + +From 942e75d927e3884e56d607e77c026bb4a72a4763 Mon Sep 17 00:00:00 2001 +From: Wenzel Jakob <wenzel.jakob@epfl.ch> +Date: Sun, 20 Sep 2026 22:29:38 +0200 +Subject: [PATCH] Add missing ``<cstdio>`` include + +--- a/include/nanobind/nanobind.h ++++ b/include/nanobind/nanobind.h +@@ -36,2 +36,3 @@ + #include <cstdint> ++#include <cstdio> + #include <cstdlib> diff --git a/dev-python/nanobind/nanobind-2.12.0.ebuild b/dev-python/nanobind/nanobind-2.12.0.ebuild index 01ee434463e0..3111e554d012 100644 --- a/dev-python/nanobind/nanobind-2.12.0.ebuild +++ b/dev-python/nanobind/nanobind-2.12.0.ebuild @@ -29,6 +29,11 @@ RDEPEND=" ${DEPEND} " +PATCHES=( + # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763 + "${FILESDIR}/${PN}-cstdio.patch" +) + EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/nanobind/nanobind-2.15.0.ebuild b/dev-python/nanobind/nanobind-2.15.0.ebuild index e3ae0cc5c0d5..d75f2f2c458c 100644 --- a/dev-python/nanobind/nanobind-2.15.0.ebuild +++ b/dev-python/nanobind/nanobind-2.15.0.ebuild @@ -29,6 +29,11 @@ RDEPEND=" ${DEPEND} " +PATCHES=( + # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763 + "${FILESDIR}/${PN}-cstdio.patch" +) + EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/nanobind/nanobind-3.0.1.ebuild b/dev-python/nanobind/nanobind-3.0.1.ebuild index 8f67ea40de6a..ef66148146e0 100644 --- a/dev-python/nanobind/nanobind-3.0.1.ebuild +++ b/dev-python/nanobind/nanobind-3.0.1.ebuild @@ -29,6 +29,11 @@ RDEPEND=" ${DEPEND} " +PATCHES=( + # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763 + "${FILESDIR}/${PN}-cstdio.patch" +) + EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/nanobind/nanobind-3.1.0.ebuild b/dev-python/nanobind/nanobind-3.1.0.ebuild index 62b8073c6b06..b46039c14810 100644 --- a/dev-python/nanobind/nanobind-3.1.0.ebuild +++ b/dev-python/nanobind/nanobind-3.1.0.ebuild @@ -29,6 +29,11 @@ RDEPEND=" ${DEPEND} " +PATCHES=( + # https://github.com/wjakob/nanobind/commit/942e75d927e3884e56d607e77c026bb4a72a4763 + "${FILESDIR}/${PN}-cstdio.patch" +) + EPYTEST_PLUGINS=() EPYTEST_XDIST=1 distutils_enable_tests pytest diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 0ef881fabf50..9c53c7acd287 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -1,5 +1,5 @@ -DIST pbs_installer-2026.8.25.tar.gz 77316 BLAKE2B 62c55233af7d42d0a61fc6dbdc4ac6b047e9d9a5b8b51be3d3d07fc5b48941c1bcbe2f30bb612bcb4529412e1f95c3b38f35b726fcb26d60fd95f5b687b2680e SHA512 dd21517db3d97f60d2c5bd98f0ce20ce31e313c43175bb47e5f1765443c7635644202ab20826899c6957bbaac86157d68d30da1f95ab7743a9fb634dad0aebba -DIST pbs_installer-2026.8.25.tar.gz.provenance 9943 BLAKE2B 6dfda1992b69318f8b0319390704c35082e021eb5e11991a0144230e7db64e0d932ea0a01ec49007e9e4e21c0df8c87d99a9a8b0941098dd7201325ff3d49a35 SHA512 85cce968cb89f610aff8f505f1bf71bed239ec9c2351296185d4b7d6e860e0031f9ddba4d8d60cca8bdc353638eefac2b084f75a69071e94b087f59870b3b4df +DIST pbs_installer-2026.10.1.tar.gz 81120 BLAKE2B f439ff09203b8b628184b587fdcb6e59c296406a22d6dc0d2b49eaab8d55f9621acef6e1d9b533a1be6fb417cf2d8a64d940fc57e4f681f256d4a907df41741c SHA512 2ee04905365d3cc627dd606a64ea4b9be96dc63508f9a86b2f7b944ab4cbb07a09f8336366a0780aecfd2cab90b66416ee01a6b9d7e72581ec7ec3ad0cd594cd +DIST pbs_installer-2026.10.1.tar.gz.provenance 9959 BLAKE2B dbd0e4d6682ea9f692f7c372e1136cfffeaa5dca96c15d56f297359b24bc7fbc12ae54b97750febe8130cc92bb09d2b46054bd942c05ba4d7978d8114769c84f SHA512 f9a8af41b085d413989577c992be521c6237135811b6a2a83af04d1526188b9c4293087a246ef99d61548ec33b169bf5a9dca97b708a7284af8e9ea7e1b12272 DIST pbs_installer-2026.9.1.tar.gz 77293 BLAKE2B c1e836f3f50b358615095e6ca7c13389322ba940d4ab55cae9635851db6c578e54cf235044f2c86ca0d407e0d8f8620da3d37a3122c698adce6f2158cf42fb58 SHA512 8d07247fc3251a6679f1cd96d7ad1c915dafafbcaf2e89e127b1bbe6b261f9fea341e7cf14aefd4e501dab2057934fa2aca5328c91af7de0d87f7cd719d4d662 DIST pbs_installer-2026.9.1.tar.gz.provenance 9751 BLAKE2B 651c18665595549bd0b32e94b5e11c9a4f4c98f21cd898c7746f13586c0c221089ba670315576ec076effeae0603c8802762193c4a728db6f0c828bea586d9eb SHA512 48e7f147a0f02999824b664cca10b813f2331b7f653bc7dffb994df3da9bf8f71f7e6d5eddffe3699563b5220314bf787cd0d9d7b903c128c5f0179b6fe13172 DIST pbs_installer-2026.9.29.tar.gz 77902 BLAKE2B cf42ecc98a55c39a0a90cc82f8fa082b856cf15e74bca224627defa2113ad6b662d57bcf0dc1dcfb86a9cf8ae87555c2585c029e3260b8b55c4dba163c45bf07 SHA512 108c2d89e94ffaefd297ce372b8d3805f46f7555b53f95863e086b853f23832a342ae5271ecc712612e376687808b6ab8957731b8f317613ad34df8b46ed8998 diff --git a/dev-python/pbs-installer/pbs-installer-2026.8.25.ebuild b/dev-python/pbs-installer/pbs-installer-2026.10.1.ebuild index 6d8f79ea02ba..ad138f3a6f5d 100644 --- a/dev-python/pbs-installer/pbs-installer-2026.8.25.ebuild +++ b/dev-python/pbs-installer/pbs-installer-2026.10.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~x86" +KEYWORDS="~amd64 ~arm64 ~x86" # httpx is needed to download builds # zstandard is needed to install them diff --git a/dev-python/polars/Manifest b/dev-python/polars/Manifest new file mode 100644 index 000000000000..5bb1bf8b2496 --- /dev/null +++ b/dev-python/polars/Manifest @@ -0,0 +1,5 @@ +DIST arrow-rs-object-store-b07471e2bc341278f86e30cf80a850d56cbe2c67.gh.tar.gz 342282 BLAKE2B 47a1549d13db745d61566a55a471a85976d13852fd9ad8a241b0cf6be94ea586930575a842e0a6f10b534f0bb1a42225c0ddfae705f759e32ddc7345b137f803 SHA512 14cb3283ae64efcbe122b1ba3df9537e350e2480d5888a2a3a97979658bc0bb50773e1535f86cb12a919a8b5d14224d4f114facf3510f3b167b4e3b5a013c346 +DIST color-backtrace-20f5eea183563bb4cfac9a4d65901d4a1002cde2.gh.tar.gz 19183 BLAKE2B d73eb07c25275dfe4ca9a436f840aac670574c3cbd5a0eba5ebdc2405bd6f6a6638307ea9b89ea407e8023f4cdb0e2ea5d2e295fb065d63091109f4e3079a714 SHA512 c1843889f4a9ea5f515cb374f6a8a011bf000836a772263eef023b0173fcb5986426f919cdd4369f18687f46f2fcc712d8f6efdc698b4605a5358c230adb2baf +DIST jemallocator-0d683dfb157097e2075d5e0eaf25f71f514a7552.gh.tar.gz 143641 BLAKE2B 9b160f6b8364a0800c5f8ce4ab532e19ad57161d484d60c5b4dfaa0c59e228dc16d83b99ee93c85b0a44fe8f139baab8a7e10b51eaee14d45240c8bf9e63f9f1 SHA512 1c810eb25e9e8e7724205bdcb86a66dfca082be50829cda0fe54c2cd340f50dc6a8ff3b04026917d12c051790efa08b687093db4b11de8380c0e5c66528fc683 +DIST polars-py-1.44.2-crates.tar.xz 43678932 BLAKE2B 533d19d9186fe72505f4a22a8a644151ca90157c14af94450ee5185dffa76d44ab190f79558ffc5e7b3696c85ef70c9ede917033c3cb26a09ea23e9625b40773 SHA512 75e90447ad6490fe6d151c7aa16626075297edfa35645dc183f0114a85261f632d401c091fb1653c4305f433893ab0638d619056b5b447bd95379e1902ada312 +DIST polars-py-1.44.2.gh.tar.gz 5454913 BLAKE2B 0e1f5dc10f83d11b144dd2b63181986054c44e510883b6a6bdd6cc6768e366c37edf4e2a62408835474d098ae40e357556243e1120bf2395bc4d327c37f00c0f SHA512 015a08c9113ab0e8725384e52b4d272657c98376f3cfc83c400a74ff229bc4d1cff5f9f3fc6c7de89c3be052b38ede255152d0965a9368faf2b6fec9ea3efe2f diff --git a/dev-python/polars/files/lz4-sys-unbundle-lz4.patch b/dev-python/polars/files/lz4-sys-unbundle-lz4.patch new file mode 100644 index 000000000000..c17d47a558c3 --- /dev/null +++ b/dev-python/polars/files/lz4-sys-unbundle-lz4.patch @@ -0,0 +1,38 @@ +diff --git a/lz4-sys/Cargo.toml b/lz4-sys/Cargo.toml +index 033f2eddc..4001ecd66 100644 +--- a/lz4-sys/Cargo.toml ++++ b/lz4-sys/Cargo.toml +@@ -1,0 +1,2 @@ libc = "0.2.44" ++[build-dependencies.pkg-config] ++version = "0.3.9" +diff --git a/lz4-sys/build.rs b/lz4-sys/build.rs +index c69d25716..32a69f418 100644 +--- a/lz4-sys/build.rs ++++ b/lz4-sys/build.rs +@@ -15,6 +15,18 @@ fn main() { + } + + fn run() -> Result<(), Box<dyn Error>> { ++ let target = get_from_env("TARGET")?; ++ ++ if !target.contains("windows") ++ && pkg_config::Config::new() ++ .print_system_libs(false) ++ .cargo_metadata(true) ++ .probe("liblz4") ++ .is_ok() ++ { ++ return Ok(()); ++ } ++ + let mut compiler = cc::Build::new(); + compiler + .file("liblz4/lib/lz4.c") +@@ -24,7 +36,6 @@ fn run() -> Result<(), Box<dyn Error>> { + // We always compile the C with optimization, because otherwise it is 20x slower. + .opt_level(3); + +- let target = get_from_env("TARGET")?; + if target.contains("windows") { + if target == "i686-pc-windows-gnu" { + // Disable auto-vectorization for 32-bit MinGW target. diff --git a/dev-python/polars/metadata.xml b/dev-python/polars/metadata.xml new file mode 100644 index 000000000000..4f1bc5124342 --- /dev/null +++ b/dev-python/polars/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://srcux.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <origin>srcux</origin> +</pkgmetadata> diff --git a/dev-python/polars/polars-1.44.2.ebuild b/dev-python/polars/polars-1.44.2.ebuild new file mode 100644 index 000000000000..b8686136fd53 --- /dev/null +++ b/dev-python/polars/polars-1.44.2.ebuild @@ -0,0 +1,272 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.95" + +declare -A GIT_CRATES=( + [color-backtrace]='https://github.com/orlp/color-backtrace;20f5eea183563bb4cfac9a4d65901d4a1002cde2;color-backtrace-%commit%' + [object_store]='https://github.com/apache/arrow-rs-object-store;b07471e2bc341278f86e30cf80a850d56cbe2c67;arrow-rs-object-store-%commit%' + [tikv-jemalloc-sys]='https://github.com/pola-rs/jemallocator;0d683dfb157097e2075d5e0eaf25f71f514a7552;jemallocator-%commit%/jemalloc-sys' +) + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit cargo distutils-r1 + +MY_P=polars-py-${PV} +DESCRIPTION="Extremely fast Query Engine for DataFrames, written in Rust" +HOMEPAGE=" + https://github.com/pola-rs/polars/ + https://pypi.org/project/polars/ +" +SRC_URI=" + https://github.com/pola-rs/polars/archive/refs/tags/py-${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + https://github.com/gentoo-crate-dist/polars/releases/download/py-${PV}/${MY_P}-crates.tar.xz + ${CARGO_CRATE_URIS} +" +S=${WORKDIR}/${MY_P}/py-polars + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0 + CDLA-Permissive-2.0 ISC MIT Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-util/maturin[${PYTHON_USEDEP}] + test? ( + dev-python/aiosqlite[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/orjson[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/xlsxwriter[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +DOCS=( ../README.md ) + +src_prepare() { + distutils-r1_src_prepare + + # ofc upstream must be patching crates + local crate + for crate in "${!GIT_CRATES[@]}"; do + local override=$( + grep "^${crate} =" "${ECARGO_HOME}"/config.toml || die + ) + sed -i -e "s@^${crate} = { git.*\$@${override}@" ../Cargo.toml || die + done + + # https://github.com/10XGenomics/lz4-rs/pull/39 + pushd "${ECARGO_VENDOR}"/lz4-sys* >/dev/null || Die + eapply -p2 "${FILESDIR}/lz4-sys-unbundle-lz4.patch" + popd >/dev/null || die + + export ZSTD_SYS_USE_PKG_CONFIG=1 +} + +rust_compile() { + local DISTUTILS_USE_PEP517=maturin + local DISTUTILS_ARGS=( + # default features include requiring nightly Rust + # full include fast_alloc which requires jemalloc which requires + # git submodule dance + --no-default-features + --features=full_functionality + ) + + # TODO: other variants? + pushd runtime/polars-runtime-32 >/dev/null || die + distutils-r1_python_compile + popd || die +} + +python_compile() { + rust_compile + distutils-r1_python_compile +} + +python_test() { + local EPYTEST_IGNORE=( + # altair + tests/unit/operations/namespaces/test_plot.py + # deltalake + tests/unit/io/test_delta.py + tests/unit/io/test_delta_deletion_vector.py + # iceberg + tests/unit/io/test_iceberg.py + # jax + tests/unit/ml/test_to_jax.py + # torch + tests/unit/ml/test_torch.py + # polars_ds + tests/unit/interop/test_ds_plugin.py + ) + local EPYTEST_DESELECT=( + # TODO + 'tests/docs/test_user_guide.py::test_run_python_snippets[path15]' + 'tests/unit/operations/map/test_inefficient_map_warning.py::test_parse_apply_functions[b-lambda x: str(x).title()-pl.col("b").cast(pl.String).str.to_titlecase()-None]' + "tests/unit/operations/map/test_inefficient_map_warning.py::test_parse_apply_functions[b-lambda x: x.lower() + \":\" + x.upper() + \":\" + x.title()-(((pl.col(\"b\").str.to_lowercase() + ':') + pl.col(\"b\").str.to_uppercase()) + ':') + pl.col(\"b\").str.to_titlecase()-None]" + tests/unit/operations/namespaces/string/test_string.py::test_titlecase + tests/unit/sql/test_strings.py::test_string_case + tests/unit/utils/test_utils.py::test_in_notebook + # numba + 'tests/docs/test_user_guide.py::test_run_python_snippets[path17]' + # great_tables + 'tests/docs/test_user_guide.py::test_run_python_snippets[path39]' + # pytest.raises() on warnings + tests/unit/expr/test_exprs.py::test_validate_format_argument_raises_chrono_format_warning + tests/unit/lazyframe/test_lazyframe.py::test_lazyframe_membership_operator + tests/unit/lazyframe/test_show_graph.py::test_show_graph_plan_stage_default_changed + tests/unit/meta/test_api.py::test_namespace_warning_on_override + # azure + 'tests/unit/io/cloud/test_credential_provider.py::test_credential_provider_rebuild_clears_cache[CredentialProviderAzure-abfss://container@storage_account.dfs.core.windows.net/bucket-initial_credentials1-updated_credentials1]' + # Internet + tests/unit/io/cloud/test_credential_provider.py::test_credential_provider_serialization_custom_provider + tests/unit/io/test_csv.py::test_read_web_file + # connectorx + 'tests/unit/io/database/test_read.py::test_read_database[uri: connectorx]' + tests/unit/io/database/test_read.py::test_read_database_cx_credentials + # adbc_driver_sqlite + 'tests/unit/io/database/test_read.py::test_read_database[conn: adbc (batched)]' + 'tests/unit/io/database/test_read.py::test_read_database[conn: adbc (fetchall)]' + 'tests/unit/io/database/test_read.py::test_read_database[uri: adbc]' + 'tests/unit/io/database/test_read.py::test_read_database_iter_batches[conn: adbc (ignore batch_size)]' + 'tests/unit/io/database/test_read.py::test_read_database_iter_batches[conn: adbc]' + 'tests/unit/io/database/test_read.py::test_read_database_mocked[adbc_driver_postgresql-75000-False-fetch_arrow]' + 'tests/unit/io/database/test_read.py::test_read_database_mocked[adbc_driver_postgresql-75000-True-fetch_record_batch]' + 'tests/unit/io/database/test_read.py::test_read_database_mocked[adbc_driver_postgresql-None-False-fetch_arrow]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_adbc[?-param_value2]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_adbc[?-param_value3]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_adbc[?-param_value4]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_adbc[?-param_value5]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_adbc[?-param_value6]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_multiple_adbc[params1-param_value1]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_multiple_adbc[params2-param_value2]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_multiple_adbc[params3-param_value3]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_multiple_adbc[params4-param_value4]' + 'tests/unit/io/database/test_read.py::test_read_database_parameterised_multiple_adbc[params5-param_value5]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised[?-param_value2]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised[?-param_value3]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised[?-param_value4]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised[?-param_value5]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised[?-param_value6]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised_multiple[params1-param_value1]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised_multiple[params2-param_value2]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised_multiple[params3-param_value3]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised_multiple[params4-param_value4]' + 'tests/unit/io/database/test_read.py::test_read_database_uri_parameterised_multiple[params5-param_value5]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_append_replace[adbc-False]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_append_replace[adbc-True]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_create[adbc-False]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_create[adbc-True]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_create_quoted_tablename[adbc-False]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_create_quoted_tablename[adbc-True]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_errors[adbc-False]' + 'tests/unit/io/database/test_write.py::TestWriteDatabase::test_write_database_errors[adbc-True]' + tests/unit/io/database/test_write.py::test_write_database_adbc_temporary_table + # deltalake + tests/unit/io/test_hive.py::test_hive_decode_reserved_ascii_23241 + tests/unit/io/test_hive.py::test_hive_decode_utf8_23241 + # fastexcel, xlsx2csv + 'tests/unit/io/test_spreadsheet.py::test_drop_empty_rows[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_drop_empty_rows[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_empty_sheet' + 'tests/unit/io/test_spreadsheet.py::test_excel_freeze_panes' + 'tests/unit/io/test_spreadsheet.py::test_excel_hidden_columns' + 'tests/unit/io/test_spreadsheet.py::test_excel_mixed_calamine_float_data' + 'tests/unit/io/test_spreadsheet.py::test_excel_read_columns_nonlist_sequence[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_excel_read_columns_nonlist_sequence[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_read_named_table_with_total_row' + 'tests/unit/io/test_spreadsheet.py::test_excel_read_no_headers[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_excel_read_no_headers[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_round_trip' + 'tests/unit/io/test_spreadsheet.py::test_excel_type_inference_with_nulls[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_excel_type_inference_with_nulls[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_column_and_row_totals' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_compound_types[calamine-list_dtype0]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_compound_types[xlsx2csv-list_dtype2]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_multiple_tables' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_sparklines[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_sparklines[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_to_bytesio[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_to_bytesio[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_to_file_object[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_to_file_object[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_excel_write_worksheet_object' + 'tests/unit/io/test_spreadsheet.py::test_read_dropped_cols[read_excel-path_xlsx-params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets[read_excel-path_xls-params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets[read_excel-path_xlsb-params4]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets[read_excel-path_xlsx-params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets[read_excel-path_xlsx-params3]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets[read_ods-path_ods-params5]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets_with_sheet_name[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_all_sheets_with_sheet_name[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_basic_datatypes[calamine]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_basic_datatypes[xlsx2csv]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_workbooks[read_excel-path_xls-params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_workbooks[read_excel-path_xlsb-params4]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_workbooks[read_excel-path_xlsx-params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_workbooks[read_excel-path_xlsx-params3]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_workbooks[read_ods-path_ods-params5]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_worksheets[read_excel-path_xls-params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_worksheets[read_excel-path_xlsb-params4]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_worksheets[read_excel-path_xlsx-params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_worksheets[read_excel-path_xlsx-params3]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_multiple_worksheets[read_ods-path_ods-params5]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_temporal_data[path_xls-params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_temporal_data[path_xlsb-params3]' + 'tests/unit/io/test_spreadsheet.py::test_read_excel_temporal_data[path_xlsx-params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_invalid_worksheet[read_excel-path_xls-params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_invalid_worksheet[read_excel-path_xlsb-params4]' + 'tests/unit/io/test_spreadsheet.py::test_read_invalid_worksheet[read_excel-path_xlsx-params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_invalid_worksheet[read_excel-path_xlsx-params3]' + 'tests/unit/io/test_spreadsheet.py::test_read_invalid_worksheet[read_ods-path_ods-params5]' + 'tests/unit/io/test_spreadsheet.py::test_read_mixed_dtype_columns[read_ods-path_ods_mixed-additional_params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_spreadsheet[read_excel-path_xls-engine_params0]' + 'tests/unit/io/test_spreadsheet.py::test_read_spreadsheet[read_excel-path_xlsb-engine_params4]' + 'tests/unit/io/test_spreadsheet.py::test_read_spreadsheet[read_excel-path_xlsx-engine_params1]' + 'tests/unit/io/test_spreadsheet.py::test_read_spreadsheet[read_excel-path_xlsx-engine_params3]' + 'tests/unit/io/test_spreadsheet.py::test_read_spreadsheet[read_ods-path_ods-engine_params5]' + 'tests/unit/io/test_spreadsheet.py::test_schema_overrides' + 'tests/unit/io/test_spreadsheet.py::test_spreadsheet_no_resource_warning[read_excel-path_xlsx-params0]' + 'tests/unit/io/test_spreadsheet.py::test_spreadsheet_no_resource_warning[read_excel-path_xlsx-params2]' + 'tests/unit/io/test_spreadsheet.py::test_spreadsheet_no_resource_warning[read_ods-path_ods-params3]' + # gevent + tests/unit/lazyframe/test_async.py::test_gevent_collect_async_no_switch + tests/unit/lazyframe/test_async.py::test_gevent_collect_async_spawn + tests/unit/lazyframe/test_async.py::test_gevent_collect_async_switch + tests/unit/lazyframe/test_async.py::test_gevent_collect_async_with_hub + tests/unit/lazyframe/test_async.py::test_gevent_collect_async_without_hub + ) + + epytest -o addopts= -m "not benchmark" +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index bbb0e6858709..9c4cd154d6b6 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -6,3 +6,5 @@ DIST pylint-4.0.9.tar.gz 1604187 BLAKE2B 3c47fcd713aa6fee21418591c562462eb4d69e4 DIST pylint-4.0.9.tar.gz.provenance 9674 BLAKE2B 5118aa35683375a87f9e58192779750c6afd8e89796dec02a7dcd1e32ca9d7c8490ba45a5cc8ff80aa300aa785705fd748c21e252709b4136888957e19b89c94 SHA512 993fa691547f2fb4f2edd3eefcc0851295b2b2506f24c94d55d3f65d20f24237ca321487d21aabc89896b4f1a481a7a22c50d87b61573f219aa9c680cd3602ed DIST pylint-4.1.1.tar.gz 1737156 BLAKE2B 41625f82bd2091897ccdf6e1efb869b52d7f42e29c7ce415d1e482d9f1e1047228eab4282318612868d23481433279aa7099934c0ac5ae9e8793198e5b0f9de8 SHA512 bd4c52ca9feeb11afa68e8daa0a2302f23c050057c87ff4ce0021bd71a856e6ac7c03637d1a0f6443ed5b0332f3c459cc58b5547ff5bf58fc6731d0c02a80c9f DIST pylint-4.1.1.tar.gz.provenance 9956 BLAKE2B bc0a0bad48d44d73bed0675f24c907fc405b2db3d647dbd8e18fabbb57bb452d81dd75aabb1c77713406864c5b2d5f59f9c39a516dc19481861eab0739e097a7 SHA512 7e17a1a08c0d25f6713a1e75fe33ad35b5a989c4ae60e71c9f6e9158e02ea5cd6985f901db89f89607deda579eb8a04f711f3138b79e1f0f6bbbec36f3bce04d +DIST pylint-4.1.2.tar.gz 1739885 BLAKE2B bc0474c44d6a3fde543bc3895c77e9728d3aac8ae12319c19a0d33a24715b6d8e391ab447392d3bd5a4278c0bc5708c1a384745a45a03d83a1597576c1a22458 SHA512 8f2fb385d0866865fe8ce7e5382586e1e5b4420544ab58773079c2387be4c6e93033f0f749a7972cce91faae9f957e3be397d695cab294f0752e4d1bc71f1c93 +DIST pylint-4.1.2.tar.gz.provenance 9913 BLAKE2B 16a071063ff401d99c740878b8ba3ab59c6780b6d606fb2e95d3218094fc5c96ca121b83bf1bd07629b06a474edeb37963cc9614c3669b4c096a36b8c46a6c2e SHA512 341968d19d1530a928e732a3edb07d90fc23cb649a0c9ea2189795aa2da347bdd59d724ba119c71485e09deb2cd6b8458f63b84fbd03742ab27fe35ef173a758 diff --git a/dev-python/pylint/pylint-4.1.2.ebuild b/dev-python/pylint/pylint-4.1.2.ebuild new file mode 100644 index 000000000000..862d7f2571e7 --- /dev/null +++ b/dev-python/pylint/pylint-4.1.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pylint-dev/pylint +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-4.4[${PYTHON_USEDEP}] + >=dev-python/astroid-4.3.3[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-5.14[${PYTHON_USEDEP}] + <dev-python/isort-10[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/gitpython-3[${PYTHON_USEDEP}] + ' 'python*' ) + >=dev-python/pytest-8.3[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + # Internal stuff, missing data in sdist + tests/testutils/_primer/test_primer.py + # needs pytest_remaster + tests/reporters/unittest_junit_reporter.py + ) + + if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + epytest +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 45b7f44037ca..7155573630ef 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -26,6 +26,8 @@ DIST Python-3.15.0rc1.tar.xz 35516700 BLAKE2B 97bcfd712f442c0811591c4e23b29840de DIST Python-3.15.0rc1.tar.xz.sigstore 7297 BLAKE2B bc1c314774909316c1860e3bb947740ed9beaa00821416459b9f66eb681a2467a19ca0187ab515f54829a3df8fb3214ac2bf8c68d1b6ead09b5c810c96253fd4 SHA512 1ce9eebc29918a5a74378f3af893104b957a5565cd7f3878e099b799787cc731caccd70f6e8fc450bc4f6a6690e1e1570fdc9ee6722b67fad455e3b075881f7b DIST Python-3.15.0rc2.tar.xz 35544464 BLAKE2B bd5e1203f2c65bd6cb20f822927b77b65b1f13e2cfd08b295e966f92f3c6c7d9ad9178224fe6cc6d07900c41b5083ce25a8cd1fd896bf50a905b699da4a37fe2 SHA512 afef5f1aa89e7cd875ec99a7b6681c9f1ce18474955b7bbd1cc0def9a3cf69163bc028d06263a008b48b12361d67943289967914a1503e2ccc4e724be7e06c6f DIST Python-3.15.0rc2.tar.xz.sigstore 7011 BLAKE2B 1a48036e37fc1cc218e9be491303239953b83259947a6ca76241f1a16af3626edefdec270666c0ba6f7835578486872b171e75fbedc24171188609e1b8caa230 SHA512 dcec0764b89abc84e3220448b17d3612c4ddf2ab8dddd282860faf8159cda1b4fae2e7583f4936ed3c62e752289f561efd9cbef9c3f42df71fddfbe17fa9e8a9 +DIST Python-3.15.0rc3.tar.xz 35587476 BLAKE2B b931ee63558909ac94f705912b114a90a4a272c75e475ad203e471d13b500dcff37b8b049b76155e6cbf0ce4d3fe12f5904b4fcd87e982faa31b4f3e5bdf5ea4 SHA512 a6f28aece66e51f8f38c44b0d479fd7b80ef75db6a49862ddcff6a08c34b68ae83aba8fb5987fca3c40929be6a5d4bc21f25a2e9e742681ff8f11ed0a5c4b5ca +DIST Python-3.15.0rc3.tar.xz.sigstore 7481 BLAKE2B 5702b773b8139f862b586c04c8d7c55fc2f2617fbf4f672d8440aedee4cbc98be5079e6bfc9cc5eb1c295dd286da958c83d886f7f8067132006651ba5374cd0f SHA512 b23f297054185ce92d643643a05a58952bf5bb503c6c7659199fa3d0771c3a8c0698f1aa94d763578ecde0063baba47dcad2a8b039b9d906a633c1fccebd1e3d DIST python-gentoo-patches-3.12.13_p1.tar.xz 12408 BLAKE2B 2b232c2742eafcb803713c837b4ddaa38f45c88e707ec272571739570f9e2e5c94644681369d887992eadf5f0c1178489f1aa3a7d8163a2aa4ce6a86732e73da SHA512 e06d78ad24c9fbc3fa9c47b25ba722342ddd140aa30f624b41d605dae40d00ab956d879a247db2d7980c063a1472de40587a0d3cd6947e560aa7e8d0e4f89309 DIST python-gentoo-patches-3.12.14.tar.xz 14296 BLAKE2B aa38928fedcdca5b681f5b1d7cb227038a60202c91c561f2dd3dd40e80167e683676670b7a3fb791ad37f92801d23a429b5adc869eb5566f4223057e932d2f2f SHA512 aafa1c59b54c131efa7fc7db5e64ab01f6c15b4d9d6bedf44bed747b3b06610dc731c4d527b91b321205e83eba944da4b687f23628155468cfc4c8b531a822c0 DIST python-gentoo-patches-3.12.15.tar.xz 14288 BLAKE2B 7542fe0812f67d5b77e22c8af05468960695d1581469d3aee8a8aa569b0a56f75dc264242c8e90f4be5c47488389263f4a61a847448862e253926744055101c3 SHA512 f8e78c98ce383045aedf4d637fb4ae0c435db115c30eb96dafc0150a813e6849ca23b0fc5cb04f9530d92dafd604ee41b50e1edae228f7ed32c8b62ce623e252 @@ -42,3 +44,4 @@ DIST python-gentoo-patches-3.15.0b4.tar.xz 3436 BLAKE2B 82a8b6a3467613229b938313 DIST python-gentoo-patches-3.15.0rc1.tar.xz 3432 BLAKE2B ecd250cefb140de9b9072e4fc256a21c0f2b0a372a4fc715cf954e04c8b5ed8932f9729e14fa1c31edbca3db72b6c9fade2bb4571544e26425bfa841cbd9acad SHA512 2d587b31bafe712f87b79c93fc197e7232da29a14df218ec495a57a50a92d1543dc5fb32214a5ef83dc2b0dac22dad493a03cac39b25566f1b4688d810dacefa DIST python-gentoo-patches-3.15.0rc1_p1.tar.xz 5204 BLAKE2B 088022af757ebcb93a6fed65211147f5e1b4fc3cf319aa4fd6ca18998a96a579711cc18ba392e91a58cbea44fc71facca47ace333fc79957ae779876b30e0349 SHA512 c72a2a312c97e67962b06a2fa2da6292b11fa19cb8fe237e9a100c85672a230acf2f74b47832a601513a100358bcfd70296501652a9692e86a53447f5962fdfa DIST python-gentoo-patches-3.15.0rc2.tar.xz 3428 BLAKE2B 9bd66e1faff64ddf07367e22c606ea893d073ff6641f443e6dcca88455ae3b9fbca0eaaedfd99a0359eef4ff9b335351dc9b27ac70c4635dfeeaad208d5b2867 SHA512 fe24da1974f6bf25d65c39051584b6b8463d3aad19a7841ee6d16534ab06825acba02842b56e4e93871da6c046d6e5cfa23bad9e1e7b0d23e1a7047c13eb1b97 +DIST python-gentoo-patches-3.15.0rc3.tar.xz 4620 BLAKE2B 23f760b68afb9282a29b15d216df8a9a29600a284d65b666a742713648d003a87a9821b01701ca9db44c16eb1e37bfbf7298b37d4ee2281b4b7880f7c4f681b8 SHA512 71124246679c54e34c69eab426e8b55902e9dcd439af0f1388146bfaf5f0eb2ebda13e134047fb55f18020a610f09452bbcac97c8d48d6b6d1e5e86f4c11d33d diff --git a/dev-python/python-tests/python-tests-0.3.15.0_rc3.ebuild b/dev-python/python-tests/python-tests-0.3.15.0_rc3.ebuild new file mode 100644 index 000000000000..f3a756fe9c02 --- /dev/null +++ b/dev-python/python-tests/python-tests-0.3.15.0_rc3.ebuild @@ -0,0 +1,75 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +REAL_PV=${PV#0.} +MY_PV=${REAL_PV/_} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 2-3)t +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +if [[ ${PV} != *_* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-3.15.0_rc3.ebuild b/dev-python/python-tests/python-tests-3.15.0_rc3.ebuild new file mode 100644 index 000000000000..b7e5d0c7a099 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.15.0_rc3.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +VERIFY_SIG_METHOD=sigstore + +inherit python-r1 verify-sig + +MY_PV=${PV/_} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.sigstore + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +if [[ ${PV} != *_* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +# https://www.python.org/downloads/metadata/sigstore/ +VERIFY_SIG_CERT_IDENTITY=hugo@python.org +VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sigstore} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index bbf6a23c9133..f0fbe960f3db 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1,2 +1,4 @@ DIST python_utils-4.0.0.tar.gz 43027 BLAKE2B 4abdcaace88afe2e6d0a4a7ec1f47fe11fd90929cbccf249b15a327cbc9878e4f7dfdef4b0351e56ffbf8ba7aefc0c13ccc5b9693dfc21d53897e82e6295a016 SHA512 189b73da6fbafc4f36e514e0f5ceffab5be461a8dbc344e038fdcb74fefacde3d7dabe0525d4bd6fd5521a829e0c9082a5611de21e21e52a4c961638539ffd22 DIST python_utils-4.0.0.tar.gz.provenance 9555 BLAKE2B 574af1303e7ef2e7d328e949346d78a3e6b58a40031820646b253d184f0aad13fde3b98edc2e2f265a71dd0c299eafa736df4e9306586eee79ffcab61aa8dd1f SHA512 236ab21a0447e8dd9408f54e20d45895e84158ae175b17526d68a17d20c049ac98b193886c8856c42652e21af4c8500be3a262114fa42933acc430ac0554ede5 +DIST python_utils-4.1.0.tar.gz 70942 BLAKE2B eabe65eb66b557af23437308dfe92632060b51d753d506c05218f4369e03e6b1846ef5074147480bbf240f158c47495e6588f2ef2d6d626fba76f54b6c97364b SHA512 f8150a0469bd5756710f9e8f032385aa10b6b302f7df97265463b60dba13ddfd9423325c176a9639e6d5302b5682088d9cdcdd1f5d251239bcd0b08cee1a3334 +DIST python_utils-4.1.0.tar.gz.provenance 9698 BLAKE2B 1cab51eb2fed3be792b00fa157a1ea3f873ac6a417d54986ad7870db38f5e3a4085f632769e273b9c0e5f15b4c2f2ff8988608f60056da562af380320e49ba18 SHA512 271cfc9612df9842ce193d1052564ac1fb3d91d80e851fc931f1eafe2de8b557f72ebcd6ccfdf2fabe8d9f92e9af27defbe7daf5935ce635cdc106327a12b79a diff --git a/dev-python/python-utils/python-utils-4.1.0.ebuild b/dev-python/python-utils/python-utils-4.1.0.ebuild new file mode 100644 index 000000000000..05d102d2521e --- /dev/null +++ b/dev-python/python-utils/python-utils-4.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/wolph/python-utils +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE=" + https://github.com/WoLpH/python-utils/ + https://pypi.org/project/python-utils/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs + _python_utils_tests/test_logger.py + python_utils/loguru.py +) + +EPYTEST_DESELECT=( + # fragile + _python_utils_tests/test_time.py::test_timeout_generator +) + +python_prepare_all() { + sed -i -e '/--cov/d' pyproject.toml || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/scikit-build-core/Manifest b/dev-python/scikit-build-core/Manifest index 397394212d5b..fa5f8dca6845 100644 --- a/dev-python/scikit-build-core/Manifest +++ b/dev-python/scikit-build-core/Manifest @@ -1,6 +1,6 @@ -DIST scikit_build_core-1.0.2.tar.gz 469825 BLAKE2B 11abd8868155e046a0c25b1b2596e2993cd13749c94b236005366e8eb8fbe7fe8b4a6965e54e5b2322a633602cf19d820dec2b2c90015cbc01962ed84ff1cf0b SHA512 9c2986e755b1ac1ace4c77033053084494551b9a41fbae5896f4a9cb9491e68bada713723b454c9a27c1abae214cc0de834c78805c2d8fb55d58ab95114a0b3d -DIST scikit_build_core-1.0.2.tar.gz.provenance 10011 BLAKE2B c1c9d40f30db12f204447fa487c79ec5aaf2b6361d1a39bc4dfeb4d2188ff6b2f60294d7d3396630c6bb5c3071d29cfa4a5a5c77d9c66a56add636ca322b7fc1 SHA512 e68f3c66e62ab402d5eca861e7711cad3726e33d7378a79c0dbd3b78f31b0ead88d41928669f6cedfbf7372d7e00265e2344a1e6f59d093c0d75ba056efe13d9 DIST scikit_build_core-1.0.3.tar.gz 477539 BLAKE2B c06ccb744e5c0ebe6afef33425d1442e7e515b5209ab76ee9891776cb75b31a5f01c847056c3df68ae0464f4417e48f1a2a863252f2d8f43b0a0563bf1b15aac SHA512 84f73b5133750ed09804e9cfde48435cd533881948320613c425c42820b78d19a1041f8354a3fb385745bd2036a569dc04b393aea6cb93fd4cc289ed837c8b18 DIST scikit_build_core-1.0.3.tar.gz.provenance 9921 BLAKE2B 19e77a7d1ba1fa8c0b46933494427a3c8ebe41a865e2a6e9dca2781a2e2b634c69034df110c62c97ff144c5d03c0d05296a044be90966a8d7b64bccf9611325b SHA512 313a5a7fe184725a9b18a7a53950ce05cf128c87c10d93698e75f9aac236d55d609430003778e8207e80c9386d73337edc52fa35c14c5d8727d0b37276db7377 DIST scikit_build_core-1.1.0.tar.gz 513774 BLAKE2B 8dcb06a40e7a49b5aafb3f078334736d30e00bdaef07c2b0305b2acff0da0ff45b3e699872e5d2b9d1eb5e90919e68f87c233f37f47cc390edc7a7881fbd4f11 SHA512 1ef26dc17f142a93383b01200cdfc79e0da6c5caae6ab0918bd53399d6b31b583d1c5590a4a7ce48ef1be3cc33b4ae9ec463dccb0da5ecf70b5c0f613fddca9e DIST scikit_build_core-1.1.0.tar.gz.provenance 10013 BLAKE2B 0b49854e75518c6550acccc4cfca59244912712205480cfd125de29ee270b899b0ef376cf24a34cc3212671126ce0b00f6585d555a60de03691bf76587e8c476 SHA512 bdbb837ec19ae8fffc182e00b26d93ab7dca16328c601aa94d334e5b92cda9006f5358fd693c6f249b89fd09716bbee2aaad3538b9694254a4c9825e15e91773 +DIST scikit_build_core-1.1.1.tar.gz 516192 BLAKE2B 4f165e01da293d2bd1bcaf3de654eece65be00b706243c515218231ba297e3718252ada3a1e6832934d239786b8c41bf4a192e4793839fc4d368a46dbed20323 SHA512 c5a96bd77df549aa139a3379360b3ec54d23aa5e1078c2fd757bb2357699a5aaab68d457ebaf129b89a7d2cb9d014b26459721356561981d38fe4369a1676e06 +DIST scikit_build_core-1.1.1.tar.gz.provenance 10158 BLAKE2B e2075fa07aef68936063c7c6e83808759123a7e88b78a4afc5a941e65dd5614541e9386435665b445f8e74acb6b0e9817473f3b31a90131f350be396ecb5cec1 SHA512 4b645af1668625f16dad2261ec03a97cf69648da8d1b66c2c718b8e845f9a2b43ec3e9af9dfd439a6d31ea0d9da10fe27119f6bc2bd049af1019359b5b3d226a diff --git a/dev-python/scikit-build-core/scikit-build-core-1.0.2.ebuild b/dev-python/scikit-build-core/scikit-build-core-1.1.1.ebuild index 86077edc4058..96f33014caf2 100644 --- a/dev-python/scikit-build-core/scikit-build-core-1.0.2.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-1.1.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest index e06605306967..c7c7ecb0163b 100644 --- a/dev-python/scikit-build/Manifest +++ b/dev-python/scikit-build/Manifest @@ -1,4 +1,2 @@ -DIST scikit_build-0.19.0.tar.gz 274552 BLAKE2B 961436b23d39ea5c6b7f8258da3a10b03e265155ef4e312a69dc7a423dc8cb2ce837f547dbaeaf8902e36ab04736f71ef4e092fb8b6bdca2c601f9728aa777e1 SHA512 3201789ae996603ded40fc997d3df712b440e7242d8ed04f027aa05ac66788c19725a7736e4296429095464024f1b06e6258fc5c7b31879496264bf56e2df51b -DIST scikit_build-0.19.0.tar.gz.provenance 9674 BLAKE2B 328eac64356a2e06650c15e3314985401a7d24fcd502f9bd6855c70664d0b3096ffd2e5be25aec14cfc18558f647b1940491dd3626363d3d347d20c347fee7eb SHA512 748553c323cb4d44128497c4c460072e63c86082e7e33d2655ad9348aa0fc4d7a34aba1ef243279f0ff68900cd5133ca8441e75b12351e9a4d27279bcc79aeda DIST scikit_build-0.19.1.tar.gz 276708 BLAKE2B 46d56cfd0bb2ce431aa898f48909bbc838e61151d33b594f455f679afc87eea45a9c916ebac19f347d8eee78740c15eb29ff47ad35eced725856931c7d4dfb70 SHA512 9404b9503936267f969dfa2e9f53ff808f1ffd90047b62f526bf02c2bfcbb877f5822e516340b3e0a1f6d9aca95e8f732f57ab4e04f5d9757ed419569fe96078 DIST scikit_build-0.19.1.tar.gz.provenance 9819 BLAKE2B 622fd1dd748c391cc43bd1bbd0af3a533d7097157e0cce94d21873e111ab5e333d4e09f48c435d049114c1a71a0ed4a86d4e4c0c6fb90c34b4d803f3d015bcdd SHA512 dc329e9c0dea0b32281c46923cbcd3123b9fa17309409cefdc2174183cf5f47c34d984bf93e6b92ed659dadd76755694db7f278eb8a0f2793c4ae5c7f287a4d3 diff --git a/dev-python/scikit-build/scikit-build-0.19.0.ebuild b/dev-python/scikit-build/scikit-build-0.19.0.ebuild deleted file mode 100644 index d503d53cb15d..000000000000 --- a/dev-python/scikit-build/scikit-build-0.19.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/scikit-build/scikit-build -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions" -HOMEPAGE=" - https://github.com/scikit-build/scikit-build/ - https://pypi.org/project/scikit-build/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/distro[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/setuptools-42.0.0[${PYTHON_USEDEP}] - >=dev-python/wheel-0.32.0[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/build-0.7[${PYTHON_USEDEP}] - >=dev-python/cython-0.25.1[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme \ - dev-python/sphinx-issues -# note: tests are unstable with xdist -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -src_prepare() { - # not packaged - sed -i -e '/cmakedomain/d' docs/conf.py || die - distutils-r1_src_prepare -} - -python_test() { - - local EPYTEST_DESELECT=( - # Internet (via new setuptools?) - tests/test_hello_cpp.py::test_hello_develop - ) - - # create a separate test tree since skbuild tests install random stuff - cp -r "${BUILD_DIR}"/{install,test} || die - local -x PATH=${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH} - - epytest -m "not isolated and not nosetuptoolsscm" \ - -o tmp_path_retention_count=1 -} diff --git a/dev-python/simplejson/Manifest b/dev-python/simplejson/Manifest index 561d637a151a..d8cdbb259e12 100644 --- a/dev-python/simplejson/Manifest +++ b/dev-python/simplejson/Manifest @@ -1,4 +1,4 @@ -DIST simplejson-4.1.1.tar.gz 118860 BLAKE2B 75af5b57638bb5282bf9f81ea26422bbe3d687155eb88f782300f723c8ce116537d5cf16c51e2d2424ba2100e4db10b075faec4d81347ab6e2ee2363d90d8837 SHA512 1690a070738aa8609170d9a329c2f9cb489e9e24de8058ed5e243327f21b02aab1d0b638a2306331d21b2f0b5021c591d40cacb00f8c94957928790caf95bfca -DIST simplejson-4.1.1.tar.gz.provenance 9802 BLAKE2B fa57f47ac3183ad9fe5c75af0fd3c24355ce8b5c93d8f010d9363d041c8b49774d027b7eee15fc77da16f9b4e6b6745c74b513480798536997fb253ab3175e50 SHA512 464d7479ea42f0ca4e9626a7d2013a1a954f97333c7774c0633a7c68073b25bd8f0e821d8aa71f3138c64016e6f18761f420778858dff470fd10bb38bc373b52 DIST simplejson-4.1.2.tar.gz 121591 BLAKE2B 584a228e94ea688a4f5ea738ecf730a9cdf0cee158caee67c200d7813aaf20a2ceb920e43a42167c8b182b1aceb2d42d599f118cb9357a4be49ad967ffdf6d4a SHA512 ad81b4848305986898f1c59909652596c770f03c864863bd7492fe299c27c525496840a24938d398e09b114a3502762fdee52717afaedf288e97e21f8308796d DIST simplejson-4.1.2.tar.gz.provenance 10001 BLAKE2B 556bcbca2925b6013363f9fe60e4124eb5f3fa81b03b9fa52a3fea2dffb63a1474f978771897ee45bcaf25f7e97bd1181d05de28fda67f4872449f64034f9eda SHA512 af8dc10857eb2476370b2e720447f6228c43b62e3c3bff0e578588686c3642e96a82f50c632fff57af15ec97dccdd9a561034a068ddf8ef307bc731a82efcba3 +DIST simplejson-4.2.0.tar.gz 123986 BLAKE2B 2777cbbc05295c07c077b1c53e852d2987911c91ae130130efd927f16954dd12148a9fd831b520ea308a3363044c37d261bf63cede91e857b582baf89a99f36b SHA512 cda114bbaf9f716f0c50bccb91fd67726448724cd801d922a8a58bea4a3a4e1ecde8923bef1be3117167ed1d997571908ff9b9f1c74692097192da3f579d1e60 +DIST simplejson-4.2.0.tar.gz.provenance 9985 BLAKE2B b6f55cda5780553cb29638c52394c6817f8630c7933fff3cb2058b8538ecbb859eaf33c569b88d6ffafd4aa80b8cd846f0a5d9cdf69426de42d23eac58780927 SHA512 d053f5e2829de6a4c91228c9fbe7be6a50218242803799ac1ec1e2887fccd13873b06a30eaae73c4655bb6fec4f2ecb8f8e784c2d0ecdd05c0c1b08e9d75824b diff --git a/dev-python/simplejson/simplejson-4.1.1.ebuild b/dev-python/simplejson/simplejson-4.2.0.ebuild index dd002189bb0b..06c01858aff7 100644 --- a/dev-python/simplejson/simplejson-4.1.1.ebuild +++ b/dev-python/simplejson/simplejson-4.2.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="|| ( MIT AFL-2.1 )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="+native-extensions" DOCS=( README.rst CHANGES.txt ) diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index c70dbfd21936..219daff5d100 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -4,3 +4,4 @@ DIST sqlalchemy-2.0.54.tar.gz 9969559 BLAKE2B b29973d44b49e8c98267d509246369e78c DIST sqlalchemy-2.1.0.tar.gz 10502427 BLAKE2B 74d6c2f44b52f504ea75fb33cc61a0bf063236e6a4b8c35046ba4cdea3284d81ce7b644c21b9add6d65cd9807f4ed0379533b501977324b8f0364cd117bf70d4 SHA512 785b08779e002640fc2abece92fde7f998d08ee49b1b2d85ca37421dfbf67670fbff29976c3b7a0ddb60d12462185c4bc5bf96e17f0d06a7740375c87eb76435 DIST sqlalchemy-2.1.0rc1.tar.gz 10436777 BLAKE2B 3840f114f930dc1d18e8837cd51ebc66a193f386139eda7b825a0efcc280488a4d1f78c0997c4c81d5c8c2b6b92b2cb789beec32dbae43fa05bd638d3afe493b SHA512 66435f258067621f649ae8f28ed409772319cf9939b21cb8a7b2de1ddcdb482f536402350767ff618dbec2be5254b243f903f8c7a7261c49bc66269235bce2eb DIST sqlalchemy-2.1.1.tar.gz 10503203 BLAKE2B 18c76e58bb243bc9fff745f3c04435a4072088ee288aec87d3dc5cb1b6da9d556e6d32cab16d836611633e7316b03b0b960a0830213ba56528aa92d529b2e078 SHA512 5ad09e3c4f101818a7954f17eb665c03251a830ffda082c5feced050d6663b7426abdc9ea3f6801c92ec7d3120f072de18a0aa20aab8ac08bd3d8303f6dc8c32 +DIST sqlalchemy-2.1.3.tar.gz 10525778 BLAKE2B 7093aecf1b69b410852a6926d0cb4e4c2e0b7b091c9eda4cd6e5a224dbdbe1a29f17ed350abfdf5d0565a2dcfa7f1a00ea31f3c5e553b70652b56be6fac8ad7b SHA512 abce5dac76e71c7bd059da30b0b61291f5fb1f49417fe1c02220ea4903b142a2b58ec2d2c288b65113420e0ddf9e7b09b89a38a8093686f9ee2d872b5e1d791d diff --git a/dev-python/sqlalchemy/sqlalchemy-2.1.3.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.1.3.ebuild new file mode 100644 index 000000000000..d9cf5b3c5b56 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-2.1.3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=SQLAlchemy +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" + +LICENSE="MIT" +SLOT="0" +if [[ ${PV} != *_beta* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +fi +IUSE="examples +sqlite test" + +RDEPEND=" + >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + test/ext/mypy/test_mypy_plugin_py3k.py + test/typing/test_mypy.py + # hardcode call counts specific to Python versions + test/aaa_profiling + ) + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + # TODO: flaky? xdist? + test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_fallback_no_greenlet + ) + local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) + case ${EPYTHON} in + python3.15) + EPYTEST_DESELECT+=( + # repr() changes + test/orm/declarative/test_dc_transforms.py::DCTransformsTest::test_basic_constructor_repr_base_cls + test/orm/declarative/test_dc_transforms_future_anno_sync.py::DCTransformsTest::test_basic_constructor_repr_base_cls + # exception message changes + test/engine/test_processors.py::PyDateProcessorTest::test_no_string + ) + ;; + esac + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[has_terminate-is_asyncio]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[not_has_terminate-is_asyncio]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + epytest --reruns-delay=2 -m "not gc_intensive and not timing_intensive and not mypy" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest index 4579c4ed8e49..66a76cf64a21 100644 --- a/dev-python/testfixtures/Manifest +++ b/dev-python/testfixtures/Manifest @@ -1,4 +1,4 @@ -DIST testfixtures-12.2.0.tar.gz 189430 BLAKE2B bbc7444365324021dc52b39d3842be83deab6aa70e5bd4a91c46762851a962d9f7baaff564c72861320f3e2ead149293e3ee2f5023ac8f4efe3d7f5e03c95a4f SHA512 006d2bda1ad3b67e877d9b55faca2fdd6ad27db31105039e3eda7c9782b8ec30ef13050df54fbf923cdc5d838f9660df84952bf5c492fb0d07d5ddb1a463ecae -DIST testfixtures-12.2.0.tar.gz.provenance 9819 BLAKE2B 7dc6b3e35459e0ff9cc21b81a22ccb1243e075440c34d54c741af09e6a18c50e8919733505af3dbdfb05bd560dfb4bb62f5f53343513a55b6282495ddf133046 SHA512 75ffb869b87ff1ee7308a206e328f2d089a0f57155bfe9b86455b2282b2aaa11924e676e1a06ff7399240fe1f52af3cc7d10d597e583d1ebdb102261fa0f7a66 DIST testfixtures-12.3.0.tar.gz 201458 BLAKE2B 837003cf7468d5752f806b8e90b8126267965dfd2fe0525fd6d1f9d2e04146c4a6da3c3314e38ea4e44eb40db9b08334e56cd95bcc0ff0ef50598e5d6a5b8f27 SHA512 a774513a178bb54ec091d0290ddcd5ba4af61ee3f8a47c52298907e0fafa6e1c9a64404e3d0c1d3ac119117c59cd43e87bd76a116ba1bb378fd304d0e2c444f0 DIST testfixtures-12.3.0.tar.gz.provenance 10058 BLAKE2B 9048d747926e374199d9597ee18620f2baa93024ad97db7a77429954a8597be1edde735d1843056cff0d4ae00b0e4c157ee7faae57e1d822486953dc0005d6ff SHA512 0d6ea9321fa30935b69ac5e4b9f088dd054aee5852033385d3de16e9458ab035990264398ed741ae52b03311b6af5fcf50cb6b19072379a6fa08f2f3e7ac031b +DIST testfixtures-12.4.0.tar.gz 203049 BLAKE2B 495711e826fd30e41b3235fb08747aa79492e93ec9224bcc3ace3026a62af3af0952c3ff398fb3119f3c44e89e40c77d418e352613e7652d27f972f907970be4 SHA512 d5105c5e56e60fc45132ced0f076af538b154eeee4f6efd4e9a2a3a1ab6142db659317f9b8a694e33dd100a0500f71a8a8fda881aa652c1773a98c0636173db0 +DIST testfixtures-12.4.0.tar.gz.provenance 10013 BLAKE2B 9dde15819850db91ee88875dbe03e349e4b6f34e2ba25d42b92c9f2e95acd35ce59da19e74367d6145553b037bcfcf82440cf17ffe85926f120032aab1866202 SHA512 96672763b498ee48fb14f02bc52c1e4ddb47b48e81c31065b984dc1509cbe2ded3a5afafb2b2bd7a90eb24f8a98b7b81fd4390ad2a4280140afc81c619f05467 diff --git a/dev-python/testfixtures/testfixtures-12.2.0.ebuild b/dev-python/testfixtures/testfixtures-12.4.0.ebuild index 4bda90adf380..7700b0d4d5dd 100644 --- a/dev-python/testfixtures/testfixtures-12.2.0.ebuild +++ b/dev-python/testfixtures/testfixtures-12.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" $(python_gen_cond_dep ' @@ -45,6 +45,10 @@ python_test() { # TODO tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present + # need polars + docs/pydantic.rst::line:48,column:1 + docs/pydantic.rst::line:69,column:1 + docs/pydantic.rst::line:83,column:1 ) local EPYTEST_IGNORE=() if ! has_version "dev-python/twisted[${PYTHON_USEDEP}]"; then diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 749702af190a..321db40bb75e 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1,3 @@ DIST trimesh-5.0.0.gh.tar.gz 13747514 BLAKE2B a7728a5d846018e37ec1e7b2cf3f8896096a962b5c8c7134d2a56d263b688ac7bbaef6eeefa4d6a9c0d8a57e2670c616f29029a8fc814e447e9aa4474bc34afe SHA512 8201f6fe444a141b4b7990c40644e8cff095abc6373b37c6116a5805dc886fcce365b1c7438ccfef0b800a09f7c50bffea838c8baece3c6ffdef56c01550429b DIST trimesh-5.1.0.gh.tar.gz 13754708 BLAKE2B dcd59854e287b9859e6d7f4d17dddda2661992aec10d340f89a3c978f83bdcd20a497fa7edbd4cb16b8111d18b137eaf55fea10d8eae2304b1cc9c7188198ac3 SHA512 38e8e1902b027d93c6fb25197a0d746a8d437dc3374708611a90f75dc9294c5cb96d7d938d8e449e52a870dc4225216d3cd10a6f9e623863419f9450dae02930 +DIST trimesh-5.1.1.gh.tar.gz 13758012 BLAKE2B b41410a4d7101158515a0e62051bcd7c7951b7a724ca0033692ad9efad50b59e896020646fea863c40688c554e4a5e0abce496f5ea53ca76264a3fe433f31f69 SHA512 2236d3c18c2790627e156ee732b2e33c19193d625f46c1b83e4ef0950d6bd6527a82e50382a142df2874610299d189b4460483026dd525c8b16245df07402cea diff --git a/dev-python/trimesh/trimesh-5.1.1.ebuild b/dev-python/trimesh/trimesh-5.1.1.ebuild new file mode 100644 index 000000000000..6715afbbe9e4 --- /dev/null +++ b/dev-python/trimesh/trimesh-5.1.1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimesh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/charset-normalizer[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + >=dev-python/numpy-1.21[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + dev-python/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mapbox-earcut[${PYTHON_USEDEP}] + dev-python/pillow[webp,${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +: ${EPYTEST_TIMEOUT:=300} +EPYTEST_RERUNS=3 +EPYTEST_XDIST=1 + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires manifold3d + tests/test_boolean.py::test_multiple_difference + tests/test_ray.py::test_contains_cavity + # timing nonsense + tests/test_bounds.py::BoundsTest::test_obb_mesh_large +) +EPYTEST_IGNORE=( + # require pyinstrument + tests/test_sweep.py +) + +python_test() { + # We run tests in parallel, so avoid having n^2 threads in lapack + # tests. + local -x BLIS_NUM_THREADS=1 + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + local -x OPENBLAS_NUM_THREADS=1 + + epytest +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "2D triangulations of polygons" dev-python/mapbox-earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" dev-python/scikit-image +} diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 6c0565b256ca..9d16790288c0 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -6,6 +6,8 @@ DIST virtualenv-21.14.1.tar.gz 5462838 BLAKE2B f2b871a9a49ed63908041eefaa8ca6008 DIST virtualenv-21.14.1.tar.gz.provenance 9487 BLAKE2B 1d4ad31cd32693e47fac8cc5641c11e811034df7957779ab5051099125d9244b3017a9fde1fdd89307426ee61738100e1917cc4169cf1d1c4bfdc9613a3136c9 SHA512 68cf4f7187ffaac9e412c628076febb96f12a78ebf8dfb52af1c908aeb4eccbab8660fda6f03aaa44876491ffa1814e6dbc4bde7d279b96c370792a982c49dd4 DIST virtualenv-21.14.3.tar.gz 5464634 BLAKE2B e82707e1a51d55efef6b902fd8f5aa617003fa43d61558a504d7c26186fd64cbf5c559ccb17b0710b2bde0dea7130652d606cc71dfd82936ffe51c046bb74499 SHA512 6ed46584d704a2ea4b4241348a0c8a3dcc7ae0fb5096fe096f60cac1e589b7f634ef46c377b31f3db220b8b0d2cc2f4f1a46294171c662d8fbd8d2d4a569caec DIST virtualenv-21.14.3.tar.gz.provenance 9808 BLAKE2B 2bd41496285aa992dcebae332feda3bc0b6f6c06483ae09278ebb4e9835df510a66d29806033afda3cce87ea3899aeb4d5eee8f53ce1df2d2543ee32e13127fd SHA512 98c0db6aed32e36ce3b88ae8193a725e9abecff06cbe7e3821e172c82f9bfa03e2e247f50314740f700a0c2d828b254d6bbfb0e74a7919d10d5d33ebac54701b +DIST virtualenv-21.14.5.tar.gz 5467127 BLAKE2B 029434d3c647a5898664b98ddd9fcb7577bc6cbe4e7e5cce308bcac83181e48d55556a9936b4928c26f9f5365bf3551047742d29a82b2233cb047df88336db3c SHA512 d58e9332fc6d79a04d534db9b597cbc7e4abebab11858223baa29cf0284bca72646a909c844c0d141c35e63f7b999879af1eed53d0c51e8e4213c3a494ee615f +DIST virtualenv-21.14.5.tar.gz.provenance 9624 BLAKE2B 0aba2ff51e093e537f3ea5cd30f4e678a92febf982061501ad9901b256902812029ec639587b2464d73cbb73d4ddc3ea4f3d5b20d1d54d853bb904fc3265e4d4 SHA512 1cadd5ac6f51f90d0dae20ba9b545cd06d4e116ebbfc0a355a036ee316ceec7e6ce9952e499c9d3dca8dfc5f697813b936b8bc3937bd4c3658a678470e23593d DIST virtualenv-21.7.16.tar.gz 5363081 BLAKE2B 80a957de88379940d7faf6173d27aba49f24d2c35d162ae666b00e4822e9bbb14dcaa95c7d2515a967ba03a1f6437c1d388fd78fae3e4ded5d596d5ac8802291 SHA512 eacdb1e4216dd00b1948c78bb3facd42e8aeb5566efa6ca85660c2b926bf7e92fc240547b05b2ee795f547edf0aff6bf5e7df4d6f1ef8c7f489af5c0cde20169 DIST virtualenv-21.7.16.tar.gz.provenance 9667 BLAKE2B 9c9fd750ee8403a59dc5c6eb5bf6932ac13ac4e6f2a0c2572292143886d07294bf99cab554f127b20a36f38e76e279100a1f3cf6047e1767750d551ace8cb5cc SHA512 c1a15d2fda5a94460bda461594e2b41fe83da57b1a17afdb0786f270bbd7af40445f92f7cafc494961eeed7e97c9747f7d105ae0453259a174704441dfc5b597 DIST virtualenv-21.7.7.tar.gz 5347022 BLAKE2B fbd9fbbb3e48ef719ddf097eca32557ba4ae980d0a752c0d0e900a086b144ef0a52d87ee75ca902dc24bdad973c0588a148573dcdc982fdf460f1e8ffb71cb7c SHA512 b577552968f9e3fe72af4a5771fbcacbd5efb8808d0b7a23e709a90bb4d9df9cf51bc74a5dff0c978e4da9a9977d22300b6a75c7a57396c4fed09a5946e0e03d diff --git a/dev-python/virtualenv/virtualenv-21.14.5.ebuild b/dev-python/virtualenv/virtualenv-21.14.5.ebuild new file mode 100644 index 000000000000..e4353ab1e703 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.14.5.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv +PYTHON_TESTED=( python3_{13..14} ) +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Virtual Python Environment builder" +HOMEPAGE=" + https://virtualenv.pypa.io/en/stable/ + https://pypi.org/project/virtualenv/ + https://github.com/pypa/virtualenv/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] + >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${PYTHON_USEDEP}] + + dev-python/ensurepip-pip + >=dev-python/ensurepip-setuptools-70.1 + dev-python/ensurepip-wheel +" +# coverage is used somehow magically in virtualenv, maybe it actually +# tests something useful +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/hatchling-1.27[${PYTHON_USEDEP}] + >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.1-ensurepip.patch" + ) + + distutils-r1_src_prepare + + # workaround test failures due to warnings from setuptools-scm, sigh + echo '[tool.setuptools_scm]' >> pyproject.toml || die + + # remove useless pins + sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die + + # remove bundled wheels + rm src/virtualenv/seed/wheels/embed/*.whl || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping testing on ${EPYTHON}" + return + fi + + local EPYTEST_DESELECT=( + tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data + # tests for old wheels with py3.7 support + tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke + tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support + # broken by different wheel versions in ensurepip + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none + tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # hangs on a busy system, sigh + tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe + # TODO + tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions + # random resource leaks or xdist + tests/unit/test_file_limit.py::test_too_many_open_files + # Internet + tests/unit/create/test_creator.py::test_create_distutils_cfg + # we do not use bundled wheels + tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 + # requires bundled packages in pip + tests/unit/test_sbom.py::test_sbom_spdx_declared_license + # require pre-commit = internet + tests/unit/test_wheel_age.py::test_generator_converges + tests/unit/test_wheel_age.py::test_generator_updates_license + # TODO + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + local EPYTEST_RERUNS=5 + local EPYTEST_TIMEOUT=180 + local EPYTEST_XDIST=1 + epytest -o addopts= +} + +src_install() { + distutils-r1_src_install + + # remove bundled wheels, we're using ensurepip bundle instead + find "${ED}" -name '*.whl' -delete || die +} diff --git a/dev-python/whenever/Manifest b/dev-python/whenever/Manifest index 1661789b404b..f39ad29ed4b5 100644 --- a/dev-python/whenever/Manifest +++ b/dev-python/whenever/Manifest @@ -73,6 +73,8 @@ DIST wasm-bindgen-shared-0.2.126.crate 11287 BLAKE2B 054b0f2632193fb2a62549897f2 DIST web-sys-0.3.103.crate 675560 BLAKE2B 3518e3ea0d808786c1cc5970adae650dfe2953586afb56089e7fddef67f70028cf729a0fca8afd4c3dd6061df4122b4cf49188b65e5f30ea001bd9a2160a249d SHA512 8413b25228ee21fded9f805233dc4a88a448a39507baf899372c993703eb9d221882d42f9084c77d1b3d0dfce22ffc10b4d75574eedc7ae3fc59fe9440abe0e5 DIST whenever-0.10.5.tar.gz 437531 BLAKE2B 143d66d6339d9543292455c80786288af41419b84aaca689aa6b6fdd2bb194d68327bfabfcd8bab51acbcf5a719ad2270662d8292eae2849b9e98f60327f7096 SHA512 f420f2252fae3a94566dcfe8d59475ae388a454d57ba98b06d453725f8d76a763c77b27b210ce2e25b739376b00b8b1b38644ddf19404116a5cc236d7f349f3a DIST whenever-0.10.5.tar.gz.provenance 9640 BLAKE2B 5df912098ecf980d6ed6e4db03eb9a9a8969dd30e9c8aa54519182f06168bfcc0195a3e1a038ae821196a3b8b72aec58d33a1075cee9151fe2048101ed1d49a8 SHA512 65ad96cfd805c2192887a772ec1e9dca39c01449850e087fd2f0a649cc537667d71934bcc85b8025eabdc286f0285b96997a981c7cbb6ab12ea783e4de093090 +DIST whenever-0.11.0.tar.gz 563932 BLAKE2B 986c1d685bbf5da753b99a8b53c71f40fdaca787ed761d7f06d931bb995c466e18f22311792d4f452320507c2aa1c488d5c058248168cfaea5d2edb54fb67cba SHA512 765ae81480f09baed739c7261d2a6fa89ddbde3d707a99a6ae4f6ab4d6face72691779ec7514f152c1f094fb8dd1ac2bc399148bea1b65149d18829e5aaacebe +DIST whenever-0.11.0.tar.gz.provenance 9971 BLAKE2B 9ebed76d843ca705f4a0505b201fb07113226ec4052a941294f647e931c86c07594d18ccdff0ee8e54818ef733b9c94ae16f29aa3a8b5b70b58ea4bc519048d0 SHA512 b83da87d52a8747dd0edf4c51cce1f930e07a36b34e4db7efeefa6e62a6bd3c9a2fee613bdb95376e6297d332cd067ef7c6bf3056716bc213250b67569bcef93 DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 DIST winapi-util-0.1.11.crate 13368 BLAKE2B 164f49c84952ece6e566a9a23f32ddf34e16f3930ff531f8d7527bcc18768c9a118cbee748ae6a753a172b4ce8d0f22108142382992b2918b442387ee5904545 SHA512 cc1511c004c2a81da4d7a0414973f09ab711033fbbadfd597f56df2cc6c99b3c1822f0b8de1952e78400a88462b9050acd85d2e4b36db72254049a2d6f725a01 diff --git a/dev-python/whenever/whenever-0.11.0.ebuild b/dev-python/whenever/whenever-0.11.0.ebuild new file mode 100644 index 000000000000..d241c7b70c55 --- /dev/null +++ b/dev-python/whenever/whenever-0.11.0.ebuild @@ -0,0 +1,155 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYPI_VERIFY_REPO=https://github.com/ariebovenberg/whenever +PYTHON_COMPAT=( python3_{13..14} ) + +CARGO_OPTIONAL=1 +RUST_MIN_VER="1.93.0" +CRATES=" + ahash@0.8.12 + aho-corasick@1.1.4 + alloca@0.4.0 + anes@0.1.6 + anstyle@1.0.14 + autocfg@1.5.1 + bumpalo@3.20.3 + cast@0.3.0 + cc@1.3.0 + cfg-if@1.0.4 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.6.2 + clap_builder@4.6.2 + clap_lex@1.1.0 + criterion-plot@0.8.2 + criterion@0.8.2 + crossbeam-deque@0.8.7 + crossbeam-epoch@0.9.20 + crossbeam-utils@0.8.22 + crunchy@0.2.4 + either@1.16.0 + find-msvc-tools@0.1.9 + futures-core@0.3.33 + futures-task@0.3.33 + futures-util@0.3.33 + getrandom@0.3.4 + half@2.7.1 + itertools@0.13.0 + itoa@1.0.18 + js-sys@0.3.103 + libc@0.2.186 + memchr@2.8.3 + num-traits@0.2.19 + once_cell@1.21.4 + oorandom@11.1.5 + page_size@0.6.0 + pin-project-lite@0.2.17 + plotters-backend@0.3.7 + plotters-svg@0.3.7 + plotters@0.3.7 + proc-macro2@1.0.107 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + quote@1.0.47 + r-efi@5.3.0 + rayon-core@1.13.0 + rayon@1.12.0 + regex-automata@0.4.16 + regex-syntax@0.8.11 + regex@1.13.1 + rustversion@1.0.23 + same-file@1.0.6 + serde@1.0.229 + serde_core@1.0.229 + serde_derive@1.0.229 + serde_json@1.0.150 + shlex@2.0.1 + slab@0.4.12 + syn@2.0.119 + syn@3.0.0 + target-lexicon@0.13.5 + tinytemplate@1.2.1 + unicode-ident@1.0.24 + version_check@0.9.5 + walkdir@2.5.0 + wasip2@1.0.4+wasi-0.2.12 + wasm-bindgen-macro-support@0.2.126 + wasm-bindgen-macro@0.2.126 + wasm-bindgen-shared@0.2.126 + wasm-bindgen@0.2.126 + web-sys@0.3.103 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.11 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-link@0.2.1 + windows-sys@0.61.2 + wit-bindgen@0.57.1 + zerocopy-derive@0.8.54 + zerocopy@0.8.54 + zmij@1.0.23 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Modern datetime library for Python" +HOMEPAGE=" + https://github.com/ariebovenberg/whenever/ + https://pypi.org/project/whenever/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +SLOT="0" +if [[ ${PV} != *_[ab]* ]]; then + KEYWORDS="~amd64" +fi +IUSE="+native-extensions" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + native-extensions? ( + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/typing-extensions-4.16.0[${PYTHON_USEDEP}] + dev-python/time-machine[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-order ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( benchmarks ) + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/whenever/_whenever.*.so" + +src_unpack() { + pypi_src_unpack + cargo_crate_unpack + cargo_gen_config +} + +src_configure() { + if ! use native-extensions; then + export WHENEVER_NO_BUILD_RUST_EXT=1 + fi +} + +python_test() { + rm -rf whenever || die + epytest +} |
