diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-28 22:42:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-28 22:42:59 +0000 |
commit | fc4ad6e568738af8995c2e87896c671c39eb8c72 (patch) | |
tree | b56fb204081c089b8a979d01e8badc2c819f8cf0 /dev-python | |
parent | 417348c68a53a9317b6afbf343381518a405f682 (diff) |
gentoo auto-resync : 28:01:2025 - 22:42:58
Diffstat (limited to 'dev-python')
36 files changed, 882 insertions, 364 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 23e808db0e91..4cb0606d9447 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 ea4acc8bcb25..119001c2f0e1 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,5 +1,7 @@ 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 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 MISC metadata.xml 404 BLAKE2B cd6a8ae349cbfd750d8e439a93902221cce72c0c03280ef1e99514981f6a1079bf9e16a9eaf58ad1758e83a82625b508ccf461ff487ddf8c378cdf7fd46260f8 SHA512 15330e4ae03c21f1db7a42cd9efca50a2fe60b828caef1dbb29901f39f4089d6b3a3c593ca2bd01c7873c8ff12b15227d0c8ae09450271d733cc36ff979b3365 diff --git a/dev-python/ansible-compat/ansible-compat-25.1.0.ebuild b/dev-python/ansible-compat/ansible-compat-25.1.0.ebuild new file mode 100644 index 000000000000..5d0bd8248da6 --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-25.1.0.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/boto3/Manifest b/dev-python/boto3/Manifest index d82f6dc79913..3153bca28ad4 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B e333a53118122ddd70e77e3f158171507e6430d9f85d58fc8d9300801c68703834965016004826628bb20f9908034939d3f11598156e2bc93ea3412fccdfb33e SHA512 a22193cf6992cc6d30049d47d53048ba416ff21cb4b45bed9a8524ae2446800cb6843838f347484d0b4d5ff898dbdf5b15b598e7d079c1ee0273da25f71bea0e 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 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 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.36.7.ebuild b/dev-python/boto3/boto3-1.36.7.ebuild new file mode 100644 index 000000000000..b087a88814e8 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.7.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 ca6dd8fc593b..da2d53ca75d3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.35.97.gh.tar.gz 14178448 BLAKE2B dd5f48480abe1495925215a77ca29a4b5a79e79256ac1267c7c86cc1f5db4b14bf32fd5ea6e634f84f77fd28670adb33938f770c11c09ed979654af4f237c1a3 SHA512 28f7d7fc0d7535dca7e22acef0906188fe18da3a96877a88fffc2ae3fcf02433aa18220c32936c4713a8cfe47b15ec63387e836a6cb61574810943fd789a903e 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 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 MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.36.7.ebuild b/dev-python/botocore/botocore-1.36.7.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.7.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/deprecated/Manifest b/dev-python/deprecated/Manifest index c4e42f06117e..8f08a3c5f25e 100644 --- a/dev-python/deprecated/Manifest +++ b/dev-python/deprecated/Manifest @@ -1,5 +1,7 @@ DIST deprecated-1.2.15.tar.gz 2977612 BLAKE2B b12747c874ac94825dd6c8e2004aa31d4b0b5a7b2f6057951963ba24a26d17fead67ce4283755b3740399e7bb7ed49a7b3ad7b081497e58af80c6454280eefd1 SHA512 03d5eaa2cb881b5b284f9112d15502522887c3beb91a0e8e2868bfd7b7d8ddf0c947937f3b19dd42c8b512ab1e37dc1012f5e0b5d3d374eb7a8718c4b5f214b8 DIST deprecated-1.2.17.tar.gz 2928237 BLAKE2B c957f7d9f033f8068ad3e5e8bd9c5af36b70ff2845636f6f4c0e53b8b3742aa20917e7e7b41ad74089c21b4db9e221b73ebd332bee9e36b4061e17fdbd3e95ff SHA512 d20cbf83622fcd661370ee9b39c3fb4d9f3f5c56a115515eddffd5687d4f304067822c55bcea775b8fa259281b99820327c8ff3fc0a5877db707b3622db64d8b +DIST deprecated-1.2.18.tar.gz 2928744 BLAKE2B e71acf4851015380abf13865096c2be935e0586c09d88d2ee34b27c98ca462619186a098c4f93cfadd65ff1321e65a76b63b820e642720e646aff10398783bbd SHA512 d19abf2ac19e92666cbcca8a20870ba3e69c6dd724c4e527b9b29cd34c4d91a4f703592f3e3d34dab2ae049d8295ad0cb0b2aa98945b1a81be0d557b4e177639 EBUILD deprecated-1.2.15.ebuild 580 BLAKE2B e00bc1f0fd030c3965b9e1b625e1345b9ba9febbf1b879fdcff0aa0fede8b8c5c7be70ff3f3e0a1b875573deaa256bb78be7535b2e33fde85e7a22a5caec3572 SHA512 d9e3f58f4b0049357a9a64a235a12622812e90e178588398ea7b76254de1fe3ed98a2df9ea6830b699bcacc9363eea2a161df9dbe36a1e79ac0c325a0074c3d3 EBUILD deprecated-1.2.17.ebuild 588 BLAKE2B 3c31bb580e75ee6f4cff5d4c83d8a261e6d6dcceceac5cef4b95086655f3cb73759eb82f3c98707960b6a298dcd58ba28452e07781ef73aab4fd531fb56ce345 SHA512 7717fc1d7ff344ee4dcdb009eeb3988d8160f2ab2a9e3369a8d30f76170a42e69f266aca5aa23d5802319a23420353115573f3e50f8612d624f98e6743409612 +EBUILD deprecated-1.2.18.ebuild 588 BLAKE2B 3c31bb580e75ee6f4cff5d4c83d8a261e6d6dcceceac5cef4b95086655f3cb73759eb82f3c98707960b6a298dcd58ba28452e07781ef73aab4fd531fb56ce345 SHA512 7717fc1d7ff344ee4dcdb009eeb3988d8160f2ab2a9e3369a8d30f76170a42e69f266aca5aa23d5802319a23420353115573f3e50f8612d624f98e6743409612 MISC metadata.xml 386 BLAKE2B ba26eb3f8ef78395582e9b093b0bfbe627d6e227da7d6b59b0adac44afc1c624fe45bc31a8ad78608002d181073a9253f0c64523a97ccdd1a825c2315464f237 SHA512 5540360e5aed3e273664506161e328eb8dabd22a1af46aba7b04dd7572d1043dd36a29035333ac2679ca484d01b952a97e94dbe01859e8873e818469455827ba diff --git a/dev-python/deprecated/deprecated-1.2.18.ebuild b/dev-python/deprecated/deprecated-1.2.18.ebuild new file mode 100644 index 000000000000..7ba5e83ec256 --- /dev/null +++ b/dev-python/deprecated/deprecated-1.2.18.ebuild @@ -0,0 +1,26 @@ +# Copyright 2019-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python @deprecated decorator to deprecate old API" +HOMEPAGE=" + https://github.com/laurent-laporte-pro//deprecated/ + https://pypi.org/project/Deprecated/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/wrapt[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index e488f39bef94..1f4112c98c9b 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1,3 +1,5 @@ DIST python-api-core-2.24.0.gh.tar.gz 210006 BLAKE2B 816b4dbde52d5246feccea95ccdadea700d4fa803faad70f3801a9a66daf4d02dd8dfab5ec372d44b03caf8e250a9c8ebc44c671bac83313354867144ad17faa SHA512 6c279303dcfb05ff655aa5bb9426d0a28fcef9300bab542b1ec4100aecf7d236f05f6889433f8b8ab7d2abcc9084a5879af8357c2d5098db67e4231919e8bc17 +DIST python-api-core-2.24.1.gh.tar.gz 220170 BLAKE2B bbf8f78371d283af52fdfdc8f3581d77cc214371bdc396d6c908990d2d1a3ae487db6df743dff16980d7a569e8d8d7674b4540afb15ca1f9446e1a2bb8624407 SHA512 00a0009c558a32a1fdf458d9c9800f441ac8eb857ed11c108fe6b79bc729b0594c090b21e753ee535173bee08ed8f5455b38320bd989b2ab7fd00fc05d13705a EBUILD google-api-core-2.24.0.ebuild 1574 BLAKE2B ec666fe208669b62f1446a654905ac60b009d514b528b7693f1dffaa8940de56747e6d2f4570e960bd18f26b49f34bafe999cb4207b1031d506951787d495464 SHA512 1c94725bab1acf545ad26a1c66f1ab0b9c8c46dd649b74dfc8477322eb27bfaabcd8185c0261294ff8cf06f01def2cf27c0a322c0e5c2aa0a3e575c08b8923ca +EBUILD google-api-core-2.24.1.ebuild 1577 BLAKE2B 14c8a2dae1e706cc4f0fc8cb565e4d81c8afc8c0c21def455f7e10fce8d2133a7b4b0a7876d0f5660ab42f5c3e856cbd708d91f239c73d6448ce68511f853db2 SHA512 638805fe7f4df14d90eb4443e19e244d8e8b650d73fb51d5ee3863edddb05047e627be84ad37871ce67b69a1fdfccd0d4c02270d98600d04d36927e8f5e4faf8 MISC metadata.xml 655 BLAKE2B 9f829fc055ac2dd507c5bb1a83e2ff3386fbc668b9193c4a1a7281c217ba2e4ecf157d79a250cb2ac8a036369d1d3105cbe92a7bfef29b58734276331d16d19d SHA512 44124eb2c21c48dd0759ff1e76fe05eaaa9312dd5a1a93bb0ab2d459a4be37223c349f7ed303e4c390ba76b3757c06f3ae2a5a9c5bb307967b6c439a09b8cbaa diff --git a/dev-python/google-api-core/google-api-core-2.24.1.ebuild b/dev-python/google-api-core/google-api-core-2.24.1.ebuild new file mode 100644 index 000000000000..9504d51d445d --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.24.1.ebuild @@ -0,0 +1,63 @@ +# 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} ) + +inherit distutils-r1 + +MY_P=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 26915406ad4e..d6d8a687cc9b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,5 +1,7 @@ DIST google_api_python_client-2.157.0.tar.gz 12275652 BLAKE2B 9410a8b7a726c94286f9ded13091cf59d8de7238c184969f0f7cdb9330f9e6e278b2953d70cf91fa2e74b62314f02ae5372ac661a04c426ac813cec651fdacbd SHA512 3ff7078c8ccb80d84cbe8df3eefb15f5a5c986285ab6e7b06e0b49962b96f25655fc618ae15416af2c33744673c36058ffcc9df3cc1b31fb78d4dd0f053a5d19 DIST google_api_python_client-2.159.0.tar.gz 12302576 BLAKE2B a4cf681694930b303aab3a1756fee9af2bbd52258fa6ce3a3ede3db0a211467b0ad3a8d4d75e756d66d08ee5d5b58d799136ebc6d4e739bb9e655fbf6ca24eae SHA512 57295f7a9d651466760cfb69c61e52478951da083c4c7a2238d1b0e55860cbe9d1f6d76c9b89acf36bfa39beac28c8594f96c4ecfeb04f174474d259434c32e5 +DIST google_api_python_client-2.160.0.tar.gz 12304236 BLAKE2B 572e12ea6d7e496b7d84646ddff48fc0656681fdd7efa54410efaa8a0a5a4cfa4171d7816c5127c951b46f2b7eaf97df9e586618a504b4d0a9f7b72c25165250 SHA512 1a232b3b840f71348f38d9587696c2795e88fdfead3a77db8725f59d0e263d0864d1143b6421bc8a364f19129e00770ef2143153a44d1b8c1266844b1f2f565a EBUILD google-api-python-client-2.157.0.ebuild 1455 BLAKE2B 753e47ac06d5790f890e4e5c8b50f2ecbaa6ec0c6b51ee4dd8ac472c927fd60cc47f0458304325ef91bfd110d9af4bc5f89365e6949cc62243e5bf112f0591e9 SHA512 ffb14b186d2976c3af821bf9b34218eebf26271b8730e7e55e7c8f8f182a1944569da43fe831c8e6639b3f82ad833d3dc1c4290f95f3ac553c24c74b8e13eb28 EBUILD google-api-python-client-2.159.0.ebuild 1458 BLAKE2B abc96ed5fc57035f36cdf6723758169539e99033baac0226f9d02b91417806bab2fced58aae6fa0c9530b787375c16ff6bf92145e325ed96d3f7124c34986924 SHA512 b3a9f6c444f98007488fbd795ae9adc9aaf16d51dcd761527aa819385840ee1c4a0bdb76f36e896f841c1e0203e0f1c406582f98c2e38c072ab1f9e8efdaf9bb +EBUILD google-api-python-client-2.160.0.ebuild 1458 BLAKE2B abc96ed5fc57035f36cdf6723758169539e99033baac0226f9d02b91417806bab2fced58aae6fa0c9530b787375c16ff6bf92145e325ed96d3f7124c34986924 SHA512 b3a9f6c444f98007488fbd795ae9adc9aaf16d51dcd761527aa819385840ee1c4a0bdb76f36e896f841c1e0203e0f1c406582f98c2e38c072ab1f9e8efdaf9bb MISC metadata.xml 538 BLAKE2B bf0b8ab3a89ce9ab1d2159f4c0ebfe3f2646aced20bd2006485510c12d22e83cc130fac979f699ae6431a610c8d2acf86c04b39bc262abaf167c20571a860810 SHA512 30d004d944055660165954f8475e57ba45cef56423c80a324118836d78e5376261409955155a40c9bd988f230f3e2fc44c6aeb6fae3028c78c55a382ccd83bff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.160.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.160.0.ebuild new file mode 100644 index 000000000000..f4f4a9c95e9b --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.160.0.ebuild @@ -0,0 +1,50 @@ +# 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 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest index 5b62c3bf45ad..a0fe7729a1b6 100644 --- a/dev-python/isort/Manifest +++ b/dev-python/isort/Manifest @@ -1,3 +1,5 @@ DIST isort-5.13.2.gh.tar.gz 755256 BLAKE2B 4cc8a0209ba954d93c030e6ad038933b50aa2f17b173762f598bc8038f36f72ecd1e7a3f6e73398bbfc99f464d14927f77044ca68126815023a8d456497985a1 SHA512 fe2bd27f0aa6219d44c3124782d400338a801a911d6a09ad51e7f80cbcbce250838350ad6cc80a35f641e0a319778ddcfb4dc61c8c76999ebc63a5147953e378 +DIST isort-6.0.0.gh.tar.gz 831344 BLAKE2B 6fa039b902638e6fae2a64022ad0a2127d1efbd7cba5bcea94ae692bb1de134c0dfd8c89f2091302dd079749cee3f850d1252cbfac5a1105c38cec988912c439 SHA512 2dc5215182b74419d020214c32dc182c4c0893959aef3f7900a53e793982c535530d9c869a60b4eba439e7a4516e71ff366a9f6ad898936ecd7cd06fda4b6ced EBUILD isort-5.13.2.ebuild 1857 BLAKE2B 0b18457af33004985fd4e5f8b1fa3f9f902244c5e4fd76c7d125d49527aa9eb30420eb911cd11dfea253e144cfbbda23a7482e3867472f990c8794800cb3c776 SHA512 6b599ec8584946a188be353035a5f2c7d41cc34674776872220cd7b8c75f360165200c8d662adaf4d01b91b0cf10eed682affeb7f5d11e6db08751b774ae0fd0 +EBUILD isort-6.0.0.ebuild 1954 BLAKE2B 81b683a6d6fd65e8c803349ec24fb1bbe6757ab62ced16a5e8394020582f1d3ca4cfdfd79e8a9a2e79fbaa3fc8adc87ec559bdea2cca72cf3c998139953bd307 SHA512 a90a198c728bea04c6099e34085d01ae3523f7395a5a8f88b965cd1098b1300d83241ac14c8c8647971535634e5084b8ca6dbea3fa02b70df2a338516e0b13ad MISC metadata.xml 574 BLAKE2B db8aac55351f15190d9b71508268f26b12a781b3b4f0f6836a30efc954b46b71da496129a9641655db483730435b44a5c5283132521dc3cc93279c57735a1ba4 SHA512 c8116bf66155ffeb7ac8d68822559e18252210dae604b4984aa5e6a3fb7161d785cbd235dc6f656513b5bab326f6e579489245bcef9d0a5dfadc34d7477758fb diff --git a/dev-python/isort/isort-6.0.0.ebuild b/dev-python/isort/isort-6.0.0.ebuild new file mode 100644 index 000000000000..7b8c43869340 --- /dev/null +++ b/dev-python/isort/isort-6.0.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A python utility/library to sort imports" +HOMEPAGE=" + https://github.com/PyCQA/isort/ + https://pypi.org/project/isort/ +" +SRC_URI=" + https://github.com/PyCQA/isort/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/black[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/natsort[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unbundle tomli + sed -i -e 's:from ._vendored ::' isort/settings.py || die + rm -r isort/_vendored || die + + distutils-r1_src_prepare + + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # Install necessary plugins + local p + for p in example*/; do + pushd "${p}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + local EPYTEST_DESELECT=( + # relies on black 23.* output + tests/unit/profiles/test_black.py::test_black_pyi_file + # pytest-8 + tests/unit/test_ticketed_features.py::test_isort_should_warn_on_empty_custom_config_issue_1433 + ) + local EPYTEST_IGNORE=( + # Excluded from upstream's test script + tests/unit/test_deprecated_finders.py + ) + + if ! has_version "dev-python/pylama[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/unit/test_importable.py + tests/unit/test_pylama_isort.py + ) + fi + + epytest tests/unit +} diff --git a/dev-python/matplotlib-venn/Manifest b/dev-python/matplotlib-venn/Manifest new file mode 100644 index 000000000000..2624e80ced93 --- /dev/null +++ b/dev-python/matplotlib-venn/Manifest @@ -0,0 +1,3 @@ +DIST matplotlib-venn-1.1.1.gh.tar.gz 978290 BLAKE2B 21f0541df95428557e60eaca95e7e2749825bb36c69855b7adca54141af7c343073d62f99fe3b45ae17dcd514cd91813b188e426f61e415f9a353ce214588b71 SHA512 b01fe31122d8a4f6914aaa24ad09cc571536952f1d22231c7c59a760c2baafce7d6e7bc91de8bfc1efd5d2aca18371f6b834908382407fdb5add806a137d8e16 +EBUILD matplotlib-venn-1.1.1.ebuild 1010 BLAKE2B b1265de8991ffab83df967cb80533fa07a72fe0a0e9eb90127be36375ca74fec92867b1e3eab24963f664179c1d61561580d76a21805007ff13168dae404dd75 SHA512 225990156b14063d70118143182395bb0c0301ba63a4576bfe7ea080af229278f1f52ae43521aafb2f101f4f5fd021c4e4e616fef4b56ff654edbc874f5558a5 +MISC metadata.xml 388 BLAKE2B 3a38b2b64e30b3aa0e854b1cec424b622095fde81af938c5432c0b078fd92af92824562dbbc02a4be130af7b8ba41e1de2aebcdd059140edf07b41d7fe906bed SHA512 503c292b6c4c8e1d5fcca62e7ab653eb5300ec5cb15211136c37d6c51e268135ad825facce2a311ea737492b572cfe350d3efa6bb3a8258ab0dcf5550c5829ff diff --git a/dev-python/matplotlib-venn/matplotlib-venn-1.1.1.ebuild b/dev-python/matplotlib-venn/matplotlib-venn-1.1.1.ebuild new file mode 100644 index 000000000000..8522cd6a04ec --- /dev/null +++ b/dev-python/matplotlib-venn/matplotlib-venn-1.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Plot area-proportional two- and three-way Venn diagrams in matplotlib" +HOMEPAGE=" + https://github.com/konstantint/matplotlib-venn/ + https://pypi.org/project/matplotlib-venn/ +" +SRC_URI=" + https://github.com/konstantint/matplotlib-venn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/shapely[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO: some minor number mismatch + matplotlib_venn/layout/venn3/cost_based.py::matplotlib_venn.layout.venn3.cost_based.LayoutAlgorithm + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/matplotlib-venn/metadata.xml b/dev-python/matplotlib-venn/metadata.xml new file mode 100644 index 000000000000..96c87c18e907 --- /dev/null +++ b/dev-python/matplotlib-venn/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">konstantint/matplotlib-venn</remote-id> + <remote-id type="pypi">matplotlib-venn</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 5e58cd5251c9..5de8cf626e9b 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,5 +1,5 @@ -DIST Nuitka-2.5.9.tar.gz 3777278 BLAKE2B 1140c02c0f204f70d6646efcf88178a59cd6ad4c7848855711a0ca7462f5e173f2260f7106552e785120c8f0f1926b45f459047b0053a6a1718ae793829c9232 SHA512 ef3645d9ed35579c2021c185418eb8e1a78390b80b88669e271703fd04910ee5e8d2203ef3c3dddc432bf5ab4f51f2ecb4d8b6c60c3ac02dc43545ce32c01606 +DIST Nuitka-2.6.1.tar.gz 3862941 BLAKE2B aab569ff14d69e48120957b822380a228d0109066fbef41e791c1f13181eba4fc4bfd2b0707888edd55a55cc700fc6eabc79ff8acaf7538a120f70318006fb2d SHA512 73143cdcba2474a0bdbd818726a6529216214efd02bb04876de06b2b30a1ffe380c080da1a9c573556443a6488fd1955e1c52fe3566c87ff4764f64af98fe852 DIST Nuitka-2.6.tar.gz 3858229 BLAKE2B 810f99da2560a302366cd2f9729fcbd1e4a0b4429cba3d4b4b43e70c91619afa8f3f4f73bf19282e246c2ec4ffbf468df8206ed3acbac09148f5302c5b67a3d9 SHA512 5194614cc8de3d3fa0f8be3769f0fb6e10b6c6f1bd45e5be0b09e96774a6a0cbe6938f6c66f903b23ad4cb480d7557aa69d14a4b8a659d12e33859f215e9a1f7 -EBUILD nuitka-2.5.9.ebuild 1222 BLAKE2B 172c3dfa35f912ae359c41bd5176ef8ce85b17c24169599e787225f62ebd8a906939e7a8666cab9727cd70358caa8596e9cdc677e1303d7f392511d40446bc35 SHA512 788d25cfe72f025177db6d79d7ea66918e6b1eb4fb2670aa12488e278e9079ec854060067f18599d2b5729297dd5d9e259c230124b8c915639c6881cec10a250 +EBUILD nuitka-2.6.1.ebuild 1222 BLAKE2B 7257f25551f0e1d26206f5f664aeb6a5093cfca464b3258101880b00e8351318ed4e8aafbe62882a3ce163c7541ea112c211b2881bf678846c589590a533d330 SHA512 b905be3234575dda50b57bcb1bf6cd80690a557efabd761eaceea80089c8ea6eb5ae6a1654aa1c734565adc240ec1e85bd371fa41fe8be20c2bef5ee9b29a2f9 EBUILD nuitka-2.6.ebuild 1222 BLAKE2B 7257f25551f0e1d26206f5f664aeb6a5093cfca464b3258101880b00e8351318ed4e8aafbe62882a3ce163c7541ea112c211b2881bf678846c589590a533d330 SHA512 b905be3234575dda50b57bcb1bf6cd80690a557efabd761eaceea80089c8ea6eb5ae6a1654aa1c734565adc240ec1e85bd371fa41fe8be20c2bef5ee9b29a2f9 MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9 diff --git a/dev-python/nuitka/nuitka-2.5.9.ebuild b/dev-python/nuitka/nuitka-2.6.1.ebuild index d79d86fa299c..a5b9f247836d 100644 --- a/dev-python/nuitka/nuitka-2.5.9.ebuild +++ b/dev-python/nuitka/nuitka-2.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index 08ae50e0f18b..5ba3fdeaa36d 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,3 +1,5 @@ DIST openstacksdk-4.2.0.tar.gz 1236489 BLAKE2B bf45026569535dea61798583e8988e59be403e5835eafaae6f0ff206e26e07f67c1e32ea518f2d55c6e32c91c3c372def025c561f720e78fb11cc76eba70bdb3 SHA512 2e4ef9a853b74645816affa40d57aa71cdbc50ee09d14bddff5314966d8cf35eb1179df4b58ea14f225edf597da2cdffaf11c28a25ba79549dd7d1b837d01879 +DIST openstacksdk-4.3.0.tar.gz 1244210 BLAKE2B 54f408c7993d84d48a2cf1a3539102ab20c3491c678b13e5ec7ef523cddacbbe3e624b237802910482a0e3d316cb56d4a2b01cc62fd680f98acfd70646768f03 SHA512 b6bcd38519ff83de55e737c5d22bc585632a44414e2f247892649452f9d707c2a814068f1cc4d5b519c689796570c65d7e43b2ab889f1e672418bcf3beec417d EBUILD openstacksdk-4.2.0.ebuild 2897 BLAKE2B fb837585e85e8184db889014fdca64a2aa4bad05521e2701424570056b54595986f82f2573aa539c2bdc3c079eaa86419661f0a943357d9f7a21f1c2b0a6914b SHA512 e62858fd05d87830e26956e51cca8d5935eaa6161f6aaa7f46a6f68dbc7a875484425573c32be9e5477ead415ba962391bd36d8ce440b8fa1f1508f02f845443 +EBUILD openstacksdk-4.3.0.ebuild 2900 BLAKE2B 96fd2707d6c60814ffa20f314771ef45205317b3828c11165bc16e836f8d370057c4b7ceb5add940afe48cafce4e74d9a58b8b5416d73133933c32f4408062bf SHA512 ce7b6a8d07997ae65002477cc2eb829433c468a5f18b24986c66487522ccb759ef406c4b9d43f4ce688164aa026207509cbd2eb32e14fd221c5ff3ca8b24d4eb MISC metadata.xml 517 BLAKE2B 661ad1e9eae06e7b36a5ff753e73bd4434042966cff3fd6fbc11bf70a1acc3eb8de29ad2a033d6d715e1152a5454d84077e99db3b588199b317f925864dc1403 SHA512 e6dbfbb3546c2a62b204b33ebb3bb33611079698212f098bd4da072200fe43e3bb350cc998b255ec4a15aa2ff3a04c89a9553dd7930db48e658dbcaff78526d6 diff --git a/dev-python/openstacksdk/openstacksdk-4.3.0.ebuild b/dev-python/openstacksdk/openstacksdk-4.3.0.ebuild new file mode 100644 index 000000000000..8d850c84e007 --- /dev/null +++ b/dev-python/openstacksdk/openstacksdk-4.3.0.ebuild @@ -0,0 +1,91 @@ +# 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 pypi + +DESCRIPTION="A collection of libraries for building applications to work with OpenStack" +HOMEPAGE=" + https://opendev.org/openstack/openstacksdk/ + https://github.com/openstack/openstacksdk/ + https://pypi.org/project/openstacksdk/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] + >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] + >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonpatch-1.21[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.18.0[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3[${PYTHON_USEDEP}] + >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] + >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Internet? + sed -e 's:test_create_dynamic_large_object:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + + # TODO + sed -e 's:test_generate_form:_&:' \ + -e 's:test_create_static_large_object:_&:' \ + -e 's:test_object_segment_retries:_&:' \ + -e 's:test_object_segment_retry_failure:_&:' \ + -e 's:test_slo_manifest_retry:_&:' \ + -i openstack/tests/unit/cloud/test_object.py || die + sed -e 's:test_servers:_&:' \ + -i openstack/tests/unit/test_stats.py || die + + # unhappy about paths due to test runner + sed -e 's:test_method_not_supported:_&:' \ + -i openstack/tests/unit/test_exceptions.py || die + sed -e 's:test_repr:_&:' \ + -i openstack/tests/unit/test_resource.py || die + + # requires hacking + rm openstack/tests/unit/test_hacking.py || die + + # fragile warning-based tests + sed -e 's:test_unsupported_version_override:_&:' \ + -i openstack/tests/unit/test_missing_version.py || die + sed -e 's:test_create_unknown_proxy:_&:' \ + -i openstack/tests/unit/test_connection.py || die + + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b openstack/tests/unit +} diff --git a/dev-python/pdoc3/Manifest b/dev-python/pdoc3/Manifest index 35a71e02ebf1..6866bc76933d 100644 --- a/dev-python/pdoc3/Manifest +++ b/dev-python/pdoc3/Manifest @@ -1,3 +1,5 @@ DIST pdoc3-0.11.3.tar.gz 98948 BLAKE2B fff171dd8ede3298f55c18b55d491d9715f415a85b34bb7bf29112a4ea0a94d6842f322fa35a5eeaf4548c425c6a2f6ae108c2422377c02144e6713b9d380372 SHA512 b516aa73e985cc567c755214956d7aedc7f02c24bdd2c162454d70b07db74bb3f3b44f91adf94893beb970202febcfb6715aaa416ff8ede5f7aa66b28c648237 +DIST pdoc3-0.11.5.tar.gz 99496 BLAKE2B aae4be92df6e2c6640291fbe4f05c9a81c0170051caa7e0f2a1fd8c58b65ff3018232ab16d1f02c921c5f777ad9951906ece24784bc14a2bd566843a1e6c7d9c SHA512 31c7fb9e2fbf4337efa912ec3fd2d662b920e53ca3b434bf00f71d215c19eec570d63bbe8863841150eb2e246609a340737d9030c7f9dd9949669eb789b96cdc EBUILD pdoc3-0.11.3.ebuild 726 BLAKE2B 26ce39ab61e50ee6b17d21dba6f85bbebebc4fe732e3f1f8f79785c80a4f3ddaa05a997130acb488a21e6908e17069a3fc8e93a257e7bc85ef01241c01b47c46 SHA512 76cca0402891c2efcfb75c26d3827976b56d5478f2bbc2b9165f30ec8974d22b320d51d37851ff195336859d17e9f635d572cac89776620f4fc365b69c822665 +EBUILD pdoc3-0.11.5.ebuild 727 BLAKE2B a0552a189e61a49dba8d7dce011d06ab3b3cb6a50565e2c6b66147729d4362079169db974b95f78a209275639fdd223b941e9b460925542bbcae5e8b3bfe5eee SHA512 8f52d9ac8e1ef01621230230b483671624569abf0fdccce7591db46979d1a7c5cf71baef2ce57ffd17758c8b6fb12a44c60d7ff3ee27a4f1fe7e8373fb0132a9 MISC metadata.xml 365 BLAKE2B 3339f5c2a1488984619c510a3f5bd81ca80ee26fb27fc01e0612632a43e57d1a69be9c4dc509d6a88e3f73cad88bbef3230020eeed1d20f1ec8d2010a335a6a9 SHA512 1614ffd6e83e036b288bcce03d2926429d0b5d41c1b7385053de1bcf5656bb6e03878b5c826f474cf4209f9036c533839ee6bce20780dbe626761ee0c295bf48 diff --git a/dev-python/pdoc3/pdoc3-0.11.5.ebuild b/dev-python/pdoc3/pdoc3-0.11.5.ebuild new file mode 100644 index 000000000000..b2540c7e6f19 --- /dev/null +++ b/dev-python/pdoc3/pdoc3-0.11.5.ebuild @@ -0,0 +1,36 @@ +# 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Auto-generate API documentation for Python projects" +HOMEPAGE="https://pdoc3.github.io/pdoc/" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/markdown-3.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -i \ + -e "/setuptools_git/d" \ + -e "/setuptools_scm/d" \ + setup.py || die + + sed -i \ + -e 's:test_lunr_search:_&:' \ + pdoc/test/__init__.py || die +} + +distutils_enable_tests unittest diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest index 00a950575acd..4639dff876e5 100644 --- a/dev-python/proto-plus/Manifest +++ b/dev-python/proto-plus/Manifest @@ -1,3 +1,5 @@ DIST proto-plus-python-1.25.0.gh.tar.gz 101442 BLAKE2B a98b5131f4e55473eadb09ec9a692ef7d53312ae8f4c925ab0c5ffada25c3c3b154738c766a4e41e753c3b292c93faee54e6d7f8800c7a0af6665e4e341086ce SHA512 449fb9fe2950cff98d05fc86b4f35fab4a1b4f7c27a3b9174dbb1f6aac92484088f44c9fda4109c3f693d890606505808d7a489412be2d091e9962363c57be4e +DIST proto-plus-python-1.26.0.gh.tar.gz 93568 BLAKE2B 244932abd2137a2dad85d5bb7d5105a59a3d1ac16c9660868120260a36f85edb77cfb8b2b8fd3d6407a6e2c3e2a62ec55b0ea9d1a96e9265659a6d75c17a579a SHA512 70e29cafa1a32ebe0e7c3f1d99b45681bc87369588b046221a5fc34e2c28ca932e05df9ee998feb710fc2221ffa8b02ef26c5ff00d7a7a6947e34afd91621551 EBUILD proto-plus-1.25.0.ebuild 945 BLAKE2B a5d45891fb6aecb56ce058724717548ae3e0cee9845491c7b3532ba7417491b2994fb6388af5f318db603733a8f3f450b9561e9afbef2c859710a41b39ecc476 SHA512 2f92018dfe01ba44bb53357397bd879ec8ebf910b5a900c1f5b276205c9c3c912ec194a31cc4328b1265c04d1eceb5b7f28d3ee6e8c0af6df9b4e52fcf31d40c +EBUILD proto-plus-1.26.0.ebuild 948 BLAKE2B 25f24b495454c901a99aa1ba8ecb7f6b8b23624571d1d42229a32b42ef20ac89d61eedb5c8997a9d73e7fcc1492fba151aa65dd5a89537c3703fefd83bf795d8 SHA512 c4aefed63c5f8c0023a58036bc0ee771436b9e6aaf5bdd91d2e82bfca796605dbd903ea21cc3d6b77f0b85d04087ae53a9015255c831e4be08dd65ded78d509c MISC metadata.xml 447 BLAKE2B d440be836b8a2823ab3beb7f76cbe7ff3f027ec512dff3f7d920eefea3f18329e1aa910ca16e006b1424cbd780f3fad80b8ccdc632c08ade651afd815369e9d0 SHA512 d64b8d2eeac9916ec2faab3b038082155e46e8c379ce06d7f554de763318539fa9040d15f90a3a95f337937c90f4b4042f51b1ea1cd11727e5fd971a0af5280c diff --git a/dev-python/proto-plus/proto-plus-1.26.0.ebuild b/dev-python/proto-plus/proto-plus-1.26.0.ebuild new file mode 100644 index 000000000000..171a59ec1c1f --- /dev/null +++ b/dev-python/proto-plus/proto-plus-1.26.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-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 + +MY_P=${PN}-python-${PV} +DESCRIPTION="Beautiful, Pythonic protocol buffers" +HOMEPAGE=" + https://github.com/googleapis/proto-plus-python/ + https://pypi.org/project/proto-plus/ +" +SRC_URI=" + https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/protobuf-6[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.19.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/google-api-core-1.31.5[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/qscintilla/Manifest b/dev-python/qscintilla/Manifest index 34a59c0446dc..e1d44cfe8a47 100644 --- a/dev-python/qscintilla/Manifest +++ b/dev-python/qscintilla/Manifest @@ -1,3 +1,3 @@ DIST QScintilla_src-2.14.1.tar.gz 3233610 BLAKE2B 83b54378f0d3fa39ea120214a06c91982f81281e15c61fc70a9e83928be64724cfd2679b5e4aafee44a324e24a6c4729693cd118c6ad0b1636a199f2f41d34fe SHA512 19e2f9e0a14947501c575018df368d24eb7f8c74e74faa5246db36415bf28dc0beee507ed0e73107c02b36a99bbaf55f0ef3349f479d2332e1b92b2c4a32788a -EBUILD qscintilla-2.14.1-r2.ebuild 2762 BLAKE2B e7b1bbd85e615a3533dbd1747cd02e8c1f7b6b39ffec4f4d121d2d29cc02767f310461379c0d92aa9b32f5092c8d115d1aeb5b47b887fc1a5030b456e54eb095 SHA512 e3231d9e21e40fd3b70b159d796553a621b4c7396cf64493a019fb5f596119b2c0fe6a9fe5b5eab342f07d63323d486c54bc2ee183195bc25f3599b95900828e +EBUILD qscintilla-2.14.1-r2.ebuild 2762 BLAKE2B 37e6eade705378f5bcfb959f2e106b5620ee33cb75020693f71404378ce08849335036ab72f1b0011e1dc011c817879198ccdf3085f16973ac1058d5e9e83222 SHA512 0c7e639b614888e0c59f590271ea19fef53f5e29c44abc6643597c7342bf016c7c2756c92dc834699645de0aeb4a44ef73499905c2b84d98f37c2019e45d81ff MISC metadata.xml 498 BLAKE2B 275924a6a89a3553a1a32ce3103e624460e4c67aa07deede1f823784e2af7b20389e9f79f6fc559929b3457ed6be58bdd5dad3984457b27c6ca493450f1458e0 SHA512 cc45758a175fd95cff25aed840fafd1ce7e98b4b3b455e0f9d95f556c33e3d2c6229bf8ffce15aa2a7726238704cac64bf359972742dcf7d663a7cf27af147b8 diff --git a/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild b/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild index de90727fa909..0c5a43772d03 100644 --- a/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild +++ b/dev-python/qscintilla/qscintilla-2.14.1-r2.ebuild @@ -17,7 +17,7 @@ S=${WORKDIR}/${MY_P}/Python LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ~arm64 ~ppc64 x86" -IUSE="debug +qt5 qt6" +IUSE="debug qt5 +qt6" REQUIRED_USE="|| ( qt5 qt6 ) ${PYTHON_REQUIRED_USE}" diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 480e1988c878..14da2bc6a080 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -55,10 +55,8 @@ DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764 DIST serde-1.0.216.crate 79000 BLAKE2B 98c0f5cee2f9212c6b7620d2068665379471ceb7557d1454cab9b1c2120b526ef597fbb642f65440e70f92a4764cad33613b478bacf99138dd5bd51fdbdbee6b SHA512 baabf4c7aac4a540c9ed18b336662087258b71c9cb0e547c8d83a2734818ab2cbbe62f910d812eb61d3d46e653c41a3eebc99b1d679bfc51f95710c71a8ecc20 DIST serde_derive-1.0.216.crate 57674 BLAKE2B 12a9228679c16288c08c8b256707e276aec79f84ac7af0c4cfd1f109500dfea80438df17d798acdd30a9743c753e70093b22bd324217529bac483f257682a3e2 SHA512 80fcb552279ac7562297df878f2f5e9ac09241701f5cf1088fcbf473b638f58cd3092a7930d8937ca0df9a47b9ae1a42d490cd46a275259cd8089fe8f5426469 DIST serde_json-1.0.133.crate 150739 BLAKE2B 7891eb5b8edcc7fd09ab1e15d3881ffdcb629aa39f2bd758c0505700a5f2dfabd85b1b66c3b094268bc1627b346e204c792f4ca61efa76c54ab9cd5744fb0ee2 SHA512 20e65ec87bff319897a141960d13deb5cadcf821209c1ee8799f1dc7f458ce432bc62c16df5bdada1c8d3cc01ff23b8125e8fa0a03545d4614f32efd687dc69f -DIST sqlglot-26.1.3.tar.gz 19858552 BLAKE2B d89dd7480dffc3028ac7f9687bbb99c74d2194426ae21420f1fc636f2649e69b29d616951ddb2dbae2a093e908c2ceff816d4ce81037033aadcd355e23349aba SHA512 0de92250a41b9390bd85370bafb2dd4e45f1078a17c67494d75e4d3a211294afd925f29fdbbc5394452911882dd821bcd0d59c21a8e9ca67fe89f4107d8a1ce4 -DIST sqlglot-26.2.1.tar.gz 19933689 BLAKE2B 6c04880973de1a0dd66b825cb7d1a1c32d140ca3a8885c09885c4f2c6a0b52b9ff36c65f2cfc2e62b564b7156c37522991518a7c4857b98fce77b3daaa82d935 SHA512 1bb0110bd572daaa3cfd2d93ff6f03d2175f304b31a5043020730ecb547d8638afcf75f1a1ad431aa03bf43f3331a39a15166ca9495962842afe00294f5fc8ac -DIST sqlglot-26.3.6.tar.gz 19957589 BLAKE2B 443236538247a9e536916376c82f69e12126e74f74c35844c1b2896359828c2ed3882ea4b4d04fa54cccabf4e9d91065b010c1a8169c08123e054d5adbdf0364 SHA512 6b49aa4db1337b10aeaa005eb779b1591bce6d97e5f9c98cb454de2b7c5f81c614d696e1f34410158925941c6b370529d58bbb01e6c185fdee25fa6896a61d05 DIST sqlglot-26.3.8.tar.gz 19957402 BLAKE2B c4dd2a2f64c7b8fa537d0d81b0915b0b2c044ae4cb1e6da8824cdb43e116313d61f93ddb3c0faaac83b6f624d595573c55686d0dd2cc103f716eab2f564e2ec6 SHA512 d1853353d60674a91d13cebcc3329d227fa7c998e2cfd689a3de77bea4fe5b1bd86dc167f790c929a1617b882962060bc84d923fc6f93f0356145438dcb8433c +DIST sqlglot-26.3.9.tar.gz 5311903 BLAKE2B 0637f47170c53b22a8672b4d35a16b5d22c696a1568b22b0474d9075b82534c18f54a66b06010a426ff8121be64934041871d97f78c5a1951ad200849ab5c5a0 SHA512 3fb7ba3a0fe583837a7aed0f18a66eefa06fa193f0f97484eca60fc13bb2700c27b7dd1b4d0a54d64adf8ea2b4009057a091534b5d52aa36a5d499c861e2b2a8 DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 DIST tinytemplate-1.2.1.crate 26490 BLAKE2B af39d96f33f63238e455a4e38fde1d1730fd9661ae68be7b05df6ef9d2ab1a04db1332cc4ec9deb6da3a8e22b124df81b0fa8916d8491b808742bb733c8e48be SHA512 0cc080057e096f0796e72004343e1a8332c2e8a12e43f6ade150ebf632e9c29c7ad04de0b940cd57df81efdc4d07a6607da9b86a30d8383e39ac3d7be185edb9 @@ -83,8 +81,6 @@ DIST windows_i686_msvc-0.52.6.crate 901163 BLAKE2B 99ed34e052db5ba77bab240ed5d38 DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc237e14e32aab97f6f91afabcdf80d2aee37d6fb4b8669aaf433ff532c85dba59b3d366c7d41b61a2f29b96f960169c900687 SHA512 c4086bb0280042f2bef9b556283b67f8a5cacddd209e1c5fabec63decec6d4fd2d6a7071407973981b98ae0c0cf7034fc612f9e70dc6d3eed9acdec771ae31cb DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 -EBUILD sqlglot-26.1.3.ebuild 3623 BLAKE2B 80dbac57f7bdc5afc248f6e171e49cb0d0267011ead01e2522e6b7936fe1a7b79e3d351e2476503f260ebd18d15d12e352a77be772781369a35da24d3edfa9a2 SHA512 28628d65b64f5b8e42c55b0f5a1afe072b0c7bd91efd7abb4fd692ef24ea2e5632a1079f03775a274306108c6176910593b8573f72702d6c0a66314a47d09d00 -EBUILD sqlglot-26.2.1.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 -EBUILD sqlglot-26.3.6.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 EBUILD sqlglot-26.3.8.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 +EBUILD sqlglot-26.3.9.ebuild 3641 BLAKE2B 8d1848b9605a9125dbbdf7dfdc70f2deea6d15ed54cd4c173681d43247ae4c1a6693872bac6863c192573bf72efc4b267cf3caeebdd6779a79bfee456c4c5238 SHA512 12a927f528e20c29e75ac3aca17e43705851464571883b7534294d3a285af04237f6d310aa2a248bc856d5e7364c891713e134fb82e785c7f8443ff871e37d89 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-26.1.3.ebuild b/dev-python/sqlglot/sqlglot-26.1.3.ebuild deleted file mode 100644 index dbaa103b3b89..000000000000 --- a/dev-python/sqlglot/sqlglot-26.1.3.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -CARGO_OPTIONAL=1 -CRATES=" - aho-corasick@1.1.3 - anes@0.1.6 - anstyle@1.0.10 - autocfg@1.1.0 - bumpalo@3.16.0 - cast@0.3.0 - cfg-if@1.0.0 - ciborium-io@0.2.2 - ciborium-ll@0.2.2 - ciborium@0.2.2 - clap@4.5.23 - clap_builder@4.5.23 - clap_lex@0.7.4 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-deque@0.8.6 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.21 - crunchy@0.2.2 - either@1.13.0 - half@2.4.1 - heck@0.5.0 - hermit-abi@0.4.0 - indoc@2.0.4 - is-terminal@0.4.13 - itertools@0.10.5 - itoa@1.0.14 - js-sys@0.3.76 - libc@0.2.169 - log@0.4.22 - memchr@2.7.4 - memoffset@0.9.0 - num-traits@0.2.19 - once_cell@1.19.0 - oorandom@11.1.4 - plotters-backend@0.3.7 - plotters-svg@0.3.7 - plotters@0.3.7 - portable-atomic@1.9.0 - proc-macro2@1.0.89 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - quote@1.0.37 - rayon-core@1.12.1 - rayon@1.10.0 - regex-automata@0.4.9 - regex-syntax@0.8.5 - regex@1.11.1 - ryu@1.0.18 - same-file@1.0.6 - serde@1.0.216 - serde_derive@1.0.216 - serde_json@1.0.133 - syn@2.0.87 - target-lexicon@0.12.16 - tinytemplate@1.2.1 - unicode-ident@1.0.12 - unindent@0.2.3 - walkdir@2.5.0 - wasm-bindgen-backend@0.2.99 - wasm-bindgen-macro-support@0.2.99 - wasm-bindgen-macro@0.2.99 - wasm-bindgen-shared@0.2.99 - wasm-bindgen@0.2.99 - web-sys@0.3.76 - winapi-util@0.1.9 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-26.3.6.ebuild b/dev-python/sqlglot/sqlglot-26.3.6.ebuild deleted file mode 100644 index f66889c1ac68..000000000000 --- a/dev-python/sqlglot/sqlglot-26.3.6.ebuild +++ /dev/null @@ -1,177 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -CARGO_OPTIONAL=1 -CRATES=" - aho-corasick@1.1.3 - anes@0.1.6 - anstyle@1.0.10 - autocfg@1.1.0 - bumpalo@3.16.0 - cast@0.3.0 - cfg-if@1.0.0 - ciborium-io@0.2.2 - ciborium-ll@0.2.2 - ciborium@0.2.2 - clap@4.5.23 - clap_builder@4.5.23 - clap_lex@0.7.4 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-deque@0.8.6 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.21 - crunchy@0.2.2 - either@1.13.0 - half@2.4.1 - heck@0.5.0 - hermit-abi@0.4.0 - indoc@2.0.4 - is-terminal@0.4.13 - itertools@0.10.5 - itoa@1.0.14 - js-sys@0.3.76 - libc@0.2.169 - log@0.4.22 - memchr@2.7.4 - memoffset@0.9.0 - num-traits@0.2.19 - once_cell@1.19.0 - oorandom@11.1.4 - plotters-backend@0.3.7 - plotters-svg@0.3.7 - plotters@0.3.7 - portable-atomic@1.9.0 - proc-macro2@1.0.89 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - quote@1.0.37 - rayon-core@1.12.1 - rayon@1.10.0 - regex-automata@0.4.9 - regex-syntax@0.8.5 - regex@1.11.1 - rustc-hash@2.1.0 - ryu@1.0.18 - same-file@1.0.6 - serde@1.0.216 - serde_derive@1.0.216 - serde_json@1.0.133 - syn@2.0.87 - target-lexicon@0.12.16 - tinytemplate@1.2.1 - unicode-ident@1.0.12 - unindent@0.2.3 - walkdir@2.5.0 - wasm-bindgen-backend@0.2.99 - wasm-bindgen-macro-support@0.2.99 - wasm-bindgen-macro@0.2.99 - wasm-bindgen-shared@0.2.99 - wasm-bindgen@0.2.99 - web-sys@0.3.76 - winapi-util@0.1.9 - windows-sys@0.52.0 - windows-sys@0.59.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_msvc@0.52.6 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 -" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-26.2.1.ebuild b/dev-python/sqlglot/sqlglot-26.3.9.ebuild index f66889c1ac68..f66889c1ac68 100644 --- a/dev-python/sqlglot/sqlglot-26.2.1.ebuild +++ b/dev-python/sqlglot/sqlglot-26.3.9.ebuild diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 31faa8e26f7e..e69f5e0f9e6d 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,3 +1,5 @@ DIST stripe-11.4.1.tar.gz 1379118 BLAKE2B 6acbbe35ab7625d9bb0be6c92b901c71b9d93a69d5b1bfd99826cdd1288db10a87c07e88a7f66a08dece7d84767b43760c3487e9f601658b2a0d13c27f9405d5 SHA512 1bf68094002226d9b47cf29cae54116f7fb5cbc7cb000a7dc3d95eb0cbbcb75b5979348aabab4417ca455a8a28bd8d90756f6258ff0ff1c6b0af3130e8fe0563 +DIST stripe-11.5.0.tar.gz 1386601 BLAKE2B 009cd3d273a009d20ec46f7d1875212cdee92514f9735a8474eba321d92f2fed9d55ea946feecf1aaf0e456dd76c5cd651eccaad8c68838575e7655940b75e5b SHA512 2f18732d59b92b9d17f4f3b728c8457dc10457d7a2c53d80ff1f770c09f77b7d7d1627ce51f4bd37432bc41b1aab5377eecc0adaa735a6b3f45f2193e0acf4fb EBUILD stripe-11.4.1.ebuild 2669 BLAKE2B f70bb54361630c16d1e8c94e09df812ff07dec0658783af8a413ce184c991c74e5f183507ad4b8f425cfa4a06cf08c5c6d2644a79650c8ba62e819c556308903 SHA512 e98c9d9beeb40a08c0d42de541ea2bac834d19bdfac8de9453e67e7d56f278388821bf19fab55ae9a66c596738e0302a7864539048b4f515c36b9419e09d7d42 +EBUILD stripe-11.5.0.ebuild 2537 BLAKE2B a145cdecdab88ad7cf8ce0487ed76399f2072a3f7c1d4fd10be4accc50b2ee4feb20f20692c8a86f14843234d3d9e1a8cba54fcdb58971d68ea1dd9c061c024e SHA512 52ba7756e3a5e94f0ec2ad51afa2205aaab616c52d7a5d692fad06d4a8a0f782128fc1155b37a5f7f7162db7df5928a56db0ec70f30242c0e49770871d2a97b0 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-11.5.0.ebuild b/dev-python/stripe/stripe-11.5.0.ebuild new file mode 100644 index 000000000000..5a4cada9caae --- /dev/null +++ b/dev-python/stripe/stripe-11.5.0.ebuild @@ -0,0 +1,93 @@ +# 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="Stripe Python bindings" +HOMEPAGE=" + https://github.com/stripe/stripe-python/ + https://pypi.org/project/stripe/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="telemetry" + +RDEPEND=" + >=dev-python/requests-2.20[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +# please bump dev-util/stripe-mock dep to the latest version on every bump +BDEPEND=" + test? ( + >=dev-util/stripe-mock-0.192.0 + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + net-misc/curl + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) + +src_prepare() { + distutils-r1_src_prepare + + if ! use telemetry; then + sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/test_http_client.py::TestLiveHTTPClients::test_httpx_request_async_https + 'tests/test_integration.py::TestIntegration::test_async_raw_request_timeout[asyncio-aiohttp]' + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests -p anyio -p pytest_mock +} + +src_test() { + local stripe_mock_port=12111 + local stripe_mock_max_port=12121 + local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" + # Try to start stripe-mock until we find a free port + while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do + ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" + stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" & + local stripe_mock_pid=${!} + sleep 2 + # Did stripe-mock start? + curl --fail -u "sk_test_123:" \ + "http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null + eend ${?} "Port ${stripe_mock_port} unavailable" + if [[ ${?} -eq 0 ]]; then + einfo "stripe-mock running on port ${stripe_mock_port}" + break + fi + (( stripe_mock_port++ )) + done + if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then + eerror "Unable to start stripe-mock for tests" + die "Please see the logfile located at: ${stripe_mock_logfile}" + fi + + local -x STRIPE_MOCK_PORT=${stripe_mock_port} + distutils-r1_src_test + + # Tear down stripe-mock + kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" +} diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest index ef25c275c3a6..d914e2401c06 100644 --- a/dev-python/translate-toolkit/Manifest +++ b/dev-python/translate-toolkit/Manifest @@ -1,5 +1,7 @@ DIST translate-3.14.5.gh.tar.gz 1175068 BLAKE2B d3627d8a69f98d01fceb3d8e233ff9d19238ff42aa5255e5f4b8372ecacb07f1cea02ff75c6e7e27eec684eeda207db83b91c6905edf7b82d93ca1a275db4564 SHA512 40467e48aeca0a51caf6baabce13a3daa3b643a5416a1dc8b8ce70198b7b6f13688f808c0e050ca2e2e6d977347dab59b454b6d9c537b4d615f623d5531bcc10 DIST translate-3.14.6.gh.tar.gz 1175486 BLAKE2B 3cfd844815adcd7ac24a41df41f3e717d7afa7c19f4e4467f9ce7892ec9adb321ed2e499358cdaa294c5a5d8ca8e20271ac47cc598b8e7585c290eea8e9b8235 SHA512 a2e23c4ec29e61fdcc0c28e7789478d595a11751c6117b7b5cc9191deec01e31309cea8a6e39c81635105b8b6b10c34533af5b91b736f7c2bbd4780146b79b3d +DIST translate-3.14.7.gh.tar.gz 1176117 BLAKE2B 4237e99c92b1e0e207e4618039061ff33170d1e152d224b2455514f7a30a7248566304e8550bb3f8a7412daf26f50c855541c3d0674d4f9e032e65d9d5e12eec SHA512 e0b505a0d5cd520a83560e08aa414a3b3d95b4c7af96a7dd3cd5a7e28ff827918e12cbefa36212b018a1ab7c2c345d6fb66e94d5d09f80eaa6bcaf330c5927e8 EBUILD translate-toolkit-3.14.5.ebuild 3179 BLAKE2B 7823612c89199b9c055e1d8bad2ec83f38196a9a8ec67a24f638a55b0bb5e0207b61f889c13fdae41634ff50c8e4f9994fc330aa2d9b0014b60f72e4f4970fe8 SHA512 b0e3a3795b4190b62c0ad2a73f399331ff3371e05eb820ada00b3f87efd8488a31c7dcdb3fe955be9ebd5840bfc5c7e6b41c7a5fada20b9698aa94874c60f08a EBUILD translate-toolkit-3.14.6.ebuild 3182 BLAKE2B 132ece55534f73a3628579ccbdaf1b49ba1a59f3d84b5e015c2b0f277c005db79fe3009f568dc78b6b184ed4dcc0bd6f4be5a1ee62c75d3eff424d446d81a88a SHA512 75e13d61a98635ad89257c8979403298df7fc33df50f2bfc598b8db07e39648fa4120c08e4bf881bc79538d042d876d80411d10feaa2981e6a193cd63b450b56 +EBUILD translate-toolkit-3.14.7.ebuild 3182 BLAKE2B 132ece55534f73a3628579ccbdaf1b49ba1a59f3d84b5e015c2b0f277c005db79fe3009f568dc78b6b184ed4dcc0bd6f4be5a1ee62c75d3eff424d446d81a88a SHA512 75e13d61a98635ad89257c8979403298df7fc33df50f2bfc598b8db07e39648fa4120c08e4bf881bc79538d042d876d80411d10feaa2981e6a193cd63b450b56 MISC metadata.xml 756 BLAKE2B 06f64f258d362954f99f7e9eee241eb3dddc6b00b9069df2ad977d28b5cf06f9c8ee2246ee5958600b5ac86297968d7aaced6b6420dca4ed507c441c58c61ca9 SHA512 80374c40513ca450f97e3930929c1450e7438ea15830e60937952a6fccfd999675f2ca2056c5aa4e287ba256c6ec08a09d8f7adb8b2c5af8ca0cd595f34acd85 diff --git a/dev-python/translate-toolkit/translate-toolkit-3.14.7.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.14.7.ebuild new file mode 100644 index 000000000000..9af4d0313f20 --- /dev/null +++ b/dev-python/translate-toolkit/translate-toolkit-3.14.7.ebuild @@ -0,0 +1,119 @@ +# 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..12} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_P=translate-${PV} +DESCRIPTION="Toolkit to convert between many translation formats" +HOMEPAGE=" + https://github.com/translate/translate/ + https://pypi.org/project/translate-toolkit/ +" +SRC_URI=" + https://github.com/translate/translate/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+html +ical +ini +subtitles +yaml" + +RDEPEND=" + app-text/iso-codes + >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}] + dev-python/cheroot[${PYTHON_USEDEP}] + >=dev-python/levenshtein-0.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}] + >=dev-python/mistletoe-1.1.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + >=dev-python/cwcwidth-0.1.9[${PYTHON_USEDEP}] + sys-devel/gettext + html? ( dev-python/utidylib[${PYTHON_USEDEP}] ) + ical? ( dev-python/vobject[${PYTHON_USEDEP}] ) + ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] ) + subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] ) + yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] ) +" +# Technically, the test suite also has undeclared dependency +# on dev-python/snapshottest but all the tests using it are broken +# anyway, so we skip them. +BDEPEND=" + test? ( + dev-python/phply[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + # unfortunately, this bad quality package doesn't support XDG_DATA_DIRS + # correctly, so we need to reassemble all data files in a single directory + local -x XDG_DATA_HOME=${T}/share + cp -r translate/share "${T}/" || die + cp -r "${ESYSROOT}/usr/share"/gaupol "${XDG_DATA_HOME}"/ || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # Fails with network-sandbox (and even with it off but w/ softer fail) + 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff' + 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff' + # all tests based on snapshottest are broken and I'm too tired + # to figure this out + tests/translate/tools/test_pocount.py::test_{cases,output} + tests/translate/tools/test_junitmsgfmt.py::test_output + ) + local EPYTEST_IGNORE=( + # unpackaged fluent.* + tests/translate/storage/test_fluent.py + # changes directory and does not change it back, sigh + tests/odf_xliff/test_odf_xliff.py + ) + + if ! use ini; then + EPYTEST_IGNORE+=( + translate/convert/test_ini2po.py + translate/convert/test_po2ini.py + ) + fi + + if ! use subtitles; then + EPYTEST_IGNORE+=( + translate/storage/test_subtitles.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install_all() { + distutils-r1_python_install_all + + insinto /usr + doins -r translate/share + + if ! use html; then + rm "${ED}"/usr/bin/{html2po,po2html} || die + fi + if ! use ical; then + rm "${ED}"/usr/bin/{ical2po,po2ical} || die + fi + if ! use ini; then + rm "${ED}"/usr/bin/{ini2po,po2ini} || die + fi + if ! use subtitles; then + rm "${ED}"/usr/bin/{sub2po,po2sub} || die + fi +} |