diff options
Diffstat (limited to 'dev-python')
20 files changed, 316 insertions, 133 deletions
diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest index 3707cc94fd14..d9dd612adac8 100644 --- a/dev-python/aiodns/Manifest +++ b/dev-python/aiodns/Manifest @@ -1 +1,3 @@ DIST aiodns-3.5.0.tar.gz 14380 BLAKE2B 7b34d94e7376a0f9ddc5f002bcde64ac15dd31bec97801a35e1b1040f687d5775b5497ba7b76417c45d5cfb35b670d0bce5421e9d6703c7bffe648ee91afaf13 SHA512 0d833cd26db549a06b8bd62835bcac008e24ea4f010065186ff3ca5629c08527eb2c29e6d3f307b8db5d809b264298d3669452a782c19d2454e0b2ce394c814c +DIST aiodns-3.6.0.tar.gz 15108 BLAKE2B a99b18b877df5da6bc8d21dd8c11de711882dd5daebaa06899f6eb75cf030ff9373a20b6a009f93d02934e98247fe7a5e6f25f693667ab8ce3ade6393e917515 SHA512 4620a16bafc8321569fe749518e039230d466d70ad8e328cbed0a4c3b229df2b2c0ade424d44019d065bc50dc7b1396c6a98fb2591f842d50c0dfd3b878843bd +DIST aiodns-3.6.0.tar.gz.provenance 9313 BLAKE2B 1afa93bb875a04ed4bc6fcab92feb4b68ead381d19253872067db481499ac12dad73c987336ea4b8980c33611351af3d713b22859ac790907fc60bc270948b78 SHA512 1e35b03a95fb84ef669f55e4ab07821a248eb03965992a5c209d2551b5a85f32db9f750e86dcde2c4afb33cd1c1b94727b48c9b49ba113a980a13a4add81e81d diff --git a/dev-python/aiodns/aiodns-3.6.0.ebuild b/dev-python/aiodns/aiodns-3.6.0.ebuild new file mode 100644 index 000000000000..d74a57cfb206 --- /dev/null +++ b/dev-python/aiodns/aiodns-3.6.0.ebuild @@ -0,0 +1,33 @@ +# 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/aio-libs/aiodns +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple DNS resolver for asyncio" +HOMEPAGE=" + https://pypi.org/project/aiodns/ + https://github.com/aio-libs/aiodns/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# Tests fail with network-sandbox, since they try to resolve google.com +PROPERTIES="test? ( test_network )" +RESTRICT="test" + +RDEPEND=">=dev-python/pycares-4.9.0[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +EPYTEST_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + epytest --asyncio-mode=auto +} diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest index 6957e769a2b8..b1d64f95ea04 100644 --- a/dev-python/librt/Manifest +++ b/dev-python/librt/Manifest @@ -1,3 +1,2 @@ -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 deleted file mode 100644 index e0deb92d5861..000000000000 --- a/dev-python/librt/librt-0.6.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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_{11..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 index 1ffe983365ac..6271fdc94475 100644 --- a/dev-python/librt/librt-0.6.3.ebuild +++ b/dev-python/librt/librt-0.6.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT PSF-2.4" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" BDEPEND=" test? ( diff --git a/dev-python/marshmallow/Manifest b/dev-python/marshmallow/Manifest index 9df1daa024f6..25bb19cb91b4 100644 --- a/dev-python/marshmallow/Manifest +++ b/dev-python/marshmallow/Manifest @@ -1,4 +1,5 @@ DIST marshmallow-3.26.1.tar.gz 221825 BLAKE2B 37ac0cb401efd046070a406cfbbfb130020dcd0f60e8244f8734b28b9c1a3c151d8550016fb54d83861dd61f7d60c6157469fa575e2df1474f45e70bed7b8cd4 SHA512 b0146313010d03d7c5e4808bfb274e2923df455c34e5d31931a35b76c713dd1e403fdb0da95ba4f0eba3bdb747a57c4f85f296aad870170380e4d54fc6824d1e -DIST marshmallow-4.0.1.tar.gz 220453 BLAKE2B 1bb1e81ee7e1cf378693f82506bde523b2f701d3e9c0c7e26b97a27323beaa3eac5a1a5f413ceecf291b708fe30ecf809a9675a7d43399f3e5420db8cc50fea7 SHA512 01d5bf587d5ec5b6032cd7595a2eb3ed24b19f903926f8de5a56e3c0692d14cddd037fb27a02b52e8940c5092fcb0c8c66804e1f0a2e861f6caf5d5897890089 DIST marshmallow-4.1.0.tar.gz 220619 BLAKE2B 67ffa46f347064a1a4e6069444fb2d1a020e44ca6680ac593b975c807439e518de0937879f217e75261f3f3688e9aa352f4cc9d1944155c5039602383a0a6647 SHA512 48a8dcea2e7219b7c312f8b9aa2ca17a49253f1abb6994f60052d028252e34227efb32de2a0404c29171a41574e7a75a6f84522b9dcf1822658a47ae40dc8dcb DIST marshmallow-4.1.0.tar.gz.provenance 9352 BLAKE2B 37cfda9136c3ad48ad94ae465ad09c693ffca729163316fa7f4f70f35bdfce5618ce3360896a019e670067734d88519b92f4164332058e5af48787ffacfd6c42 SHA512 a1cb86a2a1e31ee348ede77a8e300a47dedd1b5ba80519637639b619180c5beaff8624a4b319d65977345ff86092f504eb035b4620c2a1c74684443bcb638cdf +DIST marshmallow-4.1.1.tar.gz 220720 BLAKE2B 1001529f1bf36cf05233733c9f4cb517a067c2a3f5c5bed69f1d79d24b72257444486e14e63fcefc630091a8799ec6ef5c69a1c24f8304f784e823feeb263876 SHA512 0a2262b93c4f3f732e65df43a194f55c0e9951ab74ce2071fbffd16c9bd9605246e3af08e21e538554ea12f70f82cccffad708607895468056bdf72df24dbf4a +DIST marshmallow-4.1.1.tar.gz.provenance 9573 BLAKE2B 46a74737e14015f1ff20d6901c8f74f844207a4de1448c0de7ed9875ab864eb81cf0a273d6774ee6c37329c36958c0a3342da8064587de6bdecfde1245bd3051 SHA512 376285359d6e255c5168f9befac7d5538a34228097fe4c262a680c2dec317182e902306ab581184fa0b73469d9b997424b7836b2c7d4bb5738c37aa0c245e8c8 diff --git a/dev-python/marshmallow/marshmallow-4.0.1.ebuild b/dev-python/marshmallow/marshmallow-4.1.1.ebuild index 7d820cf900ca..80cbba635722 100644 --- a/dev-python/marshmallow/marshmallow-4.0.1.ebuild +++ b/dev-python/marshmallow/marshmallow-4.1.1.ebuild @@ -4,7 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..13} ) +PYPI_VERIFY_REPO=https://github.com/marshmallow-code/marshmallow +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/pbs-installer/Manifest b/dev-python/pbs-installer/Manifest index 6cebbbeb8f53..7869acc96191 100644 --- a/dev-python/pbs-installer/Manifest +++ b/dev-python/pbs-installer/Manifest @@ -6,3 +6,5 @@ DIST pbs_installer-2025.11.20.tar.gz 64231 BLAKE2B 6b59429ee407ed3dde8b9dbd9b2d1 DIST pbs_installer-2025.11.20.tar.gz.provenance 9511 BLAKE2B 963c57d7836ad2a032570ce2dd928599d4067810b12306f4158fcf848dcf71fb967229b7b2f2d9ef2f4b9b03f6bb297a49f19114556b0b2d1a3bd4dec3a2a554 SHA512 8171f71c6c747b725267b041c02cdcfdd1e5cc7271c7f4bc8d2883035846969d9725d1261800cc7b4ed3d94b978a80dc9c9d7c5a7f9fc6c5d22b3bf3e258d881 DIST pbs_installer-2025.12.2.tar.gz 65622 BLAKE2B 202b64583a0e80c7a9690d0b1b510244c7ff18f24b1f79a328e315930815ab11fea6a10ea6d2be841a2b12559b30c6fd8476a33d7be8fc7c0655ccd818d9dfd3 SHA512 39e67d67c2351b0101410c75d028614be701a4a07c76160df9d7a7263fca8dbf270a756219ec45fd425a516a54245d515fe3ae214c85beb07c5918f2dd49668a DIST pbs_installer-2025.12.2.tar.gz.provenance 9646 BLAKE2B 16b8d478421f8ccd28a7b79ace3ed97aaa0da0e8fb76181bf25ee6a0f639c1b6d346fff6d2bfb305a0676335976b0e7041ed08eab312d2be3b0ce0e9117daee5 SHA512 3a8214dedb8730123916adfdbe80ff0962f7840dd521b444a77ee6e5f0ebfd354677b21381fc204e03a8b7aff0e49aea81fe62f4374545f5a2e7dc49143c4f32 +DIST pbs_installer-2025.12.5.tar.gz 66986 BLAKE2B 608a6ccfb97f693277b7290cf2b4ae83db63ea997821bddd1d75a34495d07da653054c0ee412e7dd99ae05187cb0bec05425813e16a135837d17cfbcbb6b3dfb SHA512 2c57b420e506b1ddcdacbdd26e7b8a13c451b0def078f539e4a482ddcd7e8473761663b219b817a2f7ba0f67e77512b3d146ab3060f2a8e645ecd2aec9fe59ad +DIST pbs_installer-2025.12.5.tar.gz.provenance 9458 BLAKE2B cc4927c5460f7ad4da3a3ff1e4d819b02727ae4b21fac220cc4d29624d31fd187b893924f366a761a617fb9652f692a6a17f85a687ba0ecc39a3a87d7e583d19 SHA512 eb32ed101700b502c406170ce07b2a9ac5a6240c5ab36a2824ab1682e0d70edb4117734a96f2c34521f01167c8c9c49c6b4a9308bd0d42314fdda7db25fbe2ea diff --git a/dev-python/pbs-installer/pbs-installer-2025.12.5.ebuild b/dev-python/pbs-installer/pbs-installer-2025.12.5.ebuild new file mode 100644 index 000000000000..e704551fa4ad --- /dev/null +++ b/dev-python/pbs-installer/pbs-installer-2025.12.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYPI_VERIFY_REPO=https://github.com/frostming/pbs-installer +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Installer for Python Build Standalone" +HOMEPAGE=" + https://pypi.org/project/pbs-installer/ + https://github.com/frostming/pbs-installer/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# httpx is needed to download builds +# zstandard is needed to install them +RDEPEND=" + <dev-python/httpx-1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.21.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-import-check ) +distutils_enable_tests import-check diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index fef85a861da6..617103069549 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,4 +1,4 @@ -DIST python-phonenumbers-9.0.16.gh.tar.gz 4916084 BLAKE2B 1e17e917079b336a174f940f955b37b894a39067bcb1539c3023a37e75b8530a6b6448a43413f912f4863427aa80401179fd011d33c94a204ee8a497e37216f3 SHA512 55f28d7b39b455ffbdb8f4c33106057ea7ef3f9b81945564ec982dc37a6bf5b454e2f80e8a36406c4c004490ba30d81a6226d79124ca829504540f2a67904cb7 DIST python-phonenumbers-9.0.17.gh.tar.gz 4916708 BLAKE2B d223c5d980ab50c89dac61e1957e1a7798759eb59a1594e88155dceb2a47eca79a3d8775ae22820bdd19f4b663c78150b23a8e6c60b0a2555bd7cd901b4b62eb SHA512 3f562bea41b2f66a98e4bdfbf73abef8fb6eb596e66bb941ec37f001599b6bf56d9edf7cde25e7f80136bbf7c921e299c499f37a37d4c92a16d2d7cb4b0f52cf DIST python-phonenumbers-9.0.18.gh.tar.gz 4915674 BLAKE2B 240a3ecbe0c80ddfa6ff6bd9136b82ea9acef0db42e0a82917065b3126b6d55d359a2eb32c136d926b6f42d9a6bdca1d7c5634a2493f48d937003401d8ad4d4e SHA512 a05917d7a654fa1a3a1daa1ad473980b75119e38443bf4fd14d520f42fa74497472acfe2a877a57832f86e1472e1675195bd659585710fb00f92ed64598a5b1c DIST python-phonenumbers-9.0.19.gh.tar.gz 4916374 BLAKE2B daf5d73eac5cf622c3116aba3f4fa19f79d594fcab92ff89bfa896ece5d09610b4a5b1f4f183de627ed020be7c90a77836199b1f24c634c468b3f41acb7c29de SHA512 cae994c1a1d28755126a1e7e96cbd8f289a342271b19990086bc8bc626250da8e3f31d9b5286bf551420de0f66f01c79d3b1d3009b135a399795669ebd4e6826 +DIST python-phonenumbers-9.0.20.gh.tar.gz 4917117 BLAKE2B 31db2004c93c27a204601e00e2e0923121eedd27c1308e3c23ce0553531d7065314e8dd31daba1eeacc73fe045b26d34ae0115e6420b660661ffa07f9585ef5a SHA512 1622e5460c6897891550f6cee12006414000a4d19029b8eb692cfbff909b98d4cf143f73c69b7712ca1ff32e262e8e8b7d49d1977777e0134b90183a859993c4 diff --git a/dev-python/phonenumbers/phonenumbers-9.0.16.ebuild b/dev-python/phonenumbers/phonenumbers-9.0.20.ebuild index 194e0165d2af..a4046879a533 100644 --- a/dev-python/phonenumbers/phonenumbers-9.0.16.ebuild +++ b/dev-python/phonenumbers/phonenumbers-9.0.20.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}/python LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/platformdirs/Manifest b/dev-python/platformdirs/Manifest index 0de00930d8a3..8319378c54a5 100644 --- a/dev-python/platformdirs/Manifest +++ b/dev-python/platformdirs/Manifest @@ -1,2 +1,3 @@ -DIST platformdirs-4.4.0.tar.gz 21634 BLAKE2B cdfa2e7bde37b5d1a5e3eaaca33001510a498538909f4c8d61bf4ea32c0f0085aa3bf4559392a6df12da7611e68b854f4d70abcef1eb830457f589074ffed3e4 SHA512 04580eec94b5aa1149427e7a44789dcd443d2b9a4f002669fe1a0e4380c12b97d02ef4314c96e340e664aa251e42a4fd4bfc0d69a8191851962255689544e3b0 DIST platformdirs-4.5.0.tar.gz 21632 BLAKE2B 06de7250dd254e03c29d32d2dbb9da65078c480e2cbdafe3dafd5602182b4472f5078d66a30a04e22c8493904097a60c82ac734b1d0ba304088b0180878dbf7f SHA512 cefe512f8f6cbe989eacdffbbb98a964000855cca46faade62180837d7e21dd6c43eb172211e55fd04090df04e2ef416d49e92d7ccc3a0253ce2a88fc3fb9358 +DIST platformdirs-4.5.1.tar.gz 21715 BLAKE2B f987cafe13a440716d73c6f98183bc1b4ae7d778931a81a4f140273d9fd1bc51e56633ff4a4381dbc2050284d9d0fa085ab54adbf504807c715f3441b8c8dab3 SHA512 33651a2aba8e844027d22f1e7a48fb32750a81a8d73807a4f10f37f1ba7ee8c8d3b2c391920328fb34fce1d3653e6d7f097a2c5e09b350a8ebfb6f21e3b1c488 +DIST platformdirs-4.5.1.tar.gz.provenance 9300 BLAKE2B ede576d4aa1a03871bd448efcd9613a209651bfcd91681a7afd680cf8f75e5dd8fbe6bca298a9cb51807da06f32fd80b27ba6adedf8b504c556724bfc18c3bf9 SHA512 6ad9983c790a1765ac70544f1ab04ecae0697d883fb355b6771688ac1b564e3b0fa7e8f538e586315d8a1e2f8e970b5818ba254546c6ed578ecbc56d6bfa42b0 diff --git a/dev-python/platformdirs/platformdirs-4.4.0.ebuild b/dev-python/platformdirs/platformdirs-4.5.1.ebuild index bd86bb804eb7..c6e08b2d1f73 100644 --- a/dev-python/platformdirs/platformdirs-4.4.0.ebuild +++ b/dev-python/platformdirs/platformdirs-4.5.1.ebuild @@ -4,6 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) inherit distutils-r1 pypi @@ -16,7 +17,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" BDEPEND=" test? ( diff --git a/dev-python/protobuf/Manifest b/dev-python/protobuf/Manifest index 4b3fdbe5c5b8..ca46d585bd76 100644 --- a/dev-python/protobuf/Manifest +++ b/dev-python/protobuf/Manifest @@ -3,6 +3,7 @@ DIST protobuf-32.0.gh.tar.gz 9692366 BLAKE2B 37e09bec62a5c35a3ca45d4bd4fd27e719a DIST protobuf-32.1.gh.tar.gz 9694736 BLAKE2B 37a310799eaa58b14f67c62410f1e150c031b94db5a499ceeda749bd13a1165403a5d4c86ffa45729ae333080697ce0619b29a51d2bc345de012f99a3ce5dd20 SHA512 840239f4fb57450ffe61f2cdc73daf5f1f3ea317b1ab1135a90303783e62722cfa410ff27bb2c5c6d3106be39ccdc95cdfbc5bf271ba79f935ab85f9b8ce3075 DIST protobuf-33.0.gh.tar.gz 6869946 BLAKE2B ee9a600d67873f129138cb3ab13b3d5197301e8cfc682f194317c8389f7115d10bab73e410116570f8f0ccfe2dc20f8f629b47c90f7b31a3df54acfacda18506 SHA512 365f975f2e982dd2d5588dc0ff435316bf6e50d272e419c01793e4d02f1a9f1e98026fc854ec73f1ee4eb0391701201ae82c7af9b18f3b677d451dd3dd78c468 DIST protobuf-33.1.gh.tar.gz 6869948 BLAKE2B 7eaa5ee84d0869bb8e0adcbee094f8893130a957a16772a9f0dae855f914c8a2957b69765601552e3630c18c567a270e31eb24e20ef1bea16082fba7e41c0d35 SHA512 1d93ba3ec5a38de4d2ad7f139ab017c5539580b33694f659fffde08aadc7ed986f8fa93eaa98462d911472031c387194982220ef9e1a0631fcb1fa7eba8ba227 +DIST protobuf-33.2.gh.tar.gz 6875303 BLAKE2B 74e09134d5a8c524f1c2c11244d41c7b26a075872fbf99a95759878cf8e6a3effaf946b7e1994f3cbdfd8a465218bd1f226278e9e6ac6b1f9a1f7d54a0a366cf SHA512 7b84fee0cb0a3b5de4b59899b12a7cccfe330b588a26bf397ec46c3ac61ce883018116f6a0ef73e621b35e7eacde1d13086317dad5cfa1066aa558c950ef48a2 DIST protobuf-5.29.5.py.tar.gz 425226 BLAKE2B 1d7461e94ba8bc097d6f52170678665e3cd97ef44e4757e6c20bcb1bdfbfe673d26cd4a63f8e6972af964e381dfffedeb9a4959ec7a7d5a3a3f87f917c8aa329 SHA512 cbb39efe7f6499362b3e4cc9f073df921c8b83d3aafde245a2ca3432f3e744a428e946799c48b2797e08312342e164eced0bf2b8865b8d042b54913855abb1c8 DIST protobuf-6.30.2.gh.tar.gz 9523913 BLAKE2B d3950abfe8b3b61dc2bb61f683b014de29451252c46b670dee75a81eb0b8ed30a3209227aa9483800244af16058469deb281521609d769a3456a798ca8a9a4a3 SHA512 f2ee857a36b49f87257a306b3f3c361770d74aaf24c4650b9d00994e1e1a0b09079fb0ce5ffb4d5a4a32d8ca46e3247d6db454918fa0b104fc8d58e8a0546a96 DIST protobuf-6.30.2.py.tar.gz 429315 BLAKE2B 6b56e23a8a962ce9da282ec49c4807877f4bfb677ad84bb6930b83cc436e9839f5791cfb19105678881c8361e27d62d3dde51e5e6c42f7a0e146d9e469282780 SHA512 48ddb2b63acc91759ba4243926c50bb0d16601aace9019129975701634b77a59415659751c69b06464afe994a0fbbd8da6640a208b743ba7df8bf6d60c5ec2b9 @@ -12,3 +13,4 @@ DIST protobuf-6.32.0.py.tar.gz 440614 BLAKE2B 615338e96a26c5a9f254b41da41598d982 DIST protobuf-6.32.1.py.tar.gz 440635 BLAKE2B 4d6c7c398378e04f130ec281234a96ef59fc34511d9c1c3153851a2623b894dc64d559e02bd8f55c9b7f82d98d43e914ca5967481dcf4eb92f7cd22aa47a4e77 SHA512 f8aeb9cdbde385e728f3006d16f26c540a5ec46f7046486b34cdf254a22acdcf6a152791517cd852cfa866809b0b79b3233757c4f898e4768d00b0d902c30776 DIST protobuf-6.33.0.py.tar.gz 443463 BLAKE2B 32d7a4e03912356836f748a6d255f171778c91f8d45718d9d1cd67c0c1e5123d74dbd2529baef13c09b022cb2555c1a0852490bde9b6aa7aeda320f062278bab SHA512 9173f832a2e285095ab2e479f7b8155e1005f38cbd385f3752ecd3f68281f1b2f530a12cd784d293263a233fdb94f5f6c5dc988e29fe3345d3e721d8d7ba2dcf DIST protobuf-6.33.1.py.tar.gz 443432 BLAKE2B caded926803516b1d9a37f3ee4dd05ba683a23fd5bfb53b3a26e6dd06a967e91da21e4fa6b85adbe568c0abc264b67de1c9d15b965606011d7f20e6a7b6096e9 SHA512 bb9eb03a4cd59f2e0085fe72b6099a8ac749b16abcf26c9ba98410dc3258559cb5fdf7a090830234d575e3d648cfeb3dce4413bc4804026227762f18daf9c960 +DIST protobuf-6.33.2.py.tar.gz 444296 BLAKE2B d91fd1164ac67c33b04a4f882aba253bd9736de61bf23c082808fa311a2a17ae6b1b26a8fcf11257127a3374e1f8ae979261f3f1ebdbd51d4b3a19f310a5170d SHA512 ee52d5d3f8726e0d86cdeb522ec22b5366ee87cfea86a679cd188857103ba040bb6f0cae956ba7e3ecc05ef7e4ad3c691ecfd99b0710e909a7ebf66108cf1b7a diff --git a/dev-python/protobuf/protobuf-6.33.2.ebuild b/dev-python/protobuf/protobuf-6.33.2.ebuild new file mode 100644 index 000000000000..abf5e3e54c87 --- /dev/null +++ b/dev-python/protobuf/protobuf-6.33.2.ebuild @@ -0,0 +1,154 @@ +# Copyright 2008-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Default implementation currently is upb, which doesn't match dev-libs/protobuf +# https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#implementation-backends + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +GH_PV=$(ver_cut 2-3) +GH_P=${PN}-${GH_PV} + +DESCRIPTION="Google's Protocol Buffers - Python bindings" +HOMEPAGE=" + https://protobuf.dev/ + https://pypi.org/project/protobuf/ +" +# Rename sdist to avoid conflicts with dev-libs/protobuf +SRC_URI=" + $(pypi_sdist_url) -> ${P}.py.tar.gz + test? ( + https://github.com/protocolbuffers/protobuf/archive/v${GH_PV}.tar.gz + -> ${GH_P}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0/$(ver_cut 1-3)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +# need protobuf compiler +BDEPEND=" + test? ( + dev-libs/protobuf[protoc(+)] + dev-python/absl-py[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + unpack "${P}.py.tar.gz" + + if use test; then + mkdir "${WORKDIR}/test" || die + cd "${WORKDIR}/test" || die + unpack "${GH_P}.gh.tar.gz" + fi +} + +src_prepare() { + distutils-r1_src_prepare + + # strip old-style namespace + rm google/__init__.py || die +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # TODO: figure out how to build the pybind11 test extension + google/protobuf/internal/recursive_message_pybind11_test.py + ) + + case ${EPYTHON} in + python3.11) + EPYTEST_IGNORE+=( + # syntax error... + google/protobuf/internal/json_format_test.py + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + # exception message mismatch + google/protobuf/internal/json_format_test.py::JsonFormatTest::testInvalidTimestamp + google/protobuf/internal/well_known_types_test.py::TimeUtilTest::testInvalidTimestamp + ) + ;; + esac + + cp -r "${BUILD_DIR}"/{install,test} || die + local -x PATH="${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH}" + cd "${BUILD_DIR}/test$(python_get_sitedir)" || die + + # copy test files from the source tree + cp -r "${WORKDIR}/test/${GH_P}/python/google/protobuf/internal/." \ + google/protobuf/internal/ || die + # link the test data for text_format_test.py + # (it traverses directories upwards until to finds src/google...) + ln -s "${WORKDIR}/test/${GH_P}/src" ../src || die + + # compile test-related protobufs + local test_protos=( + # from src + any_test.proto + map_proto2_unittest.proto + map_unittest.proto + unittest.proto + unittest_custom_options.proto + unittest_delimited.proto + unittest_delimited_import.proto + unittest_features.proto + unittest_import.proto + unittest_import_option.proto + unittest_import_public.proto + unittest_legacy_features.proto + unittest_mset.proto + unittest_mset_wire_format.proto + unittest_no_field_presence.proto + unittest_no_generic_services.proto + unittest_proto3.proto + unittest_proto3_arena.proto + unittest_proto3_extensions.proto + unittest_retention.proto + util/json_format.proto + util/json_format_proto3.proto + # from python + internal/descriptor_pool_test1.proto + internal/descriptor_pool_test2.proto + internal/factory_test1.proto + internal/factory_test2.proto + internal/file_options_test.proto + internal/import_test_package/import_public.proto + internal/import_test_package/import_public_nested.proto + internal/import_test_package/inner.proto + internal/import_test_package/outer.proto + internal/message_set_extensions.proto + internal/missing_enum_values.proto + internal/more_extensions.proto + internal/more_messages.proto + internal/no_package.proto + internal/packed_field_test.proto + internal/self_recursive.proto + internal/test_bad_identifiers.proto + internal/test_proto2.proto + internal/test_proto3_optional.proto + internal/well_known_types_test.proto + ) + local proto + for proto in "${test_protos[@]}"; do + protoc --python_out=. -I"${WORKDIR}/test/${GH_P}/src" -I. \ + "google/protobuf/${proto}" || die + done + + epytest +} diff --git a/dev-python/pudb/Manifest b/dev-python/pudb/Manifest index 597c727e0271..5bf7badf782e 100644 --- a/dev-python/pudb/Manifest +++ b/dev-python/pudb/Manifest @@ -1,5 +1,2 @@ -DIST pudb-2025.1.1.tar.gz 224765 BLAKE2B 997e1f7b905ad02da01560379de3d7a01f1089e3ec39d7282f78b783fadc2a625147ab6ed2c584cb1a9d6db24098512294d821466cd826f786812e697977006e SHA512 b4d66303226064101efc0809328bf91a7c2d86dae5aab46df128694a68943c128fe390608b774134572e0283aa6f6fc1ed4b4fe2f7ade290f9fbb017fab15a66 -DIST pudb-2025.1.2.tar.gz 225444 BLAKE2B 257cf7a72df34a6f80ba18fc79c92739e5714c5dfcba9d42da48591de6fb0289dbaead776db582d2dd47a1a8bed86b1e857946987871bc51593c9b4ba5f9d8f0 SHA512 b7dbf5fe9ab757bf7ba01fda235607eda17a44f33b9585bd48b8ae1c576f969874032dec2513c661564c913b5edf5c6611f4d29818f9a0d156c45a04b3cd05a6 -DIST pudb-2025.1.2.tar.gz.provenance 9451 BLAKE2B 91a6febccd0e406fbafc4fe2ae7574d66062b725416364eb097a5fa04faf49e0861f01e11dd15e1a2953a92bc0e44ab1e03f40541fbffa091cd2b86b6afc0785 SHA512 aca765a1a2e90e653120eeaab51f2bec1fde8e09f6884c80fb39cabda27df595936949c1d0fa1feefd76270dec19d5d90348023e2faf889742cbefb708f56e5d 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 diff --git a/dev-python/pudb/pudb-2025.1.1.ebuild b/dev-python/pudb/pudb-2025.1.1.ebuild deleted file mode 100644 index e301153f6eb9..000000000000 --- a/dev-python/pudb/pudb-2025.1.1.ebuild +++ /dev/null @@ -1,37 +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_{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.7.4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.13[${PYTHON_USEDEP}] - >=dev-python/urwid-2.4[${PYTHON_USEDEP}] - dev-python/urwid-readline[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -pkg_postinst() { - optfeature_header "Install the following packages for additional functionality:" - optfeature "Auto-complete support" dev-python/jedi -} diff --git a/dev-python/pudb/pudb-2025.1.2.ebuild b/dev-python/pudb/pudb-2025.1.2.ebuild deleted file mode 100644 index 9786a1932dde..000000000000 --- a/dev-python/pudb/pudb-2025.1.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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.7.4[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.13[${PYTHON_USEDEP}] - >=dev-python/urwid-2.4[${PYTHON_USEDEP}] - dev-python/urwid-readline[${PYTHON_USEDEP}] -" - -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -pkg_postinst() { - optfeature_header "Install the following packages for additional functionality:" - optfeature "Auto-complete support" dev-python/jedi -} diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index 5fb18b806050..57ea23f9161f 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,2 +1,3 @@ DIST statsmodels-0.14.4.tar.gz 20354802 BLAKE2B c721c5b2e7b22ad1be10099627230f7344f966a335f37757dc6bb622fedcb1e84a7d708ee25bfdde64357394e059567e41dad19fc5b1daeb3d5ee29e52a3b2af SHA512 db3bd19b8b47af453ad6fbd24449a621895e4237bbc8b7813810306748c32a3fbf005387a0e1e8db550c9c4a59666bdd50aeb49e24f0ecb86619bc90f166f5f9 DIST statsmodels-0.14.5.tar.gz 20525016 BLAKE2B ea0a76aaecfb75fe21bcd6c6df625a86745dc93d568f35fa9d8d230f216487ed311706810245ce16a86dc9cc8e465c4fd6d09f1406899838ff82b80d1d1ff310 SHA512 b36763d2ea3a1db2181838cc05834e96c9914789155b4723ee260f94a6f481fd8ea5c07294e375efd783b06d28cf9b71385c00b94ed0271189da551f562948f3 +DIST statsmodels-0.14.6.tar.gz 20689085 BLAKE2B fc6fe72d2f4016add10b25fb6aee7fe6a24187e4156534d7ae309c7f0b596b025b093ef45ad3201055a00361be4b8f42ba57dd0684efda8e01f6899b7ade3254 SHA512 5bb28aea779236d5f48743db624c048f78117456e1752414bd156f650098a996a81d882fd271fc5e203298dc941a656450f252a94b2d05e86b571e5ebb0b29fd diff --git a/dev-python/statsmodels/statsmodels-0.14.6.ebuild b/dev-python/statsmodels/statsmodels-0.14.6.ebuild new file mode 100644 index 000000000000..f8d2060bf69f --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.14.6.ebuild @@ -0,0 +1,80 @@ +# 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_{11..14} ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Statistical computations and models for use with SciPy" +HOMEPAGE=" + https://www.statsmodels.org/stable/index.html + https://github.com/statsmodels/statsmodels/ + https://pypi.org/project/statsmodels/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" +IUSE="examples" + +# NB: upstream requires building with numpy-2 but supports 1.x +# at runtime +DEPEND=" + >=dev-python/numpy-2.0.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.8[${PYTHON_USEDEP}] +" +RDEPEND=" + >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pandas-1.4[${PYTHON_USEDEP}] + >=dev-python/patsy-0.5.6[${PYTHON_USEDEP}] + >=dev-python/scipy-1.8[${PYTHON_USEDEP}] +" +BDEPEND=" + ${DEPEND} + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + 'dev-python/ipykernel' \ + 'dev-python/jupyter-client' \ + 'dev-python/matplotlib' \ + 'dev-python/nbconvert' \ + 'dev-python/numpydoc' + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + export VARTEXFONTS="${T}"/fonts + export MPLCONFIGDIR="${T}" + printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest statsmodels +} + +python_install_all() { + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Plotting functionality" "dev-python/matplotlib" +} |
