diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-06 01:02:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-06 01:02:13 +0000 |
| commit | d6af944fc045bab411dbe102573b5f4e1743566b (patch) | |
| tree | 6d78cb563e4f3a5c92eccfe0fb94e512bc6c2506 /dev-python | |
| parent | 3cc2502c66a22cd84449a4d0b3d04bda656a9383 (diff) | |
| download | baldeagleos-repo-d6af944fc045bab411dbe102573b5f4e1743566b.tar.gz baldeagleos-repo-d6af944fc045bab411dbe102573b5f4e1743566b.tar.xz baldeagleos-repo-d6af944fc045bab411dbe102573b5f4e1743566b.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
74 files changed, 556 insertions, 1274 deletions
diff --git a/dev-python/astunparse/astunparse-1.6.3-r1.ebuild b/dev-python/astunparse/astunparse-1.6.3-r1.ebuild index 4c73b9daa499..e1738bda3476 100644 --- a/dev-python/astunparse/astunparse-1.6.3-r1.ebuild +++ b/dev-python/astunparse/astunparse-1.6.3-r1.ebuild @@ -25,8 +25,10 @@ RDEPEND=" PATCHES=( "${FILESDIR}/astunparse-1.6.2-tests.patch" - # from Fedora + # From Fedora "${FILESDIR}/${P}-py39.patch" + # From Debian + "${FILESDIR}/${P}-test-py311.patch" ) distutils_enable_tests unittest diff --git a/dev-python/astunparse/files/astunparse-1.6.3-test-py311.patch b/dev-python/astunparse/files/astunparse-1.6.3-test-py311.patch new file mode 100644 index 000000000000..f17ff76f0f6f --- /dev/null +++ b/dev-python/astunparse/files/astunparse-1.6.3-test-py311.patch @@ -0,0 +1,26 @@ +From: Carsten Schoenert <c.schoenert@t-online.de> +Date: Sat, 31 Dec 2022 12:01:26 +0100 +Subject: tests: Skip test_files() on Python >= 3.11 + +Given functions from astunparse are now mostly "battery included" in +Python 3.10 and ongoing und the test itself is only a small part of the +testing I think it's o.k. to simply skip now this test until upstream +will probably do some adjustment. + +Forwarded: https://github.com/simonpercivall/astunparse/issues/67 +--- + tests/common.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/common.py b/tests/common.py +index 95b9755..7c8fa27 100644 +--- a/tests/common.py ++++ b/tests/common.py +@@ -179,6 +179,7 @@ class AstunparseCommonTestCase: + os.path.join(getattr(sys, 'real_prefix', sys.prefix), + 'lib', 'python%s.%s' % sys.version_info[:2])] + ++ @unittest.skipIf(sys.version_info >= (3, 11), "Ignoring if Python >= 3.11") + def test_files(self): + names = [] + for test_dir in self.test_directories: diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 8f3ae1952485..dcf555c3601d 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1 @@ -DIST serverless-application-model-1.64.0.gh.tar.gz 5231257 BLAKE2B 53eeb37d69ae0f133b936eb8bb20005ecdad5d71956becd61a9e9080be9bead1bebe98b89d0f67604ac74731b2ac7061f74fae67f0c8e12bf10f7a9dfc40eb3e SHA512 9584657026ca7c260fb9851e8669b19c896a88a4455c6e50e734c1d9b375b69d5cf85b64f960fa0987e8a34823343de3e8c8080413da07fcfb69dc491e72c761 -DIST serverless-application-model-1.65.0.gh.tar.gz 5310251 BLAKE2B 41d4b2a8902dc1bbd2b01f534475005b2c288d33d5bc76049af8b034d428f40b063de71830e4ea3552ab00b7b437e197cf561982d28d74f9762b175a956d587b SHA512 d4a7475f955145e9d141b1d3795bef5e1eb1c330e07b01e5f0e6207f33b73622dcce4ab9bbf10413513321f64e09d59f61aaf01d9fe9f0760b9b31d10c6e3d68 DIST serverless-application-model-1.66.0.gh.tar.gz 5779523 BLAKE2B 7ec6eb68a74686cc7f1acb160582065b7ca50d56f400c7111a2b47733e6e238e010ba912236c60207b7dba65005333507e2babd8022244cea1bea0691300b947 SHA512 fbcc799bc0935c17fa5f9ae655d8e722e659c78c0f4ea6325f2f0a89f6bbad3b8f43951a60e950de1effe699cc858b696a95fbfceb3d7b79eb35cd4d2c618846 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.64.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.64.0.ebuild deleted file mode 100644 index 9e1f18c5dab3..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.64.0.ebuild +++ /dev/null @@ -1,60 +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..11} ) - -inherit distutils-r1 - -MY_P=serverless-application-model-${PV} -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${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/boto3-2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - <dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # so much noise... - sed -i -e '/log_cli/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -o addopts= -} diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.65.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.65.0.ebuild deleted file mode 100644 index 5a83e871d7a8..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.65.0.ebuild +++ /dev/null @@ -1,60 +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..11} ) - -inherit distutils-r1 - -MY_P=serverless-application-model-${PV} -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${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/boto3-2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - <dev-python/pydantic-2[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # so much noise... - sed -i -e '/log_cli/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -o addopts= -} diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.66.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.66.0.ebuild index 5a83e871d7a8..9e1f18c5dab3 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.66.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.66.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/boto3-2[${PYTHON_USEDEP}] diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild b/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild deleted file mode 100644 index 4b7da39f41f4..000000000000 --- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.11.0-r1.ebuild +++ /dev/null @@ -1,85 +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..11} ) - -inherit distutils-r1 - -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 - -> ${P}.gh.tar.gz -" - -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-sqlalchemy-3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-2.8.0-fix-py3.10-loops.patch" -) - -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/django - tests/ext/aiohttp - ) - - epytest -p no:django -} diff --git a/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch b/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch deleted file mode 100644 index cde91a8d0cda..000000000000 --- a/dev-python/aws-xray-sdk-python/files/aws-xray-sdk-python-2.8.0-fix-py3.10-loops.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff --git a/tests/ext/aiohttp/test_middleware.py b/tests/ext/aiohttp/test_middleware.py -index c8b2333..4f8cac6 100644 ---- a/tests/ext/aiohttp/test_middleware.py -+++ b/tests/ext/aiohttp/test_middleware.py -@@ -279,8 +279,7 @@ async def test_concurrent(test_client, loop, recorder): - - await asyncio.wait([get_delay(), get_delay(), get_delay(), - get_delay(), get_delay(), get_delay(), -- get_delay(), get_delay(), get_delay()], -- loop=loop) -+ get_delay(), get_delay(), get_delay()]) - - # Ensure all ID's are different - ids = [item.id for item in recorder.emitter.local] -diff --git a/tests/test_async_local_storage.py b/tests/test_async_local_storage.py -index b43cc0e..4b13ffd 100644 ---- a/tests/test_async_local_storage.py -+++ b/tests/test_async_local_storage.py -@@ -19,7 +19,7 @@ def test_localstorage_isolation(loop): - random_int = random.random() - local_storage.randint = random_int - -- await asyncio.sleep(0.0, loop=loop) -+ await asyncio.sleep(0.0) - - current_random_int = local_storage.randint - assert random_int == current_random_int -@@ -30,7 +30,7 @@ def test_localstorage_isolation(loop): - - # Run loads of concurrent tasks - results = loop.run_until_complete( -- asyncio.wait([_test() for _ in range(0, 100)], loop=loop) -+ asyncio.wait([_test() for _ in range(0, 100)]) - ) - results = [item.result() for item in results[0]] - diff --git a/dev-python/aws-xray-sdk-python/Manifest b/dev-python/aws-xray-sdk/Manifest index ae7bae43d8f9..18e6c1166254 100644 --- a/dev-python/aws-xray-sdk-python/Manifest +++ b/dev-python/aws-xray-sdk/Manifest @@ -1,2 +1 @@ -DIST aws-xray-sdk-python-2.11.0.gh.tar.gz 275430 BLAKE2B 1c1d3b56629dbd822b4f9fcb1e7ba5b43fbbff55fbe7ac02d75e0bb50629c4a0e5baed2b4c14c4c8a7775d60da5b285f96bca68b68b64ddf03aeec0c6094c74c SHA512 62035db955ce3d60e6d75088b7255dec83b21b4fd02353146b34bc48bdacff805b711b5caaca7adbbb5c5a3632a97910907d04681f36c198c99fbb4ef1cc4f85 DIST aws-xray-sdk-python-2.12.0.gh.tar.gz 275773 BLAKE2B a78ac201524e70a342100c2e76e93bb02ed76e183dfca2e8737230061182d94c9a7f4eba183bc731d2ed79a8e4dda486ea09cb304f4cd58da56d712b8e6c5749 SHA512 0616369f95bf0de710ab5fb868d1a84280bcc1180cc205e6a6e0c405eae131fb861de75fea00c9c1be4e163b9d292cc27e08f624c7b6981ba4a3b8d99dbbb63c diff --git a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.12.0.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.0.ebuild index 349f9a55a749..5d91406d67f1 100644 --- a/dev-python/aws-xray-sdk-python/aws-xray-sdk-python-2.12.0.ebuild +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.12.0.ebuild @@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{10..11} ) 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/ @@ -15,8 +16,9 @@ HOMEPAGE=" " SRC_URI=" https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz + -> ${MY_P}.gh.tar.gz " +S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" diff --git a/dev-python/aws-xray-sdk-python/metadata.xml b/dev-python/aws-xray-sdk/metadata.xml index d081cf92bb2e..d081cf92bb2e 100644 --- a/dev-python/aws-xray-sdk-python/metadata.xml +++ b/dev-python/aws-xray-sdk/metadata.xml diff --git a/dev-python/blinker/Manifest b/dev-python/blinker/Manifest index e52d9202bfb2..4f52ec226af4 100644 --- a/dev-python/blinker/Manifest +++ b/dev-python/blinker/Manifest @@ -1,4 +1 @@ -DIST blinker-1.5.tar.gz 27022 BLAKE2B 1e80d73653318ec6e263c66b8d5d3433ff1dc05e08af03442d99d83a9823b728fee86e6e64864932aa4961b11d28bee8ad7d6f56be6dbebd6dac48e610cdb835 SHA512 b1880fdc974be63e16e2b826bdbc8ee161bc0234591b8b41deed937a1e1b9d0bf1fb697c8e94644de9cc1900aedd39d08cfc3e59fef51abec295552f96418722 -DIST blinker-1.6.1.tar.gz 28584 BLAKE2B b546187fc542a1d9ab83f55b3de3593e3c272f43813c411684a9d70736f28ae5fb082ca84836453baeb49e8c89f7fb3d523a4cda87d392ff7c60df75826cb528 SHA512 28a8fb51e9dcb42c25851565626d72ff8fdd0b8774088dedd6217e47c1db6094d5a317bced3aca07722b7d7f39921c4e157a1fe3a20e3a765c0d9867201b5760 DIST blinker-1.6.2.tar.gz 28699 BLAKE2B dd19193af5af97d6ea373a37fcd7318e5e9c18f04503821224bd687dc8f065ef41142bbb136b964661501ab2d9c8a8e2bd1e3e865e4df7ed3a7e627d67962bb1 SHA512 c84bb955e97e6a13e6fda5f070373736bd1361f40ad9202eeaa300055b163648db381060f6b45fdf405a0bd4ef07b694875735e6f220d51d1b7a5be7efb28f72 -DIST blinker-1.6.tar.gz 28511 BLAKE2B 854ecf9c38d45c673cfec6c2ffbe1742bf3b2d68771bf0b922636c5ab848c97a7bd96d1b5ff8b9dfeca44475c0cfd81867ae588e5d372bb78deefe7ee41f9d91 SHA512 ea664de0adb4638f2adb79bf1eecdb727cfea41349a763b3187f0e3dda2f979cb46b3901e59d7a1aedb29ca0fa8e15862fefab9527c22b09c4122aef71fda408 diff --git a/dev-python/blinker/blinker-1.5.ebuild b/dev-python/blinker/blinker-1.5.ebuild deleted file mode 100644 index 73722e7744de..000000000000 --- a/dev-python/blinker/blinker-1.5.ebuild +++ /dev/null @@ -1,27 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast, simple object-to-object and broadcast signaling" -HOMEPAGE=" - https://github.com/pallets-eco/blinker/ - https://pypi.org/project/blinker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="doc" - -distutils_enable_tests pytest - -python_install_all() { - use doc && HTML_DOCS=( docs/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/blinker/blinker-1.6.1.ebuild b/dev-python/blinker/blinker-1.6.1.ebuild deleted file mode 100644 index 49f863cd5556..000000000000 --- a/dev-python/blinker/blinker-1.6.1.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_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast, simple object-to-object and broadcast signaling" -HOMEPAGE=" - https://github.com/pallets-eco/blinker/ - https://pypi.org/project/blinker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - >=dev-python/typing-extensions-4.2[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/blinker/blinker-1.6.ebuild b/dev-python/blinker/blinker-1.6.ebuild deleted file mode 100644 index 28cd59e798ea..000000000000 --- a/dev-python/blinker/blinker-1.6.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_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Fast, simple object-to-object and broadcast signaling" -HOMEPAGE=" - https://github.com/pallets-eco/blinker/ - https://pypi.org/project/blinker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" - -RDEPEND=" - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/cairocffi/Manifest b/dev-python/cairocffi/Manifest index 9e7b55f0bb24..f0da0504af18 100644 --- a/dev-python/cairocffi/Manifest +++ b/dev-python/cairocffi/Manifest @@ -1,3 +1 @@ -DIST cairocffi-1.4.0.tar.gz 69851 BLAKE2B 8037d9bc619d2e96e655dc4682bb95a1e920d0b2188963088c1be21f2e157f7e791f3994f0ae7ecd338547baf2a65d03b175398bc1b3c92145ae6ea148420b5a SHA512 7ffdaf365c1251b202e2680a2f689ec6ea04c19eb75df38137624ffeb429ab61c6f54af450aec019b2570a4e91d2d701328109e4e0f5662a3b3b655ab53705ff -DIST cairocffi-1.5.0.tar.gz 86811 BLAKE2B c8f6a39608f0db6d0b7730302437a8856a3dd7249ed275733a048b5c8f98b3484787ccecf70bae1053ee052b9a7c8c7d2da699dbbde0f34cea2ef8bbabe2fc6f SHA512 32ee1d1217a0300512b60c11fc3c9a0456e4a74a9c5364840e51e52a1320a2e26a3d2ed761615ce5fee247bcd2c713c099d3419b731c37fa812040d5f6f3096b DIST cairocffi-1.5.1.tar.gz 86924 BLAKE2B 51bbd85ed486d8a324255d7b328fc44490097f0eeb0568d0e9436350e627ee2da7770323d0cfa547da2f007dc097327962d80d0a9a96a2f119bac0bb4aa4d7f4 SHA512 58b33e921866a3db7dfa464514f935f7c615ae3463b852d888e9d221256e91efaa7639001781999bdf68619a725a90de06300973f9e635c7974e8c48729705dc diff --git a/dev-python/cairocffi/cairocffi-1.4.0.ebuild b/dev-python/cairocffi/cairocffi-1.4.0.ebuild deleted file mode 100644 index 21101e6c8bf3..000000000000 --- a/dev-python/cairocffi/cairocffi-1.4.0.ebuild +++ /dev/null @@ -1,45 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="CFFI-based drop-in replacement for Pycairo" -HOMEPAGE=" - https://github.com/Kozea/cairocffi/ - https://pypi.org/project/cairocffi/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] - ' 'python*') - >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] - x11-libs/cairo:0=[X,xcb(+)] - x11-libs/gdk-pixbuf[jpeg] -" -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pikepdf[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.0-tests.patch -) - -src_test() { - rm -r cairocffi || die - virtx distutils-r1_src_test -} diff --git a/dev-python/cairocffi/cairocffi-1.5.0.ebuild b/dev-python/cairocffi/cairocffi-1.5.0.ebuild deleted file mode 100644 index 22c14bc0ca82..000000000000 --- a/dev-python/cairocffi/cairocffi-1.5.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="CFFI-based drop-in replacement for Pycairo" -HOMEPAGE=" - https://github.com/Kozea/cairocffi/ - https://pypi.org/project/cairocffi/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -DEPEND=" - >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] - x11-libs/cairo:0=[X,xcb(+)] - x11-libs/gdk-pixbuf[jpeg] -" -RDEPEND=" - ${DEPEND} - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] - ' 'python*') -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/cffi-1.1.0:=[${PYTHON_USEDEP}] - ' 'python*') - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pikepdf[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PN}-0.8.0-tests.patch -) - -src_test() { - rm -r cairocffi || die - virtx distutils-r1_src_test -} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 72f0947e8dec..1a03ec646cb5 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,5 +1,2 @@ DIST cfn-lint-0.75.1.gh.tar.gz 3487870 BLAKE2B 26aaf3b24023260d7a7d8f2b89fc9135e0c34786540c21d1c1763decad42167f1a29b01859bfcb17fe5ac1fbbb08aebf04191c6d1b21b335c92e2424c986cada SHA512 d4dfa9331c77f7c323b217203c470e15b4a62a86b42497934a4f9609d54a499211058cba4c561034f6c3dd6ba52ade30084e9a9d25da135289f783ed972a14ae -DIST cfn-lint-0.76.2.tar.gz 3402554 BLAKE2B e5f9405d2852e3b81140a24d94c90a3bf8c919eb6823280a0a887c6acc56ec71d991cbc76532cc49d1189a8f64750ba3e9db02fb3b46b27a28ec3468f4dd268e SHA512 96351ade16308be18baace1351e263a179eacc0b3635e9baa959baadaebb6a08825f6cb9cd83cb83b8635785c7f54405bfcf00f85d6d95d101d3298919cd1ea7 -DIST cfn-lint-0.77.2.tar.gz 3483728 BLAKE2B f7c3cb5be3fbc81f10515bec145030c21c9a754ecbb887267ee85ea9fecd41e57be8572d30f204a54c3e22191c58d2c7d7112115e2c6cd0a23490c4c7633d270 SHA512 8e901564b34e601e62a276b8f8a4b5687de651aafa6da6dc295e846b04e703bda24e6a72b71797c82d2c2f4c93978da92a08999cb73be6a48c9ffd4a40ccb0e6 -DIST cfn-lint-0.77.3.tar.gz 3530246 BLAKE2B cfae2bc785a5faab4e2e9a76c2589af1164afc73e764341266756a2426e764142641fe7971e926d1bddfe61ad0b0888c17b89171162e079eb892c44eb47139ab SHA512 4dd91124328237187263f3c390814618aa8ce827d4067fa39c1fba7f1ce44c9acb75feafd4ac30437984f149d1aa66285b842b96a0cf6cfb2baf3a998001efad DIST cfn-lint-0.77.4.tar.gz 3510766 BLAKE2B af5f8a842863504217b90cea80861a889eae2d1bbe1d7c8c9b429acaee00d291ddbe71e868577acc689a1ff04aaf9c5b2f690a839235cf57202b6226bc7f1abc SHA512 96fe05b91d93b2581f546973bf0a812184429cfefb26c69e8e14fe6ac6402219ab518777a3f54fb30092c30189486aacd0841d1db31a191697ad1c333662bb98 diff --git a/dev-python/cfn-lint/cfn-lint-0.75.1.ebuild b/dev-python/cfn-lint/cfn-lint-0.75.1.ebuild index 8354055752aa..e48158885529 100644 --- a/dev-python/cfn-lint/cfn-lint-0.75.1.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.75.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="~ppc64" RDEPEND=" >=dev-python/aws-sam-translator-1.60.1[${PYTHON_USEDEP}] diff --git a/dev-python/cfn-lint/cfn-lint-0.76.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.76.2.ebuild deleted file mode 100644 index 29ca4e45dba0..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.76.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.62.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 - # TODO: it looks as if AWS_DEFAULT_REGION didn't work - test/unit/module/core/test_run_cli.py::TestCli::test_bad_config - test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_template_config - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-0.77.2.ebuild b/dev-python/cfn-lint/cfn-lint-0.77.2.ebuild deleted file mode 100644 index 2b6753f1c840..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.77.2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.64.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 - # TODO: it looks as if AWS_DEFAULT_REGION didn't work - test/unit/module/core/test_run_cli.py::TestCli::test_bad_config - test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_template_config - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-0.77.3.ebuild b/dev-python/cfn-lint/cfn-lint-0.77.3.ebuild deleted file mode 100644 index 2b6753f1c840..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.77.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.64.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema_to_python-1.2.3[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/requests-2.15.0[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - >=dev-python/sarif_om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i setup.py || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/unit/module/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - # Internet - test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter - test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 - # TODO: it looks as if AWS_DEFAULT_REGION didn't work - test/unit/module/core/test_run_cli.py::TestCli::test_bad_config - test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters - test/unit/module/core/test_run_cli.py::TestCli::test_template_config - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-0.77.4.ebuild b/dev-python/cfn-lint/cfn-lint-0.77.4.ebuild index aa05429c93b5..e4cc348ed24e 100644 --- a/dev-python/cfn-lint/cfn-lint-0.77.4.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.77.4.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-sam-translator-1.65.0[${PYTHON_USEDEP}] diff --git a/dev-python/django-configurations/Manifest b/dev-python/django-configurations/Manifest index eb8dcf7979b6..2bfa7d5375a8 100644 --- a/dev-python/django-configurations/Manifest +++ b/dev-python/django-configurations/Manifest @@ -1,2 +1 @@ DIST django-configurations-2.4.1.tar.gz 42952 BLAKE2B 3ed30642b256a648ab5932edd9b2cb5b2a82e69bb1107a5c2bd20d230cbb598f21eddcf52956bf80d6fe3c6e6336c70dfadf2fc5a646dcd32782abc782fe8e32 SHA512 ab35216b326d50d779344efa915d516ffa4a1d5e627c77b27071f6d51c54ea367a0f7ec5a7b768cabd69929499dfeb3e5719ba8fbe690f6854d92ee45a04bf1d -DIST django-configurations-2.4.gh.tar.gz 38563 BLAKE2B a454cc492354c1b969a1b0389ccb21088e99af17b5056ae514b36b5c2fd7391368437093d1a075814dfb8e15ec8ce3ec3c5269d5c867b4a03a5269a533826a31 SHA512 de9793c5fce869ef77e4396dd5ea45fc57728d702383885599d3a08b16e37e0e425258aacd671ac78592df813c8fa3a08b33ad9410843f7d7976589da33592ca diff --git a/dev-python/django-configurations/django-configurations-2.4.ebuild b/dev-python/django-configurations/django-configurations-2.4.ebuild deleted file mode 100644 index 5258e2addbc9..000000000000 --- a/dev-python/django-configurations/django-configurations-2.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A helper for organizing Django settings" -HOMEPAGE=" - https://pypi.org/project/django-configurations/ - https://github.com/jazzband/django-configurations/ - https://django-configurations.readthedocs.io/ -" -SRC_URI=" - https://github.com/jazzband/django-configurations/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/django-3.2[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/django-cache-url[${PYTHON_USEDEP}] - dev-python/dj-database-url[${PYTHON_USEDEP}] - dev-python/dj-email-url[${PYTHON_USEDEP}] - dev-python/dj-search-url[${PYTHON_USEDEP}] - ) -" - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tests.settings.main - local -x DJANGO_CONFIGURATION=Test - PYTHONPATH=. django-cadmin test -v2 || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-4.0.0.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-4.0.0.ebuild index eb2d117e5b13..b07718c40566 100644 --- a/dev-python/django-debug-toolbar/django-debug-toolbar-4.0.0.ebuild +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-4.0.0.ebuild @@ -18,6 +18,8 @@ SRC_URI=" https://github.com/jazzband/django-debug-toolbar/archive/${PV}.tar.gz -> ${P}.gh.tar.gz " +IUSE="test" +RESTRICT="!test? ( test )" LICENSE="BSD" SLOT="0" @@ -27,6 +29,10 @@ RDEPEND=" dev-python/django[${PYTHON_USEDEP}] " +BDEPEND="test? ( + dev-python/html5lib[${PYTHON_USEDEP}] +)" + python_test() { "${EPYTHON}" -m django test -v 2 --settings tests.settings \ || die "Tests failed with ${EPYTHON}" diff --git a/dev-python/ipython/ipython-8.12.0.ebuild b/dev-python/ipython/ipython-8.12.0.ebuild index 6a868f2ade2c..aab38ab1ea02 100644 --- a/dev-python/ipython/ipython-8.12.0.ebuild +++ b/dev-python/ipython/ipython-8.12.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" +IUSE="doc examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" RDEPEND=" diff --git a/dev-python/ipython/ipython-8.13.0.ebuild b/dev-python/ipython/ipython-8.13.0.ebuild index 843655d0f08c..1aaaa18f9562 100644 --- a/dev-python/ipython/ipython-8.13.0.ebuild +++ b/dev-python/ipython/ipython-8.13.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" +IUSE="doc examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" RDEPEND=" diff --git a/dev-python/ipython/ipython-8.13.1.ebuild b/dev-python/ipython/ipython-8.13.1.ebuild index 843655d0f08c..1aaaa18f9562 100644 --- a/dev-python/ipython/ipython-8.13.1.ebuild +++ b/dev-python/ipython/ipython-8.13.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" +IUSE="doc examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" RDEPEND=" diff --git a/dev-python/ipython/ipython-8.13.2.ebuild b/dev-python/ipython/ipython-8.13.2.ebuild index 843655d0f08c..1aaaa18f9562 100644 --- a/dev-python/ipython/ipython-8.13.2.ebuild +++ b/dev-python/ipython/ipython-8.13.2.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" +IUSE="doc examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" RDEPEND=" diff --git a/dev-python/ipython/metadata.xml b/dev-python/ipython/metadata.xml index 2796885bcc06..1183c9a35183 100644 --- a/dev-python/ipython/metadata.xml +++ b/dev-python/ipython/metadata.xml @@ -45,7 +45,6 @@ <remote-id type="cpe">cpe:/a:ipython:ipython</remote-id> </upstream> <use> - <flag name="matplotlib">Add support for <pkg>dev-python/matplotlib</pkg></flag> <flag name="notebook">Install requirements for the web notebook based on <pkg>dev-python/tornado</pkg></flag> <flag name="nbconvert">Enable support for converting notebooks to various formats using <pkg>app-text/pandoc</pkg></flag> </use> diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 020e07f2a3dd..ddb5b0f1787e 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild b/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild index 5435c57baf4c..ebd99fdd1391 100644 --- a/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9.3.0.ebuild @@ -10,10 +10,9 @@ EAPI=8 # app-emulation/libvirt # Please bump them together! -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -MY_P="${P/_rc/-rc}" -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 verify-sig if [[ ${PV} == *9999* ]]; then @@ -21,6 +20,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" RDEPEND="app-emulation/libvirt:=" else + MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" @@ -44,6 +44,8 @@ BDEPEND=" verify-sig? ( sec-keys/openpgp-keys-libvirt ) " +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc + distutils_enable_tests pytest python_install_all() { diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild index 5435c57baf4c..ebd99fdd1391 100644 --- a/dev-python/libvirt-python/libvirt-python-9999.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild @@ -10,10 +10,9 @@ EAPI=8 # app-emulation/libvirt # Please bump them together! -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -MY_P="${P/_rc/-rc}" -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) inherit distutils-r1 verify-sig if [[ ${PV} == *9999* ]]; then @@ -21,6 +20,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-python.git" RDEPEND="app-emulation/libvirt:=" else + MY_P="${P/_rc/-rc}" SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz verify-sig? ( https://libvirt.org/sources/python/${MY_P}.tar.gz.asc )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" @@ -44,6 +44,8 @@ BDEPEND=" verify-sig? ( sec-keys/openpgp-keys-libvirt ) " +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc + distutils_enable_tests pytest python_install_all() { diff --git a/dev-python/moto/moto-4.1.6.ebuild b/dev-python/moto/moto-4.1.6.ebuild index e510dc87a1f5..6f3d79b72a93 100644 --- a/dev-python/moto/moto-4.1.6.ebuild +++ b/dev-python/moto/moto-4.1.6.ebuild @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] dev-python/cookies[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-4.1.7.ebuild b/dev-python/moto/moto-4.1.7.ebuild index 8803410b032d..61aa80aa5c57 100644 --- a/dev-python/moto/moto-4.1.7.ebuild +++ b/dev-python/moto/moto-4.1.7.ebuild @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] dev-python/cookies[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-4.1.8.ebuild b/dev-python/moto/moto-4.1.8.ebuild index 58455d990b7e..15848ecb97f6 100644 --- a/dev-python/moto/moto-4.1.8.ebuild +++ b/dev-python/moto/moto-4.1.8.ebuild @@ -19,7 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" RDEPEND=" - >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] dev-python/cookies[${PYTHON_USEDEP}] diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest index 1d405b432119..61aff6c14783 100644 --- a/dev-python/nbclient/Manifest +++ b/dev-python/nbclient/Manifest @@ -1,3 +1 @@ -DIST nbclient-0.7.2.gh.tar.gz 76883 BLAKE2B d90b9dd7b15757a44c86084b68b916aab663c0e20a5c1012bda9f86a0ec1104a01cd78d27bc6e510eceeee12f2356a312d8080e1568e4c54dd2e916af85dc304 SHA512 17f1bfbfa156688e895ab1a0d0f74903f43c62a373a40cfcc50a654d86ebbaeb5ed101562716140a3878a9667bb131c49e06caf2e3127160700baf181cd1c29b -DIST nbclient-0.7.3.gh.tar.gz 77997 BLAKE2B 613c06596ea0cc970d57115950248cbb052babccec397a9aa543b0058cdb94f797a7c5cf554a9122927a4138f0f06827a77f535fc83a858519873bda0c389230 SHA512 bdd093cafbe6a101de779de2e51d7e2e9abce80fa8ef5b5340b4cb8fb53d0051f6f677006cadaa3a69e727634043b7ab5416777e7cf8e0507d5d1d163016f8d5 DIST nbclient-0.7.4.gh.tar.gz 79167 BLAKE2B 90b61c55cf25aaa2fed8fd914d799619fefb1353826f7a41320efb732ccf7a44efce944c03d472f9f441a1693bfcdce76e23d0746d62c020e996dc55de7be2b6 SHA512 24cdb1d8b9ffc4899f15490f15d5a41a3e62c52c2b57d8ee768dc93fda08bb6f1a432306a551ece3d031061f790e032c765b0d96225700b2820ca59bc71e9aeb diff --git a/dev-python/nbclient/nbclient-0.7.2.ebuild b/dev-python/nbclient/nbclient-0.7.2.ebuild deleted file mode 100644 index a6a6e654dbba..000000000000 --- a/dev-python/nbclient/nbclient-0.7.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A client library for executing Jupyter notebooks" -HOMEPAGE=" - https://nbclient.readthedocs.io/en/latest/ - https://github.com/jupyter/nbclient/ - https://pypi.org/project/nbclient/ -" -SRC_URI=" - https://github.com/jupyter/nbclient/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/jupyter-client-6.1.12[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - nbclient/tests/test_client.py::test_many_parallel_notebooks - 'nbclient/tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' -) - -python_test() { - # The tests run the pydevd debugger, the debugger prints a warning - # in python3.11 when frozen modules are being used. - # This warning makes the tests fail, silence it. - PYDEVD_DISABLE_FILE_VALIDATION=1 epytest -} diff --git a/dev-python/nbclient/nbclient-0.7.3.ebuild b/dev-python/nbclient/nbclient-0.7.3.ebuild deleted file mode 100644 index f98a942384ab..000000000000 --- a/dev-python/nbclient/nbclient-0.7.3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A client library for executing Jupyter notebooks" -HOMEPAGE=" - https://nbclient.readthedocs.io/en/latest/ - https://github.com/jupyter/nbclient/ - https://pypi.org/project/nbclient/ -" -SRC_URI=" - https://github.com/jupyter/nbclient/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/jupyter-client-6.1.12[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/ipywidgets[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/testpath[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - nbclient/tests/test_client.py::test_many_parallel_notebooks - 'nbclient/tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' -) - -python_test() { - # The tests run the pydevd debugger, the debugger prints a warning - # in python3.11 when frozen modules are being used. - # This warning makes the tests fail, silence it. - PYDEVD_DISABLE_FILE_VALIDATION=1 epytest -} diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 93c2b8181ce8..686d63d7fefe 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,2 +1 @@ -DIST networkx-3.0.tar.gz 1987075 BLAKE2B fd5de216f4934a1d5c730264b3860a91dcaf7a12462b615b1aa22df11bfd7d530a369442eebe185572e94bedf6fae3ef4a452804c84fdf3f1e79527ffab2d5c9 SHA512 73e1a9faca6ecd04f6d8da4cd5a887af31738fbeca3d06adc57a4a61fad1d81ab30e89f9c4d25274b0890519b0a517f09402eea3bf3f26b18c3e3052b837ee37 DIST networkx-3.1.tar.gz 2021691 BLAKE2B 002bb00034e06a45298716c86fec4462efe8db8d206e8263d2e4ce0becc9c073aa2856e0c2df2e74d53237be0b02752204c7e387651aa45387781c383dd1f190 SHA512 9d75ecd25020f83c650824e9449e1c53004c13089dccf7424b65787144dfe3d2f638fd5aca1c4a792b165598b44644fda45bf54c49b3af278ddec5e1f669c38e diff --git a/dev-python/networkx/networkx-3.0.ebuild b/dev-python/networkx/networkx-3.0.ebuild deleted file mode 100644 index c5c83071bc21..000000000000 --- a/dev-python/networkx/networkx-3.0.ebuild +++ /dev/null @@ -1,64 +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_FULLY_TESTED=( python3_{9..11} ) -PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" ) - -inherit distutils-r1 optfeature multiprocessing virtualx pypi - -DESCRIPTION="Python tools to manipulate graphs and complex networks" -HOMEPAGE=" - https://networkx.org/ - https://github.com/networkx/networkx/ - https://pypi.org/project/networkx/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ia64 ~loong ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" - -BDEPEND=" - test? ( - >=dev-python/lxml-4.5[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - >=dev-python/scipy-1.6.2[${PYTHON_USEDEP}] - ' "${PYTHON_FULLY_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - networkx/drawing/tests/test_pylab.py::test_draw - ) - fi - # virtx implies nonfatal - nonfatal epytest -p no:django -n "$(makeopts_jobs)" || die -} - -src_install() { - distutils-r1_src_install - # those examples use various assets and pre-compressed files - docompress -x /usr/share/doc/${PF}/examples -} - -pkg_postinst() { - optfeature "recommended dependencies" "dev-python/matplotlib dev-python/numpy dev-python/pandas dev-python/scipy" - optfeature "graph drawing and graph layout algorithms" "dev-python/pygraphviz dev-python/pydot" - optfeature "YAML format reading and writing" "dev-python/pyyaml" - optfeature "shapefile format reading and writing" "sci-libs/gdal[python]" - optfeature "GraphML XML format" "dev-python/lxml" -} diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 3fefbc1c596d..4cc9ee5fb090 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1 +1 @@ -DIST pipenv-2022.12.19.gh.tar.gz 11118843 BLAKE2B 812aa7eacd2b1eaa42a586e64b73e7a13d2ac3ed4c2abf834e190ed5a8a4398d3d17999c1e196de6b01eb755f6771493967b8497710ac3fe20d73408f6251f80 SHA512 edd1e43cb3e91ed0001aff0a590f72e510f9b4c5f436a1c81d1e8a815d22f5bcf199254e5faf78dbdfec3ee0d4b51709b6de28163cf01e58d6f0de044ae99fdc +DIST pipenv-2023.4.29.gh.tar.gz 10808706 BLAKE2B 31432b80f82b041969e75d0ec0a28ca90068395be25dac94a7f34526f0b638adfae59e9396b147fa61592ee78af2d9cfb4a1b65dedea9bbb299b2624a6d6e9a1 SHA512 870b33ced4ed909b23b9d345ec788f4b5fffde4b253755e8a41b0629e885ef49ca14e9a68b5919b70074829002603fe427e8b77f41028a7de33d269a910354ff diff --git a/dev-python/pipenv/files/pipenv-2022.12.19-append-always-install.patch b/dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch index a5746fdb8ebe..25a9c604e5b4 100644 --- a/dev-python/pipenv/files/pipenv-2022.12.19-append-always-install.patch +++ b/dev-python/pipenv/files/pipenv-2023.4.29-append-always-install.patch @@ -1,12 +1,14 @@ -diff --git a/pipenv/core.py b/pipenv/core.py -index e42f184d1..02f8994de 100644 ---- a/pipenv/core.py -+++ b/pipenv/core.py -@@ -791,6 +791,12 @@ def batch_install_iteration( +diff --git a/pipenv/routines/install.py b/pipenv/routines/install.py +index 4b8b2bf8c..a3e1fbcf7 100644 +--- a/pipenv/routines/install.py ++++ b/pipenv/routines/install.py +@@ -580,6 +580,14 @@ def batch_install_iteration( strip_extras_markers_from_requirement, ) -+ # Gentoo patch: install dependencies into the venv even if they exist in the system ++ # Gentoo patch: ++ # Install dependencies into the venv even if they exist ++ # in the system. + # This is needed because pipenv imports the system packages to run. + # It does not change your system's packages. + if (extra_pip_args is not None) and ("-I" not in extra_pip_args): diff --git a/dev-python/pipenv/files/pipenv-2023.4.29-fix-imports.patch b/dev-python/pipenv/files/pipenv-2023.4.29-fix-imports.patch new file mode 100644 index 000000000000..eeae85039e12 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.4.29-fix-imports.patch @@ -0,0 +1,31 @@ +diff --git a/pipenv/project.py b/pipenv/project.py +index 75ee7d401..ed43cf2bc 100644 +--- a/pipenv/project.py ++++ b/pipenv/project.py +@@ -40,9 +40,11 @@ from pipenv.utils.shell import ( + system_which, + ) + from pipenv.utils.toml import cleanup_toml, convert_toml_outline_tables +-from pipenv.vendor import click, plette, toml, tomlkit ++from pipenv.vendor import plette + from pipenv.vendor.requirementslib.models.utils import get_default_pyproject_backend + ++import click, toml, tomlkit ++ + try: + # this is only in Python3.8 and later + from functools import cached_property +diff --git a/pipenv/utils/environment.py b/pipenv/utils/environment.py +index 2e066eef2..9385689bf 100644 +--- a/pipenv/utils/environment.py ++++ b/pipenv/utils/environment.py +@@ -1,7 +1,8 @@ + import os ++import dotenv ++import click + + from pipenv import environments +-from pipenv.vendor import click, dotenv + + + def load_dot_env(project, as_dict=False, quiet=False): diff --git a/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-in-vendor.patch b/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-in-vendor.patch new file mode 100644 index 000000000000..cb0f3f70d48b --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2023.4.29-fix-toml-in-vendor.patch @@ -0,0 +1,76 @@ +diff --git a/pipenv/project.py b/pipenv/project.py +index ed43cf2bc..903667639 100644 +--- a/pipenv/project.py ++++ b/pipenv/project.py +@@ -13,6 +13,13 @@ import urllib.parse + from json.decoder import JSONDecodeError + from pathlib import Path + ++import click, tomlkit ++ ++try: ++ import tomllib as toml ++except ImportError: ++ import tomli as toml ++ + from pipenv.cmdparse import Script + from pipenv.environment import Environment + from pipenv.environments import Setting, is_in_virtualenv, normalize_pipfile_path +diff --git a/pipenv/utils/toml.py b/pipenv/utils/toml.py +index d4157d01c..27d9975ae 100644 +--- a/pipenv/utils/toml.py ++++ b/pipenv/utils/toml.py +@@ -1,4 +1,9 @@ +-from pipenv.vendor import toml, tomlkit ++try: ++ import tomllib as toml ++except ImportError: ++ import tomli as toml ++ ++import tomlkit + + + def cleanup_toml(tml): +diff --git a/pipenv/vendor/dparse/parser.py b/pipenv/vendor/dparse/parser.py +index faaad2e8e..4c59474e9 100644 +--- a/pipenv/vendor/dparse/parser.py ++++ b/pipenv/vendor/dparse/parser.py +@@ -10,6 +10,11 @@ from io import StringIO + from configparser import ConfigParser, NoOptionError + from pathlib import PurePath + ++try: ++ import tomllib as toml ++except ImportError: ++ import tomli as toml ++ + from .errors import MalformedDependencyFileError + from .regex import HASH_REGEX + +@@ -17,7 +22,6 @@ from .dependencies import DependencyFile, Dependency + from pipenv.patched.pip._vendor.packaging.requirements import Requirement as PackagingRequirement,\ + InvalidRequirement + from . import filetypes +-import pipenv.vendor.toml as toml + from pipenv.patched.pip._vendor.packaging.specifiers import SpecifierSet + from pipenv.patched.pip._vendor.packaging.version import Version, InvalidVersion + import json +diff --git a/pipenv/vendor/dparse/updater.py b/pipenv/vendor/dparse/updater.py +index 7b7ba9a53..fe20a213f 100644 +--- a/pipenv/vendor/dparse/updater.py ++++ b/pipenv/vendor/dparse/updater.py +@@ -3,9 +3,13 @@ from __future__ import absolute_import, print_function, unicode_literals + import re + import json + import tempfile +-import pipenv.vendor.toml as toml + import os + ++try: ++ import tomllib as toml ++except ImportError: ++ import tomli as toml ++ + + class RequirementsTXTUpdater(object): + SUB_REGEX = r"^{}(?=\s*\r?\n?$)" diff --git a/dev-python/pipenv/pipenv-2022.12.19.ebuild b/dev-python/pipenv/pipenv-2023.4.29.ebuild index 5dce36439bea..d5215d78faf9 100644 --- a/dev-python/pipenv/pipenv-2022.12.19.ebuild +++ b/dev-python/pipenv/pipenv-2023.4.29.ebuild @@ -20,7 +20,9 @@ KEYWORDS="~amd64 ~riscv ~x86" PATCHES=( "${FILESDIR}/pipenv-2022.9.24-inject-site-packages.patch" - "${FILESDIR}/pipenv-2022.12.19-append-always-install.patch" + "${FILESDIR}/pipenv-2023.4.29-append-always-install.patch" + "${FILESDIR}/pipenv-2023.4.29-fix-imports.patch" + "${FILESDIR}/pipenv-2023.4.29-fix-toml-in-vendor.patch" ) RDEPEND=" @@ -32,6 +34,7 @@ RDEPEND=" >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}] >=dev-python/ptyprocess-0.7.0[${PYTHON_USEDEP}] dev-python/pyparsing[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' python3_{9..10}) >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] @@ -60,7 +63,7 @@ distutils_enable_tests pytest src_prepare() { local pkgName local jobs=$(makeopts_jobs) - local packages=( attr attrs cerberus click colorama dotenv markupsafe \ + local packages=( attr attrs cerberus colorama dotenv markupsafe \ pexpect ptyprocess pyparsing requests urllib3 tomlkit ) for pkgName in ${packages[@]}; do find ./ -type f -print0 | \ @@ -88,16 +91,9 @@ src_prepare() { sed --in-place \ -e "s/from pipenv\.vendor import plette, toml, tomlkit, vistir/from pipenv\.vendor import plette, toml, vistir\\nimport tomlkit/g" - # remove tomlkit from vendoring - for fname in pipenv/utils/toml.py tests/integration/conftest.py; do - sed --in-place -e "s/from pipenv\.vendor import toml, tomlkit/from pipenv\.vendor import toml\\nimport tomlkit/g" $fname || die "Failed sed in $fname" - done - #for fname in "tests/unit/test_vendor.py "; do - # sed --in-place -e "s/from pipenv\.vendor import tomlkit/import tomlkit/g" $fname || die "Failed sed in tomlkit" - #done # remove python ruaml yaml - sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruaml\.yaml import YAML/g" pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" - sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruaml\.yaml\.error import MarkedYAMLError/g" pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" + sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml import YAML/from ruamel\.yaml import YAML/g" pipenv/patched/safety/util.py || die "Failed sed in ruaml-yaml" + sed --in-place -e "s/from pipenv\.vendor\.ruamel\.yaml\.error import MarkedYAMLError/from ruamel\.yaml\.error import MarkedYAMLError/g" pipenv/patched/safety/util.py || die "Failed sed in ruamel-yaml" rm -vR pipenv/vendor/ruamel || die "Failed removing ruamel-yaml from vendor" diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index 70f46887e541..1c327cf38041 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,2 +1 @@ -DIST pybind11-2.10.3.gh.tar.gz 740214 BLAKE2B 967b93cbf7d1f8faad25db9a4d3e84fd33b48429cdf527c167e65faad5c01df83a5634021cf99f07adf443855d9f6bb076f0cc67b0e6555e189b794a845b533a SHA512 3894400f04cd08e2dbb14b3d696339f0364434f1d6f8bb057338ac88157ec7491b2df1e1e46ebd5abccdcd5775c5e9238de6404f0db87f64f5a1802db3a5b18c DIST pybind11-2.10.4.gh.tar.gz 740622 BLAKE2B 7b2d86e8262581b2cc6dd720b83336206e242ef8ca99b257b01a11141ed8b127d7f35d7d573bc763dd36f2fe8c8ac91766089deb63a76e9c10029c34eec2d6d3 SHA512 7970defbb6d057a44468ed707c80bfa6ef8c9578528fbc084b03aeea20a52dbd681581f82d55ff90af11ee89693379bd79e2ab6603239ba05b0aa8da29dd93c7 diff --git a/dev-python/pybind11/pybind11-2.10.3.ebuild b/dev-python/pybind11/pybind11-2.10.3.ebuild deleted file mode 100644 index 60807f22b71a..000000000000 --- a/dev-python/pybind11/pybind11-2.10.3.ebuild +++ /dev/null @@ -1,67 +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_{7,8,9,10,11} pypy3 ) - -inherit cmake distutils-r1 - -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE=" - https://pybind11.readthedocs.io/en/stable/ - https://github.com/pybind/pybind11/ - https://pypi.org/project/pybind11/ -" -SRC_URI=" - https://github.com/pybind/pybind11/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-cpp/eigen:3 -" -BDEPEND=" - test? ( - >=dev-cpp/catch-2.13.5 - dev-libs/boost - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - export PYBIND11_USE_CMAKE=1 - cmake_src_prepare - distutils-r1_python_prepare_all -} - -python_configure() { - local mycmakeargs=( - # disable forced lto - -DPYBIND11_LTO_CXX_FLAGS= - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - cmake_build check -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pycuda/Manifest b/dev-python/pycuda/Manifest index 002986fdfcc4..ceea5dce1aea 100644 --- a/dev-python/pycuda/Manifest +++ b/dev-python/pycuda/Manifest @@ -1 +1,2 @@ DIST pycuda-2021.1.tar.gz 1682423 BLAKE2B 0ebd7554a5f92cd0d39ce7b5f64218f0b0dcfa1f3e63d3180306a149ad0581150630813eee7fbc17e32bb35ea711a46b84332705d6ffece7b11e7e928ef07aad SHA512 1df09f59e254f7e39b630ff41d22237ab0c81c0e6e7b7611c57eb98ade8531356b9cb3e381e6fa7e8495a46c465458febaf8ad56ceb8d570b5b25defb6dd55a9 +DIST pycuda-2022.2.2.tar.gz 1682953 BLAKE2B d60e83ac2faa183e0fa022c3d901c9d97ec2f9a59195425b9d71467c24b154d48d5735223220b41aa58b0898800d382d9ead54166d0a59db9c2a777e03e574be SHA512 c62aafe473e44339ac2147d86b51fc9bc2429310450b6d99e78a127828cc3a42dc74f20e1bdf8261f6652aed6d07ee3a871ce371f89f33fbcc4014f551af0b96 diff --git a/dev-python/pycuda/pycuda-2022.2.2.ebuild b/dev-python/pycuda/pycuda-2022.2.2.ebuild new file mode 100644 index 000000000000..8c91d05ff22c --- /dev/null +++ b/dev-python/pycuda/pycuda-2022.2.2.ebuild @@ -0,0 +1,93 @@ +# 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_{7,8,9,10,11} ) +inherit cuda distutils-r1 pypi + +DESCRIPTION="Python wrapper for NVIDIA CUDA" +HOMEPAGE="https://mathema.tician.de/software/pycuda/ https://pypi.org/project/pycuda/ https://github.com/inducer/pycuda" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples opengl test" + +RDEPEND=" + dev-libs/boost:=[python,${PYTHON_USEDEP}] + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytools[${PYTHON_USEDEP}] + dev-util/nvidia-cuda-toolkit[profiler] + x11-drivers/nvidia-drivers + opengl? ( virtual/opengl ) +" +DEPEND="${RDEPEND}" + +# We need write acccess /dev/nvidia0 and /dev/nvidiactl and the portage +# user is (usually) not in the video group +RESTRICT="test? ( userpriv ) !test? ( test )" + +distutils_enable_tests pytest + +src_prepare() { + cuda_sanitize + + sed "s|\"--preprocess\"|&,\"--compiler-bindir=$(cuda_gccdir)\"|" \ + -i pycuda/compiler.py || die + + > siteconf.py || die + + distutils-r1_src_prepare +} + +python_configure() { + mkdir -p "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + + local conf=( + "${EPYTHON}" "${S}"/configure.py + --boost-inc-dir="${ESYSROOT}"/usr/include + --boost-lib-dir="${ESYSROOT}"/usr/$(get_libdir) + --boost-python-libname=boost_${EPYTHON/./}.so + --boost-thread-libname=boost_thread + --cuda-inc-dir="${ESYSROOT}"/opt/cuda/include + --cuda-root="${ESYSROOT}"/opt/cuda + --cudadrv-lib-dir="${ESYSROOT}"/usr/$(get_libdir) + --cudart-lib-dir="${ESYSROOT}"/opt/cuda/$(get_libdir) + --no-use-shipped-boost + $(usev opengl --cuda-enable-gl) + ) + echo ${conf[*]} + "${conf[@]}" || die +} + +python_test() { + # we need write access to this to run the tests + addwrite /dev/nvidia0 + addwrite /dev/nvidiactl + addwrite /dev/nvidia-uvm + addwrite /dev/nvidia-uvm-tools + + EPYTEST_DESELECT=( + # needs investigation, perhaps failure is hardware-specific + test/test_driver.py::test_pass_cai_array + test/test_driver.py::test_pointer_holder_base + ) + + cd "${T}" || die + epytest "${S}"/test +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-python/python-box/python-box-7.0.1.ebuild b/dev-python/python-box/python-box-7.0.1.ebuild index e2e0e09f359e..0ad78dfa9525 100644 --- a/dev-python/python-box/python-box-7.0.1.ebuild +++ b/dev-python/python-box/python-box-7.0.1.ebuild @@ -33,5 +33,8 @@ RDEPEND=" ' 3.8 3.9 3.10) dev-python/tomli-w[${PYTHON_USEDEP}] " +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/python-lsp-server/Manifest b/dev-python/python-lsp-server/Manifest index 643efa895fad..38c61cd85aa7 100644 --- a/dev-python/python-lsp-server/Manifest +++ b/dev-python/python-lsp-server/Manifest @@ -1,2 +1 @@ -DIST python-lsp-server-1.7.1.tar.gz 95731 BLAKE2B 0cdcda04ef849cb0c5fa83f1f701e986e22fb1228112eaf355bfedc52cca4fcc5927352c71b74fa3903526d8a1fc80fa57ac3e6ee7bcc2609556c2398dd2bbb8 SHA512 36c90f45071f35d0aeb0a57795eb6e9fb531baf9e8b468031b0d3e9eb2d53bee439893a333c6bf5f9d5b0818ec53675a3824850abef3e866e8ebdcd4a6142c48 DIST python-lsp-server-1.7.2.tar.gz 97050 BLAKE2B f13503d21dc8b50cfedc711bd01d47830cba7f989c14c908904f639190b883a12fabacab06d107638ec53bc84bf4f43b8aeab353793d98bfe4e8d50ddb2a671d SHA512 aaa31a72391dbf0f6b40ca954cbd2377c4105371a54036d8cbab52ee0360a2400c453d47bbccbe3bea78e3189aa4006aeb7546bd99cad3a8f0bc352a0594e885 diff --git a/dev-python/python-lsp-server/files/python-lsp-server-1.7.1-unpin-all-the-deps.patch b/dev-python/python-lsp-server/files/python-lsp-server-1.7.1-unpin-all-the-deps.patch deleted file mode 100644 index 4a8104130e06..000000000000 --- a/dev-python/python-lsp-server/files/python-lsp-server-1.7.1-unpin-all-the-deps.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 8d38434..50e8e16 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -13,7 +13,7 @@ readme = "README.md" - license = {text = "MIT"} - requires-python = ">=3.7" - dependencies = [ -- "jedi>=0.17.2,<0.19.0", -+ "jedi>=0.17.2", - "python-lsp-jsonrpc>=1.0.0", - "pluggy>=1.0.0", - "docstring-to-markdown", -@@ -27,29 +27,29 @@ Homepage = "https://github.com/python-lsp/python-lsp-server" - - [project.optional-dependencies] - all = [ -- "autopep8>=1.6.0,<1.7.0", -- "flake8>=5.0.0,<7", -- "mccabe>=0.7.0,<0.8.0", -- "pycodestyle>=2.9.0,<2.11.0", -- "pydocstyle>=6.2.0,<6.3.0", -- "pyflakes>=2.5.0,<3.1.0", -- "pylint>=2.5.0,<3", -+ "autopep8>=1.6.0", -+ "flake8>=5.0.0", -+ "mccabe>=0.7.0", -+ "pycodestyle>=2.9.0", -+ "pydocstyle>=6.2.0", -+ "pyflakes>=2.5.0", -+ "pylint>=2.5.0", - "rope>1.2.0", - "yapf", -- "whatthepatch>=1.0.2,<2.0.0" -+ "whatthepatch>=1.0.2" - ] --autopep8 = ["autopep8>=1.6.0,<1.7.0"] --flake8 = ["flake8>=5.0.0,<7"] --mccabe = ["mccabe>=0.7.0,<0.8.0"] --pycodestyle = ["pycodestyle>=2.9.0,<2.11.0"] --pydocstyle = ["pydocstyle>=6.2.0,<6.3.0"] --pyflakes = ["pyflakes>=2.5.0,<3.1.0"] --pylint = ["pylint>=2.5.0,<3"] -+autopep8 = ["autopep8>=1.6.0"] -+flake8 = ["flake8>=5.0.0"] -+mccabe = ["mccabe>=0.7.0"] -+pycodestyle = ["pycodestyle>=2.9.0"] -+pydocstyle = ["pydocstyle>=6.2.0"] -+pyflakes = ["pyflakes>=2.5.0"] -+pylint = ["pylint>=2.5.0"] - rope = ["rope>1.2.0"] --yapf = ["yapf", "whatthepatch>=1.0.2,<2.0.0"] -+yapf = ["yapf", "whatthepatch>=1.0.2"] - websockets = ["websockets>=10.3"] - test = [ -- "pylint>=2.5.0,<3", -+ "pylint>=2.5.0", - "pytest", - "pytest-cov", - "coverage", diff --git a/dev-python/python-lsp-server/python-lsp-server-1.7.1.ebuild b/dev-python/python-lsp-server/python-lsp-server-1.7.1.ebuild deleted file mode 100644 index 95b5577499a3..000000000000 --- a/dev-python/python-lsp-server/python-lsp-server-1.7.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 optfeature pypi - -DESCRIPTION="Python Language Server for the Language Server Protocol" -HOMEPAGE="https://github.com/python-lsp/python-lsp-server" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -IUSE="all-plugins" - -BDEPEND=" - test? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-6.2.0[${PYTHON_USEDEP}] - <dev-python/pydocstyle-6.3.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}] - >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] - ) -" - -RDEPEND=" - dev-python/docstring-to-markdown[${PYTHON_USEDEP}] - >=dev-python/jedi-0.17.2[${PYTHON_USEDEP}] - >=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}] - dev-python/pluggy[${PYTHON_USEDEP}] - all-plugins? ( - >=dev-python/autopep8-1.6.0[${PYTHON_USEDEP}] - >=dev-python/flake8-5.0.0[${PYTHON_USEDEP}] - >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] - >=dev-python/pydocstyle-6.2.0[${PYTHON_USEDEP}] - <dev-python/pydocstyle-6.3.0[${PYTHON_USEDEP}] - >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] - >=dev-python/pylint-2.5.0[${PYTHON_USEDEP}] - >=dev-python/rope-1.2.0[${PYTHON_USEDEP}] - dev-python/yapf[${PYTHON_USEDEP}] - >=dev-python/whatthepatch-1.0.2[${PYTHON_USEDEP}] - ) -" - -# Upstream is overly cautious, insists on pinning -# dependencies to versions required by other dependencies. -# i.e. pin to <dev-python/pycodestyle-2.9.0 because -# dev-python/autopep8-1.6.0 requires that version. -# This causes way more problems then it solves. -PATCHES=( - "${FILESDIR}/${P}-unpin-all-the-deps.patch" -) - -distutils_enable_tests pytest - -python_prepare_all() { - # remove pytest-cov dep - sed -i -e '/addopts =/d' pyproject.toml || die - distutils-r1_python_prepare_all -} - -pkg_postinst() { - optfeature "Automatically format Python code to conform to the PEP 8 style guide" dev-python/autopep8 - optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8 - optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe - optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle - optfeature "Python docstring style checker" dev-python/pydocstyle - optfeature "Passive checker for Python programs" dev-python/pyflakes - optfeature "Python code static checker" dev-python/pylint - optfeature "Python refactoring library" dev-python/rope - optfeature "A formatter for Python files" dev-python/yapf -} diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index bda2fa029942..fbd8c510e6ec 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,5 +1,2 @@ -DIST rapidfuzz-2.13.7.tar.gz 999972 BLAKE2B 1120a8fb91b03bc3d9bf6a04291f188df06d7ff37911ae8459b4a082d949bcad21598513416aa4ccfb268ba16dbe4faa574015d5730a729950c2713ae15b0be1 SHA512 5d2c4620c09b44fc8bd48e236b46af6e28ef3b86f32e0697408bd77230af46d711bfc28eb7fcfc8b1403a84b51235fc39b9a1d2fedb6421918bcb700b2b88f9c -DIST rapidfuzz-2.14.0.tar.gz 997048 BLAKE2B 74ee7d6a6f5b41067eca5480e036270ac67d277523045d63ed04fc3ee570a092a6ebc35eeb8566452ec74d536c453634893759a29bb102fe381cca912637a38e SHA512 66599cb507786932d45d7366a7aa5e440375ec9c49c865743b6f2bf1f3ed748b5e9003ba6010568ba185031b995b41d47abe84e8af5575bdd3b055dbfb56920e -DIST rapidfuzz-2.15.0.tar.gz 998377 BLAKE2B f749aef36791a2ec9a5dc870f5438af7088debd8b0abf5a44af37d31f84f577d540d18599a3d34641aa52a8e55db3cb491f43dc3c2f4b5fce8d8137c16c9ba7e SHA512 e77d34304a2145828aa183b1539f341c0761a84a481a0d72f3b15fda9564a7e1651ee3b255203bd270d5e5f70c5670f351d53e0bc560e94b8518cf67924a5e7a DIST rapidfuzz-2.15.1.tar.gz 1209658 BLAKE2B 2644566c4dd9e3db2ecd2a42f4d1b7c80dd34b0ca1b2e80f2906dacf5180f702b6c7445652a3ab95fecb53d07256f35351e4e88329e2423871e26db9bc5519bb SHA512 541877af22570d9324f1d4c4f2b54fdc16ce321b28aac5d5bcd61bd915f38b7eabecafea3d65372f556e3e80be39015d674cb18714c77d8ea971fe3d2986b90d DIST rapidfuzz-3.0.0.tar.gz 1230857 BLAKE2B b15bcca17288cc428b485b0c6e1d322027eee5c8c0261b7f0240e4f5908ff2d53e05124855213a1923d96ec7537b75263c17f220bfaf792ab92f2f455d761027 SHA512 bafdb6045baa78154026dc0eb2498eb0031f03c36e8b17a9219d6e0c55041a9b6c164f4fcc0523480903fece0ab4e2e50a8f969a52b6934fcfbad80d8eadba25 diff --git a/dev-python/rapidfuzz/rapidfuzz-2.13.7.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.13.7.ebuild deleted file mode 100644 index 2fefec4a1c2b..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-2.13.7.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/maxbachmann/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv sparc x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-1.10.0 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} diff --git a/dev-python/rapidfuzz/rapidfuzz-2.14.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.14.0.ebuild deleted file mode 100644 index 542bbfab8e48..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-2.14.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/maxbachmann/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-1.10.0 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} diff --git a/dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild deleted file mode 100644 index 542bbfab8e48..000000000000 --- a/dev-python/rapidfuzz/rapidfuzz-2.15.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# custom wrapper over setuptools -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" -HOMEPAGE=" - https://github.com/maxbachmann/RapidFuzz/ - https://pypi.org/project/rapidfuzz/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" - -# all these are header-only libraries -DEPEND=" - >=dev-cpp/taskflow-3.0.0 - >=dev-cpp/rapidfuzz-cpp-1.10.0 - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] - >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # sterilize build flags - sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die - - distutils-r1_src_prepare - - export RAPIDFUZZ_BUILD_EXTENSION=1 -} diff --git a/dev-python/rope/Manifest b/dev-python/rope/Manifest index cb576b061e6f..ccd7851072b2 100644 --- a/dev-python/rope/Manifest +++ b/dev-python/rope/Manifest @@ -1 +1,2 @@ DIST rope-1.7.0.tar.gz 295362 BLAKE2B a81d6600441cf9dfe12be0a15113988ac8ec3dcd00c593085b9d749001b0785a5bceedc0fa8bbaeaaeb0142d623a432ef7d6e24874fab7a37179f131a26e6a6c SHA512 13cc3a2041c58c142892d1c9e5105ecdaa672e012364a5d4ccf82dbf5110fe0b6f0362b3a0309e9e6b72ab1d267dfc58eae8f3af3a8756f0356a6aff06c09abd +DIST rope-1.8.0.tar.gz 297235 BLAKE2B e9849b75b3ec640201b30318863066b969b5ebde98522c3c09f70bcc344bce5f604601bd155ed0ce6fb3eebb392ea3669f77fb2da21c11078e1041ae13464fd8 SHA512 2fa8e56d6d7fd0a15acb16a1fe27db89d9c2dd6f93fabd448509a112a6ef7f3dfdd4d3d544cf1218149c7a7fa1db9908b107b6eae6e89299f32c0d1586ceaf4e diff --git a/dev-python/rope/rope-1.8.0.ebuild b/dev-python/rope/rope-1.8.0.ebuild new file mode 100644 index 000000000000..d3ca80b1d3ec --- /dev/null +++ b/dev-python/rope/rope-1.8.0.ebuild @@ -0,0 +1,39 @@ +# 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..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python refactoring library" +HOMEPAGE=" + https://pypi.org/project/rope/ + https://github.com/python-rope/rope/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/pytoolconfig-1.2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # our venv style confuses this comparison + ropetest/contrib/autoimport/utilstest.py::test_get_package_source_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_typing + ropetest/contrib/autoimport/utilstest.py::test_get_package_tuple_compiled +) diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index 2cd1714dd9a4..e26122540200 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1,2 +1,3 @@ DIST rq-1.13.0.gh.tar.gz 616679 BLAKE2B 026914ab01f769797e1f7fabc944b5ccdeb1ce1957c7acc72d067e0bdd113ebb30f0060ea5adbceaac5e69b40e176c09a0b1f216cffb02132772e72151b79986 SHA512 6c3b4bb868cae6ffd07718b3f517350eba2effc1b3ae70ef601984cc525ecfb3f82f8569a2b0f333c5f248d3befbe3d4953f5058f8e9cb2f08ce6dadae963902 +DIST rq-1.14.1.gh.tar.gz 628713 BLAKE2B fbd0904faa64ea3207636f765e36042ed8ca2f0b3b57c634c3f9a6254cab811725719bb3c3974f9e19f173e4422355119f550c09a7176e1a4fca26cf26bb6e5d SHA512 f75fe944c041fb8dfe9607b480dbf62d72f8715934e014b4c666f19c73123e7062ab0e17190f572b2cdad6a916dbf2190637255af5c1db51b41765d448ad2120 DIST rq-1.14.gh.tar.gz 627836 BLAKE2B 4127d6c183826ee84eb290145098b545938cdeca2daf836c08ae49a07265cebfc4eb0dbdd92c640605ce630e37a13184010dd8a6a2a2face5369c00c22fc286c SHA512 5e74a2b57b673ef9333dd1ec3f7f3cecb9c9b2d48d93617dd46de833a6edce213b2488822d77eea9fde42f9949fa5e935be4d8f95f43b29e6c8f0f46593d5ce5 diff --git a/dev-python/rq/rq-1.14.1.ebuild b/dev-python/rq/rq-1.14.1.ebuild new file mode 100644 index 000000000000..a7000a2beeb7 --- /dev/null +++ b/dev-python/rq/rq-1.14.1.ebuild @@ -0,0 +1,61 @@ +# 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..11} ) + +inherit distutils-r1 + +DESCRIPTION="Simple, lightweight library for creating and processing background jobs" +HOMEPAGE=" + https://python-rq.org/ + https://github.com/rq/rq/ + https://pypi.org/project/rq/ +" +# Tests missing from sdist, as of 1.14.1 +SRC_URI=" + https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/click-5.0[${PYTHON_USEDEP}] + >=dev-python/redis-3.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/sentry-sdk[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + local redis_test_config="daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + " + + # Spawn Redis itself for testing purposes + # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. + # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + /usr/sbin/redis-server - <<< "${redis_test_config}" || die + + # Run the actual tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 78cb3e70f821..fa7ac766dda9 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -2,3 +2,4 @@ DIST sentry-python-1.19.1.gh.tar.gz 345933 BLAKE2B 0b6912553b41fe14b14a4199756f5 DIST sentry-python-1.20.0.gh.tar.gz 345505 BLAKE2B e95225188a74f4d9e67f6044bcf3bbeccacc31c455a652d8233350d138c20ee9f356e56aab98a1c2f764917d79426e10a810cb6c18cfabcc5f606ec21c42f7e8 SHA512 6c162d44cc3b38a9aa192a7153d52e93424950e1020cd2d6ea8e61d23b3d41ca169e3dde7c0355e5da2ed45ce39c41322d6e0f239d6e00e30a55540db796f968 DIST sentry-python-1.21.0.gh.tar.gz 346948 BLAKE2B 7d4d9d537d567c930187d74fc46be2868a91c7d7fbc09bb6e63aa5b87cc272689ab3510dd2328fedd6d78a30f8f514efcaec5f6b99ce95cc2fd1e517f6c2330e SHA512 45e0f646b058488e8642e9ab6e8f80c7085adf39247baee78cb388a722114e2f72504951789cd49f6cdade77a930dc69756afaf0c69c69eb680878b2f2fc53d6 DIST sentry-python-1.21.1.gh.tar.gz 349021 BLAKE2B f467ba16484d0807734deb7d2544f32addeac254dbac02d5c56d5c9d05081d1c38665f7a5eb14ff59dd4b39ecb25d922b60a0d18fc98290c0127142cf5bb89d0 SHA512 04f56fa1a53ad42baaf09fb4b19a29c009e2a956ee363d6003746d993d1d8b4af37b8458bf8b04255cd72083bdf0c35b4244d6aabf26110ff6a0d245ce674c58 +DIST sentry-python-1.22.1.gh.tar.gz 351929 BLAKE2B afcdd6293ff1e96f2a07e6d6ad5fb9bfc8715cf4d7ca30237d92cae9f48abf4cb849ad8f86f3ba3f0421198dd2fdbfe25b95c9e50c2abab36d1fed4bd71181fd SHA512 2796620223476d8996291d2f2ff88a128a86fe8ded40f44ffc575f09e8b390d9b0e77e186d153decb81f33aa050eeef5b2ce707ad381d226955ce18315a0e3ee diff --git a/dev-python/sentry-sdk/sentry-sdk-1.22.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.22.1.ebuild new file mode 100644 index 000000000000..1fa205132314 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-1.22.1.ebuild @@ -0,0 +1,113 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/stdlib/test_httplib.py + tests/integrations/flask/test_flask.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # broken by rq-1.10.1 (optional dep) + tests/integrations/rq/test_rq.py + # fastapi is not packaged + tests/integrations/asgi/test_fastapi.py + # TODO + tests/integrations/bottle + # TODO: causes breakage in other tests + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo +) + +EPYTEST_DESELECT=( + # hangs + 'tests/test_transport.py::test_transport_works' + # TODO + 'tests/test_basics.py::test_auto_enabling_integrations_catches_import_error' + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_client.py::test_databag_breadth_stripping + tests/integrations/asgi/test_asgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/asgi/test_asgi.py::test_websocket + tests/integrations/aiohttp/test_aiohttp.py::test_transaction_style + tests/integrations/aiohttp/test_aiohttp.py::test_traces_sampler_gets_request_object_in_sampling_context + # incompatible version? + tests/integrations/falcon/test_falcon.py + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated + # test_circular_references: apparently fragile + 'tests/integrations/threading/test_threading.py::test_circular_references' + # test for new feature, fails with IndexError + tests/integrations/wsgi/test_wsgi.py::test_session_mode_defaults_to_request_mode_in_wsgi_handler + # TODO + tests/integrations/wsgi/test_wsgi.py::test_auto_session_tracking_with_aggregates + tests/integrations/wsgi/test_wsgi.py::test_profile_sent_when_profiling_enabled + tests/test_profiler.py::test_sample_buffer + tests/test_profiler.py::test_thread_scheduler_takes_first_samples + tests/test_profiler.py::test_thread_scheduler_takes_more_samples + tests/test_profiler.py::test_thread_scheduler_single_background_thread + # broken with py3.11, *shrug* + tests/test_profiler.py::test_extract_stack_with_max_depth + # TODO + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_long_sql_query_preserved + tests/test_scrubber.py::test_breadcrumb_extra_scrubbing + tests/test_scrubber.py::test_span_data_scrubbing +) diff --git a/dev-python/tcolorpy/Manifest b/dev-python/tcolorpy/Manifest index 988ffba3f9b3..2752e33297a5 100644 --- a/dev-python/tcolorpy/Manifest +++ b/dev-python/tcolorpy/Manifest @@ -1 +1,2 @@ DIST tcolorpy-0.1.2.tar.gz 11024 BLAKE2B 7d2b8e525f507f2061c7401e452e06b76e3f85db1611a579b6f80d3a781c640b0379c22da85b4ec5878bf9762e1c471303e5bf79f51393c3a0ae8ff8fa3bcd51 SHA512 e5a0b26439291d0c7a045cf92818ad50a5c9fcf5d31e8140231ce8bb4c52a1ce163d125a2094e3738a6a14d29b99036ee7a9d5014ea8578f09307d4a4e5674e8 +DIST tcolorpy-0.1.3.tar.gz 10880 BLAKE2B acae626ccc330b5eb0032d9e14d157bd1fbc588dc72c72ff700980ee9a572a4296700026ba26623857ae7bd43febe109c66b8e4d9eb0a82146d7eab90234207e SHA512 978360b224959f8d050fc889a329a191102cf42fb60c1ca298cd0ab53a6c75a4181ef7ded7282d05614cb415b56f141086e9efc6c9c32922aa9ccd3e101e9a1e diff --git a/dev-python/tcolorpy/tcolorpy-0.1.3.ebuild b/dev-python/tcolorpy/tcolorpy-0.1.3.ebuild new file mode 100644 index 000000000000..e0cf7601d11c --- /dev/null +++ b/dev-python/tcolorpy/tcolorpy-0.1.3.ebuild @@ -0,0 +1,18 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="tcolorpy is a Python library to apply true color for terminal text" +HOMEPAGE="https://github.com/thombashi/tcolorpy" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/websockets/websockets-11.0.2.ebuild b/dev-python/websockets/websockets-11.0.2.ebuild index b70ce005174c..36872827489f 100644 --- a/dev-python/websockets/websockets-11.0.2.ebuild +++ b/dev-python/websockets/websockets-11.0.2.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="BSD" 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" distutils_enable_tests pytest diff --git a/dev-python/ytmusicapi/Manifest b/dev-python/ytmusicapi/Manifest index 218a162694fb..2fb981b9dd54 100644 --- a/dev-python/ytmusicapi/Manifest +++ b/dev-python/ytmusicapi/Manifest @@ -1,3 +1,2 @@ -DIST ytmusicapi-0.25.0.tar.gz 61709 BLAKE2B 7a4f0cf52d8d1a5e3310c5df39435d317916562f7d0277b0518e03193daf7995333853c4baf026ed0331ac1ef294897f034b7c97765764a795f34b7581f1788e SHA512 6c131c7c6d808d5a3c02795d5d28e687d92223fed809701d76318a145c7c82c12266b04f37aacb78750a4249f53e759dc891611dcb2edf61fefb19f133072d24 DIST ytmusicapi-0.25.2.tar.gz 63496 BLAKE2B a3409c29165871a90aef7951e63bd676db0f37a1a027d43bd56a0caed2cfd708f4a402168566a45841e9c500b0c371031f6b470598dea5ca880b7f9029e62d96 SHA512 cbdf327f51f4b1836c7cb14966b6c88b7d1b3b338779131b75aa9c12e96a9bb1d9f232a0a2e732bd12758a0d90e4f0600848ea99bd11a456aca8be502724db07 DIST ytmusicapi-1.0.2.tar.gz 67493 BLAKE2B b590c62201140bd054c23fe831a44fc627d8d0d66ba673b77c2672cc926b6068dc066149a08bdd1aeb2511639e681bdd407318a3083b601d4621cd363dac336c SHA512 359adef5e4d331c666834c6e89495bcced96494968af25c4863e50678bca34f81c0c32863172bc7fd5be1baf229804a214a578497ae931c284ac6389e7382241 diff --git a/dev-python/ytmusicapi/ytmusicapi-0.25.0.ebuild b/dev-python/ytmusicapi/ytmusicapi-0.25.0.ebuild deleted file mode 100644 index b3c4baecdcc1..000000000000 --- a/dev-python/ytmusicapi/ytmusicapi-0.25.0.ebuild +++ /dev/null @@ -1,22 +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_{7,8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Unofficial API for YouTube Music" -HOMEPAGE="https://ytmusicapi.readthedocs.io/ - https://github.com/sigma67/ytmusicapi/" - -LICENSE="MIT" -KEYWORDS="amd64 ~x86" -SLOT="0" - -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" - -distutils_enable_sphinx docs/source \ - dev-python/sphinx-rtd-theme diff --git a/dev-python/zconfig/Manifest b/dev-python/zconfig/Manifest index 05f4aafe4285..59efb1517591 100644 --- a/dev-python/zconfig/Manifest +++ b/dev-python/zconfig/Manifest @@ -1 +1,2 @@ DIST ZConfig-3.6.1.tar.gz 147047 BLAKE2B 6dfa9db7fba8280445a48c056225d8ce58d0c9d71b4f06cfd5ad3d9f170d6e776be6cd4d8f1029615642114d4886c74007463c67946b201c5a400162ce8971bc SHA512 e8cf5805028208f2d33152efe244feb59a1ffbd8ce6135ab4febf8fc300bdf8ee81846a94070655490e130e74a92a6b6b86e7fe3ce06673cff2d854b25ba87ec +DIST ZConfig-4.0.tar.gz 126072 BLAKE2B 7057151267f9b481d3cded72a22dc8fe505f1eac78d156595eb6ba5ff6217b57713ae2ef307358d86320986181bbbb3c1862901297e645bf69dc4893a3e60dbc SHA512 03e3c34f8af9de8bedd98bbdf0c968fdd2fb0c1bb8d62a73c286b804a8841e0e7d9b647f5f3bb37a6d52dc2a5cea7cdce21cd204536399d43203c18e0c204ca7 diff --git a/dev-python/zconfig/zconfig-4.0.ebuild b/dev-python/zconfig/zconfig-4.0.ebuild new file mode 100644 index 000000000000..d015ceef4469 --- /dev/null +++ b/dev-python/zconfig/zconfig-4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 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="ZConfig" +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Configuration library supporting a hierarchical schema-driven model" +HOMEPAGE="https://pypi.org/project/ZConfig/" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.rst ) + +distutils_enable_tests unittest +distutils_enable_sphinx docs \ + dev-python/sphinxcontrib-programoutput + +python_test() { + eunittest -s src/ZConfig/tests +} |
