diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-20 07:21:06 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-20 07:21:06 +0000 |
| commit | 2ba9a1319f58c25dfe0d28321e8be53e667f94ac (patch) | |
| tree | 6d1a6a28589321f72fa6d7f4d313da919de8b248 /dev-python | |
| parent | 34f30c80d0f2549965255dae1043e028b027869a (diff) | |
| download | baldeagleos-repo-2ba9a1319f58c25dfe0d28321e8be53e667f94ac.tar.gz baldeagleos-repo-2ba9a1319f58c25dfe0d28321e8be53e667f94ac.tar.xz baldeagleos-repo-2ba9a1319f58c25dfe0d28321e8be53e667f94ac.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
20 files changed, 267 insertions, 12 deletions
diff --git a/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild b/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild index 18ff1d46fa7c..5470acdec83a 100644 --- a/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild +++ b/dev-python/colored-traceback/colored-traceback-0.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/filelock/Manifest b/dev-python/filelock/Manifest index eb2e28b2fc05..a8d1bc3d9df4 100644 --- a/dev-python/filelock/Manifest +++ b/dev-python/filelock/Manifest @@ -2,3 +2,5 @@ DIST filelock-3.25.2.tar.gz 40480 BLAKE2B ba4435e9f121e2c6e1a584ab915b3b2402cb06 DIST filelock-3.25.2.tar.gz.provenance 9520 BLAKE2B e536981b5f552135a6066eaf75ac045590f8fe71da4d1a794fc897a8734d72ab749da7135fb5c7c7cf49ffb0e89890ed1e029091ce8ae05ecc6845fc0898833b SHA512 9a3ba6774aef62a400a73ad561415e184bc1ed717e0b2f4f8d2d42ca74c319f06ff40e88f38093eff3f3e3e2fc08cf296ccbdb1b7d5162b02efd505c9c417a62 DIST filelock-3.28.0.tar.gz 56474 BLAKE2B 174c287a64470c85f203bbb435696275d7bc82ab4a76157a8c7278ef4d5554094ff28ab971f3145022a4031c4d123c8b09b103c4a12699eefa1152ab3ef7a36f SHA512 5729570f86816cb95e0cdca1c0ae830d6fa21b966429348493df7173e091fdb19144336fed762bfb5b950f4b9a056ad1b4891864ab55efd9f2d6475be2216c6f DIST filelock-3.28.0.tar.gz.provenance 9570 BLAKE2B ffefd7f319adeb400f09576fd7f5454a8d4064c98e94148669a32bc21a37c013218f8dbdbaac7ef93c6490a3ad68e7cb42b39699b49d56bd045fbac963afa043 SHA512 6b3874946d34d64a433efcf56c8bf7c362ea6692965e3277d1e7e542b8f6c3853708ea3f2d33d20f274c395498a76642cab7a887c0750aff9f7a284c49cd3a10 +DIST filelock-3.29.0.tar.gz 57571 BLAKE2B d253183ce329cffd2242670fd77f3b4e629bf01b9c306f952bb559bb444929dd4a324d577894855e191c9193e41f743c19376a0a810d2d2b3970ab47bb8a6b43 SHA512 81957a44e2c64d05db5e95bfbba264733b710859aa41d62106d1f6348a2d9af491c6661801797d1a29e28f6a16df34c424b31669efe73b9e7c45123cebb2cdf5 +DIST filelock-3.29.0.tar.gz.provenance 9288 BLAKE2B f4ee6047fc7532a609bc6ee634d77c1eea96c8881e0d793e29aa4b97edac884d0c265b874fb31b2aaa54be1a184bb2b24ed986d0cbe46795379d4438475e5708 SHA512 3b44c5b625211cf8f6d31655a6f4592138b63cb1a27948685bb3b2902c3ce59caf5d23f2dcf367b24c20184214586a1e3f9e3f1d9f9e4d7df7258eb9f95b3417 diff --git a/dev-python/filelock/filelock-3.29.0.ebuild b/dev-python/filelock/filelock-3.29.0.ebuild new file mode 100644 index 000000000000..8429f48b6ff5 --- /dev/null +++ b/dev-python/filelock/filelock-3.29.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 2018-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/filelock +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A platform independent file lock for Python" +HOMEPAGE=" + https://github.com/tox-dev/filelock/ + https://pypi.org/project/filelock/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock,timeout} ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest diff --git a/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20250105.ebuild b/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20250105.ebuild index f3b77c548933..6861a242f25d 100644 --- a/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20250105.ebuild +++ b/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20250105.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild b/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild index 635d4f26ce93..8b7b3505e4b8 100644 --- a/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild +++ b/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild b/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild index 7c13e20a78ba..c8150840881a 100644 --- a/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild +++ b/dev-python/leechcorepyc/leechcorepyc-2.22.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/libtmux/Manifest b/dev-python/libtmux/Manifest index c5692a269076..5802be78b60b 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -7,3 +7,5 @@ DIST libtmux-0.53.1.tar.gz 413660 BLAKE2B a44822b5a17705174288cd34fa1f10ad739171 DIST libtmux-0.53.1.tar.gz.provenance 9343 BLAKE2B 048b82e0139d73cc0d0246f7de1b651f89106365b89733796ec1b613573b4e9ade651d673d492feef30a1c63681d00daa7ac2aa5974a0df78e30705242511ac4 SHA512 2de6cfe125996f9e0fec1b8c105ae88032d13556a24583944e575c733fa67c527c43a2624ef056995962104fa7a0ca683f65b2a8b2a7eae992a84bb087f1b392 DIST libtmux-0.55.0.tar.gz 420859 BLAKE2B f28b33cf3d19772e584dbb6f49ca59ba2c5f6d153d92d29a29344cf9d5ed860aa487ce7c6df8667d9d625a92f08de00c539a8f5649213964302c28c3e0c3273d SHA512 644c78a20336ba1808c0070091935d6dd3b9a8b611b67b4c851e0236048dd32cb424d81750cacfa06908080cc7e9b345edd6163863c24614213bda39a3bc15f2 DIST libtmux-0.55.0.tar.gz.provenance 9391 BLAKE2B d32cf5d14af776edb90d1af3acf154208fa54d7696383abc7bc25f115043c6f85609fb52bb6addabd32f92f40e96a52189ae8c3b93df452d7f9960c34d63fdb8 SHA512 bec7e9679b59e000b46ee23e2d4c6ebd2d1039b708cc063250739c93f523178abaca925ced8e4ef5798b02de3a9bf5d91f8cd47a3f02ccd92fb8fc1e4eb81500 +DIST libtmux-0.55.1.tar.gz 439372 BLAKE2B 918d545f0165edaf541d6156b18c9d441eab66bcb429a1ceb33de09813ca2665cde5dfc3a8cd9a016c53304d83f13f847d9715d3342113988f31143f5f14d54b SHA512 9ce3acc77ca6ed964a34dd818f3f6838ca21463240c0b405900955f2b6c7b16cffa06d00007be519ae8315712a200e2b9bf0ed9b217316cd2058b35ff5f016e8 +DIST libtmux-0.55.1.tar.gz.provenance 9253 BLAKE2B fb744d311b3ad21c11a1cb950f2e3b9036627b4378e98f368a0104ce5f07af46f08cf23b738f1b30d9e201b985785477de02adc5add336e696771b1302c87dba SHA512 79ba74ec6221a9adb88e2647f6db03e3786e1a9b489a13ced8b6228ed0d3a925eabbb42ba674ddf0a156d8111e9bc5839245cdaefad7abbdba154794cace8243 diff --git a/dev-python/libtmux/libtmux-0.55.1.ebuild b/dev-python/libtmux/libtmux-0.55.1.ebuild new file mode 100644 index 000000000000..c88569e4d14c --- /dev/null +++ b/dev-python/libtmux/libtmux-0.55.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tmux-python/libtmux +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +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/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + >=app-misc/tmux-3.0a +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-mock ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +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= + + epytest -o addopts= tests +} diff --git a/dev-python/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index ea33e9a3e574..fe72c46daa6b 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,2 +1,3 @@ DIST python-nbxmpp-6.4.0.tar.bz2 157204 BLAKE2B 41ab60bc8b4322773e5c70aeb86ef906a1a19c948512738696b9d83c05b6319605c87d45faa1786207300b5b0849297a3baabb89cf1a3d91bf065348943b3ef2 SHA512 6d097f4f69bd4b905926cec4b1af3d69b3862d0c48045237b3e34d58d33c0769d11d3612a04e6e6d28699f041bed51ecaeabb522599e445d6241431e390d6727 DIST python-nbxmpp-7.1.0.tar.bz2 153303 BLAKE2B e36f0abf9192381cf39f6c1dc968874d86a790f765567dd6446fd1ef4629e5d6f53265baf16dc6835c441a7c442beafb1305bd8f58b03bd78587520a27f46905 SHA512 165daa854e3f71f59e54159b01bc7799b4aebd1413cec714a9068d178ee182f1f5a8ff2675c5a0d44de948f677cd8b481d13662377d380b53acce3548c24dcd6 +DIST python-nbxmpp-7.2.0.tar.bz2 153697 BLAKE2B d0e4271aab8ef7f586e3d74b8c5c8e1087ad4db1e23eb4147829a11db4ae8ef3aacb87d4302245d80d09e25928e1a9940c16dfb5e0af055a80ea75135011e78a SHA512 551add7e54da97fc5a912df50a27035cbbab41bb240b7b2c782fb41c7d108546045927e5ea4896230ba342de0e6779b03fb30364c071d7d8424bb74109def628 diff --git a/dev-python/nbxmpp/nbxmpp-7.2.0.ebuild b/dev-python/nbxmpp/nbxmpp-7.2.0.ebuild new file mode 100644 index 000000000000..657f16a176d1 --- /dev/null +++ b/dev-python/nbxmpp/nbxmpp-7.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +MY_P=python-nbxmpp-${PV} +DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" +HOMEPAGE=" + https://dev.gajim.org/gajim/python-nbxmpp/ + https://pypi.org/project/nbxmpp/ +" +SRC_URI=" + https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-libs/gobject-introspection-1.82.0-r2 + net-libs/libsoup:3.0[introspection] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild b/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild index 3c68213d493c..564c4c4ebed2 100644 --- a/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild +++ b/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" RDEPEND=" >=dev-python/jaraco-text-4.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index d4a9338e2715..ae1a028c85dc 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,3 +1,4 @@ DIST pybind11-3.0.1.gh.tar.gz 918227 BLAKE2B 90700c919872cd697a59951ef86da0bd0487fe01cd3f3e1b54f2b0b6380a356271635796ea2289340377ecb6ec571ac921ad5dae0e4c82f579f7d8acefba72e5 SHA512 c17e6d6a78c38e760864b390ac2aa7df6a94ca53acb2e8be71f0d63d611b738fa20a16946c98a93fbfcad56cb0346ebf247bbe41c6f5171c6ce68397b1e5c4db DIST pybind11-3.0.2.gh.tar.gz 953272 BLAKE2B 62d1e5cc948556d5eb161b0059c1c4cada61178554af36c2c07e613399b92c24cbff19f5128abe4ba922de79c36ab349efd4af3d4d7d354270b811039e2c0576 SHA512 19bee2c76320e25202ee078b5680ff8a7acfb33494dec29dad984ab04de8bcb01340d9fec37c8cc5ac9015dfc367e60312dcd8506e66ce8f0af4c49db562ddef DIST pybind11-3.0.3.gh.tar.gz 964282 BLAKE2B e75596d9ea23a27476ccc3ffc3fbaa47ef7e29a7830bc777a13ad74774e2c0b11485172efb123e9f45847665ee413bc41c8fc84b7dfd3b01579a665ddce7eb85 SHA512 d6846dc88234a355f9ff312cfd0ecb8d3c7bb0e446ea5fcfc931ed7f18d56206e2b02662cdbd8d8d940a9f67b195dabfa13585f4bb1d57cb1af8a9c39a447a79 +DIST pybind11-3.0.4.gh.tar.gz 966373 BLAKE2B 6a90953a1b46fab90257d56e7db3ff7233ecec1f97e0305d6673b0ce295980d4fa063f88fd5095a7609c188884eef246d291452daeebbf9a7e0794331531596d SHA512 40b40ec9fdde7b377222fa329162638be5e66bee75918d78369f741dc14b52f058fb50bb33159d099fc40f43aca39234092ce884cccc3258f34274c7dde807f0 diff --git a/dev-python/pybind11/pybind11-3.0.4.ebuild b/dev-python/pybind11/pybind11-3.0.4.ebuild new file mode 100644 index 000000000000..edd49be16e6b --- /dev/null +++ b/dev-python/pybind11/pybind11-3.0.4.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=scikit-build-core +PYTHON_COMPAT=( python3_{10..14} ) + +inherit cmake distutils-r1 + +MY_P=${P/_} +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE=" + https://pybind11.readthedocs.io/en/stable/ + https://github.com/pybind/pybind11/ + https://pypi.org/project/pybind11/ +" +SRC_URI=" + https://github.com/pybind/pybind11/archive/v${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + >=dev-cpp/catch-2.13.9:0 + dev-libs/boost + dev-python/tomlkit[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + cmake_src_prepare + distutils-r1_src_prepare +} + +python_configure() { + DISTUTILS_ARGS=( + # disable forced lto + -DHAS_FLTO=OFF + # https://github.com/pybind/pybind11/issues/5087 + -DPYBIND11_FINDPYTHON=OFF + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=OFF + ) + + local mycmakeargs=( + "${DISTUTILS_ARGS[@]}" + -DPYBIND11_TEST=$(usex test) + + # fix missing prefix, https://bugs.gentoo.org/961861 + -Dprefix_for_pc_file="${EPREFIX}"/usr + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + # Compilation only does anything for tests + use test && cmake_src_compile +} + +python_test() { + cmake_build cpptest test_cmake_build + + cd "${BUILD_DIR}/tests" || die + epytest "${S}/tests" +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/pytest-check/pytest-check-2.7.6.ebuild b/dev-python/pytest-check/pytest-check-2.7.6.ebuild index d2399b155e54..b0ffa34bfafd 100644 --- a/dev-python/pytest-check/pytest-check-2.7.6.ebuild +++ b/dev-python/pytest-check/pytest-check-2.7.6.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/python-linux-procfs/Manifest b/dev-python/python-linux-procfs/Manifest index 36fdf396a140..60dca0bff7ee 100644 --- a/dev-python/python-linux-procfs/Manifest +++ b/dev-python/python-linux-procfs/Manifest @@ -1 +1,2 @@ DIST python-linux-procfs-0.7.3.tar.xz 11412 BLAKE2B 66c22261a3ab9fff68949e2e1e54a07ac5bc365d12e52b8149a02105e2ace85e22be38ec84fb1c97b3d4fec6392998d98252e11454a72135eacae770efa171ae SHA512 fbb4bd5b22ccafd6e8fed853f9bc175f9c7b5fc6795b9641a5e39404a96c1cdfdad7856fa89b3dc91ee9f13e3c76a23c79e3729fdfd7a10df1e46fdbb25aa631 +DIST python-linux-procfs-0.7.4.tar.xz 12880 BLAKE2B bbfb00b34dc58ce29816952ff90edca8e5a5363b85689396df086e4bbc2bcd238c0e54ba9d5ddcb735f650204042039ddec0820506221604e6fa85b5212de019 SHA512 99254aec2f205617391ed4d8833d8f20a1eaa6ef33042acbe4e19815976dca9cc3b41e00077fd4a51d15d8a0c83ea6934aa5fbd7bb1d9470c01b1811b0a54ea1 diff --git a/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.ebuild b/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.ebuild index 5e71232df741..1345eb57d5f3 100644 --- a/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.ebuild +++ b/dev-python/python-linux-procfs/python-linux-procfs-0.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ SRC_URI="https://cdn.kernel.org/pub/software/libs/python/${PN}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" dev-python/six[${PYTHON_USEDEP}] diff --git a/dev-python/python-linux-procfs/python-linux-procfs-0.7.4.ebuild b/dev-python/python-linux-procfs/python-linux-procfs-0.7.4.ebuild new file mode 100644 index 000000000000..65b3e3f44f80 --- /dev/null +++ b/dev-python/python-linux-procfs/python-linux-procfs-0.7.4.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python classes to extract information from the Linux kernel /proc files" +HOMEPAGE=" + https://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git/ +" +SRC_URI="https://cdn.kernel.org/pub/software/libs/python/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +python_test() { + "${EPYTHON}" ./bitmasklist_test.py || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch b/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch new file mode 100644 index 000000000000..98d8db561908 --- /dev/null +++ b/dev-python/python-ptrace/files/python-ptrace-0.9.9-py3.14.patch @@ -0,0 +1,31 @@ +https://github.com/vstinner/python-ptrace/pull/91 + +From 324404a3d7ca7d329f1595f2520e779412d6fa98 Mon Sep 17 00:00:00 2001 +From: Stefano Rivera <stefano@rivera.za.net> +Date: Sat, 11 Oct 2025 15:36:41 +0200 +Subject: [PATCH] Add support for Python 3.14 + +Python 3.14 now uses linkat() if it's available +https://github.com/python/cpython/issues/81793 + +I'm not quite sure why the ARM64 and RISC-V versions were using +linkat() there, previously, but that doesn't seem relevant to this +change :) +--- + tests/test_strace.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_strace.py b/tests/test_strace.py +index 2020a3b..89f77b6 100755 +--- a/tests/test_strace.py ++++ b/tests/test_strace.py +@@ -86,7 +86,7 @@ def test_rename(self): + + def test_link(self): + pattern = br"^link\('oldpath', 'newpath'\)" +- if AARCH64 or RISCV: ++ if AARCH64 or RISCV or sys.version_info >= (3, 14): + pattern = br"^linkat\(.*'oldpath'.*'newpath'.*\)" + self.assert_syscall("import os; os.link('oldpath', 'newpath')", + pattern) + diff --git a/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild b/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild index 81c2b5fc9965..34d034385fb8 100644 --- a/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild +++ b/dev-python/python-ptrace/python-ptrace-0.9.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 -DESCRIPTION="A Python binding of ptrace library" +DESCRIPTION="Python binding of ptrace library" HOMEPAGE=" https://github.com/vstinner/python-ptrace/ https://pypi.org/project/python-ptrace/ @@ -28,6 +28,10 @@ fi LICENSE="GPL-2" SLOT="0" +PATCHES=( + "${FILESDIR}"/${PN}-0.9.9-py3.14.patch +) + distutils_enable_tests pytest python_test() { diff --git a/dev-python/python-ptrace/python-ptrace-9999.ebuild b/dev-python/python-ptrace/python-ptrace-9999.ebuild index 8cbae1902210..4ff7a5c22336 100644 --- a/dev-python/python-ptrace/python-ptrace-9999.ebuild +++ b/dev-python/python-ptrace/python-ptrace-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 -DESCRIPTION="A Python binding of ptrace library" +DESCRIPTION="Python binding of ptrace library" HOMEPAGE=" https://github.com/vstinner/python-ptrace/ https://pypi.org/project/python-ptrace/ |
