diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-29 22:43:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-29 22:43:19 +0000 |
commit | fa19575643c607e28b1572821c413ad7cb8eea09 (patch) | |
tree | 9d9b05acd34c77d7708182eac258ad26975949c7 /dev-python | |
parent | fc4ad6e568738af8995c2e87896c671c39eb8c72 (diff) |
gentoo auto-resync : 29:01:2025 - 22:43:19
Diffstat (limited to 'dev-python')
33 files changed, 1224 insertions, 0 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 4cb0606d9447..38ab18da5edd 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 119001c2f0e1..a6916eaf6c1f 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,7 +1,9 @@ DIST ansible-compat-24.9.1.gh.tar.gz 76018 BLAKE2B 581199ab65ccc884a3eeef246a8dbe527cac91fc3b588edaf1ad45e7aa83a2e77d44eab8e9dc5d7f2598b02a22fb724ccf235d25592ff8c9de0b7718b9ad5507 SHA512 d5da3cbd29bfb49b9ac68f004eb957edbfdfa303ce204e230117e9964df36c6bcbf3b47ef343d6a77b4f24c390266aebd649a8036cf9e7f29dc350d207ab7409 DIST ansible_compat-24.10.0.tar.gz 81818 BLAKE2B 78afad41dbe2172cb485186d78a488343391b5feb39f233f8584dc65ece8f290b43c8a6b0112db4606329bc5f38a9e44c6e39fd48efcb5562292152d44276539 SHA512 636ccb66be3570bf7ab0a51f991fefe3b4754db3fddb4d45ebd116de2721082e8ad4049e0cdd975431f01daaa4cb9d24ca57a97913fa66ce1f1f47780734ab14 DIST ansible_compat-25.1.0.tar.gz 87512 BLAKE2B 3547a26cd24656e6b7efc1d5250c3b224d539f08bd4fe1569aa3b2a84123baa0969cf1631d004eaab853b19ecf75a525a2baa6fd179a3737c503734459e78b2d SHA512 81b610f997b5d0fcd348a701e94bf7300175851f8c020af4129d3a95996ae61614004c8286af35f0d64887cdd6ae29ecad4aa22ddca4a9802f85178ebc21830b +DIST ansible_compat-25.1.1.tar.gz 87846 BLAKE2B b38b5dc14a085470f0fccb4c6514fdeff70229606bceec6cf334947c9e4238c42de5afeb357c386df8aab6d671e14d164c38b2d1dfda5a669cb10780c5154cdf SHA512 0132d21993dac321d73148e732e3313fe1f27b30f65a011068956d788cce862344d86094ad55a79e9be10fd8127a8b729bed8a4cc67afde7f9b73dc9306161b9 EBUILD ansible-compat-24.10.0.ebuild 1631 BLAKE2B e7ee209a3becafe42cbab5f9a44791f761e76110704476fda8e9a7fddb8f05884dfa1b2ccfe65990dbdf409a3e1808a9149a91a8cdd937dcabe82ace54d248e6 SHA512 4be39bded03f45f041f682cb1b7a585a8e471e23315df489e7be19790e2c1dadb4727ee68129a5d46cd530a4c937d02b858af040a1eefbbbcb6e4a20e46043b1 EBUILD ansible-compat-24.9.1.ebuild 1818 BLAKE2B ace93c01b61d04a32c33ccc7450cb9ceb2be8009cc5e7baa4117af835bd4bcc1aed460bd25b8e077a65ecc6a90214f00fc97aa2aaed5b8a218f273454bcb7fad SHA512 84d1934eb613ead748591fe870356122258fc328e1b5fabda2472697e3ca72655e07f31738c8e7ade5d0738ae6b8ad6c8e65d00b9822f6740bcbc188481d72e2 EBUILD ansible-compat-25.1.0.ebuild 1808 BLAKE2B 5e7b5a21edb6e5d8985dd81e6447607ff36985b2fe1805f7dd9612d9834d8e4a3eaf421576f8cada5ff99ab314f53673e046db93fbe12fad968e068430d3c5b9 SHA512 bd8989c155f750056a97666e3ad8ecb8c3e8ae444a7fe462bf4d6abc4d00e95f2d2ae3664601c115a4330d0d618322ee6f86fc4d1ce5fe16b4378291cbf8360f +EBUILD ansible-compat-25.1.1.ebuild 1808 BLAKE2B 5e7b5a21edb6e5d8985dd81e6447607ff36985b2fe1805f7dd9612d9834d8e4a3eaf421576f8cada5ff99ab314f53673e046db93fbe12fad968e068430d3c5b9 SHA512 bd8989c155f750056a97666e3ad8ecb8c3e8ae444a7fe462bf4d6abc4d00e95f2d2ae3664601c115a4330d0d618322ee6f86fc4d1ce5fe16b4378291cbf8360f MISC metadata.xml 404 BLAKE2B cd6a8ae349cbfd750d8e439a93902221cce72c0c03280ef1e99514981f6a1079bf9e16a9eaf58ad1758e83a82625b508ccf461ff487ddf8c378cdf7fd46260f8 SHA512 15330e4ae03c21f1db7a42cd9efca50a2fe60b828caef1dbb29901f39f4089d6b3a3c593ca2bd01c7873c8ff12b15227d0c8ae09450271d733cc36ff979b3365 diff --git a/dev-python/ansible-compat/ansible-compat-25.1.1.ebuild b/dev-python/ansible-compat/ansible-compat-25.1.1.ebuild new file mode 100644 index 000000000000..5d0bd8248da6 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-25.1.1.ebuild @@ -0,0 +1,61 @@ +# 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_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.18.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-plus[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # All these tests attempt to connect to galaxy.ansible.com + test/test_runtime.py::test_install_collection + test/test_runtime.py::test_install_collection_dest + test/test_runtime.py::test_prepare_environment_with_collections + test/test_runtime.py::test_prerun_reqs_v1 + test/test_runtime.py::test_prerun_reqs_v2 + test/test_runtime.py::test_require_collection_no_cache_dir + test/test_runtime.py::test_require_collection_wrong_version + test/test_runtime.py::test_require_collection + test/test_runtime.py::test_upgrade_collection + test/test_runtime_example.py::test_runtime + 'test/test_runtime.py::test_load_plugins[modules]' + # pip, failing due to internets + test/test_runtime_scan_path.py::test_scan_sys_path + # internets? + test/test_runtime.py::test_runtime_has_playbook + # TODO + test/test_prerun.py::test_get_cache_dir_relative + ) + + epytest -o addopts= +} diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index 918067ba0dc3..d33545b842dc 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,3 +1,5 @@ DIST black-24.10.0.tar.gz 645813 BLAKE2B ba53b3d38d982c81d66291318ba6ab7df75779207fea77af3a4554cebaa23061d9d22f97613faa38b869694edcf56ae0001ff27eb34fba1e1bc8732dbf0a0796 SHA512 36285528b2a3ca9b68b806cf43cf04061f80e0ad5e693c70d2dc254b59d15f41ec5c2a4328d4cda42abe005def2d86d8fc501c1649b223a225c8bddddf82589a +DIST black-25.1.0.tar.gz 649449 BLAKE2B 28045d73259780c38430838ad245a3a6545f6c55890ee5105f15121659e28dc3d3b332ddd08b7f196afcabc04d3d423b0ccf61e2a467f9ac131b9d7480e86415 SHA512 57281a678d322aaf0f2b7059aa59ad65055cb6999b8fc22ead115011d1b2e607d5cc91880369ee93a438bc266d7ebd371cd046f12d41a83383577f36a6211844 EBUILD black-24.10.0.ebuild 1578 BLAKE2B 8c3611ace46466d166f699d862993e043ab6343b8d71a446f6a0086b0eb7fdfe530afa3055bb6dcda9502b7ed85260043dcfaabdee9249a5f9ef1dc7024e3c3d SHA512 21076c24c6e2ab52cb4c46052d055ff4369aad205cc4fc124a72fc791524d9c6ba5e879cf5bc3eea076e3a10a3308cb518a29a547c3776885e554b396c2fe1e3 +EBUILD black-25.1.0.ebuild 1586 BLAKE2B 3a8c3aafd4f4d9e22cb11ed8fedee279b49da82c113fea584be6b8671d870331a664379538aa9fb1b6810ca37a5ce1b7d588f5dd85cce4e3469b06404cbfae03 SHA512 f940dab9d63a1b92ae6a2199eb8f3939e1594ab612454136f76e3bcd091f3dc44e4045d072e373acdafe6d539017365f685caf2770f06f24d8518e65a031d9e8 MISC metadata.xml 446 BLAKE2B 7d9bdbc4fdd62c1b4278a824a75dede64ccd3a4d865722a99edbd4e316342879eefa7b249c453668a5d33009e134e2feb4d1ac01976146c3e988f3724749d4a4 SHA512 0a3a912fc1d439a92452e48c9749705cd2307e645bb1274d22265656f6101574edda79cf04c03ae512818e7077e404f79fb1f70fd68d9c7cd3be3417f991700d diff --git a/dev-python/black/black-25.1.0.ebuild b/dev-python/black/black-25.1.0.ebuild new file mode 100644 index 000000000000..ebb444a0d1c3 --- /dev/null +++ b/dev-python/black/black-25.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="The uncompromising Python code formatter" +HOMEPAGE=" + https://black.readthedocs.io/en/stable/ + https://github.com/psf/black/ + https://pypi.org/project/black/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/mypy-extensions-0.4.3[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/aiohttp-3.10[${PYTHON_USEDEP}] + dev-python/aiohttp-cors[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # pytest-forked to workaround fd leakage in blackd + # https://github.com/psf/black/issues/4504 + epytest -p pytest_forked --forked +} + +pkg_postinst() { + optfeature "blackd - HTTP API for black" \ + "dev-python/aiohttp dev-python/aiohttp-cors" +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 3153bca28ad4..85b0f92699b7 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,8 +2,10 @@ DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B e333a53118122ddd70e77e3f158171507e64 DIST boto3-1.36.2.gh.tar.gz 923432 BLAKE2B 91f19eb6e1451923adbf323688d89cfadd384009fbc3fdcae688b48dee54d9a3f14956cedaed07b15f2cdc3badaf0533a6ec1e1baf5cedc88e91580104834eb2 SHA512 e9e14f4aacd0814952198d5446050f0cf822baac0b3ce3604c40dbb6b122c431624b46b144ea4699be7328f6236e099981905a4be6a9de3400750800d8d40e60 DIST boto3-1.36.6.gh.tar.gz 925646 BLAKE2B 71db3ff552033c187e19b699d193e4834649b80d2c0dd2ed35496bfef798371f7794e58d445aeeafcc3e4aef50d4dc6e17347b04ae82b4f3b7778a1a5e419daf SHA512 c638903cb3afff4867dbee7295e387f5ce91d9d3d9f37b28c103ead87883377a69fbccfce34850da5c77186ced0bb56f5dc5f4549e84871d10a9134c731d4c36 DIST boto3-1.36.7.gh.tar.gz 894133 BLAKE2B b4e8e52e02528d0268b40d430ff32068a74764bfb3028e7c533a28e51ed7c5f1bad6742b5bbb07caf20d3a3daaf58647ca6ee4557f8d55b562604ee47c9aa9f0 SHA512 2b525e9b73b9b7b4934383ebeb4aef629eeef546637b0bf69b5c4a0c8ed0c70241e0df799105952e51fe28880ee9a035f57dcd0b6445775bdc36283f076bfa9b +DIST boto3-1.36.8.gh.tar.gz 894929 BLAKE2B 7c848e09f550c7268303f48537079d8b557c5b685c1fd4097605ef039686f1191dcc253eb442d6f9dc77b623bfe402e7dc81906b9f46004dadea99ba9f326afe SHA512 e3d2fc7e3003ba7107b5430ae61962d61d8c0c7957f2654212683af39970b489cf57121392d1ffac4d44672818884e9fe01a077296586d64cafe2d18b2b96ae4 EBUILD boto3-1.35.97.ebuild 1205 BLAKE2B dc734e70568a20cdb6fa6cf96d9cd6ab94e981d2094b57e5322d9a742fc7d1c723e5b206276a697640b0cf9afa160d1b82a917f2694f3ec7a20162f784c3a635 SHA512 7c5bbcc4c8635f0315bf6ef0878c8be5adc9de82e38f15fb5c1b8ea02dc33e0c8d4a8320bb5f30665bb7c8964640abdf643525dd7bc92d3f1e5e93f92078c697 EBUILD boto3-1.36.2.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.6.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 EBUILD boto3-1.36.7.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 +EBUILD boto3-1.36.8.ebuild 1212 BLAKE2B fecfa738c561d1cc8851eef482992a276efc114e47fad372693f9e6896da4b9636b04990a1be9de221d95361e34e35026ec52d234093788354b9c2a1a10e1be1 SHA512 27684bfc9dd8f7d85b5b0dbd879fbe742454c3cd6ebe86666e3214822f42aa4f7cb4e00752aa6baacadfa2b2cb9a1d358e158ea136a6ef62acf36c9fe178ae12 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.36.8.ebuild b/dev-python/boto3/boto3-1.36.8.ebuild new file mode 100644 index 000000000000..b087a88814e8 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.8.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=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index da2d53ca75d3..d947fc641f15 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,8 +2,10 @@ DIST botocore-1.35.97.gh.tar.gz 14178448 BLAKE2B dd5f48480abe1495925215a77ca29a4 DIST botocore-1.36.2.gh.tar.gz 14197789 BLAKE2B 21441cd52052d117ce05e425c13f34941dcc1ca26a03e2e7eefb6c82584d7faffb548435ebb6b716b72db8149cfe6a3378b79f9174c676fd193c194501b0c844 SHA512 45d9515c493b238a003e5ad264b152b68a62e7ca140ea13111865a4b7c674a7b309a0f550f9782c37966b95c114136b8788f00ba0c83ed4bc61521b593376594 DIST botocore-1.36.6.gh.tar.gz 14173329 BLAKE2B 1eea293adad312439f2c60e0f73f721fa207439af2918fb5db98304a565e44d33f953f517e5526e865cbf58751892be4a6cc275545f295638109ee4051d2a276 SHA512 bcd1077bfeb5709e8c6224560f7974d70a884310539b531f520b20446aeaf3aa5d9aba6cbd19d75526d34dd7ab68be578f5ece7bddf7986997f9f5bbd5cee905 DIST botocore-1.36.7.gh.tar.gz 14176309 BLAKE2B 5ec7df33c49242dd2b1069261db0090703689c7b8be613225fae4cee2e1046d8d6884842c53482d31915c00f59323414d3e09cc7cc1b9e0e0a898c9a8c1a52ff SHA512 7de8921b70e9b068f087c7bd3b31b6c246a044a0389d1ba727ab423a2406f756fd42209f4403a79d381a5fcbc90737f91bf936386136ddaea6fb6730ef08b993 +DIST botocore-1.36.8.gh.tar.gz 14184344 BLAKE2B 6df84c80521d047d560b462a2d85b5111c20c07432f21080aebc46f4c836852825d199d442f61e497e4503f9527bde74850987b5c04102d13225f31521a206c7 SHA512 d206c1ff90b7a4dde2e23de7b4f2764991375b48c81344119d24f045cbfde6bcded3cd5c7853139b40584fafbb3a3936f79a2728efbfab79dc6b8783bfe07669 EBUILD botocore-1.35.97.ebuild 1484 BLAKE2B e69b432b70d99a29bce6a148a732df49694427d669ea669c64482ec58959f640650b02635f34a613c6a87fed9e4c199cc971b4c811e1ced6db9db1c3e4fc384b SHA512 81c31e65ddea2c9d721e540e6b63c0d76bd7f3f847d06d2cb021bc02449373268cfe08b262db804d1cf65f77bd5bef6fb25cf4a070ee106cd7a231531d6d1130 EBUILD botocore-1.36.2.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.6.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae EBUILD botocore-1.36.7.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae +EBUILD botocore-1.36.8.ebuild 1491 BLAKE2B fcbd1d768fa7cef66b459149005cdc3c61b9f4890401b522514ad892b3d580e6a81ebd848f4a03e56986500b4e609fd79e1d72a5b5fda534945535f86bed8b6d SHA512 66e5ab74feb520f3e55cd3b5285b2ed204299aa5c5ebe9d33c0cd2a4054aa61be0a140004e613d2612d60c2f33ef82d37d778bb43a5850d63da39d664dc819ae MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.36.8.ebuild b/dev-python/botocore/botocore-1.36.8.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.8.ebuild @@ -0,0 +1,67 @@ +# 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..13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/dogpile-cache/Manifest b/dev-python/dogpile-cache/Manifest index 121d5d1521c8..eacf9bcc21e7 100644 --- a/dev-python/dogpile-cache/Manifest +++ b/dev-python/dogpile-cache/Manifest @@ -1,3 +1,5 @@ DIST dogpile.cache-1.3.3.tar.gz 272404 BLAKE2B 1d28bf4293d4cbf8c5a97926458f92dc619a010f0f2fbb8242a2a6daff4ac09ec2f76faca7ee3e622d30a9b1adc7ca01d14cab0ebd5f05e0e35c5df32646be21 SHA512 80809d072167c62dcc731ab5b265c54bcc6f6a1dc09e3ea88959a34823dc0bb776b61166b8e60812dd47c38e8f23ba55c2be173d600a10c4c400c1334d0339fb +DIST dogpile_cache-1.3.4.tar.gz 933234 BLAKE2B da5de35a87dc7b308326616378f1153f46da79c28bf89fbe488b74f08604a4fab52c0720b6ba016217ae054413fbe9696c3523c3e6387bb55800c401e482454a SHA512 3b22a640b53002697ba5b0bc0cde21cd44c707a51a86cf56b4538b6913b47d73c7d5a50f6f93d80b9e90bbc28be52db746da6f4e9becf0f4415da1ddbf20f9ff EBUILD dogpile-cache-1.3.3.ebuild 799 BLAKE2B c5a242d86d30a505ff226a11ab1969935686c25d332c328505a9a79bfc467d9a2213cfce55e2965e96a5f791fbb9c0061db622a4806963e115daf7fd2a942808 SHA512 369467b2efb0a179747fb26855878401c0259d3726e4776af70cec0e668c7b210e8be8cf9cfea5503bdfba6ac000e4f83326eae96dd74a5d3cca29197fcac0f8 +EBUILD dogpile-cache-1.3.4.ebuild 782 BLAKE2B 36ac77944943a8bf2818ffb5e8be5671aad511f57c1e229c8a1f6e12f01dc65960eb7a1169218670944206b62c2ff2bfec585beccc90edd87e1151410a816dc6 SHA512 71a7aa5da65643673a36c24a0a8487ef88fd831398f3328ce006a73c9ecedf9610808e67b201f42327f0492d8f6f96a058af2c06e0bb0b5a136ea04d58adc1ea MISC metadata.xml 843 BLAKE2B e0b6ed26300c658bb3f9bdc500bd24c38f26821d3a32ce448c56e5fd129f211efd58ef0faab1a6a9114a96991514de5fb9cf53b26601cb68fedb4c43aab3cdb2 SHA512 992ae84d983cbc06969e888e298cf8124dcf6068871bd5e12dd479a70ca00f5422d8c3cc178a842a340bffc5f72a5b203ce307ccbe49a0a60c0c52a5091052d9 diff --git a/dev-python/dogpile-cache/dogpile-cache-1.3.4.ebuild b/dev-python/dogpile-cache/dogpile-cache-1.3.4.ebuild new file mode 100644 index 000000000000..65fc93d7607e --- /dev/null +++ b/dev-python/dogpile-cache/dogpile-cache-1.3.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A locking API for expiring values while a single thread generates a new value" +HOMEPAGE=" + https://github.com/sqlalchemy/dogpile.cache/ + https://pypi.org/project/dogpile.cache/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/decorator-4.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/mako[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index fce1b5779f2f..cac0f65665d3 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -3,9 +3,11 @@ DIST fonttools-4.55.3.gh.tar.gz 3894793 BLAKE2B 0b02f5d5cac5b7cdd97d4c32310d0250 DIST fonttools-4.55.4.gh.tar.gz 3895558 BLAKE2B 9769f07c110f774bc597b6c4d63b502ff3d762136cb17ae8c3a97dc9826691944db88d62f858229cac827c9c76690a504c3f53416eecfb260b76dcf2c4dded40 SHA512 dd7aa3dc6650edcae4d72472f2530bea75a8e3f11b882712c241738f7f467346a1035dda73672cc82710fc09a40fc3ad1073238b9b1ef84bcaa6fa79a44ce468 DIST fonttools-4.55.5.gh.tar.gz 3897134 BLAKE2B 7e7cd6f172e34488a095ff55341a9f6a075ad5ccd4f375d052ab3a586244923464d21a93c75af985ae81cc85bb897f8a1731fe7eabcfdf0b1f2c6bb9eed9e36f SHA512 fb2d4fb67c7778ebcb166f39651e3fceb8986844dee2ce711554e7bf0d160c458110352e922c8faf85a5514f6fc56762f82d037b0df44c3cb8b17191b827a6d9 DIST fonttools-4.55.6.gh.tar.gz 3897113 BLAKE2B f2ea39291ed57add406df285be0e3590b8a9d404049f38ad79869a7ea2d3f0e97135e5e4d93835a91825b126cb81383fa1dce9fc75db98be33704c3d36ea4530 SHA512 b14d12b21988bfbcda8b2532c9fd0072344452ebbd9ced2197fef8b0c8037fad6acb8d969473443e2d9c02df0f68eed45326179d6d0385d4921c8b95a1f7a42a +DIST fonttools-4.55.7.gh.tar.gz 3897996 BLAKE2B a34b1144133b69cbc057f3aea8f4a99290a8b5c33490008d29ee3546da975e690b959042f44117bd4496f5e523bb24b0671a415a59e741207efd19c25fd46ef9 SHA512 2c60bed9173b656e7b9f2cf3c0604b334b3e07b4d5e1f7d2bc2ec8a8e764095877e225b8801649df3551a1db3c7c9f4f65df1b5bbfdb4bf1221af122e04fe195 EBUILD fonttools-4.55.0.ebuild 2480 BLAKE2B 4b717209b380796d2c21d0bef0f246419bd51565de86cbeef0f78eee1834aff35181e6cf21baee526e3dbee547d2abe5bdd54643cdaa710956ed65ecf699e8b0 SHA512 55ff7f044d322d1ef0ee86725f9f380622a85172d0a666b0ab1568520082089b251ff95e25e7bbdffd7f37e2f5c7c70429e3e515215d697e4c1ba7372f80a164 EBUILD fonttools-4.55.3.ebuild 2480 BLAKE2B ff0046976735766eb4ee6051f0ab462c6a74f236f477ae69ed80fbb0c1f95c026fa9fa72ddbb96d5082eac742455cf787a149d4e16fb0e7d34de303bf699b348 SHA512 dc81eaa2fd1ef7c0771c2d06a1d16647f004b4fb5f2f6de550589a756405aab9adf83a7202593f2a2df2787982f8ffafff93fda907297ff603ecfc923776c3bf EBUILD fonttools-4.55.4.ebuild 2487 BLAKE2B e3c1220b3926375b1894ce629a24426c829fcf2b8e7a267916e5162abf0c851643c841b8c398b6c42be5954c4eea5b8a5e35ae98f96af2510be1b3cd37e27087 SHA512 a3f540087eb8c72c73946b1feb79566a69b58e830bcee736e5c93dbbcd9d20ffd66f6c141a4b34eb1bc120c3cb74b17c8ad41678d58a94e28d2eebb26b463a33 EBUILD fonttools-4.55.5.ebuild 2487 BLAKE2B e3c1220b3926375b1894ce629a24426c829fcf2b8e7a267916e5162abf0c851643c841b8c398b6c42be5954c4eea5b8a5e35ae98f96af2510be1b3cd37e27087 SHA512 a3f540087eb8c72c73946b1feb79566a69b58e830bcee736e5c93dbbcd9d20ffd66f6c141a4b34eb1bc120c3cb74b17c8ad41678d58a94e28d2eebb26b463a33 EBUILD fonttools-4.55.6.ebuild 2487 BLAKE2B e3c1220b3926375b1894ce629a24426c829fcf2b8e7a267916e5162abf0c851643c841b8c398b6c42be5954c4eea5b8a5e35ae98f96af2510be1b3cd37e27087 SHA512 a3f540087eb8c72c73946b1feb79566a69b58e830bcee736e5c93dbbcd9d20ffd66f6c141a4b34eb1bc120c3cb74b17c8ad41678d58a94e28d2eebb26b463a33 +EBUILD fonttools-4.55.7.ebuild 2487 BLAKE2B e3c1220b3926375b1894ce629a24426c829fcf2b8e7a267916e5162abf0c851643c841b8c398b6c42be5954c4eea5b8a5e35ae98f96af2510be1b3cd37e27087 SHA512 a3f540087eb8c72c73946b1feb79566a69b58e830bcee736e5c93dbbcd9d20ffd66f6c141a4b34eb1bc120c3cb74b17c8ad41678d58a94e28d2eebb26b463a33 MISC metadata.xml 372 BLAKE2B 950ec78bf127250847c6513c22a5108b251afdb000d361068edf9d00d64a5baf6925ba4058bb889724febb28d92abc044c29af5936a48d8e8951b12314b64357 SHA512 03e76e28959bab83fe41c3ee4b55692ced9b1360e73e38a6e8f6e5c06fd1185dcbe0214aea2edff18d248abf252c1877d0d2c2b78b8e088e606c09c34e93e7ac diff --git a/dev-python/fonttools/fonttools-4.55.7.ebuild b/dev-python/fonttools/fonttools-4.55.7.ebuild new file mode 100644 index 000000000000..0adf50c35de4 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.55.7.ebuild @@ -0,0 +1,99 @@ +# 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 python3_{10..13} ) +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" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +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 + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + } + then + EPYTEST_DESELECT+=( + # affected by a bug in PyPy/pyxattr + # https://github.com/iustin/pyxattr/issues/41 + Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest \ + -p rerunfailures --reruns=5 \ + Tests fontTools || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/mistune/Manifest b/dev-python/mistune/Manifest index 5d526eeb7223..06d930e19058 100644 --- a/dev-python/mistune/Manifest +++ b/dev-python/mistune/Manifest @@ -1,3 +1,5 @@ DIST mistune-3.1.0.tar.gz 94401 BLAKE2B e1e6f17c5aa378998bec8a8480c8b311243e067f52a9da6b451db33c639ec5a69f6d8b3c815bf9582b0b9c9a7aff3d197ab9bf477c634805eb704c0bbdaebe67 SHA512 2532565f15c1563547db131e28ea373a76dc5ab96b98a0f2f156709e625953f6f52a9e7b216e235b17ab09b282dfea8ee82c3975d9a08a0f52463b235e5589d8 +DIST mistune-3.1.1.tar.gz 94645 BLAKE2B a2b00aa0ba5df2e74817407c15f5f3c01feb2fecbcc2ddead0891a9b244f71bff5e73df2adcf80875d3d88cb23301c42307cbc269ced7e1cd2aaee67339e05b2 SHA512 2920ec4a491ea9dcfa47bc5b368f8ce267d02bc312a5c21b97c52f3d9b59e2eccf5da564c6c126b2bfc7ec6070dc3a59f5506a549e6259c9c9b08f100298c2d0 EBUILD mistune-3.1.0.ebuild 633 BLAKE2B 9ae94cb20aeaa84cdd8f0a058c9537c7f0468109a0f9c2441c62b7bdb35218a1ae9defde805db3f412313f30ff4a2d0b1e1a84e24baae421e70878cfe70f9f50 SHA512 36e954cdf14f950c159331364093518dc38de8ef21f4028237e9222e2c2a436a4be2061ed6b91b6a24a90bdebc7972c68c2e2ed373010228a7743693e61749b2 +EBUILD mistune-3.1.1.ebuild 641 BLAKE2B adfae2d8569c8260d7ec34e22b7f0134968c8863bd9672dcec26a13bab0ca91640d050bd5c97cc2195fa28f2e8a6658a90d471abe5fe731ff7e96bd9465ecb74 SHA512 3e8d2602b4fa3f263500291cb0cca316c03d20a382910e93db0db8ff17e54626c4c3b2946a20f04956f870efb0a3bc49aac7b765cdcfdd2b49e6095e9569ce65 MISC metadata.xml 403 BLAKE2B ed684a2a6de8b40c202467abc3277bfd280cff4441bd265b2ceb36105a4d3315a5147db7ec555a01c7cdd5c2ed26521254c75586cd44edbeaf0c59766800fc71 SHA512 a14b77e8fca2f7c7c51803f15a53ab82198d5a0682f7ebc53d5565e5b50d22c2ae196607da6fc67ef2c07c11a5469d394b1753546c270735dfa56a99bffc0f28 diff --git a/dev-python/mistune/mistune-3.1.1.ebuild b/dev-python/mistune/mistune-3.1.1.ebuild new file mode 100644 index 000000000000..8877d7c0ae4a --- /dev/null +++ b/dev-python/mistune/mistune-3.1.1.ebuild @@ -0,0 +1,27 @@ +# 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..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="The fastest markdown parser in pure Python" +HOMEPAGE=" + https://github.com/lepture/mistune/ + https://pypi.org/project/mistune/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +distutils_enable_tests pytest + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 8101e95c406d..336a4d43d17a 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,3 +1,5 @@ DIST nbconvert-7.16.5.tar.gz 856367 BLAKE2B d1b44e2665a4a96c2d7a78c986b93c5e9e5e12bc984f20735a03e1fb28d81b43cc7b1d6ebf0a8dad56b470e5e683c672f096c9fd98d22852f5c8fe94a9c2ce44 SHA512 703ed3e33efc2a42c8bde84829b82a8e9ef2313c1766bfc0ab642743173ade642d4a796afa9ef489ba2f58bd75fc0ce6e50009676e2ef1d3848967ddf775f861 +DIST nbconvert-7.16.6.tar.gz 857715 BLAKE2B 1fdd6397c92f281554fb528a82926e1cf03cf0d5c6c50b4bcc6d4e3ee62c54917d08cfdf879ee6053bb096cb0de4109187ec2abfc14cf628e605bf6bca01bd5b SHA512 527536700e870d0352feb070b1d4cff6fbad11503bdeff860a1fdd6e142b776dc260a60d6c3e887c52ebc83c9465df569b9d27aead53c02a42a0adb60733371d EBUILD nbconvert-7.16.5.ebuild 2309 BLAKE2B a5526f3b888dc1ecdbcf47d6bd9d9b497dea0b0d4e9c0ce097737da12d5feb2db56ec61e6655a4a17821933efda61c33a2b9a1619b5c04ea46781bd392ca8404 SHA512 29c01140c2f91773c8c35ba5cb8f07ee6109d48c75b3df5c4a7ee523eb218033ffa4d44df8291d74d80ccba59159eba142dfd483a3381903a12d1a5673e6d462 +EBUILD nbconvert-7.16.6.ebuild 2316 BLAKE2B 534100e3b0d6525f57038093b9c63662a649681f85ba6f5735db7141994a79face4bf355ec056993ce5888c762753ade6607940327389aa8dc5ab9df90daf7b8 SHA512 2ff5bb98a087e68ef453cafc463e9385c484c11b4f19f0bf37df42ca9f01346fc1fbb42e7f61d5e8ecb3893f8c3dca597b559c7f765c0cbbf648f442c4831a3a MISC metadata.xml 527 BLAKE2B a915103b3eaf57236f4257c98354a1e3733771369ac825fa8bbc4f79f0d1a23272dc86e744513620fbee37792e813a15dbb955e633a7c57597c3c38657ed05d3 SHA512 b60a311ce52915dbc12addd4a882670ac96ff8b3be2aa651eaac3d0963d6e73a72eaafd53f90fb685599504857e6bcd0568071962d7696c2605462b77260ad6a diff --git a/dev-python/nbconvert/nbconvert-7.16.6.ebuild b/dev-python/nbconvert/nbconvert-7.16.6.ebuild new file mode 100644 index 000000000000..891f16a69514 --- /dev/null +++ b/dev-python/nbconvert/nbconvert-7.16.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_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Converting Jupyter Notebooks" +HOMEPAGE=" + https://nbconvert.readthedocs.io/ + https://github.com/jupyter/nbconvert/ + https://pypi.org/project/nbconvert/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/bleach[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] + dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] + >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] + <dev-python/mistune-4[${PYTHON_USEDEP}] + >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] +" +# via bleach[css] +RDEPEND+=" + dev-python/tinycss2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/ipywidgets-7.5[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name + tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor + # crazy qtweb* stuff, perhaps permissions + tests/exporters/test_qtpdf.py::TestQtPDFExporter::test_export + tests/exporters/test_qtpng.py::TestQtPNGExporter::test_export + ) + + # virtx implies nonfatal, make it explicit to avoid confusion + # tests/preprocessors/test_execute.py are extremely flaky over output + # buffering + nonfatal epytest --reruns=10 || die +} + +pkg_postinst() { + if ! has_version virtual/pandoc; then + einfo "Pandoc is required for converting to formats other than Python," + einfo "HTML, and Markdown. If you need this functionality, install" + einfo "app-text/pandoc or app-text/pandoc-bin." + fi +} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 2a1bd54297ea..d32fdf111b6c 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1,3 +1,5 @@ DIST pylint-3.3.3.gh.tar.gz 1454469 BLAKE2B e44ee31359421c560f89eee04215c222ce6b9f1fdce97750fe118cdb011f69c2a44a0a5a870787f4cd0c647650a78bc5a01dc327d8aaa8976f89e298f26596a1 SHA512 2267e7684b464255d03366bfd7988ac74222c08903a8b93bd5bc64181b12d1386c56ebb6dd79eb5b3f6c1a71bbc60282bf388fafc37a3e2c271286bc07ff2ac7 +DIST pylint-3.3.4.gh.tar.gz 1455691 BLAKE2B 294cedc1d0ff5cf907ed847958d3067d526d7709df0ca9db2885fbd292b73d08d6b36708b1309a995790045d1eb5c55fe6d73f2bedaa6698d7fbd131dd010479 SHA512 cd99d69e3689986177320369a0b738054f92b194ff4a3f469d006de92181db1c88a068a9955dafc4df297256740f212f608b6c4bb050d25d0dbeb4c6d5466d44 EBUILD pylint-3.3.3.ebuild 2408 BLAKE2B b5d8f05f324776a1778b025488667b61b075a807c1e4f9654228679c288a0557e120d181032312e77eba285cebd9a4426752e793843b76cb2eb6b5bd56479c97 SHA512 c369d7088002e489a93ed6393c189f044b796aea8a80053ec577a0b5bbb8942cd96c1bf2ed572c27d8c7e3e2612ddca4713d12dacaa0f5d97b0b45010b2dbe0e +EBUILD pylint-3.3.4.ebuild 2416 BLAKE2B 598833f3f17bd2a17d3766d6d17d7ebb1e6764998e2b0bb7ecdf2a1b11ced3a15e2f63f2040cd7a80ab9d4f0aabd6cb6ee19bf5c156c7d217d9593bc656b0675 SHA512 ca5a34ba5e8692af5f320e367cfc43dd2659978714056b14ef7f43e6d2b216c98b4f23f239c46081a806d350f370d43992cd5b57a61c001eed6d1f5b9d158340 MISC metadata.xml 1105 BLAKE2B aa9d049b732f9198685901a0ec31f4a615da8398ce1741558e7b2c3840890da0c5ac6a2a23e0fd4cd45fb443b92f69b3fe4fb7f9d7570b1a75a0d0784231f392 SHA512 5f5bb3e31554bdc0cdcdaf1d7df9194e32da649784124714783c5d280c7ab4a9f65317b5d5e6de47698b2f30a019051191cb7ef3066902b606e2582a31f01c05 diff --git a/dev-python/pylint/pylint-3.3.4.ebuild b/dev-python/pylint/pylint-3.3.4.ebuild new file mode 100644 index 000000000000..2bb8e0492755 --- /dev/null +++ b/dev-python/pylint/pylint-3.3.4.ebuild @@ -0,0 +1,92 @@ +# 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..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +MY_P=${P/_beta/b} +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV/_beta/b}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + <dev-python/astroid-3.4[${PYTHON_USEDEP}] + >=dev-python/astroid-3.3.8[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.7[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-7[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/gitpython-3[${PYTHON_USEDEP}] + ' 'python*' ) + >=dev-python/pytest-8.3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + 'tests/test_functional.py::test_functional[use_yield_from]' + 'tests/test_functional.py::test_functional[wrong_import_order]' + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + + if ! has_version "dev-python/gitpython[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/profile/test_profile_against_externals.py + tests/testutils/_primer/test_package_to_lint.py + tests/testutils/_primer/test_primer.py + ) + fi + + rm -rf pylint || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 06735d42b42c..0bb7c0da3472 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,7 +1,9 @@ DIST pymdown_extensions-10.13.tar.gz 843302 BLAKE2B 7d4196d32abaa16b6f21ae8a5c4a651d8cc59f0eaa94f9822d0d8344b1b032cc43933ed47ec8cec05f1cb8bdfdacbeb4efb33fdb0a4215688a4fef11b5804dcb SHA512 663c22e11d06411de597febb8eb97291182f86c343e791993bbd26be475c4812b497af896620765f6af7759048e6c502420de8e79ce761deb8ad058bcd9dc830 DIST pymdown_extensions-10.14.1.tar.gz 845243 BLAKE2B f8b737229703d1cc4307c9d86ce89b0a48c206d1ae003f1ff74e11e5e607b516eee2e9ae74813a06c3b97fc2d80bda788ed092f8de4e02763ac9327e96dca83a SHA512 3c4ca5085d1d5122970d74cc79758963217f6f2ae3214112047a471acb439419b8ed10ecff150f929a091d5ee714a88a27fd476f788f8b3499a3dacab5c3d266 +DIST pymdown_extensions-10.14.2.tar.gz 846777 BLAKE2B 042f58bb2cea45e2eda604336e6a135db6b770c4acdf6f6223097ff1b9936b166889ba243169f731da52112550fac7e042f88fe981480bc61a2f9a3fbbb3f3ba SHA512 c2df8977bdcc85ae118e5dc3127d97bcca376a8d575b6f588be4e3d8a10f5090fddef3ab5bcc4fbe58dc4729b76375231ef112fad39564ec89d542c08842f52f DIST pymdown_extensions-10.14.tar.gz 844927 BLAKE2B 1b0531ad7be052a220a5d713acbfbd88f1b891f8313b8aac8ab5e44628a312622df50ccb6441508213b5b03314dfcedfdd901c4ef40b95df81f8e2294b87652c SHA512 39eec56073954a1a26d34e39169fd3e8cedb070796b6ffc682eacf4da75b4dfa308e8e30068de38f940ea7143d2c71240ea82a66cec7c8add2643312da6499fc EBUILD pymdown-extensions-10.13.ebuild 716 BLAKE2B a5c91b6c05a9cece0f87e6fb168c38e3222dd6ea89e1f04dc38581742dea2515cff6cdc02d7603577c32159f1e783ab6a3d3d17325e17b0a478d9f274abfc4b8 SHA512 b93efc2dd769c38525924abf68e6d535a3034a395e9ffb8f7bafa4b99e693608a01ebce361bfdcfb2e23cec09ba75dcea5f6171e58efe86d65137e82612fe3a1 EBUILD pymdown-extensions-10.14.1.ebuild 719 BLAKE2B 92dbe76ce386e8f944bcd36d5a8530a38b765c8ac186b5483f7b89cd4dc612e229bc3137dd2c18de93db4a4a10e9a069ca9f7a280b675a0070ae0655b77733b1 SHA512 ec2a64bd5d536481bd8da141e4a40b84cfafce63b95be74ae1fb4a8012bb56021d36e8f5b032fecbee6e47efe5a89b5ac5ccb653f6316fbf492bef1ad17efd74 +EBUILD pymdown-extensions-10.14.2.ebuild 719 BLAKE2B 92dbe76ce386e8f944bcd36d5a8530a38b765c8ac186b5483f7b89cd4dc612e229bc3137dd2c18de93db4a4a10e9a069ca9f7a280b675a0070ae0655b77733b1 SHA512 ec2a64bd5d536481bd8da141e4a40b84cfafce63b95be74ae1fb4a8012bb56021d36e8f5b032fecbee6e47efe5a89b5ac5ccb653f6316fbf492bef1ad17efd74 EBUILD pymdown-extensions-10.14.ebuild 719 BLAKE2B 92dbe76ce386e8f944bcd36d5a8530a38b765c8ac186b5483f7b89cd4dc612e229bc3137dd2c18de93db4a4a10e9a069ca9f7a280b675a0070ae0655b77733b1 SHA512 ec2a64bd5d536481bd8da141e4a40b84cfafce63b95be74ae1fb4a8012bb56021d36e8f5b032fecbee6e47efe5a89b5ac5ccb653f6316fbf492bef1ad17efd74 MISC metadata.xml 523 BLAKE2B d637dfe0f1c80870592bdeff2af5e9f7d176297ede17f9e9fdf6b8847b120cd6aa76eb44cadd1248eeff1b4a6a4800781aa0b6dd43a56072d516a7df2ad50616 SHA512 c996a2ea6886e9cff9bea1b938167860b021f99b37f7a850fb993c722976a0e636f28daf6b536c612e6f7b46fa523c8895d248bab42f0f3d65ecd41d467563df diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.14.2.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.14.2.ebuild new file mode 100644 index 000000000000..8ff34e09c949 --- /dev/null +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.14.2.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=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Extensions for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/pymdown-extensions/ + https://pypi.org/project/pymdown-extensions/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/pygments-2.19.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index cd6dff70d491..697ab191ab78 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,11 +1,13 @@ DIST mongo-python-driver-4.10.0.gh.tar.gz 1948389 BLAKE2B 19429aad69baa013226a4b36de5c654fe074bdb39a462d588a1a4298a35fd8bbf941d8189dbe632e25619fb691a960c98988e205e82796ec1572d2dc63379b2d SHA512 3153e97ad6e749a35d071ef91eb870be76d75f404526e5275cc5ab19470f09a8450debba519cb10bd79191d1b1dd8cfc04882b1d7ef4898471b14bf131fa8c83 DIST mongo-python-driver-4.10.1.gh.tar.gz 1957402 BLAKE2B 66f7c166af7c7467ca7cb20266d313e453ab485516c17e8eda5a4771b4818778c00ad314e7bd5868a95f2045f879a73617f64549db634257f1abbc7a9a095181 SHA512 200bda479cd951beef6234a15120a043b4399cadd8ef2fda69bfcd6904e1e0e43d179626092dc81d89f48806768bf8147c55108c91620920f5544f712bf3be51 +DIST mongo-python-driver-4.11.gh.tar.gz 2111008 BLAKE2B 0f65410b5eead108dec0016c23c3e004251ab2db04f3a7b2a31a8757abdddf526cea695400c8cdf2bb4f7fc8c711ee4d2e5f883d0db8b309843a71e194e75016 SHA512 454109e9c9da8fec6785f50e34dfe253f9fd1a82d69cadd5c0366590c6ca6aeac180f16a0e011f855e72c6a949a0cf06f477c7396d4c9f4da6f936646a5d8c20 DIST mongo-python-driver-4.7.2.gh.tar.gz 1548375 BLAKE2B a40dbe153f36cdf2836583aa0116f447d08376ce7980a09d0f21cea37a34ab318e5ff0b34b7fe1721cf7fc5d5443a1dbe0982d59cb941b0da8a4a99abdc7b19d SHA512 1de8bd14301e365eb53252dedaaaf8c9056dd534662543e2a500511e5f5f67a69e1f11a8a8575efdbd8852bb47b632d59762f66024d32973d20dc17c4448b9be DIST mongo-python-driver-4.8.0.gh.tar.gz 1550149 BLAKE2B 9462480b17f3da54918883fbcb28a4324e6a00a9c2c34b16267ebcd378170f7fd34ec7290f7a0e3c4c38a5f1f803428cb6a0c64a562d956b3a19c37130697012 SHA512 17513a278187424fea1876d288651e385be759f23eebceca8d04a15182b15ffd64956193bb53e4a90e8b2197c2ebbade274737091f5d2e5fb4398539674c41df DIST mongo-python-driver-4.9.1.gh.tar.gz 1937311 BLAKE2B 9312c7df50f86dad7dd713b34aba0a87dd9f878b115b3c00ae9e0825c883c869f57e0d55d552b1b4bf9715930840a540572b451d296e185085c4c0c707855811 SHA512 e616418c90088bfc328505dea315a225bfcc942fa29dcc348d3b80d0fb329b7e8fe9d6164c0e13a0562e6126535cc7d04c2cf497a39a04071f6db8af3c8ed1f1 DIST mongo-python-driver-4.9.2.gh.tar.gz 1941838 BLAKE2B 07ba597eae08cd1116e0aa42e5c9e8af0024d69d8ee4acc33cd84a80cd9df77028a2b2bc7a1d6563ca1ebe485851d0483c804bce944dc9f1f5ed48b44fe9ae7a SHA512 40fdb22ef5c602e96f735b948fe61fd1a325f51f264087027d58319eaa382f37638cf1d0dabaaf9c0a4f556698638b26bdc5431c9147a245b7b4e515b7b7aac9 EBUILD pymongo-4.10.0.ebuild 6852 BLAKE2B 8f7f4d5d2f2899a5156b930223e699c9c150bd86521d97a57dfd00a0d4393ecb62a1b818457844c1caf24cc95591853b63427058fc61c924384f174933414db6 SHA512 f79923f2a0e3e64df6fcaa8512cbe417d1f62823de148fe12d6b4a9f3293774d6ed1ff745097c86dcb997f009262452ee2506afecfd63bd6d81428e42fff9c8e EBUILD pymongo-4.10.1.ebuild 6858 BLAKE2B adade6fd0fca5a17b98aa90f9d1c914cfa61a2cd9b303ed30e561a83bd53f0cadac92847b401de039b3cf38f2d5b33bb4583c0ec3c88b13b2fd42bcdae35a043 SHA512 7be791293a29b142b6513cc6ee50f25311c87cbba5a937c09f0dfd8f4a1d4bdb050f603bb5b90c39ff723b105100c45566f432c33ca95324b609d77a6e269cd4 +EBUILD pymongo-4.11.ebuild 7066 BLAKE2B b4c5eb835af74e39f51f546d9abdce407336137d15469f4efd79637dbf03cd406991ad9225a7156b9afa9de3e81303aa8c76e920a1c8be7dc3468d6d63c559b2 SHA512 2c0a4b8b674c9fc337220c035369f1e4406ba15addcd8e48f8f127bb75fc88d5d0ef11ba4319a4428e549ced43d18db07f84e45349b8b69931a690d50943f499 EBUILD pymongo-4.7.2.ebuild 5267 BLAKE2B 1045523964d4f0482bb1fd5c57841684479dae05b9135f873008d41de4163834bbc1d6d0249e183aec0e5f7751ea7740d2dc05ae0ec69048f1b24e5d1f215675 SHA512 3e19264bd6944e334d673ac0303e738dccd61b68e9b9d7e9cdd06eeea811d52cc5206d4e8ff57e88cf928ac5b47cc69a77bd5dc18aab801b2db8dcbe894f4456 EBUILD pymongo-4.8.0.ebuild 5839 BLAKE2B add017703bd0be4c70abe7791ed3cf19453ab63f04d61e0b8139e6f59677ebaf002118b0e055ac23cb4e56c67033326abb16c73d76827698719e10900cebb90e SHA512 6e4ec05b25bfafd953d8254b6ceaf28fa5784cda21af76a9b27329af2a909aca7d43d242514b1b2dfb7db294e43eee17c15ad26bd73ed0c4fcc382e9cc7205c2 EBUILD pymongo-4.9.1.ebuild 6852 BLAKE2B 8f7f4d5d2f2899a5156b930223e699c9c150bd86521d97a57dfd00a0d4393ecb62a1b818457844c1caf24cc95591853b63427058fc61c924384f174933414db6 SHA512 f79923f2a0e3e64df6fcaa8512cbe417d1f62823de148fe12d6b4a9f3293774d6ed1ff745097c86dcb997f009262452ee2506afecfd63bd6d81428e42fff9c8e diff --git a/dev-python/pymongo/pymongo-4.11.ebuild b/dev-python/pymongo/pymongo-4.11.ebuild new file mode 100644 index 000000000000..05670517ffe8 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.11.ebuild @@ -0,0 +1,237 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + # we do not want hatch-requirements-txt and its ton of NIH deps + sed -i -e '/requirements/d' pyproject.toml || die +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + export NO_EXT=1 + else + export PYMONGO_C_EXT_MUST_BUILD=1 + unset NO_EXT + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf bson pymongo || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # network-sandbox + test/asynchronous/test_client.py::AsyncClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_logging + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_warning + test/asynchronous/test_client.py::TestClient::test_service_name_from_kwargs + test/asynchronous/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + + # fragile to timing? fails because we're getting too many logs + test/test_connection_logging.py::TestConnectionLoggingConnectionPoolOptions::test_maxConnecting_should_be_included_in_connection_pool_created_message_when_specified + + # hangs? + test/asynchronous/test_grid_file.py::AsyncTestGridFile::test_small_chunks + + # broken async tests? + test/asynchronous/test_encryption.py + ) + + local run_separately=( + # need to run some tests separately and then restart mongodb + # to prevent it from crashing + # https://bugs.gentoo.org/934389 + # note that this list must not overlap with EPYTEST_DESELECT + test/test_bulk.py + test/test_change_stream.py + test/test_collection.py + test/test_crud_unified.py + test/test_gridfs.py + ) + local run_separately2=( + test/test_command_monitoring.py + test/test_connection_monitoring.py + test/test_cursor.py + test/test_database.py + test/test_grid_file.py + ) + local run_separately3=( + test/test_gridfs_bucket.py + test/test_monitoring.py + ) + local run_separately_async=( + test/asynchronous/test_database.py + test/asynchronous/test_grid_file.py + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest -p asyncio + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + local stage failed= + for stage in {1..6}; do + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local async=( -p asyncio -m default_async ) + local def=( -p asyncio -m "default or encryption" ) + case ${stage} in + 1) + nonfatal epytest "${def[@]}" "${run_separately[@]}" || failed=1 + ;; + 2) + nonfatal epytest "${def[@]}" "${run_separately2[@]}" || failed=1 + ;; + 3) + nonfatal epytest "${def[@]}" "${run_separately3[@]}" || failed=1 + ;; + 4) + EPYTEST_DESELECT+=( + "${run_separately[@]}" + "${run_separately2[@]}" + "${run_separately3[@]}" + ) + nonfatal epytest "${def[@]}" || failed=1 + ;; + 5) + nonfatal epytest "${async[@]}" "${run_separately_async[@]}" || failed=1 + ;; + 6) + EPYTEST_DESELECT+=( + "${run_separately_async[@]}" + ) + nonfatal epytest "${async[@]}" || failed=1 + ;; + esac + + mongod --dbpath "${dbpath}" --shutdown || die + done + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 3c30dc027ac9..f34f80769f1e 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,3 +1,5 @@ DIST pytest_asyncio-0.25.2.tar.gz 53950 BLAKE2B 950cbaa50e2bb8a66cd2396e7e6b5c0c97e2cd0272381b0de23f3668dea2f663f9eaf0c92ec91c474cd1dc44f3aeae77dac1e347ee86cefb518850d9985d2e7a SHA512 d19e2de9ae27cfedc06580ffea21b8894054c35e62601a01487d485ece906f765640dcd9fb633059925701f082644c424b7b532a91e978b8c099192e9a324f6e +DIST pytest_asyncio-0.25.3.tar.gz 54239 BLAKE2B 212df50fea5830e9c6f67389cb3108e0dacfc31ac692dc136e9d5d87f5bc8a350ad9c1f3d5becd724ba5d8f4c8ebbdeac7e385c0a2b098b54090029dbff863cc SHA512 8144b636ad77af0ecadf81ff5be396e6706d8c206772953ffd2a62c9889094ff55e3f14c9bbd615a9d58cb192e61385d0ffcb1b56524422376d214154536b532 EBUILD pytest-asyncio-0.25.2.ebuild 1354 BLAKE2B 9a663a820825bbef037d0f1aefa006e34f425508e0dc5753871c4f033fcfbd5c10e8cb0d70c2480d249971a12381e7006302349753080d7d8e166173f285d5fd SHA512 33e0befa15abd98a77bb0bf2d617bf691b1bd1d2685bf2b0d8cd897441746a402b6406a1ebe5bc6fd7e4e611e37c215ddd9e47f69af126028cb29cb46043d5b9 +EBUILD pytest-asyncio-0.25.3.ebuild 1581 BLAKE2B 4b0de5f01b8f9157a9ba1d7df106699cbe36e46cd1d3d6a1e08291146a5deb72e175b26f0e110e695416cd170c0ed5bf6929161f94e7fde01822336c8a386372 SHA512 2e9aa0951d7ffd3f958694d9bb1e5675c6c34996639050d1e0a29b26dc3ab27c45b454fe0ba5cf61840598d4be09c51007f92b0d64a613650f1603c918c217dd MISC metadata.xml 385 BLAKE2B 3d8faba48e1b3e531ea338f08f2de4b7bf637190e65fc61df2bd4d994cc97707016f83927f4a5181ac27d412a8c91255e90caba15f2d687f2339bc8ea61b18f2 SHA512 71178d3fba362e7532c87cb519f3661b25018771b86c302660de11f1bc7817b8352a2c8fcf60084a5e62b15148307a360267381ac38e8c856784034d80327d4d diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.25.3.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.25.3.ebuild new file mode 100644 index 000000000000..f749d75f005c --- /dev/null +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.25.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for testing asyncio code with pytest" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-asyncio/ + https://pypi.org/project/pytest-asyncio/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/pytest-8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/hypothesis-5.7.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # rely on precise warning counts + tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture + tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture + tests/test_event_loop_fixture.py::test_event_loop_already_closed + tests/test_event_loop_fixture.py::test_event_loop_fixture_asyncgen_error + tests/test_event_loop_fixture.py::test_event_loop_fixture_handles_unclosed_async_gen + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed + tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin + epytest +} diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index f0a06c0017af..ab5197f43f32 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,3 +1,5 @@ DIST python-socks-2.6.1.gh.tar.gz 32352 BLAKE2B 0bfc85bdeb6aefab34d307a6956171fad8b0876f49959bfc91193c864ba8ed7d05a1efb4f052202d99984aad7bb9bfc8472e2853d57b5812156dec6ee791a04e SHA512 2e046849a66125ddb14f887f84354e56f689034695a48532cbd4d4a1ef9508212c30e34faeb3b318ceede32a0604d62f92ca92cfe14b63c54a42fd5c1cfafbc0 +DIST python-socks-2.7.0.gh.tar.gz 32361 BLAKE2B 603e9782ee2998825bbcff012e1eeba7e404f13112544c6db97e5baf31ac79cb9339d98642c20a56fc5a1ef7da4a60687e663770ec0c145015648c07f99c341d SHA512 0244a6111ba37341e06210422af1df5946edd0e87616647aa2bbaf0cb82c363db3489eeddbd2111cbb76a126b5d629a2426776316b7ea68a17d3aa4fea2901f1 EBUILD python-socks-2.6.1.ebuild 1327 BLAKE2B 2863b27a06a561c7a67c489a3412ec53d7ac0f288633fbe457c993a792ade2d05c0a1b2e78c8bec44ffbccc4491d6519c825ea5a0e2179d0d871655c4f9ccd89 SHA512 c824b3f5ad21ba8a0500cc96565da85b872663caf43af7599e9a39c3ced5001a1837846b461073358c39e19a6274b3164b2abb91221ec7d3c04e63050618c5b9 +EBUILD python-socks-2.7.0.ebuild 1335 BLAKE2B cf8a94496ea5089591bb25f7f0164d5b6699314409a321f5459a65a06fa0c3d8c02fed8944735ff632f13a853f8fadecab7c4f33195a1c57e579b362e740aca0 SHA512 451fcd62ec94f1878c6523a11c053aa84432190852ce18c8b9f9c8d24aa71f6e9ddadd55c722c8c01e242023fe415774127aee91099be05c410cda835bf97379 MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a diff --git a/dev-python/python-socks/python-socks-2.7.0.ebuild b/dev-python/python-socks/python-socks-2.7.0.ebuild new file mode 100644 index 000000000000..841c4392d877 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.7.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://github.com/romis2012/python-socks/ + https://pypi.org/project/python-socks/ +" +SRC_URI=" + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# curio is not packaged +# asyncio is the only backend we have, so dep on its deps unconditionally +# TODO: revisit +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.24[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}] + ) +" + +# Test markers exist to exclude trio etc if needed +distutils_enable_tests pytest diff --git a/dev-python/sphinx-notfound-page/Manifest b/dev-python/sphinx-notfound-page/Manifest index 0d60959fe536..da9c3e3a938a 100644 --- a/dev-python/sphinx-notfound-page/Manifest +++ b/dev-python/sphinx-notfound-page/Manifest @@ -1,3 +1,5 @@ DIST sphinx-notfound-page-1.0.4.gh.tar.gz 544117 BLAKE2B f8155167183fa3d6487cfd9f93eff8a99dd3253ed7f44632ca822b9da3d0b409a6897edd4f972fc9535b4759c2ef976c5f66daf85249ba9de4c83ae96ff65d7a SHA512 d6643e29768b31834c73302f8995cd92c052b2a51a4ecffc997f4ea4d15cf830c17a2f538fec637b1a3a7e187fa787252652b5ab8ce0ab92f44996a63669b504 +DIST sphinx-notfound-page-1.1.0.gh.tar.gz 544169 BLAKE2B 4a5aa18f0b566e43f2e9a5c0a25e8a19487a626430bfa53df75a573db09e943edd8b33d9948d983a7e6e07807e9e4257c241a6b63818d7d35a93aa4620c29e4c SHA512 4f6868e68e821f02020104aadc38c3b8d4e4f16eec8fc696e076ef13a49a3675560a8c90f2d0a1d5daf8ef4bee85ecfb61b2c03882c7be3aca000d34e13d5e68 EBUILD sphinx-notfound-page-1.0.4.ebuild 1371 BLAKE2B b84e59cab13b6d6d43ce3f7ccd9bcbae7f8aba2eb418df408aef17c6d9a553ac501b16320493e481dce6efbb38c0f3cb5d94be693fe856533fd38147ccac32df SHA512 fcece41ab826dc2b691e3cbfe3a0102588c7592236e39e0e2847063e0c30c027743382fff1062a53f81c753eba6c89e497b3419ded003999aa0635cd18105fe7 +EBUILD sphinx-notfound-page-1.1.0.ebuild 1379 BLAKE2B 8addd1b44a088bcb26e5af113750eee7cc2b150068b8ab25bb2d532cf5d555addec119921116e502dec3844a55a716e83de4c46aaf0c6e92b2888b07f9e49125 SHA512 7720b8053c71d721277ed2c4bd0ef4f19a682dc5cc9d2638929c939a6057f228b84215873bd2d682fc52a38bd2425d9c4c254de90203e49f50ef26359179d007 MISC metadata.xml 651 BLAKE2B 7b4c1c58782b6a1e6118744d4933d8bfc1391fef578350f9622dddfb911a4319be8fc2cd2a297d5ac84bb97249d520a1cb740ed00d6314cb3cbf1dce5c119dfd SHA512 4b531fde722c6f0f0709405669efe61cfe2fd14e52f627ee67001b81d5268444b226630f55c6dc6a149ea86699379289368826429754abbad6cdaf36f1f4a673 diff --git a/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild b/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild new file mode 100644 index 000000000000..cc9efea474e2 --- /dev/null +++ b/dev-python/sphinx-notfound-page/sphinx-notfound-page-1.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Create a custom 404 page with absolute URLs hardcoded" +HOMEPAGE=" + https://sphinx-notfound-page.readthedocs.io/ + https://github.com/readthedocs/sphinx-notfound-page/ + https://pypi.org/project/sphinx-notfound-page/ +" +SRC_URI=" + https://github.com/readthedocs/sphinx-notfound-page/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # calls sphinx-build directly, works around venv + tests/test_urls.py::test_parallel_build + + # broken upstream (mismatch with new dev-python/sphinx?) + # https://github.com/readthedocs/sphinx-notfound-page/issues/249 + tests/test_urls.py::test_default_settings + tests/test_urls.py::test_urls_prefix_setting + tests/test_urls.py::test_urls_prefix_setting_none + tests/test_urls.py::test_custom_404_rst_source + tests/test_urls.py::test_urls_for_dirhtml_builder + tests/test_urls.py::test_toctree_urls_notfound_default + tests/test_urls.py::test_toctree_links + tests/test_urls.py::test_toctree_links_custom_settings +) diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 2304b166842e..afc1d2cf56a9 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -12,6 +12,8 @@ DIST uv-0.5.22-crates.tar.xz 53858800 BLAKE2B c5b6ee71e1e8dfbfa053f6c0d29515c8a1 DIST uv-0.5.22.gh.tar.gz 3302316 BLAKE2B 13cb21c5c1b3961bb5d34e744e17580ec45a9dc22f22d1d589109d9fb3378aafe882f551855bde8050778e49784e3748ebf9f90eaafc3d64571974d34d235a68 SHA512 57b84f8da8867e013d3bffd581f3d2b7bc730ab9dcccc2020e00a4f4c8c5848546461a8c15ec06581115aabc0b765db2ff2ab7048aa15bf485d0fff2c130d546 DIST uv-0.5.23.gh.tar.gz 3311484 BLAKE2B bf7feb6d34a39358326a7a13053139179ca1d636b414286204180e1d0d314d6a38dc823e1d29321f815886155c6ee5c207402f2a77984573ca0ce32670370951 SHA512 483be9e257169a3818a3a6e923601c9ff50654e23d30968253229cb11aed12f1d553e33133d1e58d77e6ce7cb7d5909dac61601d978199e2ba0879bf2e4aa658 DIST uv-0.5.24.gh.tar.gz 3319136 BLAKE2B a75ca99fcd1f5ccefc0e22e421b1f9da0e01a394a5a9015a364dfdf775240210e58098fa3996ba1c190550f2ce33aadcbe2395b689cb2b77726b9af3125ac7c7 SHA512 9cb55bdb163c491b0fd1fe9d9a2f41d8e64b5b93e4458a4fd703191e19b8babf03196a544266c72fff2a7af1805a60cc6fa405d0397fb9a1a51c71efd75df85a +DIST uv-0.5.25-crates.tar.xz 53882356 BLAKE2B b0762449534ccf0be33d2c4d50fd9bc01823c6aeef7b82a84e4dc49e3ce92272f62632608664614d62dc5e0f40c500e3b3ca3ca0388761f3c3b50b89d0f83a42 SHA512 ec7b64d5b40d20d1d5081819b895cc18a69d008e6b27f40cc147573b99f8fabf11ee83c60a389791ad8a844a8c0965da2dd1be500f4c2ce8860724a41c37ece5 +DIST uv-0.5.25.gh.tar.gz 3329902 BLAKE2B a097fe18caf664a0b8bb7298027e36bfea01b81cde62be0b54a8668b6e97213dd725206f61d3005b3499a47e321dd1173f786730597104e0563b31903a1ae22d SHA512 e215726e647bb205b61ca206a951e9cd8013ba5e33e2e59eb3f2fdfac8de0321e9e1fc1e045eaa9f3069a255631dc93be3ae2f641268a30b2ce040b0c951eb7d DIST uv-0.5.6-crates.tar.xz 46263172 BLAKE2B 73b1d2dc957f89f923dda09a8c038426041292c442ce253ff9110f996cd1e1f892a5a438d8e1c894fc0d823401cced0ddc8ad88b5e6a83199af7055a04ce85dc SHA512 c9d4f8085416bffb1e1872fd907d15a50cae0c0c5fba994d27b3acdc3c836dffd771558246573af4bb7467353a031ea56018d5ae1fbdffa4f63988462de00343 DIST uv-0.5.6.gh.tar.gz 2952255 BLAKE2B b815b60b99f959751f5839365b8b210919247ad99bff93ee4d202bc152bd06b83a62914cfbf341bfddb5b2c87d9e546c5e2a6d1baff1599d0218160ee89de504 SHA512 fc8c7f4f60a3d2ce997341450daf20ad039ef379ac5dd4575f8db0327284bd8278419b66f8f9695f2701a9579ab004b5b60476bd8dc4c27314211f795118bc5a EBUILD uv-0.5.15.ebuild 4334 BLAKE2B ff82d759cf6c62656d664b8e540fe251f4326926860bb8f85a6ce09256906247d2dbb680ef0a3cc4dac5011ae8377ce008b3f64568f273cd6626eba797fbf8e1 SHA512 4fa4c9a5987ebdff340e7aa8d60525444586bdd5a9420dfc5411cb31f72bfecdd12ee0a54a8ec66973104ace5856657bd9cf86c7be951bdfe5924ebe4890dbac @@ -20,5 +22,6 @@ EBUILD uv-0.5.21.ebuild 4340 BLAKE2B d2e2840ae6782f3b7e00dd04fd753ff44e7d60830d5 EBUILD uv-0.5.22.ebuild 4339 BLAKE2B e76c137fbe10e67bb68138cb6e127a9628fb30f1f304337f0f7940ff0c3da8c673c651e9841d88c87ba939d51232432fddb076571cebf60bf9df344c5b1bf002 SHA512 335ecf516cac2c4270b12168894f7de6a8ec2d205f43d0c63eb61f6623268ce988de2b39c6c24595db69dffcf39407886551673624fa28a28ba4821e4093519f EBUILD uv-0.5.23.ebuild 4340 BLAKE2B 454058371de0705fe14a83146695230a3ccf8507df58a061e8ca69ccee0e29a57df88b0b415d09bc34e738894ac4ff60a9005591b391dd8738069618e68bb710 SHA512 eeaeb999f49641a8d2e541404e1cf0017889db8d37d08e4ffedfa54154121bbf565706a9c31a143a6a3106727b7923a8902adc5eae5e75244962a31fda4837a0 EBUILD uv-0.5.24.ebuild 4340 BLAKE2B 454058371de0705fe14a83146695230a3ccf8507df58a061e8ca69ccee0e29a57df88b0b415d09bc34e738894ac4ff60a9005591b391dd8738069618e68bb710 SHA512 eeaeb999f49641a8d2e541404e1cf0017889db8d37d08e4ffedfa54154121bbf565706a9c31a143a6a3106727b7923a8902adc5eae5e75244962a31fda4837a0 +EBUILD uv-0.5.25.ebuild 4368 BLAKE2B a91cfadf51df117d191d2eaca734848221e2b1ca8f794be8124771ee95a63098f1d2e2fe373f818d3a8360e3beb06a6e554da7cc0af29ff550a4505e15135a1d SHA512 170c0c046f493e9dc97f080c0b0a58c50171a5cbfec9ee274e9f237ebd0c4046f0baacf5569e776d827d41ca7b3ea2770d4a2595e6b1e47c54a696bba6fe658d EBUILD uv-0.5.6.ebuild 4330 BLAKE2B a3e3a8bf1902c43d9ec15f0eed696f3d1a00b68f7668378dc0d42cf8f55c7603ad45b88a8c3e545b92b7836762ac3bff1df5c5cb45a75b79f3767129d288ae31 SHA512 2345ff40864b7e3e633ef1acbdd861c5ca7bf10de1d90f6542ab5cd46ad7571f59369b76335ed279fdfd6d3e0f859a5b563389b532087efe2d3ca9d5f5094abd MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.5.25.ebuild b/dev-python/uv/uv-0.5.25.ebuild new file mode 100644 index 000000000000..2baf935b5931 --- /dev/null +++ b/dev-python/uv/uv-0.5.25.ebuild @@ -0,0 +1,170 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%' + [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' + [version-ranges]='https://github.com/astral-sh/pubgrub;648aa343486e5529953153781fc86025c73c4a61;pubgrub-%commit%/version-ranges' +) + +RUST_MIN_VER="1.83.0" + +inherit cargo check-reqs + +CRATE_PV=0.5.25 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/uv/releases/download/${PV}/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-3.0 Unicode-DFS-2016 ZLIB +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +DEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + app-arch/zstd:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + !!~dev-python/uv-0.5.0 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space + rust_pkg_setup +} + +src_prepare() { + default + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys? + + # remove unbundled sources, just in case + find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die + + # bzip2-sys requires a pkg-config file + # https://github.com/alexcrichton/bzip2-rs/issues/104 + mkdir "${T}/pkg-config" || die + export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}} + cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die + Name: bzip2 + Version: 9999 + Description: + Libs: -lbz2 + EOF +} + +src_configure() { + local myfeatures=( + git + pypi + python + ) + + cargo_src_configure --no-default-features +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + local -x PYTHONDONTWRITEBYTECODE= + # fix tests failing because of our config + local -x XDG_CONFIG_DIRS=${T} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install + + insinto /etc/xdg/uv + newins - uv.toml <<-EOF || die + # These defaults match Fedora, see: + # https://src.fedoraproject.org/rpms/uv/pull-request/18 + + # By default ("automatic"), uv downloads missing Python versions + # automatically and keeps them in the user's home directory. + # Disable that to make downloading opt-in, and especially + # to avoid unnecessarily fetching custom Python when the distro + # package would be preferable. Python builds can still be + # downloaded manually via "uv python install". + # + # https://docs.astral.sh/uv/reference/settings/#python-downloads + python-downloads = "manual" + + # By default ("managed"), uv always prefers self-installed + # Python versions over the system Python, independently + # of versions. Since we generally expect users to use that + # to install old Python versions not in ::gentoo anymore, + # this effectively means that uv would end up preferring very + # old Python versions over the newer ones that are provided + # by the system. Default to using the system versions to avoid + # this counter-intuitive behavior. + # + # https://docs.astral.sh/uv/reference/settings/#python-preference + python-preference = "system" + EOF +} diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 6aa17163d51b..e3e195ebe88a 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1,5 +1,7 @@ DIST XlsxWriter-RELEASE_3.2.0.gh.tar.gz 24079667 BLAKE2B ee6f35d2df8edef3a1282bd821b1eaa3d3a79bb9d962df9d50394519905a0344e0b747a58d3bf5fc1323baefde3b9e11a2c5e7e77be2cc02bab716b0a3cf3226 SHA512 b36ee896d01e5a6369f4f42e69338b69b9ea5ee4919eea9361c0f5f6ff012ca153c708ff1c719b82ce067c5d57392e3b72c47e828a7e832953d0c06de9f65962 DIST XlsxWriter-RELEASE_3.2.1.gh.tar.gz 24307679 BLAKE2B 8e547b21c04c46159de9cb4f2bb75139b372287264714114b01d649ab290a9595ee8f36b82f976d4ec015cccd23cff4e57ac04c611b8553c0d1963d98886ed6b SHA512 510195ce7b008fa341a2fee5e0bb71cd150f853dddd6f5af6b5fd3a1090d64c9b14fbd4eb05c55a32a6a451fa0fa9471f15ee14a7d808d948479106510ae43d3 +DIST XlsxWriter-RELEASE_3.2.2.gh.tar.gz 24656384 BLAKE2B b1b7313d0b486ff1e612102a67530ac96ae672a577b2c2cf23be65e1a0d8a0698ba6060c127b3d45afaa7691a8f03f82352ada9cf3aff98771bc7537622c6d69 SHA512 21fa5e550123506e0777dd849aacfd0c2177a4b0f79c675a55361693c286d03a100cf09c29c4a434a7d9e43825d90506ed6a4f3beef36c054cd0fd805a7a9446 EBUILD xlsxwriter-3.2.0.ebuild 757 BLAKE2B f4b03334c8741453dee759c3e00f6a70f898a244860739ed4a3bd0a782d7d5871e91ab0e6f7872dbb5011751b057ef8b46531a8a5579fe32e951306f2e9367e9 SHA512 a6d78b59b498512adbe28c8854c3c8f9a43b09981f3936a1cafa8cac4504bd4e4e8d1ca6baa367e9f82d09761ca02d861edd5f1a1ac9df9088d4ee9976560c9a EBUILD xlsxwriter-3.2.1.ebuild 763 BLAKE2B dff3b9ffc3864b1172c62faecc6e3220a514a3c7f3fe6cda10bec0ff53213f9800155cef8ed1dc24025391f2c190b774c3ada45f7d0ff21c12cbc0a55f24e31c SHA512 7f765d37fc0bc5cd7ccf6ce12acf5d3a6b3d145810356fbaa40a43b861050e7f70272b284fdfd0749cd4beb2d740f15b5174b84e4f5a9274850ba1d6a1bc593e +EBUILD xlsxwriter-3.2.2.ebuild 763 BLAKE2B dff3b9ffc3864b1172c62faecc6e3220a514a3c7f3fe6cda10bec0ff53213f9800155cef8ed1dc24025391f2c190b774c3ada45f7d0ff21c12cbc0a55f24e31c SHA512 7f765d37fc0bc5cd7ccf6ce12acf5d3a6b3d145810356fbaa40a43b861050e7f70272b284fdfd0749cd4beb2d740f15b5174b84e4f5a9274850ba1d6a1bc593e MISC metadata.xml 411 BLAKE2B e41e1e6dddecef73fff1c0bd74d51b023694ea6eb162022679a2939819f5c3339b1e76d00e25f761c46f66d323a5ad7085ed86fb13fbe3f53526c75004a68e93 SHA512 63242ff274e1dde596e50f9360e1247084b7bae05cd42d60605700c49e33b53849529578cf532415b899bd2ccd04066f99e97c6e80d53c13f71522a041579976 diff --git a/dev-python/xlsxwriter/xlsxwriter-3.2.2.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.2.2.ebuild new file mode 100644 index 000000000000..60c7b3e4d0cd --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-3.2.2.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 +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +TAG=RELEASE_${PV} +MY_P=XlsxWriter-${TAG} +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE=" + https://github.com/jmcnamara/XlsxWriter/ + https://pypi.org/project/XlsxWriter/ +" +SRC_URI=" + https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.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 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |