diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-29 19:10:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-29 19:10:41 +0000 |
| commit | 6dcfb3bf1cc4132a20808b6b81349eb22022fa18 (patch) | |
| tree | d574e12442295b122e31bec97f5f001a50c2fbc1 /dev-python | |
| parent | 9c1eff53f0e5f0011c6ad241079a3fa3bf2524e9 (diff) | |
| download | baldeagleos-repo-6dcfb3bf1cc4132a20808b6b81349eb22022fa18.tar.gz baldeagleos-repo-6dcfb3bf1cc4132a20808b6b81349eb22022fa18.tar.xz baldeagleos-repo-6dcfb3bf1cc4132a20808b6b81349eb22022fa18.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
67 files changed, 946 insertions, 827 deletions
diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest index b6183d41f06b..22779cbf855f 100644 --- a/dev-python/anyio/Manifest +++ b/dev-python/anyio/Manifest @@ -1,2 +1,3 @@ -DIST anyio-4.10.0.tar.gz 213252 BLAKE2B 6dc6c0c2290a78049854a74333e28d60ac65874a9cb3a15600da6fa81152b47741f7a5c2736eaef8d279b74ea7ccadc5847d50f5af8cf25f6d40ce0efdd8c4d3 SHA512 c696ce5216ff3b93114a53a938461c63df402ea099528e876d31af71c46242ed2b488819accb073c1e312dcad023b5836e5d462992ea01bf7d87b0b9ef3186ed DIST anyio-4.11.0.tar.gz 219094 BLAKE2B fe51a6c7ac7415f26a20ba058caeb5600afb84fbf68b379308fa876b7aa39112d71cd06c7cbb49a0a91d585cd6d46322b6af28dcab9870c4be74d9f5809d7658 SHA512 8286a9dc7e1299dc758146fcbbd83a8be717c2e3a12fd738c05ede84e001131091221425dbd5c966027288c41f66b87a7241c2327353d407bc4f13f5e1d96c90 +DIST anyio-4.12.0.tar.gz 228266 BLAKE2B 194065fba51f1367b9b7ffce31c847d283482304f208a6f85a4ff5a59d84aa2961b2daea3f3012dffb232cfaa63c15e92b1ba7e1a2d8cc2b2682f7f5e799dd85 SHA512 5d87699886141e1226f9f350099e4b18f7456e62cb8de7ae0246847ab29a72b995e2e3464d8a9fa39f34820a0364fa890530f053023a2da1095da85a3a0672d8 +DIST anyio-4.12.0.tar.gz.provenance 9075 BLAKE2B 093aff857883b1aaf690cbe76592dec055bdbc0f62a6d672b6c7e6c388c9c7dfeeabe65d4b51bb13a73a7bdfa1dd5315d298ee174152945c85aaae672f481f0f SHA512 f0719dd2d0dc361f2547235a428a04e30b7a1e93531fe93e17eb2758f38c556fbc9759112f2546847821a8437c31867a96f0712f5730be503d1a6efe70f779e1 diff --git a/dev-python/anyio/anyio-4.10.0.ebuild b/dev-python/anyio/anyio-4.12.0.ebuild index d696588c7072..da58baf67eb6 100644 --- a/dev-python/anyio/anyio-4.10.0.ebuild +++ b/dev-python/anyio/anyio-4.12.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/agronholm/anyio PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -16,11 +17,10 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/idna-2.8[${PYTHON_USEDEP}] - >=dev-python/sniffio-1.1[${PYTHON_USEDEP}] >=dev-python/truststore-0.9.1[${PYTHON_USEDEP}] $(python_gen_cond_dep ' >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] @@ -34,14 +34,14 @@ BDEPEND=" >=dev-python/blockbuster-1.5.23[${PYTHON_USEDEP}] >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}] >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] + >=dev-python/trustme-1.0.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' - >=dev-python/trio-0.26.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.32.0[${PYTHON_USEDEP}] ' 3.{11..14}) amd64? ( $(python_gen_cond_dep ' - >=dev-python/uvloop-0.21.0_beta1[${PYTHON_USEDEP}] - ' python3_{11..13}) + >=dev-python/uvloop-0.22.1[${PYTHON_USEDEP}] + ' python3_{11..14}) ) ) " diff --git a/dev-python/atpublic/Manifest b/dev-python/atpublic/Manifest index 0c604d4dc030..8bf94b5e0bf0 100644 --- a/dev-python/atpublic/Manifest +++ b/dev-python/atpublic/Manifest @@ -1,2 +1,2 @@ -DIST atpublic-6.0.1.tar.gz 17520 BLAKE2B 1849350e3eb0a1c5ea8a5a3190ad5aad2cce6a9199f384697c0d8738bd7d76c63f117b7b82e44532ab01175013f84c1074b983d5293264e390e4f05d53f60312 SHA512 7bfe1ac7663ac069c075d729cce0005e66406c3eba763f47b9d3c38cd28d8bd7ecf12666718e92a810cc3f76cd7a8e8bdcfbc4ab95522b5898089959dce84678 DIST atpublic-6.0.2.tar.gz 17708 BLAKE2B 4b754b05f39dc8ff7dc64af4bffff592bc1a004fa735a4e666d89ef2b37685fde23d2e44546dff00061ed3156f22996a8ac9592ed15e5f6094e01311f0c5108b SHA512 243f251f169746422e7ce751cabe51b40713d6226b3a2bfb9d44487a5c04cb15f8534a0054ec77b471f64dc207fffb949c4e657e7834efe2675b7d05f795c8c7 +DIST atpublic-7.0.0.tar.gz 17801 BLAKE2B d733b1ccd7c997c9b5eea7541bf9b29a119262782e30cd2d81403e150370bd5b0ba9fa4183567820b5dcd909b30cf83c1ee685d46494070dccd548cdc8fce355 SHA512 cb1bc639e49edfb3a34e075faa28a68d8e8528e26d1600f55e5dbff67f9b12da13c82d30fd4413a7c09bc4816eb1f72517ef42aea00c2ebe0d790daa5b7f7df0 diff --git a/dev-python/atpublic/atpublic-6.0.1.ebuild b/dev-python/atpublic/atpublic-7.0.0.ebuild index 250eeab405a5..1a5c10e51f23 100644 --- a/dev-python/atpublic/atpublic-6.0.1.ebuild +++ b/dev-python/atpublic/atpublic-7.0.0.ebuild @@ -16,12 +16,12 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" $(python_gen_cond_dep ' >=dev-python/importlib-resources-5.10[${PYTHON_USEDEP}] - ' 3.10 3.11) + ' 3.11) " BDEPEND=" test? ( @@ -29,4 +29,5 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/backports-zstd/Manifest b/dev-python/backports-zstd/Manifest index d57e773fbfa9..fa2b0625c4e0 100644 --- a/dev-python/backports-zstd/Manifest +++ b/dev-python/backports-zstd/Manifest @@ -1,2 +1,4 @@ DIST backports_zstd-1.0.0.tar.gz 995991 BLAKE2B 6aa424ac191db255ed93e31a0c23c3645af1c67120f6e3c5757d4f4d8479d4a448e43c4d96d8c8c075307d7e8840f9aa380dd6940574240c86e55a3e96a1f62b SHA512 efeab141279ed2b0ab4eda3a32685c3da0fbc970c34bea63694b0d23c378a2c9661ad29cc6059edf9d89929f70e9b25e0f527b4b58ede0bbb64a24ca369c5fa0 DIST backports_zstd-1.0.0.tar.gz.provenance 9489 BLAKE2B 6e9d39b29faae7a72934f14070db60b5e8464555cc77005e02088a8c0d53fd870e1c2e1d63eee8658d48ae569dcf6de1fd5ffaa81527fd1317189c06d29397db SHA512 87047ee17a00df0f6173d49131ec033f7811b825c0d95611bfde9a52d4a3248b94a2960f5bb55b4df75ad9b15502294d68d7f3ae0730b33d19e8dd6fa1fee328 +DIST backports_zstd-1.1.0.tar.gz 996020 BLAKE2B 63747df8cbbbc69f53cabae56708849915ba822ed20487fdec01887100ab07c2d342dc275e9c80e4d62078282aef9f7eb100846539ceed832448c20b4198722d SHA512 9a23debaa624f85996a5ddc91cb085531c43ebe92518e8c82bbb0bdca71bcbb96229af9bd245a109c6c554e9af00a822288b452ce68f62f7d3a332167d53669c +DIST backports_zstd-1.1.0.tar.gz.provenance 9395 BLAKE2B 8fa4bdf2e4c57926f897e0b1678b38b47f9097e2b788503b23ea366f6d6595ecdbb03739934d8bf8c494e4db9f4e9654760256b1a6cc6dcacb050852fea29c59 SHA512 165b5c10d2169f5a2f3d0315c77f965a720727d4616fcd539aa2bb1a026d35f11b9d6215e75d663604bcd129d95fbe78b690f4b363282175b2be4189b987bde4 diff --git a/dev-python/backports-zstd/backports-zstd-1.1.0.ebuild b/dev-python/backports-zstd/backports-zstd-1.1.0.ebuild new file mode 100644 index 000000000000..6d9ccc7bfaab --- /dev/null +++ b/dev-python/backports-zstd/backports-zstd-1.1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYPI_VERIFY_REPO=https://github.com/Rogdham/backports.zstd +# this is a backport from py3.14, so don't add it +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backport of PEP-784: adding Zstandard to the standard library" +HOMEPAGE=" + https://github.com/Rogdham/backports.zstd/ + https://pypi.org/project/backports.zstd/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" + +DEPEND=" + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # remove -flto and other forced cflags + sed -i -e 's:kwargs\["extra.*:pass:' setup.py || die + + DISTUTILS_ARGS=( + --system-zstd + ) + + # remove namespace file + rm src/python/backports/__init__.py || die +} + +python_test() { + eunittest tests +} diff --git a/dev-python/ezdxf/Manifest b/dev-python/ezdxf/Manifest new file mode 100644 index 000000000000..392775635ddc --- /dev/null +++ b/dev-python/ezdxf/Manifest @@ -0,0 +1 @@ +DIST ezdxf-1.4.3.tar.gz 1816226 BLAKE2B b77d8b43295623504f2eabf702692dd6e58b9d52b138bbc64e33043649d6ab51dfcdfea95c684e7341172a6a208d7d0665a00579df93c18a66f74f2b908fe26f SHA512 31d19313e1a7599378532363287a69b076db6ba4545048d97f3f80ebc2ed2253f1ec119ce19e3aaddba31623ba0b58e5c89111a5dc0024f18ea7911463eeb9d5 diff --git a/dev-python/ezdxf/ezdxf-1.4.3.ebuild b/dev-python/ezdxf/ezdxf-1.4.3.ebuild new file mode 100644 index 000000000000..30e53072883e --- /dev/null +++ b/dev-python/ezdxf/ezdxf-1.4.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Python library for creating and manipulating DXF drawings" +HOMEPAGE="https://ezdxf.mozman.at/ https://github.com/mozman/ezdxf" + +LICENSE="MIT" +SLOT=0 +KEYWORDS="~amd64 ~arm64" + +# Tests require fonts from repository ./fonts folder +# https://github.com/mozman/ezdxf/blob/master/tests/README.md +RESTRICT="test" + +RDEPEND=" + >=dev-python/pyparsing-2.0.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/fonttools[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND}" diff --git a/dev-python/ezdxf/metadata.xml b/dev-python/ezdxf/metadata.xml new file mode 100644 index 000000000000..ecd401466bea --- /dev/null +++ b/dev-python/ezdxf/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vowstar@gmail.com</email> + <name>Huang Rui</name> + </maintainer> + <longdescription lang="en"> + ezdxf is a Python library for creating and manipulating DXF (Drawing + Exchange Format) documents. It allows users to seamlessly load and edit + DXF files while preserving all content except for comments. The library + supports DXF versions R12, R2000, R2004, R2007, R2010, R2013, and R2018 + for reading and writing, with read-only support for older versions. It + includes optional C-extensions for improved performance and provides a + command-line interface for viewing, converting, and inspecting DXF files. + </longdescription> + <longdescription lang="zh"> + ezdxf是一个用于创建和操作DXF(图形交换格式)文档的Python库。它允许用户 + 无缝加载和编辑DXF文件,同时保留除注释外的所有内容。该库支持DXF版本R12、 + R2000、R2004、R2007、R2010、R2013和R2018的读写,对旧版本提供只读支持。 + 它包含可选的C扩展以提高性能,并提供用于查看、转换和检查DXF文件的命令行 + 界面。 + </longdescription> + <upstream> + <bugs-to>https://github.com/mozman/ezdxf/issues</bugs-to> + <doc>https://ezdxf.mozman.at/</doc> + </upstream> + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/flufl-lock/Manifest b/dev-python/flufl-lock/Manifest index b7041e2af46d..9376c6537dcb 100644 --- a/dev-python/flufl-lock/Manifest +++ b/dev-python/flufl-lock/Manifest @@ -1,2 +1,2 @@ -DIST flufl_lock-8.1.0.tar.gz 32884 BLAKE2B 9d5f557d4664cda5fb31b4f73d79e99acac342462a94b4c1405f1032c25fd60785986e6ae9e48629b2bae0977517ec888eacc6e52d4f75b41887d14521a85f54 SHA512 3238d4c89c3702584c19882caa903a8efd33ad49ad9286d7965694f2cfdf626adee887d6a524d293457b3cd176fc02fc71edfdc0b807c3aaaed0aa77f2188a3b DIST flufl_lock-8.2.0.tar.gz 33514 BLAKE2B 99bb64435896d40c019403aefbe9171a25c28e1823b44f44c1940b3613f828e0cd69b4aa55b7cff9de774acb19137e3dd810768f76ff8736ba4d25f9fe31c99a SHA512 c02c0a2d1cff6c775d692c6dabb2c01ec07f62472c082be998430d71ee26a4c2d5f351d956ea349d74029f1669b72bf5340e82e1f6b319979b750951410c6b94 +DIST flufl_lock-9.0.0.tar.gz 34151 BLAKE2B 3b75f8d9d173739bcf11391440953e96e5490732556aea16d56274a6f77d1ebb9715ac5ecaf69c37a954c7c7a0e9739dfde9a6904b54794e0f413068a09e0347 SHA512 4177c45988527114344d8d6e5f439f4f7446ef805578491a808091b20d5289b1203728f7b83bf1ab44e77a5d6c9a6e145a27f18a79f6c28fc4f98ab02e6999bc diff --git a/dev-python/flufl-lock/flufl-lock-8.1.0.ebuild b/dev-python/flufl-lock/flufl-lock-9.0.0.ebuild index 410720c35d95..929e67f1b02f 100644 --- a/dev-python/flufl-lock/flufl-lock-8.1.0.ebuild +++ b/dev-python/flufl-lock/flufl-lock-9.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,9 +28,5 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest - -src_prepare() { - sed -e '/addopts/d' -i pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index e4b31bf21d97..b386de861b09 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -1,4 +1,2 @@ -DIST fonttools-4.59.0.gh.tar.gz 3973909 BLAKE2B 7b53b12b37be67cb764bfe2a0bcc7af85650431277678e63976d2a1d82a9386c6d1fa07485307fa114b0067c170998c31713cbe67a88b4ddab380d308570ff41 SHA512 552c7ebb5d8d6ce8cc37d2d20a52a213a5ccf52d532c166ad07182e3a2e5f5ac82b3ab9b45787fd1e7cfc3b588568507a006fd1b0b763402064b89ae71a86e91 -DIST fonttools-4.59.2.gh.tar.gz 3982477 BLAKE2B e0c5747efed1d8d402ccfe0f603ce9ba4360355193a4968ad2e8e58e7b5155bde890f5db573dd7c3ec449701311f22d51a97213dd560cc4cf7b694f0ab715d1d SHA512 34a36048680e2494f49a0fd5b94352face4cd5727e8748cbfccb6ec71f44d69d155bba43de7b9244d91723c762101216f4b057e4f64a577197f79c1db269eaff -DIST fonttools-4.60.0.gh.tar.gz 3990380 BLAKE2B f42611c4270e4b9407a4f8750f9ef2492ca9e9560ca2cdbb1a2cee5800ad799fed52de80dd7c17a4722bb9cf62265c33d5483f0f7376ca2ba54f700336295900 SHA512 9c692a6b4a349a2b37ab74d5e2ceef66d561eebb0cb30c2feb29eecc29bfd9430821ed5587b8f6d204e02c0d33f59540cc47a02d9bc40c2d0916d7c4934ed8ee DIST fonttools-4.60.1.gh.tar.gz 3997441 BLAKE2B 44d5e9e2eacc70b09782ee82c654c6dabdcfce6d1d32eb3e9c03bb466d6056b885cc50f615d9ad5909a7c201f0b461ea89c77c468da02e7879bb0e876e3d149e SHA512 50e887f7cfa3a35ba5ca606fe0ce4766185272804bbd05e880cc47b0b73b4af865d902e5a34391bca1fed45275bd1b7922c0bb2b1c6685b9a2aa7026ae70d104 +DIST fonttools-4.61.0.gh.tar.gz 3997800 BLAKE2B 8c7dd9c2d7027252e6ddc6f71dbdd8f96f1c9ebfd193a27a1f717c77bb2118259ef1ae78a5a5219e6a6c9c189e094c74a6267031a4f69b1d7ebeaefe43f73678 SHA512 4c5de3f63fb721817e5225cf928a4dde18c326cc495997452aba9fba057ddf3ddff6410f7ac178ba8fa17d78c11235c02d5898f9f9736cc9a421e20f49459c56 diff --git a/dev-python/fonttools/fonttools-4.59.0-r1.ebuild b/dev-python/fonttools/fonttools-4.59.0-r1.ebuild deleted file mode 100644 index 9874d4cc7223..000000000000 --- a/dev-python/fonttools/fonttools-4.59.0-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE=" - https://github.com/fonttools/fonttools/ - https://pypi.org/project/fonttools/ -" -SRC_URI=" - https://github.com/fonttools/fonttools/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - ) - test? ( - dev-python/brotlicffi[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] - ' 3.11 3.12 3.13) - dev-python/munkres[${PYTHON_USEDEP}] - app-arch/zopfli - ) -" - -EPYTEST_PLUGINS=( pytest-rerunfailures ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_compile() { - local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) - [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 - distutils-r1_python_compile -} - -src_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # flaky test - Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables - ) - - # nonfatal for virtx - nonfatal epytest --reruns=5 Tests fontTools || - die -n "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/fonttools/fonttools-4.60.0.ebuild b/dev-python/fonttools/fonttools-4.60.0.ebuild deleted file mode 100644 index 9874d4cc7223..000000000000 --- a/dev-python/fonttools/fonttools-4.60.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 virtualx - -DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" -HOMEPAGE=" - https://github.com/fonttools/fonttools/ - https://pypi.org/project/fonttools/ -" -SRC_URI=" - https://github.com/fonttools/fonttools/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - $(python_gen_cond_dep ' - dev-python/cython[${PYTHON_USEDEP}] - ' 'python*') - ) - test? ( - dev-python/brotlicffi[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] - ' 3.11 3.12 3.13) - dev-python/munkres[${PYTHON_USEDEP}] - app-arch/zopfli - ) -" - -EPYTEST_PLUGINS=( pytest-rerunfailures ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_compile() { - local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) - [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 - distutils-r1_python_compile -} - -src_test() { - # virtualx used when matplotlib is installed causing plot module tests to run - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # flaky test - Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables - ) - - # nonfatal for virtx - nonfatal epytest --reruns=5 Tests fontTools || - die -n "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/fonttools/fonttools-4.59.2.ebuild b/dev-python/fonttools/fonttools-4.61.0.ebuild index 9874d4cc7223..b8f8e488051b 100644 --- a/dev-python/fonttools/fonttools-4.59.2.ebuild +++ b/dev-python/fonttools/fonttools-4.61.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="+native-extensions" BDEPEND=" @@ -35,13 +35,14 @@ BDEPEND=" dev-python/brotlicffi[${PYTHON_USEDEP}] $(python_gen_cond_dep ' >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] - ' 3.11 3.12 3.13) + ' 3.{11..13}) dev-python/munkres[${PYTHON_USEDEP}] app-arch/zopfli ) " EPYTEST_PLUGINS=( pytest-rerunfailures ) +EPYTEST_RERUNS=5 EPYTEST_XDIST=1 distutils_enable_tests pytest @@ -63,6 +64,6 @@ python_test() { ) # nonfatal for virtx - nonfatal epytest --reruns=5 Tests fontTools || + nonfatal epytest Tests fontTools || die -n "Tests failed with ${EPYTHON}" } diff --git a/dev-python/incremental/Manifest b/dev-python/incremental/Manifest index 12c53c59e236..c36264148850 100644 --- a/dev-python/incremental/Manifest +++ b/dev-python/incremental/Manifest @@ -1 +1,3 @@ +DIST incremental-24.11.0.tar.gz 24000 BLAKE2B bafcdb94b421410836ce17e40e4421573fa35062af0ed2a0268506f75e43a7ca74e4ea137865f61f5d7318c5d82f1fc5bb7da647548e1cbbb4577fa25ba9f85b SHA512 3e30034810d73ddd503d36bdfafcd9bb77da7cad002f0b8f2f34c4bf21207e12a71661545a6a68bd3c22fe20453eba3a8f5dcf22080e7144885a120b166c7519 +DIST incremental-24.11.0.tar.gz.provenance 9535 BLAKE2B 8ab4ac19aa750378795a0011eb9c891ffe984e8cc493ec57f0b573e82d28d56beb756f030891849440df5d125366dea13b4ef31aab2516cebe1a0a670de4db97 SHA512 8ccfbe1b6e394a03328c1d903b6710663ea3b572ffa8b1eb56438baaefaf33f60893d726099bce0d2b22591f21e67a54c406cbbb07eccbea7aa87fdab4cf0484 DIST incremental-24.7.2.tar.gz 28157 BLAKE2B c3f9e14660c1009b9083e424d451618057e17ef3799ef96368fbcd38c3738f29ee711b4114c4210f2b5970d6637c026ffa683ae3453bc4855ebcabdbe52f5500 SHA512 d738d32392ff3a3fa15b880598a74c8fe61383ab2ca167612ffdad464edda9d08fbfabfdf5c4939731c4d0489a76ba72a483fe3813351610b3618fbcc9539d82 diff --git a/dev-python/incremental/incremental-24.11.0.ebuild b/dev-python/incremental/incremental-24.11.0.ebuild new file mode 100644 index 000000000000..5580efdb94a1 --- /dev/null +++ b/dev-python/incremental/incremental-24.11.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 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/twisted/incremental +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Incremental is a small library that versions your Python projects" +HOMEPAGE=" + https://github.com/twisted/incremental/ + https://pypi.org/project/Incremental/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/packaging-17.0[${PYTHON_USEDEP}] +" +# note: most of test deps are for examples that we can't run without +# Internet +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" -m twisted.trial incremental || + die "Tests failed on ${EPYTHON}" +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 271137de443d..7100f5f39dd8 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest new file mode 100644 index 000000000000..6957e769a2b8 --- /dev/null +++ b/dev-python/librt/Manifest @@ -0,0 +1,3 @@ +DIST librt-0.6.2.gh.tar.gz 82045 BLAKE2B 7dd42e06c4bfa77961a73d495bebf94b2046f84299360fdc93ddb9aea0ea50024c7ebf56e369155e1de98556f169a13179d83480d3a939bde362e4a103e39059 SHA512 8b36eab38aaeeffdd2f520a58df66c993efbf7a39dfa7c4c76d440e0d987fbd19b16241acddcac335867ade1f9320385aa01ed957859bd5f7de04ecfd8ffe2a5 +DIST librt-0.6.3.tar.gz 54209 BLAKE2B 93f0cfaed3fb4868871149b752c5b2d7a7ec8ab67b9c5b2099f127d3d43fd939ef864d5f39884c8e1252e1c12fbdb0541617966207c0194a797d4f1744959788 SHA512 ea560ac82962ddadaca8b2b8981dae81ff9f1d891a994b0fc7778d48db2528ea7e2333721632665df3c85e86a87a9097992de17ca46abab0c7909d6c6424d645 +DIST librt-0.6.3.tar.gz.provenance 9164 BLAKE2B 9c7d26223e381fd14f608f9082a28025db40d281a1d04b7ee56fddf72f4a12d9a31bc97f367306dc924f76f9ed7eea2f9f8f2d49c7a64b7fc3f5c658c3bba82a SHA512 e032f0d68d08f88f01ceedcfba7bca8f7de2f2089044a7bc1e4986e6b4cbd2847d9e40d5c4d16ca7ac526e13cc0f74e04e801c2ba09b2145f54da28c50b77ee0 diff --git a/dev-python/librt/librt-0.6.2.ebuild b/dev-python/librt/librt-0.6.2.ebuild new file mode 100644 index 000000000000..0da3aa58605d --- /dev/null +++ b/dev-python/librt/librt-0.6.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Mypyc runtime library" +HOMEPAGE=" + https://github.com/mypyc/librt/ + https://pypi.org/project/librt/ +" +# no tests: https://github.com/mypyc/librt/issues/17 +SRC_URI=" + https://github.com/mypyc/librt/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # this package is a mess + # https://github.com/mypyc/librt/issues/17 + mv lib-rt/* . || die +} + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +} diff --git a/dev-python/librt/librt-0.6.3.ebuild b/dev-python/librt/librt-0.6.3.ebuild new file mode 100644 index 000000000000..69f81ec28315 --- /dev/null +++ b/dev-python/librt/librt-0.6.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 2025 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/mypyc/librt +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mypyc runtime library" +HOMEPAGE=" + https://github.com/mypyc/librt/ + https://pypi.org/project/librt/ +" + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +} diff --git a/dev-python/librt/metadata.xml b/dev-python/librt/metadata.xml new file mode 100644 index 000000000000..7ad11570cc7d --- /dev/null +++ b/dev-python/librt/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index 2866f0f870a2..70eff34ae3bf 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -1,10 +1,4 @@ DIST libtmux-0.36.0.gh.tar.gz 282828 BLAKE2B 247f98ae47093090187f2d52792f850f7476427b368f46970ef3fe9bd6449c03ac23101c8c7af711167bbd92e9e2cff3754474375dabd48157154ed89975a71a SHA512 2fa16a55d4b46461d1266179cfa6cf8d710fdbe435369ff195a683a96243b2b7cd2fbeb47b88e3a660c23d3ca57e1c2722bc12492c52ee0961a1c5cc99ceb093 -DIST libtmux-0.39.0.gh.tar.gz 314113 BLAKE2B cfba4cf12fd2418bb917ade6f927eb905dcc767bc7554ae08f86958c0f0ca25548f0b9d90375ab80de726436bfa5032a5df2da763cc5114849f38cbbe9331565 SHA512 7e180a63e195698e540a581fa8f7dc292e8e4db830a87bbdc859d910313d1d3351886759d3198f088f047d51e993fe6ce4c8f16304edc68681c2fa6a9348bba6 -DIST libtmux-0.40.1.gh.tar.gz 318542 BLAKE2B 5b9e383a3c07bab3af7c25adcf5db1c6acf1c108a2508aa2de5f6c2db64f1e365829c69299568c39a19a7c18aa773b14033aa0c48087d0d1bcf180377df558f6 SHA512 6e4f0d13b375ca1b2c2f6e7c6aaad6d420927c8d55a2f27e7912738a58a7e9f0db67c84936ccff32c9557ebe1f3ac335e779b293466eaab9333a0e3fb4a4b10e -DIST libtmux-0.42.0.gh.tar.gz 318655 BLAKE2B 5d462bd78e81bd38cfb0c42a2100287fc79b9fe31aaeccbac5c9fd124afc2df9da4ceb5cd469de1919df2995c27d4c0628629004938795b6f8731e84c23ed2bc SHA512 38e7c21bd99859add1737a1028c18852a564a2d32c27b72ea37d623bcbc0646b095ad4dd520385c11d6df4c779429ac452f6ae592a6d0ffcb4fe64bf2a4388b3 -DIST libtmux-0.44.2.gh.tar.gz 326828 BLAKE2B ac2441ac13157bdce2465b1388f3e1570eb48193f26a37cfe6d68e56e93f659410af2851be20cd2f94011298c2b93a54eee20f5d07b4fbff15d26e00bbae6c0c SHA512 383784bb335c0f6e8200e20e8afd5b643658ee081a2c07cb9df2ee682d4b411b3ea17c7607587b8855f7d6571f5db7dd75318eefdd8946e6e38560309b5fa35f -DIST libtmux-0.45.0.gh.tar.gz 329763 BLAKE2B 3c8184b9e7ab874b4a85e3d3c3be3e96e48bfb14a02bf26a683062374c0a5258d911026a8c994639514668c775ab3855201d1daa466a20041635aeb978cffe24 SHA512 e1f921bddabcc26f034c331d3b9e7082c3d6d4cdbd8f0173e1499d8a05fd80ca79317409b29cb9ac95827ccb6e9127c58dffa6198ea5a2dee547fdaef23ba2ee -DIST libtmux-0.46.0.gh.tar.gz 337117 BLAKE2B 23caa10584c943ee1e7c162ce97d9d18d297a52fa15a4ac66be2e29314499d2f99bfa5a3061cef6ad80dc94ba8bf9362725d92e74385973aa717849a78388ac4 SHA512 4143639f0219c5751e69718d79c08efec8f9a6f5229aa48f6a7f7fe6c32486ee4b92f6d962fa6ef8f396852a688e373daf0d416f29b95036d015b3fcbba063a9 -DIST libtmux-0.46.1.gh.tar.gz 337302 BLAKE2B b0e086aab882c9ec82ee5606a7ea02e81a549d3009bf8b0f4bc736d8ba8cc7130afd024781c95e332527bdb72202346558d90a4989c5ff2cbb7f6836960e88ef SHA512 41b526d40373d1251260cea8e4fc94cb176275f2c399030b66266663e831f733fb017bebc32e92b9809212c064b21e539853ec780b8f75f0afe01db8b5cb2236 DIST libtmux-0.46.2.gh.tar.gz 350347 BLAKE2B b771eb8e0fc48082ec7e08d82143c48c0df51bb0f5cc2783df4969a78cbfb232aef76e9ec3b44e728a49651c892cfec6b4623297fc7c5cf8f7cf96453b04aba4 SHA512 60ca1e3699ce6fb5bb0b44ef6ef7349b96c9b1eec8f3761e6da94cd69fc9088a25d717271d34350b79b4139c4607ee37933370d83d6645462b34caa02f65bb07 DIST libtmux-0.47.0.gh.tar.gz 357616 BLAKE2B 3372a0cb7fff2723ac21c364b1be813f4b47c346a09375cb0ee219abed152c5e9b2fe812a9c48183f531a173076911dbed246b12f9bbfd293c3b1856aef325d9 SHA512 7302b955602e4a0869cc6f676a24baac555ef861e1db0d8bbed0008fda368cc42ebee78c7fefbcfa44ca5587843ff6b53ac13c7762aab45e9f710c4fac7e4b89 +DIST libtmux-0.48.0.post0.tar.gz 359150 BLAKE2B 8e105588e041e9ec106c6fba0419c601c9359242aef486690acf00da5337213f5718a67352f99fbc43abe267fb07feab7f232b9379b6eebcecadc551a2a04e7c SHA512 92df268534cb78fb39462f048b486487d095fab3dc2ff99092edea9dd9342edc2be97d3b7e3709fc39b9029e52ecd3f65ff3676bbce1f1a1545e35a505c8acf0 diff --git a/dev-python/libtmux/libtmux-0.39.0.ebuild b/dev-python/libtmux/libtmux-0.39.0.ebuild deleted file mode 100644 index 074413fdfafd..000000000000 --- a/dev-python/libtmux/libtmux-0.39.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" -HOMEPAGE=" - https://libtmux.git-pull.com/ - https://github.com/tmux-python/libtmux/ - https://pypi.org/project/libtmux/ -" -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - -RDEPEND=" - >=app-misc/tmux-3.0a -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - # increase timeouts for tests - sed -e 's/0.01/0.1/' -i tests/test_test.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set - # https://bugs.gentoo.org/927158 - local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests -} diff --git a/dev-python/libtmux/libtmux-0.40.1.ebuild b/dev-python/libtmux/libtmux-0.40.1.ebuild deleted file mode 100644 index f344171d65fe..000000000000 --- a/dev-python/libtmux/libtmux-0.40.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" -HOMEPAGE=" - https://libtmux.git-pull.com/ - https://github.com/tmux-python/libtmux/ - https://pypi.org/project/libtmux/ -" -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - -RDEPEND=" - >=app-misc/tmux-3.0a -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - # increase timeouts for tests - sed -e 's/0.01/0.1/' -i tests/test_test.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set - # https://bugs.gentoo.org/927158 - local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests -} diff --git a/dev-python/libtmux/libtmux-0.42.0.ebuild b/dev-python/libtmux/libtmux-0.42.0.ebuild deleted file mode 100644 index ae9ccafde82f..000000000000 --- a/dev-python/libtmux/libtmux-0.42.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" -HOMEPAGE=" - https://libtmux.git-pull.com/ - https://github.com/tmux-python/libtmux/ - https://pypi.org/project/libtmux/ -" -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - >=app-misc/tmux-3.0a -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - # increase timeouts for tests - sed -e 's/0.01/0.1/' -i tests/test_test.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set - # https://bugs.gentoo.org/927158 - local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests -} diff --git a/dev-python/libtmux/libtmux-0.44.2.ebuild b/dev-python/libtmux/libtmux-0.44.2.ebuild deleted file mode 100644 index f344171d65fe..000000000000 --- a/dev-python/libtmux/libtmux-0.44.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" -HOMEPAGE=" - https://libtmux.git-pull.com/ - https://github.com/tmux-python/libtmux/ - https://pypi.org/project/libtmux/ -" -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - -RDEPEND=" - >=app-misc/tmux-3.0a -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - # increase timeouts for tests - sed -e 's/0.01/0.1/' -i tests/test_test.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set - # https://bugs.gentoo.org/927158 - local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests -} diff --git a/dev-python/libtmux/libtmux-0.46.0.ebuild b/dev-python/libtmux/libtmux-0.46.0.ebuild deleted file mode 100644 index 4fcc46d535c8..000000000000 --- a/dev-python/libtmux/libtmux-0.46.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" -HOMEPAGE=" - https://libtmux.git-pull.com/ - https://github.com/tmux-python/libtmux/ - https://pypi.org/project/libtmux/ -" -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - >=app-misc/tmux-3.0a -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - distutils-r1_python_prepare_all -} - -python_test() { - # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set - # https://bugs.gentoo.org/927158 - local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests -} diff --git a/dev-python/libtmux/libtmux-0.46.1.ebuild b/dev-python/libtmux/libtmux-0.46.1.ebuild deleted file mode 100644 index 423ba0f28f0d..000000000000 --- a/dev-python/libtmux/libtmux-0.46.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# 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_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" -HOMEPAGE=" - https://libtmux.git-pull.com/ - https://github.com/tmux-python/libtmux/ - https://pypi.org/project/libtmux/ -" -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - -RDEPEND=" - >=app-misc/tmux-3.0a -" -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - distutils-r1_python_prepare_all -} - -python_test() { - # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set - # https://bugs.gentoo.org/927158 - local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests -} diff --git a/dev-python/libtmux/libtmux-0.45.0.ebuild b/dev-python/libtmux/libtmux-0.48.0_p0.ebuild index 4fcc46d535c8..a0efb8667565 100644 --- a/dev-python/libtmux/libtmux-0.45.0.ebuild +++ b/dev-python/libtmux/libtmux-0.48.0_p0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..14} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Typed library that provides an ORM wrapper for tmux, a terminal multiplexer" HOMEPAGE=" @@ -14,10 +14,6 @@ HOMEPAGE=" https://github.com/tmux-python/libtmux/ https://pypi.org/project/libtmux/ " -SRC_URI=" - https://github.com/tmux-python/libtmux/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" LICENSE="MIT" SLOT="0" @@ -26,28 +22,16 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND=" >=app-misc/tmux-3.0a " -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-mock ) +EPYTEST_RERUNS=5 distutils_enable_tests pytest -python_prepare_all() { - local issues="https://github.com/tmux-python/libtmux/issues/" - sed -r -i "s|:issue:\`([[:digit:]]+)\`|\`issue \1 ${issues}\1\`|" CHANGES || die - - distutils-r1_python_prepare_all -} - python_test() { # tests/test_window.py::test_fresh_window_data fails if TMUX_PANE is set # https://bugs.gentoo.org/927158 local -x TMUX_PANE= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=libtmux.pytest_plugin - epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests + epytest -o addopts= tests } diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index cce46d9c1448..49514e5f0f83 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,5 +1,3 @@ -DIST mypy-1.16.1.gh.tar.gz 3340652 BLAKE2B b602a9f7cdacc9cd939f8232261a00059facd99983b8440104c33d30bb8dd173655decd8b1fae7013f085b641155fd51b138a0c488cda5219d5d55e0379bccd8 SHA512 7d14ea3500f97223c128b07df3dce77c34a4e9913f4dc4b623f9b6f6ba0384d566ef2987bdbf8febcbb12e9d8845f26e53c2f098b513180647156f702c1a6d09 -DIST mypy-1.17.0.gh.tar.gz 3368639 BLAKE2B fc50dccedd8eab757a543e5f63f710281629f7469debfb96a132eb8d200679ce05e441096c5ba6ba62f9b3a9868601df79d80d885c545829da24a08838935031 SHA512 aee414a6e594b289774187b2c2cf1dfec8a5a27a72d08273c1ef014bb486d8902b39a0f5636722ebdc84f7c71cc99b991ce44ab0284200771f99ee36f820d48b -DIST mypy-1.17.1.gh.tar.gz 3369307 BLAKE2B 0a6b240a2f0532eb457ff2d71737ca4db3a962792db67d8e4dd726e3890a2b057329621062833d5765fc16ce79cb21a43d142944c687794698f543621408eca0 SHA512 cdb808bd593d824ca631b1eca9e00c82e9615b74a2c464cd3ffcd9588f040bb1fc20d7ff8c084d0bb509ab624886c987f11ba5ad5d0429bcaf66a6ba893ed6f8 DIST mypy-1.18.1.gh.tar.gz 3468445 BLAKE2B 95d3d8151bd09e23e7c1587fccd7f7c52f8008fb4f812132214c3ce6d8d454d317df8dfdf3305dba912a1234b7717517cac6c38877610a00bf679703e5666473 SHA512 8dcc2144e5d9b1c08e445b281c607f8c42b306be80cbc9db2a2f2aa52c830264f0ce76093350181f97d0c67e7ec84c7d18a569061e378d76971be07959007779 DIST mypy-1.18.2.gh.tar.gz 3468958 BLAKE2B 7c80d839829e2982604c8ed0ee82ca390b9372fb057baaf5ad4b4a8d2dc7ce538b7246342b4691e5c950666360a9788421f540febbc2b19412af80cd4d828907 SHA512 f3cbfdf338b5d994bc077e66721e26a635926d79985f8200af0bd6aa841b076703fa2c798c6d2ceadd7c8c69d4a86af11c5a8f551f13a7fd2b510721af466c54 +DIST mypy-1.19.0.gh.tar.gz 3597780 BLAKE2B 5eb84c886542382d8b11e650bfa898cb5a2624f2d653dfaa517f25005c86305c26b9edb7bd74d4f5c95f21d361fe9208273b03e4ea2a1a18b5a897365d4540bc SHA512 08166809bf4a4afb528132e2f7b3201f4ae84c23a5f52ee4bcf5d57c16f6b3dfc46ac7b7bb5167fe9cde5300fff352bda6a3070d133ee29e975d106e2412a0a8 diff --git a/dev-python/mypy/mypy-1.16.1.ebuild b/dev-python/mypy/mypy-1.16.1.ebuild deleted file mode 100644 index c72e275efc0f..000000000000 --- a/dev-python/mypy/mypy-1.16.1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE=" - https://www.mypy-lang.org/ - https://github.com/python/mypy/ - https://pypi.org/project/mypy/ -" -SRC_URI=" - https://github.com/python/mypy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+native-extensions" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - ${RDEPEND} - dev-python/types-psutil[${PYTHON_USEDEP}] - dev-python/types-setuptools[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, -# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible -# test files (https://github.com/mypyc/mypyc/issues/1014) -export CCACHE_DISABLE=1 - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.0-no-werror.patch -) - -src_prepare() { - distutils-r1_src_prepare - - # don't force pytest-xdist, in case user asked for EPYTEST_JOBS=1 - sed -i -e '/addopts/s:-nauto::' pyproject.toml || die -} - -python_compile() { - local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # the majority of them require Internet (via pip) - mypy/test/testpep561.py - # known broken with assertions enabled - # https://github.com/python/mypy/issues/16043 - mypyc/test/test_external.py::TestExternal::test_c_unit_test - mypyc/test/test_run.py::TestRun::run-classes.test::testDelException - mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance - mypyc/test/test_run.py::TestRunStrictDunderTyping::run-floats.test::testFloatOps_dunder_typing - # these assume that types-docutils are not installed - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable - # TODO - mypy/test/meta/test_parse_data.py - mypy/test/meta/test_update_data.py - ) - case ${EPYTHON} in - python3.13) - ;& - python3.12) - EPYTEST_DESELECT+=( - # more assertions, sigh - mypyc/test/test_run.py::TestRun::run-async.test::testRunAsyncMiscTypesInEnvironment - mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues - mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined - ) - ;; - esac - - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests - # fail with high COLUMNS values - local -x COLUMNS=80 - - # The tests depend on having in-source compiled extensions if you want to - # test those compiled extensions. Various crucial test dependencies aren't - # installed. Even pyproject.toml is needed because that's where pytest args - # are in. Hack them into the build directory and delete them afterwards. - # See: https://github.com/python/mypy/issues/16143 - local -x MYPY_TEST_PREFIX="${S}" - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - cp -r "${S}"/{conftest.py,pyproject.toml} . || die - - local failed= - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest || failed=1 - - rm conftest.py pyproject.toml || die - - [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" -} diff --git a/dev-python/mypy/mypy-1.17.1.ebuild b/dev-python/mypy/mypy-1.17.1.ebuild deleted file mode 100644 index 9e7bfa046522..000000000000 --- a/dev-python/mypy/mypy-1.17.1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="Optional static typing for Python" -HOMEPAGE=" - https://www.mypy-lang.org/ - https://github.com/python/mypy/ - https://pypi.org/project/mypy/ -" -SRC_URI=" - https://github.com/python/mypy/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+native-extensions" - -# stubgen collides with this package: https://bugs.gentoo.org/585594 -RDEPEND=" - !dev-util/stubgen - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/psutil-4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - ${RDEPEND} - dev-python/types-psutil[${PYTHON_USEDEP}] - dev-python/types-setuptools[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/attrs-18.0[${PYTHON_USEDEP}] - >=dev-python/filelock-3.3.0[${PYTHON_USEDEP}] - >=dev-python/lxml-4.9.1[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# frustratingly, mypyc produces non-deterministic output. If ccache is enabled it will be a waste of time, -# but simultaneously it might trash your system and fill up the cache with a giant wave of non-reproducible -# test files (https://github.com/mypyc/mypyc/issues/1014) -export CCACHE_DISABLE=1 - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.0-no-werror.patch -) - -src_prepare() { - distutils-r1_src_prepare - - # don't force pytest-xdist, in case user asked for EPYTEST_JOBS=1 - sed -i -e '/addopts/s:-nauto::' pyproject.toml || die -} - -python_compile() { - local -x MYPY_USE_MYPYC=$(usex native-extensions 1 0) - distutils-r1_python_compile -} - -python_test() { - local EPYTEST_DESELECT=( - # the majority of them require Internet (via pip) - mypy/test/testpep561.py - # known broken with assertions enabled - # https://github.com/python/mypy/issues/16043 - mypyc/test/test_external.py::TestExternal::test_c_unit_test - mypyc/test/test_run.py::TestRun::run-classes.test::testDelException - mypyc/test/test_run.py::TestRun::run-floats.test::testFloatOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64GlueMethodsAndInheritance - mypyc/test/test_run.py::TestRunStrictDunderTyping::run-floats.test::testFloatOps_dunder_typing - # these assume that types-docutils are not installed - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testIgnoreImportIfNoPython3StubAvailable - mypy/test/testpythoneval.py::PythonEvaluationSuite::pythoneval.test::testNoPython3StubAvailable - # TODO - mypy/test/meta/test_parse_data.py - mypy/test/meta/test_update_data.py - ) - case ${EPYTHON} in - python3.13) - ;& - python3.12) - EPYTEST_DESELECT+=( - # more assertions, sigh - mypyc/test/test_run.py::TestRun::run-async.test::testRunAsyncMiscTypesInEnvironment - mypyc/test/test_run.py::TestRun::run-bools.test::testBoolOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64BasicOps - mypyc/test/test_run.py::TestRun::run-i64.test::testI64DefaultArgValues - mypyc/test/test_run.py::TestRun::run-i64.test::testI64ErrorValuesAndUndefined - ) - ;; - esac - - # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests - # fail with high COLUMNS values - local -x COLUMNS=80 - - # The tests depend on having in-source compiled extensions if you want to - # test those compiled extensions. Various crucial test dependencies aren't - # installed. Even pyproject.toml is needed because that's where pytest args - # are in. Hack them into the build directory and delete them afterwards. - # See: https://github.com/python/mypy/issues/16143 - local -x MYPY_TEST_PREFIX="${S}" - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - cp -r "${S}"/{conftest.py,pyproject.toml} . || die - - local failed= - nonfatal epytest || failed=1 - - rm conftest.py pyproject.toml || die - - [[ ${failed} ]] && die "epytest failed with ${EPYTHON}" -} diff --git a/dev-python/mypy/mypy-1.17.0.ebuild b/dev-python/mypy/mypy-1.19.0.ebuild index f14ae1fccf19..bb4392e98778 100644 --- a/dev-python/mypy/mypy-1.17.0.ebuild +++ b/dev-python/mypy/mypy-1.19.0.ebuild @@ -22,16 +22,17 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~amd64 ~arm64" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" !dev-util/stubgen + >=dev-python/librt-0.6.2[${PYTHON_USEDEP}] + >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] >=dev-python/psutil-4[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] - >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] " BDEPEND=" native-extensions? ( @@ -90,9 +91,7 @@ python_test() { mypy/test/meta/test_update_data.py ) case ${EPYTHON} in - python3.13) - ;& - python3.12) + python3.1[234]) EPYTEST_DESELECT+=( # more assertions, sigh mypyc/test/test_run.py::TestRun::run-async.test::testRunAsyncMiscTypesInEnvironment diff --git a/dev-python/nbsphinx/Manifest b/dev-python/nbsphinx/Manifest index 70566b65ea6b..1c2f162b0344 100644 --- a/dev-python/nbsphinx/Manifest +++ b/dev-python/nbsphinx/Manifest @@ -1 +1,3 @@ DIST nbsphinx-0.9.6.tar.gz 180213 BLAKE2B 83aa7490527a9906ce665fcc3ba493648d2d0b6ae93aa5a36d62408e880033b763747a4ebc460db029427accda5d00676c362368390ff168337a3a53fd81da6d SHA512 26a5631b07dfb0d4ab17be5c41e921584d8487b45b45702abe4a6c9d2f10c70dab536ce31822c0c3ae9ab759cdb12c5b5ef62cbdf6243eab4baf81d12569e0ab +DIST nbsphinx-0.9.8.tar.gz 417469 BLAKE2B e3d0db06fda06d4cf4db54dabc4ef9355bf07d9439149d7af46e4ee1e40d4110c6a3a94d40a2ffc811c27da051e5ff8a4e0c05827bb0cb822d2de682d938d28a SHA512 614d861067c7b7f183627b091577f5027a80ab636098e41bd55d3721fd170d240be63bae1bba7e0c9464d4970b81a849f7c010a8a99ccafc358f033960dfdee2 +DIST nbsphinx-0.9.8.tar.gz.provenance 9308 BLAKE2B 7cca99ffbaaede8efd0ed5da9bca4d9bda6700ef8a3b1aa5cd93c66697861d2614ab8e76584862ec449a830163e6449425100517e42f684ed89b25b1b33e7dc4 SHA512 ad3dc326eb0a6e779179248f9fcf432a6a3efa2af08a1f2c63412f1a80ba98c11217bae2861948d1996793f8cc72ce3ef0ce991a2e7c9a450a8e5dd549714e73 diff --git a/dev-python/nbsphinx/nbsphinx-0.9.8.ebuild b/dev-python/nbsphinx/nbsphinx-0.9.8.ebuild new file mode 100644 index 000000000000..f48fbfc32f77 --- /dev/null +++ b/dev-python/nbsphinx/nbsphinx-0.9.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 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/spatialaudio/nbsphinx +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Jupyter Notebook Tools for Sphinx" +HOMEPAGE=" + https://github.com/spatialaudio/nbsphinx/ + https://pypi.org/project/nbsphinx/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.18.1[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + >=dev-python/nbconvert-5.5[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.8[${PYTHON_USEDEP}] + >=dev-python/traitlets-5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" diff --git a/dev-python/pikepdf/pikepdf-9.10.2.ebuild b/dev-python/pikepdf/pikepdf-9.10.2.ebuild index 1710d63d7e83..50fbc104af51 100644 --- a/dev-python/pikepdf/pikepdf-9.10.2.ebuild +++ b/dev-python/pikepdf/pikepdf-9.10.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="big-endian" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 690b8f959099..6da77597d70c 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1,2 +1,3 @@ DIST pycpio-1.5.4.gh.tar.gz 23533 BLAKE2B 51f23b73f921a5957f4536f13372891b991fddaeb986a7b3ede85bfa391d25055f4937a0105cdf873ca4f7ae6d6c3269afa9ac4d9bd329cfead3a3710ff1ca2b SHA512 4d1ca1ee8d4427a07191a7403ed1305835ea1e613b945c4dc1bde7bad1ab1e5d68c8a6462a7e46fed9cd50998f0086f840ced515f49f6fcba018439ba828260a DIST pycpio-1.5.5.gh.tar.gz 23769 BLAKE2B 8771c4c154d3a93c1ca37441ec39ea1d141828d3c5652dcec3801bed44fa053bac9f77e98b8edafc4d0693d502d944ef8d7966e44d9c9693c3141cca48024d50 SHA512 830b4e5f6706a3bde3315111037055fcb6d53f0fe8d132434385eae1d471231d5051133b2fa90e9501321433272fe63a8dce9f1432f34494e10811d8b23e93c1 +DIST pycpio-1.5.6.gh.tar.gz 23868 BLAKE2B 1c5a51948a84b6dc3f8b5ccfc21747dda27d560e719ffe2ee41ea48c3a988945e779f7b1a422554cb198b88f20f72ebcd8b183de3306309961b2c607b2ea3e91 SHA512 253aeb5b24997e99d06928f97e72b940043f028dbe069341427e94cd76a42f75c0dfbf376f801ed0d98de435a07dbb9407b3d28ff110c5c805b8523b67d88ae8 diff --git a/dev-python/pycpio/pycpio-1.5.6.ebuild b/dev-python/pycpio/pycpio-1.5.6.ebuild new file mode 100644 index 000000000000..28cd2882cf3f --- /dev/null +++ b/dev-python/pycpio/pycpio-1.5.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 optfeature shell-completion + +DESCRIPTION="Python CPIO library" +HOMEPAGE="https://github.com/desultory/pycpio/" +SRC_URI=" + https://github.com/desultory/pycpio/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( dev-python/zstandard[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +python_test() { + eunittest tests +} + +python_install_all() { + distutils-r1_python_install_all + dozshcomp completion/_pycpio # Install zsh autocomplete script +} + +pkg_postinst() { + optfeature "zstd compression support" dev-python/zstandard +} diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index ba243c603f8c..fe13ab1fcb34 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1,3 +1,2 @@ -DIST pytest_check-2.5.3.tar.gz 27422 BLAKE2B 74f34c31beccdee3afa6f04dd26bbd167935df20ca106698eb29630dab5aa7f75f36bd2f333d72e339985e8123b0d2f2a5033bee1239a8b42825175fd781e50f SHA512 42012648272299272ced14f314a3e9d0ac634b3e65da8dcd4f7c3287d7416066ca07ad908d36eb353fba75f3f47dab58cf59d0aa7bc94e6b59ead4f71f62339b -DIST pytest_check-2.5.4.tar.gz 27602 BLAKE2B b8c0572fdd0203ad0b262a85364d2f1dbd46d6ab00a70528a2a55232896796f2c3a9aa512cc3c16f74e027974d0ce25342409d674ceb9e4b75a832fe18a507bf SHA512 35dda873b9b4fe1023592d4a400fd5e2ed8c5c16456d7b2c0148ffbac089a47dbfeb203e343860b316d441c277f5b28e61e8ae5e53a5a25e88057d4cbb53d40b DIST pytest_check-2.6.0.tar.gz 27882 BLAKE2B 3ce0e52f0951c1d49f73729dcd138be0854a0454ca0739e9ebca8973cb13c56a65890b41e25f0e839426ab16068888b41ab70030b73a028bf8d21a8242b1230e SHA512 387cdb8692fd14a4bafafb0ee0f320a8a18e78250e26448b04b7787ec3f3a7786b2d08eb7fa6beeb13768e9ab5f69adca7066babdb7481cc88e0940f1e9dc618 +DIST pytest_check-2.6.2.tar.gz 27988 BLAKE2B f6f3e7b5d49d10bb398d562899954f3b76271859057a8ee292506e6e117c9b54630c44b8037977234f8892b3a9727acdc5b2a7e32930d22ae42d774977f71e60 SHA512 7afd2fd0d578f0e0c027fcd2807a57e0fd8af65a88218e1e09882e06eb5108c4110359af6cc38a004bbad74753735b9f38542bb64cec949ea1138153d5145e42 diff --git a/dev-python/pytest-check/pytest-check-2.5.3.ebuild b/dev-python/pytest-check/pytest-check-2.5.3.ebuild deleted file mode 100644 index 15d9d8793cef..000000000000 --- a/dev-python/pytest-check/pytest-check-2.5.3.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2021-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="pytest plugin that allows multiple failures per test" -HOMEPAGE=" - https://github.com/okken/pytest-check/ - https://pypi.org/project/pytest-check/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-check/pytest-check-2.5.4.ebuild b/dev-python/pytest-check/pytest-check-2.6.2.ebuild index 85ad476dcc3e..5b1414a4ab9b 100644 --- a/dev-python/pytest-check/pytest-check-2.5.4.ebuild +++ b/dev-python/pytest-check/pytest-check-2.6.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest index 3138e7bd411f..c736ca2de8a3 100644 --- a/dev-python/rdflib/Manifest +++ b/dev-python/rdflib/Manifest @@ -1,3 +1,3 @@ -DIST rdflib-7.2.1.gh.tar.gz 5079064 BLAKE2B a818508493bb900defabdc105baf740b7a0ed1ae861005a36fd47fcc863afe64d8813008a6a102138f2f3700e43267ccfa904234bd96866314b9981cdd87a693 SHA512 57a6f07261d92b0ea89fe4b2033f4683634c37dd5f185d31170ac1957fc2117144bd47e546f4f5bd56f631236a24544279467de7ab16b84058fdfa1a1b61adac DIST rdflib-7.3.0.gh.tar.gz 5081935 BLAKE2B 4e6d72894e4f9d5b83672cbc43f2563aaab6da274da2c830a036970a43eb999f45e2c7c798760c52a9c1196004eb774031f96a5b31bf98555720658134926316 SHA512 121a7f8d8608a4795c0e922bf41c09efaf6fee9c5398333eac9bde44b15168399553a4d0976ad74063a91f8f66fe2a65907fd6b1cc8eced465a3fe24f3d36609 DIST rdflib-7.4.0.gh.tar.gz 5083440 BLAKE2B 21a1630026c4e4b9d110bdcde80e11857e458c2514c1b76c1692820a6b32b36aa8ddec270e7bdc591ed7c1a67276262b963452892f825a51adeebd9481fa51d3 SHA512 64f7615ffc3a63edb30091e425e859fb5300995e2115b6bcd83690a1b2da8fc623c178cdefc60ca403ddf5afb39e40a18de41dda656a3a2db8cbef47acecc3d3 +DIST rdflib-7.5.0.gh.tar.gz 5084540 BLAKE2B 5ed4c429d3b31292d37a262c41da0549a65d0a4c44d3165a829677543b6b851cf26800f38af59592759c4bbd2915c4b54acfa7d735c9536499db0f6d63059293 SHA512 54e7078b7784145737e6dce104a868a6c9a6526e7c09947b75594035c689383259a3e913139bda9e17ace07ecf3862099532e612cc1d72fbcb37301d307d8ad1 diff --git a/dev-python/rdflib/rdflib-7.2.1.ebuild b/dev-python/rdflib/rdflib-7.5.0.ebuild index 64fa11ff1fbb..485d9ae46c86 100644 --- a/dev-python/rdflib/rdflib-7.2.1.ebuild +++ b/dev-python/rdflib/rdflib-7.5.0.ebuild @@ -22,14 +22,10 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="examples sqlite" RDEPEND=" - $(python_gen_cond_dep ' - <dev-python/isodate-1[${PYTHON_USEDEP}] - >=dev-python/isodate-0.7.2[${PYTHON_USEDEP}] - ' 3.10) dev-python/html5lib[${PYTHON_USEDEP}] <dev-python/pyparsing-4[${PYTHON_USEDEP}] >=dev-python/pyparsing-3.2.0[${PYTHON_USEDEP}] @@ -41,6 +37,7 @@ BDEPEND=" " EPYTEST_PLUGINS=() +# (xdist fails to collect) distutils_enable_tests pytest python_prepare_all() { @@ -59,7 +56,14 @@ python_prepare_all() { } python_test() { - epytest -m "not webtest" + local EPYTEST_DESELECT=( + # tests try to install stuff via pip + test/test_misc/test_plugins.py + # triggers a GC error (and stack overflow was expected anyway) + 'test/test_sparql/test_translate_algebra.py::test_roundtrip[test_other__service1]' + ) + + epytest -m "not webtest and not testcontainer" } python_install_all() { diff --git a/dev-python/rpds-py/rpds-py-0.28.0.ebuild b/dev-python/rpds-py/rpds-py-0.28.0.ebuild index 23fa647e57df..24b1f56bfcab 100644 --- a/dev-python/rpds-py/rpds-py-0.28.0.ebuild +++ b/dev-python/rpds-py/rpds-py-0.28.0.ebuild @@ -52,7 +52,7 @@ LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" diff --git a/dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch b/dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch new file mode 100644 index 000000000000..50b26be43caf --- /dev/null +++ b/dev-python/sabctools/files/sabctools-8.2.6-py314testfix.patch @@ -0,0 +1,46 @@ +diff --git a/tests/test_decoder.py b/tests/test_decoder.py +index 9503923..d45e607 100644 +--- a/tests/test_decoder.py ++++ b/tests/test_decoder.py +@@ -76,29 +76,32 @@ def test_empty(): +
+ def test_ref_counts():
+ """Note that sys.getrefcount itself adds another reference!"""
++ # In Python 3.14+, getrefcount returns 1, in earlier versions it returns 2
++ expected_refcount = 1 if sys.version_info >= (3, 14) else 2
++
+ # Test regular case
+ data_plain = read_plain_yenc_file("test_regular.yenc")
+ data_out, filename, filesize, begin, end, crc_correct = sabctools_yenc_wrapper(data_plain)
+
+- assert sys.getrefcount(data_plain) == 2
+- assert sys.getrefcount(data_out) == 2
+- assert sys.getrefcount(filename) == 2
+- assert sys.getrefcount(begin) == 2
+- assert sys.getrefcount(end) == 2
+- assert sys.getrefcount(crc_correct) == 2
++ assert sys.getrefcount(data_plain) == expected_refcount
++ assert sys.getrefcount(data_out) == expected_refcount
++ assert sys.getrefcount(filename) == expected_refcount
++ assert sys.getrefcount(begin) == expected_refcount
++ assert sys.getrefcount(end) == expected_refcount
++ assert sys.getrefcount(crc_correct) == expected_refcount
+
+ # Test simple error case
+ fake_inp = memoryview(bytearray(b"1234"))
+- assert sys.getrefcount(fake_inp) == 2
++ assert sys.getrefcount(fake_inp) == expected_refcount
+ with pytest.raises(ValueError):
+ sabctools.yenc_decode(fake_inp)
+- assert sys.getrefcount(fake_inp) == 2
++ assert sys.getrefcount(fake_inp) == expected_refcount
+
+ # Test further processing
+ data_plain = read_plain_yenc_file("test_bad_crc_end.yenc")
+ with pytest.raises(ValueError):
+ sabctools_yenc_wrapper(data_plain)
+- assert sys.getrefcount(data_plain) == 2
++ assert sys.getrefcount(data_plain) == expected_refcount
+
+
+ def test_crc_pickles():
diff --git a/dev-python/sabctools/sabctools-8.2.6.ebuild b/dev-python/sabctools/sabctools-8.2.6.ebuild index 223f8b130503..caca7d67495e 100644 --- a/dev-python/sabctools/sabctools-8.2.6.ebuild +++ b/dev-python/sabctools/sabctools-8.2.6.ebuild @@ -27,6 +27,8 @@ LICENSE="LGPL-3" SLOT="0" KEYWORDS="amd64 ~x86" +PATCHES=( "${FILESDIR}/${P}-py314testfix.patch" ) + BDEPEND=" test? ( dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-prompt/Manifest b/dev-python/sphinx-prompt/Manifest index 02c5fb264f7e..a2071b5300db 100644 --- a/dev-python/sphinx-prompt/Manifest +++ b/dev-python/sphinx-prompt/Manifest @@ -1,2 +1,2 @@ -DIST sphinx-prompt-1.10.0.gh.tar.gz 34718 BLAKE2B 463c3320e96b02336bc0b726cee6be1458ddccf61b484083f1694db9d00807650c555e1969a31e13c1e7ed8a92783d9275e7b54766d9e5ae77e617187debb4b5 SHA512 2253896d64a03598743268d3433321032911ce25a40d8a950750fcbd6586425e049c309116bc46b3cb982166f313b579b81dcd0087c8036a55f85d26e1d58cc6 DIST sphinx-prompt-1.10.1.gh.tar.gz 35004 BLAKE2B 64aadbc8391cd20bac8af4127b706228e8556e9bd1cc702b478e2d5f4b7bdff918118b8bdd1d82e0f7f3865b9d500155a97ab435dae46f3159d976dab618bfd5 SHA512 3ef18ec24ddfd73dc71f0f1bb34926e74d0bb44b63044da7e33e2fd5e23fefe51e17b1f73047fae8f2263ae2ff30fea5675ca821bf7fb1377c849f36e7dc85a0 +DIST sphinx-prompt-1.10.2.gh.tar.gz 37762 BLAKE2B c3de02a429676aea72ad61cd11a0ac774f52d35ab8d1bf6f50e88b1cdeb4d1a96afabfe25a1f81215e2a55eec63da4f94add3cc9698696bb8a1fedd67e20b373 SHA512 41889afe21cb47bcb0352d7184de1d20046a636be3368e7ceb21d0afe7070e287d784f4871df9123c50da669603b3c96be6ed2e43d871222a07f9bae68e0228c diff --git a/dev-python/sphinx-prompt/sphinx-prompt-1.10.0.ebuild b/dev-python/sphinx-prompt/sphinx-prompt-1.10.2.ebuild index 9b4788df4a48..6402937e1c7e 100644 --- a/dev-python/sphinx-prompt/sphinx-prompt-1.10.0.ebuild +++ b/dev-python/sphinx-prompt/sphinx-prompt-1.10.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] @@ -32,10 +32,11 @@ distutils_enable_tests pytest python_prepare_all() { # version number relies on git repo, sigh - # also all dependencies are pinned to exact versions, sigh + # also unpin dependencies + # also hack to install as "sphinx-prompt" sed -i \ -e "/^version =/s:[0-9.]\+:${PV}:" \ - -e '/^\[tool\.poetry\.dependencies\]$/,$s:"[0-9.]\+:"*:' \ + -e '/include.*sphinx-prompt/d' \ pyproject.toml || die distutils-r1_python_prepare_all diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index e814a717149c..d7b86823729a 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,2 +1,3 @@ DIST sphinx-8.2.3.gh.tar.gz 8378376 BLAKE2B ddfa406140bebcaa09299a56fedf1170db6504a9ce3807e20c555f5e088d81acbfd19f2621a824b91199713b301380fd2056cf2282ea81f4a0858dd714eb7e45 SHA512 23066d9e98f3e36ee34ac3bc5af45792762f858e1e670145b7d1db7e98fa9e9654d87a27b9316dd72704aeea75b53f73d07d22f723c915d23a95f59bbd4f6365 DIST sphinx-9.0.0rc1.gh.tar.gz 8595494 BLAKE2B d1e5d61f3527e7f250af8c68ef50785bbe35c35d5697e09966d73c3ca250bb6c675e320533721c49f53a59c46a2255d7e35ca6b0522cf03289b281e105056beb SHA512 abc993b17face3ef5dfb71b629bb0b5d2abb69b41cc7efb527bec7aea8ba9b6bb1a8c4801257f5d2672ae915721c92a88e13b156a504be0c82517b47b430d60f +DIST sphinx-9.0.0rc2.gh.tar.gz 8602976 BLAKE2B 5b6452d7f5b1a3ce6e269a019909ee8187d4cda086e4faa29e9a10c1a807d4469c79664a232aa895cec21fc8c68572ef4a76fec97f89449e18cbf3f746e8715f SHA512 9dd6a5eb9ab3442728f5eec989820d99337ef7316656b67515c0963e12347fbfa05f82ef4a2ac958a1430f9cdf25579a39d97243986b9a3f235bbf17613621de diff --git a/dev-python/sphinx/sphinx-9.0.0_rc2.ebuild b/dev-python/sphinx/sphinx-9.0.0_rc2.ebuild new file mode 100644 index 000000000000..a32dc380ae22 --- /dev/null +++ b/dev-python/sphinx/sphinx-9.0.0_rc2.ebuild @@ -0,0 +1,144 @@ +# 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_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_} +DESCRIPTION="Python documentation generator" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinx/ + https://pypi.org/project/Sphinx/ +" +SRC_URI=" + https://github.com/sphinx-doc/sphinx/archive/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +IUSE="doc latex" + +RDEPEND=" + >=dev-python/alabaster-0.7.14[${PYTHON_USEDEP}] + >=dev-python/babel-2.13[${PYTHON_USEDEP}] + <dev-python/docutils-0.23[${PYTHON_USEDEP}] + >=dev-python/docutils-0.20[${PYTHON_USEDEP}] + >=dev-python/imagesize-1.3[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1[${PYTHON_USEDEP}] + >=dev-python/packaging-23.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.14[${PYTHON_USEDEP}] + >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] + >=dev-python/roman-numerals-py-1.0.0[${PYTHON_USEDEP}] + >=dev-python/snowballstemmer-2.2[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-applehelp-1.0.7[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-devhelp-1.0.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-htmlhelp-2.0.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-jsmath-1.0.1[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-qthelp-1.0.6[${PYTHON_USEDEP}] + >=dev-python/sphinxcontrib-serializinghtml-1.1.9[${PYTHON_USEDEP}] + latex? ( + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + app-text/dvipng + ) +" +BDEPEND=" + >=dev-python/flit-core-3.11 + doc? ( + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}] + media-gfx/graphviz + ) + test? ( + app-text/dvipng + >=dev-python/cython-3.0.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + >=dev-python/setuptools-67.0[${PYTHON_USEDEP}] + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-luatex + virtual/imagemagick-tools[jpeg,png,svg] + ) +" + +PATCHES=( + "${FILESDIR}/sphinx-3.2.1-doc-link.patch" +) + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +# EPYTEST_XDIST breaks stuff +distutils_enable_tests pytest + +python_prepare_all() { + # roman-numerals-py has been renamed (no -py), but the package can't be pkgmoved "yet". + # For rc1, simply fix pip check by using the old name. + sed -i -e 's:roman-numerals:roman-numerals-py:' pyproject.toml || die + # disable internet access + sed -i -e 's:^intersphinx_mapping:disabled_&:' \ + doc/conf.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # we can't use distutils_enable_sphinx because it would + # introduce a dep on itself + use doc && build_sphinx doc +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # TODO + tests/test_util/test_util_inspect.py::test_is_classmethod_descriptor + tests/test_util/test_util_inspect.py::test_is_builtin_classmethod_like + # minor repr() differences + tests/test_util/test_util_typing.py::test_restify + tests/test_util/test_util_typing.py::test_stringify_annotation + tests/test_util/test_util_typing.py::test_stringify_type_union_operator + # from pypy3 era + tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_exception + tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_ignore_module_all + tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_inherited_members_None + tests/test_ext_autodoc/test_ext_autodoc.py::test_autodoc_subclass_of_builtin_class + tests/test_ext_autodoc/test_ext_autodoc.py::test_automethod_for_builtin + tests/test_ext_autodoc/test_ext_autodoc.py::test_cython + tests/test_ext_autodoc/test_ext_autodoc.py::test_partialfunction + tests/test_ext_autodoc/test_ext_autodoc_autoclass.py::test_autodoc_process_bases + tests/test_ext_autodoc/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type + tests/test_ext_autodoc/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type + tests/test_ext_autodoc/test_ext_autodoc_autofunction.py::test_builtin_function + tests/test_ext_autodoc/test_ext_autodoc_autofunction.py::test_methoddescriptor + tests/test_ext_autodoc/test_ext_autodoc_automodule.py::test_automodule_inherited_members + tests/test_ext_autodoc/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults_special_constructs + tests/test_ext_autodoc/test_ext_autodoc_signatures.py::test_format_class_signatures_text_signature + tests/test_ext_autodoc/test_ext_autodoc_signatures.py::test_format_class_signatures_no_text_signature + tests/test_ext_autodoc/test_ext_autodoc_signatures.py::test_format_method_signatures_error_handling + tests/test_ext_autosummary/test_ext_autosummary.py::test_autosummary_generate_content_for_module + tests/test_ext_autosummary/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped + tests/test_util/test_util_inspect.py::test_isattributedescriptor + tests/test_util/test_util_inspect.py::test_signature + tests/test_util/test_util_typing.py::test_is_invalid_builtin_class + ) + ;; + esac + + epytest +} diff --git a/dev-python/sphinxcontrib-spelling/Manifest b/dev-python/sphinxcontrib-spelling/Manifest index 1fe55b2b2543..cc98f6e7502e 100644 --- a/dev-python/sphinxcontrib-spelling/Manifest +++ b/dev-python/sphinxcontrib-spelling/Manifest @@ -1 +1,2 @@ DIST sphinxcontrib_spelling-8.0.1.tar.gz 36005 BLAKE2B 75813ea9bc90fc87a657f16b5ca057628041dd5628a2489b259c7009662c9e0dea2c60271c2ee87336e2f0a5cd15e9e360addaad2d8e7ef36863e90ec02e5915 SHA512 8d1e98e50f040b773d117422582315f9535a8a3ccee3984012b3b21e70e8600b325f39579583cace1cd8d3eed096b187eba5e2e9b1ba0f32e5f554ac4b43d48f +DIST sphinxcontrib_spelling-8.0.2.tar.gz 30955 BLAKE2B 4c4b86b21be271b83a22d539b5c1183f58f893b5ee689e4b064a193ce682f4ca2efca1775e8c6780c927a973da5e5df7440e5d49b8cf44a0764eba3ef931bb0d SHA512 9e8a681ff04e959446fb6a294273609d62f17fa4deb5e38ab7b4965e1498dbbcb8faeeef654bfcd9689158bb7f952a031387c9469bf26aaef2d97df9e55b31ed diff --git a/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.2.ebuild b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.2.ebuild new file mode 100644 index 000000000000..0a4f8df94697 --- /dev/null +++ b/dev-python/sphinxcontrib-spelling/sphinxcontrib-spelling-8.0.2.ebuild @@ -0,0 +1,39 @@ +# 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx spelling extension" +HOMEPAGE=" + https://github.com/sphinx-contrib/spelling/ + https://pypi.org/project/sphinxcontrib-spelling/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/pyenchant-3.1.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.3[${PYTHON_USEDEP}] + >=dev-python/sphinx-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + app-dicts/myspell-en + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_filter.py::test_pypi_filter_factory +) diff --git a/dev-python/sqlparse/Manifest b/dev-python/sqlparse/Manifest index be349442abce..29b613192f68 100644 --- a/dev-python/sqlparse/Manifest +++ b/dev-python/sqlparse/Manifest @@ -1 +1,2 @@ DIST sqlparse-0.5.3.tar.gz 84999 BLAKE2B 034c19eb1bb057c755a61248dc74c6e114d2bf2633f33d15b4a012ec4734c0374276f0bc8347706f6e48ef13d130c6769ceb9df04f09fabde2cb82bdb819e9a4 SHA512 219c4a3874606b6b3270fb507d89822412b51d8d120d50682fa683ab127fe05538256a575b5b29ee1a9f88be51ad46999e7c2ad2bb84a39e96ae6d2401eaffcd +DIST sqlparse-0.5.4.tar.gz 120112 BLAKE2B 501192acda3b4e0916551ca4f6464144633cde8f56bb17a460590b25a08d117616703b4b5699838cdde669dc0795fe625b492f6349a74bf6ae559347f0a3db20 SHA512 9417188604579bb4079bb0d0a610c96c1323a65099d2dc486175213276c8d983df00cd7aea74aa5b5fb1f61f973072d99a57581afb9ffb8a6ef293dfe143a740 diff --git a/dev-python/sqlparse/sqlparse-0.5.4.ebuild b/dev-python/sqlparse/sqlparse-0.5.4.ebuild new file mode 100644 index 000000000000..fa21ceb47a44 --- /dev/null +++ b/dev-python/sqlparse/sqlparse-0.5.4.ebuild @@ -0,0 +1,23 @@ +# 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_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A non-validating SQL parser module for Python" +HOMEPAGE=" + https://github.com/andialbrecht/sqlparse/ + https://pypi.org/project/sqlparse/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_sphinx docs/source +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index 4cab4ae85480..df41d3a0206e 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1 +1,2 @@ DIST translate-3.16.3.gh.tar.gz 1182562 BLAKE2B 25ea88b5490891140670cdc384c9c1a318dce0085d6b9c8f6b1a7fbb0892a2e6eb80c26c02fa4890d3ec45c0d9c3958d7c3c4c33dba76d1ee03d977ee0a6863a SHA512 e2e59ca01769a88fd7c6367d0e1e8b96da9f950b600fc62eecae9aed4ad072877b1fd1a6742f0588b2b27d33f6652e98db4c90e63fb4d09481a651019beaee44 +DIST translate-3.17.2.gh.tar.gz 1237809 BLAKE2B b7f1ea65990ac2b5380e674cadc47c1df6ff2476afed25d36b8c636b4d0fba32005086015b03425bdea38f4b22ed7c53d1b664ed92a06aa65f80720e34c49072 SHA512 8658101eec4d4da05c34f4e7b4e0fb77bf8f576bf867118bd4f5b39609fb7d67064412dfab514edc448331b93fd12c148e53cff57c6b1fe1155427059ad7821a diff --git a/dev-python/translate-toolkit/translate-toolkit-3.17.2.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.17.2.ebuild new file mode 100644 index 000000000000..ba7edc96118b --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.17.2.ebuild @@ -0,0 +1,129 @@ +# 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_{10..14} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-5.2.0[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/unicode-segmentation-rs-0.1.1[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.2.14[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip unnecessary pins + sed -i -e 's:,<[0-9.]*::' pyproject.toml || die +} + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}"/usr/share/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! has_version "dev-python/iniparse[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! has_version "media-video/gaupol[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index f6db2809fcb6..8a3aedd52404 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -5,3 +5,4 @@ DIST types_psutil-7.0.0.20251116.tar.gz 22192 BLAKE2B 65cf2d87db83c1549959532534 DIST types_psutil-7.1.1.20251122.tar.gz 22275 BLAKE2B 37780ae12cab65c92cec76211ef74e907b3a026f00f3f67ca4c60e700173f6d16aa74b7d7692020005203ba50dbe9101ce58015b13a3a10ed44516636f370434 SHA512 b3089b3788a38f35434e95c63ce78ecebac27cb3d1c9aa5627c8fc697bf134b9307ae9d4aa1d9aceaa6fe6550d7531dd7445ea36e4fb6cbb6247c6184d6f7c64 DIST types_psutil-7.1.3.20251125.tar.gz 23391 BLAKE2B c8f30870d822d9686dd23e893bb435cd2ce1bdecca8573ac7bfb7f871f76f5f285016a0c8cf6bd8fc871b07ae0e21e0259b3afa17e97ce7d28340eba281a6e5c SHA512 1b5e6d2e1f1f971a4b3bf52435f1eb115b6a2b845ea4c2c2f7061de4c7e6412568eddd82ad6a1465e880266b2a6b23d11031dccb1f315ba874120949f421c9d9 DIST types_psutil-7.1.3.20251127.tar.gz 23864 BLAKE2B 17e83d33acca79b8ffcad310ff50157436c961fafe1eee73a0438bb313b40701dfa8cd6f14b68eda621cf88efd72b233c29fcb0daf6c76c065c3c294296f864e SHA512 c9f394c0d34244ff04ea05531a699f65502a01682686b3c1a5485bceeb274228220a60ceadc8ec28a280d621eadf345fe12d3da71befe6caaa1c490dd69d1604 +DIST types_psutil-7.1.3.20251129.tar.gz 24302 BLAKE2B 90bfe0e28db5c520ec61c376cd9b9e63e18e37f642fd49e3c44ce2d02a57ab5afbacf64a805fed8556e7ecb0481eff944e2af957785aa7f14b561841b29da51e SHA512 799bf6272a3eb063e5d530c623d8c9f29ef330563d4a5e1a44643f034a3333d2c438ae7c8dd04ef2e2a0b35c09492a9a5d7f28ef96ce3a9b27aa5336f9acce23 diff --git a/dev-python/types-psutil/types-psutil-7.1.3.20251129.ebuild b/dev-python/types-psutil/types-psutil-7.1.3.20251129.ebuild new file mode 100644 index 000000000000..486007de99f8 --- /dev/null +++ b/dev-python/types-psutil/types-psutil-7.1.3.20251129.ebuild @@ -0,0 +1,16 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for psutil" +HOMEPAGE="https://pypi.org/project/types-psutil/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" diff --git a/dev-python/unicode-segmentation-rs/Manifest b/dev-python/unicode-segmentation-rs/Manifest new file mode 100644 index 000000000000..3da67db04787 --- /dev/null +++ b/dev-python/unicode-segmentation-rs/Manifest @@ -0,0 +1,26 @@ +DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08 +DIST cc-1.2.48.crate 92458 BLAKE2B b807d0138797e1244e50adccf8b0f31511daf6c8e42289b1ec47e86fc0adf409c1ca931136fe872abfc4ab4f164028bee8f08321911a66684024c7315c67dc50 SHA512 dd6044181d334ff219e2a9daacf3d1fdc7484c33883f45acb6329dda4ccc8024cd9056b03b974bb4f0c9871048e03e89221f802379d503a396a97af9f7af3940 +DIST find-msvc-tools-0.1.5.crate 30942 BLAKE2B 25f061bfb8a195752109bd444deaebfd94228e52c6eb94396fff9ba9d450876a58bc4352158684c59d1a2cb2a13a32ecfa1e96f1d80ac0c63827bfd7f46d9c80 SHA512 71021ce1a16c454bdd30abbb937c2ca67ab28ffcf88574e3ab758683943b44a96312a53cd6f5b8e76c89284a0cedbf46edb606894af720e3612c812bed189ab8 +DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 +DIST indoc-2.0.7.crate 17184 BLAKE2B aae454874b44dbc908a75b64626e608e04017c1407daff9a2e2dd12a337ac04db594540d2f31bfc590d6f37f0d711ff2d3054352ff1b33e736c36620404be0a0 SHA512 6e80cf927001821606488a822fd0f67ae1a569b022c98e727e6b1571c88d87775166f088322bd5f17abb8fc1fde62c9d14fb2e99f1e50918487252d823e48f73 +DIST libc-0.2.177.crate 792045 BLAKE2B ecea1ade26b0faa9cb5fb025e237f3a59dfb562e7b3de3682b42a41038b1d436e83b42b53158c1fc1cc4b1cc64ab55ba1497e869ae850a677c089fcce9138912 SHA512 9d737091dba80244137987d06a52ffcd44a968c96b59ae9af9cfa40c38cb9675d023f6324fbf25c436ce1b9592ebf26248f85b0a7c97ee02360ca624b0efb3e0 +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa +DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990 +DIST portable-atomic-1.11.1.crate 185506 BLAKE2B 953bb1f2059dc1d891305eb89945f1f6a172fa50972725aee499de72b5dd9b4ad8ccefe4e891183ff8e6b64f4d1bb45ec33b06e0f5af34c940f817b290f746d9 SHA512 4c037ae0b4aef43077bdbf803389bc078d963f20d023e2e1d339a54f67fa9b27c174e7c1b6eca8881ecf301e30c431632d2c0dcedfb5b19552892fac0f81e2e1 +DIST proc-macro2-1.0.103.crate 60024 BLAKE2B e5ce5f77838fd063b5615b1555db02175621135132de6aa7479d67fd0a34c15e8235290112a728f3251cf913a835bf0aafaf6930880511427143b63152047259 SHA512 9a6964a2ad24dbb1108b7018882ddb48cb6e6f652d1c5eed1cac94602539fc71f011a0a276765778df161edbd6387bf03a8505d93565e0c106f09e98d7d6efce +DIST pyo3-0.27.1.crate 1172212 BLAKE2B 29ea2d7dffa41ac5414aa5bc537b90e5979dd4a05a04c4cb1d2b70d6d5b7f9cb506fe864236f65495e7646406b695d5891af5cad2d67fd665a1ab4357fa31921 SHA512 f4c8d65b0a95633850597d6b29298c4a14aa3239fa245684cf6caf275f070698b35b03bfb3f256aaca0cec0d31211c51e2f2650a9d12eddce2a4d5d1f81e06a2 +DIST pyo3-build-config-0.27.1.crate 35565 BLAKE2B 2dfb7e1c07ff0f7cdad8f77e4a33ce7696f914f29d931c967f0fcf24fe257b6e421cb2f8e2820a5e66440490cfd96eb733073651a153fd6932f2da5c1068187a SHA512 9add95c372ac2db8e3e719ca2b393aa1e18b6786a7d34e113b07a7e0ad9698ad2d3753a1e7707e4df1edbf62c4fba2df6e0227e5658d5d368ac1dbf76a0e9455 +DIST pyo3-ffi-0.27.1.crate 78517 BLAKE2B f0a093a594e47856c6458da59cc41d5b772be369fb245a1c09f5264464e0ddc527b243cd451352c7b3b1682fcb26cb1d7b93abfefe19411eec8de73d98918b74 SHA512 5bfb8e7982b0d9ddf6fb2c2a4110b43c5b4bcc6f0a14acb50af329742b6eb9993df2ffe88bc34732fd0a58ca552df1b071fa8efd7b38d3441a7b9f45245168ea +DIST pyo3-macros-0.27.1.crate 8918 BLAKE2B d98f155ba4867fec265b7ab82a89d6e025259fc113d9bcddc179a0a0df961ad36cafee1e781ef8fee6d607b8f943b6a095c0a1a188603f9be624a663170791d5 SHA512 7d33a363e464e2fe5b4fe4b958877c695542c8e18a0b512868d579455c9c6072d8a4c00a36b069bf8b54f7dade9847b3968c3d3f40b0b2b54fcfeff44f0afef2 +DIST pyo3-macros-backend-0.27.1.crate 82521 BLAKE2B fc5a1516eb0c55525cf648114274a741a01ee215cee8ef5ba44c0da225b98c1db15d3459f81028ae5b7376fcaf4744a59a34ec345403097d7b374aa8cd9d1e50 SHA512 036147deb1ad48815e22c84071069ed4eefe6b75c95cf727259231d63f0dbde00310983fbe90ab1b740ade071a22b9bb09073d6f120b519242c4bd8989bf3202 +DIST python3-dll-a-0.2.14.crate 103489 BLAKE2B a2868aa62d9b5f33ba0ab3be85f486e7b0594b8e535749e251ae9c829eabf9f0211f928c729b0f5b847a89be978c4b5648d333ac657a82acaa3c39520dfe0b8c SHA512 fde53bac2b7009d409d5dfab991b431aea7c16c5e0227a7bb143e73a043cd0490cec2647f73cfc34f73a192e9b365a70fd5b42d969beb2e3251dff44230a2040 +DIST quote-1.0.42.crate 31504 BLAKE2B a8106c0fe3953bcc2aa421516dfbaad6d6cb2ea839b2ce1447a45b8732dad40a921c2008b477bc0fa029dc0e0357a339db543b1f90bb9da77a5a3681fc16bed0 SHA512 6d55047312de6bab660459750c54213e986f0a80b4458fdb706c2fb3bab83b8239cd230dd9291662076d395c818a391142af1228ae3158cfa4960d6c74d531ba +DIST rustversion-1.0.22.crate 21096 BLAKE2B cdf773cda21ebde50da897c0af0e4af14660ce953d3037054a99d8adc3db2dc6e30a57201a45676abfb183c62016a68069848e7537f711b1752339d194b0a378 SHA512 7929352df3e5279ac88cebb26ca89bb13c755f46986d2d1f514d18a3239a63638bf64f8ff153920569d173185d988d692ee676335afba0bf72d47f71babe0e15 +DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a +DIST syn-2.0.111.crate 302117 BLAKE2B 9fe6c0bbeb432d67f4c879956c505d160f7be418cd16b48a5430c1c4c4922251007e3d85bf219daa16a7e9d8f32c15fdc2ebd94bdfc762135cb27b897590d484 SHA512 f30fc819fc6c942cde044b6bbe608f96736070717f28da71ab4ff68aa9e780416829152da11a83513fbc0de88337c2157e4fd1e4a029ebcbb64daeaa54dbf768 +DIST target-lexicon-0.13.3.crate 28498 BLAKE2B 397315667737abde41949081f8377f704c3a1105790162249a9f0c08b60f012e67d66550e9063d900ac98f5191d13c5ed23d1a8045f99373e7a673a3cfc029e7 SHA512 23422df6edb2a8cb0a9f048864faf76ccb27d6e97fbed7b208b77206941b196f155896a0381150e387142e976439a0a296dcf4cbb4df6bc0e11c65f97f979443 +DIST unicode-ident-1.0.22.crate 47919 BLAKE2B 766f52249631092af952df717e09e1eb0d2a8e87c45e65113f0b2b88b42e8b406a87241fadd368ceb9e13339362b48cdbbc6f699f95f448ab45dbbd861615d62 SHA512 81666679aaa2eebfe1429827fa2a88ee0b52bd69723067132c24252070133b3731287bcd880ba16d16274f038c7b27bcf637e9150b6cd955fb4ff49642078125 +DIST unicode-segmentation-1.12.0.crate 106323 BLAKE2B 268b60aff6694434f05afb7e2b8187eeccdceb77460f8ce2ac0f84d470f8a4e03182ce3f7906177cd2f00f989273a7e69061a763006245f0876bf21b15076804 SHA512 55eebfe5e9972b39d7c0011d80eb5f517d636de37870999119a3d8f064f21f67b66a5ba9761d562738b05f220e21d56b5be7bbd9cc51662994e40dd67c38f946 +DIST unicode-width-0.2.2.crate 282768 BLAKE2B c03a04bb159969f32447c7823f50b2686c515dff4f7778d2cac07a87cb9488d44844b0bb0b51c6996d8fa1fcb65cf4e6a8a9e697d95c1be8373535bc8d7c4215 SHA512 a0ff6ccc1d154e5a100808d3109fe30afa048c3ff402f0a0de34dbff2d58a7403903002185b33bee7b04dcb578c9dea66225a8697f3cd997205680ae3abce965 +DIST unicode_segmentation_rs-0.2.0.tar.gz 24842 BLAKE2B 8ddce19b89a54fdb21657e3a2bddcadaec0a9889a0f78e8e78760ca8481206631c8150b7d300caf75a66acf53e8bdf50ffac630f5d5debab3233f5a1f49914af SHA512 cd6e5abcc2a8e519db45bb1ef2e03e6cd8fb8edde1fb26f75b0bb4c2145947e58c507c1a005a6a9749b709403da566f6df3d55592259f7e332c4fe4cc5734ae2 +DIST unindent-0.2.4.crate 7422 BLAKE2B 2e7870cd4f78240dbb1e5fb9c0f9b55c57bb40242fe668f105a0e862f1d6300e31efbffe0cdff676a5f96a8d19dfb148f88bfef1cd8a710556d777fd0f4ee37f SHA512 58bd4fd20a0b0a7200e0ea3ea70553cea135a5a8f7a2fb178520c41228f435becce4b9981019b7c73a17df87a2ee9b2a47c4cec29a3011bfe848d48b2473761b diff --git a/dev-python/unicode-segmentation-rs/metadata.xml b/dev-python/unicode-segmentation-rs/metadata.xml new file mode 100644 index 000000000000..7ad11570cc7d --- /dev/null +++ b/dev-python/unicode-segmentation-rs/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.0.ebuild b/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.0.ebuild new file mode 100644 index 000000000000..2948b1dd79f2 --- /dev/null +++ b/dev-python/unicode-segmentation-rs/unicode-segmentation-rs-0.2.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..14} ) + +RUST_MIN_VER="1.85.0" +CRATES=" + autocfg@1.5.0 + cc@1.2.48 + find-msvc-tools@0.1.5 + heck@0.5.0 + indoc@2.0.7 + libc@0.2.177 + memoffset@0.9.1 + once_cell@1.21.3 + portable-atomic@1.11.1 + proc-macro2@1.0.103 + pyo3-build-config@0.27.1 + pyo3-ffi@0.27.1 + pyo3-macros-backend@0.27.1 + pyo3-macros@0.27.1 + pyo3@0.27.1 + python3-dll-a@0.2.14 + quote@1.0.42 + rustversion@1.0.22 + shlex@1.3.0 + syn@2.0.111 + target-lexicon@0.13.3 + unicode-ident@1.0.22 + unicode-segmentation@1.12.0 + unicode-width@0.2.2 + unindent@0.2.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Unicode segmentation and width for Python using Rust" +HOMEPAGE=" + https://github.com/WeblateOrg/unicode-segmentation-rs/ + https://pypi.org/project/unicode-segmentation-rs/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +QA_FLAGS_IGNORED=" + usr/lib/py.*/site-packages/unicode_segmentation_rs/unicode_segmentation_rs.* +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/werkzeug/Manifest b/dev-python/werkzeug/Manifest index bb51bbb4a63d..fcf5260d0360 100644 --- a/dev-python/werkzeug/Manifest +++ b/dev-python/werkzeug/Manifest @@ -1 +1,3 @@ DIST werkzeug-3.1.3.tar.gz 806925 BLAKE2B 1bb69dfb9ec0b8e40e4df9098d5e7e69aa74c419c0a9ab3c798a3d2a92599744aecb22a8e4b3d14840355bf21457171456630d30a4d3bf7f9344a3ea5d87ee4f SHA512 922c7c377cb10baa76ba9457a2334716969fe058cbc75725989a3d8c61c061a8cf5c6e8bdce70ec098db7822dd12db3391fb8c1471f51d99f48c54df00b182e1 +DIST werkzeug-3.1.4.tar.gz 864687 BLAKE2B a9fd3ddf37bbd2e8725871a30c003634f200d9d698006055f655e72127a20a3d6300d3c15a3daadd4d0dd2a1286ad1844837c4119c54a0292b2f2c3e1788226e SHA512 5d2ad334edf0908024e29dadf88f772ae8f26c0eb24fb10caf6bd09021008aae67ece05703fe2490a34dd72213ad7db4e25921dbaf35d5f256e7a4cd4c9d1619 +DIST werkzeug-3.1.4.tar.gz.provenance 8926 BLAKE2B a9926cbe703498870b7e111cfe083ca2ccbd41d14316e0e9762e828838207f7b555cbc0cd470b811a6d84ac90e74de0a0eef7e2ee29899ff471df518cf77bac7 SHA512 7d0243da7c20bea504306e2411cc4df231f1621ece3a2c7006636b498e8e555fd57241e2cdf3b24508b552472d6150aab3efcc70f4e03d9de1b6a5a860311fff diff --git a/dev-python/werkzeug/werkzeug-3.1.4.ebuild b/dev-python/werkzeug/werkzeug-3.1.4.ebuild new file mode 100644 index 000000000000..80436f3e3dc1 --- /dev/null +++ b/dev-python/werkzeug/werkzeug-3.1.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/pallets/werkzeug +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of various utilities for WSGI applications" +HOMEPAGE=" + https://palletsprojects.com/p/werkzeug/ + https://pypi.org/project/Werkzeug/ + https://github.com/pallets/werkzeug/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] + >=dev-python/watchdog-2.3[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + ) +" + +EPYTEST_PLUGINS=( pytest-{timeout,xprocess} ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + "tests/test_serving.py::test_server[https]" + tests/test_serving.py::test_ssl_dev_cert + tests/test_serving.py::test_ssl_object + ) + fi + + # the default portage tempdir is too long for AF_UNIX sockets + local -x TMPDIR=/tmp + epytest +} |
