diff options
Diffstat (limited to 'dev-python')
59 files changed, 1409 insertions, 757 deletions
diff --git a/dev-python/Faker/Faker-24.9.0.ebuild b/dev-python/Faker/Faker-24.9.0.ebuild new file mode 100644 index 000000000000..4a85c701f3c8 --- /dev/null +++ b/dev-python/Faker/Faker-24.9.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-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=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest +} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 9333a1d28486..0d9f3564c9a9 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,5 +1,7 @@ DIST Faker-24.4.0.tar.gz 1724351 BLAKE2B 2eeb2d660462b0f0b55aadd32768c9a5eaaf22a8036ae203dab7538b8c24f0e6fcdf08533c7737fe597dbe395a00a39c8c2d5e3a823133638a90a9ffa8d32f08 SHA512 5ea18faa39cf8506f007557b9a8c84bf2cc21d806a99991bf2fcced3d350f96daf3dd6a0a42dfdb7021b72156eb12ad84a930c669df011f39a17f4c290d08675 DIST Faker-24.8.0.tar.gz 1725365 BLAKE2B b2646766b993d946bf7965133b7484408370a2e8bed9091b713ffd427d545bb708027066b6787a78cd675659b4d342ac86c9f611aecfb7df3d0565a8066925f0 SHA512 d8fe7e411052bec485b40540317c88ff5aeae8a32ef2e53214816b190d4730c9f5af9157ac2c66aba5fbc887e995d0238f71deefdcf67300e49586c7995b60ff +DIST Faker-24.9.0.tar.gz 1725521 BLAKE2B 30486824e1e9a33cb9bf018ebbe9845c65c5fbb797fd75c0798f854c487b5e02b30fad83dd1f94ef4650e5e6ec981ef3318e1b3ec7cc64169e2b3fb7f90a42d8 SHA512 18fb6970c90c1048fcfcc9bb3f557eb21374b9e0f128833ac32ad281019059d8a8a3a05a276b72d38bd9bd6315cf0846d7f8111f054191dae1149cdcaf08187d EBUILD Faker-24.4.0.ebuild 858 BLAKE2B 2e7693b63d3810eadf6c63951eec2c96385940ba69e88ad8ee14cf28f14beb0a0bbe5edeaaabe694832506a24e7e4648ac9fc8469d7ba0f38d9b6c687b69a736 SHA512 c3540187d7ca070be4942be3e2718a980ba85c588409b419d90b9987efc5a2f26f8362ba7350c6df1d28865496dc1256b752d8a44157eb2e6ac78bfcf54a33a0 EBUILD Faker-24.8.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c +EBUILD Faker-24.9.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c MISC metadata.xml 498 BLAKE2B c9b7885dc7d34f2263068624a6b07ac6f1ec8078cc11abb6137612ba57edffefc48dae2708284aa83ecc941ebb2d3b8a87a143648e404a0683e75bb6c078f4e2 SHA512 0b385bbbfbb026803526e43c6c43965ff75f42d3ab133603708b187686aac29de508856e5e8ae7622a66b99032efa97f95c21625e10d074c858d8aff7446a312 diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex f0d46fdf155c..c6128ef46b5f 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/aiohttp-cors/Manifest b/dev-python/aiohttp-cors/Manifest index fe7f54f339e4..e7e98de2b586 100644 --- a/dev-python/aiohttp-cors/Manifest +++ b/dev-python/aiohttp-cors/Manifest @@ -2,5 +2,5 @@ AUX aiohttp-cors-0.7.0-py3_11.patch 845 BLAKE2B 896c500c515b2eaea059ad9c07170106 AUX aiohttp-cors-0.7.0-py3_7.patch 991 BLAKE2B e2a08dab701bd31e4a9008c8f89ae97508fb6b99b89db69a05b731849e09c6f04e8b148d82d38f2093e00bb9bee03e45f230cfc8eff4b71ca7797a95524732e2 SHA512 efe7c488d9f30da7eebbe355d86c603657bddc75c88f5cd1bb4b0e76b17f26f5827cc2f42ab8766767a4ad16c08fa636a4f61e50a8c478e7f32eb2567e26427c AUX aiohttp-cors-0.7.0-tests.patch 2422 BLAKE2B 4660be793987dd0cd5c945703aa4d6d4b499ba0ab1c305b80e26bac9cc87d811131f6ab179e402821740f193bbfc86a384b58e35aaa453fdfd5d4db3bcc44b23 SHA512 b3fa463b87a112529443f516fe1c37ffda092e8a0133a6d37f407519e32842f65773c87e939082591edb969ee243170be3a4828896ec5ffc1150c3f43aedd9d5 DIST aiohttp-cors-0.7.0.gh.tar.gz 39728 BLAKE2B 747499856272f551cf8e2e0911ff7cbb2c7cb8a1f3159327dd8f0d40cabbbd9713a1a9e30ef9c99f3f9642567c99025e049db837c89f907d6698a27005ac2632 SHA512 72e0b365b952c08a02c1123d7672cfea01063e2ff01743a71e10f804d22178edc0f1c6b7f87b7ed484ca7c24e89a32de90d0d279f2f5c060427319182f9bdd3b -EBUILD aiohttp-cors-0.7.0-r2.ebuild 1149 BLAKE2B aeb2be2a3757b957dd7639413d8e3ac2e1aebaf9954535f6c5e7b0bfb49963703a83ff224ef6255bc7bad2b1ac7c2e5a084a52f220b41668df8e1f487e3c8946 SHA512 5824a1acb10ec3149ba73c7ff9c9a9abc9ad5ec896590025c75580d9d96307b53d25c8fc6f8dd5d7cfb3422f3c547384e59b01f214d94beb68d569ce54a0ff3a +EBUILD aiohttp-cors-0.7.0-r2.ebuild 1284 BLAKE2B 9550bc1e33d9cdaf8088a8c6a8fb8f4e38607e69525a21db3197ac528f99d2affc35e46811c8f28d1598ea48a213220df21a1e69bdc1d3beb9981d6455f91050 SHA512 5fc41f517559df851ba932dc8c137fe1f50845de7daabc667c18db6f4c1fd190e183b30a1db8a6cdd3ddd03605cf8921f6fb55e91214b2a8324cb945adf717f5 MISC metadata.xml 328 BLAKE2B c58e6bd300660d6a6c3fd2aefa17ab44176181302faebd99d1212545deaf87356b9f3c4211b6571e207965c9ab8d84eef82dc2755a54c377daa03be73cc91c70 SHA512 dc377153f2b328f2c04f7f5f91dab2058446b7bd99064a41d55c5889687c0fd87034ffaa337cdb942472c8bb7b5d0390fa386097db5ff24e46bd2bf54c8c6549 diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild index b9f9a8493b93..3b66370dac42 100644 --- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -34,13 +34,20 @@ BDEPEND=" distutils_enable_tests pytest -PATCHES=( - # https://github.com/aio-libs/aiohttp-cors/pull/278 - "${FILESDIR}/${P}-tests.patch" - "${FILESDIR}/${P}-py3_7.patch" - # https://github.com/aio-libs/aiohttp-cors/pull/412 - "${FILESDIR}/${P}-py3_11.patch" -) +src_prepare() { + local PATCHES=( + # https://github.com/aio-libs/aiohttp-cors/pull/278 + "${FILESDIR}/${P}-tests.patch" + "${FILESDIR}/${P}-py3_7.patch" + # https://github.com/aio-libs/aiohttp-cors/pull/412 + "${FILESDIR}/${P}-py3_11.patch" + ) + + # doesn't do anything, except for breaking pytest-8 + rm conftest.py || die + + distutils-r1_src_prepare +} python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index cb39efc1b4f1..24b8c82a589f 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1,3 +1,5 @@ DIST aiohttp-3.9.3.tar.gz 7499669 BLAKE2B 0712df73af60cc9cbf12f0a4e063b6aa6da1b19b0668effe16672a4b7ca3f24cc831218ec8d4672cd86acd4335a75e16f94133dbb1bf783baf8ed96e471f3eec SHA512 6236f27b6def0c3bba1b5fc59f4af74f8076aa369cf5c1b9bd9ff9dee1c71ee49387ded812875da9450130e92d2091fd01f0608b25b03ff37e99162b89120fd7 +DIST aiohttp-3.9.4.tar.gz 7500720 BLAKE2B 1f41e481590425c16ef9e797ecc78e08d00fda65b40c38e34226ada969f3114cae3f6953980d23b0e96e284f6e49fd0a84aa93c6b7a666d60690e9a9fd9c41b2 SHA512 e26e7148602d72c77fe46e0596614b448f38a9014834a72c4131d8b315dbbd401ce4e1a403ef35ea7a9ba7fafaddc42031d38b93b45464accdedf26ba99fc960 EBUILD aiohttp-3.9.3.ebuild 3110 BLAKE2B dcd71e7f5efa5bc26ea37d62d53052badd9cf7bef702a7d14bd90311eb771a68c03b8164fa5fb7c655be330b16006d8658a6155428980bb3a540c1536af006dc SHA512 2a9cbd30d313f2a8ee5e4c96b955545047c6838b810e87ea8abba458d28efc0247485311627c05c76b38ad1c9154012ade453a3ce964d747fd18a9a1246e803f +EBUILD aiohttp-3.9.4.ebuild 2892 BLAKE2B b6067b3c9b71e269203a16a937292d60f8ffdd0205bb2b793ee697d718094c6dca48cb8b98ae5058423e4743f6c59053fc5bf925c1f107af38d8534447a366d4 SHA512 930265edfcd0e6a1ba74a45b83ecf4f2e2e0d3feb1632bb592bcc61656e363d2e06a4384f31e46d7a9bdb1e71fa1892cf9e32c9887b4f2b39abde69b907657b0 MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5 diff --git a/dev-python/aiohttp/aiohttp-3.9.4.ebuild b/dev-python/aiohttp/aiohttp-3.9.4.ebuild new file mode 100644 index 000000000000..a4d57535e7e2 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.9.4.ebuild @@ -0,0 +1,111 @@ +# 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_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="HTTP client/server for asyncio" +HOMEPAGE=" + https://github.com/aio-libs/aiohttp/ + https://pypi.org/project/aiohttp/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/brotlicffi[${PYTHON_USEDEP}] + >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + <dev-python/async-timeout-5[${PYTHON_USEDEP}] + >=dev-python/async-timeout-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/time-machine[${PYTHON_USEDEP}] + ' 'python3*') + test-rust? ( + dev-python/trustme[${PYTHON_USEDEP}] + ) + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # increase the timeout a little + sed -e '/abs=/s/0.001/0.01/' -i tests/test_helpers.py || die + # xfail_strict fails on py3.10 + sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die + sed -i -e 's:-Werror::' Makefile || die + + distutils-r1_src_prepare +} + +python_configure_all() { + # workaround missing files + mkdir tools || die + > requirements/cython.txt || die + > tools/gen.py || die + chmod +x tools/gen.py || die + # force rehashing first + emake requirements/.hash/cython.txt.hash + > .update-pip || die + > .install-cython || die + emake cythonize +} + +python_test() { + local EPYTEST_IGNORE=( + # proxy is not packaged + tests/test_proxy_functional.py + # python_on_whales is not packaged + tests/autobahn/test_autobahn.py + ) + + local EPYTEST_DESELECT=( + # Internet + tests/test_client_session.py::test_client_session_timeout_zero + # broken by irrelevant deprecation warnings + tests/test_circular_imports.py::test_no_warnings + # TODO + tests/test_client_session.py::test_request_tracing_url_params + ) + + case ${EPYTHON} in + pypy3) + # upstream unconditionally blocks building C extensions + # on PyPy3 but the test suite needs an explicit switch, + # sigh + local -x AIOHTTP_NO_EXTENSIONS=1 + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked + rm -rf aiohttp || die + epytest --forked -m "not internal and not dev_mode" +} diff --git a/dev-python/aws-xray-sdk/Manifest b/dev-python/aws-xray-sdk/Manifest index 8fd6cd10543b..d9c98acd77b3 100644 --- a/dev-python/aws-xray-sdk/Manifest +++ b/dev-python/aws-xray-sdk/Manifest @@ -1,5 +1,3 @@ -DIST aws-xray-sdk-python-2.12.1.gh.tar.gz 275525 BLAKE2B 7aae0cc3d6b733ee80b553d087bd85d02329c7da3a8902cb428823af4a53d47a14089a274cfccdfb197a77370dcb71775e1d111bb76205a1f09f9b60a5c92967 SHA512 3c830cf81f353a2805b641bda3d38d72a1286d413e0cd087bfeac78bfe00e7853c19ddab96f18275e7fd95317c2a6650d5e4b287d63c1d3900b25414a525c3dc DIST aws-xray-sdk-python-2.13.0.gh.tar.gz 276162 BLAKE2B 60a8cf121139b5a704f47676a10534a7e9e5cbbcadc3a10e2f864f2d6baef8b0d8fe82ef9356d3e459d21628584ec98d4a89ad31b8d982dc8859d0cdb0240999 SHA512 c36907788a891a8adef94591172c53dcc0ebde5c0a3552154a313d93af66d50d88aa3422c1abeba89e629aa224beee5eb17e14f272ee312c76aa7f437fadb77c -EBUILD aws-xray-sdk-2.12.1.ebuild 2198 BLAKE2B a9003e4881d6e2a8926db2406cf0af8bafa3d065b938a5bab7af3f63af06e461947b33024a468bb5ffe32d77c0aea034a0bdf98e1a252799c39e7b612a9e73ec SHA512 b0aeef318148b297d68821b0b930d954cc5d3a4e68f3638baf9bab39daa4f163f6ac7cf18e1948b3b23b2a2cf75727e0fb0ef3fcdd23fd975a4194e0a7c4fe2b EBUILD aws-xray-sdk-2.13.0.ebuild 2469 BLAKE2B 474c15aa2816fe6c5c69edca11223510402264c06de0af95dcc02ce00b67089d906414fffce01820010a6ae8043fe038f3d499f49b47c15eab8574fd2bc444b0 SHA512 11f8677507acc34044c4591a07af7a01a145d057328974346e928d5c000ae88e994a2bf461586564e9581072538f6e3916469ede26554c2232ce06b25753f8db MISC metadata.xml 579 BLAKE2B 3f7aaed38bcceb97fb3597954ca9075ddf7a5718bcac69327be2b99d241c6d8cb0eefd369ca892c8d751703de9067c7eadf19f8c4445334ee8e4952b99fef69e SHA512 f3033cf16f60cae6727f80bd53944972f851579ffef8101cf6fda45e2575696183ec92ea8c994a77bbf3ffc8219be2ae2fae456faabe73a9896bcefddf3b5db5 diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.1.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.1.ebuild deleted file mode 100644 index 06fa6d981436..000000000000 --- a/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.1.ebuild +++ /dev/null @@ -1,84 +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_{10..12} ) - -inherit distutils-r1 - -MY_P=aws-xray-sdk-python-${PV} -DESCRIPTION="AWS X-Ray SDK for Python" -HOMEPAGE=" - https://github.com/aws/aws-xray-sdk-python/ - https://pypi.org/project/aws-xray-sdk/ -" -SRC_URI=" - https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] - dev-python/wrapt[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/bottle[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings - local -x AWS_SECRET_ACCESS_KEY=fake_key - local -x AWS_ACCESS_KEY_ID=fake_id - - local EPYTEST_DESELECT=( - # Internet access - tests/test_patcher.py::test_external_file - tests/test_patcher.py::test_external_module - tests/test_patcher.py::test_external_submodules_full - tests/test_patcher.py::test_external_submodules_ignores_file - tests/test_patcher.py::test_external_submodules_ignores_module - # benchmark - tests/test_local_sampling_benchmark.py - # Fails, probably because above is ignored - tests/test_async_local_storage.py::test_localstorage_isolation - tests/test_async_recorder.py::test_capture - tests/test_async_recorder.py::test_concurrent_calls - tests/test_async_recorder.py::test_async_context_managers - ) - local EPYTEST_IGNORE=( - # unpackaged deps - tests/ext/aiobotocore - tests/ext/pg8000 - tests/ext/psycopg2 - tests/ext/pymysql - tests/ext/pynamodb - tests/ext/sqlalchemy_core/test_postgres.py - tests/ext/django/test_db.py - # Internet access - tests/ext/httplib - tests/ext/httpx - tests/ext/requests - # requires old package vesions - tests/ext/aiohttp - tests/ext/django - tests/ext/flask_sqlalchemy - tests/ext/sqlalchemy - ) - - epytest -p no:django -} diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest index b685b1c52fd8..9ea62457c9ab 100644 --- a/dev-python/black/Manifest +++ b/dev-python/black/Manifest @@ -1,11 +1,7 @@ DIST black-23.12.1.tar.gz 620809 BLAKE2B 8522183d8004dd094f87fc8efcbbbafede9f94ded2f67d4815059534da91c969067c5c508636c2654894109f91d8fb5b26f23351b5ffff451aeac8ed5d146da4 SHA512 1a90eadbb7ccf1dd6c4c7d858b3360b7c62c04bf1826dd4817ddb8d542c3155fc72a80d53aa3be34375bd7006ab65432e006572bc5d1eeb6ff23cfa460072e93 -DIST black-24.1.0.tar.gz 622911 BLAKE2B 371a334df390f758fe482dac42345ab0cd7058c2dcbb49f5ce4337fedfe5b330308ab2644438a447ae76413fc95b65ba0fb0ab68a3a294e12f2fe147cebdfc25 SHA512 f9d2315743b91dcc563f8e57d4bfb3d80aff2b6a8f426d348c84d23cbcc1fe85107b4b3d78f396959d10240b75586e29bb26d7e767d382cc9d977703f2fa8d09 -DIST black-24.1.1.tar.gz 623755 BLAKE2B 32e12a3c1b0ad7cb94970b8d887444e0ff05c8044ce7b843710ad4494b6c1d8d4e74a76ce79178bb468fc1ed813bd4e17d3b1ba24f4fe6a6c3aeaf4bf2afe499 SHA512 507555c330a4ef5869b11d9b3ad19b6234c035bb2a28fa497aac911303bbc2d546601c1d587c8a824403c346eb5b940aaec2989c20dffead6fa881e496be5672 -DIST black-24.2.0.tar.gz 631598 BLAKE2B 4533768f508408dbdcca72db4600ddf244cddadd985e960cd7292809ebc0e2ed7f89aeab1f9af84e17a58d232f19b146980b79804f9cf3036bf757464737022a SHA512 23a40d7b2463d657c849bc54745036a253c67df6c58cef210fa4ee3c820cd83f687e3661f765939a5da23f7b75b10bb59e8b233731f37f21dd0301129e3fb5ea DIST black-24.3.0.tar.gz 634292 BLAKE2B 9a853a0943ba081ecb7a4c22913b060607ac47fb90b70a9645358d681f3eab55707ad6fe9ad9928ba0d39a8adf5dfde0168598a8abcc24b823b407287cefaf82 SHA512 57e3b651009578f1d15b6e9ffb49d24be80885b2cf7ad48a68407862778ac2099d119e7ba6d58ddea4fc7fc21345435a7572a970baf882f763d9347868d5504b +DIST black-24.4.0.tar.gz 635902 BLAKE2B 2821c0f4674524d3457fb8cbf1f1224d9c7e76abdbb1e47bcd4d488ff560a417b3ad57223318b28951c92c59d13c4a2894a323865a2be2859e7b7e891c54064c SHA512 3f9150faa36413ffff3a65f9f55b33a6b69b3abec5bf649bfc0662a92faa41edc76e90151e27a74f04bc3defc0687c898d54b2f137d16d13ea46e86670aa7a98 EBUILD black-23.12.1.ebuild 1508 BLAKE2B 2ca4e555c2b3941ce5d0907cc5bb4a5a643a41a8b1f6c7c537453982fd3196851bb2c9c3c0a7b8139109b1d1e806d5daae5545c96f7bd66d183e57c76bf370ca SHA512 9a67b16239a775ac88ccdbfae13c4c5c4c2038873bee18e1e1c08ef02f5e8e666e85b25953b4c225b3001bfdcde35284aa0ea10335dbb2f8d9f225734e9ef887 -EBUILD black-24.1.0.ebuild 1516 BLAKE2B fad650e8f1c41ff50dec38825fabf3635bb87cc6f46af932546f30389e506fcffb9997c55fd332b783eadf8b3744fa1e4e0e30790e76182839fb98955bbcfa66 SHA512 dde816dffa26b2a9eff2dbf830cae6cb4b1995b3215bf758794325a0e30eca5fa38f78354414352f095b56a4d8dfe7b3e7717719861530f6071be35bcbabb74f -EBUILD black-24.1.1.ebuild 1510 BLAKE2B 6bf6b49b209af083d78169037a196098ae39744996c8b8c789239094dbd2eccc8b6b4fc4806df43feff631581804d58fc7dc5c500ab488055b8638a694476e22 SHA512 665714aede1130524d7fad43b3e2c0c89d39169836c3bf726bf29730a66d1fa40dd38af10792f9bfcfeef25f793dc4694941fbaf70c777287ffd777d2c8ff842 -EBUILD black-24.2.0.ebuild 1291 BLAKE2B af86ab31a4512c3052a79809de412055d99093e413f5da4d6f909be9774857e255bd2b66943485430cf6633811a9c8a5e6b439d4eac036bc762989b27ec49c9f SHA512 cde336c35845bace093b6d69a0f3c69b86da5c675aacad4d9ab0a9534252fc93abd9b28c498d9e207263e07531cd8a51dcda3d6997e9244854b1aec4e3bec538 EBUILD black-24.3.0.ebuild 1291 BLAKE2B af86ab31a4512c3052a79809de412055d99093e413f5da4d6f909be9774857e255bd2b66943485430cf6633811a9c8a5e6b439d4eac036bc762989b27ec49c9f SHA512 cde336c35845bace093b6d69a0f3c69b86da5c675aacad4d9ab0a9534252fc93abd9b28c498d9e207263e07531cd8a51dcda3d6997e9244854b1aec4e3bec538 +EBUILD black-24.4.0.ebuild 1298 BLAKE2B bccd3fc4e776dfa3e12cbcb543c3f8ea314e7e4fcd9d9bb0701d00b55c04fa03545276ee33b5460d2c7f3f6dd1da0f7c166fd39ed441cd2c5b8ea6950f957f5b SHA512 1d8a364628457c20430538a69aefa6a2306491f53d95bda2a751d9c2003c25639d3c86dede4d18a07f2e3455f2035dea7c109e350a59504e8853a7f1828a797f MISC metadata.xml 446 BLAKE2B 7d9bdbc4fdd62c1b4278a824a75dede64ccd3a4d865722a99edbd4e316342879eefa7b249c453668a5d33009e134e2feb4d1ac01976146c3e988f3724749d4a4 SHA512 0a3a912fc1d439a92452e48c9749705cd2307e645bb1274d22265656f6101574edda79cf04c03ae512818e7077e404f79fb1f70fd68d9c7cd3be3417f991700d diff --git a/dev-python/black/black-24.1.0.ebuild b/dev-python/black/black-24.1.0.ebuild deleted file mode 100644 index d7502a3d0049..000000000000 --- a/dev-python/black/black-24.1.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # incompatible with xdist - tests/test_black.py::TestCaching::test_output_locking_when_writeback_diff - tests/test_black.py::TestCaching::test_failed_formatting_does_not_get_cached -) - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-24.1.1.ebuild b/dev-python/black/black-24.1.1.ebuild deleted file mode 100644 index d9cfa5e8b62e..000000000000 --- a/dev-python/black/black-24.1.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="The uncompromising Python code formatter" -HOMEPAGE=" - https://black.readthedocs.io/en/stable/ - https://github.com/psf/black/ - https://pypi.org/project/black/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}] - >=dev-python/packaging-22.0[${PYTHON_USEDEP}] - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}] - dev-python/aiohttp-cors[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # incompatible with xdist - tests/test_black.py::TestCaching::test_output_locking_when_writeback_diff - tests/test_black.py::TestCaching::test_failed_formatting_does_not_get_cached -) - -pkg_postinst() { - optfeature "blackd - HTTP API for black" \ - "dev-python/aiohttp dev-python/aiohttp-cors" -} diff --git a/dev-python/black/black-24.2.0.ebuild b/dev-python/black/black-24.4.0.ebuild index 0d889f9204fb..bbf320447679 100644 --- a/dev-python/black/black-24.2.0.ebuild +++ b/dev-python/black/black-24.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" RDEPEND=" >=dev-python/click-8.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index f14f7fed9971..bb16497255e5 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,6 +5,7 @@ DIST boto3-1.34.80.gh.tar.gz 793186 BLAKE2B aa45147344c21291f413580473bdd358d25e DIST boto3-1.34.81.gh.tar.gz 793676 BLAKE2B 40e8eccfc1a619c5d542233faa13aa099fad43c6eddf669914cdbcd58c44bb13433ccad44d6aa2ef5162ba4f7725269b60e82d9093b2119b029eb884b0fdb4ef SHA512 a1823dd568f3e46bdea0830cd1a56aecd949d7e5f1e3558f759a672ed10f754faf546a69c8f1489dc203f04dc173de644689b6bdb53c4446f3cf81adbabc9211 DIST boto3-1.34.82.gh.tar.gz 794338 BLAKE2B ea4053423ed712e7ecbaeb749eb1f6a8bc4a2302f71662d10fb9014a2c95a7539943bbffb8175a1fbda9631c931aea2a756f337ccc2f59cd4bf4ae4b5063049b SHA512 d21b91f4f3fee6e91414ce75a39622a09ea7c570c5877fa140e88ea3ab04ce98a34167a973802766c5c654b9a038c536199cc330c1687af9b917ebf4767223a5 DIST boto3-1.34.83.gh.tar.gz 795426 BLAKE2B 22e43acbea7d09c4b5c682b4783acf6ca136e2b62f826928b91e17a495cc8ab6123aa9518c53bd31f029db792f1436e6d358eae35250de944236629924e6260f SHA512 d194d01c8b73c26e0f7c23f2c5f4eb863777eae59390f4824cb3e316f0ea8efee055584f8d8aa7718833a354ab5a96f8714e5fd9d8ec76dac2b268c92fe464fa +DIST boto3-1.34.84.gh.tar.gz 796658 BLAKE2B 76ad7997f92167f1ed2f14a0a780a1a58b4a853ea132ca38797a228382ad8f55264dfaee99ebf6f8e2bea1848ec918f7b3b0943d0bb6a81b3b858e729b2e74c4 SHA512 55988d7ba69a46b986ed2cffd46b37a154baaa3a73ce62d9ee5b4b8b6f8987f714034ae4f3e59ed9907920216eaf8b18edea4c0fbac99037979b8b30e3b71133 EBUILD boto3-1.34.69.ebuild 1258 BLAKE2B 7f7ba2672f66400a4c2c202847d4bc7b57a0941b51f4f2f725475c38b6092c6a89687476db8bb701688ff47ccce491ffc435968a407ffc30ef860747573a1f43 SHA512 aebf347c928b4364a045a4bfb20edad39f9530fed5dfeef6b7e684feae0a146b71aa53cbb49f0b79e89671b97402aad447e6971df74ee44fef523ebad23f992c EBUILD boto3-1.34.74.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.79.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 @@ -12,4 +13,5 @@ EBUILD boto3-1.34.80.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f12 EBUILD boto3-1.34.81.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.82.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.83.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 +EBUILD boto3-1.34.84.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.84.ebuild b/dev-python/boto3/boto3-1.34.84.ebuild new file mode 100644 index 000000000000..2c733040b7a3 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.84.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_{10..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 ec7f2bb2683a..5a99ea4b5e50 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,6 +5,7 @@ DIST botocore-1.34.80.gh.tar.gz 12886772 BLAKE2B a77200c5fa28ec9f1a8d65aae081309 DIST botocore-1.34.81.gh.tar.gz 12888862 BLAKE2B 75394b63e4617da9e41801de96b4fa2e590add49e7697771e018ab0ca161dbc3eab95b4af98a1886e8d41419b9e3508727912082708e0197f676437cd19091ef SHA512 dba689f4fe6b32eeb4ef32b49217849a5b6624f8ce3bfeb0857f88b98f84c38d4f04b3ef4c5d3e613ed96117f433cb16562984f6d826149dbbed80230d54386b DIST botocore-1.34.82.gh.tar.gz 12892302 BLAKE2B d536197d6cd93e85d6e67bdf854a337c4fbf3702b699caf9b3d11553fd41b8de9f4cd10e410a1bcf27f20d2b83e19891afad1eebb064ba71d8779b1db7ee1de3 SHA512 5de261d295ad482ec13878fefc5775764345624eaf43fd0dc38d4419aa05a9d3a5f81ab1d1f09eeefaa70b5c87795dd8168105360005f2592ba7b6919bccfdb4 DIST botocore-1.34.83.gh.tar.gz 12904330 BLAKE2B f088d973612c94548b7c32d2254ff9e69dc6c1a700074757db286c9e185140bb4e9619bd548f84da71390028af4352c5431925b32036dd20ffbc7754ade9977f SHA512 0c2ca2fea142f7b44b58ae6b55c0393f7650b4a689a4d8f1dd62f1bd6b3b2a3fec87a4a837c2f748527e7e221ef4ff8c90353cd245677bbcf844eb59d9ddb966 +DIST botocore-1.34.84.gh.tar.gz 12910232 BLAKE2B 3a9f9073e34d203f05ae44f9dc437f4d325084dbe858e59008a7b0c826c53d6e9a1911f6e9203aa476787878de88a1d8a9c1e26cedc3c34bebf6739c9bb10fce SHA512 247578e628e5ea57cfb956a10c0975d7a2caa24617e8572f90ca2a0286c75077a732328cb2dde34c937113d288c4a8a346adc074aae14dcebfa16c309d801a31 EBUILD botocore-1.34.69.ebuild 1477 BLAKE2B 784b43f060f0702808a3894fdab7a15dd4b4feeffc3c1ab2fe24cca762b2dc1310f40ae5b2941db5c4aa9c4ff8b69d858520826027a50ce975d25150132b4d56 SHA512 e86970ec900929641794d61e02f26bc7e7c8af803095dcc5c8fbedac9d79275c596176f2b492061289056c7d29ebbaa6e64344148f22b6349ac4420ab5038dca EBUILD botocore-1.34.74.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.79.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c @@ -12,4 +13,5 @@ EBUILD botocore-1.34.80.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe EBUILD botocore-1.34.81.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.82.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.83.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c +EBUILD botocore-1.34.84.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.84.ebuild b/dev-python/botocore/botocore-1.34.84.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.84.ebuild @@ -0,0 +1,67 @@ +# 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_{10..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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index a7b03ba9b1d7..43d7be1cff3e 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -1,6 +1,9 @@ AUX docutils-0.19-pygments-2.14.patch 18917 BLAKE2B 889de063bfd6aae39512103c0da0d9e6bec108a59b9687ed1d2cfa650b541726bf215651dae8566e73c5c7beaff3911ba477a198640161ff1ee20d8cc49ffa27 SHA512 94941801590739dd760c5a5344481f99cf57c38776fc335643c7734f77a8c70e7408228149e3488a1b93f47ec57c54a419cf23cb3b2649b8246e0f8fc2e420e2 +AUX docutils-0.21.1-test.patch 1622 BLAKE2B 53f238f048a8251fc50839a6f69faf1c758ae2f2abdf45345ea9691fafa6330b77f6f8c09929f76ccc4bf59a4efced5480bd56bbd3aa4488dd09857dc09b0d57 SHA512 8f7cdfb44189cba2b93bca1be293aa6969ac530c33dde58c10c2d5b17d75356be621b68af9189fd4ebc3ff651a8abd009232d2414a249f70a046fb87c012734c DIST docutils-0.19.tar.gz 2056383 BLAKE2B 9983a905642de4e81ca118578671b503ddfda4bef1afcc0524de40543e1f9617fd8d768ef467da49d2f01076683400bad6a0fe15f6b5a3a1e202c42b2e34ab1b SHA512 fb904a899f2b6f3c07c5079577bd7c52a3182cb85f6a4149391e523498df15bfa317f0c04095b890beeb3f89c2b444875a2a609d880ac4d7fbc3125e46b37ea5 DIST docutils-0.20.1.tar.gz 2058365 BLAKE2B 73fb8302599ffe57b0840c898b0b2e3ccd39ff9ea6eec2b5d345d02c950e1a8357bd821e62733b0484e82bc30e71d30fab381390b0edaef4375b02bcd9eeeb40 SHA512 a0ddca315d03677003036d6a8052ac96fbd3fcc4508564938ea684d79bedb4d322d83449c7b26e55b19b0aadd6e46ca9ac409bb16279a20f06c70e9c15ef5eb0 +DIST docutils-0.21.1.tar.gz 2201080 BLAKE2B a89792a69a7faa0eda7b2470e5e3a3d3cf8250a3577553a8f8f8d3d86d2693394e97dca6c75c1b4815748d2ce126ccd3f71dead5763ec8b70aee7be183165473 SHA512 2816fe074b12d7f15fb6730339f3af5f459f50af0cd2a4922194887f48bfd9931c2f2054a17a5418585b586502b96e05ed18600d31c523084537dc72707ab0ee EBUILD docutils-0.19.ebuild 1729 BLAKE2B 83518b007ed7f6fe5491ad883c6272ea93ee91a177271bb791f63cda6d5b7048d5b8981a734307f8926e41ffdde6c5bb328b1edc41ade6f2e543a5cb9b65c851 SHA512 120702a6a0d4d495c4f9367e11b6b8190352c007ffa8ce767a9f5284bcd366e462dc7e19427e208b1fa98418785de13d17b9bbe1530091cf7a6307611e0a9573 EBUILD docutils-0.20.1-r1.ebuild 1868 BLAKE2B 6816507f5f0519235d7d6f433db171b30d29481ae9d40e36f401e968bedead22910de39189712703c8184fbb1c3997174d25417dfc9d168566bdf37da8b527dd SHA512 de3edcd25ec0e2e812e43bcc12b871b5737bc65bcab05230d9bdf44bc010f6c83df99e4fedbf4e8d737e9d7fd45ed527975176fc641b44107a189627ecc585db +EBUILD docutils-0.21.1.ebuild 2028 BLAKE2B 13a91d4500803367bfd6768ea2a02e7be2a5b442f41eb4d867dc25239f3a0c7da5e5e1725183e7b1a58037350ce8ac3840aa870e3584fcd6e8465908389352ab SHA512 63c3aa8775c39a7c470c2e9fb1246238335aa45aa656979b5ba927641274693c0ef3475162c46204fa0098ba3a0f0d22f5acb8ebc1af98766debe46f904830c5 MISC metadata.xml 389 BLAKE2B b586fccb92f88e7f2ee68879bb919298953da9eb629fc1042f5f35b316b59ffcc614f23135fe1ab4af8ba9646bcbc33f194ac74af795094e20d288817b5e227b SHA512 ac8975a27694a2a0efd07c944a769f1a210bbf4a1550f92f0ead3ac2dc9ffb4d82206858f2a8631f751c81fdace88433b9d89f8c3d6af72907e102da5696693f diff --git a/dev-python/docutils/docutils-0.21.1.ebuild b/dev-python/docutils/docutils-0.21.1.ebuild new file mode 100644 index 000000000000..773ff8bded58 --- /dev/null +++ b/dev-python/docutils/docutils-0.21.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python Documentation Utilities (reference reStructuredText impl.)" +HOMEPAGE=" + https://docutils.sourceforge.io/ + https://pypi.org/project/docutils/ +" + +# GPL-3+ only for emacs/rst.el +LICENSE="BSD BSD-2 GPL-3+ PSF-2.4 public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} +" + +PATCHES=( + # minimal backport of upstream r9637, r9641 + "${FILESDIR}/${P}-test.patch" +) + +python_compile_all() { + # Generate html docs from reStructured text sources. + + # Place html4css1.css in base directory to ensure that the generated reference to it is correct. + cp docutils/writers/html4css1/html4css1.css . || die + + cd tools || die + "${EPYTHON}" buildhtml.py --input-encoding=utf-8 --no-datestamp \ + --stylesheet-path=../html4css1.css, --traceback ../docs || die +} + +src_test() { + cd test || die + mkdir functional/output || die + distutils-r1_src_test +} + +python_test() { + "${EPYTHON}" alltests.py -v || die "Testing failed with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install + + # Install tools. + python_doscript tools/buildhtml.py +} + +install_txt_doc() { + local doc="${1}" + local dir="txt/$(dirname ${doc})" + docinto "${dir}" + dodoc "${doc}" +} + +python_install_all() { + local DOCS=( *.txt ) + local HTML_DOCS=( docs tools docutils/writers/html4css1/html4css1.css ) + + distutils-r1_python_install_all + + local doc + while IFS= read -r -d '' doc; do + install_txt_doc "${doc}" + done < <(find docs tools -name '*.txt' -print0) +} + +pkg_postinst() { + optfeature \ + "auto-detecting the image dimensions when using the 'scale' option" \ + dev-python/pillow +} diff --git a/dev-python/docutils/files/docutils-0.21.1-test.patch b/dev-python/docutils/files/docutils-0.21.1-test.patch new file mode 100644 index 000000000000..507fd239c166 --- /dev/null +++ b/dev-python/docutils/files/docutils-0.21.1-test.patch @@ -0,0 +1,42 @@ +diff --git a/test/test_writers/test_html5_polyglot_parts.py b/test/test_writers/test_html5_polyglot_parts.py +index fb2792ee7..cb03fea2f 100644 +--- a/test/test_writers/test_html5_polyglot_parts.py ++++ b/test/test_writers/test_html5_polyglot_parts.py +@@ -24,11 +24,20 @@ if __name__ == '__main__': + + import docutils + import docutils.core ++from docutils.parsers.rst.directives.images import PIL + from docutils.utils.code_analyzer import with_pygments + + ROOT_PREFIX = (Path(__file__).parent.parent/'functional'/'input').as_posix() + DATA_ROOT = os.path.abspath(os.path.join(__file__, '..', '..', 'data')) + ++with_pygments = False ++PIL_NOT_FOUND_PATH = 'dummy.png' ++try: ++ if PIL and (tuple(int(i) for i in PIL.__version__.split('.')) >= (10, 3)): ++ PIL_NOT_FOUND_PATH = Path('dummy.png').resolve() ++except: ++ PIL = None ++ + + class Html5WriterPublishPartsTestCase(unittest.TestCase): + """Test case for HTML writer via the publish_parts interface.""" +@@ -642,14 +651,14 @@ totest['system_messages'] = ({'stylesheet_path': '', + .. image:: dummy.mp4 + :scale: 100% + """, +-{'fragment': """\ ++{'fragment': f"""\ + <img alt="dummy.png" src="dummy.png" /> + <aside class="system-message"> + <p class="system-message-title">System Message: WARNING/2 \ + (<span class="docutils literal"><string></span>, line 1)</p> + <p>Cannot scale image! + Could not get size from "dummy.png": +- [Errno 2] No such file or directory: 'dummy.png'</p> ++ [Errno 2] No such file or directory: '{PIL_NOT_FOUND_PATH}'</p> + </aside> + <aside class="system-message"> + <p class="system-message-title">System Message: ERROR/3 \ diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index da6498e2d1dd..dd4549ef7a0c 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,6 +1,6 @@ DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133 SHA512 a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa DIST h5py-3.10.0.tar.gz 403716 BLAKE2B a8e4351a15aee5fe9d23f9c5f9b6ff44e688a391ba17e27338675bde60415c73e3cd97a4a0c05490df849f649d626450d3dbecc9ae6ea3d24d784a0a4aaa1850 SHA512 840d7f2b9b9d5e22e8edae21c84884abec64acdd6c36437a4921ce9dc1b343c55f66f72b699146d71fe55688f6f948787b62335a24906288e9565b2b19b24b01 DIST h5py-3.11.0.tar.gz 406519 BLAKE2B a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf SHA512 05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88 -EBUILD h5py-3.10.0-r1.ebuild 1429 BLAKE2B 25a02fbacf97d95e965119944d9d11845d46ea34710733993a0c78a2ad68dbc11a5db50de72cdd5767a5fe96113241b8fef78c50263d5fea66de2b07f6923f8e SHA512 ffd927524a5dd51ef273023b591ff334a07dd95c9762110c45fcb0918fb569b1417c661c33edfbaecdccb72779fc196a6d325eb9f2895fcdd91a05e8bbcc9b1f +EBUILD h5py-3.10.0-r1.ebuild 1428 BLAKE2B 07e45cb6735aa016b03ea5c316a9f149fae0f148d891b4c1bc6767934685cb3f2013798a876a6faef87c49e01f3fe4bc91ff8d3b1b04b814ed35f9bcba3a7063 SHA512 8fb707bd130d128b6df2ceb9b65f6be83f9042260e1495c5e1d17f1fb4b1e9902f55a5e6f4a270dd36fc306e46516b1ad5c3d5df5458ff12e7a5230668f142c3 EBUILD h5py-3.11.0.ebuild 1384 BLAKE2B fddffc85882c06e89aed9e349d0914c7eb37db2bee746d4e7558b9aeb2c3e91a3f9c3d416565e44ac0b6dad64e27b54713f2897e1e8224000f866336a445da80 SHA512 4346ee8d585a7edcb020a946c09dec78da939b900e7253fcc546f3cf921cd9311fcc96c2579da83e8dc3253069c8468a76f5d0ac09079e6f83a4a93ca38ff992 MISC metadata.xml 1069 BLAKE2B 0f3ef8e7af7f4bb493824427a238588c019c04c28fe8a4b9c0b9af1c986158eb3dae3b7d7937713cc4c87374ef80686603ccdbae2baff5b1150d814ab108d973 SHA512 47a6074e383cc922234ebb9f67aaa5863421eaeb2003444587bb8499b3bf845da93ac8d8d267717bea01300691df10f67c9389248fbe228afe07c17fba3a64f3 diff --git a/dev-python/h5py/h5py-3.10.0-r1.ebuild b/dev-python/h5py/h5py-3.10.0-r1.ebuild index 9c255e9ce4bb..0f1d899e8504 100644 --- a/dev-python/h5py/h5py-3.10.0-r1.ebuild +++ b/dev-python/h5py/h5py-3.10.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0- LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" IUSE="examples" DEPEND=" diff --git a/dev-python/idna/Manifest b/dev-python/idna/Manifest index f180f9d77f4f..866ea49b5a60 100644 --- a/dev-python/idna/Manifest +++ b/dev-python/idna/Manifest @@ -1,5 +1,3 @@ -DIST idna-3.6.tar.gz 175426 BLAKE2B 962f2e1fdeb4abe28a198f2b469142df1ca336298dd4727c1d51871e747a17da0b946d09ef32b820b23e5fb103f5ab74234b31bd8540c52cf9d87e901326ca19 SHA512 8bea880d1b2fae1511f21381d73445f62e786c385eb949d2c39e611f71cb6f31f7e54927833a0f456e340857d384d960ab9e6ae31ac7481314254646de656cc0 DIST idna-3.7.tar.gz 189575 BLAKE2B b604f5e69775b6052e3358a31ea0154832264979a992db51130a0f0e7c5ef9163e97e15956cfd599212ba233c789706a4a2ea8051c3baeda5abc3657bdf40902 SHA512 b50e5ae117b67c7076125d6943e3436200676f85d7dd1b5a5414e217e73904ef077f0b1108d9781ab4afe2a66f7c9e1ce8262ce51edeb2d29e4c504147b6c4cc -EBUILD idna-3.6.ebuild 637 BLAKE2B be5a13ed7ce5624e000dae6cc302f98ebb50a03b2c69f6fed3fa09ecaa832dbf86fe43085adabeaa69cd40eefeee149445419de80800b7db925eb4a78afbafc0 SHA512 438ca7fe41bf972e4d71b71d7c1914057e001fdff1d2fd65db9e0902e82ce227780564788901e13d5c70653bea69c6258377cb579555c1c14bc450f3c0fb76fa EBUILD idna-3.7.ebuild 637 BLAKE2B 5838abbfa0b925cea0e0fc495b62c9f1f76e7668f4fd24f5005aba164e6b9e6c50cc6f72896eb484797f1331dd8a481f5e710e78bd2b93c1baa573d477ab58b9 SHA512 a677bbe5ac71d5042af8efd4cca6846e2a873e2baf2e31371ca06fee38c2ffd4c5bf0c0901516b67ace132ec781dd849d4fcdab18f407f1c621ee64e51e8e63e MISC metadata.xml 393 BLAKE2B b3d4476896bbd50dbf61021bb6ffd653b72ca62b58c034aeba5119189fce3ee331cd44aa95ef8e680a4ef5f82206cf8b0ca1b902d73b56931b509c10c2a18685 SHA512 bf8a9a9b4e0a7cb67b6d541291e5de201a8ba9e32addcc6be0b60fd2035485775a7862f0def6bca3ec0e24155170fbeb08f3d24f9c517fbb9bd2223d25904a3a diff --git a/dev-python/idna/idna-3.6.ebuild b/dev-python/idna/idna-3.6.ebuild deleted file mode 100644 index 75a501ea9a84..000000000000 --- a/dev-python/idna/idna-3.6.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Internationalized Domain Names in Applications (IDNA)" -HOMEPAGE=" - https://github.com/kjd/idna/ - https://pypi.org/project/idna/ -" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests unittest diff --git a/dev-python/jaraco-collections/Manifest b/dev-python/jaraco-collections/Manifest index 6cb1c08dace7..89f44e20c969 100644 --- a/dev-python/jaraco-collections/Manifest +++ b/dev-python/jaraco-collections/Manifest @@ -1,3 +1,5 @@ DIST jaraco.collections-5.0.0.tar.gz 17852 BLAKE2B 2ba362417835faea2f3ebfb24c8eeac2b302c64d2f653cf820f16218b5ae92aff270a14680ecee82847f65338d1dafbf9951e92f5874e7df79fd27918d9a2456 SHA512 bc4bf9159c3f2878fb3ed57e311c894986fa106af96423a612f25dbefb51f8dfc77fa1468612a224fbe26c64270745ff1c1db7d05d7c3f5d51040a8773298a73 +DIST jaraco.collections-5.0.1.tar.gz 17990 BLAKE2B a78de1a3222492dde34271edd8032dc5b8737dc428c1aa6b55ebda799ef4ff986cb0cf495bdbc35f9c776e1d576c2970ae6736ba8d8aa7f2fcc2e6766aefbbc3 SHA512 88b0f261acd91d585e643b810818762af7165eaf505099701b99ee3be6955eebcfd1c95690faa3ecb56b25f6982a8cee242e687e50ead56a557a5b2b72ec6dfe EBUILD jaraco-collections-5.0.0.ebuild 767 BLAKE2B 56da6d6abd55a35e252f9f0799a1214577a1b3d2170f7518bc37db4246db5a14048b0609b218e8ba7c5c9a2d89f858c4e1d374f896355320dc70b5d36c14692e SHA512 1e0a8e4066a09957ffba72ddb0ec226d51280eaa78e19fd1aa15c29407be5c43070515a537aced4d2d3e7248a3816550fc3d9b22fe4ff74174104dd4a5918aef +EBUILD jaraco-collections-5.0.1.ebuild 775 BLAKE2B ed281e8f66fa6c335cf73ae228ea5b3961161d2444956c22b3ce9711ab3f89401c9fe9a045850e492b1ca8234f05491331b591bec383e76fb4fb7c1c0650092a SHA512 eab22418d797ac720546d41e062b715a351115e88da4b07966d08ea251aa15d4960532b39800ddb69653df35bed313fe0085aae7f39abefbd926c481ae3b76b8 MISC metadata.xml 484 BLAKE2B 4914c8b3242714bea9e288990484336d645e7a20c7cdc3d6f8018c5bf4771e29a1dadc96e08cb4df6e421273ddd24111c0eaf367209d6dec504589ccb6da0bfd SHA512 f4b097fd1d2d25f31d102c38894ac0e083af00bfcaae986bfc5c93cf634229bcf8015a556b6eb8401b0c1e7f5e0cac619f0b75ef19195cbbf3b8d2128743202f diff --git a/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild b/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild new file mode 100644 index 000000000000..c57882621616 --- /dev/null +++ b/dev-python/jaraco-collections/jaraco-collections-5.0.1.ebuild @@ -0,0 +1,35 @@ +# 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 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Models and classes to supplement the stdlib collections module" +HOMEPAGE=" + https://github.com/jaraco/jaraco.collections/ + https://pypi.org/project/jaraco.collections/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/jaraco-text[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/json5/Manifest b/dev-python/json5/Manifest index 5c5fdef3a0eb..3c9af2bbee04 100644 --- a/dev-python/json5/Manifest +++ b/dev-python/json5/Manifest @@ -1,3 +1,5 @@ DIST json5-0.9.24.tar.gz 40085 BLAKE2B 6e2823eb9aa982837111d587fc775fe6da11a5071a677d50ede6124cac7133faf99f8c73eeb61820eda2efe798d8ed8b30d3fb4601728a66cde294adcadd1b21 SHA512 ccc9fdc129a8857ca507601a7e52c119648550ecd9d256caf5bf558c7338998712b0e1d9294eb0fc62f630f53897f6993a56a352a5b7bcb49e21c4b989ac4ef3 +DIST json5-0.9.25.tar.gz 40332 BLAKE2B 4b24a2f3047c04ce80b0415340ce2d957d319bd45e804147710eb7c1eb0da97b083220839a6e11b852d8c9df5036e2a401060cdec93442245e220fc816d7811f SHA512 0ce3943af45e22415b30a3d43497236a1437adb67b739b97db7bb25b156bb254d0daf613f1f0ba5fafc5904708db81c8a786237ade757267f767afa88d5aa2f2 EBUILD json5-0.9.24.ebuild 473 BLAKE2B 3892af1d1f83f3990e33eed84b71d4ca6c2f28726715e67d936f38a73e06460d99da56cafccb9280b3110ccec513b1fd1b8f535004d809c2b1a28a0169a50dbc SHA512 cf98aed488668ff968bc35fae371b1afcb2b3375ff56dcfb9edb225c6d04d383eb6bbe7be95288d821d108de0673d18187844a61b95a492f11e1073fad175f90 +EBUILD json5-0.9.25.ebuild 478 BLAKE2B 60606d434999e1a743ac86a0bc02f85983a6b989c14ec72382869a9512d6288568b15778b6e7dc594ffb0136c6a1aafd016c56f50b409fb90a8fa6459b7834ef SHA512 99750feb92a9c602dc7ffe2ff4e5231f6bc04496ca159f5b3c916e2c669a2179f18c00483acd9288ac33c26a2b735af52acdb0daca481da458d2e64b385ba35a MISC metadata.xml 502 BLAKE2B 9dc70229a26364dfb51ae26cff9817bcf82c47391d9fe3b6a4b11b79848f786989c62d6c3cbbed9b476da82dcbbbe9e19bf738d860ed423c3c9731c646314cf8 SHA512 257bb6f3e18053e852d693bef7eaba9e40ef5fb25ef449a275a7fbedd9a4247217bcdd016f0b3a93658ada922882bacd723235b2ab46c81dfd8cb42fe933ac74 diff --git a/dev-python/json5/json5-0.9.25.ebuild b/dev-python/json5/json5-0.9.25.ebuild new file mode 100644 index 000000000000..ef679f5690a7 --- /dev/null +++ b/dev-python/json5/json5-0.9.25.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python implementation of the JSON5 data format" +HOMEPAGE=" + https://github.com/dpranke/pyjson5/ + https://pypi.org/project/json5/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index fc4309a75fa3..06f74c16e685 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -1,10 +1,8 @@ AUX matplotlib-3.3.3-disable-lto.patch 828 BLAKE2B 2044ef633091f27080d20e3e1b2c74605e13e99c9d044e97accde3b0a7946ef656f10c9bf5c036745f8ec85380e48cfd5e3d6fe8a023fa60e408d270f45a1da5 SHA512 81562749756b0415c6ce333d3cbbc197306dc9c2c425ec761767271c974badd13fe9a497c74231cd1bf9347f03ef0593bceff9b597289a8328e7c0211c7047ed AUX matplotlib-3.8.0-test.patch 10695 BLAKE2B cbe1268c0b6a7765eb0ae70fb0268ca37ec87751d32b4646f96496c3b2c80c3bd344df5a02cb7edd87621cadd956d79fc6f88d342e7a68ae17b53571dc332ce0 SHA512 17a956b5c6b971adafa1fa7d07baca09cb730fdda49910a466b0097ac6106a2bc5e572488358596ae2e9db98bf860b71f983daf24421c2c418306b4bd4e58c4b DIST freetype-2.6.1.tar.gz 2302080 BLAKE2B 6a5fb98e5fa6cf4b7d7533ad44e364227d8c2f7dded4c552d6e22e204c32b7858f20d41d1e809ecdad6e5353d6cec81bea0e0b06a4533363a41ecab83ce3f7ca SHA512 ff2daed64d712737085924c50e75862fafbcbb24eef6d72dac9eaae63bb656d7245397fd828f5d3e47ac847f7ff83d73dedfdd61fde1f7d6e0f0cdeb49bcf83b -DIST matplotlib-3.8.2.tar.gz 35866957 BLAKE2B 17b3de0101c4e9d76cddc7fa5e44507f1dd628fa70ac0d3c55fb83ca5d36156904bfab50212aaeb0fb89d17615799fe22082ecc1ababd172e39a069b38519064 SHA512 4336ca9799bb03fc2f885e35889ad1c62412f7d7b6aa8e284049f75d1166d2f6753c27cf827f0e7f0bb461d3707ccf63a3172ed82f26ec413c0a6578791f957b DIST matplotlib-3.8.3.tar.gz 35879872 BLAKE2B 2b4b819975a8386bfe2c3af8b1068512b106068c057ca62344f6636c0708327feafc75210a8b87b837779c9a57dede3b4ea2a8b7b673432d7732851d5601f4c6 SHA512 457d1d62b76752938a24780c697461949de00d779df55df122d789f9ebef154edda037f2a804241880a0b442c5fa8139b8ab13054898b8e08fd17a56bdc23312 DIST matplotlib-3.8.4.tar.gz 35934425 BLAKE2B e449f1d71a3152a9cf34cf13c70489d2664c8734c8e8ae0ed5dec2ed5111e0210d679f7e6a1e0b707499d9968b945a7f91573186b82c6d036238aadb5c9da006 SHA512 d4c6a5b3484927dbae1b1203e9984b67d08c958c4a5136abaa805f1eb221146fb1211e5f20456e281d41fc09c94917a796ffacfdb185c58eeeb6d19e60c78b1a -EBUILD matplotlib-3.8.2-r1.ebuild 11243 BLAKE2B adae060de035a6737f59d3af631f101083aabe923907c6ebfee5b9799b5cb409d40d63ea073869ee450af012125b2f879804dcf93352c8b47002296a3bd140ed SHA512 f2c55d6049cb91cdce7f9d186aa22e5eb1ea838a4ddbacedfaf40c5fe4f78defcc4f23c4415b00da52681a08b60df61c352c0728c5bad02351380de309ac8ec2 EBUILD matplotlib-3.8.3.ebuild 11280 BLAKE2B e8e902dea0b8f4983db9ad55f154ea284e7b4ada1f9060c8cc3cba00a4bf8b302e35714914905a8c6d70214c37a4620933936fa016e41f411d682a14a4a42b37 SHA512 4670cf57f7a07a9f87d509769c87ca3ae70992694abdd6b7d75a7181627b421a3750518a06d8381e5920dbcba0db042d74368529bcabc5312ba884b5f6814b90 EBUILD matplotlib-3.8.4.ebuild 11543 BLAKE2B 05f8afd73d936af386d02c606656dbd1d3189f06c58097994008977777bce4ce6c5a6439504deb65cf70ebdf9795f5a539178c32c21453cb88470eb0bea4afcc SHA512 5a505b4c3f94539fd9b90ce596a68d9824dc594303206f4818aaaf830df23879e8a56740044e5d46337abf84974466aef4f248f88486d10e7523688e0faa6d46 MISC metadata.xml 1074 BLAKE2B 1d7dce116e09939378872c2eaf5153948b7e934626110eb4899d0dfc2781429522328f1c4efd2c40f829da64e19bed8f9fbd1b8907a6e74a5fd54587c1d29e5b SHA512 e344bfc813e09c24a8edfa9c062eb2a6c44535559370f508a27a2de20c6ab92aeb48bc8daf9c357178e513eb2474a33782e4098c0f3bcbb84b11f7388ef1a704 diff --git a/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild b/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild deleted file mode 100644 index e62cf69c61a4..000000000000 --- a/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild +++ /dev/null @@ -1,370 +0,0 @@ -# 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=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic prefix pypi toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -RDEPEND=" - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.3.1[${PYTHON_USEDEP}] - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.25[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-8[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - $(python_gen_cond_dep ' - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ' 'python3*') - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - !hppa? ( !s390? ( - || ( - media-video/ffmpeg[openh264] - media-video/ffmpeg[x264] - ) - ) ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.8.0-test.patch - ) - - # increase lock timeout to 30 s - sed -i -e 's:retries = 50:retries = 300:' lib/matplotlib/cbook.py || die - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # leak tests are fragile - tests/test_backends_interactive.py::test_figure_leak_20490 - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # TODO: warning isn't passed through - tests/test_image.py::test_large_image - # TODO - tests/test_pickle.py::test_complete - tests/test_pickle.py::test_no_pyplot - tests/test_pickle.py::test_pickle_load_from_subprocess - tests/test_pickle.py::test_simple - tests/test_texmanager.py::test_openin_any_paranoid - tests/test_widgets.py::test_check_buttons - tests/test_widgets.py::test_check_buttons_lines - tests/test_widgets.py::test_check_radio_buttons_image - tests/test_widgets.py::test_radio_buttons - ) - if has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || - has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" - then - EPYTEST_DESELECT+=( - # TypeError is raised when exception is raised in a starred - # expression referencing a generator that uses "yield from" - # and raises -- non-critical, since some exception is raised - # after all - # https://foss.heptapod.net/pypy/pypy/-/issues/4032 - tests/test_axes.py::test_bad_plot_args - tests/test_axes.py::test_plot_errors - tests/test_axes.py::test_plot_format_errors - ) - fi - ;; - python3.11) - EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_constrainedlayout.py::test_compressed1 - ) - ;; - esac - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # pretend we're on CI to increase timeouts - local -x CI=1 - nonfatal epytest --pyargs matplotlib -m "not network" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/mypy/Manifest b/dev-python/mypy/Manifest index 474ef16bee9c..52b91df06b8d 100644 --- a/dev-python/mypy/Manifest +++ b/dev-python/mypy/Manifest @@ -1,5 +1,5 @@ DIST mypy-1.8.0.gh.tar.gz 3023408 BLAKE2B 81f987423f2bbef8f7f1b894983b34d34b0df408bae28fbb2cb59c5d4597b4d6b9afb8e9a2914aad969dcb621f1fe4ba4850b242bb76c4cfa35aae340f4f36b4 SHA512 231237ea44ccf619ac3d3f7f3cb42658bc9802d7a34f61101a9ac79f0fa67d8f566950e14dae3465c9620cdf67dc80cb65a3e2a6724ff944bfa911754caf592b DIST mypy-1.9.0.gh.tar.gz 3029335 BLAKE2B 5329a95e5ac52933413a91bec2c8bd728451508b7ead880c7c4542bbe5d4cd4d2155c6d372d31a653af9a913de51d8e35d44c1dde193787ce8eaedd8d64d682d SHA512 aaa975b97e72f00a384a38fee190e39c6469b062a7083c76bb94bb7058ed38f713f65b96bb36a871a430633cab424a0f11e995868f867e2f7a13c4754ed96c89 EBUILD mypy-1.8.0.ebuild 3516 BLAKE2B 3d13d335e49cf38e0bb3512e1d726c085ccdd014d7f55d4a8620e87513ee456fa6a829cbb1240c2ac40b3ff7b784997ded1e915c83ce17b36750945b5aed75df SHA512 3620d216bbd666c6fe250733e0e94fdaff7d50e4fb5c9076287fe0bb6165a7a7864a29f05cd20ba8124b16adcc82ddd17a75331ce45dc48d56ac0c79ee6381f8 -EBUILD mypy-1.9.0.ebuild 3681 BLAKE2B c269e8b67d4beb96376c2be5e4471d17fc89ef7d2b04f05c145939e90b2ae63b2bc8863faee4bb8a332cc089268f6d2cd126d902be31b64fd5955af01788b2e9 SHA512 cfc06d4c54c856194425c7c6c8b250ea1f1e8755421ebdb08df7640fc00085ba30b4837027c4e72e87b2cb33b3acaf3ecb67c098c1c4c33ec2407b775cd1e403 +EBUILD mypy-1.9.0.ebuild 3680 BLAKE2B 31b67e9af8b2e4e885720b4693d4137fd7b6f0c82b53330fbf3f9062b0efdde6e1442fc21596fae80752f9772c65e4d561e4efe992a35930b887baa95960b0fd SHA512 2b5931bfbf0f80f1876779c12666a7dcb7f68eba78d25547217a091d4953252553642c496a02bb624381c36e57f6c27590ed4d29d509461451b13773787e1d55 MISC metadata.xml 661 BLAKE2B df57cc2dfde5b112f8c26b51ca5cc9e7727d318ee274ea7e1abf448819daf0307f471aeb7c32b19f20e87ce1ccffd47a5529415003765c275523e1b5236f3bb1 SHA512 eddd19c4b0b5211f73f9619f388a799ced108b62bb43d852ed2d01d0b1717e7b9ef118d34b9d61db543c7b47080fb8058c3d35f7359cc456069636f357e080c9 diff --git a/dev-python/mypy/mypy-1.9.0.ebuild b/dev-python/mypy/mypy-1.9.0.ebuild index 793e76ccc5db..1818f0a748ac 100644 --- a/dev-python/mypy/mypy-1.9.0.ebuild +++ b/dev-python/mypy/mypy-1.9.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index b36f2de95ee0..d160e7ce790e 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,5 +1,7 @@ DIST pdm-2.12.4.tar.gz 2598160 BLAKE2B 9eecae679a577c9d6172a07ad633be8b840ac5d972ad0e468b368dabc716203d10c5f0c78e87b815aa30af3be37f6370bcb6623fc5d272a52b6c3e4490112455 SHA512 12cabaff90f962ac195a484ea2bafa8a5ec9debdaf90b59b81d28eee51f854b9ac6d894e22a16c5ad8b69740c5df6a6573942a82c4ea5482819e60bc903c8358 DIST pdm-2.13.3.tar.gz 2609678 BLAKE2B 58eb9fda4bc30fc37ef43b38fa140252242c22a062c4ddef49e90c0ece102cb36ea2186b02fb995a895c6eb80c0da9e602c42c15e83158b3e19fa5d0f55e8d6a SHA512 ea4b0e51d13effe8749a95237799de304047dcec8efc22a41d0985c97ff39447065a9fc84f4510b18055527dd64695bcee4129abcf34221573b2b9d39c2a3c92 +DIST pdm-2.14.0.tar.gz 2610646 BLAKE2B d0b6c6fc576315b1bcc81c2555731cc0945c0482d912dab9d26edae3bf24dc2c933afc8f9bfb72c482e40540892d1c53fc01d164578dad9245d3c54b72109849 SHA512 07f3b7840dc577d3884e1149c15c33e8618c4ab922ac7c5b69f0b32f8481c3532ca77a5a650cf33d32bdb4437610727894b55fa622b002d54144bbbf5e66483f EBUILD pdm-2.12.4.ebuild 2704 BLAKE2B 5bc1fc583ed61400cb41cf923f8a2bd4118cc83980d7bd666d419c698241b4ad3762e2d97663568365ef275f2890d3c838de2007ea33b5a9232c1f996ee4a43e SHA512 2b1c4a2b619d7c0a8531f3068bbaa36e85c1f6a77639f0209cf9ef47422abf10303eb7d8a4a71001e45d877247805c30d5751115c490a8808293f5b3a9c31f28 EBUILD pdm-2.13.3.ebuild 4861 BLAKE2B 805987c40bc80d8fd83b5f9ce0a2f4c6c746792e0d18325ec77a87d6db6147633fe76ef83617871e3b7de526d6b30a3cf7caf2002bd22bcb294532843d4fe698 SHA512 14b29f23b24f746639c235e9e25ff219e986c79733bf1e044e4814b29bdab5cac48401a0e221b60210009b19d5d510e00016e31fdc51d51c50ce6f8071f799a3 +EBUILD pdm-2.14.0.ebuild 5006 BLAKE2B c66c1b7a281b37c88b292ca642f10ec5a951f27e9fbd3bb3a502dcedf9dcc3abfe87aeb7a66396ae5b815eff2a541438ac8e5a450554cdb94023768887ff6e29 SHA512 e55e9dda4bd9c8c15c68449bc9dab28b8e1533fe5fbf783a31295bf0b394bee3d53f4969ee3a63c8e7ca0986c0134c7f8e534f5bdac058605971fdba772e3617 MISC metadata.xml 474 BLAKE2B c1471e124a955920e30f73dfa43a87999c30c2bb9615590f601befcc07f7d939ec68908e67c7345fca4cb0f0524d33507aeac9936fa30d449d1dde17094048d3 SHA512 a07256061dda5a8cf8b0e15205ac36651a4e5b594fdedbfe16d1d3264e1ac42847d1dc222d2857232ac5206d67feda432751695d85d0c4c7b03fd7228db8b1ab diff --git a/dev-python/pdm/pdm-2.14.0.ebuild b/dev-python/pdm/pdm-2.14.0.ebuild new file mode 100644 index 000000000000..89154bdbedff --- /dev/null +++ b/dev-python/pdm/pdm-2.14.0.ebuild @@ -0,0 +1,117 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.2.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/hishel[${PYTHON_USEDEP}] + dev-python/pbs-installer[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + >=dev-python/unearth-0.15.0[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +} diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 64a885505ac4..5854d2f0c43b 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,7 +1,5 @@ -DIST pyglet-2.0.12.gh.tar.gz 6415028 BLAKE2B ba1a697fe4e75b77da2b4ed7c1fa7b95269eb6f67502103fba158ec9fca636fe6027c6ece10c517ed4f7bbaae063b62d947cf9963bb4ed31b842eb7fddf793cb SHA512 e94009f002b295df891367f7e2b30f692606b0a35c1475e9ddf7f463ef5286691f8755f804b24c382fbea97ab2d58dfd51422110be9994a520dce6d365b90df0 DIST pyglet-2.0.14.gh.tar.gz 6420548 BLAKE2B af4d354f49b6d413c35eb9f455a580a0981156b597590a5430f2e380940e815b9a0e9067b0fe47965ad4e88ae7771158fca39d52fd83fea3539cb9252500a7fa SHA512 ffbe2ab0847cd2635970c919fca3c9c190949c8843d5c7e6b7b702e32cf6e09dd4a6f9e7f2ea55134abd7f0ec9ecff347a64aa5771e0e64e67c169d3c60944ec DIST pyglet-2.0.15.gh.tar.gz 6426555 BLAKE2B 8066ac7c3acd613a6fe02403ec5c88822744d6f7ab5e0043ca01443ab94249be7e542bc97f5354286bd3f5675c1c2e4d108ab474d659efe2905b9892e44ece0c SHA512 8b85264a9f13505f86cef694ebdf1e1ff707980b6ec9d205a1c1ef639b2de0c837926476f8a26b33b7ad8a0cd7d9acfefdd0707bace1734db4185a48f01305d4 -EBUILD pyglet-2.0.12.ebuild 1748 BLAKE2B 748734b8b40adcca8e0437baa0bab97606a9c08448a73ad46dbbef0f7e577b97f477d79fc8684788d7a38093fc4ed8e57f5b176c908fbf72f9da6fce3b86f8fb SHA512 ea5abb25dca1b23dd024479a234acebdadd5e685fbb0fe5bc2f60f8f709fc9f6391963503c0e9441ce7288f4556e4224afdf9ed8ae5273fdc86b1fdec3b31426 -EBUILD pyglet-2.0.14.ebuild 1749 BLAKE2B 7da2d4ee12b82ab66fbede8c3d7b3f4d9076d36d3255a0bf445d1dcfd988a55c53b2edc916e66b6e4c57954a273538ecdaa683acb91ee535b333fb6747cbbdd5 SHA512 5ee2be633b2fab555b1c17300f1e54cfbb3e515439eaea18e88da8511c2f8606ce7edca9eed01ca51912689e78ba7f5609903a6fb2b9a5f1ab414e04223f5264 +EBUILD pyglet-2.0.14.ebuild 1748 BLAKE2B 748734b8b40adcca8e0437baa0bab97606a9c08448a73ad46dbbef0f7e577b97f477d79fc8684788d7a38093fc4ed8e57f5b176c908fbf72f9da6fce3b86f8fb SHA512 ea5abb25dca1b23dd024479a234acebdadd5e685fbb0fe5bc2f60f8f709fc9f6391963503c0e9441ce7288f4556e4224afdf9ed8ae5273fdc86b1fdec3b31426 EBUILD pyglet-2.0.15.ebuild 1751 BLAKE2B b3c7746523d6a197ee3dfee0eff32edf23300c61ff721fdcb57170d492c025ebd41d79560a6da84e4b32895ede9e4ed0f2b474c198f7a5c587703b9870fd8617 SHA512 412810b0351003f31c6ee909d82be87041b94d9747af56dd119ade07804200680ef4ce081375953d1da88ecee97ef9602ece3635f7ebd66840d32eef8e1d7993 MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/pyglet-2.0.12.ebuild b/dev-python/pyglet/pyglet-2.0.12.ebuild deleted file mode 100644 index 7550c173f039..000000000000 --- a/dev-python/pyglet/pyglet-2.0.12.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 virtualx xdg-utils - -DESCRIPTION="Cross-platform windowing and multimedia library for Python" -HOMEPAGE=" - https://pyglet.org/ - https://github.com/pyglet/pyglet/ - https://pypi.org/project/pyglet/ -" -SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="examples image +sound" - -RDEPEND=" - virtual/glu - virtual/opengl - image? ( - || ( - dev-python/pillow[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - ) - ) - sound? ( - || ( - media-libs/libpulse - media-libs/openal - ) - ) -" -# ffmpeg? ( media-libs/avbin-bin ) -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/fontconfig - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - xdg_environment_reset - - local EPYTEST_DESELECT=( - # lacking device/server permissions - tests/unit/media/test_listener.py::test_openal_listener - tests/unit/media/test_listener.py::test_pulse_listener - # fragile to system load - tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume - tests/unit/test_clock_freq.py::test_elapsed_time_between_tick - ) - - # Specify path to avoid running interactive tests - # We could add in integration tests, but they're slow - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pyglet/pyglet-2.0.14.ebuild b/dev-python/pyglet/pyglet-2.0.14.ebuild index 10e149e7d85c..7550c173f039 100644 --- a/dev-python/pyglet/pyglet-2.0.14.ebuild +++ b/dev-python/pyglet/pyglet-2.0.14.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.gh.tar.g LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~loong ~riscv x86 ~amd64-linux ~x86-linux" IUSE="examples image +sound" RDEPEND=" diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 1f1896d5adf0..8d886b9dfec7 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,5 +1,5 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 EBUILD pyqtgraph-0.13.3.ebuild 1769 BLAKE2B 2e1ee59e028577ada141ebef902eb833f4fe4b5a8e4bda3659414614c0e3e39fc8456d95c143fc6cb8dd02cae1023a1c3c3feffeeecc9de6ad8f1dfe6192efd3 SHA512 98752b3846cb747d76bf6a999dabf3b830671b2aa2093924a522ab654336ca0f6793bb9be07a408f735d1c829b47aa0135be910424dec694b8c450326e86eed9 -EBUILD pyqtgraph-0.13.4.ebuild 1817 BLAKE2B 91b2c9e18af072cc4522919958497e581851cd36d2e6a93cb8e887b1f9f400e9874f54bde93e5197ceffce16c0892cf18ce70fdd63ae8f42596b54a564fc6038 SHA512 ce9b5efc69c0d372c74a9a1d2f95c8aaeaeb6420f45e8ed83a14b1c72cb63047dd517d4d62163cdd73bd489fa3be04f241fa6849ff428b983707178b5227bc8c +EBUILD pyqtgraph-0.13.4.ebuild 1815 BLAKE2B 5ddeb9c593da3300e56fb41fd981b79ada366c2143794cae41944144945ae7d3121f9445102a91077caacd29fa4d46cf8e832174de7f998746db7ef8fd651c2f SHA512 1b5a34f6479a3f7a844191474c6712f8a365332559bbff16683dbaeec1682f1ab7de509f130b95a4f7a672c00900812d3988c464c345b4cfa2dc1f37cf369acb MISC metadata.xml 775 BLAKE2B 08f1417793ef0b57d978cab5b4c03e43e756a43625d8e6173a8b74d3c9dcce0547934485d192546cf81b8da03bdf21e4c800bb25e0bec452fe092ab3772a518f SHA512 b03a0aa3f6e6183ef2d81b9d0bb22f576661b353986a802f01cb670f9ae0487d84d3e91fd0a4add41e3dd830dbbc0414f4d556bc05bb89a768be9e5c2cee4ce4 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild index 7f4e943402a5..20e6be5610e7 100644 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.4.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" IUSE="opengl svg" REQUIRED_USE="test? ( opengl svg )" diff --git a/dev-python/pyside6-tools/Manifest b/dev-python/pyside6-tools/Manifest index 4f05783ff2ab..ed52b7a1960d 100644 --- a/dev-python/pyside6-tools/Manifest +++ b/dev-python/pyside6-tools/Manifest @@ -1,3 +1,5 @@ DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6 SHA512 1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5 +DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d SHA512 7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14 EBUILD pyside6-tools-6.6.2.ebuild 1769 BLAKE2B e39ab8e2f78185ddda6c105e46a5c83f202d3519650c0f60841f52c4fe0f25f5fab5520902bb65eeab821ad76cd6e44bf65dfff09973202c2ca257933f250cbe SHA512 c03557c98b267a1753956268e810b03116e6b7b017ccaef071a7925a679bbabfa35ec9f25c76dde647c3a14ff2303c276389bf64a40c2311a406b1a934681c34 +EBUILD pyside6-tools-6.7.0.ebuild 1769 BLAKE2B 5f295757abefe2252ad1e68710ff45e5fdd7165f430633789ecd8f77d122d6ea8c58cd6c83accfb05ecfedf74644c561d04d103a82b35f8b7d5ec7d7f629bfb7 SHA512 fd5d96d82dae0fb6a76a4e4428aa3c46513c59bf743943449372f5f8ca5e735154992dece29b032cd4a3d4653a23b4ede1166fc14a8cfcc8745eed9331b4d270 MISC metadata.xml 402 BLAKE2B 28348df442d189eadb56e04dfda71c1d5a56868aae85611a7d77ecdc7651e34ce02563c8da1270aad55758e2dd4301de44434e0bbdb010ef484e240068602ede SHA512 a54866110e38c24d67d60286c64b63dc0b537c55eb201b84b9173b47710b6e8a840d9072ca46fbef969bf481e43e1d8824b20655d7fe6b300cfd5333c3f74a41 diff --git a/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild new file mode 100644 index 000000000000..397cdc6492c3 --- /dev/null +++ b/dev-python/pyside6-tools/pyside6-tools-6.7.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{10..12} ) + +LLVM_COMPAT=( {15..18} ) + +inherit cmake llvm-r1 python-r1 + +MY_PN="pyside-setup-everywhere-src" + +DESCRIPTION="PySide development tools (pyside6-lupdate with support for Python)" +HOMEPAGE="https://wiki.qt.io/PySide6" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" +S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside-tools" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] + ~dev-python/pyside6-${PV}[quick,${PYTHON_USEDEP},${LLVM_USEDEP}] +" +DEPEND="${RDEPEND} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + ') +" + +src_prepare() { + cmake_src_prepare + + python_copy_sources +} + +src_configure() { + pyside-tools_configure() { + local mycmakeargs=( + # If this is enabled cmake just makes copies of /lib64/qt6/bin/* + -DNO_QT_TOOLS=yes + ) + cmake_src_configure + } + + python_foreach_impl pyside-tools_configure +} + +src_compile() { + pyside-tools_compile() { + cmake_src_compile + } + + python_foreach_impl pyside-tools_compile +} + +src_install() { + pyside-tools_install() { + # This replicates the contents of the PySide6 pypi wheel + DESTDIR="${BUILD_DIR}" cmake_build install + cp __init__.py "${BUILD_DIR}/usr/bin" || die + rm -r "${BUILD_DIR}/usr/bin/qtpy2cpp_lib/tests" || die + python_moduleinto PySide6/scripts + python_domodule "${BUILD_DIR}/usr/bin/." + } + + python_foreach_impl pyside-tools_install + + einstalldocs +} diff --git a/dev-python/pyside6/Manifest b/dev-python/pyside6/Manifest index c77ecdec8bcf..e1eb59628b8e 100644 --- a/dev-python/pyside6/Manifest +++ b/dev-python/pyside6/Manifest @@ -1,5 +1,7 @@ AUX pyside6-6.3.1-no-strip.patch 953 BLAKE2B f88bac603a584213a864fcfc7c528f1d236ebdbfb653c3877316cd0b95c30c2f7288b1c81c6a90a3e4228536da4aa63552991fefa952f450b0b852b3e2aed94a SHA512 2920075a26fc059bdebc8eb5fa7c15de74729b7f8d1eb59197f7426afa7a65f1f78a8ebb76e946b2dfaf5817dbf090744bafaed2f2156f2d1548c2932a7ce61a AUX pyside6-6.6.0-no-qtexampleicons.patch 221 BLAKE2B d45b4ebcd780a0151b793b5b21f5d7599ee5c427372ef19f518ac1c94306938178b0bfb603d9755aae9bddc4c31c35bb4648617c793f8e399f0f8dcce0d1f3bb SHA512 1da97be74142402454ef5384c58d2b2a792fea53b4155d7b5ede6d145496b45e4fd56723f8f7716150c2bba448ce816c6740059d7d38ae53d5cdf7c38c4acd7b DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6 SHA512 1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5 +DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d SHA512 7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14 EBUILD pyside6-6.6.2-r1.ebuild 10205 BLAKE2B 7478e09d29a1b506ea81370cbd3ccf8718068824aca2019bf3da3b9f299a9cc231f8e39990e76c331646eec39478cb64da279bc39438e6995a5090479f7fd4e2 SHA512 15d44a498751f0f674ce844d08fcfdfb82ebb4ca56c794996f31e824aed2ae54989cc20781b8780870a630b446e3b3df23afdc9f2b4b999049c015519ff393d9 +EBUILD pyside6-6.7.0.ebuild 10170 BLAKE2B adabcd02d063c0f42801d3b8b2ca88b313231431e5c836f7a54a33ed923efe2efb8e19718b0b9d356d0ee5e30cf9d416ef40790f5c4b464e56c232e87909138d SHA512 e925b05802ef60dcb973d8c95e3faf5ca630e423ab4dd46cf22ec5ce237ab415acd303062c152b1d29ca36b475c46dd3f2ccf2ba551c1caa5ac05fe32eb7030f MISC metadata.xml 2370 BLAKE2B 4135d3d10c96b39c55d9609a096a62a638c2c2e4f15c8b097631baaec111e4c197584f66db8d6151b25404cf51de7b3254c3c853ce6ba0e5c832d4dcb59936f0 SHA512 3ef85f4d14c69cf9fbccd62056e806ac3afbc49ee4ab31652b51bed3582d492d631d2c1370fa59af6ed6a8c32cb337108f9f2bd5dd7feb4a7402a046b9bb0ceb diff --git a/dev-python/pyside6/pyside6-6.7.0.ebuild b/dev-python/pyside6/pyside6-6.7.0.ebuild new file mode 100644 index 000000000000..12bf25538fbe --- /dev/null +++ b/dev-python/pyside6/pyside6-6.7.0.ebuild @@ -0,0 +1,247 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{10..12} ) + +LLVM_COMPAT=( {15..18} ) + +inherit cmake llvm-r1 python-r1 virtualx + +# TODO: Add conditional support for "QtRemoteObjects" via a new "remoteobjects" +# USE flag after an external "dev-qt/qtremoteobjects" package has been created. +# TODO: Add conditional support for apidoc generation via a new "doc" USE flag. +# Note that doing so requires the Qt source tree, sphinx, and graphviz. Once +# ready, pass the ${QT_SRC_DIR} variable to cmake to enable this support. +# TODO: Disable GLES support if the "gles2-only" USE flag is disabled. Note +# that the "PySide6/QtGui/CMakeLists.txt" and +# "PySide6/QtOpenGLFunctions/CMakeLists.txt" files test for GLES support by +# testing whether the "Qt5::Gui" list property defined by +# "/usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake" at "dev-qt/qtgui" installation +# time contains the substring "opengles2". Since cmake does not permit +# properties to be overridden from the command line, these files must instead +# be conditionally patched to avoid these tests. An issue should be filed with +# upstream requesting a CLI-settable variable to control this. + +MY_PN="pyside-setup-everywhere-src" + +DESCRIPTION="Python bindings for the Qt framework" +HOMEPAGE="https://wiki.qt.io/PySide6" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" +S="${WORKDIR}/${MY_PN}-${PV}/sources/pyside6" + +# See "sources/pyside6/PySide6/licensecomment.txt" for licensing details. +# Shall we allow essential modules to be disabled? They are: +# (core), gui, widgets, printsupport, sql, network, testlib, concurrent, +# x11extras (for X) +LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE=" + 3d bluetooth charts +concurrent +dbus designer gles2-only +gui help location + multimedia +network network-auth nfc positioning +opengl pdfium positioning + +printsupport qml quick quick3d serialport scxml sensors spatialaudio speech + +sql svg test +testlib webchannel webengine websockets +widgets +xml +" + +# Manually reextract these requirements on version bumps by running the +# following one-liner from within "${S}": +# $ grep 'set.*_deps' PySide6/Qt*/CMakeLists.txt +# Note that the "designer" USE flag corresponds to the "Qt6UiTools" module. +REQUIRED_USE="${PYTHON_REQUIRED_USE} + 3d? ( gui network ) + charts? ( gui widgets ) + designer? ( widgets ) + gles2-only? ( gui ) + gui? ( dbus opengl ) + help? ( network sql widgets ) + location? ( gui network positioning quick ) + multimedia? ( gui network ) + network-auth? ( network ) + opengl? ( gui ) + pdfium? ( gui ) + printsupport? ( widgets ) + qml? ( network ) + quick? ( gui network opengl qml ) + quick3d? ( gui network opengl qml quick ) + spatialaudio? ( multimedia ) + speech? ( multimedia ) + sql? ( widgets ) + svg? ( gui ) + testlib? ( widgets ) + webchannel? ( qml ) + webengine? ( network gui printsupport quick webchannel ) + websockets? ( network ) + widgets? ( gui ) +" + +# Tests fail pretty bad and I'm not fixing them right now +RESTRICT="test" + +# Minimal supported version of Qt. +QT_PV="$(ver_cut 1-3)*:6" + +RDEPEND="${PYTHON_DEPS} + ~dev-python/shiboken6-${PV}[${PYTHON_USEDEP},${LLVM_USEDEP}] + =dev-qt/qtbase-${QT_PV}[concurrent?,dbus?,gles2-only=,network?,opengl?,sql?,widgets?,xml?] + 3d? ( =dev-qt/qt3d-${QT_PV}[qml?,gles2-only=] ) + bluetooth? ( =dev-qt/qtconnectivity-${QT_PV}[bluetooth] ) + charts? ( =dev-qt/qtcharts-${QT_PV} ) + designer? ( =dev-qt/qttools-${QT_PV}[designer] ) + gui? ( + =dev-qt/qtbase-${QT_PV}[gui,jpeg(+)] + x11-libs/libxkbcommon + ) + help? ( =dev-qt/qttools-${QT_PV}[assistant] ) + location? ( =dev-qt/qtlocation-${QT_PV} ) + multimedia? ( =dev-qt/qtmultimedia-${QT_PV} ) + network? ( =dev-qt/qtbase-${QT_PV}[ssl] ) + network-auth? ( =dev-qt/qtnetworkauth-${QT_PV} ) + nfc? ( =dev-qt/qtconnectivity-${QT_PV}[nfc] ) + pdfium? ( =dev-qt/qtwebengine-${QT_PV}[pdfium(-),widgets?] ) + positioning? ( =dev-qt/qtpositioning-${QT_PV} ) + printsupport? ( =dev-qt/qtbase-${QT_PV}[gui,widgets] ) + qml? ( =dev-qt/qtdeclarative-${QT_PV}[widgets?] ) + quick3d? ( =dev-qt/qtquick3d-${QT_PV} ) + scxml? ( =dev-qt/qtscxml-${QT_PV} ) + sensors? ( =dev-qt/qtsensors-${QT_PV}[qml?] ) + speech? ( =dev-qt/qtspeech-${QT_PV} ) + serialport? ( =dev-qt/qtserialport-${QT_PV} ) + svg? ( =dev-qt/qtsvg-${QT_PV} ) + testlib? ( =dev-qt/qtbase-${QT_PV}[gui] ) + webchannel? ( =dev-qt/qtwebchannel-${QT_PV} ) + webengine? ( || ( + =dev-qt/qtwebengine-${QT_PV}[alsa,widgets?] + =dev-qt/qtwebengine-${QT_PV}[pulseaudio,widgets?] + ) + ) + websockets? ( =dev-qt/qtwebsockets-${QT_PV} ) +" +DEPEND="${RDEPEND} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + ') + test? ( =dev-qt/qtbase-${QT_PV}[gui] ) +" +# testlib is toggled by the gui flag on qtbase + +PATCHES=( + "${FILESDIR}/${PN}-6.3.1-no-strip.patch" + # References files not present in our dev-qt/qtbase + "${FILESDIR}/${PN}-6.6.0-no-qtexampleicons.patch" +) + +src_configure() { + # See collect_module_if_found macros in PySideHelpers.cmake + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DAnimation=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DCore=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DExtras=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DInput=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DLogic=$(usex !3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt63DRender=$(usex !3d) + #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Bluetooth=$(usex !bluetooth) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Charts=$(usex !charts) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Concurrent=$(usex !concurrent) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DataVisualization=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6DBus=$(usex !dbus) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Designer=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Gui=$(usex !gui) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Help=$(usex !help) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6HttpServer=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Location=$(usex !location) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Multimedia=$(usex !multimedia) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6MultimediaWidgets=$(usex !multimedia yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6NetworkAuth=$(usex !network-auth) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Network=$(usex !network) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Nfc=$(usex !nfc) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGL=$(usex !opengl) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6OpenGLWidgets=$(usex !opengl yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Pdf=$(usex !pdfium) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PdfWidgets=$(usex !pdfium yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning=$(usex !positioning) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6PrintSupport=$(usex !printsupport) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=$(usex !qml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick3D=$(usex !quick3d) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Quick=$(usex !quick) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickControls2=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets=$(usex !quick yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6RemoteObjects=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Scxml=$(usex !scxml) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sensors=$(usex !sensors) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort=$(usex !serialport) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SpatialAudio=$(usex !spatialaudio) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Sql=$(usex !sql) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6StateMachine=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Svg=$(usex !svg) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6SvgWidgets=$(usex !svg yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Test=$(usex !testlib) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6TextToSpeech=$(usex !speech) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6UiTools=$(usex !designer) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel=$(usex !webchannel) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineCore=$(usex !webengine) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick=$(usex !webengine yes $(usex !quick)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineWidgets=$(usex !webengine yes $(usex !widgets)) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6WebSockets=$(usex !websockets) + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Widgets=$(usex !widgets) + #-DCMAKE_DISABLE_FIND_PACKAGE_Qt6WinExtras=yes + -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Xml=$(usex !xml) + # try to avoid pre-stripping + -DQFP_NO_OVERRIDE_OPTIMIZATION_FLAGS=yes + -DQFP_NO_STRIP=yes + + ) + + pyside6_configure() { + local mycmakeargs=( + "${mycmakeargs[@]}" + -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" + -DPYTHON_SITE_PACKAGES="$(python_get_sitedir)" + -DSHIBOKEN_PYTHON_SHARED_LIBRARY_SUFFIX="-${EPYTHON}" + ) + cmake_src_configure + } + python_foreach_impl pyside6_configure +} + +src_compile() { + python_foreach_impl cmake_src_compile +} + +src_test() { + local -x PYTHONDONTWRITEBYTECODE + python_foreach_impl virtx cmake_src_test +} + +src_install() { + pyside6_install() { + cmake_src_install + python_optimize + + # Uniquify the shiboken6 pkgconfig dependency in the PySide6 pkgconfig + # file for the current Python target. See also: + # https://github.com/leycec/raiagent/issues/73 + sed -i -e 's~^Requires: shiboken6$~&-'${EPYTHON}'~' \ + "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}.pc || die + + # Uniquify the PySide6 pkgconfig file for the current Python target, + # preserving an unversioned "pyside6.pc" file arbitrarily associated + # with the last Python target. (See the previously linked issue.) + cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die + } + python_foreach_impl pyside6_install + + # CMakeLists.txt installs a "PySide6Targets-gentoo.cmake" file forcing + # downstream consumers (e.g., pyside6-tools) to target one + # "libpyside6-*.so" library linked to one Python interpreter. See also: + # https://bugreports.qt.io/browse/PYSIDE-1053 + # https://github.com/leycec/raiagent/issues/74 + sed -i -e 's~pyside6-python[[:digit:]]\+\.[[:digit:]]\+~pyside6${PYTHON_CONFIG_SUFFIX}~g' \ + "${ED}/usr/$(get_libdir)/cmake/PySide6/PySide6Targets-${CMAKE_BUILD_TYPE,,}.cmake" || die +} diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest index bcaf91e8c6aa..1d8030b0db5a 100644 --- a/dev-python/python-ldap/Manifest +++ b/dev-python/python-ldap/Manifest @@ -1,3 +1,3 @@ DIST python-ldap-3.4.4.gh.tar.gz 378862 BLAKE2B 05a0f9696b888f56ea51f4cdfc21e3c67b10aec8d1d300c1f6b26d23285d81e7a126e0e56e4a8343a5c1f35c919ef340287dc9109d26ed146e1d64a0831b722b SHA512 de87bc6f64540969d1a0ec003f2518c4e8a1899798085371ed017209702fe0c580eea235def8208a5aea42541011b2515c982924f6a75558a84b3f01785254ae -EBUILD python-ldap-3.4.4.ebuild 1706 BLAKE2B 3d75296a0f9fe42d946e6da9b6255084145ae0bdddb8189c3832d807a5055f83538f1b27fd2a167fbf5c4d47855bb37de973dc7541453e364653257ffb80a9a8 SHA512 0def32a5b02f6ac06346d407de1cc77334070fc7dc3d6a6eac36826fb5196d5fcc0b199d245782552b570977ca76e4ad4864ea013936df029a89ebb7d759a63d +EBUILD python-ldap-3.4.4.ebuild 1712 BLAKE2B 1a3ad14431512e0a073496ce45bd767ec9aa6b61243cd643a19e61e1dfeec5729172731a1de43a629da530cf61cab4cfe725ddcb3e878540686d9f81296e8c27 SHA512 455830ea46badebbd1f35ba389c8f7fabeab378d146727e048e9d7da8d7d1c7c1525b1cb8d75630d204509e8f5be0e419e0428e3b34d929514cfe44b91b088a0 MISC metadata.xml 449 BLAKE2B 14ffa18ca09eb663d3ef4ff5bd0ebc8511fa408a4e96c93885ba2beaccdf3bb82a9733a01149e088c8b66d6cb938f94fc3940c0c0cca5685599191e772443cb6 SHA512 2f5c014e55f838b84abf6ba630b000620a01e2fca6d1f1bd1b30db309f820df50c2ef7feddc17c69ee0188c3cbc91a388933b4bccfc8d2ea0cb18c6dae85cda6 diff --git a/dev-python/python-ldap/python-ldap-3.4.4.ebuild b/dev-python/python-ldap/python-ldap-3.4.4.ebuild index ff3693c2dce0..072891fecc1e 100644 --- a/dev-python/python-ldap/python-ldap-3.4.4.ebuild +++ b/dev-python/python-ldap/python-ldap-3.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ S=${WORKDIR}/${PN}-${P} LICENSE="MIT PSF-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv sparc x86" IUSE="examples sasl ssl" RDEPEND=" diff --git a/dev-python/scrypt/Manifest b/dev-python/scrypt/Manifest index bdfdd34d0f63..49bfa7a3f932 100644 --- a/dev-python/scrypt/Manifest +++ b/dev-python/scrypt/Manifest @@ -1,7 +1,3 @@ -DIST scrypt-0.8.20.tar.gz 55874 BLAKE2B b31c7dcec735944f6162709ba6ceb90160b3c9c403121a47e62563f8d2fc50f0505f180d7c18fa2c8e9037a097ca3bffea4c54c1f3b6861004f65a189a20b576 SHA512 da8d34755d4b6c98dc57ff7baf17839cf2434a6d7eb9f6fdc69b3e458d41b4fc49f7fd3a5631318b82bc4b2e46dedb806035897bf1be5a4670b4120f6b46efbc -DIST scrypt-0.8.22.tar.gz 56165 BLAKE2B fa68da9c8f187691f39b9d0f53985c8b439548e32453214f14d63ce85c65e7d360d91f68b6967cdda58e75d15a221c5da2081a118f7682d6ee4a907821f17dcc SHA512 921a791e013bb4d0dd1a11a8692d8e9d30071f8dd46898af4e62e19092b8fbaa62fcd7533641c548f4f2be213c1622871dcd09fb8ab607376b1c75d977055781 DIST scrypt-0.8.24.tar.gz 55636 BLAKE2B 3971979c431cfb621734abc1cadc47f2512502f1c074e5ca41d210cfd0936250534a3c002e6a669239a09158fb8f4ac560a4df405f39935a1a2e9328fbf1856a SHA512 6ed6c4e2ae719523428d2cd2b518d6f4d6137381fb29cadde401e00d23926e6b985683a0ca3d8c5d51b003cc73ecf17e863b265ec297bdcae4067ce8d610a4c7 -EBUILD scrypt-0.8.20.ebuild 604 BLAKE2B 8a9a686a5ff37ea81592983836f77234c08f0767e1c097960ea4576b220352852e0316077a20d2cb9602b53c95f3ec07495bcf7014f95f12abce0b4003fc7b6f SHA512 2505306b0c4dbdb23a29a6bddcc266adc4f291a9c541d3677f19d2fc97f9d193034580daa676e5a4b74a03ce9ccb7289dc9f38778d28d3d8ddb789acc1615d7b -EBUILD scrypt-0.8.22.ebuild 612 BLAKE2B 7b4e3097f7da586d8654d8e6f7c0bb612ac97169ff05adadb511eff6315c060615c3b291375014151824850440ec76b5aed6cc2d559ed746ea80b1273376fb92 SHA512 fde2954a4e30d9d47f5ca1c4a5174b648f493dc86442936996f617fba5e776fffc81e379ec50c4ee279a7afc072a6d37395bd48891e8a29a7b497722cdb9a029 -EBUILD scrypt-0.8.24.ebuild 605 BLAKE2B 022896a013dabc58810d4e65e83eb2771868cd9adf2ada454bf32d2fd8176915bd3cd27676cf8f70337d73161f5abda6077ee8166be835acae448ab894478a63 SHA512 5ff88d86d39469ddac1ff0580406ba27b33e9f0265ab7f7d9edfcac27c602f38a7eb29e24512ea744e0cdbd0661726cfbe65ddd66def20cf9efb867fbcc678e7 +EBUILD scrypt-0.8.24.ebuild 604 BLAKE2B d8ded0348e26e6bc77600fb80f5d514a69219425f9247638fcef89089c44974e6ed3ae4a7550a7b2a00332adb2faf407ee7671bae071be3e36377e753403c234 SHA512 9ddf0edfabc15eb6d515923311c9ad73d7f2739011e441295d956e036afae9b1ce2080247a0a93263b3ce37b22d1afe5b704ca301e45cdbf9a2bb97d75cbede8 MISC metadata.xml 477 BLAKE2B eeb9120e1d43440497244d45f746ed7582d5a2fcbd3883bf72183c4164f63e87d57fc54d77be71bb873807b8bb6e0c878362aba21ca28a2c02209ef7aa2fb666 SHA512 151f92893c8b3b34dbf2f9145caae7e031be75f7f79f3517c9b645973454fe1910e0b5b2f4c37b6d3768038baaec126d8aa1a36626218f896a8f5b9cde82591c diff --git a/dev-python/scrypt/scrypt-0.8.20.ebuild b/dev-python/scrypt/scrypt-0.8.20.ebuild deleted file mode 100644 index 5bad0be43847..000000000000 --- a/dev-python/scrypt/scrypt-0.8.20.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Bindings for the scrypt key derivation function library" -HOMEPAGE=" - https://github.com/holgern/py-scrypt/ - https://pypi.org/project/scrypt/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND="dev-libs/openssl:0=" -DEPEND="${RDEPEND}" - -distutils_enable_tests unittest diff --git a/dev-python/scrypt/scrypt-0.8.22.ebuild b/dev-python/scrypt/scrypt-0.8.22.ebuild deleted file mode 100644 index a111e97acd2c..000000000000 --- a/dev-python/scrypt/scrypt-0.8.22.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# 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_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Bindings for the scrypt key derivation function library" -HOMEPAGE=" - https://github.com/holgern/py-scrypt/ - https://pypi.org/project/scrypt/ -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND="dev-libs/openssl:0=" -DEPEND="${RDEPEND}" - -distutils_enable_tests unittest diff --git a/dev-python/scrypt/scrypt-0.8.24.ebuild b/dev-python/scrypt/scrypt-0.8.24.ebuild index f532adf465ad..e8b2a29f5ce1 100644 --- a/dev-python/scrypt/scrypt-0.8.24.ebuild +++ b/dev-python/scrypt/scrypt-0.8.24.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND="dev-libs/openssl:0=" DEPEND="${RDEPEND}" diff --git a/dev-python/shiboken6/Manifest b/dev-python/shiboken6/Manifest index 7545c354f73a..532b33933356 100644 --- a/dev-python/shiboken6/Manifest +++ b/dev-python/shiboken6/Manifest @@ -1,4 +1,6 @@ AUX shiboken6-6.3.1-no-strip.patch 1001 BLAKE2B c486f9423d4934c2305e8f3109f017dbebd568573469a2fced8da895fbc61ef07a80e0d1c846e7a57988801d6ec4be05b86b46a8039e6702d667129a899fc137 SHA512 1f3e5b082a978e3ab8d8f4d9a5a0a661b8c063e2ece0221440abe342fbd45d566a384d588dbf00a1e469687f82da3728cd53e35d02077ce6a748d3747de3cec2 DIST pyside-setup-everywhere-src-6.6.2.tar.xz 13975896 BLAKE2B b4572e58613e5446692e8c4cef28156fd0126ecda0c6334652ce49c6c7ce4614dbf2400c693addaa38e9b6cca9e331b9fe84c83ddb26e7014b8603afe2c54ad6 SHA512 1d23d27a4cbe74434ec5d391172416d324b4c92181401444821b456b4e27dabbdb3dcaad685a22b62c09f750555a4e626bbb6406a2fbde1cf4ec5c8bbb64cda5 +DIST pyside-setup-everywhere-src-6.7.0.tar.xz 14382456 BLAKE2B 607e496cdeb7e55166b4f0dc15662a8792c7d8925856e8edbb927dfdc33342d158f430e3433d3d4a78ea33740e333fb2422ea1f4332408c3c6214f92d31bdd0d SHA512 7801d564d8d359edec431dc0e6f170538b9fc6f834cb7ab8eff41c1989bffb619c446d4d62d65db2a5b7592c0bff5d450d42de2797726658fe1a8f53df8a4c14 EBUILD shiboken6-6.6.2-r1.ebuild 6679 BLAKE2B 1ec39580ed7a65bb04a76b105c4d14009d881466d8a9484e79721122a6526a7a699ed7faf80d44047bbe63bbb81b7d87855cbbf5aa693d91b296cf96f4d1f871 SHA512 bef6b9f610e772d88bd16f9c920dec99f54c1cf29178fa4feb4c697eb071d386f800562d6155c08f051b3d7d36d89a324cd9299d914dae0fb51e393706e35d03 +EBUILD shiboken6-6.7.0.ebuild 6644 BLAKE2B e49d00898e1e064c422d9e2d2ef100ce92e5dd23482c0ff748f901909b7b267bfe37677f35bc5dfe5c7bf4bb90c5b5a2543e4dc9160f66ce6aec036686e01804 SHA512 b5c2df0719d1451ed9c0804e7b28dd62647b0f2ebcaacf9f16f07c816c76127bdb88402b58b6a63bdd2e95b0b4645e3c496dc855bc35a5475718b930184c4055 MISC metadata.xml 730 BLAKE2B 33e7e589d02ec0517e134aa50407ecb97c6800be3ab7b69174d65776f62c1f25c2b2209d51299d9e0110b5f5e9322ee2c0b43dc89e6b12c40ea322ca9bc8eb3f SHA512 cc4ecdd9bc86ce59c2027c6f87307d32bd76d5d2cd8c07edb6c60cc5317ea52a96136c7597a179d75f1632db2999300d8b8f0567679ba3fc562804774fcdcc98 diff --git a/dev-python/shiboken6/shiboken6-6.7.0.ebuild b/dev-python/shiboken6/shiboken6-6.7.0.ebuild new file mode 100644 index 000000000000..1ef71d57974f --- /dev/null +++ b/dev-python/shiboken6/shiboken6-6.7.0.ebuild @@ -0,0 +1,179 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: Split the "/usr/bin/shiboken6" binding generator from the +# "/usr/lib64/libshiboken6-*.so" family of shared libraries. The former +# requires everything (including Clang) at runtime; the latter only requires +# Qt and Python at runtime. Note that "pip" separates these two as well. See: +# https://doc.qt.io/qtforpython/shiboken6/faq.html#is-there-any-runtime-dependency-on-the-generated-binding +# Once split, the PySide6 ebuild should be revised to require +# "/usr/bin/shiboken6" at build time and "libshiboken6-*.so" at runtime. +# TODO: Add PyPy once officially supported. See also: +# https://bugreports.qt.io/browse/PYSIDE-535 +PYTHON_COMPAT=( python3_{10..12} ) + +LLVM_COMPAT=( {15..18} ) + +inherit cmake flag-o-matic llvm-r1 python-r1 toolchain-funcs + +MY_PN="pyside-setup-everywhere-src" + +DESCRIPTION="Python binding generator for C++ libraries" +HOMEPAGE="https://wiki.qt.io/PySide6" +SRC_URI="https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-${PV}-src/${MY_PN}-${PV}.tar.xz" +S="${WORKDIR}/${MY_PN}-${PV}/sources/shiboken6" + +# The "sources/shiboken6/libshiboken" directory is triple-licensed under the +# GPL v2, v3+, and LGPL v3. All remaining files are licensed under the GPL v3 +# with version 1.0 of a Qt-specific exception enabling shiboken6 output to be +# arbitrarily relicensed. (TODO) +LICENSE="|| ( GPL-2 GPL-3+ LGPL-3 ) GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+docstrings numpy test vulkan" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Tests fail pretty bad and I'm not fixing them right now +RESTRICT="test" + +# Minimal supported version of Qt. +QT_PV="$(ver_cut 1-3)*:6" + +# Since Clang is required at both build- and runtime, BDEPEND is omitted here. +RDEPEND="${PYTHON_DEPS} + =dev-qt/qtbase-${QT_PV} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + ') + docstrings? ( + >=dev-libs/libxml2-2.6.32 + >=dev-libs/libxslt-1.1.19 + ) + numpy? ( dev-python/numpy[${PYTHON_USEDEP}] ) + vulkan? ( dev-util/vulkan-headers ) +" +DEPEND="${RDEPEND} + test? ( =dev-qt/qtbase-${QT_PV}[gui] ) +" +# testlib is toggled by the gui flag on qtbase + +DOCS=( AUTHORS ) + +PATCHES=( + "${FILESDIR}/${PN}-6.3.1-no-strip.patch" +) + +src_prepare() { + # TODO: File upstream issue requesting a sane way to disable NumPy support. + if ! use numpy; then + sed -i -e '/\bprint(os\.path\.realpath(numpy))/d' \ + libshiboken/CMakeLists.txt || die + fi + + # Shiboken6 assumes Vulkan headers live under either "$VULKAN_SDK/include" + # or "$VK_SDK_PATH/include" rather than "${EPREFIX}/usr/include/vulkan". + if use vulkan; then + sed -i -e "s~\bdetectVulkan(&headerPaths);~headerPaths.append(HeaderPath{QByteArrayLiteral(\"${EPREFIX}/usr/include/vulkan\"), HeaderType::System});~" \ + ApiExtractor/clangparser/compilersupport.cpp || die + fi + + local clangver="$(CPP=clang clang-major-version)" + + # Clang 15 and older used the full version as a directory name. + if [[ ${clangver} -lt 16 ]]; then + clangver="$(CPP=clang clang-fullversion)" + fi + + # Shiboken6 assumes the "/usr/lib/clang/${CLANG_NEWEST_VERSION}/include/" + # subdirectory provides Clang builtin includes (e.g., "stddef.h") for the + # currently installed version of Clang, where ${CLANG_NEWEST_VERSION} is + # the largest version specifier that exists under the "/usr/lib/clang/" + # subdirectory. This assumption is false in edge cases, including when + # users downgrade from newer Clang versions but fail to remove those + # versions with "emerge --depclean". See also: + # https://github.com/leycec/raiagent/issues/85 + # + # Sadly, the clang-* family of functions exported by the "toolchain-funcs" + # eclass are defective, returning nonsensical placeholder strings if the + # end user has *NOT* explicitly configured their C++ compiler to be Clang. + # PySide6 does *NOT* care whether the end user has done so or not, as + # PySide6 unconditionally requires Clang in either case. See also: + # https://bugs.gentoo.org/619490 + sed -i -e 's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${clangver}"'/include"))~' \ + ApiExtractor/clangparser/compilersupport.cpp || die + + cmake_src_prepare +} + +src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/925479 + # https://bugreports.qt.io/browse/PYSIDE-2619 + filter-lto + + # Minimal tests for now, 2 failing with the extended version + # FIXME Subscripted generics cannot be used with class and instance checks + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DDISABLE_DOCSTRINGS=$(usex !docstrings) + ) + + shiboken6_configure() { + local mycmakeargs=( + "${mycmakeargs[@]}" + -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}" + -DUSE_PYTHON_VERSION="${EPYTHON#python}" + -DFORCE_LIMITED_API=OFF + ) + # CMakeLists.txt expects LLVM_INSTALL_DIR as an environment variable. + local -x LLVM_INSTALL_DIR="$(get_llvm_prefix)" + cmake_src_configure + } + python_foreach_impl shiboken6_configure +} + +src_compile() { + python_foreach_impl cmake_src_compile +} + +src_test() { + python_foreach_impl cmake_src_test +} + +src_install() { + shiboken6_install() { + cmake_src_install + python_optimize + + # Uniquify the "shiboken6" executable for the current Python target, + # preserving an unversioned "shiboken6" file arbitrarily associated + # with the last Python target. + cp "${ED}"/usr/bin/${PN}{,-${EPYTHON}} || die + + # Uniquify the Shiboken6 pkgconfig file for the current Python target, + # preserving an unversioned "shiboken6.pc" file arbitrarily associated + # with the last Python target. See also: + # https://github.com/leycec/raiagent/issues/73 + cp "${ED}/usr/$(get_libdir)"/pkgconfig/${PN}{,-${EPYTHON}}.pc || die + } + python_foreach_impl shiboken6_install + + # CMakeLists.txt installs a "Shiboken6Targets-gentoo.cmake" file forcing + # downstream consumers (e.g., PySide6) to target one "libshiboken6-*.so" + # library and one "shiboken6" executable linked to one Python interpreter. + # See also: + # https://bugreports.qt.io/browse/PYSIDE-1053 + # https://github.com/leycec/raiagent/issues/74 + sed -i \ + -e 's~shiboken6-python[[:digit:]]\+\.[[:digit:]]\+~shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ + -e 's~/bin/shiboken6~/bin/shiboken6${PYTHON_CONFIG_SUFFIX}~g' \ + "${ED}/usr/$(get_libdir)"/cmake/Shiboken6/Shiboken6Targets-${CMAKE_BUILD_TYPE,,}.cmake || die + + # Remove the broken "shiboken_tool.py" script. By inspection, this script + # reduces to a noop. Moreover, this script raises the following exception: + # FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/../shiboken_tool.py': '/usr/bin/../shiboken_tool.py' + rm "${ED}"/usr/bin/shiboken_tool.py || die +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index ebbbb47525ee..e7489c7352c8 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -19,6 +19,7 @@ DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d7 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d +DIST sqlglot-23.10.0.tar.gz 12967869 BLAKE2B da7f6bb47c359d564de40e5a13d1fc77526602e62a8a1f8952fbe01b56f9c1e6ec3163660b5b811ed79c5b79b4743bbedfa9b54da35365d7a72f906908c07387 SHA512 84b6fa716e129dfb304c98e8b72fb418f86d90e653f5b9986b82ccc750d9dcc71df419c69a67c95401afb0a0a1a46ea1659b5717f66ba63e6a1586ccffc539aa DIST sqlglot-23.7.0.tar.gz 12930040 BLAKE2B 2edd122e351286948f7adeaea6ead40a4c4ffbe9ff141f8fb0ded2ba8153ff90d051b4c6e5335f0ebb07c816956cb39164918bddc7ab2ef6c805e8713338243e SHA512 31d7eba56a74943cbff4275280c527a1ceeaa69b26fc992b7b227e9bcb836487ce57dfb1f562df1b6780128b1479d2c7f65a8497cb237e6618d8be9ad972130d DIST sqlglot-23.8.0.tar.gz 12933026 BLAKE2B 4f29458d6fc4e45b81e37882a3722dcc82a3cc5e3103234f81629c01fb14ff5aa157d6faf006ed10be15d275b0e5a5575b320aa54d673ddd7be08135c67b5d55 SHA512 dd69eb0fe28cbfb6b928c1e2cfe020469da759e75fa73912160e743ae3285cef816b898f3668dd4da87f9f37649310ff67d0f02ee0787c32eff09a15b4ed7138 DIST sqlglot-23.8.1.tar.gz 12945839 BLAKE2B f9b182c0d1a5929ea9cc2b508d681fdef2b22c8c89f81eeb428bd94760a548446fd113573d466b87d51f71688c3ed2605c1626987dfdd4e834aa34b686e3b092 SHA512 8ad53f29bd99cb55db8cad09f17b301eb56a0add53b81e322acb997d822be075c4f28324643b3f5740be1bf69f58c03f163ab3506852e038381d6148502ebc47 @@ -35,6 +36,7 @@ DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1d DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 +EBUILD sqlglot-23.10.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-23.7.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-23.8.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-23.8.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 diff --git a/dev-python/sqlglot/sqlglot-23.10.0.ebuild b/dev-python/sqlglot/sqlglot-23.10.0.ebuild new file mode 100644 index 000000000000..058fa81df816 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-23.10.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-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_{10..12} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/xkbcommon/Manifest b/dev-python/xkbcommon/Manifest index 1f7514582082..9d95a02d8e1b 100644 --- a/dev-python/xkbcommon/Manifest +++ b/dev-python/xkbcommon/Manifest @@ -1,3 +1,5 @@ DIST python-xkbcommon-0.8.gh.tar.gz 26951 BLAKE2B 0d2a649e3fee8baa9345ddca97dc7c77b5d9e10d7ca90cbb29bcc3531f4bba3deee39e610e147054e956310506fb79ebb43c85955b787e55046d67c12b851026 SHA512 ae2640ef89e7ace0468e970762c7be4d3f608701f1abea10174f274c622db28a6e6323cdc5bbbbaaa1065d4c4ddf9f67b75d4c34bb2e9a0bb6260778b15a330a +DIST python-xkbcommon-1.0.gh.tar.gz 27258 BLAKE2B 3106877f8e87f50453a358eec4e6431642b00a6a2bc23d3088ef22379984869ec84cd042a1ac53dd72783f3005dad1efddf3f87410204b88bfde4f9da0044c97 SHA512 c7793d6f5517771006ff5a9c01deb9a37717157d7171af49ff459dc96b3b16a1d2d4c0f1272b5a8f683390de1e8e6a6ff92472f18828c7e38e0f2a1ee6f34f07 EBUILD xkbcommon-0.8.ebuild 851 BLAKE2B cf745a664f1e2d5014756a4ab73543b6794f1213604fdb42bbda19e89b25238824e45c30f0c9cc5051374d89945c8d21bee60abba4367d42ff24cd69b67b4b36 SHA512 f323e00d95332806214b370feb075dc40a6471b757a6902e977e32b44cb3e58700de6be52b191163bef0e74750424cf69dc4639fd25cd8f25689f72e6f5ebcfd +EBUILD xkbcommon-1.0.ebuild 857 BLAKE2B f643dd6f7e458dc8b3bd2c86bd2121b9f742fa22dbdc3a97453e8441b4c98b27f1d7155d353e5830b7eacedd5560b4367c43e643bf32034f36cf13acaf9b1f7d SHA512 e884e729ebf9c66fd512052efd8386ddc002f53ce7fcbc7b5447fd067bf3aa20235c10a4ba4f3f366412553d62d655dea52f5c02d7aed3c289c993d4473e5171 MISC metadata.xml 355 BLAKE2B fef5c9392775c817ce5754bc6c70a30048e0aa252593229667b515d27421e95377f2199c121f43b112ef957a4172440417221fecf30ce9d068b23278bc2e2e4a SHA512 21fd7e00d1b727d6b281977fa4659c620259577dc346213437af17742ee4ceff367e0ccd45c8bb03f15afe6c0a1c885e1b3f9ebbd47b50518ec2953580b17df4 diff --git a/dev-python/xkbcommon/xkbcommon-1.0.ebuild b/dev-python/xkbcommon/xkbcommon-1.0.ebuild new file mode 100644 index 000000000000..be6fb2d9ee7f --- /dev/null +++ b/dev-python/xkbcommon/xkbcommon-1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2023-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_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=python-xkbcommon-${PV} +DESCRIPTION="Python bindings for libxkbcommon using cffi" +HOMEPAGE=" + https://github.com/sde1000/python-xkbcommon/ + https://pypi.org/project/xkbcommon/ +" +SRC_URI=" + https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +# x11-libs/libxkbcommon dep per README +RDEPEND=" + >=x11-libs/libxkbcommon-${PV} + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + rm -rf xkbcommon || die + + epytest +} diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index 9c4a8e9f9319..a0f907c80460 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,5 +1,7 @@ DIST zeroconf-0.131.0.tar.gz 169253 BLAKE2B 64247bdca5f8a226e73078b0395fa273649d3baea54fe52c350bf5117527e4290974843385f5b23568a6350bb41fa0af13a6999ef4e880fc42952dde21126296 SHA512 7b7f5494a589306c458dc4fedd940aab86918e9979d5b9f0a466d28b74795c83351f82fdf501a983e9df3e32a8be9a88af3486e79ade23ab73d889610331d89a DIST zeroconf-0.132.0.tar.gz 170270 BLAKE2B 2ef40ab7d3aafb21f3b82b2e47598034ab821218f80082f26be3e41ac1197ea52a57657e45f38b41a8113164fbde2a8839264c9284c82b64327c443afad1726e SHA512 b8ccbb6f196db9404361e4ec85bc2a9f9801335a188ba6e4f1090afe1f042d82b69545f5db9b8c5d99720f1a7fbc77029ff0f624b8d17837b3dc8b41029e56a7 +DIST zeroconf-0.132.2.tar.gz 170698 BLAKE2B 7c76e2a00571a19b23f288dc1183da6ce274ebdf3f64f323e282f444011f7cbf90a63e02a991936a2cfa2d227568b31444b8f61f1110588638d4e888dd8749a6 SHA512 686cdfd2f32c6bad03fb5fd287b1e22f2f0b5099a8971dcff1d9fca7e63bc8069b195feb97be710c20fae8c524ab92143e395cdfec26ede103295d1aa4d32a8f EBUILD zeroconf-0.131.0.ebuild 1408 BLAKE2B 31839fb4a65f66224139e4e95bae68302a47ff197837bffb4af0a8c0d5c439fe75a6a09bd425dfe66606298f3efd61de00f28790ab83b8fb160d03128b3ebfb2 SHA512 98fa9986bd7d7a9b6bcfd29a867a3b74041b52c259e423f09ae9be69da295ae937e5339929744b0bc25246e8493935c78c7f9249a7efd704173392ffad269ae2 EBUILD zeroconf-0.132.0.ebuild 1411 BLAKE2B 34c47d518aec82f8164c92058e5f1bcc3e8fbf80b3541e75db702e92e6d0c64c476a43a9df93f814698f8b2db8323b3d03e6994464463573d721f731c0ef6e7d SHA512 09c072050d2465ada90e51dd53097c6581d8d41e82b5263c259b622de2f875769ad24706ca2321c3b2472b0cbf0d5864cdf5262b0c615638a6d4a87c99e6e9cc +EBUILD zeroconf-0.132.2.ebuild 1411 BLAKE2B 34c47d518aec82f8164c92058e5f1bcc3e8fbf80b3541e75db702e92e6d0c64c476a43a9df93f814698f8b2db8323b3d03e6994464463573d721f731c0ef6e7d SHA512 09c072050d2465ada90e51dd53097c6581d8d41e82b5263c259b622de2f875769ad24706ca2321c3b2472b0cbf0d5864cdf5262b0c615638a6d4a87c99e6e9cc MISC metadata.xml 395 BLAKE2B e1ce7a8fbd6d50fd59fbce671a535a3af2fde79dcc98f146c4e361759e61ce6d7e4e241866262fcd78744c673212d1946830c3d7628956b498a98d0af36d4c3d SHA512 544cb62da7212926b63c4e19467fc3e3f7c8210320a8096dc913a846d392e9a09c2b9860312f88effc8ad7a54e0329149a68012b08c674663af5779957e037f9 diff --git a/dev-python/zeroconf/zeroconf-0.132.2.ebuild b/dev-python/zeroconf/zeroconf-0.132.2.ebuild new file mode 100644 index 000000000000..be589608aa7b --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.132.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 45af654a68bf..16aed1962d47 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1,3 +1,5 @@ DIST zope.interface-6.2.tar.gz 247528 BLAKE2B 4112579da95e763bb5feca7fc8845896178afd5e3fb181a5945de80cf579d0c66373e9ee9cbff97964f79750908b5e4650316b3df1cef16a267c3625268cec46 SHA512 42c169ba88e0e4fe7895f0956250ddb5f3e9aef3e73a801ef71b0e94f906e9f597008de16955a7a8a5ca59551b800e6f000c70ffb3f486a7cbb7bf9caa00059d +DIST zope.interface-6.3.tar.gz 294679 BLAKE2B e70c0581213776a685ff8e208a418f82adc5df2d53cc00316e38621dfa05559836416a897366cf7df76784405490c3cb137ff48d35287812f503a4685e2e75be SHA512 fcc318fd098ca91a4617f2a15123cb727c4ebcdeb56b4e0c59475a55d67afdfeb2f2e2d0fdef462e22236c8733ba2c5982ba72c8e75648be6bf55116f5d39139 EBUILD zope-interface-6.2.ebuild 1119 BLAKE2B e7f3f303c3f95961a5dd3668ed9bbfcc433cdf26a593b39c6c95049aa048b7e51d3ddf493cd57b4660224106e237f8d7276a73cb9d9e2c208447331ad732f270 SHA512 1752f8a3d91dbf8b0889af41e5b34167d2ea3475c4aa52e85c8b97e2243a2cae9a2aea5c6ec26d81a5145e07475c7e8913d8b35d51d74928ba06c4b5fb79e327 +EBUILD zope-interface-6.3.ebuild 1127 BLAKE2B 36c745595c5628e211e43d2d35362a50736d2391cfb5c12ef68e047482e1e4f5fc2bc0f578220abee657ce9732d45ba75ea48db808e649380744bd920824250b SHA512 f27047ffe3c78c7990e37ce846d2c771f6bbaee38e489dd9a308fdaa9d6b0c4ee0a7cbc49eeb7b052d0b0de985e7a7d179ba27246e3f0a27a1fc9a8596256564 MISC metadata.xml 387 BLAKE2B 1d5e2a8f2fcd2c8fcb423f8a123d2d17a0456cd4003489358abd8baf74d3ea9ddfa04af94b9ef67b329520b5ee9bc3084343e824f3fbf7420f14372d43581dbc SHA512 258f0bd291cd42f6374bd331c3b906f149ff455dd264716eefc63487710d95f8b388ecb34be5733dbd7a0e185f449cc18fce04b46521a2d19fd9766e7dc0ed82 diff --git a/dev-python/zope-interface/zope-interface-6.3.ebuild b/dev-python/zope-interface/zope-interface-6.3.ebuild new file mode 100644 index 000000000000..f53d77341852 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-6.3.ebuild @@ -0,0 +1,51 @@ +# 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 +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Interfaces for Python" +HOMEPAGE=" + https://github.com/zopefoundation/zope.interface/ + https://pypi.org/project/zope.interface/ +" + +LICENSE="ZPL" +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" + +RDEPEND=" + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -e "/'setuptools'/d" -i setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |