diff options
Diffstat (limited to 'dev-python')
39 files changed, 1334 insertions, 231 deletions
diff --git a/dev-python/backports-zstd/Manifest b/dev-python/backports-zstd/Manifest index fa2b0625c4e0..04cf7d8838f5 100644 --- a/dev-python/backports-zstd/Manifest +++ b/dev-python/backports-zstd/Manifest @@ -2,3 +2,5 @@ DIST backports_zstd-1.0.0.tar.gz 995991 BLAKE2B 6aa424ac191db255ed93e31a0c23c364 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 +DIST backports_zstd-1.2.0.tar.gz 997263 BLAKE2B 63cc3af77e9b5ef0fc14f4b3c8fcf20b2dafd8b28fc6177e954c4261134de8f72c1d3c09478158ec36c92b6f3b1553a10c68cbe5f23b2b01164c4b65c7266b70 SHA512 98f3962ad2628c7c032848a43cc1116e2cdb1e5ac7fadff640ecd7a36dee8ccfae0c230ef0297047bf6a54159e3493ac468888a9d1cf6e02594541473cd31352 +DIST backports_zstd-1.2.0.tar.gz.provenance 9389 BLAKE2B 0c4fc2709b9cfb4fd614a21f4f660e786c3f8de250d08d77bbe8b4fff22ca4e8b541aff3f80166860b19e8fe76d6ad88be37bb4bd7977652b0ea4ef18efbccaa SHA512 109d3300d365d7ccbea6032f9d4e58fad9c46680489f474f7fea0b986e982ea0d0b1cf84f99096acb1758b4c984a700725c730a32da0d18c32f20b64df8f14e2 diff --git a/dev-python/backports-zstd/backports-zstd-1.2.0.ebuild b/dev-python/backports-zstd/backports-zstd-1.2.0.ebuild new file mode 100644 index 000000000000..36b2b573a9b6 --- /dev/null +++ b/dev-python/backports-zstd/backports-zstd-1.2.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=( pypy3_11 python3_{11..13} ) + +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/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index 87acb93dbe9a..9e7c5af2a78d 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1 +1,2 @@ DIST django-timezone-field-7.1.gh.tar.gz 36680 BLAKE2B 47a754f0050967c196b9d47199bb83f87984ae66cf36578681d54722b76908c506c5ae290d81bb5e33fe3df3c79840301697d935edf8f076f89c6cda1b64e36b SHA512 e242ccebccb3942b2b681e87ebeb4546f925d270b705fa9049a350640c3888c2a9388339c5be9909645b0fa772a4dd71199450639f9fbe2cce531fa6a9bd0df0 +DIST django-timezone-field-7.2.1.gh.tar.gz 39077 BLAKE2B 29c51cf5c4614891cb7d3ec82d629a98914f5efe0f15d024073cd7518d43547eb978544aee7ef0f3e5bca940cc64ec2845806881d64fe4eae1ce6bc1c713857a SHA512 700d98603a9c6345b6107ae970c7ceebcc02571798a7fcfa96820ea759d7784ff5385d56544ca93a0a03d9160d3eb71a847dd839d621d107da76310cf45d22c1 diff --git a/dev-python/django-timezone-field/django-timezone-field-7.2.1.ebuild b/dev-python/django-timezone-field/django-timezone-field-7.2.1.ebuild new file mode 100644 index 000000000000..a5f1a6e1141e --- /dev/null +++ b/dev-python/django-timezone-field/django-timezone-field-7.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="A Django app providing database and form fields for timezone objects" +HOMEPAGE=" + https://github.com/mfogel/django-timezone-field/ + https://pypi.org/project/django-timezone-field/ +" +SRC_URI=" + https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + <dev-python/django-6[${PYTHON_USEDEP}] + >=dev-python/django-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/djangorestframework[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-django pytest-lazy-fixtures ) +distutils_enable_tests pytest + +python_test() { + local -x DB_ENGINE=sqlite + epytest +} diff --git a/dev-python/findimports/Manifest b/dev-python/findimports/Manifest index b072791a14ff..209792c91d7a 100644 --- a/dev-python/findimports/Manifest +++ b/dev-python/findimports/Manifest @@ -1,2 +1,2 @@ -DIST findimports-2.6.0.gh.tar.gz 27787 BLAKE2B 713cd2fac7dea94c7168ee214f4b2b73dac6cab3275015caaa65f2d7eb87d30139a0c6ac6163127182ac22a56c9804dc8afa584bf5cd9cd2c3a2edcc5214a3cd SHA512 711926e8d59268e1b9ce3e8ddfa94852ad05e3c48eb5f2cd41ec0dc20d58dae2c7ee6175b7b90055b94537e6f634cd0de483a2b5d75d007da0c359b05a4b02b7 DIST findimports-2.7.0.gh.tar.gz 28476 BLAKE2B 7ab5ebc6cec477297437890464636c6b96676c1272ea5d3c786fa2229b113c6106070960c665b83dd920e90bda92fc4c4d70151b05006ceb6efd8ee8adc7b314 SHA512 fcf28e0c9bdc8a5c0768c734008b63f5b9abd5c46d455814b742f2464fd7bc49e0bc518b9feaf8c208d7b6c58fdc96ada9b20d593bdc90052f78cd155808960c +DIST findimports-2.8.0.gh.tar.gz 28588 BLAKE2B 11dd3bcd890da6ec61c38f2e121efcb0152bb467c5af3fe80a808802a71f26bdc5ed990a039baab89ee14d7176c7775fff355b3eed89b7ae417c639d5d96905a SHA512 528b3c3945d8340a60b3f7316cd1dd78ba8b9f3d6decc9e89e25c72e45e861fe832dc2759a1f783281b77aebec905abf3bb203c53c7688ffa6f5d633e3a53bcb diff --git a/dev-python/findimports/findimports-2.6.0.ebuild b/dev-python/findimports/findimports-2.8.0.ebuild index 99d64a9cd8c2..093d7f92d57d 100644 --- a/dev-python/findimports/findimports-2.6.0.ebuild +++ b/dev-python/findimports/findimports-2.8.0.ebuild @@ -22,6 +22,5 @@ LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -python_test() { - "${EPYTHON}" testsuite.py -v || die -} +EPYTEST_PLUGINS=() +distutils_enable_tests pytest diff --git a/dev-python/importlib-metadata/importlib-metadata-8.7.0.ebuild b/dev-python/importlib-metadata/importlib-metadata-8.7.0.ebuild index a6339a42602b..10c57ddcaae7 100644 --- a/dev-python/importlib-metadata/importlib-metadata-8.7.0.ebuild +++ b/dev-python/importlib-metadata/importlib-metadata-8.7.0.ebuild @@ -7,7 +7,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit # NB: this package extends beyond built-in importlib stuff in py3.8+ # new entry_point API not yet included in cpython release -PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} ) +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest index b1d64f95ea04..8d075347f3da 100644 --- a/dev-python/librt/Manifest +++ b/dev-python/librt/Manifest @@ -1,2 +1,6 @@ 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 +DIST librt-0.7.2.tar.gz 144193 BLAKE2B 72e1f613839b493ce823224810057f7f7161b8001eeac46b32b7e784ebc49da6c5de86b4b1074ee1d4fbff14feae963103224a991f54d2d3cef9be9599dd3dfc SHA512 472c4d7077fdb22ef30f6833620553b0b821ff9142d06041b3f84f5247efdeced966d160e61b9218e65ec3ec3463f843dc57c8478fd088c466904792d7096de1 +DIST librt-0.7.2.tar.gz.provenance 9211 BLAKE2B 30abcae4ba65ab329dbc18831407d48d12927dd2a745180cdb1bbb72961d8c73c1375f39494786bbbcf630e9354627e9a9c55e2353e0005a9e26c03935f31181 SHA512 4c6afc3f8b0a640a7f729aac617515dce7fd72a43e177cd550dac1299ee7552b003ac22e8bf0a4249df9738e3a3872741cc20a3b3041982b83a378fed7d73f03 +DIST librt-0.7.3.tar.gz 144549 BLAKE2B bd2dfcb0e38ec3661dbca593ea0dd04ed53cb83a2d4f6802ebdbac7cbd7adb0ec4c82ecf6270cefd2c17a8138db49fa4abbd1224c74427b5e4c790d2094d01be SHA512 40f69187c130426fd19257d034154a1ba4a26ffd55d031fbe63cd2322ad98a4b93ca844ec6a500b383cebbe1604762ec99c72aad17347d931e963da5e75cb75a +DIST librt-0.7.3.tar.gz.provenance 9031 BLAKE2B 29bb40bfd588ba30a4e8d011352efa59a862f5c542721f263ea07a0999ae4b1fa594a1474c4ed2fe463af95e16e612cf0ce5d9e80d97ac46f829e6fadccbe4c4 SHA512 6c98d14ed21339347b5cd12bae08333056b6172aa7296f9eb9d2c4282982c5c3df270e9e33b880a58306984bc0b60b33a456d5710a1b47199d9ddce3213e3e11 diff --git a/dev-python/librt/librt-0.7.2.ebuild b/dev-python/librt/librt-0.7.2.ebuild new file mode 100644 index 000000000000..6271fdc94475 --- /dev/null +++ b/dev-python/librt/librt-0.7.2.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_{11..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 ~arm64 ~ppc ~ppc64" + +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/librt-0.7.3.ebuild b/dev-python/librt/librt-0.7.3.ebuild new file mode 100644 index 000000000000..6271fdc94475 --- /dev/null +++ b/dev-python/librt/librt-0.7.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_{11..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 ~arm64 ~ppc ~ppc64" + +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/libtmux/Manifest b/dev-python/libtmux/Manifest index 5887db96aa71..579622e610ad 100644 --- a/dev-python/libtmux/Manifest +++ b/dev-python/libtmux/Manifest @@ -4,3 +4,5 @@ DIST libtmux-0.47.0.gh.tar.gz 357616 BLAKE2B 3372a0cb7fff2723ac21c364b1be813f4b4 DIST libtmux-0.48.0.post0.tar.gz 359150 BLAKE2B 8e105588e041e9ec106c6fba0419c601c9359242aef486690acf00da5337213f5718a67352f99fbc43abe267fb07feab7f232b9379b6eebcecadc551a2a04e7c SHA512 92df268534cb78fb39462f048b486487d095fab3dc2ff99092edea9dd9342edc2be97d3b7e3709fc39b9029e52ecd3f65ff3676bbce1f1a1545e35a505c8acf0 DIST libtmux-0.49.0.tar.gz 355432 BLAKE2B f6022b474168bfb1a71b319b1c6ebd3e290eaf4577576db72a877243d5ec81da86d4cdb7d1d979b5ef8f5ea22b590a8578285bf09699e122cab91a963a6f4fc4 SHA512 977f4da6f470474106f964559f1a40b0152b91ed7812977dbc504c3f54e1feff370c42b6ec259714b585e54edc55bf5422daa33e4cfafeff98f434038891d2a5 DIST libtmux-0.50.0.tar.gz 401066 BLAKE2B 4f8e24248d30ad5672eff5ea272223a0603eccfd158b735afe0ddb95c47f454c89f4f4fcc3c9d66d9e3e63cf881e6d0d442ea057abb5a925f5eae9760a99e8fd SHA512 101b7a3bc3c980aa9b5d8e3f7d3ce3c00ee778c5bdb6d65ca16782780982539409f2afa822171acc7913ec3c48bfc2e684d5a1142c85ab6b243c36f2efbe72b0 +DIST libtmux-0.50.1.tar.gz 401531 BLAKE2B 0d6490122e21f0a82435e6506e1269fdf33478ab9fd8770b3147d517ba766b48de029d4ce6d7d78e5976bbd280137bd71d1cab590df2ae67e6c85bd4728e3475 SHA512 e3fccda1383b8443da55916f82a892d704248fb12b4afedf87f9fade6d69dcd302300af12fb9be5f783c1422973cd242431ad8f6f70498e1e25d2e90d6d3c663 +DIST libtmux-0.51.0.tar.gz 398729 BLAKE2B b8e3711278b5906a5945bc7c10dedc1bb4a2bc72df9c5ca3378fb95709f5ad3311f3788c797ac5c99035f938df4cc2701598a8ea7e260a2a45f4f8a78093f54d SHA512 1792151627c53d05fd856835e07a9fbc58d19a4153fef21f609a0837c67c5b699de86072d24fcf9cc07ca32436390f3b0e5a4569bd4922879aa4a8a444115db2 diff --git a/dev-python/libtmux/libtmux-0.50.1.ebuild b/dev-python/libtmux/libtmux-0.50.1.ebuild new file mode 100644 index 000000000000..578d5b1119f4 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.50.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +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/libtmux/libtmux-0.51.0.ebuild b/dev-python/libtmux/libtmux-0.51.0.ebuild new file mode 100644 index 000000000000..578d5b1119f4 --- /dev/null +++ b/dev-python/libtmux/libtmux-0.51.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +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/orjson/Manifest b/dev-python/orjson/Manifest index 2c9f2ab2e468..88498f00a0b4 100644 --- a/dev-python/orjson/Manifest +++ b/dev-python/orjson/Manifest @@ -1,3 +1,5 @@ DIST orjson-3.11.3.tar.gz 5482394 BLAKE2B dfe5620b489b360d4370fbdf673bf6b8ef8306aaa628eaa7a58e6096981f22e5bf2def4b181b4a7aec6e8ee8cef360f7c3187ff49a90adbafd3c16a2cddb2808 SHA512 5ca76b94241f154b1f9de575ce0eb73d6a89db4172cf0f6ee2c470cb24a0cb96464558b13bdec5f03f0ae0936f39698d9761933eb3b4ae3654cac32dd24f1620 DIST orjson-3.11.4.tar.gz 5945188 BLAKE2B 255a5d00f084b62059de83745c46c15deccdf8692fa7023566c9cc2c7eb00786b4efc2a021c9b6b329d08042641831e08828f24d9ec9a3ae3bc0cb9daae9f79d SHA512 15e1fe6df2084446301b095b3d1f5665f604f5bdcac25579fd424ddd4df3819413c0d785bc3ef08b7a6ef8d57ba2526028d719c7396db88a477bb0c2e0bbf230 DIST orjson-3.11.4.tar.gz.provenance 9236 BLAKE2B c971dc83058c3d40fc4b96c7afdb4edaedf25fb720f58ce4e6dc0263390c17f1eea5ead4bcc4161d2681b82ba1f89a76a24460fb6ea6c3e93d2fcda5632936a2 SHA512 d57df6d9c3abfbb82777f84c60838c4851083eefa224d85cecde9525e4a4c59f07e8bcd7fe4e276dba80d4554b006554b68a62ae252a30baf0e713ca3db78f01 +DIST orjson-3.11.5.tar.gz 5972347 BLAKE2B d006a0ef4722935024561d58c8c346f59a737904add18f673308d5810f3f7fe2d7f8a657c31866b3806b923d6261c642870011f8d4d53270fcf23796b6d6877e SHA512 8221d883840966d783d24ba61c716884dddf01c42593416a83cb3e4fb3e6d21b49dad47ae9fe3317e4e5132b52d681de211f630f1673b3866dbde962611b098f +DIST orjson-3.11.5.tar.gz.provenance 9030 BLAKE2B 3f647dfb032c5a61d6b0fc105781197aea53c39c3f57c43f0290b3ae59493511df85761789aa6b8ec3b56e00921129860172714c3f36aaf7c031a44d6d388dae SHA512 00a25d0622ad054fac6b44434736f999b115f1967b06ce472d312f9710414f55c35b93983fd698bfb579a4d1cd51cb90dce780df3b197c830844bbcf135168f3 diff --git a/dev-python/orjson/orjson-3.11.5.ebuild b/dev-python/orjson/orjson-3.11.5.ebuild new file mode 100644 index 000000000000..fdfbad6f6cb5 --- /dev/null +++ b/dev-python/orjson/orjson-3.11.5.ebuild @@ -0,0 +1,92 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/ijl/orjson +PYTHON_COMPAT=( python3_{11..14} ) + +# upstream is vendoring crates +CRATES=" + associative-cache@2.0.0 + bytecount@0.6.9 + bytes@1.11.0 + cc@1.2.48 + cfg-if@1.0.4 + crunchy@0.2.4 + encoding_rs@0.8.35 + find-msvc-tools@0.1.5 + gimli@0.32.3 + half@2.7.1 + itoa@1.0.15 + itoap@1.0.1 + jiff-static@0.2.16 + jiff@0.2.16 + libc@0.2.178 + memchr@2.7.6 + once_cell@1.21.3 + portable-atomic-util@0.2.4 + portable-atomic@1.11.1 + proc-macro2@1.0.103 + pyo3-build-config@0.27.2 + pyo3-ffi@0.27.2 + quote@1.0.42 + ryu@1.0.20 + serde@1.0.228 + serde_core@1.0.228 + serde_derive@1.0.228 + serde_json@1.0.145 + shlex@1.3.0 + simdutf8@0.1.5 + smallvec@1.15.1 + syn@2.0.111 + target-lexicon@0.13.3 + unicode-ident@1.0.22 + unwinding@0.2.8 + uuid@1.19.0 + version_check@0.9.5 + xxhash-rust@0.8.15 + zerocopy-derive@0.8.31 + zerocopy@0.8.31 +" +RUST_MIN_VER="1.88.0" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + >=dev-util/maturin-1.7.8[${PYTHON_USEDEP}] + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +QA_FLAGS_IGNORED=".*" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_unpack() { + pypi_src_unpack + + # https://github.com/ijl/orjson/issues/613 + cargo_gen_config +} diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 09721d36820c..7fec59d6c41a 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -5,5 +5,6 @@ DIST psycopg-3.2.13.gh.tar.gz 585567 BLAKE2B 244c9b51ae88dfafb235c65cec69b556ab6 DIST psycopg-3.2.9.gh.tar.gz 565735 BLAKE2B 5b9b16e5e310214bdbf12198a7b8d9d86ed7b7e947a33c7333fe79bca946b76f09c60ea25960d3cf3f99423598a65ce33b53bd6dc10a9c68a930a46068b54fd6 SHA512 3e455852dd19c9639a8ee18773486295ea76f9a16146997be9dd4f3f6350257440e0d8fff9494acb79e95f04e74c0c14ec7968694fe329abeb74edcfb297d4dd DIST psycopg-3.3.0.gh.tar.gz 607828 BLAKE2B 494ce84ffaaecafccb353697198077d7bb60f9ed17171bb3946f5501c8e67d1e240fa08f228bdc9f61988c9c6487930df49112be7f658d1b8e3146c8aa95f729 SHA512 48a184e2629d7317c9a6b80addf5405feac4ba0f477c12c5ee9bc826bc132c8874020b62c28df9ba92e2655edf15daa2a619c9961cbe71dd2ad7d5b9580c6389 DIST psycopg-3.3.1.gh.tar.gz 607864 BLAKE2B 6cc1ead0c0fc612dd15ba24f067c80b4b6efff73fa3cfe193d617b34f1e2d7f3aa4e793f264703d1ded48da376599e3ee7e045f87420abe024aeca27c80ba19d SHA512 abd7c49e1607a0262434f4f506af71a0c4aea30093ed1f63b5919a5d7bc81e2c82aa933f345c3bbe2b15e92a300246bb3378d0cca72aec189b4a26818d35d4ff +DIST psycopg-3.3.2.gh.tar.gz 607955 BLAKE2B 8a7d9e74f573ceb5e51b0eab6fd7a17de371de084d48b15ec4a61e3a9e00c8027bb2d024b768f1b57e12fe9d125d1724b164613e9b872dfb8eab1f87e16f8079 SHA512 354e3b6666d0ce346734f290ff6907e0b0be0959dbf739ea6c0f6503a063f710ff5c0a3b02a63df407059ecc9ff2310b3a8617df754d237af44b249d7e92ae80 DIST psycopg2-2.9.10.tar.gz 385672 BLAKE2B 4a3ad64f406c427b785ffeb85f6520aa67ed04de2d1749eb22d8275146b71ba451f7c04c9ead401d6f7a273781492cd6a5a36beba68b36b1e5203ee75f7df503 SHA512 d0916f6a645b5e87f89f2463dc22fad78340a85fbff320d099bf429a42557f40d3a4eebdc670768469aef1e9fcee60123767bfe49e1186e8574f95bfd6f46900 DIST psycopg2-2.9.11.tar.gz 379598 BLAKE2B 78608a2b4a9b1db9ba9873ce01b84f898489de8ff6db5522ecc2fa68606b0ef8cdab7f137c86cf840509c9161b329a2efc1e1aadc494b565226099e8651372ab SHA512 44f7b03d958dc62822be8a8c38d738c4016c3a1f860c824158b78ba0a23f04ca63377171b22a14e38b76df868458ede25f29e4643197912adb2f1a1db8c0d5c0 diff --git a/dev-python/psycopg/psycopg-3.3.2.ebuild b/dev-python/psycopg/psycopg-3.3.2.ebuild new file mode 100644 index 000000000000..f3416b240927 --- /dev/null +++ b/dev-python/psycopg/psycopg-3.3.2.ebuild @@ -0,0 +1,123 @@ +# 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=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="PostgreSQL database adapter for Python" +HOMEPAGE=" + https://www.psycopg.org/psycopg3/ + https://github.com/psycopg/psycopg/ + https://pypi.org/project/psycopg/ +" +SRC_URI=" + https://github.com/psycopg/psycopg/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DEPEND=" + native-extensions? ( + >=dev-db/postgresql-8.1:= + ) + !native-extensions? ( + >=dev-db/postgresql-8.1:* + ) +" +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + ' 3.11 3.12) +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) + test? ( + >=dev-db/postgresql-8.1[server] + >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( anyio ) +distutils_enable_tests pytest + +python_compile() { + # Python code + ctypes backend + cd psycopg || die + distutils-r1_python_compile + + # optional C backend + if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then + local DISTUTILS_USE_PEP517=standalone + cd ../psycopg_c || die + distutils-r1_python_compile + fi + cd .. || die +} + +src_test() { + rm -r psycopg{,_c} || die + + initdb -D "${T}"/pgsql || die + # TODO: random port + pg_ctl -w -D "${T}"/pgsql start \ + -o "-h '' -k '${T}'" || die + createdb -h "${T}" test || die + + local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + +python_test() { + local EPYTEST_DESELECT=( + # tests for the psycopg_pool package + tests/pool + # some broken mypy magic + tests/test_module.py::test_version + tests/test_module.py::test_version_c + tests/test_typing.py + tests/crdb/test_typing.py + # TODO, relying on undefined ordering in Python? + tests/test_dns_srv.py::test_srv + # requires pproxy? + tests/test_waiting.py::test_remote_closed + tests/test_waiting.py::test_wait_remote_closed + tests/test_waiting_async.py::test_remote_closed + tests/test_waiting_async.py::test_wait_remote_closed + ) + + case ${ARCH} in + arm|x86) + EPYTEST_DESELECT+=( + # TODO + tests/types/test_numpy.py::test_classes_identities + ) + ;; + esac + + local impls=( python ) + if use native-extensions && [[ ${EPYTHON} != pypy3* ]]; then + impls+=( c ) + fi + + local -x PSYCOPG_IMPL + for PSYCOPG_IMPL in "${impls[@]}"; do + einfo "Testing with ${PSYCOPG_IMPL} implementation ..." + # leak and timing tests are fragile whereas slow tests are slow + epytest -k "not leak" \ + -m "not timing and not slow and not flakey" + done +} diff --git a/dev-python/pudb/Manifest b/dev-python/pudb/Manifest index 5bf7badf782e..299f8b4b7fea 100644 --- a/dev-python/pudb/Manifest +++ b/dev-python/pudb/Manifest @@ -1,2 +1,4 @@ DIST pudb-2025.1.3.tar.gz 225627 BLAKE2B 64e4cf3fe1fed96fb6bb26339d02f85528bb8ef90a62fafea358f405b8303d3a1783fb507503dac28f390b6d4f891268d51aabe72c05408daefaa7d9388e8ed2 SHA512 68be2941ed57e6116b837049838253f2ec4d4f412ece601e8796ea1e33a29fac565e48abeed1e6e61d5a1532ec0bb3eb52b3d2b77598e6922f4565fea21ed398 DIST pudb-2025.1.3.tar.gz.provenance 9451 BLAKE2B c0d9c787aee05712c5c081c21155ad9b723fce29c6a4a5ceb5acc9f3f470dac9c52bcf188d628fe409e3882e777810509a5b7473711b18d8f7843d7e78811e5f SHA512 9fa91482449f60d0e46ceb41fb9c485cdde40272f88ef2424b1782fad02d5fcbfe7530865fe422b1d60ca216dd8980a978bbe6a7ac3af0092163d6ae2aa20677 +DIST pudb-2025.1.5.tar.gz 225714 BLAKE2B ea01971cb4a3e0be4777cf049a1d69165ebdb6d4d9d3b79da3c6c648aaab22d3bad16d052de1cc9ea46202e81fc4596e333f1bb0c43a61e3618617e5ea1118da SHA512 576fe317600f925c17edbcd41842e6ef651ba3c005eb1f7fd498751a9c5ad4bfef6304ed02d5e148cef7aecb0413e83e4f6f4f377a658d5384b9c3ac2122c379 +DIST pudb-2025.1.5.tar.gz.provenance 9398 BLAKE2B 1a7f35eafc7d85cd55862b0fd869b1e7bfb0c15e6012a1bebac8bd0daaf549b664dd3148b4fa5bf29ebcd3dae118dded3592970212dc6414c6ecfaa60239c6af SHA512 31c209e64c077f6745d7283dfbaae6f5396a2355dc05ce5c4036030d6d492b48e6abab020cc9bb7dcc7b91b4d64affa97db16f4980a9d72591329e18459fc8ad diff --git a/dev-python/pudb/pudb-2025.1.5.ebuild b/dev-python/pudb/pudb-2025.1.5.ebuild new file mode 100644 index 000000000000..0e2e44bdc623 --- /dev/null +++ b/dev-python/pudb/pudb-2025.1.5.ebuild @@ -0,0 +1,38 @@ +# 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/inducer/pudb +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="A full-screen, console-based Python debugger" +HOMEPAGE=" + https://documen.tician.de/pudb/ + https://github.com/inducer/pudb/ + https://pypi.org/project/pudb/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/jedi-0.18[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.19[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.13[${PYTHON_USEDEP}] + >=dev-python/urwid-2.5.1[${PYTHON_USEDEP}] + dev-python/urwid-readline[${PYTHON_USEDEP}] |
