diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-23 07:05:04 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-23 07:05:04 +0000 |
| commit | 664b477af54d6be22fd21dee7f31f27c732e16e6 (patch) | |
| tree | ff6d7dd21e6c7ba4ea7cdc2789d283124d4393d2 /dev-python | |
| parent | f2c44f9ef3bdda5b175f43086ee117ac61c90666 (diff) | |
| download | baldeagleos-repo-664b477af54d6be22fd21dee7f31f27c732e16e6.tar.gz baldeagleos-repo-664b477af54d6be22fd21dee7f31f27c732e16e6.tar.xz baldeagleos-repo-664b477af54d6be22fd21dee7f31f27c732e16e6.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
25 files changed, 648 insertions, 10 deletions
diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest index 6e379a262f04..0de5620e5857 100644 --- a/dev-python/backrefs/Manifest +++ b/dev-python/backrefs/Manifest @@ -1 +1,2 @@ DIST backrefs-5.8.tar.gz 6773994 BLAKE2B e0d1c0c7acb379f2b151ed4e86ac6d574495ada1f96dd3173daafdbf15c769beb9b13a87b1aa23462b292b7df293dbf050a70c4f00a625f168065acce718ee39 SHA512 d0a704179678cf90c3dea080ccca4ab05338393af3ae6a56c108d7aa6ea8797ccea590177f137b552265b63d17528f93bbd1726819199bd3405d1b9dff99cd12 +DIST backrefs-5.9.tar.gz 5765857 BLAKE2B ab890ecafc57c5e5e26fe0dc199fd431dd2369f342113c660d8c915fa7708b775989aa0ef7078c77c172583b57f00733410f5ff6a4bf3c7aa451eec0ab6a99d7 SHA512 edd26abe9765284a633bb05ddba36869ad80bc57f37065aba05614398476a1b2bfe94fe51ca7de201905c8e7ed4e5582b19610a5b2d13023abfbfd8ebb477b2c diff --git a/dev-python/backrefs/backrefs-5.9.ebuild b/dev-python/backrefs/backrefs-5.9.ebuild new file mode 100644 index 000000000000..e58e4448622e --- /dev/null +++ b/dev-python/backrefs/backrefs-5.9.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Wrapper around re or regex that adds additional back references" +HOMEPAGE=" + https://github.com/facelessuser/backrefs/ + https://pypi.org/project/backrefs/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest index 33b60083df22..b08253efaf67 100644 --- a/dev-python/bracex/Manifest +++ b/dev-python/bracex/Manifest @@ -1 +1,2 @@ DIST bracex-2.5.post1.tar.gz 26641 BLAKE2B ac437977f37e81ce5e5a829e50d71629aa13c22328da2d57fdf7b668be28b87d3720f3e7cae05518fc8ad975de69b8cebbea528bb539d3200c8b1a70537a6434 SHA512 f1eca0a27ad3556513573088c9d0e2afe41fb08c45bdd6dc62828936d8aa532a5757e95eafa1f65bd6802b8f315e7d2d63e01af706a066c656570b06ea8d835f +DIST bracex-2.6.tar.gz 26642 BLAKE2B 283e73a59afb6f90a59c4fb11ba999a13284a2044817feed9af952564387e5caf7e2900bf4bc6ebcc5c9dfce803784d842d9ad0bda6abf8217f0891265a5f148 SHA512 2cd9967751a904d766a07817348727ae913c250b61696e75979c1873f5fe4ef0590a2b78998a784d847f3b6bbbd17b9d5d284b685f642df9f6504bf90233abc0 diff --git a/dev-python/bracex/bracex-2.6.ebuild b/dev-python/bracex/bracex-2.6.ebuild new file mode 100644 index 000000000000..4c49e9910c06 --- /dev/null +++ b/dev-python/bracex/bracex-2.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=hatchling + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-material + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-pymdownx-material-extras + dev-python/pyspelling +" + +inherit distutils-r1 docs pypi + +DESCRIPTION="Bash style brace expansion for Python" +HOMEPAGE=" + https://github.com/facelessuser/bracex/ + https://pypi.org/project/bracex/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/dulwich/Manifest b/dev-python/dulwich/Manifest index d860395fa4a4..a1fc3c74e526 100644 --- a/dev-python/dulwich/Manifest +++ b/dev-python/dulwich/Manifest @@ -1,21 +1,29 @@ DIST autocfg-1.4.0.crate 17712 BLAKE2B 7f7300439899be03d001dd32b7e797bc4b9a58103081b6f7353c4b5897813cedf870b3fb1fa25d320a75326b334b44d8287e8603de34fc560d0b567143915cc6 SHA512 3b5e7c30bc73e105e4bfcab584c24fc4016db41fac9c356c6649fd841051704bbe8848e09546eb50d7c1f18ea8ce1cb72fbc268a620d5c609b3472114b5be73c DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST dulwich-0.22.8.tar.gz 466542 BLAKE2B 2cec02b49e2ceb6a681e950454a2e84486a3ccc854c107fc0a051bbed99d77211760b3bf188bee065ac728b449e767f69148678412bcad49534d0d39b468c897 SHA512 bc38e79c9287357afc64324b0c52ff5b1db39138bf4f29062bb3a8b351f7000782c1c50f5284f6a6e4e2ff39cb3b811f7ee7ce4d2fd2302dd7d89c07faa19754 +DIST dulwich-0.23.0.tar.gz 575116 BLAKE2B 35d5945f32a2e8b53fe350820082cbe1c55241df7393384a3388d73a8589607926eaac3ed27133113227ae2b480dbed55c99ec8df04dbfcea3692e53a62bc0ec SHA512 d24ea390ee6aba420aaa34e60bd53bca864c1e5ca5a44f9ccb1154e5fd2de3cd1e1a90cd50ee0331b726cb4f1c9267e849058a00de4ed16ade0f6a5054b7c081 DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd4013b0b843d24d2fb81f6566528bfd1753c649646f06cb7e59262bd6ec3ed79d4e6f01d740cf0682355f2e5a SHA512 095fb56a3d87946c42a63065a8b276c2d4b9b835800014b400bb987593bf56701bad9f55d947f090740fdb7641a4f3c87fe8bfa5724709e95254d1e8e2e3616f DIST libc-0.2.170.crate 760076 BLAKE2B 5deb440e04b0614cf5ec5a379d66b0f05f6f3eec1268742eb9052081408ec5da5f5185e63de59f3751506541321c618fd623d7b46b1892d360b86b6e250a4c4c SHA512 b716f1a76b208c5b84692fa3084c14dbfdb4a92b86c0e01215de04dc34c6e581e5f1c4561994c65a828838d5fa232efe93c3935faf5f83c8af127a5996f1f9d3 DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2 +DIST memchr-2.7.5.crate 97603 BLAKE2B ee41ef722d90265064db3ffe22d52eff8f7627ac1ae9b0bad6ca9fa06c1027dca8d67e594e03b03c944dbf85930d2dbf030c5aaed369020ca1a1ba00f153d91a SHA512 2606ee16a7dc02db95dac17cebd2cac9deb2e23d7ea62972cdb19145c06eaf75631347a49c4e6ceeff89fb6e90e992f9bca0a9c955eb5130f89ba2bd865936e1 DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa DIST once_cell-1.20.3.crate 33456 BLAKE2B b16081751a1b6649d0235fe9cef3fd0a9023d4f6980521933e4a411282458050ca27c1a8aa01d5237d424fa279219b5713da21d8900eccc3100d19c37d24b7a2 SHA512 3ede903f232d6ced73aa74c6b2e2ec306012517eac684db253913df4656515d087d1aff9f437a58fdeecb77cedf8a5960d6772d72bf1f1f19f1ce3fe54bc72dd DIST portable-atomic-1.11.0.crate 181258 BLAKE2B 627bd7c306f6c4d7991abd9f995b7e0ce110a7ace738690c287a43ce3b979691214e525876f8ace0c2f0d10d781fba95c7d3bf29aea28e09b05b06f4764db03f SHA512 71774f8308963c5399095c6b755befdf9ff3d28f9529b4bae1fe0f2aba733339a267aa6f0ff854e59fa5044a9b0c2c86bad3bc4fcaa951724c839b0d6a22041e DIST proc-macro2-1.0.93.crate 52388 BLAKE2B dae4493215b88f68cc485bc0ae80f0a48ebad68e0260839b1c367832d1ab778197bf040647b3fe36cfe9d5f7a496e05cd71b5914f531eb129c2d458d5f0be896 SHA512 1ae650e390e4f1b18d05f42d2ffcd025cabf72568a326cd85496c722600108b0aa0ab0161b39fcc931b8b302427f678650e703f4db57aa1a60f1751db881dc6c DIST pyo3-0.23.5.crate 1088533 BLAKE2B 2efae0a42c1d33e25c5871e3f61a3cea9890d278a20e2777307752b544ab3a634059bba896a1df0df4eadd0ae3c2e63b6d637aecd6699b31fac4107e3a43a387 SHA512 efd3a86dd70c199304463c0ae18dbdf4d9176d1af13b664bdd05a1e218cffda3f29f06d868d0d852d51c3e85b7e07c39617206b3feddc913b3b622f3fcf59d5f +DIST pyo3-0.25.1.crate 1121993 BLAKE2B 79a982131fc4c4f9292e97bc8d938d236ee9cefb99bb90646a84703660ad506aee8ae1f1e626d985aa62c695722510f2697544581fa5c3a01f193be2bc2779fe SHA512 9c842c89d274dba0c8a3085a8524736245d65f07e5c05bc13fc89167cfdeb1a4ff2b4a9da9467eee918e45d01777473f39bda11efe0052859969d4fdeac1adc6 DIST pyo3-build-config-0.23.5.crate 33885 BLAKE2B 14e3897186abb772bcde147a9ebf2a70f5cbd634cb0240e1dbba71079acd2f9cd61fd263a5d32bc583e188ec84b6db8b93f018ab954ac9da66f423183ad5c176 SHA512 72aac032e3026554761eb81dc9c57591abc4d0c329c46918da13a8cc93c0532eba2fe3d971699a50890c66d8853b93a67840b0e8f1c15747d184b873dec2894a +DIST pyo3-build-config-0.25.1.crate 34126 BLAKE2B ca905f1f74e26f38ab63a4f5754055c9dff01f9396f81ece09b7ce067181b657e6746db3b373f7177805f6564d0df0db064b5fcab8160d5edc357e64dd32d0fc SHA512 d6fe4a46111188203a839c8c73b9835f98cd6bc5982868cbcc9f502c5a09b35c3e61117b50ef8372470051b5bc4959731907748ffca89f42f300a3081b7b0467 DIST pyo3-ffi-0.23.5.crate 74867 BLAKE2B 5c80f7ac77ee516a891c1cb367e27fa396e55a7504dc8f92312219a90860baba3861ca2e83a1410839b99b6b3beb4c068703b841e18ea1854f70d04fef7404bd SHA512 37c25b21acc3718eab842c04489b0c16c04d33a30fe7f3f58cd80943048203375d8788ce84153ba3720df695fc95bf9f7bccacfa02b0e669a5ddbfc44d65f86c +DIST pyo3-ffi-0.25.1.crate 78058 BLAKE2B 351fe00c99008a34a003e50cd4f6d25e6dae5a446928358cd5146ac9924254614724a015ae77d8aade7bcb497cf5e5b5018021ff5d89a8efa6412f5ccb48744e SHA512 35ab63888f49df13fab8b96b87f6c705186173923fd5898abe8730675156426f020ee517019926ba5e06cdb4fc5f91a75f648ce9eba892e9eaf3ee17864a8ec7 DIST pyo3-macros-0.23.5.crate 8856 BLAKE2B 56e7dea9cc630e21f9e8aa43319db27f3d287baad4035bf8d921b2c8e737142e5a89decf6a04bcc095f97e035cfe4a5edd7091bba79dd68bc110b7420c29477b SHA512 bf9c12b02597cf6f119e92fe827016f393d13cfa21376811ab9bf8f49cbfd6447afe9dcbef564ad2b5b72db5338520c37c77429db8ee1ccb74de3944fc9fce7f +DIST pyo3-macros-0.25.1.crate 8886 BLAKE2B aad9c975c90ff93429be24287d76edd945578b546a927f54d82b6d4bf184f1f8d426ac112307205346e85999a1e89b097f68310de647f27474790bff01c3517a SHA512 08387f3d1ddb0cc253eed376e6e8ebe5722b31664ec742f16c0454b52f1fbcadbe7720ae9e2d3870fe0ca2690916cf6e3e032f5a3e65d767322c068432f6d470 DIST pyo3-macros-backend-0.23.5.crate 70938 BLAKE2B 20d5b00edf806ff19de3e3a03d10a23a29b16d544faf2bb5781032e51c3e07cd7f1a979e00b9f1abca36bc7cf1546b702ee83f85d021d74ac819b8b13bf8d140 SHA512 5e9a971d98a7b70424bf93b1f7fb326564010562dd376789be2fa6b13b89c3d34f760eb61ed49f0b013bbdfff2658d874d24a8a0b65d8f82d10d8f34b8ef5b53 +DIST pyo3-macros-backend-0.25.1.crate 76006 BLAKE2B 02225f8591585a6cbea7d6e53503bfbac395253cb0f45c588a2eb38908bf241034412832f2fcf4e9301318b5b9b82a888755d970f544f402a4f0cf9e4a6eefe9 SHA512 4c9006424630ab9bcd5dcdd45fe927a95a40a61757f0950396eb9f0c3f1794772092a19773c102220489cc621ad65d81dbbe459a1be472f6cd3211c50ef33cc2 DIST quote-1.0.38.crate 31252 BLAKE2B a3836efbe5c21dec70c684002b47b8fc7cef643c82ee903b537a48bc0707a28106c4b33d98e60ff81e04c7520f7404b1dc4d49446e8d91dded517e476c36e1c2 SHA512 530c47c5e6372b508bf5b2b88a138408a7afa5ef52c47280ed20eccf39f8e97dfc1e0a18c1bd5472efcdc49a7a1e69566333a0a1b4c0b4f0e11e6a7a85bfe8af DIST syn-2.0.98.crate 297807 BLAKE2B b17e2bb4f151fba26debb722bda8e8677dcc4f57f0e88bec214f8b06e9b15c48731ca3f63d1453a44f34845c9895b3519008ce6cfb69746486324d7a8e0e0c20 SHA512 792dc70249d55face151b5481b0ebabbd3d290de78cff8b5dad8bee08e5a932ee22e54ca5fc5980e0b218197d19822c3672e02eb92ca74c8ac1328081d4d2cbf DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 +DIST target-lexicon-0.13.2.crate 27923 BLAKE2B 0761f0ffdc23b9c9df86b384d59611c7b8b5e29ff068f03367ad2fe84cfb6d11e1af149b9338236978e9566fedc51387db9f239d2a602db41045ac3db907faec SHA512 d25e3cc3d679cb6b6f24c03e0c24db9d6ca31b8ed42ac9531bd7637557fbba225a6c8ac4f68a8eaf3569195814d599e668a968afbc73b940a77cbc27552cc90a DIST unicode-ident-1.0.17.crate 47704 BLAKE2B cafb0d9dbeabd44d45c73dfec9855d9cc8e41482ff75b7b1f4fc4423e2eeb2a5a04f7e3ce0f721fda6acf1e02f2bae77c6bb346b48bc26ab1972255b080c190d SHA512 1eaf422163126796f3181f8a3cee319ce0492e75c0c293def441872b39eba8282a95e058d0fd5dd39a8d6f3304d4ae13420a0eed901f71c157d5da99e08e1437 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 diff --git a/dev-python/dulwich/dulwich-0.23.0.ebuild b/dev-python/dulwich/dulwich-0.23.0.ebuild new file mode 100644 index 000000000000..4d6b0efa584c --- /dev/null +++ b/dev-python/dulwich/dulwich-0.23.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=1 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + autocfg@1.4.0 + heck@0.5.0 + indoc@2.0.5 + libc@0.2.170 + memchr@2.7.5 + memoffset@0.9.1 + once_cell@1.20.3 + portable-atomic@1.11.0 + proc-macro2@1.0.93 + pyo3-build-config@0.25.1 + pyo3-ffi@0.25.1 + pyo3-macros-backend@0.25.1 + pyo3-macros@0.25.1 + pyo3@0.25.1 + quote@1.0.38 + syn@2.0.98 + target-lexicon@0.13.2 + unicode-ident@1.0.17 + unindent@0.2.3 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Pure-Python implementation of the Git file formats and protocols" +HOMEPAGE=" + https://github.com/jelmer/dulwich/ + https://pypi.org/project/dulwich/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="GPL-2+ Apache-2.0" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +LICENSE+=" )" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples +native-extensions test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/urllib3-1.25[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-python/setuptools-rust[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + app-crypt/gpgme[python,${PYTHON_USEDEP}] + dev-python/fastimport[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/dulwich/_.*.so" + +PATCHES=( + # https://github.com/jelmer/dulwich/pull/1607 + "${FILESDIR}/${P}-assert.patch" +) + +pkg_setup() { + # avoid rust_pkg_setup which will die when there's no Rust found + if use native-extensions ; then + rust_pkg_setup # implicitly inherited through cargo + fi +} + +src_unpack() { + cargo_src_unpack +} + +python_compile() { + unset PURE + # TODO: enable Rust extensions + if ! use native-extensions; then + local -x PURE=1 + fi + + distutils-r1_python_compile +} + +python_test() { + # remove interference from the tests that do stuff like user.name + unset GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE + unset GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE + unset EMAIL + # Do not use make check which rebuilds the extension and uses -Werror, + # causing unexpected failures. + "${EPYTHON}" -m unittest -v tests.test_suite || + die "tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + distutils-r1_python_install_all +} diff --git a/dev-python/dulwich/files/dulwich-0.23.0-assert.patch b/dev-python/dulwich/files/dulwich-0.23.0-assert.patch new file mode 100644 index 000000000000..f513ce2ebb55 --- /dev/null +++ b/dev-python/dulwich/files/dulwich-0.23.0-assert.patch @@ -0,0 +1,31 @@ +From 1d38f872e0aee83713b94b96a7c810719243ac38 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= <jelmer@jelmer.uk> +Date: Sun, 22 Jun 2025 23:15:16 +0100 +Subject: [PATCH] fix: Convert assertion to ApplyDeltaError in apply_delta + function + +apply_delta was raising AssertionError instead of ApplyDeltaError in the +pure Python implementation when the Rust extension was not available. + +Fixes #1606 +--- + NEWS | 6 ++++++ + dulwich/pack.py | 5 ++++- + 2 files changed, 10 insertions(+), 1 deletion(-) + +diff --git a/dulwich/pack.py b/dulwich/pack.py +index a12830a59..2f1c35e07 100644 +--- a/dulwich/pack.py ++++ b/dulwich/pack.py +@@ -2516,7 +2516,10 @@ def get_delta_header_size(delta, index): + + src_size, index = get_delta_header_size(delta, index) + dest_size, index = get_delta_header_size(delta, index) +- assert src_size == len(src_buf), f"{src_size} vs {len(src_buf)}" ++ if src_size != len(src_buf): ++ raise ApplyDeltaError( ++ f"Unexpected source buffer size: {src_size} vs {len(src_buf)}" ++ ) + while index < delta_length: + cmd = ord(delta[index : index + 1]) + index += 1 diff --git a/dev-python/pydantic-settings/Manifest b/dev-python/pydantic-settings/Manifest index df0dd7a0f0c6..8b195e2a9d56 100644 --- a/dev-python/pydantic-settings/Manifest +++ b/dev-python/pydantic-settings/Manifest @@ -1,2 +1,2 @@ -DIST pydantic_settings-2.8.1.tar.gz 83550 BLAKE2B 76d112cb5fefddc4337ddf1708c66b4ae1e84b2574f681efe8b836302a5f8cff601d36bb395ac3080635529726eb1fe91648003d2ed42333fba1189b9d94bf18 SHA512 04ebb413ba42acf987440c71de21a65ac22011a866e3e27484c8dab6f0e71ec99402e33ca5f4002a03a7b3cdd369a759ce7f0706cb33e9adea37bd203f9867a6 +DIST pydantic_settings-2.10.0.tar.gz 172625 BLAKE2B 175b68b3af0c29c707ad8bfbe2ffe85b2093755873624951eb6998c92f053a2f015676336f784eaf8d22cbd33e3d3a093545605ff7b79f586402b9529b1fb5bf SHA512 7841b4acae13b35a287079b074cc62b3100a9bd46a53d1d27d5a5a19a042c49ec136c6b294328174fd91bfb464a3c9ac5c1d2d571db3d737cc18f2860cb1b5ca DIST pydantic_settings-2.9.1.tar.gz 163234 BLAKE2B da37c3b128272bef7d7f8cd6e8545158e31a200420afd290b27d84083be50a501b76a4116904888c4c8b30715cb7a0ca7705267d29429ab9a99fc9072667a188 SHA512 85a039edcce86c5273ea224990d1542a9171f38a5137bca3161bba774a5a407b8ae409d8b3e5de780e98ea8e6a57a4b97ae4941453cd0a48e208778c5e56cce3 diff --git a/dev-python/pydantic-settings/metadata.xml b/dev-python/pydantic-settings/metadata.xml index e71fc2cd2280..919fb45570bd 100644 --- a/dev-python/pydantic-settings/metadata.xml +++ b/dev-python/pydantic-settings/metadata.xml @@ -21,6 +21,7 @@ <doc>https://docs.pydantic.dev/dev/concepts/pydantic_settings/</doc> </upstream> <use> + <flag name="aws">Enable Amazon AWS Secrets Manager support</flag> <flag name="yaml">Enable YAML support</flag> </use> <origin>gentoo-guru-overlay</origin> diff --git a/dev-python/pydantic-settings/pydantic-settings-2.8.1.ebuild b/dev-python/pydantic-settings/pydantic-settings-2.10.0.ebuild index 8e4caab17369..198425b5f94a 100644 --- a/dev-python/pydantic-settings/pydantic-settings-2.8.1.ebuild +++ b/dev-python/pydantic-settings/pydantic-settings-2.10.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi @@ -17,19 +17,23 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="aws yaml" RDEPEND=" >=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}] dev-python/pydantic-core[${PYTHON_USEDEP}] >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.0[${PYTHON_USEDEP}] + aws? ( dev-python/boto3[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) " BDEPEND=" test? ( dev-python/annotated-types[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] ) " @@ -37,8 +41,5 @@ EPYTEST_IGNORE=( # Dependencies not packaged: pytest-examples tests/test_docs.py ) -EPYTEST_DESELECT=( - tests/test_source_cli.py::test_cli_metavar_format_type_alias_312 -) distutils_enable_tests pytest diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index cdfff1cb198b..1d7e12034a16 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,3 +1,4 @@ DIST pypdf-5.5.0.gh.tar.gz 8057519 BLAKE2B 4088f1332e7f34d796db899e500729ccabc427e4bbd3fb1d7dd75d3883c546cc2b5facb95e6e54bd9f62367e1fc2a0e208d97bf6e3abc3f3ff2d64a5fe8435b0 SHA512 7e0592395ea673429fadf8308f26209408e1a4931d2544a4497e02e2b222635eb97dd11f0696021e776d0c481d0febd2f9186e0812f70f248e657d4aa1bfc0e7 DIST pypdf-5.6.0.gh.tar.gz 8060171 BLAKE2B 96bc7df04d5bc0de1c40e09e40e2e672fedf44ad46a641d4646f7b0d134bef468dac85ac4de3e69f31208f80f74b878fd39140602772c8e6bf3899ca528f4822 SHA512 e82618b67e0f06d12305a66dfa03dcee438e8a231f2ac2a2d06dbb1f6b0b046e033febbf98688f47f770a29a03768989cd0b506ad14e7c93ec25bc4e542b49d0 +DIST pypdf-5.6.1.gh.tar.gz 8061244 BLAKE2B ce7aaf9e42fe9be23cd34d293cd13aeb26a34885f9934177faad52ab9e0c98065e9c77f95175429ae05a1e7b46d4b4c2bcede209e944ba671e3f097f30b51bb0 SHA512 0abfe61c240c66ba20c1f1714d02aa2d0f1d235c2ba878ac3641a585093af82ebbb925ce7df73d4649d249ba3ef48ace64b480083f669c161319bf24c1030a6a DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-5.6.1.ebuild b/dev-python/pypdf/pypdf-5.6.1.ebuild new file mode 100644 index 000000000000..7f7c606f0d17 --- /dev/null +++ b/dev-python/pypdf/pypdf-5.6.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pysnooper/Manifest b/dev-python/pysnooper/Manifest index fd0ca647c7a6..74610cf2e43f 100644 --- a/dev-python/pysnooper/Manifest +++ b/dev-python/pysnooper/Manifest @@ -1,2 +1,2 @@ -DIST PySnooper-1.2.0.tar.gz 46224 BLAKE2B e40b779bf446b79513e7a6a11e95d476571a077ca0204a1f54cff71ecf9ff85f2dd8db2d0eb6ca9d104467ae64f0cea54a0f772da41d29606847f559117c8527 SHA512 0bcd5f65e102bf048304ce8a6d25827bff6602c664836a1f2a69bdf7a036d86df0179097a227c6a6eaab41ce66355b1a3b2c981e2593cf4dcee1953154de9655 DIST PySnooper-1.2.1.tar.gz 46212 BLAKE2B d646098fce8f846151772788693d1b577a0be5fcfcece788ed453ddd11b44fd4550dffff545fe3c6eea40b96ac51d9f97adb168f88051f7bae74eaa4cf76335a SHA512 a342e54b0cecc0630e742d428da6f6a499b5ef130e62b3df4a2ca6f96dc15c36c0483dfea371fbce2602a19b30d0794f16ccb70a2a767d1bc9d668c92fc466d2 +DIST pysnooper-1.2.3.tar.gz 46283 BLAKE2B 6ab42725981095de596900fd1d91e4d63c22d293d901ea55a57936e058c15d3d316ed06edf16c361e33c0c65259dea390790b4be1300639abdf28ce61a3f2eca SHA512 b6764f8105c2e992a3f87b6fb0df613017937e7e417493f73dbb9eca350fe0a93fd34e1e6d0bf84bfc618a42144b814c079da43df6ce6577f3aaaace4529668b diff --git a/dev-python/pysnooper/pysnooper-1.2.0.ebuild b/dev-python/pysnooper/pysnooper-1.2.3.ebuild index a849448d4cd8..3324dc79a10d 100644 --- a/dev-python/pysnooper/pysnooper-1.2.0.ebuild +++ b/dev-python/pysnooper/pysnooper-1.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,6 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) DISTUTILS_USE_PEP517=setuptools PYPI_PN="PySnooper" -PYPI_NO_NORMALIZE=1 inherit distutils-r1 pypi DESCRIPTION="Never use print for debugging again" diff --git a/dev-python/retrying/Manifest b/dev-python/retrying/Manifest index c8e6cea6481e..0c7954968126 100644 --- a/dev-python/retrying/Manifest +++ b/dev-python/retrying/Manifest @@ -1 +1,2 @@ DIST retrying-1.3.4.gh.tar.gz 11789 BLAKE2B 8a75a007bfc8333592aa1aed5b7090a44264a3ad46b71d8a494a0033ce94059751e8276c383c7567da8487230ab2877368bed4b15dca6c45cff2d709eebfd6b4 SHA512 80bd19eefdbd8277ec0ba656d1b1d3589b2e3492cbb902c963376b3df475abbe4725c9902426a1784e4dddbd57ea8bc51ea5925a0a72a6f5c11333893314f2c5 +DIST retrying-1.3.5.gh.tar.gz 12165 BLAKE2B 2c90fefc5397b3daf255189193df97b33c497b112ac13b24872a316aae4b459f93c750ef13c1d07ac0980755e0dcdcb9530c6c4947632d3198bf95a6ecaffbc8 SHA512 87ce6a08861cff34022ed39525a84aab73eb62415aab1334ae8433dd1c3e65b13402eeffc8001d5249abfa9b864c658f00af95ff88db3b30f16e8ec50245a543 diff --git a/dev-python/retrying/retrying-1.3.5.ebuild b/dev-python/retrying/retrying-1.3.5.ebuild new file mode 100644 index 000000000000..16c7cc8f6ada --- /dev/null +++ b/dev-python/retrying/retrying-1.3.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE=" + https://github.com/groodt/retrying/ + https://pypi.org/project/retrying/ +" +SRC_URI=" + https://github.com/groodt/retrying/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/six-1.7.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index 8ea59ebdfc0f..e3cbd85ab355 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -1,6 +1,8 @@ DIST scipy-1.15.2.tar.gz 59417316 BLAKE2B 7ae748a58b6a7fb2674dc6627c3d6f4f28694283bf19ca9973fcf5796ccb0e2e35bb7cd8fbfbefa21cb832b771e563f478bc09ded61d989ea47625e7ac35e1bd SHA512 e772aa040622ef457478e08eb41471af33784cafc2022f091a30563f6abed067cdbae424a5ae86f9dab8c1adc67276794b67cb7cb7c7963ca55a38529df63834 DIST scipy-1.15.3.tar.gz 59419214 BLAKE2B 526e6182e4991e52fea69452b7894b203d31089ee1f8640ef1bff8f1fa57c31a7179a1ab82325689f3b0a7b907c34adb64b80e640780c99e166f6999adbb1524 SHA512 009de94a64c9361b261788ef3577d636a20ca23ff5c8f12f5e19a4ba4d6177ef7ade0cf1a5ee740bd1c6d740193d70b314d1abd83ab65fcb5d5cf2d2ba06bfb1 +DIST scipy-1.16.0.tar.gz 30581216 BLAKE2B faab7755584acfb6f2aa6a9e36a1fef840212d9b2478002313b94fd3762317be3d705e09d10960146bfbed5274cab80bd2170ce5bc3368b5ab860e8b5fe2f346 SHA512 6a88cc1b2f3e4cc7c4d867238965521e41b0394614a5ffcc7179b379dad20c0889a7ce4195ef676e78d7aa8d6f83f88f1380da8b225b59c4b6b87a9e6579efb7 DIST scipy-1.16.0rc1.tar.gz 30582387 BLAKE2B cc356de35aa7a821c3e363997ab014765df800ab8229c34b04d42088221391199b0726ff3d6cc09b5698aa1970d451a4f79993bb684f2f62d3c38a2a28e34149 SHA512 31c9fe5da1de08ebd7773040c2ac6de5d1d62daf4e52d95b78eacba93e0fcfcc91e97b672796d3084d2b48dc6718ba7e8b08daa91407b88449df727db349bf3f DIST scipy-1.16.0rc2.tar.gz 30582415 BLAKE2B ae9e6884367a1c82fa499eadc84e58589787eb1b933a809644ec9de73f22319eed0ad60557471f2897e09b16ecb12ee240ae01192a3337dda0149997f928bf7a SHA512 d1f55424d76cc84cfaf8f97960cb85fe943345003eb85cdb3a0db65bc3cceffd046f3cc9208712423cea2aeafd48985b3098044c5c34a357b713b4b47300c153 DIST scipy-html-1.15.2.zip 68568078 BLAKE2B 270f1d89bbcb707616f7af0e1bd90909c1f33d647cf55e42dbf27128ecd90f619f0d579d8897eb04851b6327df1682236c5fd9c4c948b1fd99b083145681a202 SHA512 48e09d3678547775c6c86b82cdb4ef5e7eed7722c6ba8d53170384c3a9380b2bb29fc467b5ee66ae2ec1a621930c8bf20adfc8db3a75546a6ba8e9906df03426 DIST scipy-html-1.15.3.zip 68590525 BLAKE2B f6473e273843e3eb2aa791be1b885a11ac2b77accdf00ea2d7bc78dc59228dede66259ff4d2ac616ceeb3152a80a8036226622240d963a8bce51dc0143b6aea4 SHA512 df59c2a53dc9c8a64631a2c9906762de046b9beefd759e0810afdcbb00e4da8800e83902d49fa81d791bccb0ed190e00f0ea4948b855e97ad9b5d7a0984d4eec +DIST scipy-html-1.16.0.zip 71540070 BLAKE2B eca4f76e6e3f4747e8e6a1c432c7b9fd52638ae37e00f50733b3eb7bc9f165f507478a8331b3420f158a5f316ba72c0925bf8933b9392638f1d346871fb5dd0a SHA512 839cf7511d7dce320da2966c45ff62056f93b35687e6fd42f2b0725dd4389f50a8ce69d125043de2632861b0bf5187af591558f9019e3543825255edd2372c12 diff --git a/dev-python/scipy/scipy-1.16.0.ebuild b/dev-python/scipy/scipy-1.16.0.ebuild new file mode 100644 index 000000000000..ddcf100b1a80 --- /dev/null +++ b/dev-python/scipy/scipy-1.16.0.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 + +DESCRIPTION="Scientific algorithms library for Python" +HOMEPAGE=" + https://scipy.org/ + https://github.com/scipy/scipy/ + https://pypi.org/project/scipy/ +" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + # Need submodules, so git for now. + EGIT_REPO_URI="https://github.com/scipy/scipy" + EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" + EGIT_SUBMODULES=( '*' ) +else + inherit pypi + + # Upstream is often behind with doc updates + DOC_PV=${PV} + + SRC_URI+=" + doc? ( + https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip + )" + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +LICENSE="BSD LGPL-2" +SLOT="0" +IUSE="doc +fortran test-rust" + +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# +# umfpack is technically optional but it's preferred to have it available. +DEPEND=" + dev-libs/boost:= + >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] + ~media-libs/qhull-2020.2:= + sci-libs/arpack:= + sci-libs/umfpack + virtual/cblas + >=virtual/lapack-3.8 +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.13.2[${PYTHON_USEDEP}] + >=dev-build/meson-1.1.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) + test? ( + >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + # note: recheck on version bumps, upstream is planning + # to allow more + '-Duse-system-libraries=boost.math,qhull' + ) + + # https://bugs.gentoo.org/932721 + has_version '>=dev-python/numpy-2.0.0' && filter-lto +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + + local EPYTEST_DESELECT=( + # Network + scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all + scipy/datasets/tests/test_data.py::TestDatasets::test_ascent + scipy/datasets/tests/test_data.py::TestDatasets::test_face + scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # Awfully slow tests + scipy/interpolate/tests/test_bsplines.py::TestBatch::test_batch + scipy/linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact + scipy/sparse/linalg/_eigen/tests/test_svds.py::test_small_sigma_sparse + + # TODO: minor precision errors + 'scipy/linalg/tests/test_batch.py::TestBatch::test_solve[float32-bdim2]' + 'scipy/linalg/tests/test_batch.py::TestBatch::test_lu_solve[float32-bdim2]' + + # Crashes, probably too big + 'scipy/interpolate/tests/test_fitpack2.py::TestRectBivariateSpline::test_spline_large_2d_maxit' + ) + local EPYTEST_IGNORE=() + + if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then + EPYTEST_IGNORE+=( + scipy/datasets/tests/test_data.py + ) + fi + + case ${EPYTHON} in + pypy3*) + EPYTEST_DESELECT+=( + # TODO + scipy/special/tests/test_data.py::test_boost + scipy/_lib/tests/test_ccallback.py::test_callbacks + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # avoid other stuff being multithreaded when using xdist + local -x PYTHON_CPU_COUNT=1 + epytest scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/sphinx-last-updated-by-git/Manifest b/dev-python/sphinx-last-updated-by-git/Manifest new file mode 100644 index 000000000000..aa507c0467f7 --- /dev/null +++ b/dev-python/sphinx-last-updated-by-git/Manifest @@ -0,0 +1 @@ +DIST sphinx_last_updated_by_git-0.3.8.tar.gz 10785 BLAKE2B 3fcbd3d4e598a66ccc5db5682fea6e23395a567bf732e3638b96fd38380c39dd63f868e54bad69421e9931a40c28705c09e6ae9fe7f3da554a70b962aa9d5d32 SHA512 1632c835296766789fc7d31525dc88164243df27fac068e68c3ba50b9ce5391e80d6d5b33c2c79f075715bd6609b8621e8cb00889b985143c2e79919ea587fb7 diff --git a/dev-python/sphinx-last-updated-by-git/metadata.xml b/dev-python/sphinx-last-updated-by-git/metadata.xml new file mode 100644 index 000000000000..8252964e7b34 --- /dev/null +++ b/dev-python/sphinx-last-updated-by-git/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild b/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild new file mode 100644 index 000000000000..cdae6b1a9af2 --- /dev/null +++ b/dev-python/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION='Get the "last updated" time for each Sphinx page from Git' +HOMEPAGE=" + https://pypi.org/project/sphinx-last-updated-by-git/ + https://github.com/mgeier/sphinx-last-updated-by-git/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/babel[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] +" + +# Tests require to clone a Git repo. While this can be worked around by using +# git-bundle, tests still fail because Sphinx makes some warnings fatal. +distutils_enable_tests import-check diff --git a/dev-python/sphinx-sitemap/Manifest b/dev-python/sphinx-sitemap/Manifest index 3564f22d1399..7fce379895f6 100644 --- a/dev-python/sphinx-sitemap/Manifest +++ b/dev-python/sphinx-sitemap/Manifest @@ -1 +1,2 @@ DIST sphinx-sitemap-2.6.0.gh.tar.gz 27157 BLAKE2B fe9b8b3df5d5ca84a13e7c99adca9e1eda3b2c89135293ebb07f2575c98fdec517f45eaec8429404b7d9b08d43b0d24cd1113a48ec3e12396dce6b3e0979287b SHA512 cfe5f575c77790cf7c5b6a5765d03e39059bce62b3ec0d908a9d2ec2071c3f1d104ee0ab8b1ca77343f327b8cd7c31d4cb5588c92d5ade9ba6f6e44b0fc35c4c +DIST sphinx-sitemap-2.7.1.gh.tar.gz 27616 BLAKE2B 8b84f17d49dee79a7a9712b0a292f5887c2dc71c87c512787c9becbb77882e3bf8f06a1c773a4714d35ed5377b72f45226e9f16541dc91b55c26318880627ff2 SHA512 9c2777111e11bf340079183a022fd3547b9f71c5ba4a69777b1eb0a3d29c436b818ce745a8a5e3afcdfa9c0340a79611e192e23fcc3ec26d01106f148ab0d92a diff --git a/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.1.ebuild b/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.1.ebuild new file mode 100644 index 000000000000..ff6168b32409 --- /dev/null +++ b/dev-python/sphinx-sitemap/sphinx-sitemap-2.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Sitemap generator for Sphinx" +HOMEPAGE=" + https://pypi.org/project/sphinx-sitemap/ + https://github.com/jdillard/sphinx-sitemap +" +SRC_URI="https://github.com/jdillard/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="git" + +RDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-last-updated-by-git[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/gitpython[${PYTHON_USEDEP}] ) +" + +DOCS=( {CHANGELOG,README}.rst ) + +distutils_enable_tests pytest + +src_prepare() { + #sed "s:\(GIT_TAG_OUTPUT =\) .*:\1 b'v${PV}':" -i docs/source/conf.py + distutils-r1_src_prepare +} + +#distutils_enable_sphinx docs/source \ + #dev-python/furo \ + #dev-python/sphinxemoji \ + #dev-python/sphinxext-opengraph \ + #dev-python/sphinx-contributors diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index 7b0b4f4d2ca8..6fdf58c53cb2 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1 +1,2 @@ DIST wcmatch-10.0.gh.tar.gz 118184 BLAKE2B ffc98749b111f472244a35654c8d57144e0f242f33b04e672a3b7d810c5c6c1b2c36172c09437e159c30812916fe15c7690fc3c2a1de14035f04ed801e898dc2 SHA512 db8fcfc7b0bef0256530a86f25491309b0d67f51ec9f60d9e6d2e3f49ae5e94ce432981aa2fb6b1f2086758a4eaa4a53daf9b2f765bd75480230f6064f181e75 +DIST wcmatch-10.1.gh.tar.gz 120743 BLAKE2B 4cb96a5305f55527e98ec695b1dc66ac89b2609768e7abe1719d4127f14f60ca79f7c9fd8db5bf18e04c411b7db7733525303336d14cc2056851aa9538e46573 SHA512 5f0588752142d4a0bf0230bb19342db653fbd740413a841ac4edb5b5bf3b63733a901949396017ead9788d100a57ca292a69b61463707a47977020b4cdcd768b diff --git a/dev-python/wcmatch/wcmatch-10.1.ebuild b/dev-python/wcmatch/wcmatch-10.1.ebuild new file mode 100644 index 000000000000..70e688627223 --- /dev/null +++ b/dev-python/wcmatch/wcmatch-10.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=hatchling + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + >=dev-python/mkdocs-pymdownx-material-extras-2.0 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/ +" +SRC_URI=" + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} |
