diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-10 19:24:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-10 19:24:49 +0000 |
| commit | b11f532d85ba9cfcea1503a85246b19d35419295 (patch) | |
| tree | 4d517de5651f42bf5be572144467cf2eae4a8a66 /dev-python | |
| parent | 9a2662643518c63c7a17a80dd22a64ebdeac241b (diff) | |
| download | baldeagleos-repo-b11f532d85ba9cfcea1503a85246b19d35419295.tar.gz baldeagleos-repo-b11f532d85ba9cfcea1503a85246b19d35419295.tar.xz baldeagleos-repo-b11f532d85ba9cfcea1503a85246b19d35419295.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
74 files changed, 1179 insertions, 366 deletions
diff --git a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.7.ebuild b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.7.ebuild index 9db19b6f9e35..13d763198835 100644 --- a/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.7.ebuild +++ b/dev-python/PyQtWebEngine/PyQtWebEngine-5.15.7.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" IUSE="debug" DEPEND=" diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 8538923ad3c4..631883ed7489 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1 +1,2 @@ DIST ansible-compat-24.8.0.gh.tar.gz 74341 BLAKE2B ce6edf8ed532815f2e307ac51eef0ac694805b0d5f8cad78c75c57478a21eb443348d636ca0e405fe63d32daf0f426c20e0f97183082f0eba3dd4b889fb8be80 SHA512 07da3a5d4f6eaa6edec3a03107d6e751e9754a84420a9839239d17811de01e8c70bed84e8c23a1308d18e8388581b0e269ae03c235bbc244e95a29c3be25567b +DIST ansible-compat-24.9.0.gh.tar.gz 75290 BLAKE2B 0482d9eba967d4d846e35f3a2754410e1f42d34e451b2cf42bcbb88155fdf90859b9fbf6ead28a6e8c252d3a37522c1d1c903a38d4e47ba427678bc39d3c8e9c SHA512 e6803e598fabb1097bf0f10a7b9592af97152d108bc89a29547546de0eaa87ebba9232e78aeababb3ffd94c58af8b93499de9c059a6c42d04179d02b50d92a0f diff --git a/dev-python/ansible-compat/ansible-compat-24.9.0.ebuild b/dev-python/ansible-compat/ansible-compat-24.9.0.ebuild new file mode 100644 index 000000000000..af8c76a4eb7e --- /dev/null +++ b/dev-python/ansible-compat/ansible-compat-24.9.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 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_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" +HOMEPAGE=" + https://pypi.org/project/ansible-compat/ + https://github.com/ansible/ansible-compat/ +" +# We normally use PyPI here but 4.1.12 has never been uploaded there for some reason +SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=app-admin/ansible-core-2.14[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.6.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}] + ) +" + +# All these tests attempt to connect to galaxy.ansible.com +EPYTEST_DESELECT=( + 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 + # pip, failing due to internets + test/test_runtime_scan_path.py::test_scan_sys_path + # internets? + test/test_runtime.py::test_runtime_has_playbook +) + +distutils_enable_tests pytest diff --git a/dev-python/bareos/Manifest b/dev-python/bareos/Manifest index 82c521af62f8..1cc5c4c21723 100644 --- a/dev-python/bareos/Manifest +++ b/dev-python/bareos/Manifest @@ -1,4 +1,4 @@ -DIST bareos-22.1.4.tar.gz 14747141 BLAKE2B 1b155c35f22120b07151a54ef314c6f8f42ea14c3f194d787a58ece41f8de148f0b34d0cc6a54f578b1bb5c4d3ae2a7736829f6d2cd642d8e001f1797a18052a SHA512 4285f0f524c6f30ae8f7dd67e2a732cf983663f56b053968a7f10d753e38bc2ee1e2673d1fb6a9b516994b51b45215fac153e301b893c9cb31a164ebff0d4c85 DIST bareos-22.1.5.tar.gz 14747894 BLAKE2B 560bc1ceb34fccfb370e8643d24917e24b2440158dd267532c2cb7e4a543d29b81b033e7a34c46eda4c6d71165e48da9332605c3bcd073fbafa38f3ba8be69a2 SHA512 8138f2142f705e2448f8bc2e00f39fe4f734ce8fe687e3cf00c9ff9bda9a3df73ebd7fb86d850ba755588cdaca324e1ba9034987ecb975ce47dd279395ee03b4 -DIST bareos-23.0.2.tar.gz 14724410 BLAKE2B 0fe86c10d62ad322dfbcd5ac972aec27d6f0ad31e156d359398739b2bfd784a02ce89b26b6bdfcf279265114a4e6e13efe21edab8b87cff15f1f9f3ad055c64b SHA512 a8d8270c8060480fe87da9252de86a75eea1cc427db63536f848d19a2c23c499ca294a9656d9a6aac73a756f84c96a2d72f13d1cede7948e18bf93efc2ecfc29 +DIST bareos-22.1.6.tar.gz 14758055 BLAKE2B e49c2f6b38394b71a15e4826286a761e78b8c301429843630bbf024a76505381a84581296e7bcdd537bf04194e10abc3c8b4f358234ae968a10163993c9451bc SHA512 6fda879ed6ac05843d9c8c0da16228e2b009ee094230ce7cec0deb9125723f1bd8964517c355f61fda34ee5664ebaf4e76b3c6ce2b0e9b88c66788abf5d9b93e DIST bareos-23.0.3.tar.gz 14744648 BLAKE2B be31a4284ff2ff97ace51f895637cfafac666d4e9d95524e5e03d22798427ff551419422fb41783d3fda7288a0cd982c8dde751a15428346c61e3fa64bfa80c0 SHA512 42ede6976c894f89836ae272598edce8b3dadbdceb3b429724ea4c01a980470c161f03e54b58b17bd3fa3a7f750b4a79e5f96070fee5aae4b4fe73e79b2d8b61 +DIST bareos-23.0.4.tar.gz 13954430 BLAKE2B dfeea6ca63be1cb376507a1270cc835d8f6ea336a8cf9c07ac74a2817d84f044da7ac974b11a34b3d6c8a66ed4cb27a1e9ba06b4dad697937e6068181f42eb03 SHA512 50686548cb2bb398d524fa208db97a68e30f40e53ac8a8f57182157e713d743baf8a3177453327943b17de128f6dd6c5b5de0fe65ddcedf7cbca715e7ae05bd5 diff --git a/dev-python/bareos/bareos-22.1.4.ebuild b/dev-python/bareos/bareos-22.1.6.ebuild index 8418ac127496..8418ac127496 100644 --- a/dev-python/bareos/bareos-22.1.4.ebuild +++ b/dev-python/bareos/bareos-22.1.6.ebuild diff --git a/dev-python/bareos/bareos-23.0.2.ebuild b/dev-python/bareos/bareos-23.0.4.ebuild index 8418ac127496..8418ac127496 100644 --- a/dev-python/bareos/bareos-23.0.2.ebuild +++ b/dev-python/bareos/bareos-23.0.4.ebuild diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 657a70b73dad..38ec7e5b35f9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,3 +1,4 @@ DIST boto3-1.35.10.gh.tar.gz 856679 BLAKE2B 03e7be74455b487a79188405796fc08bd940962ca4ef8c36398ee8f955c2677e57a528626ef31e5e54ce2c1b96c82cef857b54dcc16248178c60c14fd14de3f9 SHA512 99c0e0b67a590a06713eeb98eb485b055ee6fa1bd181f996d24bdf88698d7885efe0a5f1e9883083655b12a474112a03f8561c66c4c5b5a0e6db56d5733db77b DIST boto3-1.35.14.gh.tar.gz 859166 BLAKE2B eb201a319453097068b4711356ea930de739ff8874da7441fa3b931434c8a82a1692a5f67b10f06eaf7644335033e302f733fcc2267b782398e9edd28c32a613 SHA512 ade4b6bc0c816244d5335b1669090d8a5e3c8dcc8802b0aa10498ce8c5fe8e456958ff3bfd73a5c9376ce1658f9c2a90d5470c86c2b3399d7198bacd09764619 +DIST boto3-1.35.15.gh.tar.gz 859778 BLAKE2B f704c28f5510c0f495bbfd2e09ea303efedbcd96fc0d4a76ce2790c0e9e4814a678f30812d6b2c70225e0dd78ad7a38a2148aa7245d65a642409c9e693f39030 SHA512 d34ad96c6cc0e8ff29dc2b74872bf20cc69618cba72f3429425f5ad922bc669427ea709aa03642ced59b7acfd446e243067aa773930be1ff3dfe9fa8b7b9c2a4 DIST boto3-1.35.5.gh.tar.gz 854016 BLAKE2B f94d738e310725cd5f9c7b405a094155f3ecf640f02045662ed94ab3689ea549fde7eee19ae2be450768560ad705b8740fda78b79ed42cf536231626d247e09a SHA512 fc1106abbb306bacb80dce825bf71303e71b0d0698d7e3bb4dcaca4ea6e4f7a97e70753367200294f334b351e764bca57f2316afec854d2e46db4644dfefc25b diff --git a/dev-python/boto3/boto3-1.35.15.ebuild b/dev-python/boto3/boto3-1.35.15.ebuild new file mode 100644 index 000000000000..509842b2699d --- /dev/null +++ b/dev-python/boto3/boto3-1.35.15.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +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 ~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.10.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 511d66e86153..7ca94ed2b4e1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,3 +1,4 @@ DIST botocore-1.35.10.gh.tar.gz 13328544 BLAKE2B cecad54696210597a09f4316a88b8335bc441a6429ddbc7f3c6e539a1aaee4312b855ec93b99971c8241b2431a920085f4f3b38545d607609a8d6a94d36676d8 SHA512 cf6bb103aea0af9ed2e43762848438eef89ab5bf8eec856cb8cd70204dd36f143ab9b8defd6ecd849a542332351feb499d8c34e7382bde558eac3ad19b1c5757 DIST botocore-1.35.14.gh.tar.gz 13340768 BLAKE2B 4ba023dbfc9e632d86028100910544e192a5b2d70ec76a21dfc5003c767a6043a144385561c35f4d7b4bfefbf4a1f3a38ef2845e323f93868e1f5ad86ae1f12b SHA512 c0dfdec80a45cf11796496bc2bef575a567368be3f29267b4d411d0615e6c8536036e47a5de11fb8f4626590dca051e891bb9430ed1ea80dfab2f43f070209d2 +DIST botocore-1.35.15.gh.tar.gz 13343518 BLAKE2B 7eef64c875cc175aa94271b72a300908dc0f1c19504b0088acd5cf97224a4793bdc1bb5adc38e763359eb54892636feb2833726d217eb0a5f998c451e8de484e SHA512 305d16f4aad9832a6b405d2aa44805a89d70b57c74d0b4a25068801615cbdd9e6e223e804f1fd2c057ae3cc6515f0a20cab8adfda421e8c29ba911707fef0820 DIST botocore-1.35.5.gh.tar.gz 13303437 BLAKE2B 0a95351fbc93074bb0398871773120a194fe581a26f9a74c1101a5ea57bb3acb9a33937fc2d5a39a065988cdcc6dbe253bd2227cf93e670602ccc67ab82d8845 SHA512 5527420017a4a23d5593f5b3a0eb8caf15357642ed90cd73e0fe22774cc8f9f3637028286063e3e2810e5dafe52e882928269e5c82f6369be9af99bef18fb365 diff --git a/dev-python/botocore/botocore-1.35.15.ebuild b/dev-python/botocore/botocore-1.35.15.ebuild new file mode 100644 index 000000000000..64a61a30c80b --- /dev/null +++ b/dev-python/botocore/botocore-1.35.15.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +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 ~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 + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index a680a4fa2609..f76a426aa2cc 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -6,9 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f SHA512 25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b -DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b SHA512 3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a799996dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3 -DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf SHA512 ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 -DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 BLAKE2B 40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f SHA512 a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 +DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 diff --git a/dev-python/clang-python/clang-python-20.0.0_pre20240822.ebuild b/dev-python/clang-python/clang-python-20.0.0_pre20240822.ebuild deleted file mode 100644 index 82c18f7c0f95..000000000000 --- a/dev-python/clang-python/clang-python-20.0.0_pre20240822.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-19.1.0_rc3.ebuild b/dev-python/clang-python/clang-python-20.0.0_pre20240910.ebuild index 82c18f7c0f95..82c18f7c0f95 100644 --- a/dev-python/clang-python/clang-python-19.1.0_rc3.ebuild +++ b/dev-python/clang-python/clang-python-20.0.0_pre20240910.ebuild diff --git a/dev-python/django-timezone-field/Manifest b/dev-python/django-timezone-field/Manifest index d840caeb0eb2..385fd7e38358 100644 --- a/dev-python/django-timezone-field/Manifest +++ b/dev-python/django-timezone-field/Manifest @@ -1,2 +1 @@ -DIST django-timezone-field-6.1.0.gh.tar.gz 36029 BLAKE2B 5177b440e0537fbde12e0dd4bf92e65c983996f7ef1393212b0f4c24efecfc0d4d24e1bbc8447295b565d8b9921c0c05f6cc4baa11db3ccc9b60c33c48e76fb2 SHA512 b070e55a2a5196de1fcae4bd19979caf9d84c234a4e379d82dab843541cf99a0acced9a6996e35afe6b40d1bf737d522d34b91df10596e7365f85cfbe0597015 DIST django-timezone-field-7.0.gh.tar.gz 37416 BLAKE2B a0420ccbcb9d7d834e65d0cc89fd83662bd4b3773f1443f05866381d6bbeacba86bdd2e6078a3819bdbf6c174e3ede08e4b9d307838d5082e7bef037ff751681 SHA512 9a96b65a7dce48f58c3915e835e92b8d884f6b15f8314f5d6f1a34bc75ad4bc8f0c33035a4844b5906b7d6bc468cf364be8c82843f3af714a59dc9a40e71f9af diff --git a/dev-python/django-timezone-field/django-timezone-field-6.1.0.ebuild b/dev-python/django-timezone-field/django-timezone-field-6.1.0.ebuild deleted file mode 100644 index 4c721f0f1fc0..000000000000 --- a/dev-python/django-timezone-field/django-timezone-field-6.1.0.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="A Django app providing database and form fields for timezone objects" -HOMEPAGE=" - https://github.com/mfogel/django-timezone-field/ - https://pypi.org/project/django-timezone-field/ -" -SRC_URI=" - https://github.com/mfogel/django-timezone-field/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - <dev-python/django-6[${PYTHON_USEDEP}] - >=dev-python/django-2.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/djangorestframework[${PYTHON_USEDEP}] - dev-python/pytest-django[${PYTHON_USEDEP}] - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x DB_ENGINE=sqlite - epytest -} diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index 10c39ab009e2..2b16c77b327e 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,2 +1,3 @@ DIST elasticsearch-py-8.14.0.gh.tar.gz 1092912 BLAKE2B 4ee556bc475d63e33cec318936b2dbf8b280236bcdfe28bc90a4beb7e1d024b8d63180c29e42096cb32bf3da7c771532c57190d763651118603779f816e95656 SHA512 9e9821102659b4c877959e25c33e1b1942f6eabe62bb6de73cda4875c248b0f9285d948e535e9426ca42552f7aa3e75c459f991bfa574c1d8400d78486ee5493 DIST elasticsearch-py-8.15.0.gh.tar.gz 1163528 BLAKE2B 8ee26e504f09b4ed2ccd695c034f5e35bdc609c1de7055b1f93f279edc7b3b6ac72625e8645c25d126481d7d877a197ecb8d7b35771841b412291caa42d4ee5f SHA512 7982f8366d7b74c85fdcaf4761fcbd9e6e14f0ef2a4aff353bad0b5bbedf7251eabf933e86f1dc9734de0aa6d43a30e1f055cd3b9c7ff2c7864da8779f64bfbc +DIST elasticsearch-py-8.15.1.gh.tar.gz 1536398 BLAKE2B 459bebd94fdfe1c30e8e7e996de8ab3495e6f3341cd59ced6cb066065d21de751dc54d764455d2e7accdb6af9ea00f47e7c6a2c1e5af125cfe64a6e0b8f9e2cc SHA512 3e544187ca530932c730ada304d4c3f36c1c7561c1f53f6b35793c1ad7e9d95ffb435228e3fad76e746e6b2624e2d3bfe5c4036d06c72f5f2d625e4a557dd28d diff --git a/dev-python/elasticsearch/elasticsearch-8.15.1.ebuild b/dev-python/elasticsearch/elasticsearch-8.15.1.ebuild new file mode 100644 index 000000000000..d4b1f8facd38 --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.15.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P="elasticsearch-py-${PV}" +DESCRIPTION="Official Elasticsearch client library for Python" +HOMEPAGE=" + https://ela.st/es-python + https://github.com/elastic/elasticsearch-py/ + https://pypi.org/project/elasticsearch/ +" +SRC_URI=" + https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/aiohttp-4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3[${PYTHON_USEDEP}] + <dev-python/elastic-transport-9[${PYTHON_USEDEP}] + >=dev-python/elastic-transport-8.13[${PYTHON_USEDEP}] + >=dev-python/orjson-3[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/opentelemetry-api[${PYTHON_USEDEP}] + dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/unasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # REST api tests are a black hole for effort. It downloads the tests + # so its an ever moving target. It also requires effort to blacklist + # tests for apis which are license restricted. + "test_elasticsearch/test_server/test_rest_api_spec.py" + # Counting deprecation warnings from python is bound to fail even + # if all are fixed in this package. Not worth it. + "test_elasticsearch/test_client/test_deprecated_options.py" + # Running daemon for tests is finicky and upstream CI fails at it + # as well. + "test_elasticsearch/test_server/" + "test_elasticsearch/test_async/test_server/" + ) + + local -x TEST_WITH_OTEL=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/elementpath/Manifest b/dev-python/elementpath/Manifest index b87441466f5a..a17aab9a1ea0 100644 --- a/dev-python/elementpath/Manifest +++ b/dev-python/elementpath/Manifest @@ -1 +1,2 @@ DIST elementpath-4.4.0.tar.gz 330008 BLAKE2B 059b67c246052676b9514808dedad3b7dfa21a6e9291a52c9a56abb2d51e12fdf1271cd70978c83f861f76fc6d02a6b73180df7fb2e36a9c443ff344d13eb127 SHA512 ffa91ff55f893efed50620a0eae97dd0360f9eb80f264bd421a26215fe8fbcea715c1635465be3169c4d2be503a875f469b8507d12f8d44cb64f398accfd2750 +DIST elementpath-4.5.0.tar.gz 338727 BLAKE2B d05f98c509fb7d6fc2db73880963e8f77fbc4643907b6de37771bd52faaf054dddd9bfc35e238e4f8f7b4e0d3c033f4be9297e93b91462cd21664e16661739c4 SHA512 dafd480778d9d4e9fec1dc11d298590d460ad6b26f3683dea301b650da1b1ddcf03a68af6f3fa947b78a528f458ecf655e6ec172fd6ff194890c3f8fa28f37ca diff --git a/dev-python/elementpath/elementpath-4.5.0.ebuild b/dev-python/elementpath/elementpath-4.5.0.ebuild new file mode 100644 index 000000000000..7b67d82f3b35 --- /dev/null +++ b/dev-python/elementpath/elementpath-4.5.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" +HOMEPAGE=" + https://github.com/sissaschool/elementpath/ + https://pypi.org/project/elementpath/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # fails for some reason, more fit for upstream testing anyway + tests/test_typing.py +) diff --git a/dev-python/gdb-pt-dump/Manifest b/dev-python/gdb-pt-dump/Manifest index b69b7da870f8..429ef6b178d7 100644 --- a/dev-python/gdb-pt-dump/Manifest +++ b/dev-python/gdb-pt-dump/Manifest @@ -1 +1,2 @@ DIST gdb-pt-dump-0.0.0_p20231111.gh.tar.gz 386894 BLAKE2B 31c15a7574ac37e859831e6b17d27ce47bc6aed4d3bb81a01c8492b803cd71ba28379777bd9c221c9f81585811bba4952fb8e5349104ff36e88efe3996715937 SHA512 c94cce47754b634a2fda267f715cdd7957ec0714c4ac96d6b9e20fa4cfdf6c026a3e0b351bf0e041ea0c2dbf253f547ede3d2b13b83c6316ef6222bac0e4b61b +DIST gdb-pt-dump-0.0.0_p20240401.gh.tar.gz 406426 BLAKE2B 9b50d600df72eec81b2d146dc972a2096ce6d8a085b79360dfefc3d45a733e29008ca3986496811532e541deec46d71410191869cd9643c603a3955d683e6ff7 SHA512 bb521868ccfbae8a411bc57e067cdda227b113cb20bc97eefad77a693f66d00d20debbce51f69c8daf86128bbf938cd3304ea97992aa817a608ce65f80173e10 diff --git a/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20240401.ebuild b/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20240401.ebuild new file mode 100644 index 000000000000..c798f515ab70 --- /dev/null +++ b/dev-python/gdb-pt-dump/gdb-pt-dump-0.0.0_p20240401.ebuild @@ -0,0 +1,31 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Examine the address space of a QEMU-based virtual machine" +HOMEPAGE="https://github.com/martinradev/gdb-pt-dump" + +GDB_PT_DUMP_COMMIT="50227bda0b6332e94027f811a15879588de6d5cb" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/martinradev/gdb-pt-dump.git" +else + SRC_URI="https://github.com/martinradev/gdb-pt-dump/archive/${GDB_PT_DUMP_COMMIT}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/${PN}-${GDB_PT_DUMP_COMMIT}" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + dev-debug/gdb[python,${PYTHON_SINGLE_USEDEP}] +" diff --git a/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild b/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild index 86556d112270..41cef73dc330 100644 --- a/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild +++ b/dev-python/gdb-pt-dump/gdb-pt-dump-9999.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/martinradev/gdb-pt-dump.git" else SRC_URI="https://github.com/martinradev/gdb-pt-dump/archive/${GDB_PT_DUMP_COMMIT}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~arm64 ~x86" S="${WORKDIR}/${PN}-${GDB_PT_DUMP_COMMIT}" fi diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index 4d84786d621a..d5113e60291e 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,2 +1,2 @@ -DIST griffe-1.1.0.gh.tar.gz 379874 BLAKE2B 452d98f1248866ee159229aec84bc99f7f83bc9c22505c809ea0de2b9bf6342ffddae42f694c30a2b696de081a34d886e42270a1c6a68aedc5a9f544112889da SHA512 a443c3094c4044b58537b5fa781610d99e26be195df216b74a097257596f52ecc7021ba5fb504c82f7960154b8d3a00fa05cc63526e538291486e915ef44cc51 DIST griffe-1.2.0.gh.tar.gz 382642 BLAKE2B a9db18e6cca59d85f8af61cde0fe5bf622d8804a6fa12d4128b4b52dbf8d7478b06aa5b746ce97cd3398550a926029fcc7096e5ae95f918e652a8295d9fb60e7 SHA512 334d4d08dfab5d8b24020e2901ab71a624478d1d84025123e85dc9ea6768bd51681788983c2328e2c9296fe36b9304512657577c7c12b6a6196363eb965b473d +DIST griffe-1.3.0.gh.tar.gz 383337 BLAKE2B e1908e68f812b9227f4ba7249a8f20ae1d75cac3237ca90c5f47adb51a8d0efcd31b016f30f9f9e0af2a2292b86cf5fb08d9314e72ca4282bd36cafce19030ac SHA512 839d0bb8fc36f5552d50721f72905d533849d9b7258ba1ed1eabc783dddc4aee87ea612605bd23268f4282c06e71e010e76dfebce0951ef92917abc80211e7d1 diff --git a/dev-python/griffe/griffe-1.1.0.ebuild b/dev-python/griffe/griffe-1.3.0.ebuild index ef4b909e872e..ef4b909e872e 100644 --- a/dev-python/griffe/griffe-1.1.0.ebuild +++ b/dev-python/griffe/griffe-1.3.0.ebuild diff --git a/dev-python/guidata/Manifest b/dev-python/guidata/Manifest index a8455c3fba56..206ac4127d1f 100644 --- a/dev-python/guidata/Manifest +++ b/dev-python/guidata/Manifest @@ -1,3 +1,2 @@ -DIST guidata-3.5.2.tar.gz 715460 BLAKE2B 8fa7f73cb306099c6e7cf5f2fe2eb5df3905ae6e8a9103682fddd70e5381cb7d485830c28cc4275735f9e8b726bde08b537877307be0075a40efc384ec6287ce SHA512 435f84c8fd25379a509180221d1caed1f967fde476ce68f709b0463116d333fc5ad2450b66d87d97104e5e826a366c935cbb0483267adbfcdf6326e52d5ac4ab -DIST guidata-3.6.1.tar.gz 718020 BLAKE2B 69dc2b64fe9e0e6e63e705833d0f02dfead890a3caeaf0ad03b2aac2a9f1b0a14a5b552dc4ff3e479fc416ba348f3b84a713a409e08f8b584f0d9d8597b04e84 SHA512 38fb27b2484deb1c7780d7750cb1d522b53ae195fc3fd4f73ff0973898106ad3cbf974de912f5a72a95b8741d740235abff2b840ab12f36c7808f024eb16d2f9 DIST guidata-3.6.2.tar.gz 718258 BLAKE2B 197698ec37ff44c4a75b812f8ae36a3662af43bc366e619b954489d48ae146705b6d4321a4a3f05ce20bfdb60b205a5b90bb4b6379cdb7383efbf9f669317381 SHA512 29459d9a08cf42f89d5d98eca4f729670a1d47921039debcc3a4e9d1fbca812ed1d3c059e70ae76a19d85ad7c41122097ccbf5dbde6046b81a18a96a7e606851 +DIST guidata-3.6.3.tar.gz 718459 BLAKE2B f3ec7bd4d367afe05741498df15ddef1904962c826fc0ce8200a72d3f46fdc198ba0facb5f9010f94be21506e7f43a02c4ffab6ca7d8adf27ab01efae493a1fe SHA512 b3e53dace35c19e30be19bdf91454322445446d87f2d278f6749b3c7d5b7029dc7786ccdd48baa9b10991a076d83084fac4cfb39a86f695659e37c5be28ed28a diff --git a/dev-python/guidata/guidata-3.6.1.ebuild b/dev-python/guidata/guidata-3.6.1.ebuild deleted file mode 100644 index 2e3f2e22332e..000000000000 --- a/dev-python/guidata/guidata-3.6.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for user interfaces for easy dataset editing and display" -HOMEPAGE="https://pypi.python.org/pypi/guidata" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND=" - dev-python/h5py[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tomli[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/pytest-qt[${PYTHON_USEDEP}] - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest -p xvfb -} diff --git a/dev-python/guidata/guidata-3.5.2.ebuild b/dev-python/guidata/guidata-3.6.3.ebuild index 2e3f2e22332e..644977395846 100644 --- a/dev-python/guidata/guidata-3.5.2.ebuild +++ b/dev-python/guidata/guidata-3.6.3.ebuild @@ -9,17 +9,21 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 pypi DESCRIPTION="Library for user interfaces for easy dataset editing and display" -HOMEPAGE="https://pypi.python.org/pypi/guidata" +HOMEPAGE="https://pypi.org/project/guidata/" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" +KEYWORDS="~amd64" +IUSE="test +pyqt5 pyqt6" + +REQUIRED_USE="|| ( pyqt5 pyqt6 )" RDEPEND=" + pyqt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) + pyqt6? ( dev-python/PyQt6[${PYTHON_USEDEP}] ) + dev-python/h5py[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP}] dev-python/QtPy[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] dev-python/tomli[${PYTHON_USEDEP}] diff --git a/dev-python/guidata/metadata.xml b/dev-python/guidata/metadata.xml index 56988650ec34..c598f3884f29 100644 --- a/dev-python/guidata/metadata.xml +++ b/dev-python/guidata/metadata.xml @@ -6,5 +6,9 @@ <name>David Roman</name> </maintainer> + <use> + <flag name="pyqt5">Use <pkg>dev-python/PyQt5</pkg> as Qt for Python implementation</flag> + <flag name="pyqt6">Use <pkg>dev-python/PyQt6</pkg> as Qt for Python implementation</flag> + </use> <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/importlib-resources/Manifest b/dev-python/importlib-resources/Manifest index be0600098eea..a7fbab598ae4 100644 --- a/dev-python/importlib-resources/Manifest +++ b/dev-python/importlib-resources/Manifest @@ -1,3 +1,4 @@ DIST importlib_resources-6.4.2.tar.gz 41629 BLAKE2B 21bfb0af9421f49acce3209ec93016b69626a179d65f48066abea8792292506b739460675cc9c0ce552d11db261af409d5aa2bab2b7b16c3daab133873d3a353 SHA512 e3bb0e1ccf35fe36f805a97ff71cd82d9e55547baf1c6083bec07c2528cb1f11497926f76917cfba3924c04d6fd5753ccfbb912fdf08174c5b63f5f1a198acf5 DIST importlib_resources-6.4.3.tar.gz 42026 BLAKE2B 8a88825467bf558b4232ce4f1600ceda56b67283d93182d0144b5cabe6227bdf79e24a8fb6cef47d7cc59cc9cc293e70c7a2cd7ab1512a523f04cf167ac27cdb SHA512 23b6e8d37d2317cfe9d465f8083b6fa8826c34ec114844993556657b943ecca3b3d6e5f4ca958787d980ebd451e174b8e134f35445bdef085ca29b71c76e248e DIST importlib_resources-6.4.4.tar.gz 42721 BLAKE2B 4e38bba910e2de9e53297151f6fd9a839534b7aca1a98c4c053c420eba4b137b7ca60a32dce84f3ed5c558e3bfbf3f90fea48f3e6e7e8921c2961756ef96eb04 SHA512 ffdd2cbe56ae308392e9fcadbd5822b68afd5737a78b04416e84a1ca294ce33f4f0df5ff5ee4e403f43064c9bf33df3d2742809d651295b536d0036f7359580c +DIST importlib_resources-6.4.5.tar.gz 43372 BLAKE2B 8ab9cb9f2e693de87d6d3c2696e660ae067ad00d725db542fbbd9b916cedfc8246c45285e728d352f02e4b7a56cc7d8f360f324af9a65cfdb935e7c20f753206 SHA512 e5949475a27220b101d0ba57b091a3d56a2e1092ca3102d9e260561742289ee32e2bfe17738304a72507314fc46a151f3cadcce06e71781d20bbedf7057a6366 diff --git a/dev-python/importlib-resources/importlib-resources-6.4.5.ebuild b/dev-python/importlib-resources/importlib-resources-6.4.5.ebuild new file mode 100644 index 000000000000..ecffbfa76489 --- /dev/null +++ b/dev-python/importlib-resources/importlib-resources-6.4.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +# backport from py3.12 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Read resources from Python packages" +HOMEPAGE=" + https://github.com/python/importlib_resources/ + https://pypi.org/project/importlib-resources/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/jaraco-test-5.4[${PYTHON_USEDEP}] + >=dev-python/zipp-3.17[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/jsonpath-ng/jsonpath-ng-1.6.1.ebuild b/dev-python/jsonpath-ng/jsonpath-ng-1.6.1.ebuild index e6d336f03c07..170d3e9456b9 100644 --- a/dev-python/jsonpath-ng/jsonpath-ng-1.6.1.ebuild +++ b/dev-python/jsonpath-ng/jsonpath-ng-1.6.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" dev-python/ply[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index 37a64204a00a..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." + +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setup( + author_email='michal.danilak@gmail.com', + url='https://github.com/Mimino666/langdetect', + keywords='language detection library', +- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], ++ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], + include_package_data=True, + install_requires=['six'], + license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index c09b7356f549..630fe63c6f53 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) + distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index a680a4fa2609..f76a426aa2cc 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -6,9 +6,7 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f SHA512 25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b -DIST llvm-project-19.1.0-rc3.src.tar.xz 141250388 BLAKE2B 6530bede000d2e4b8ce10b445bfc1f81dc25c2d7121fc953581cd9b6989b3ba197707cd79d3c7b94c055bf2e21b0d07ab3cb401d3f73d22eefba6da4b71dca7b SHA512 3ee4eab848e5e38c396e6f5addf5eb42570d451fc8e7cd77150dc5542f8f710f4a9db51836f7a799996dd1b8194defe4d58efe7c19e5d5e1c5f3dbdda94c0cf3 -DIST llvm-project-19.1.0-rc3.src.tar.xz.sig 438 BLAKE2B 86bad4d4fb805340096473bc603d7a3483f030f62b6f52b64d12c33561fbbb999c2ab69cc94857a32747492c846a5ab631a84da200b03475fd401335373bbccf SHA512 ef0fd2e3e7069fbfd410cbcf71294d1b7182456330ff151348058b5cb0f292edaecb9dcbf613ee4fc979214a23bd3bb8077d71e674635359da36b938dc143266 DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 -DIST llvm-project-503907dc505db1e439e7061113bf84dd105f2e35.tar.gz 218750576 BLAKE2B 40904dbf62cffe9cb757cc1382a765d5c89791948e86bfa4fbdc5a78ebc11cc82588bc730e6c5c84b6d84922cd32290df0146733a013ffa4e408b8a7c2313a1f SHA512 a121cca2ef49c6b25f137e66d23d332d2f9e3bd0d349b1202b6869f7c85a141aecfe20a6c4d4eff84e32a243216740f20114968589207d39df229daf6443ba0d DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 +DIST llvm-project-bece0d7517bd0a036dc8a319514e4a8a5c497dee.tar.gz 218241938 BLAKE2B 7ac08a21ab2899823683dc700bd2f6226e22653f5be553fe0278868f9fa0d8946fabe6aae40f68cfd14e019b1a3795affb64bf41ebcc949394b73a90e7cd019c SHA512 8893512dcbc1171d2c91aeb0aa9e5fd424474c4d6b5215fb1a078dc8757ab2d404b55ed90709e09368e0794c8306f489be8339d5c502dd6c2ef1852e24636e85 diff --git a/dev-python/lit/lit-20.0.0_pre20240822.ebuild b/dev-python/lit/lit-20.0.0_pre20240822.ebuild deleted file mode 100644 index 5ed5b5bd096e..000000000000 --- a/dev-python/lit/lit-20.0.0_pre20240822.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 llvm.org - -DESCRIPTION="A stand-alone install of the LLVM suite testing tool" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -# Tests require 'FileCheck' and 'not' utilities (from llvm) -BDEPEND=" - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/llvm) - -src_prepare() { - # flaky test - # https://github.com/llvm/llvm-project/issues/72022 - rm tests/progress-bar.py || die - - cd "${WORKDIR}" || die - distutils-r1_src_prepare -} - -python_test() { - local -x LIT_PRESERVES_TMP=1 - local litflags=$(get_lit_flags) - ./lit.py ${litflags//;/ } tests || die -} diff --git a/dev-python/lit/lit-19.1.0_rc3.ebuild b/dev-python/lit/lit-20.0.0_pre20240910.ebuild index 5ed5b5bd096e..5ed5b5bd096e 100644 --- a/dev-python/lit/lit-19.1.0_rc3.ebuild +++ b/dev-python/lit/lit-20.0.0_pre20240910.ebuild diff --git a/dev-python/mdit-py-plugins/Manifest b/dev-python/mdit-py-plugins/Manifest index b52e68f41f37..1918606106e5 100644 --- a/dev-python/mdit-py-plugins/Manifest +++ b/dev-python/mdit-py-plugins/Manifest @@ -1 +1,2 @@ DIST mdit-py-plugins-0.4.1.gh.tar.gz 63342 BLAKE2B 3db6312e4d36cd7e870a707cbd2b99a4c954e40da2c34711a4b1f1fbd4086231f8e6013c99abdf3dc294acdfdc2706f2353151d2766223e141a0c6aa90e27996 SHA512 d2f5c59bf2a17ce441de18f815624cb6f61202f111176c5f1c7745e430d59e8690ce8a5f9da2402bd34dcc5cf4dc38377990df649fbf3256216bc82cdfc6333a +DIST mdit-py-plugins-0.4.2.gh.tar.gz 64576 BLAKE2B 30b2594db09c15362c7800a3cf2219d2f1ab1d43678f7fe6a33c699027bea446657708e2ec08a0dc03fe6b644f8a5ac4c02c63cca2738488eff8027faf976f0c SHA512 203a0243968eb9240436c992b70ad0a4b13a747af9ec1799408975cf430d908e8c161cc6810385e21e09eb2d50aeae73f0aed11790898e5d6291b0d4c20521cd diff --git a/dev-python/mdit-py-plugins/mdit-py-plugins-0.4.2.ebuild b/dev-python/mdit-py-plugins/mdit-py-plugins-0.4.2.ebuild new file mode 100644 index 000000000000..101fb3981635 --- /dev/null +++ b/dev-python/mdit-py-plugins/mdit-py-plugins-0.4.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Collection of plugins for markdown-it-py" +HOMEPAGE=" + https://pypi.org/project/mdit-py-plugins/ + https://github.com/executablebooks/mdit-py-plugins/ +" +SRC_URI=" + https://github.com/executablebooks/mdit-py-plugins/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + <dev-python/markdown-it-py-4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-regressions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/moto/moto-5.0.13-r1.ebuild b/dev-python/moto/moto-5.0.13-r1.ebuild index bcb77325bb24..3416e33740eb 100644 --- a/dev-python/moto/moto-5.0.13-r1.ebuild +++ b/dev-python/moto/moto-5.0.13-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-5.0.14.ebuild b/dev-python/moto/moto-5.0.14.ebuild index 78fca165acaf..41dd0e796e7a 100644 --- a/dev-python/moto/moto-5.0.14.ebuild +++ b/dev-python/moto/moto-5.0.14.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild b/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild index 163e71cfa095..ae2ae6b57f23 100644 --- a/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild +++ b/dev-python/mpmath/mpmath-1.4.0_alpha1.ebuild @@ -22,16 +22,18 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( - dev-python/matplotlib[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/pexpect[${PYTHON_USEDEP}] dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/gmpy[${PYTHON_USEDEP}] ' 'python3*') - $(python_gen_cond_dep ' - dev-python/ipython[${PYTHON_USEDEP}] - ' 3.{10..12}) + !mips? ( + dev-python/matplotlib[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/ipython[${PYTHON_USEDEP}] + ' 3.{10..12}) + ) ) " diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest index 9568215623f3..9ee781cdfb6e 100644 --- a/dev-python/msgpack/Manifest +++ b/dev-python/msgpack/Manifest @@ -1,2 +1,3 @@ DIST msgpack-1.0.7.tar.gz 166311 BLAKE2B 8ddf2acf6bf81498d981c3ec83cbdffde1b1611f8ac23d3377f3f1541e679eda288b40b949bd586ca24a7059da3a0f73fa797a661375135ec092f408521c8527 SHA512 0ebd36f45b73106a4272588b55d55e72b6b8441be652b16f63f5547ae7ff1bc517a6b4549ef999ee63deb2856354a71ef37fd8d8829e516232518b046cf589c5 DIST msgpack-1.0.8.tar.gz 167014 BLAKE2B 714b0355941104e791c5a3b8ee2bd4f40b11484631a3bde63e7c0bdbb925a603c4704b037ab437c2330dc0d2e466d41ccfd50c6a45ef798e5cd34a87e4e3863f SHA512 b739667d4384ba0e18a4e55de6033933822180eb5d28bd7f5ecd7e7da112a214f400740feb45de6f0873d12c8b062b1a8b9b9e5939c2961a8c9585f282645c5b +DIST msgpack-1.1.0.tar.gz 167260 BLAKE2B fd6497ce248fabae481de41cb27bccf001e75425564f16caff9f5dceb52d82949481589a92635f4c25178f03002daf604073fc2bb07c8133e81a8ee2f1ccb7c4 SHA512 2af3a6ae9a68a0261bf1cbb5ca6925004b421241c445d17023976fe38738049458937a578828cdf3c1f2fd19dfbbcceb21762957bfd459d6862adb110cad3faa diff --git a/dev-python/msgpack/msgpack-1.1.0.ebuild b/dev-python/msgpack/msgpack-1.1.0.ebuild new file mode 100644 index 000000000000..f0fa47efe740 --- /dev/null +++ b/dev-python/msgpack/msgpack-1.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="MessagePack (de)serializer for Python" +HOMEPAGE=" + https://msgpack.org/ + https://github.com/msgpack/msgpack-python/ + https://pypi.org/project/msgpack/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +# extension code is relying on CPython implementation details +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Remove pre-generated cython files + rm msgpack/_cmsgpack.c || die + + # native-extensions are always disabled on PyPy + # https://github.com/msgpack/msgpack-python/blob/main/setup.py#L76 + if ! use native-extensions; then + export MSGPACK_PUREPYTHON=1 + fi + + distutils-r1_python_prepare_all +} + +python_configure() { + if [[ ${EPYTHON} == python* && ! -f msgpack/_cmsgpack.c ]] && + use native-extensions + then + cython -v msgpack/_cmsgpack.pyx || die + fi +} + +python_test() { + rm -rf msgpack || die + epytest +} diff --git a/dev-python/multidict/Manifest b/dev-python/multidict/Manifest index 5de60752053a..97b9fcd930e5 100644 --- a/dev-python/multidict/Manifest +++ b/dev-python/multidict/Manifest @@ -1 +1,2 @@ DIST multidict-6.0.5.gh.tar.gz 72819 BLAKE2B 668b5db8174c0dbc6651eae281f777d5c1dfb59a4f4d9d5301355148bf40063e33e26844d2f8ff543ebe7b9c91cf7fffb4abd57ca6786684757f50af27b7df56 SHA512 500d3b2a139d40442462a2b49f9dd0c01631643ef9905367d8b7c472a1030437c26a042a28e11ba94058a17821628d96f19ec6ca479d5831e2f1263ff0069871 +DIST multidict-6.1.0.gh.tar.gz 73800 BLAKE2B 9e3531633b0a35bbb8a97ec2dfe040080fe67efae3b3a16436b0984d6c3a4dc38df1cf5b91bd7b1f750f7a27bd2726667935fa30eefa7b070534fd70f390ee8a SHA512 48e97f442c28c2dfc0b5e19376ae9c8c46b20939ac4f72c07b650450286156dcbe03166f7d238d7a77b438a154022e9d98a38a4c0596aefab7d40fbdda0687dc diff --git a/dev-python/multidict/multidict-6.1.0.ebuild b/dev-python/multidict/multidict-6.1.0.ebuild new file mode 100644 index 000000000000..2c18d5ff54b1 --- /dev/null +++ b/dev-python/multidict/multidict-6.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 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_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="multidict implementation" +HOMEPAGE=" + https://github.com/aio-libs/multidict/ + https://pypi.org/project/multidict/ +" +SRC_URI=" + https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="+native-extensions" + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] + ' 3.10) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't enable coverage or other pytest settings + sed -i -e '/cov/d' pytest.ini || die + distutils-r1_python_prepare_all +} + +python_compile() { + if ! use native-extensions || [[ ${EPYTHON} == pypy3 ]]; then + local -x MULTIDICT_NO_EXTENSIONS=1 + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf multidict || die + + local cext=--c-extensions + if ! use native-extensions || [[ ${EPYTHON} == pypy3 ]]; then + cext=--no-c-extensions + fi + epytest "${cext}" +} diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 03de50b2b8da..2ddb522a6b5c 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1,2 @@ -DIST pdm-2.18.0.tar.gz 2628627 BLAKE2B a2f7b8ec5a53667e4eaab5f57a583727141000d8cb83be72fc2e2e1045a984eecc4f1611e683096e03283b9630d970cd3654b7b2c5c305e74f8d901b0b3eaa07 SHA512 106b9872435b85a9342d9b60531512d25cdd1c02c9a6b27d06b3f88cdc7803152180221e601d6fa6982fa0c5d735bd159fa1a163ada152e5909d1df63b2bf399 DIST pdm-2.18.1.tar.gz 2629023 BLAKE2B e1d165d7e00c28cd9153492c66fba108b3e200226c94db77f12cfd8896eb07f76f9ecdb734dbbcdc840648ed0ad9749556efe61db98cfcc2ae395f5788f9aabf SHA512 06751e71a514b4c8ea18abade7fa216ede454a772f5fff371af776222ac288c43365d1758ad52ceaa65734de2308e96560b1ac1a9f67586d93f6c70550b0e49e +DIST pdm-2.18.2.tar.gz 2629592 BLAKE2B 74b128e60409ab7d374a195f30124802af7cdd1c2857d2b925e633a974e752706236570b6ec1fa0827a081427156e7bb858a0385696ce6fe49ace83cd5aea95f SHA512 87187e0b036e7f462bd23e92a4dbf402a3b9ced6679acc08b0645369d463d2bb257853858f7e7bc2416749dd2233e94aaaa206febe0aa35b80e6d23dde88b7b8 diff --git a/dev-python/pdm/pdm-2.18.0.ebuild b/dev-python/pdm/pdm-2.18.2.ebuild index 79968b906a57..4cb84098b689 100644 --- a/dev-python/pdm/pdm-2.18.0.ebuild +++ b/dev-python/pdm/pdm-2.18.2.ebuild @@ -25,7 +25,7 @@ RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] dev-python/platformdirs[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] - dev-python/truststore[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9[${PYTHON_USEDEP}] dev-python/virtualenv[${PYTHON_USEDEP}] dev-python/msgpack[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] @@ -33,7 +33,7 @@ RDEPEND=" dev-python/hishel[${PYTHON_USEDEP}] >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] dev-python/pyproject-hooks[${PYTHON_USEDEP}] - >=dev-python/unearth-0.16.0[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] <dev-python/findpython-1[${PYTHON_USEDEP}] >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index 4f8e7e49e9e7..448301d0989a 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -2,3 +2,4 @@ DIST pydantic-2.7.4.tar.gz 714127 BLAKE2B c9d6df84799d1c8a69bf7d203609db3ba53338 DIST pydantic-2.8.2.tar.gz 739834 BLAKE2B d0168db26e02ac9fcf01fe85cd70c982e74f185dfce5075d4b365dba510d871550478ae98550882c425cdecfa3e31e674076906d8f71d1de947cc8d2cb55d3b8 SHA512 9d3b795ee43ccc4976a07c3770769758f023cc6763b8ef9ce4475d22c49d4dba80c8326d42106075b54a5d82c84722735e6017644755672b0f1cb0a4b624340a DIST pydantic-2.9.0.tar.gz 768298 BLAKE2B f196274c37af4b14b0ee17a5274d784a56ad2b2721ca022f572209348edb7e342ace1744e980ac5a8df0d8d7f9642d3157297f3cad24073b133ebb328b589673 SHA512 e4e2b961e831c1461446c1914176a5fca4b573ed5df7a4e5f1fe956b94568bf982e0ed0ee3ab8e08b518817b40dc76a24aaff95453a25e736890e5f0b30549d9 DIST pydantic-2.9.0b2.tar.gz 767194 BLAKE2B 407bbadc4cb8f962cb331a9ccdfa70dd96729830a4c5532962105889536ac436f50552d3d6bac4e6840d44fc7c0ef2e94e1cab4b54be1565ac636436ca8a9b0a SHA512 a0d2491c14f58bbd376545551b128c0c396713a4a73786ac004ee4a0ff9b65a220c22f93aaa11239181bd87a600bc9b10c7d594b23286b909e8e6ea397eea81c +DIST pydantic-2.9.1.tar.gz 768511 BLAKE2B 37d840042933a3fc3976ada31c2c1a26a127f64fd928ac8014c9e5047d5c30f29ab23a0f023c2d19c9daec7976c6f66c8dd1d0bd5f2507cff26f7aa0f103a30a SHA512 b35241a0956f41bfcb9f61f34a5fead2c88a266a721d0dea584068f58c72fceda1a70236ca1f3c242c9ef22ac8f7e444b48e212088a3e7e7754008652a028664 diff --git a/dev-python/pydantic/pydantic-2.9.1.ebuild b/dev-python/pydantic/pydantic-2.9.1.ebuild new file mode 100644 index 000000000000..2dd0b054dcf7 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.9.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.23.3[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/cloudpickle[${PYTHON_USEDEP}] + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/Faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_pickle.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/pyghmi/Manifest b/dev-python/pyghmi/Manifest index fcaa49344765..5a4333b9eb7a 100644 --- a/dev-python/pyghmi/Manifest +++ b/dev-python/pyghmi/Manifest @@ -1,3 +1,2 @@ -DIST pyghmi-1.5.69.tar.gz 257074 BLAKE2B af1b93bda37aa078c4a04f68970f86a2f6b7c005ed762977d8297bdb4ff8e89c972ec24342ccb226a6cb43d6085f89f23e4e8547e1632275accea0fc5f5558ff SHA512 ad6837b61748ff045196109050fc743e0335b9037e06c723be86e12c42569f6e46b2c004148b4ce4416d0e67967bf6b7596bc10bca30323e2eca11da54067f21 -DIST pyghmi-1.5.70.tar.gz 257192 BLAKE2B cf1ed047bf40e6ed81d322c091141b8012d7550afeba06fb5bed313ce37e2c5d79674a2d9deb1ade741488342d5e3d89ab3b65dfeb15e46aca52ebc3ca5b4dcc SHA512 61d6488034778a51e7a3ed34dadf758a98ed9670f079f6b90b4266191abd48aae5646e497b8ea9616eb1bce03f358b0017c7da1daea61e8be97d42bb1bfe1f18 DIST pyghmi-1.5.71.tar.gz 258623 BLAKE2B 1032101d1c8b145896a6ccb99a66830c5327fa71c991be95fc6af0fca87f2a3491ae04195d10e2696f67285f79c96750413cfd1050297c1e1340a49f67694ba2 SHA512 77aa8f05bf003b4be803a6c74e1c0040a23a0270094c72ba58aaab0b56e7fdd68691c0c642d7116a62a3a66fafb0bf67d718373b7e67c7b6c6165dec78884d4d +DIST pyghmi-1.5.72.tar.gz 260374 BLAKE2B e68420c86e98de450ddc873bd29bfb64b9651b5b4dc14990b7147ab7973d1b9ee1d4fc6ce4ebdcf460b0ff8d8575ac8f7db77caabff40fe984d7ca5eb03dccf4 SHA512 c9cc5486d6bea6e9ef60f4b98328f42690350432c5b742adb8f69e136a1f001bd47c078ac52a4d147d636e694e4a1efb9a9fe1b704559afe9303020bb0c86d73 diff --git a/dev-python/pyghmi/pyghmi-1.5.69.ebuild b/dev-python/pyghmi/pyghmi-1.5.69.ebuild deleted file mode 100644 index 06f0fd1412ea..000000000000 --- a/dev-python/pyghmi/pyghmi-1.5.69.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A pure python implementation of IPMI protocol" -HOMEPAGE=" - https://opendev.org/x/pyghmi/ - https://pypi.org/project/pyghmi/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - >=dev-python/cryptography-2.1[${PYTHON_USEDEP}] - dev-python/pbr[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.6.5[${PYTHON_USEDEP}] - >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest diff --git a/dev-python/pyghmi/pyghmi-1.5.70.ebuild b/dev-python/pyghmi/pyghmi-1.5.72.ebuild index 6a7e9e524bc1..6a7e9e524bc1 100644 --- a/dev-python/pyghmi/pyghmi-1.5.70.ebuild +++ b/dev-python/pyghmi/pyghmi-1.5.72.ebuild diff --git a/dev-python/pyscard/Manifest b/dev-python/pyscard/Manifest index efbdaf728ac4..4049481a75b3 100644 --- a/dev-python/pyscard/Manifest +++ b/dev-python/pyscard/Manifest @@ -1,2 +1,3 @@ DIST pyscard-2.0.10.tar.gz 153351 BLAKE2B fb600032321ac0bd372c7aa8fcdd82273af9edcfb51eb5d455296a2a685a291e442209d5c59d60b81cdd8cb3b0699f733e41528fe06ed827558146ba4085c97d SHA512 231d5abc0ad31ae7f0e394f928045346323f1040b313394a3d235282feb79bfec0d124ebde84017178dfa1983beadfb245a33bfa6a75b4fab9e65c3090b9e9cb DIST pyscard-2.1.0.tar.gz 153511 BLAKE2B 072fb49ab17bdb32cf3381b9e769125b1c934f5830af6e33547a083025019c01cf61e077a1b4c5883572aa6db1e006f4a320fe07e097e6687dca45996aa1c6a2 SHA512 de0c26108751cc2b674968982f7982ad971c93890c32a0731394074dabe72805399755ed9f042aa4bc019e95b705d4394e0ac844699bbf8192ab5e779e43f2fe +DIST pyscard-2.1.1.tar.gz 153537 BLAKE2B 60c6d8acae5f707f84f8dfa775b2bfc74e4c6075b10a64c5ba1854b7c4e6cd03e2fa8db337b48ec5a167b834a4b22f5ae182ec4e78463b549aa8f4980295dbfd SHA512 854d52fde447e972545761ce8f2c1262d5e454c942fc68f2be09d0b62cc453aa5ef793e899f283fe5f53db59ef0714252090b8f5335dcd1b40ed28506965f371 diff --git a/dev-python/pyscard/pyscard-2.1.1.ebuild b/dev-python/pyscard/pyscard-2.1.1.ebuild new file mode 100644 index 000000000000..eb9130e83cf3 --- /dev/null +++ b/dev-python/pyscard/pyscard-2.1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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_{8,9,10,11,12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Smart card support in python" +HOMEPAGE=" + https://pyscard.sourceforge.io/ + https://github.com/LudovicRousseau/pyscard/ + https://pypi.org/project/pyscard/ +" +SRC_URI=" + https://downloads.sourceforge.net/project/pyscard/pyscard/pyscard%20${PV}/${P}.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +DEPEND=" + sys-apps/pcsc-lite +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig +" + +distutils_enable_tests unittest + +pkg_postinst() { + optfeature "Gui support" dev-python/wxpython + optfeature "Support of remote readers with Pyro" dev-python/Pyro4 +} + +python_test() { + cd test || die + eunittest +} diff --git a/dev-python/pytest-twisted/Manifest b/dev-python/pytest-twisted/Manifest index 4dd9a8e86275..af4d369a51b9 100644 --- a/dev-python/pytest-twisted/Manifest +++ b/dev-python/pytest-twisted/Manifest @@ -1 +1,2 @@ DIST pytest-twisted-1.14.2.gh.tar.gz 17120 BLAKE2B d12c00c5a01c8219626f5a85d5cee4b2f0fc27d4dbea5c38e4fa7e374d1ca04098b1e8bc453ff1391415b2999eb1bb1f0472cef85bb4b4b2e50a1d2632cb6177 SHA512 51c915dfba829442b68c981f80d42cc22ece12a81388f239211ca73bb76dbfadeec76722df44b2e6b6473a4a3886031846a47b855ef217ed240a7c28d20f6160 +DIST pytest-twisted-1.14.3.gh.tar.gz 17412 BLAKE2B 00516995770e338ffcbd611d31e96576489cc188aba778913938c0fee511e24df887dc1ba41f5ac63cd85e9efec41a78242dd90705a9769bf7c37130749646c2 SHA512 fce003bdf7684a3a3f3bc45d0d7adfbb6350ee7b2f69a35c2ddbd66073e2a993a127fef24008d8300493334543baaf902033316e2c923c6b827a26d0a7356bb6 diff --git a/dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild b/dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild new file mode 100644 index 000000000000..1117c4b04ada --- /dev/null +++ b/dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="A pytest plugin for testing Twisted framework consumers" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-twisted/ + https://pypi.org/project/pytest-twisted/ +" +SRC_URI=" + https://github.com/pytest-dev/pytest-twisted/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/greenlet[${PYTHON_USEDEP}] + >=dev-python/pytest-2.3[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # If we let pytest-twisted autoload everywhere, it breaks tests in + # packages that don't expect it. Apply a similar hack as for bug + # #661218. + sed -e 's/"pytest11": \[[^]]*\]//' -i setup.py || die + + # https://github.com/pytest-dev/pytest/issues/9280 + sed -e '/^pytest_plugins =/d' -i testing/conftest.py || die + + distutils-r1_src_prepare +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_twisted + + epytest -p pytester +} diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index afe2ed9a7571..2aaf9801f4ad 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -3,3 +3,4 @@ DIST pytest-8.0.2.tar.gz 1396924 BLAKE2B ad95d246f5592cfe54faea6c96e38cb60d3e271 DIST pytest-8.1.2.tar.gz 1410060 BLAKE2B 1379047c5ba434e98a383756c53a9cf31dc3bd3abcc49820f872b9110ec70906ca14080ce17ed2770b71195fbd79627a0eb16ee00429e165368144b20153a02b SHA512 a6ffae29da98ee4c357ebb03f00c4bc1a33f093ef867ad118841695548468c7f229eaa2c029a2ce3b158bbb0a65be5014e91555a223d04c1c72e614cb1d00546 DIST pytest-8.2.2.tar.gz 1427980 BLAKE2B 7f343e5ff05e4d26f816595ad1c52ee2b79d38029e75e3641ed0bbb7477e0a47e5ae48ebc3058a8e9f374cd1a391d360d9eda73eca2e41d8b533eda7948aedcb SHA512 896192f0d41f3fef49915dfea6ae33dbb939f6bbe54de27861bf1554bf87f910702169293e923af9bc40466e7f806aa19ca54cbe41a848c233f70b52bb86a63c DIST pytest-8.3.2.tar.gz 1439314 BLAKE2B a8edbd9d0eef59e1277d88ef657c4720b79ada68c51b1a30af81ae5652e1bc6c30bf6723472729015446da7815d8b3a7c73af4f5a49664d96beeedc96bbb3d54 SHA512 df4df6603f89658c1d814e209ec71a29606b2c015e58f139e3154b2092b08d369d4660401ed0ea9f04c3c6cdc86357a5279ad01e102a3b81e2cbf6e1572ca007 +DIST pytest-8.3.3.tar.gz 1442487 BLAKE2B a7b262806ac2ef8700034f9d6239ef1f69c865c100a3d2b00c07adb5957e59b664cf2d39b5d2c1352f28fdd8045e8a2bf193543ba67f67c4853b21f95e4f0a6a SHA512 7cdf76e33f20b1b2323de7341c203caa8d7b5505b5e774c55c6e30876e5b6f1405e12d54e7f1f0a1b15dbc0392bd83c7bb1928d25f06db3a15498c9d4cb4658b diff --git a/dev-python/pytest/pytest-8.3.3.ebuild b/dev-python/pytest/pytest-8.3.3.ebuild new file mode 100644 index 000000000000..0158ceec3c95 --- /dev/null +++ b/dev-python/pytest/pytest-8.3.3.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE=" + https://pytest.org/ + https://github.com/pytest-dev/pytest/ + https://pypi.org/project/pytest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/iniconfig[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + <dev-python/pluggy-2[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + >=dev-python/tomli-1[${PYTHON_USEDEP}] + ' 3.10) + !!<=dev-python/flaky-3.7.0-r5 +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # PDB tests seem quite flaky (they time out often) + testing/test_debugging.py::TestPDB + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + ;; + esac + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/pyzmq/pyzmq-26.2.0.ebuild b/dev-python/pyzmq/pyzmq-26.2.0.ebuild index 2ebf92a02edb..c6fdca281f18 100644 --- a/dev-python/pyzmq/pyzmq-26.2.0.ebuild +++ b/dev-python/pyzmq/pyzmq-26.2.0.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="drafts" # There are additional test failures if zeromq has the draft api enabled, but pyzmq has it disabled. diff --git a/dev-python/rich/Manifest b/dev-python/rich/Manifest index 0e813ab9dfbc..18e5efadf16a 100644 --- a/dev-python/rich/Manifest +++ b/dev-python/rich/Manifest @@ -1,3 +1,3 @@ -DIST rich-13.4.2.gh.tar.gz 15063000 BLAKE2B f65079440bc7d89a3ff03be01fa71e076493ae50f22ae8781be2448a7ff2769c174d6654db3a835d34720c34cd8cbecfdd6b13e3064cf7fdcade71806563309d SHA512 17052a9fb0e1d89b31a00d8a719214719891d048fd805185b2d4258c8766130f44bf2280c9567bc162f3b34d9bf2eb7d747d6a37d910c81cd53d3003b51f70bd DIST rich-13.7.1.gh.tar.gz 15058064 BLAKE2B 6fad18bf0a4e4f72e530c78db7a498f27dd8c9a7b9b17ca5ef12a94bbe513857f3c42d4903f8ebbfe8907727cddaf290f08862c27efb29db8aaf70c7bcb13ace SHA512 0c69101bc6c2a238a4c516812cda08299115b903b8282ee348b45b212a88fcbfbf69d11a3705a97bdb6192988ee3047804bb5b52b7950d860542cde8ce2d4bd2 DIST rich-13.8.0.gh.tar.gz 15062770 BLAKE2B e319018387ff27f4ec2bce1d272ff7fe676d224a14798fa585c0d72fcdedd084c3e1d4b73d3d2db45a113e0c5433c7103382c7134ff6e1c8e580ff2c3fa444ae SHA512 d20545689b6acd14a5010f0dbb38a2dbc1fd551619198d098e6bf68628e194f3b5450c11b77feb190ea4b4bb2c22a9a6b619b17c9f7815a4e69e1c431750ab60 +DIST rich-13.8.1.gh.tar.gz 15062921 BLAKE2B 6df186dee1eccabbb28ef4bcd3bbceac335fbe39cf1ff6318726146f3eead9033fe362ca3c363c057c9b898ebb824d55f13454d68cb917dfc82e07e1e0038fa4 SHA512 d84d05fcc657fbcbcca09c22856c36fb945fde481111565292b13a9c5472cc1cf7e6266069f80b48821f7307a1479edc65a48d3b8a96334922b151d93b402daa diff --git a/dev-python/rich/rich-13.4.2.ebuild b/dev-python/rich/rich-13.8.1.ebuild index 8e9d077edb5d..f3a04c41e2fc 100644 --- a/dev-python/rich/rich-13.4.2.ebuild +++ b/dev-python/rich/rich-13.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,25 +20,27 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" dev-python/colorama[${PYTHON_USEDEP}] >=dev-python/markdown-it-py-2.2.0[${PYTHON_USEDEP}] >=dev-python/pygments-2.13.0[${PYTHON_USEDEP}] " +BDEPEND=" + test? ( + >=dev-python/attrs-21.4.0[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest python_test() { - local -x COLUMNS=80 local EPYTEST_DESELECT=( # TODO tests/test_console.py::test_size_can_fall_back_to_std_descriptors - tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 - # pygments? - tests/test_syntax.py::test_python_render_simple_indent_guides - tests/test_syntax.py::test_python_render_line_range_indent_guides + # TODO: segfault in recursion (PyQt6 interfering?) + tests/test_traceback.py::test_recursive ) # version-specific output -- the usual deal case ${EPYTHON} in @@ -48,16 +50,23 @@ python_test() { tests/test_inspect.py::test_inspect_integer_with_methods_python310only ) ;; - python3.12) + python3.13) EPYTEST_DESELECT+=( tests/test_inspect.py::test_inspect_builtin_function_except_python311 + tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 tests/test_inspect.py::test_inspect_integer_with_methods_python310only - tests/test_inspect.py::test_inspect_integer_with_methods_python311_and_above + tests/test_inspect.py::test_inspect_integer_with_methods_python311 + tests/test_pretty.py::test_pretty_dataclass + tests/test_pretty.py::test_reference_cycle_dataclass + tests/test_pretty.py::test_max_depth_dataclass tests/test_pretty.py::test_attrs_broken ) ;; esac - epytest -p no:pytest-qt + + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest } pkg_postinst() { diff --git a/dev-python/spyder/spyder-5.5.6.ebuild b/dev-python/spyder/spyder-5.5.6.ebuild index 7daafb57f8f3..7e96a100f2da 100644 --- a/dev-python/spyder/spyder-5.5.6.ebuild +++ b/dev-python/spyder/spyder-5.5.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 optfeature virtualx xdg +inherit distutils-r1 optfeature xdg #virtualx # Commit of documentation to fetch DOCS_PV="6951e02799fc7cd1f29456f1d93cfdcb570dad27" @@ -64,23 +64,23 @@ RDEPEND=" >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[tk,${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-order[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP},pyside2,pyqt5] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - )" +# BDEPEND=" +# test? ( +# dev-python/cython[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/matplotlib[tk,${PYTHON_USEDEP}] +# dev-python/pandas[${PYTHON_USEDEP}] +# dev-python/pillow[${PYTHON_USEDEP}] +# dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] +# dev-python/pytest-mock[${PYTHON_USEDEP}] +# dev-python/pytest-order[${PYTHON_USEDEP}] +# dev-python/pytest-qt[${PYTHON_USEDEP}] +# dev-python/pytest-timeout[${PYTHON_USEDEP}] +# dev-python/pyyaml[${PYTHON_USEDEP}] +# dev-python/QtPy[${PYTHON_USEDEP},pyside2,pyqt5] +# dev-python/scipy[${PYTHON_USEDEP}] +# dev-python/sympy[${PYTHON_USEDEP}] +# )" # Based on the courtesy of Arfrever # This patch removes a call to update-desktop-database during build @@ -100,7 +100,7 @@ DOCS=( "RELEASE.md" ) -distutils_enable_tests pytest +# distutils_enable_tests pytest # TODO: Package sphinx-design # distutils_enable_sphinx docs/doc \ # dev-python/sphinx-panels \ @@ -164,9 +164,9 @@ python_prepare_all() { # Calling pytest directly somehow passes the pytest arguments to spyder # causing an invalid argument error -python_test() { - virtx "${EPYTHON}" runtests.py -} +# python_test() { +# virtx "${EPYTHON}" runtests.py +# } pkg_postinst() { xdg_pkg_postinst diff --git a/dev-python/spyder/spyder-6.0.0.ebuild b/dev-python/spyder/spyder-6.0.0.ebuild index db5b669eb671..e8acf539b45a 100644 --- a/dev-python/spyder/spyder-6.0.0.ebuild +++ b/dev-python/spyder/spyder-6.0.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11,12} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 optfeature virtualx xdg +inherit distutils-r1 optfeature xdg #virtualx # Commit of documentation to fetch DOCS_PV="6951e02799fc7cd1f29456f1d93cfdcb570dad27" @@ -70,23 +70,23 @@ RDEPEND=" >=dev-python/yarl-1.9.4[${PYTHON_USEDEP}] " -BDEPEND=" - test? ( - dev-python/cython[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/matplotlib[tk,${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-order[${PYTHON_USEDEP}] - dev-python/pytest-qt[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/QtPy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - )" +# BDEPEND=" +# test? ( +# dev-python/cython[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/matplotlib[tk,${PYTHON_USEDEP}] +# dev-python/pandas[${PYTHON_USEDEP}] +# dev-python/pillow[${PYTHON_USEDEP}] +# dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] +# dev-python/pytest-mock[${PYTHON_USEDEP}] +# dev-python/pytest-order[${PYTHON_USEDEP}] +# dev-python/pytest-qt[${PYTHON_USEDEP}] +# dev-python/pytest-timeout[${PYTHON_USEDEP}] +# dev-python/pyyaml[${PYTHON_USEDEP}] +# dev-python/QtPy[${PYTHON_USEDEP}] +# dev-python/scipy[${PYTHON_USEDEP}] +# dev-python/sympy[${PYTHON_USEDEP}] +# )" # Based on the courtesy of Arfrever # This patch removes a call to update-desktop-database during build @@ -106,7 +106,7 @@ DOCS=( "RELEASE.md" ) -distutils_enable_tests pytest +# distutils_enable_tests pytest # TODO: Package sphinx-design # distutils_enable_sphinx docs/doc \ # dev-python/sphinx-panels \ @@ -166,9 +166,9 @@ python_prepare_all() { # Calling pytest directly somehow passes the pytest arguments to spyder # causing an invalid argument error -python_test() { - virtx "${EPYTHON}" runtests.py -} +# python_test() { +# virtx "${EPYTHON}" runtests.py +# } pkg_postinst() { xdg_pkg_postinst diff --git a/dev-python/tekore/Manifest b/dev-python/tekore/Manifest index 9651149319c4..315f197e2065 100644 --- a/dev-python/tekore/Manifest +++ b/dev-python/tekore/Manifest @@ -1,3 +1,2 @@ -DIST tekore-5.3.1.tar.gz 270742 BLAKE2B 08fd8a4deeaa5024f5bb138c4f9bc3fae25f5a2b21c4298bf5d12932793b33e778dd2b15cbdbeec2f62cba841f55a59e6f2c43d51f968d01603dcadd5883d91a SHA512 8d81af1528bedcc4d76ee96f2b310d0522262b0466bbc30bf3849eb7b936067e42311acf9fe724377ec801f2863fa50de61f409363d00486c6d596ab01acb09e -DIST tekore-5.4.0.tar.gz 270967 BLAKE2B 6cfaa8a113707e6944c445f3fda4d55a66fe9719870ce97a7e8f1a5f556ba9fa3a2ee09ff4e98a1e976cbeedbed23dd6268dfd47d06c159f29d30eb5d3fb041b SHA512 a2b943c066ad344a247b5861719965a57f151bdadd50c660a789f59a60bebd82ccbe88fc19cff4d50d21675f35d98c131069f700ff88952b58fe989d098242b5 DIST tekore-5.5.0.tar.gz 270803 BLAKE2B 37b7410e701b67917af76bac07499a9a910916eed8e9dd87e394e420309ed9a3094a6cf600182db084523eeb6942c6a9ebfdda108f8b1f5ef848be4a02a32f6a SHA512 b78eea1fafd27bbeb230f9b697783e3b8cd1aebc93633f168dba07d94bee80ddefedf792ea7870b258757559256424db74d21f3e14201e8c3df801fac4d12067 +DIST tekore-5.5.1.tar.gz 270328 BLAKE2B 44a03289ff908b97da7ef089513156b00b8858d99172139981ce6b618074a628796f3f965a1180f7ee0cb2c23e5c97fd0f7ce1ea9da3d6352102e2da3406b1cf SHA512 aec3eddadfd27098a4608a193750bb521d1e4c5c786c09b98e4295ed167dc3ac88b9382528778513a8b2143153950a02b7cbbdbbae1775259ab29c3df17abe05 diff --git a/dev-python/tekore/tekore-5.3.1.ebuild b/dev-python/tekore/tekore-5.3.1.ebuild deleted file mode 100644 index f2abbe1270d9..000000000000 --- a/dev-python/tekore/tekore-5.3.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Spotify Web API client" -HOMEPAGE=" - https://tekore.readthedocs.io/ - https://github.com/felix-hilden/tekore/ - https://pypi.org/project/tekore/ -" - -LICENSE="MIT" -KEYWORDS="~amd64 ~arm64" -SLOT="0" - -RDEPEND=" - dev-python/httpx[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pytest-asyncio-0.17[${PYTHON_USEDEP}] - dev-python/pytest-httpx[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -# TODO: package sphinx_codeautolink -# distutils_enable_sphinx docs/src \ -# dev-python/sphinx-rtd-theme \ -# dev-python/sphinx-tabs \ -# dev-python/sphinx-autodoc-typehints - -EPYTEST_DESELECT=( - # Internet - tests/auth/expiring.py::TestCredentialsOnline::test_bad_arguments_raises_error -) - -src_prepare() { - # unpin dependencies - sed -i -e 's:,<[0-9.]*::' pyproject.toml || die - - distutils-r1_src_prepare -} diff --git a/dev-python/tekore/tekore-5.4.0.ebuild b/dev-python/tekore/tekore-5.5.1.ebuild index 3aab481d2f94..3aab481d2f94 100644 --- a/dev-python/tekore/tekore-5.4.0.ebuild +++ b/dev-python/tekore/tekore-5.5.1.ebuild diff --git a/dev-python/tempest/Manifest b/dev-python/tempest/Manifest index ada01c488068..6df52ea819d6 100644 --- a/dev-python/tempest/Manifest +++ b/dev-python/tempest/Manifest @@ -1 +1,2 @@ DIST tempest-39.0.0.tar.gz 1156891 BLAKE2B 8f4d4026f3b304b713d97a511ba85363ed39dde22ef6c529b75ba35d01619eca925cc759d899f16b791784cd0c1d7acaa78e8361189dd5167de8300e26d5e74e SHA512 4e60b7fe90b7943cb9208cab72188f3f3668fdc4fd90b4667e5f578f979f66dbc6e9a2486c47fb7f0f608ac8197b726da1fd6b7ded169d804705dc4e58eed256 +DIST tempest-40.0.0.tar.gz 1149624 BLAKE2B e75db763090738032699c35477a5bc5d877c44aed1ed4e9fe7b878af116dc6d53dd7b64cf58be55cd3448f5ebdf8e9a44e3f4deb215f535784a33abfc79fde9d SHA512 12227d4f20045f60e56db7bc1de3e117ddbc3d4b3e30aa26239795675023b23facf15646f1c048b75f43dd9c0ba5e7d475e8ad1c483b2d0e32ef9d8d50e62dfc diff --git a/dev-python/tempest/tempest-40.0.0.ebuild b/dev-python/tempest/tempest-40.0.0.ebuild new file mode 100644 index 000000000000..27f18a0e609c --- /dev/null +++ b/dev-python/tempest/tempest-40.0.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="OpenStack Integration Testing" +HOMEPAGE=" + https://pypi.org/project/tempest/ + https://docs.openstack.org/tempest/latest/ + https://launchpad.net/tempest/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >dev-python/cliff-2.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] + >=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] + >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.16.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + dev-python/stestr[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # Small subset of tests, which fail as result of not using specific + # testing environment. + rm -r tempest/tests/lib/services/volume/v3/ || die + + # remove dep on hacking + rm tempest/tests/test_hacking.py || die + + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + mv "${BUILD_DIR}"/install/{usr/,}etc || die +} + +python_test() { + local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 + local -x OS_TEST_TIMEOUT=300 + stestr --test-path ./tempest/tests run --concurrency="$(makeopts_jobs)" || + die "Tests failed for ${EPYTHON}" +} diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 4856b4371cf2..9996b0b96b35 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -5,3 +5,5 @@ DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c3 DIST uv-0.4.2-crates.tar.xz 46277420 BLAKE2B 9f516f586a5e46bbd6c09e116f91e90b563b4de89b2d2dac50f208e4116583ba05418baa998a74f6d31503ec56cb5ff5966cdf579d026c53bcfc500b5e4fb15c SHA512 b30b70225eae9a5970dd18d383d9129b5161cb66942af8796220fe7a58cd3357308111374193d8fc4e1c7fde8a0b62f44e8efd76603411d882df016afecbc69f DIST uv-0.4.6.gh.tar.gz 2553065 BLAKE2B f793c01042db0a45b53a57157852ed5035a96bfc58c2cf81eb3d6a59b9eb6315dbd675817e1bca0a34f9d348d10c0668f9213fd11f230f606386405ee4d51c31 SHA512 79b50783596c6307934c378f7f7b60628de3edd8fe75f6675efd406e7e4cb7cd049a3966eefcb2708f8ab925ee5b5e315f6540f2c25693ffe1ee29f2d501523c DIST uv-0.4.7.gh.tar.gz 2558161 BLAKE2B 5508af9b6e0d04d165aa3b120be138fb4ccfddd643395175e5d31618ec34a5139567c0162b0ce1c741fed551397d1ec9d9693ce0397d1f0346a5c1df13c20b8d SHA512 8395f96eb36c2131b203de9991b994532047b7928ac1765a426accdaae4ed3a242a8b9554808123f5359d41778d3e7783606265b60d372bed2a0a76fea027e3e +DIST uv-0.4.8-crates.tar.xz 46272636 BLAKE2B 467c146c8598863c62a7a210f3c20a6a73dc318651d730803eddd5e1ae54eb815b0487e991cc4e2d493813ea6e6e8622ed503d952a63ce7ee3aa9cfbe4d36439 SHA512 b207acd6fa7d7e95d7e0b3201d9d0ae2457d427f866eb292c6e097444e6d596455e1478813cfcf6851abbe936709d4afa155e0c55367a3f9fb25d4387990a84d +DIST uv-0.4.8.gh.tar.gz 2569754 BLAKE2B 413121093c1a30e75afa62f5dd6496e3686c06e956ef1d633740d498387a7b0c5272b811daf3efe10d5ba95fd628f29ff3e7ee914df03069bff287dce0c96caa SHA512 e1a728d25ca9400ddf7a005da94d217631ee2a1a2b6b2b8421496496ac9379993dc81d8603f523308a9d232a1c20058149868cc413511ef7d3c7a57bd9354938 diff --git a/dev-python/uv/uv-0.4.8.ebuild b/dev-python/uv/uv-0.4.8.ebuild new file mode 100644 index 000000000000..891f045cb8b8 --- /dev/null +++ b/dev-python/uv/uv-0.4.8.ebuild @@ -0,0 +1,142 @@ +# Copyright 2024 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;011b24604fa7bc223daaad7712c0694bac8f0a87;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;388685a8711092971930986644cfed152d1a1f6c;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;5e3eaf254b5bd481c75d2710eed055f95b756913;reqwest-middleware-%commit%/reqwest-retry' + [tl]='https://github.com/charliermarsh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' +) + +inherit cargo check-reqs + +CRATE_PV=0.4.8 +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://dev.gentoo.org/~mgorny/dist/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-DFS-2016 +" +# 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=" + >=virtual/rust-1.80 + 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 + ) +" + +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 +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + local reqmw=${GIT_CRATES[reqwest-middleware]} + reqmw=${reqmw#*;} + reqmw=${reqmw%;*} + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-${reqmw}/reqwest-middleware\" }@" Cargo.toml || die + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + pushd "${ECARGO_VENDOR}/tokio-tar-0.3.1" >/dev/null || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" + popd >/dev/null || die + + # enable system libraries where supported + export ZSTD_SYS_USE_PKG_CONFIG=1 + sed -i -e 's:"static"::' crates/uv-extract/Cargo.toml || die + # 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_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= + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest index 25f9b3a59e66..f1dda7826fcc 100644 --- a/dev-python/yarl/Manifest +++ b/dev-python/yarl/Manifest @@ -1,4 +1,5 @@ DIST yarl-1.10.0.tar.gz 158919 BLAKE2B 07560c311c6388555fa10b94490576a0a5352be0ab511173624ca89322ad28281f7995593bc57c195a181dc4b80a5e3866b029294d9ce1d8ab0100036105636b SHA512 8854d04c5beb0cca37b32f0dec370ecf1309fc4f13f6c1c7da02bd9c49d9a8f95cb24218d3ba4e06bbf3d62226d69c87cf8ec8af71506a5680fb837dafba4d24 DIST yarl-1.11.0.tar.gz 160812 BLAKE2B 166b919d866b2f224517a3b6ad728627aee2171b10f4b53e6a04ab2379cfcbe0105e5c1d4f43b5946b52164b5d8be6a6394a0468a6a9b06507603c4f65c5963b SHA512 826825786a6d8fd9de628fb89b053024e455a3c6fa8e56e059214b7bcdffc41451d8ac6b3d89fc123c3657287d3f8c3d475cb8ea733353bf9c2794b7e79b7bdf +DIST yarl-1.11.1.tar.gz 162095 BLAKE2B 2fc83033411ec3c1d2a8c4f6b2cbd1fab977a7dd58d4e736e8ecd2a0ddc75ca6db76aa6b7b63ced7b8a29e213caa93ba2858557f1455be705926b8d6efb6e1eb SHA512 a64bc1d9fa93029c54c359cf3667cf2fc1cf35cbea69911521af998bf43852a092844fa206bf3b31d38d2c8ad14f9eab7358020350cda22826486c317abf09f1 DIST yarl-1.9.11.tar.gz 156445 BLAKE2B a5af473f7e66b1a4e9f97a4ff4e323764a05289e899926c803af16df985d47bdce7aa87d0099015c3a6033eb5cb942feab9879ea135076fdecdfc3d0afa98b94 SHA512 226a357f202693bece39136d595a444221fdde2727bc9d5fe392ccd80e86c6a35cee7d0882c66649b288efae5b3ae4ba1bcabb9844b8f47654c9ccbacc8337c0 DIST yarl-1.9.4.tar.gz 141869 BLAKE2B 367eac4674bf1190122f10bb1dc1c4f3d5e4263e1d95ff2b871067d55a894dc19a6bb5a6c673d1bed28b3c5f77c704799568edfe639d50f0ae10313eb847352d SHA512 e4f7917f1625b40125abae9a13d61795f97e8cf489735e15cf58476e97c3bcf840b1452482f1f7a737fbb2bdd1dc7bbcfa882d0a7f76a27dfb3aea72b7a66c82 diff --git a/dev-python/yarl/yarl-1.11.1.ebuild b/dev-python/yarl/yarl-1.11.1.ebuild new file mode 100644 index 000000000000..7422813181d1 --- /dev/null +++ b/dev-python/yarl/yarl-1.11.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet another URL library" +HOMEPAGE=" + https://github.com/aio-libs/yarl/ + https://pypi.org/project/yarl/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/multidict-4.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/expandvars[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest --override-ini=addopts= +} |
