diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-20 11:40:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-20 11:40:01 +0000 |
commit | d6ecedbb65041ed35010095376e87dd7de4270c5 (patch) | |
tree | f00964f121a5ec52d2f3d1fd00a8f3eb52f9c756 /dev-python | |
parent | 89a009d7439343e207e8c7e4df1a28adecafeffe (diff) |
gentoo auto-resync : 20:02:2024 - 11:40:01
Diffstat (limited to 'dev-python')
142 files changed, 743 insertions, 7408 deletions
diff --git a/dev-python/Faker/Faker-22.5.1.ebuild b/dev-python/Faker/Faker-22.5.1.ebuild deleted file mode 100644 index 95ff3728fb55..000000000000 --- a/dev-python/Faker/Faker-22.5.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin - epytest -} diff --git a/dev-python/Faker/Faker-22.6.0.ebuild b/dev-python/Faker/Faker-22.6.0.ebuild deleted file mode 100644 index 4a85c701f3c8..000000000000 --- a/dev-python/Faker/Faker-22.6.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin - epytest -} diff --git a/dev-python/Faker/Faker-22.7.0.ebuild b/dev-python/Faker/Faker-22.7.0.ebuild index 4a85c701f3c8..95ff3728fb55 100644 --- a/dev-python/Faker/Faker-22.7.0.ebuild +++ b/dev-python/Faker/Faker-22.7.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] diff --git a/dev-python/Faker/Faker-23.0.0.ebuild b/dev-python/Faker/Faker-23.0.0.ebuild deleted file mode 100644 index 4a85c701f3c8..000000000000 --- a/dev-python/Faker/Faker-23.0.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin - epytest -} diff --git a/dev-python/Faker/Faker-23.1.0.ebuild b/dev-python/Faker/Faker-23.1.0.ebuild deleted file mode 100644 index 4a85c701f3c8..000000000000 --- a/dev-python/Faker/Faker-23.1.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin - epytest -} diff --git a/dev-python/Faker/Faker-23.2.0.ebuild b/dev-python/Faker/Faker-23.2.0.ebuild deleted file mode 100644 index 4a85c701f3c8..000000000000 --- a/dev-python/Faker/Faker-23.2.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A Python package that generates fake data for you" -HOMEPAGE=" - https://github.com/joke2k/faker/ - https://pypi.org/project/Faker/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] - !dev-ruby/faker -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP},tiff] - dev-python/validators[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin - epytest -} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 901046d39120..817c749ad87e 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,15 +1,5 @@ -DIST Faker-22.5.1.tar.gz 1703337 BLAKE2B 603b06512deb04c6e320904aa32b7e210ecbe270ae634814adeaa420d2af342d44744755ad7ae575ef7902bd3ad6d117c88814bb13a1d84952509ec881b402f9 SHA512 469cf1af9535be0610c1b8750874b1623b0746b762a995805a86a9bdb54a2a8cd3d4118254b1a75240f24a6294629669aae3b6e062e8b229eba30de56cb2bbf8 -DIST Faker-22.6.0.tar.gz 1703974 BLAKE2B b6deb022fd38f52baf9a76e697451ca4ba175e530c3c232d09722f1f809de779d7885b92d1b87be64d9b87da2a7bda80af6cb5968faa55c60547156a5a7c63b7 SHA512 100db2723e4e6961ea239bd1c083cc8ed90cec2af3a8fb82c77df4cd2faec10b51f6cc5ff502e3afaf4d53142f6eaf04b1c6bd955ae8173e5c2f7b19bb7cf561 DIST Faker-22.7.0.tar.gz 1705221 BLAKE2B 9c41a053de75ca238399140531e7d37148ffa358f3ead37cc1aeb32bab74f096689bdcd160372419aed3a541f1aa367e891735e68d384e1c559634e2630e9659 SHA512 38cf655acf23568f0e1b275475461a9272e500c60330d7fc6a0b0db2977d4ea5762bf07cbc24ebe30fcb771cd90579611addce513b80166dbe70554b297c2109 -DIST Faker-23.0.0.tar.gz 1705271 BLAKE2B 0c83bf26ef1005a00c132e4634a617aef659cfb0ce59d67dd0d63d80371ab58b963417c5e26c5d8ef945bbb1a57db408424f0360327035844654e90338d49eff SHA512 f385c839d3d6cd5103e7a5e92dfda0581e1cd2e5e9270c678524ccaa7b97ddfc666423c2ae02605ed1d2c1c2a04dbda482323e40fb3c9854bf48b3208793f8d6 -DIST Faker-23.1.0.tar.gz 1708228 BLAKE2B c72883e054b9e5e9f77de76ce354b7518038c055c6c034e091cbf89246a192c26896e427a9dd48981327498c8fcf63cd1b87b7e25647ce84606d4ba1bedfae51 SHA512 84fbf69d3911f21f98cd14926aad12c1da5be083c0820332bbd1212a995b7995960d7635b54f74b6ee125cfa8e81b991026647c46fa9035f6506bb8a853f4908 -DIST Faker-23.2.0.tar.gz 1708429 BLAKE2B 053b8300ebae3c1b1012c5314305e57e224c0fd46893d29063fc1fcf763aaf985b242e8d028185031c68d1735d4155ecbb6241bc96b12e7fa279ad4ca7ca34e1 SHA512 7046f66f344dc9bbe4c8ee8586aae8c03e7eaac4e472e08b8f10206cde40a2741ed9ac2891239e61fc9a4cfee5590caff086ca065d833c58517a2476573c494c DIST Faker-23.2.1.tar.gz 1708603 BLAKE2B 94759727bb7feb520d51c3a52e50e01bad164cc3f262620d9f106f4746e68b298447d678dba7a5af9a80d0fdd7d9981f57ca50e27ab10671caec52c34e0442ee SHA512 1fefc84bed97e012c4e07117d62a6e0970e1be9d1c2b6f09db497b0d5ba66a2b2b0f3ba806926621d59dc0753a8b8c9caacefa15fbb23c755f110c5ef908975d -EBUILD Faker-22.5.1.ebuild 858 BLAKE2B 2e7693b63d3810eadf6c63951eec2c96385940ba69e88ad8ee14cf28f14beb0a0bbe5edeaaabe694832506a24e7e4648ac9fc8469d7ba0f38d9b6c687b69a736 SHA512 c3540187d7ca070be4942be3e2718a980ba85c588409b419d90b9987efc5a2f26f8362ba7350c6df1d28865496dc1256b752d8a44157eb2e6ac78bfcf54a33a0 -EBUILD Faker-22.6.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c -EBUILD Faker-22.7.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c -EBUILD Faker-23.0.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c -EBUILD Faker-23.1.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c -EBUILD Faker-23.2.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c +EBUILD Faker-22.7.0.ebuild 858 BLAKE2B 2e7693b63d3810eadf6c63951eec2c96385940ba69e88ad8ee14cf28f14beb0a0bbe5edeaaabe694832506a24e7e4648ac9fc8469d7ba0f38d9b6c687b69a736 SHA512 c3540187d7ca070be4942be3e2718a980ba85c588409b419d90b9987efc5a2f26f8362ba7350c6df1d28865496dc1256b752d8a44157eb2e6ac78bfcf54a33a0 EBUILD Faker-23.2.1.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c MISC metadata.xml 498 BLAKE2B c9b7885dc7d34f2263068624a6b07ac6f1ec8078cc11abb6137612ba57edffefc48dae2708284aa83ecc941ebb2d3b8a87a143648e404a0683e75bb6c078f4e2 SHA512 0b385bbbfbb026803526e43c6c43965ff75f42d3ab133603708b187686aac29de508856e5e8ae7622a66b99032efa97f95c21625e10d074c858d8aff7446a312 diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex ab6dc1b07d25..495bcb030c24 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 92abde3d8935..c258173b0a0f 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,5 +1,3 @@ -DIST astroid-3.0.2.gh.tar.gz 461786 BLAKE2B d005fe36e6d7dc4bfc7388f1d4ac52c4602f7c18accfacbeb55545b382fe5e16ef7cedd493aef5413b57a5ac872807b8d9857fc02a7b4053edd54780814f64e8 SHA512 88fa6ff9c66f5224113001c4911cbe2f3055b990c5d0b3ac206166575d7fd5b7fae99fa67a655703d7868ee8c47841ece8b2c2d44712b1fdaf39fa26f786815f DIST astroid-3.0.3.gh.tar.gz 461982 BLAKE2B a41d29b69dc0b0098a449ca0d93934edb5cad56017776971f0982b97b742472bcc731b409c582ca8ab9daabf20d9a84b950a70b08d830bc42ef90ba922fafbcd SHA512 88164dcefa4136c53450d228128c0bb317218fbceb39c4889a7e313691fa0f0b04fed5fb5e25c6a46883d432f11289a4cd3306757a109d314e62580db0261289 -EBUILD astroid-3.0.2.ebuild 1715 BLAKE2B 9318a0de5fe42798679c0624a9cfd37752a92be9384b5a4a6a8db05a975271bf6efb8f2479b56e0c0f97dcc7e662c727281263ad9914630cc51b5065f7e52a84 SHA512 a2f5a128f150cbd9bcf9325571cd016612ac981809515b82ee539d5b2781df19ba98018f43abdd12292074216a74a55a6037182082c66575e1ea501280972dd4 -EBUILD astroid-3.0.3.ebuild 1723 BLAKE2B 3bb5cf67eccb15bfb4fa0715294782b8182cb3b8bf650b0c08ebd58ce401aa09ede8d2f4212834ee9dca4d47f3d1be6e226584cb445f71caac5b7aa497876421 SHA512 e3e2e97a3c4bc0a097000a828c3b41b76132f6b9e3b933e252af677ca573de57fb48e8aa92c1c37d12c3f1e31d92e92fe7e0353f7b58c3488c076ec868d4072c +EBUILD astroid-3.0.3.ebuild 1715 BLAKE2B 9318a0de5fe42798679c0624a9cfd37752a92be9384b5a4a6a8db05a975271bf6efb8f2479b56e0c0f97dcc7e662c727281263ad9914630cc51b5065f7e52a84 SHA512 a2f5a128f150cbd9bcf9325571cd016612ac981809515b82ee539d5b2781df19ba98018f43abdd12292074216a74a55a6037182082c66575e1ea501280972dd4 MISC metadata.xml 1148 BLAKE2B 29a6cfc0c292117920be154d37ed4770f1fb1679186576fe6151cc02d1d6be766045e0231e2fceb87cbd250dbed3888c99b7ca7dc0182cc700a11961d9cd6d9e SHA512 6821d13f5e82bd73ee4fd165c0b4c94f40cd6af536dee1658cccb4175e67da2611c4d1478cdef1607535f23224116ad482197e0b0eef8f0a94d596bf250b3074 diff --git a/dev-python/astroid/astroid-3.0.2.ebuild b/dev-python/astroid/astroid-3.0.2.ebuild deleted file mode 100644 index 0ab49c935560..000000000000 --- a/dev-python/astroid/astroid-3.0.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/pylint-dev/astroid/ - https://pypi.org/project/astroid/ -" -SRC_URI=" - https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# Version specified in pyproject.toml -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -# dev-python/regex isn't available for pypy -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/regex[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=( - # no clue why they're broken - tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part - tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils - # pydantic-2? - tests/brain/test_dataclasses.py::test_pydantic_field - # requires urllib3 with bundled six (skipped with urllib3>=2) - tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter - # requires pip, looks fragile - tests/test_manager.py::IsolatedAstroidManagerTest::test_no_user_warning - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/astroid/astroid-3.0.3.ebuild b/dev-python/astroid/astroid-3.0.3.ebuild index c6b1ea193459..0ab49c935560 100644 --- a/dev-python/astroid/astroid-3.0.3.ebuild +++ b/dev-python/astroid/astroid-3.0.3.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" # Version specified in pyproject.toml RDEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 03753d69798a..283d6601c8db 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.34.34.gh.tar.gz 771553 BLAKE2B 52459e1baefd7986256bb6c89074aac365fb14c8fdd1b04a79bc02b6722e1e8e5f0d59b426e519947ab1795d12defbde2768af97dd3a2cdef576fdb535422567 SHA512 d0d9c47550aeb46aa3095d08583931d79fe38da8498a3ece322d7dea07b25c3569f7b44ed2afdb53cae98e4e3c337e8bb91a87c325d88798488e6ba87c73d9cb DIST boto3-1.34.39.gh.tar.gz 773491 BLAKE2B 69256649eb3bc5a856adffe4fb1e0e3f1e14e9a8ff557a9c4a4a8009bc0b8483555e9350f98656d3088c271152db199201c2739e4860fbc0c63810e19a13eca4 SHA512 88fb84a97c072f3e1719116d10dae2a8a840f495aa89f42f13fb105209d0d098390cbdbc443811ae78a684735fa571dbe66bf10c0e53718e783a17de36a18197 DIST boto3-1.34.44.gh.tar.gz 775883 BLAKE2B 97648819e48af3bbdec76ca47f5532cf9f0a99845f90515cbc7bec02bd5cc04ed5cc842b55cd589a8fb1cd8852edf4d12d3e8a23320e23fd4c5920854ef588d3 SHA512 310689dd7fc3a08c3a8ed6e223381870f028ee07354f74654abafc893f8230fee82bcd136c9e04a675a06bad496458f6778e6d571e75f6541130b3e06cdf324a +DIST boto3-1.34.45.gh.tar.gz 776142 BLAKE2B 0fc27d192ab356e4dad6faaf6ed33d32b728efdbfdb4b662db1269de8eaac7b8f966b45167eb29c4f94abacfe01173f71eb792df2dea9f03d10df6e7d7753406 SHA512 ddfdd97643dbdf139783c03625b8d4d652a4d83c485a1c1cdba9b09fc214f8ff5ed75f51b5498449ec3c69f69c92127ad6ca79a8db8e951e528d6cabe3d57ada EBUILD boto3-1.34.34.ebuild 1258 BLAKE2B 7f7ba2672f66400a4c2c202847d4bc7b57a0941b51f4f2f725475c38b6092c6a89687476db8bb701688ff47ccce491ffc435968a407ffc30ef860747573a1f43 SHA512 aebf347c928b4364a045a4bfb20edad39f9530fed5dfeef6b7e684feae0a146b71aa53cbb49f0b79e89671b97402aad447e6971df74ee44fef523ebad23f992c EBUILD boto3-1.34.39.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d EBUILD boto3-1.34.44.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d +EBUILD boto3-1.34.45.ebuild 1265 BLAKE2B ba7f54112a52fbd951c886d41b7deb5820caefe05c87f7cdf2564e8cdab75359bd0dcde93be72c588c3422ef1b69043daa8d9ffee43da72efcc9e522814396da SHA512 0fb5d2d3bd9f8fd424837df59aaaad023777459818141a3171f747bacdae21f81cac690da36af13123f20acf5a46d6edb90f76afe0773915526d4a816dea510d MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.45.ebuild b/dev-python/boto3/boto3-1.34.45.ebuild new file mode 100644 index 000000000000..b64e7191fd19 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.45.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index b74b9668bce0..bbc2e7cf05e3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.34.34.gh.tar.gz 12682925 BLAKE2B 514e6946558d1014371ca7ae4c76614b9714e0444e65f9606abe059cff1e1c467e81d913dad849ed9468a557499daafbdb19bbabef7ef3ed1f45607afa1f545a SHA512 4bc0bc57f4b29c461cade471e18d0f04ecf081a33bf966d80ab09832e0a5af2c08808b9fe72be9ea6a04b37e8207cdf38e43ec588c38ab9546740863e7a206ba DIST botocore-1.34.39.gh.tar.gz 12697404 BLAKE2B d8670c591c06cf5b02562adb234225dde1da6a805d40f314ea7e88b8dc532dc9cb3bff80255aff8798137584a8038b3747e5dc428fd0dc20def923c9a9953a5d SHA512 e5091955cbaa838365664458e71e77ecc4649e12995735a367ea007bdf5e10b41e4009afa8c3832f88a6c49888091b7d668834f1e5edbd64298d88c4eb8f3f1c DIST botocore-1.34.44.gh.tar.gz 12716767 BLAKE2B 335d59ae57ae5a5a1bdb44c3e196dff18cb24dd4a4d3beb59e7b8e887d5cc56f0716b2e4fead0c9a4c96978d661308fb0f1e045300e7af69c94ed799bb25a2ef SHA512 12893173c0123711f496448e661bb8e463fcc29ac95c500fe427e2dcf9810659b92de1d38ec3192e1e20a92ca01a5315733f34d0ffe61f2c9b69763e427ee96f +DIST botocore-1.34.45.gh.tar.gz 12726866 BLAKE2B c5095199626afcd7d83ff62623593f1863aa068a05347adcc738b1b168e8f0f224d6370bd05f71f8fa72dd0f2180067016d37956b332d6cfa42ea5e68c4d9bb3 SHA512 2aff40aa39a431bd9ee99ee30e136051e2b9039dc2bbdd6a36bd1108e470f6dbda5ad23534b9b148799b27d4c7eb0806698ae2f05dbee94a6ff6ee3fe087dcf1 EBUILD botocore-1.34.34.ebuild 1404 BLAKE2B e623aae644025f8c9e2b2b022e7fb73f8056721c99c2f7c162e02490965914886c7702a4732b4b5bead3a2d893ee6a6ac8bb8a3e53d88392dbfc98cfcca3bf17 SHA512 3d33cfb86c8f0fa62c07600d218f5210a5fddeec61aea75fae75297e457a7a1e1844126e73a81cccb898155c4d9a01d415db13259f4de3407f3a7452ed8d6494 EBUILD botocore-1.34.39.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.44.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c +EBUILD botocore-1.34.45.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.45.ebuild b/dev-python/botocore/botocore-1.34.45.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.45.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest index cd6e9c3c4f53..556fc93f22a7 100644 --- a/dev-python/cbor2/Manifest +++ b/dev-python/cbor2/Manifest @@ -1,6 +1,8 @@ AUX cbor2-5.6.1-cext.patch 1256 BLAKE2B 183cc230018447f40b3bd47183e7079a12f083dec569e6f3e88102b0f1a15aba02ca1034091c685119a2b37cc4cdbd63c31b21382c1527d590b2c5ad19e2ccd4 SHA512 129a8ce4e8e2bddf9180e760002ffdd534f0a6b695027b150c7725aa83f7c40a065e214fa385da9a23faf2256b64e4705deaf49a6fe32e01e83ee9c006b3d394 DIST cbor2-5.5.1.tar.gz 94221 BLAKE2B 651d229c9a4e5fda2ae61302f8bd72a165f15e008333525a301f2fc94dc81259698f4ae9b8c1f3a0b5fadffadd4d55f2ba4bf1445938a10342997bca64ceba31 SHA512 7878b997ae5bdf44cb04b7cef8445a94f11c1722819ea85073bd56f99976cf2c1c1180e72d9ae9cd7dd7d06a6aa55dc1cb3f919a869098a9feede210f8355fb4 DIST cbor2-5.6.1.tar.gz 99268 BLAKE2B 95a310c6fea00f90ba512d836691ab8fb75ebb9f6b59ca0698b7f97d2c969d2f8809ed2717c48354812f309856a35873c96571194dd86c48a225696b27ec806f SHA512 9ddf2c3690780816ff50ff4ed371435ca45b597b706254c37c9f01d1f1a699892e2c945a72e69b5506a803c41692f399b58b4e32d9409a0197c677e537e656b2 +DIST cbor2-5.6.2.tar.gz 100016 BLAKE2B a0a71f40f39ba86c545e5f8462af74e17b6851d350f0c9831be2ac414216437021150d0d7ddb481d62454d5ff73b99ccda7ae0676fd6d53b7e3228616fa0042d SHA512 da98aaf17b17b50bdfc4dbecc1e88e70ed6e99f26e9eb4124de0e92ea2d63f827cee3da83c9aeba1af386cf5a7e95d76be30c79b0a8fde7d53ee8c203b2119b9 EBUILD cbor2-5.5.1.ebuild 1062 BLAKE2B 13d3865fb6e82044d578bc30b6328672b7636756fc9db0b0f854c4cdac1db3cf74962024b6169d2e197e1e350085afd90f429b5ec83bbaff0c6a364dab964287 SHA512 cb6c47496f474d46934aaa14941a49feef5768a932d6b7e3bb4e353cf0e8db000d55a72d604d2bdb0d819df031daf9bb39aa03b511e0f7275f2c4b8c3fcae8c9 EBUILD cbor2-5.6.1.ebuild 1167 BLAKE2B 9263de4e221ed5f2baa53b5a6d8c110415ca6b2e087788198782d50063baa6c1861a55d9a2af2bb3f0f6852f5519fa72285694d292bdc9b917c26a211e437d0e SHA512 5341fe49a36b7e65e9d4973e256bcde6ee187cd94c9f00adcf2cc1cec9db3bd2943a3130a8e730cda5e0fae5fb7d4b66c7a008ebb3b632118300386e4990070b +EBUILD cbor2-5.6.2.ebuild 1067 BLAKE2B 586c29cf11f431785c107ebf4497e1620634584839d134b335822656d5af78601631f3f78881092789933c55899fdccbe55d3c8086c07dc779de1f1a2897bfb3 SHA512 d8aaa4c7ea558bb6ca33d61a32b73d3cb662309163a0a0cc477493c4ca2371e70c15f7bf7f6a107ef468aa76baac03fe83dd6598b407945edfab06fa5e75d72d MISC metadata.xml 1036 BLAKE2B cae01cfe0040332893e0ca9e4c5da81bf13d9a76f83a3cc24a63b0309bea83ba2ada3aeea7980837316d92a5cc176a7925cff5c4468500f68d561dd14131dd55 SHA512 1f42c1ec255c7687e66fd350e3353cf2168f654075b710dab89f71e284691beba52def321ab471accc5eaef2df1bd3561150faee1f1dc3c739843e64c49f7f21 diff --git a/dev-python/cbor2/cbor2-5.6.2.ebuild b/dev-python/cbor2/cbor2-5.6.2.ebuild new file mode 100644 index 000000000000..4d83e1c675b4 --- /dev/null +++ b/dev-python/cbor2/cbor2-5.6.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support" +HOMEPAGE=" + https://github.com/agronholm/cbor2/ + https://pypi.org/project/cbor2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+native-extensions" + +BDEPEND=" + >=dev-python/setuptools-61[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove pytest-cov dep + sed -i -e "s/--cov//" pyproject.toml || die + distutils-r1_python_prepare_all +} + +python_compile() { + local -x CBOR2_BUILD_C_EXTENSION=1 + # pypy3 not supported upstream + if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then + CBOR2_BUILD_C_EXTENSION=0 + fi + distutils-r1_python_compile +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index f4766b3f8674..fa4dd67dbcd8 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,9 +1,7 @@ -DIST cfn-lint-0.84.0.tar.gz 3890781 BLAKE2B 160c8f29f2551c0885d784d725e5e7077aaf162b13f8bcbe8f04c2f6dd939bdb22166ebc3fbba6ba71b0ec68356f520ae1968a447a7a24082eb85271c684aa1b SHA512 0e783c6c2fc590ce59526da887a3bdcc2f8c55e6d5d6e11f49df82c72d387a18abbac545b861bf806e829080b7be6da00d948d32769396b6730570ab4bc23f7a DIST cfn-lint-0.85.0.tar.gz 3875659 BLAKE2B 64bbd4ba0dc153b78da40588a2d0e9f34feafcf17b7262b84f3c3e0a98ecc6cc7b78152dc829fd2bcb3f3c3fe601fdf217111bd5a11d402a3b70ceda822206f7 SHA512 b7d65fb360e8743f08ec2feb451e6dc6cbda62c0850a954e5beec8d6a2a6bee2be2dddee36f262f571e5e9838deb7237895a3020b951686423315f5914f82d67 DIST cfn-lint-0.85.1.tar.gz 3875240 BLAKE2B 40ea81dcb938648c7bd772e8e4ad751281488048a9718a0bedef299eb32f0b9776ad4529a1cb724f7e7cc41d249c8555c8f72eddb146d940e227a6dd90e0b04c SHA512 4936facb73fa32745fe3915accee00c82135263fd6f05ae08d6540b97f53d13047631cbc39c580985c1f574f3cb6bb9b91c2805b6503ba20499cd997dfcbf677 DIST cfn-lint-0.85.2.tar.gz 3887432 BLAKE2B 3ae9f84d977c576b8051226b73960c97d568c5cfe4aab2030b753abd6e25b39ff2d7f2265e1edca17339ca35658808d00805ce95d3f155b395e3ed3cd84c0bdd SHA512 7c28a8f9771cb38087d30425340b95fbec637c7345cdd2c6ae2f6dc6f550cfe0b3f4cc53a60625767b40850bbf29859370cf89185bdd2a1de59a64aa43c598c3 -EBUILD cfn-lint-0.84.0.ebuild 2065 BLAKE2B 305971d37a07127cd5b530ffe937c7ef9096d5aa52b9a2124f7cfb054c8ebe9dda1430937bb8ca7d05ad3070420ce3d6927debc4163fff3ccd6723f55e2a633e SHA512 cd0aaedadcf8e9e4f0a0711bde52d223a5e88d7ac08a293acbe4ff22abb13abb80d099aaf6cf1e48bb5b6b27c05be8a993088e3c98c42eb430643f748d37b5c2 -EBUILD cfn-lint-0.85.0.ebuild 2068 BLAKE2B c25c0933d27f785f1f98ee0a9040a36e25b369a4e67bcb47bec188bb303a2133755ad081b8fb52a0d86ed3ee59e7a68c8e99cca9b1a76f1d26ece4650be8635a SHA512 dd483335192e786b1d994556b7070d5ae7c8f0e06f3749496c07b763e28c41a3ab310f2a8972c0e39e288878fefca7b98d009a5ef478d77e07a0bb71502229b2 +EBUILD cfn-lint-0.85.0.ebuild 2065 BLAKE2B 305971d37a07127cd5b530ffe937c7ef9096d5aa52b9a2124f7cfb054c8ebe9dda1430937bb8ca7d05ad3070420ce3d6927debc4163fff3ccd6723f55e2a633e SHA512 cd0aaedadcf8e9e4f0a0711bde52d223a5e88d7ac08a293acbe4ff22abb13abb80d099aaf6cf1e48bb5b6b27c05be8a993088e3c98c42eb430643f748d37b5c2 EBUILD cfn-lint-0.85.1.ebuild 2068 BLAKE2B a5631cee6166ee08d9f524e5fe424b0b508562502d4106717f2ab45498e76580499a1c803c21f9aaf6755a2e0a1d83e4ffc2f3cecce24f406bc7509f08921862 SHA512 3a26d788c1a77525a0f7bbba708262407a8919cc2f233fa1dccb829a34d6f16cbb7aac13899924e2f76f9b36cbe9baec570515d7859b36f78ad3cc1bf5467984 EBUILD cfn-lint-0.85.2.ebuild 2068 BLAKE2B a5631cee6166ee08d9f524e5fe424b0b508562502d4106717f2ab45498e76580499a1c803c21f9aaf6755a2e0a1d83e4ffc2f3cecce24f406bc7509f08921862 SHA512 3a26d788c1a77525a0f7bbba708262407a8919cc2f233fa1dccb829a34d6f16cbb7aac13899924e2f76f9b36cbe9baec570515d7859b36f78ad3cc1bf5467984 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-0.84.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.84.0.ebuild deleted file mode 100644 index 1adaf13686d1..000000000000 --- a/dev-python/cfn-lint/cfn-lint-0.84.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -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.83.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${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-2021.7.1[${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.85.0.ebuild b/dev-python/cfn-lint/cfn-lint-0.85.0.ebuild index 237b8f7087d0..1adaf13686d1 100644 --- a/dev-python/cfn-lint/cfn-lint-0.85.0.ebuild +++ b/dev-python/cfn-lint/cfn-lint-0.85.0.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.83.0[${PYTHON_USEDEP}] diff --git a/dev-python/docstring-to-markdown/Manifest b/dev-python/docstring-to-markdown/Manifest index 2c1273f1e19d..58ad46c91246 100644 --- a/dev-python/docstring-to-markdown/Manifest +++ b/dev-python/docstring-to-markdown/Manifest @@ -1,3 +1,5 @@ DIST docstring-to-markdown-0.13.gh.tar.gz 27375 BLAKE2B db68b5c90ef46a765baa41b5d3e286008cea3602d397d246c7ae3907afabf387c2b551affa3f39102fb0d2ca1479126051f49163918fa5c1cfa503ba6c40c107 SHA512 adaeff9c9c4359889757e80d91cbca1c85c6aa888b66824802828d247c09919877e416367f7334db5c944312b3c3468256c159e598c837718806f314aa11b8db +DIST docstring-to-markdown-0.14.gh.tar.gz 29619 BLAKE2B 5aa56a332408c7945cda35255b71096f4fbe2981a4496b90abd31f1e642b4daa80a76eca7dec8efb3e4b95ee4531b8438f66a55e319dc928d31ee79743336a61 SHA512 4317357ff0046e2d3a3b9a43c779dcf66a3dce473d9a9d21d9ef9b23ac7949e85e9fbb2408b58836706bcd099f63018be4907d2af773dbdf7ba944caab1ceddd EBUILD docstring-to-markdown-0.13.ebuild 756 BLAKE2B 0c296572fc8be3ce675e04b556c9bb2145038b43ada097196e5defbd3afe91d93003872dc5956fccabeec2ebc2d0cf27c986e81236ac4545a1fd8556ed3e4778 SHA512 ecffe8f2b582eacaa7401c08d8fda752fe606bc57d0074e87797eb1e9a66877b90405f380601e07eb12c9ca1135f03c18762574ffb41eaaa5df69b20c42d808f +EBUILD docstring-to-markdown-0.14.ebuild 759 BLAKE2B c2c3e4e03eecf64a67214c28b2dc4fb18b01cc9bb3d364176d72497ff774e792e5cbba87c3413fa29c90affbd0dcdb41f18e2c39944b665e38e0c0cb7bd791fd SHA512 a8478e6bef0a65b74185a7786fadf229b3c40404db8430e64eb538ef379bfd4ea59e60fcab5c1409dd98e97e8125f440c7733d20415195e0b7a555a72ed81579 MISC metadata.xml 421 BLAKE2B a6bf8b83336e2e1b67af703c3ddc6d68a5ce94a3477902a9f6d7d35f8a5635cad265365820548959ccf861a14c1c24d5bb2fd934a6fc297ca20182b5686c3ec5 SHA512 952b36476833618a51a6c05181213fb8598237157e887fb81369084db327fc360e827ff2393e00f99141efa2256ea0701ca17005ddd337661a6d9e8f81fd3494 diff --git a/dev-python/docstring-to-markdown/docstring-to-markdown-0.14.ebuild b/dev-python/docstring-to-markdown/docstring-to-markdown-0.14.ebuild new file mode 100644 index 000000000000..4d111a767604 --- /dev/null +++ b/dev-python/docstring-to-markdown/docstring-to-markdown-0.14.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="On the fly conversion of Python docstrings to markdown" +HOMEPAGE=" + https://github.com/python-lsp/docstring-to-markdown/ + https://pypi.org/project/docstring-to-markdown/ +" +SRC_URI=" + https://github.com/python-lsp/docstring-to-markdown/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +distutils_enable_tests pytest + +python_prepare_all() { + # Do not depend on pytest-cov/pytest-flake8 + sed -e '/--cov/d' -e '/--flake8/d' -i setup.cfg || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/ensurepip-pip/Manifest b/dev-python/ensurepip-pip/Manifest index 9315cf144eaf..281878b1b1c0 100644 --- a/dev-python/ensurepip-pip/Manifest +++ b/dev-python/ensurepip-pip/Manifest @@ -1,5 +1,3 @@ -DIST pip-23.3.2-py3-none-any.whl 2109393 BLAKE2B 278b9941f93951508ae2f508b1b5a9fddd4ca11fac1d5b0c2ac994f8e8457226a4e8c4501078776476e0bae56fd82b989ebaf4f5f484ffe7b0ee79789e34aca8 SHA512 a1449fe400787f73ac26cb48acaae71208a2e696f9ce4992b44e11da29646b018c2f6c27a95b12e42531236fe658e0605e20d5dfa740c43e005c01da3db802da DIST pip-24.0-py3-none-any.whl 2110226 BLAKE2B 6a0c8c9796cd574ef1d709de40a8530a15e50158143e332b79e5ad3edceda6ce93c5ef4df49b169062598618dcc6967c2115ac2c10b05abf345318204f1eeffc SHA512 5d7462a584105bccaa9cf376f5a8c5827ead099c813c8af7392d478a4398f373d9e8cac7bbad2db51b335411ab966b21e119b1b1234c9a7ab70c6ddfc9306da6 -EBUILD ensurepip-pip-23.3.2.ebuild 645 BLAKE2B d761664589da3ba0fb44ca1b2561916feb7a8b9b29478eff1f5fd2b0eaef46e1543f5bb9d11b56d8eb6a9a01a3bbbe0b51020e9adc6fd0a0149a9e249b4cf87a SHA512 84d9e6a945940cd614b9a458555f55e5fefafdb746587a33161359e4cf72813bb23885069745196fc6476b0331c7c5e1280f5979f985790dedb71bab2139f9d7 -EBUILD ensurepip-pip-24.0.ebuild 653 BLAKE2B 480b6e624b9f00f1863dba43ff47a53d454b570b2715301c560e66380b658129a5bd630a40746aca173f4813b4227eac96f1076c3fc6e5fdcad8aacd6bc39f86 SHA512 168c500efb22504acbae0923000e822a4ae5bcf10157b60088649e952838017050e452b784d97f774b3e7c739d5c8a30c23593f8e8519500878af069b6ffd7b7 +EBUILD ensurepip-pip-24.0.ebuild 645 BLAKE2B d761664589da3ba0fb44ca1b2561916feb7a8b9b29478eff1f5fd2b0eaef46e1543f5bb9d11b56d8eb6a9a01a3bbbe0b51020e9adc6fd0a0149a9e249b4cf87a SHA512 84d9e6a945940cd614b9a458555f55e5fefafdb746587a33161359e4cf72813bb23885069745196fc6476b0331c7c5e1280f5979f985790dedb71bab2139f9d7 MISC metadata.xml 309 BLAKE2B 197e5620aab85ff590270ae6838c9188cd699943af4c9c3eeb7de92c2e9390c082eec603e63bc2bba39477586f19e58da2e5fe2d5ffe9b59b87ae5386c939df1 SHA512 c678bc8fb62f6e6850939ebff56962503bb03393572cfff7e5f7d38e8cf5ca71d8e38e402355c5f963fb718eed24bca463d7c63fede5cbb550f6f32a9c06af9e diff --git a/dev-python/ensurepip-pip/ensurepip-pip-23.3.2.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-23.3.2.ebuild deleted file mode 100644 index 724559d6532a..000000000000 --- a/dev-python/ensurepip-pip/ensurepip-pip-23.3.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pypi - -DESCRIPTION="Shared pip wheel for ensurepip Python module" -HOMEPAGE="https://pypi.org/project/pip/" -SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" -S=${DISTDIR} - -LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - !<dev-python/ensurepip-wheels-100 -" - -src_install() { - insinto /usr/lib/python/ensurepip - doins "${A}" -} diff --git a/dev-python/ensurepip-pip/ensurepip-pip-24.0.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-24.0.ebuild index 85e9351f85b0..724559d6532a 100644 --- a/dev-python/ensurepip-pip/ensurepip-pip-24.0.ebuild +++ b/dev-python/ensurepip-pip/ensurepip-pip-24.0.ebuild @@ -12,7 +12,7 @@ S=${DISTDIR} LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" !<dev-python/ensurepip-wheels-100 diff --git a/dev-python/flask/Manifest b/dev-python/flask/Manifest index d9bfdfca49d4..e9c3f24e9d2b 100644 --- a/dev-python/flask/Manifest +++ b/dev-python/flask/Manifest @@ -1,5 +1,3 @@ -DIST flask-3.0.1.tar.gz 675138 BLAKE2B 974eda07aa3c8d679495d34ac0d3c64a5aa2318c8675a52817068c2eeb3b90c7da07800230b18df0767329f15670b72ed4fe8fa6e4737ad00e842cdd9aa77adf SHA512 ae1f191b965b548e6f390b61ea1219b3399f773a1667d28aef63fcd4ab0f82d3eac9a430be43488ea01aa82a12d5677b3f6a5a48b8cce6c7204bf386d4c3f6f2 DIST flask-3.0.2.tar.gz 675248 BLAKE2B 137e09ac0f3bb9d027f2c8204769ae98ae5b9992f6126961208a875efb8d450abec471859ab0341120356c9b61238700f0e918da867d7265e31e73cee3a242db SHA512 02f937dae7d654f6286eb9fcf2d68d83f3ef56dbc4d59a961ea1bd95d17fac7a5ace3f27ebb03ff0592f6a87361e59934ffda098714fc8a049a487d4c0bbc0ef -EBUILD flask-3.0.1.ebuild 1368 BLAKE2B 4656431ec3eaf18134e9150b7589b4344c628cb689cc68476773bfad9a1dd751db1a26fc337f7172baedd0cff30a838bcfb0b01a2d7418b79bb8e8bc9974beee SHA512 6fab4f186aef375ea25f5310a828efb5d38d53fba6a7def75dab9b99367b1166a206c28f487156ccb738c5b7bb83c0cf88db6bc833cd39393301906eafdaa261 -EBUILD flask-3.0.2.ebuild 1376 BLAKE2B 67626dde4c5d8307e19cfcb51eb3e871f61657ba81a7c94151be7e8ef59d07333f97da4e9d9078ec633c075c222bf7d3ed1daf8458ed35917dada1771ee9d28b SHA512 89a4f916a58ace46e78bc0cc89b8642359a9939e50b6f2ed36d01ad79bc1be22ac90d3f36b053899c1dab9cabb52209b8ad201334995bc8f208d78afaa79adfd +EBUILD flask-3.0.2.ebuild 1368 BLAKE2B 4656431ec3eaf18134e9150b7589b4344c628cb689cc68476773bfad9a1dd751db1a26fc337f7172baedd0cff30a838bcfb0b01a2d7418b79bb8e8bc9974beee SHA512 6fab4f186aef375ea25f5310a828efb5d38d53fba6a7def75dab9b99367b1166a206c28f487156ccb738c5b7bb83c0cf88db6bc833cd39393301906eafdaa261 MISC metadata.xml 386 BLAKE2B b449c54b966bc8943f7b7b12d6126867a89a2759eb749c08f7ad53a174e93ecad07f09b5e30c8562c63ab05df75a82e2f48f550ea8cf3a546f5afc2eef5a896d SHA512 123334db31948046e47f3cdbe0237cdec3dc2207485c8243d1e34e065436995423b6a89909563a6158741a8cc62a7fdad95923870a7114cf69e58ef715e7ec5c diff --git a/dev-python/flask/flask-3.0.1.ebuild b/dev-python/flask/flask-3.0.1.ebuild deleted file mode 100644 index e59b6ec1d32e..000000000000 --- a/dev-python/flask/flask-3.0.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A microframework based on Werkzeug, Jinja2 and good intentions" -HOMEPAGE=" - https://palletsprojects.com/p/flask/ - https://github.com/pallets/flask/ - https://pypi.org/project/Flask/ -" -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/mitsuhiko/flask.git" - inherit git-r3 -else - inherit pypi - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="examples" - -RDEPEND=" - >=dev-python/blinker-1.6.2[${PYTHON_USEDEP}] - >=dev-python/click-8.1.3[${PYTHON_USEDEP}] - >=dev-python/itsdangerous-2.1.2[${PYTHON_USEDEP}] - >=dev-python/jinja-3.1.2[${PYTHON_USEDEP}] - >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/asgiref-3.2[${PYTHON_USEDEP}] - !!dev-python/shiboken2[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs \ - dev-python/sphinxcontrib-log-cabinet -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/flask/flask-3.0.2.ebuild b/dev-python/flask/flask-3.0.2.ebuild index d356436274d9..e59b6ec1d32e 100644 --- a/dev-python/flask/flask-3.0.2.ebuild +++ b/dev-python/flask/flask-3.0.2.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else inherit pypi - 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" fi LICENSE="BSD" diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest index da83bbd80da7..0848cf51873d 100644 --- a/dev-python/fsspec/Manifest +++ b/dev-python/fsspec/Manifest @@ -1,7 +1,5 @@ DIST filesystem_spec-2023.10.0.gh.tar.gz 404845 BLAKE2B 6c8cf801664c9fc848cb55660db1725c90facf534d58e49f604b2051d1b6a78d13d8f083282071beb7ab3dcb8d75f6d52fe24ce744c5cf1808b4ae3cb673998d SHA512 cb449052208516930c73dbe1de7c495d252677a3d3d85267836224d79c1b8cf9449ebdba8287f6f6206d5a8e631a99cd81c2fb62b82288a626a202876a45139c -DIST filesystem_spec-2023.12.2.gh.tar.gz 409321 BLAKE2B f074d8d3277a954bebc29bca663d142763a6b9f13edb43286b1f59aff125c9eec0ae18cfa44b99a35daca7a9bf89a627c9abe57cbebe713ac494ca98f61899eb SHA512 654ff72b9c5ca648d4a4b469b4f3706b3200f023e26b657e3200dee301469da6f67c93fcfaa82edae7c7b074fe77715d0093269a38ee68416cf8491203bde5cb DIST filesystem_spec-2024.2.0.gh.tar.gz 424600 BLAKE2B 548f77229dd936437cbafcd4e8df2a5c25e6244ba5c95553cb84eabbb6d8c2aa16313896b4aecbb6c921d01f84c6c5517b13a2cf1552cac0fa29da8034873143 SHA512 ca8c7c448984ecd9b128608f2c028cf32baf3cda3f22addde80c3bef5c1e5644e010b739fb5d28dc951151fdafb4006def080e8c2c769179b1d145ad6e2f9370 EBUILD fsspec-2023.10.0.ebuild 1708 BLAKE2B 43726784283ca374e767b17e8a0a7af4ead8d161aa0a7f5c56af859eea7d3bb36c0c75d39e2ef4a59846e44d97354ac74d0cea0af7f705f38cd6e8dafe037bd1 SHA512 9c8501b00e7d150200a6540492f98d24f7ca02f389eb7516294984df50c39c065bad75957907c45f2fd156f4568046f33f317b5909032ff736b12f1862a70d43 -EBUILD fsspec-2023.12.2.ebuild 1864 BLAKE2B 1ab257d1015b2cd39be95f6370d4082b1800677667569cef6e269b57c4756f5f931387c31c9267c18dcfd755a3478726e06302b01266a077b0432a2c7393b471 SHA512 0b1adda11b7f1ba26f755f4d4d131eb50e98cac476401d1017ca327e0b6eb678e4d49c89fd4f25b5af14c27a58d46de3dfe410ef8245cae91142b0520beab5b9 -EBUILD fsspec-2024.2.0.ebuild 1867 BLAKE2B 3dcc46a24b0d5b8ba7e10e75719df33974fb9c021df2216080e446f0690c2874f8a006c87bc927bf3662e9aaf97447876695885419672ff413ede9e7d6db1aa3 SHA512 d7d1f4a35239f5b75bf347492a1b6e3f5859994f4e77b3b2289850293542a08b77f5f8f2983450684985426df7098c6215fcb2aeb41ee36589e3c7c4ad05411f +EBUILD fsspec-2024.2.0.ebuild 1864 BLAKE2B 1ab257d1015b2cd39be95f6370d4082b1800677667569cef6e269b57c4756f5f931387c31c9267c18dcfd755a3478726e06302b01266a077b0432a2c7393b471 SHA512 0b1adda11b7f1ba26f755f4d4d131eb50e98cac476401d1017ca327e0b6eb678e4d49c89fd4f25b5af14c27a58d46de3dfe410ef8245cae91142b0520beab5b9 MISC metadata.xml 374 BLAKE2B 6c0b18a0ad3b85713ae6f618ac0646ed63f08549bd7d1ed5bd94b80d89d79efaf2f97ce913a0a7d6e54e77cc602994416520a22deadcc71e484cf7ca22bc6dde SHA512 5bf051387d6bcffb3022d023f60ee8f76ca277bb8d626dda988a0baaf1d1e3a71e872d8316607ee7e269e579b5a17c23ab93c56fade533150171d3ce44e4bb71 diff --git a/dev-python/fsspec/fsspec-2023.12.2.ebuild b/dev-python/fsspec/fsspec-2023.12.2.ebuild deleted file mode 100644 index 5838f67c5f3f..000000000000 --- a/dev-python/fsspec/fsspec-2023.12.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P=filesystem_spec-${PV} -DESCRIPTION="A specification that python filesystems should adhere to" -HOMEPAGE=" - https://github.com/fsspec/filesystem_spec/ - https://pypi.org/project/fsspec/ -" -SRC_URI=" - https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -BDEPEND=" - test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -# Note: this package is not xdist-friendly -distutils_enable_tests pytest - -src_test() { - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - fsspec/tests/test_spec.py::test_find - # requires s3fs - fsspec/implementations/tests/test_local.py::test_urlpath_inference_errors - fsspec/tests/test_core.py::test_mismatch - # requires pyarrow, fastparquet - fsspec/implementations/tests/test_reference.py::test_df_single - fsspec/implementations/tests/test_reference.py::test_df_multi - ) - - local EPYTEST_IGNORE=( - # sftp and smb require server started via docker - fsspec/implementations/tests/test_dbfs.py - fsspec/implementations/tests/test_sftp.py - fsspec/implementations/tests/test_smb.py - # unhappy about dev-python/fuse-python (?) - fsspec/tests/test_fuse.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_mock -o tmp_path_retention_policy=all -} diff --git a/dev-python/fsspec/fsspec-2024.2.0.ebuild b/dev-python/fsspec/fsspec-2024.2.0.ebuild index 68c6f4a4b1af..5838f67c5f3f 100644 --- a/dev-python/fsspec/fsspec-2024.2.0.ebuild +++ b/dev-python/fsspec/fsspec-2024.2.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" BDEPEND=" test? ( diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 66516eb99374..bcf0c98149cd 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,29 +1,5 @@ -DIST hypothesis-6.93.2.gh.tar.gz 9415414 BLAKE2B cbd0d0dd1cc737d6e8587c888b255220adffa5b15027767cede0a29abf7343d94259da45c772f00fb976a5dc0baba5c00761993cb9cc70fdfc7489c9c02d0ed1 SHA512 b981f2781bc5e2f7c7e340fee22fd5ab3869154488a70518dca7c179636fa906fe64ff706f828df09a42daad4d9640a037b534e657d601d0a78e059ac6ad146a -DIST hypothesis-6.96.4.gh.tar.gz 9422075 BLAKE2B 0ab12a01c8d714490f3785ac01779c69d0dc5f31bb3c85be3c1ff9831c1b2392f19ec45adfd40f334f20d48b3ad1300d38ed2e49ca318f17cae36de44895bc3d SHA512 8cbfbf36c7e1e56c31b58aadd9e592672430492eb7c7fb570d4e1277df3e0dd83f76ef39e27e0c644e38c3bc35c993b79d1e6687be73c0780fa36840b4a2baec -DIST hypothesis-6.97.1.gh.tar.gz 9423481 BLAKE2B 6a52bf6a970bf8056284baaa21aa63fe85c289f4c7e856860eff39f82eab82b401360953d165e795db2b45c99bba16a28518328db052ab3eb2185f2c4b61881d SHA512 2334e23e3056c478c5288e1726ca6feff968caa97e2c6b3758fc62c54636d7026ea2d5e906a7e3d8c191a9d911bf9050f082ba9b42b78cffd5129f01985ac248 -DIST hypothesis-6.97.3.gh.tar.gz 9424749 BLAKE2B 4d7f2b1f9e37593006c5be8e66918a2e20cf611664f0399bca32e97d2a5ef036a0e64c9c45bdbd8bdd385bb8e07a6a0d7a396135db826a59d223c9e87baab483 SHA512 2cf6f92f6fbd244e44b4e02415ea983d15113b2a89d4222e8fb215b555f87442d7c4ed1b6da33f1ac9189df274a6a61d222a0d4e78cbb418f6c80f8ba4591051 -DIST hypothesis-6.97.4.gh.tar.gz 9425209 BLAKE2B 7e6065fc988f5853f1da3df712d32e7449ba6336af9caf6732a391ed4dc9fbc5da7fcf834cb068ad57a106f451cd61141417d9b79048c8e746a6b4550bad7f65 SHA512 a4aaa4fc3d753401620e234e27b0b269fa2bddd039345df0463600c6cbd5b38f6a09a9a01c322e08ecf7c9f27c881501403f2ec083497c26d512e5ffd41b7afc DIST hypothesis-6.97.5.gh.tar.gz 9426065 BLAKE2B 2aec769268af7392f71c0ec7d12defad4962bd56597cb68ca0edfa81dbf28ef7d865b26086b75ee03287c82a0b2c0273a55bd6872b188728595fe74198130dd6 SHA512 d9f2adc51ef3b7fc331d3dca1b69a9464a2bc73298747f3732b8b4621237284ac60a50b927b57a047a155e0d94a3ee2974bbef2c9cf9112080e9098fba3cfc7f -DIST hypothesis-6.98.1.gh.tar.gz 9438665 BLAKE2B c2529e19b8ac039db334a51b33e0552f4acb92ae49b6bde5e26913b4ba7781e82a5ba4cfd7fba2a3ed5442d1bd8f0c2b2d7878ba86eff1276e590a412856811d SHA512 aae7f7c03af4667b0d9993a1b911076fe4d1ce7d752295a7e9f712da4d33b1fd34e51d5e0cc11c4ac4c00e7f8fa9ac4574d0594e1a82ea67aa3e5a4e98ed1b71 -DIST hypothesis-6.98.2.gh.tar.gz 9438703 BLAKE2B e1c93ae8f428c95e5bf9d6d6364717378f12ad829b7754f8793b19342adc24c5c90f2e8975469b568378768c9e8a0dd39051b5cf8b1616a119c1531261f4f60c SHA512 81a6b919107a35825af15c2dea91c0010611bd0756172aae76be195b5751a58542a28eb8cecd02f79d43287d013b1dbadad6991ef3057adfddad95a1a7447a92 -DIST hypothesis-6.98.3.gh.tar.gz 9438865 BLAKE2B 7a15ec4debd2a93974aca75aad9b7b1858c6ec23dc4856ef2b4a84e9eb6e74a0aabd278070cd76b83c12e71144e0b613c33d00ab87d9b2dc85d713c7be7f56c6 SHA512 6ad4dfaa8ed54c090b3fcd2c8ee742ebf7f488dd156dcec4ee138621ee16143f520f660d6081fbe05d8f59f7dbef2b575128806a71ff7f793fc7b2d61bf9dc78 -DIST hypothesis-6.98.4.gh.tar.gz 9438902 BLAKE2B a5c560711448c301665a9c9d2f6106996fbf76d1fc3c3e8d67e053c94a59f462cb57ddb890b1dfb0bdd3569e1e6216d5fd4bcab10adf0ba0499caf84efeb3b25 SHA512 3f4496f48b3002f33a9324509463a4fbece7967f203a9b4a7e1a5bce557e296d0b335437fa590477e8e669b551618cd83fad2bc2478c443772399467f17988f7 -DIST hypothesis-6.98.5.gh.tar.gz 9422518 BLAKE2B ff79d5ddad7d1474ccc536dba4222e8ba19a5066011e532384a7b1e686b44a2e4bd48df107b6be868e40513ee691dc3d8d401ac22109f058a948c0eec1d5266a SHA512 c77714986451eb9992254734b5302979ea51e5baae769e57a1076dd770abfe7c61ce38be865552d4961d5a6f2ae3d7325888404265e92a106f2c2cdc177f624d -DIST hypothesis-6.98.6.gh.tar.gz 9423503 BLAKE2B b2f3f0be0767d23db33dc87a3adef42d26b15e09d493fa1be8ae817bb316691946eb97876d66e67ee8e78e9023a8b2ba977e19878d3457d8ea4a28a9b1df4d05 SHA512 435b41651935f25264126aa13c3c15801ec384f30b6e6f701e6eff29f07dd867eaed0eaca9be4182f043dac3146597c5567bcdd5e1cc3bc929065ca37eb495ff -DIST hypothesis-6.98.7.gh.tar.gz 9423646 BLAKE2B eb8869505917818f8ae1af14ade442678eb6a5424bf198a097757a3f22c0bb21aa4d9085c9fcddc2b11753e249f57892fd7ac2adf7b6cbd15bbce7e1bd836850 SHA512 2068ab1021c4bd030f6eb91a55c32c00da76e54dbdf5dbbc43fa28ac52120424a884b73add4bf2217fae60622713277b5f242ddd4dc63914b3417cd51ce158d5 -DIST hypothesis-6.98.8.gh.tar.gz 9426240 BLAKE2B 7275b5c56531804dcddb694a8123405c2f597b2a380df6942ef61e1deb3bbdd39005db9d2749cb3c7843f4ef762110c41ad6e07ce1bc1920a17920f070268fa5 SHA512 1df41a332c42e5faa6a3850f5b270a7de7e78ee7f257026893ee79d718a88297a3cf55b0dadc1b3e320b17bc0dfe4487f727212982a3de69a06bf0586d07b9aa -EBUILD hypothesis-6.93.2.ebuild 2461 BLAKE2B 343d4374955bed436ecb2533684eac1d2013c8b6c691bf72477a24c52e5caf7e71e61b67de8475c38e940a13b046ed07e8f2b188ad39c3acff8de4df3f7f5a97 SHA512 3a72f5c9f5c1b3787c37cd8830321a47a5c54c655c8b75fdeaa4b09c6c4db310914ebfa5cf631c2576e92e4bd56e106f745e25777b5f86cd7b0cc58ec838fa7b -EBUILD hypothesis-6.96.4.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.97.1.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.97.3.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.97.4.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.97.5.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.1.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.2.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.3.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.4.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.5.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.6.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.7.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c -EBUILD hypothesis-6.98.8.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c +DIST hypothesis-6.98.9.gh.tar.gz 9427046 BLAKE2B c3705e4c780b6e7f427943231ac056f343e70569e88391f118383e6d6197f72e744306476f2e1994e8a6d95dce73b93dcd49e8fa197149e532b84c91bce79594 SHA512 1e8a0dcefb8def8376a0ad6549a58dac66470941e4a3584ba82867f8779fd941c141039f631f15f134f7cdb3beb2ad1a19312d8e56c47db9ace0569f203afaf3 +EBUILD hypothesis-6.97.5.ebuild 2461 BLAKE2B 343d4374955bed436ecb2533684eac1d2013c8b6c691bf72477a24c52e5caf7e71e61b67de8475c38e940a13b046ed07e8f2b188ad39c3acff8de4df3f7f5a97 SHA512 3a72f5c9f5c1b3787c37cd8830321a47a5c54c655c8b75fdeaa4b09c6c4db310914ebfa5cf631c2576e92e4bd56e106f745e25777b5f86cd7b0cc58ec838fa7b +EBUILD hypothesis-6.98.9.ebuild 2469 BLAKE2B c411ef0dbd4cb160b7695cd5e9428835163379752bab7b2f4668b7cadff8fb0773ff46540a66c521f15f65cdb4f1f51a832e06adce48491e492a0c4f0dd13499 SHA512 d7031fa1c8a7fe3914019a39976473dbe629b215b40647c262ba8c75a33b668176e5fb3262f01267f81b42b951b641ea561c4f1c2d21f61e4a0f05c5dbfd520c MISC metadata.xml 492 BLAKE2B c9e9bbd59af55d1f47e5b7a86933c02b47f832122d03eaca56bd3ec9476cf260d91d4fd2da5068845d4525b7cc9f702b515e8d6a0dffa7923f5898cfd44e12a1 SHA512 166b33d6ac887f52d54fb9d556102038c00650a597d2de1c3aad3f8b5e136e9b6b7db31f05f3379435e4c5f943156d5839d78fc95461af411037a3162ea6705e diff --git a/dev-python/hypothesis/hypothesis-6.93.2.ebuild b/dev-python/hypothesis/hypothesis-6.93.2.ebuild deleted file mode 100644 index d542c10c068e..000000000000 --- a/dev-python/hypothesis/hypothesis-6.93.2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.97.1.ebuild b/dev-python/hypothesis/hypothesis-6.97.1.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.97.1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.97.3.ebuild b/dev-python/hypothesis/hypothesis-6.97.3.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.97.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.97.4.ebuild b/dev-python/hypothesis/hypothesis-6.97.4.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.97.4.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.97.5.ebuild b/dev-python/hypothesis/hypothesis-6.97.5.ebuild index f7f366381e4f..d542c10c068e 100644 --- a/dev-python/hypothesis/hypothesis-6.97.5.ebuild +++ b/dev-python/hypothesis/hypothesis-6.97.5.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.98.1.ebuild b/dev-python/hypothesis/hypothesis-6.98.1.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.2.ebuild b/dev-python/hypothesis/hypothesis-6.98.2.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.3.ebuild b/dev-python/hypothesis/hypothesis-6.98.3.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.4.ebuild b/dev-python/hypothesis/hypothesis-6.98.4.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.4.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.5.ebuild b/dev-python/hypothesis/hypothesis-6.98.5.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.5.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.6.ebuild b/dev-python/hypothesis/hypothesis-6.98.6.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.6.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.7.ebuild b/dev-python/hypothesis/hypothesis-6.98.7.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.7.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.98.8.ebuild b/dev-python/hypothesis/hypothesis-6.98.8.ebuild deleted file mode 100644 index f7f366381e4f..000000000000 --- a/dev-python/hypothesis/hypothesis-6.98.8.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{10..12} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 multiprocessing optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] - ' 3.9 3.10) - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - !!<dev-python/requests-toolbelt-0.10.1 - ) -" - -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # failing due to warnings from numpy/cython - hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture - ) - ;; - esac - - epytest -o filterwarnings= -n "$(makeopts_jobs)" --dist=worksteal \ - tests/cover tests/pytest tests/quality -} - -python_install() { - distutils-r1_python_install - if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.96.4.ebuild b/dev-python/hypothesis/hypothesis-6.98.9.ebuild index f7f366381e4f..f7f366381e4f 100644 --- a/dev-python/hypothesis/hypothesis-6.96.4.ebuild +++ b/dev-python/hypothesis/hypothesis-6.98.9.ebuild diff --git a/dev-python/json5/Manifest b/dev-python/json5/Manifest index 467876c61958..8dec369fcdcd 100644 --- a/dev-python/json5/Manifest +++ b/dev-python/json5/Manifest @@ -1,3 +1,5 @@ +DIST json5-0.9.17.tar.gz 35980 BLAKE2B 5edfdbd48dbc287d3b0575ef0f6b8dfd567cecfb0fabe31c2254ba56b82d9c54e133bca86dd71315537d15f7068fb957c9d86b869804de2d51bcc12c07a0961d SHA512 eeff6db19e9a38d61c0ef6a1259e69616b524ede372fade1973be341a7c8730812049212a0f75023026ece3e598f579900d9cac73f231dfa711939c71b8c1e17 DIST pyjson5-0.9.11.gh.tar.gz 111445 BLAKE2B 038ac1fab6e56e6dc45dc9bff1fc5e0da21c594cb0ac1f6d888f0207fddace9663b0dbd6abbfabce857cb9fcb40348002b10a6b4133e2f2ebb2081c543e1ad9c SHA512 aca3f38cd79d4bf52ceaf1b3dd27e30bf7598fa0b369216ac820f0c913797ebf542c9eaac17e562ee07006bf83c09210c799bc1b715c7b6e7689d2dcd702d414 EBUILD json5-0.9.11.ebuild 611 BLAKE2B c8c98d4bfdde0495b92044845437ce7d7fbce86ec791149b9f77095212a48ba802a128665a9832a51a517b321b215025d3c587876de281b44fd214e871232fde SHA512 4f361f1f43b0bced61cf91296e8fe6e8e3aa2a0d20fada7922ec9bb23207bde290b167ef500ff94cd3366ccf6f932d73ebc4d53fb50abd288a8656d7aab15e4e +EBUILD json5-0.9.17.ebuild 478 BLAKE2B 60606d434999e1a743ac86a0bc02f85983a6b989c14ec72382869a9512d6288568b15778b6e7dc594ffb0136c6a1aafd016c56f50b409fb90a8fa6459b7834ef SHA512 99750feb92a9c602dc7ffe2ff4e5231f6bc04496ca159f5b3c916e2c669a2179f18c00483acd9288ac33c26a2b735af52acdb0daca481da458d2e64b385ba35a MISC metadata.xml 502 BLAKE2B 9dc70229a26364dfb51ae26cff9817bcf82c47391d9fe3b6a4b11b79848f786989c62d6c3cbbed9b476da82dcbbbe9e19bf738d860ed423c3c9731c646314cf8 SHA512 257bb6f3e18053e852d693bef7eaba9e40ef5fb25ef449a275a7fbedd9a4247217bcdd016f0b3a93658ada922882bacd723235b2ab46c81dfd8cb42fe933ac74 diff --git a/dev-python/json5/json5-0.9.17.ebuild b/dev-python/json5/json5-0.9.17.ebuild new file mode 100644 index 000000000000..ef679f5690a7 --- /dev/null +++ b/dev-python/json5/json5-0.9.17.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python implementation of the JSON5 data format" +HOMEPAGE=" + https://github.com/dpranke/pyjson5/ + https://pypi.org/project/json5/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 85a6d35b3f22..65e87e9d7396 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,3 +1,5 @@ DIST jsonpickle-3.0.2.gh.tar.gz 258895 BLAKE2B 51af5841fada084c4fdb27d2d9c95ba0a790027d6a67b37bee6cbf9f256ee2778cffa38fd994de728b58c03536a07492335fbe6d4e7eed875561a3264232f81e SHA512 ed2552a68ca05a6e7e01169697c1c46735f99df95d126007ac02c0315b32da45ddbb1265ab53e39e9f4f1b54029a764cb50a05f31d773bda46f349f53929f888 +DIST jsonpickle-3.0.3.gh.tar.gz 259093 BLAKE2B a281f2054a4b7d66c746abecebb06326682e365941cfb880426bafc3aa0156202463a222a5c24a8eed89eb16ed90d01f38fa9728385e301c62ce27ee6abac770 SHA512 c3576c80d727f7b4f43e993a1dc68b0194dc4308cab9c7a9e3bd7e220a51fe2c2524c02d6afb5c1ead3c37c02d10c1106e89650fe6e609b5052f2a367150e8d1 EBUILD jsonpickle-3.0.2.ebuild 1917 BLAKE2B 7131ea55c4004f81233c3319b5dd5a39035da46af55d6ebfd9692b95b0a2b48bafe982aa1c49e295bf8e9698b87eae719e84119994a3d075bbc7a5415b46e6a6 SHA512 c470f6e28787b86d9d7168209275ce1840bd7fa4c552154fd4c67f38e16c6ce91435f693e216ae2988824cbb67cc09958e97e394a8b710bf5b93ba808b567ad5 +EBUILD jsonpickle-3.0.3.ebuild 1678 BLAKE2B 9f8d163b75414b48651e80cbdcb5aff6fe96211af7048c3981eb62957b86a38891f78d15f3a7cef0b0410bb97945760963dd913e910aff76dcbdcdd105a1b48e SHA512 329c91aad66e0f4c863e2d97c6ae9e962e8daef1b0ed947f9d398bb31cd8238738e001ff7011544cc66b1f127d16120efce929e97bf975ae9ca00881a443e1bf MISC metadata.xml 412 BLAKE2B a7e746abd8b45415ecdbccbde1b65ba9f1fa9fe7ce353411681c2a3de046878e990aad20849ee561a56ad3208bd5071d7b5e5b3c767fd71b7c44d2e8412d349b SHA512 dc52df78fdfe9024e695aae3d2bf22bed7162e1f2a528a288056b68022ebbc400b0a3a2f3e9c2155ee57e66d77a4f7a3f6f67188fb13ee15f200212ac6809a31 diff --git a/dev-python/jsonpickle/jsonpickle-3.0.3.ebuild b/dev-python/jsonpickle/jsonpickle-3.0.3.ebuild new file mode 100644 index 000000000000..75bdde528e32 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-3.0.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" +SRC_URI=" + https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/gmpy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e 's:--cov::' pytest.ini || die + distutils-r1_python_prepare_all + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +} + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + + if ! has_version "dev-python/gmpy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) + fi + + epytest +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 40dbcf692107..0854eed5e930 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,5 +1,7 @@ DIST jupyterlab-4.0.12.tar.gz 18352336 BLAKE2B afa406372cabd740dc09b354e626d4b87c3143e258294d48f82a816002f43e3d22e43bb0cae9eb34f1754d6ed947923c7fb60fbdaec9c82db162422c6057ec7c SHA512 2a84d2d2e6c64e8fa469b7c5b144b364743d2def1c278aff13e5a9380aca0075b49b31370fed368df951208014a0737380966ab6171a13ff07246ad2b4eca996 DIST jupyterlab-4.1.1.tar.gz 21807943 BLAKE2B 9bd6d9fc25c68743f01c2193e09d996e4350a8a00b1b8a0c83c001d4452a16b7ba69362fea36955cbb93f8f408a6e3a5dd45f2a17cde8899d5a192f7395875a5 SHA512 9441dc0faec7e65c7a228b2876d5a6d962e892209414e38c336436af218789d6f735c6c7eb089a0c1525c04ef6824abfb5da82b14292dc402b6a0f7f97d06e0a +DIST jupyterlab-4.1.2.tar.gz 21810592 BLAKE2B 5c5c828c0144260e1fbead1f2ea23cd6b458c2c86dc2202ed4e56fd566d85e14544fa7443d0676926e0619721bad5b8e85431bf02f7a61a3f0fceeafb0eafa66 SHA512 17ab1132421e494a3ce48edec3823576f0202b90e238a01f8500b86bbd7753a8b3e6376a9f2bdd5cf7b1f50708853d92886b486a4a0c620df179693f1566e3e2 EBUILD jupyterlab-4.0.12.ebuild 2610 BLAKE2B 43cf71f66c0706f0ff3e34465946de03118fc540a9b8c415a3cfcc9bfcafa786031600365354ad9c7cbf1c6d075ea0493409bb280ae9bfdf7e2e93c3d8d2c3d3 SHA512 6c0aac16395c80b7393d3101e3864249b4523a5db3a432ccd51f4a909fccff93db42959a27eb13025eaa08f1db58e1bfa3758ddba6d32b8ec5032662b18b81c8 EBUILD jupyterlab-4.1.1.ebuild 2662 BLAKE2B 97f243099e85c1cff2475724d4b5e627ce3ff088256ff14ebed31bf12ce1843837a7eaccdfd13e710a2f698debfa6055b59172217c1d55d968902f728270b644 SHA512 871f2502659371217cde25e9d381705dbe080273e358a4e72fb9aab9b5ce3e9807bbdf2816de30624c08727e5ca7eb0fb662ad87318b9ad65b4c0e4dbeac5c7d +EBUILD jupyterlab-4.1.2.ebuild 2662 BLAKE2B 97f243099e85c1cff2475724d4b5e627ce3ff088256ff14ebed31bf12ce1843837a7eaccdfd13e710a2f698debfa6055b59172217c1d55d968902f728270b644 SHA512 871f2502659371217cde25e9d381705dbe080273e358a4e72fb9aab9b5ce3e9807bbdf2816de30624c08727e5ca7eb0fb662ad87318b9ad65b4c0e4dbeac5c7d MISC metadata.xml 412 BLAKE2B f0b40e19f8ba9dc116f0e4a882cabab6376f22d1eaeb3eac58ecff465ee2aff3564ddbf55e4ffb8971807a39945109a164037a954419671a274d3ac558b102ea SHA512 b6149a03585ca04bc3bf6f3ea6055e8e1fcb620a771359d150df7c22ee16bf09f57c8037df2161021fac0c194be0ac5ec79a31f0511d785e0c5b1ca96d817e42 diff --git a/dev-python/jupyterlab/jupyterlab-4.1.2.ebuild b/dev-python/jupyterlab/jupyterlab-4.1.2.ebuild new file mode 100644 index 000000000000..9e3f5902f2f5 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-4.1.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi xdg + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/async-lru[${PYTHON_USEDEP}] + >=dev-python/httpx-0.25.0[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyter-lsp-2.0.0[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] + <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}] + >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + >=dev-python/pytest-jupyter-0.5.3[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/linkify-it-py/Manifest b/dev-python/linkify-it-py/Manifest index b1981f269bd2..c795bae857ea 100644 --- a/dev-python/linkify-it-py/Manifest +++ b/dev-python/linkify-it-py/Manifest @@ -1,5 +1,3 @@ -DIST linkify-it-py-2.0.2.gh.tar.gz 76692 BLAKE2B b702ed78b002eac4f902dccf595150734de820b8e09e92d8339951ecbb348640d21605b7627f0ba208426f755c68f809dc6c82ec7c1b5eb450240ca4600d5355 SHA512 141002cf5c2b2760f242eb1d294833437e0df0caf671103ddb6099a083e2b6e8f20f35508b164b14206ceae2ffecb5361aa4d839152f7c52f3cfa83e905f12a7 DIST linkify-it-py-2.0.3.gh.tar.gz 76727 BLAKE2B df0d2c8f31a9715c6eadd1f8fb295990b5ed82b8f49231071f8220045d9b64ec21098477d43a74afa21592b2a345357654a23df38636e852a767c62443580e34 SHA512 6621533246a42f3b13fb7dd9f1366cadb0e3c291bcb92fd899bc6389cb9f7904ababf4b5dbae51a561a4f50f8a20597badf03c82653ae8db75d9a5a484bc1229 -EBUILD linkify-it-py-2.0.2.ebuild 708 BLAKE2B 999c89edd5b42346f4e3f811480ae68e0d158d0080a15403f7351140116b98e8954a8b5bfc576a60eb7742a3b842ca9c18aea699973e1b3e0cad5b5de40eda17 SHA512 7b96bb29162247d036b409cb118be10b43785079fe44493d736b17300cd0934f29fb6f885d8343c10d5a5b07c456a39187273c715a7e1d1c2f693647b295b44c -EBUILD linkify-it-py-2.0.3.ebuild 716 BLAKE2B 4e681f3618e6f72435a5ca3904ebddd03ad70a28fd123bc2f876fee02219f9cf3d4ebb49dec678794e82b624fcde912597b23c47a255c162bfd9661498089a7e SHA512 c977a784b055a99ea6f571c0e5c2ab6d8c44db0b14599fe0b6477186e8fe53dc6c2217f6d8c2bbd4f4775337fccc254ddf47342483c6ab62b57331053d9e2a35 +EBUILD linkify-it-py-2.0.3.ebuild 708 BLAKE2B a9db0b0a9ad7a5f6adc82becbd330dd5feb873b5b1e8945079f9c5648ea74dbfb96101b6138cfd5dd55301bd31aa312514d46886601f40fd995fa7a8481b3695 SHA512 5856a0ec5ca6a2f68cce28ef98325ba21591684a12284f636e39d76abcbda3f48b5f50c010b24faa759c97c63e8a9062f98c3719d1406bc99c7db3ce092947be MISC metadata.xml 402 BLAKE2B f743f7ee6ccc16f6ae09861fa1712b456d7d7796afea37616781f3c40c33633a4571c78cfe41a9fb9b7e6370b8d2c03197e57ada0a0c5a2f80c1a21bbcab52cf SHA512 783959f08e822d432f30348ff5a7f4fc0713d0d273286cb840c43165141b12d28d812dce0958105561bb2a9d02e0034199d1405b4b83579de2283e133a03eef1 diff --git a/dev-python/linkify-it-py/linkify-it-py-2.0.2.ebuild b/dev-python/linkify-it-py/linkify-it-py-2.0.2.ebuild deleted file mode 100644 index fd7dcdc29cf5..000000000000 --- a/dev-python/linkify-it-py/linkify-it-py-2.0.2.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Links recognition library with full unicode support" -HOMEPAGE=" - https://github.com/tsutsu3/linkify-it-py/ - https://pypi.org/project/linkify-it-py/ -" -# no tests in sdist, as of 2.0.1 -SRC_URI=" - https://github.com/tsutsu3/linkify-it-py/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/uc-micro-py[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild b/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild index f62767cacaf0..53b5d22c3ec4 100644 --- a/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild +++ b/dev-python/linkify-it-py/linkify-it-py-2.0.3.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/uc-micro-py[${PYTHON_USEDEP}] diff --git a/dev-python/matplotlib/Manifest b/dev-python/matplotlib/Manifest index 2d1b6db521ed..ac3cf6a5dbf6 100644 --- a/dev-python/matplotlib/Manifest +++ b/dev-python/matplotlib/Manifest @@ -1,22 +1,8 @@ AUX matplotlib-3.3.3-disable-lto.patch 828 BLAKE2B 2044ef633091f27080d20e3e1b2c74605e13e99c9d044e97accde3b0a7946ef656f10c9bf5c036745f8ec85380e48cfd5e3d6fe8a023fa60e408d270f45a1da5 SHA512 81562749756b0415c6ce333d3cbbc197306dc9c2c425ec761767271c974badd13fe9a497c74231cd1bf9347f03ef0593bceff9b597289a8328e7c0211c7047ed -AUX matplotlib-3.7.1-test.patch 9910 BLAKE2B 6efcec53fa1b0001ee6121233fcf3718dce43b5f1d1b41401452c0193269427735e39400926ee2f94ee2c7a263c687fae66a9686563217b317afa3511f7bd29a SHA512 5f0661a1ac8305e45cb8de68d5b1a094c64002dac5d34bb937955d2e181721023eaba6ecea9fdf2a78a6ffc3cf29f6f640a5ae601ae6a0c6e355fe67e7393b07 -AUX matplotlib-3.7.2-macOS_no-Cocoa.patch 565 BLAKE2B def5ba43c30792af7cbad5204eaa7c0cae24b7acf0f8e7832709af39dc1dd91998c034927ada344d19a27d427090b596304a4c33224c441bba863c8603807c65 SHA512 334661cf5b74c7ee8188bc519e13501daa75a544b5290bc03d4edc7c312f4a5499c2487ade43c0bb9883a02fbf9d90a163b2bbcc2f396bf648522527a8b057b4 -AUX matplotlib-3.7.2-pyparsing-3.1.patch 10045 BLAKE2B 82135479f822b030e4824ae7e6b56eaab4d1d7fc1bafd3cffa5d6f21674f60a647c9a74a53ef3b7a3c6514d66ef4a33b48949940de1b1d0916f0931f25c942cb SHA512 0cfd7e339e080bbdb70936a64835ee4bed4c3a5d76110ba8b553eaf6e2da74f5e34027a9e5471fef06f51bbffad8eea1a3d91ea37e0dcbf28d09daa34052e3fa AUX matplotlib-3.8.0-test.patch 10695 BLAKE2B cbe1268c0b6a7765eb0ae70fb0268ca37ec87751d32b4646f96496c3b2c80c3bd344df5a02cb7edd87621cadd956d79fc6f88d342e7a68ae17b53571dc332ce0 SHA512 17a956b5c6b971adafa1fa7d07baca09cb730fdda49910a466b0097ac6106a2bc5e572488358596ae2e9db98bf860b71f983daf24421c2c418306b4bd4e58c4b DIST freetype-2.6.1.tar.gz 2302080 BLAKE2B 6a5fb98e5fa6cf4b7d7533ad44e364227d8c2f7dded4c552d6e22e204c32b7858f20d41d1e809ecdad6e5353d6cec81bea0e0b06a4533363a41ecab83ce3f7ca SHA512 ff2daed64d712737085924c50e75862fafbcbb24eef6d72dac9eaae63bb656d7245397fd828f5d3e47ac847f7ff83d73dedfdd61fde1f7d6e0f0cdeb49bcf83b -DIST matplotlib-3.7.1.tar.gz 38003777 BLAKE2B a387d23b58e09011cd3ae1f8c0ebf5dd8c04c8c15c1f6453c92cd22b2439fcabcf384f39ae8d2d2c6b7d2645817cd57a60856a4c05728e8f8aff9dd163af5083 SHA512 d7db4213d5b38eba779ba06ffaa8e67a435192e4a8cf62f8e1cd4b8079cd257b2e83cb79926df012b7084c785c0ce8b03275035f68cfcf0a36b0dda7322f2e67 -DIST matplotlib-3.7.2.tar.gz 38095843 BLAKE2B e26e78ce3a27604ff3d0f4d280798715b21a89104908e4fa66f96e32152d61f4f640e02e1eb2327563c71f3391c03716b5f6a1e769a07725d02c042b21973a4a SHA512 3ddb223c869c01cf71ab65a628a3c996eed1ff8b2375c02e3158a5750652a5d8277a55706e50890c15c14c7a104db01f01b01ca8964f85b6ffec104fc273872d -DIST matplotlib-3.7.3.tar.gz 38097222 BLAKE2B e0207c8f8bda2db3f9e45d2f606f01374c8d829d747f29d6a5e46cbfc215960b1bf3f5ee471c2c73f4200ebb0a7c9e8b783cb8569ecbb26a3fbc0d802592db0e SHA512 034b81ef4811089e845855eb339155b18b1221ffd325ea73c83e83bb433374dfa4e650e29bbae5ad63a84090eb4b013d0f106ff37c30fd661b4d071004745caa -DIST matplotlib-3.8.0.tar.gz 35864435 BLAKE2B d0eb2893447782f54ca9c8101ca54fa9d86a9f2ef89fb0a17d32c74f3e46728b55c6bed476852d0c11286dc0030028c241adce29024b34845546af6f579ac7bf SHA512 0f75495210946adf0a36af13a75bc9910d345cc05636019952f35856b4c2bfac8a79c48d5a3348e844cfdac797f3ce490fe6a4e1a4fc7033092fee61f9913e21 -DIST matplotlib-3.8.1.tar.gz 35868840 BLAKE2B beec824c46279cb92608ffca0dc1835c1d82ef32d68b547c9a5088404a0b37044c1860c59ac16c0c1b65658c7d64b7b4c83b65b38ffb0b320d4c5a3cc4383fb9 SHA512 bb933361caba0f4ea590df56569edf4cb728f1daa1219f8793b5ae6ba591cb5d1600fdd1693b7c72a8bb70b0da696b05f1b6ddcabe93d723f29d8541fbf0372c DIST matplotlib-3.8.2.tar.gz 35866957 BLAKE2B 17b3de0101c4e9d76cddc7fa5e44507f1dd628fa70ac0d3c55fb83ca5d36156904bfab50212aaeb0fb89d17615799fe22082ecc1ababd172e39a069b38519064 SHA512 4336ca9799bb03fc2f885e35889ad1c62412f7d7b6aa8e284049f75d1166d2f6753c27cf827f0e7f0bb461d3707ccf63a3172ed82f26ec413c0a6578791f957b DIST matplotlib-3.8.3.tar.gz 35879872 BLAKE2B 2b4b819975a8386bfe2c3af8b1068512b106068c057ca62344f6636c0708327feafc75210a8b87b837779c9a57dede3b4ea2a8b7b673432d7732851d5601f4c6 SHA512 457d1d62b76752938a24780c697461949de00d779df55df122d789f9ebef154edda037f2a804241880a0b442c5fa8139b8ab13054898b8e08fd17a56bdc23312 -EBUILD matplotlib-3.7.1.ebuild 10081 BLAKE2B 20a93311d408f379c381bf4412481b558142e03e31e2d6ae506f2f20663e836d31524d91d4826515bce90607d9184999df712f7b8b533385eaba6aa2007cf634 SHA512 ade41d705e30cc712edcd1c2447d2d0c196b0ad5bc475f42719a0b79363c0b12f59d4d9db27f16572719348fea66c5177ea0da2ec677ef87d42fe0f3d034997d -EBUILD matplotlib-3.7.2-r1.ebuild 10221 BLAKE2B e9e08c3c43f9fb7c3cc352f2e46e257127dd8cf83844b6c963402f6c7e0534b389bb2c5bd65086c70fafb4188f05a89b286ec49ad637a317c745963b9720fa7e SHA512 9e3a4f710da8f822eee9e457b8fcbdd4432fbb17375ffab36fcb8597552f4f633e75caaaefb44c3ac5a7d49d5aa6a6dfaaf82347839020048ddd2d877b832711 -EBUILD matplotlib-3.7.2.ebuild 10289 BLAKE2B f39422d5796061fe3677957ebb0b2af92417d413c365eaefd1f9e2e6c17a1e7b534aa7da599d83d6981edf9b13d4469163e3f438cd3e4dfc6713db02aa772b84 SHA512 f6a9e39882bdfb051cd9d7d2b123963c81881662712a5e3ddff9c288e85a53799c11b8945e61a56c86d6b88eb2d866834c079232172066d26d32649fc2984328 -EBUILD matplotlib-3.7.3.ebuild 10008 BLAKE2B ca25579dc5c3f41a890c38e2889fbbbd99e51d5defabe926a172aec975415563225b84499fad053cc41f737da6d66506e1185e102259df5700985fd18420a04c SHA512 0da8c030af4744a84709f7baa7fd52052eb36731621cf20251620b2d29a9897c36ad136a2523ae03a6a1db7a81dab16f754d1120a9d4d3db3b8227d0caf54f4a -EBUILD matplotlib-3.8.0.ebuild 9996 BLAKE2B 5c98a40ceaae5787a0d76c653ff7e3c536ced712f816b9d8bbda24b2fd7c3b33760ce238313cb75966ac967a992e5682088774cbd962fa7c3205e795c977d96f SHA512 14285067ded8e0948ce382ae68202ec81cfbf749c5ad1e5503572e17c626d089e17dc36e50d021a95357e3874085642ee46d6514f6a8b31352e8491bd29cfd41 -EBUILD matplotlib-3.8.1.ebuild 9998 BLAKE2B 40aab75a1ec2596e72a28785d4445ff43eee84259afdbbbbdbdbf534b90954f158936598e73bca89e92a8fefb7965e4a97547f0316fb726ac7a2eda42da2a5f0 SHA512 36508b6e597244a3085bbeb429dbeebf5608f04ec81109e2d0b38fb6391611e9b8a2b77e0a9e3da62cfd5dfcbf03a602025b0128c8be550e143c22b35aacf75a -EBUILD matplotlib-3.8.2-r1.ebuild 11246 BLAKE2B 751815a6eaee9cb61c103c65d31bc93be57de2ec5c4bf0fb89696e6baf7dcbd446ad35e45c53d4ec46bf1c36fbccc9e44b5b0f149e3135bc3d94de0334e2e10f SHA512 470f5a11da32927db65fd66fd3bcf545f40f2cb00757f139452663b987877788da7cc500916d874232ca812e989b66e49207d9bd69997ddd0f9f9f85e33690e6 +EBUILD matplotlib-3.8.2-r1.ebuild 11243 BLAKE2B adae060de035a6737f59d3af631f101083aabe923907c6ebfee5b9799b5cb409d40d63ea073869ee450af012125b2f879804dcf93352c8b47002296a3bd140ed SHA512 f2c55d6049cb91cdce7f9d186aa22e5eb1ea838a4ddbacedfaf40c5fe4f78defcc4f23c4415b00da52681a08b60df61c352c0728c5bad02351380de309ac8ec2 EBUILD matplotlib-3.8.3.ebuild 11288 BLAKE2B af80e2f4b2168f97b72f693eafda19e87dd6f77b96d4ab9261f4a253b61267f3032478349114038b80f541a618158084c276b0e9e4e1b6d1c8ab5425ef4f7704 SHA512 61479ed3648fb99273644ec9e5adac643ada98173f7f99520f29f0db5efdc237b2c96a6bce42c239dd9fcbf669eba55bfbaf06dcd5dd8d4e924e98e028b86693 MISC metadata.xml 1074 BLAKE2B 1d7dce116e09939378872c2eaf5153948b7e934626110eb4899d0dfc2781429522328f1c4efd2c40f829da64e19bed8f9fbd1b8907a6e74a5fd54587c1d29e5b SHA512 e344bfc813e09c24a8edfa9c062eb2a6c44535559370f508a27a2de20c6ab92aeb48bc8daf9c357178e513eb2474a33782e4098c0f3bcbb84b11f7388ef1a704 diff --git a/dev-python/matplotlib/files/matplotlib-3.7.1-test.patch b/dev-python/matplotlib/files/matplotlib-3.7.1-test.patch deleted file mode 100644 index e2471a4282c2..000000000000 --- a/dev-python/matplotlib/files/matplotlib-3.7.1-test.patch +++ /dev/null @@ -1,244 +0,0 @@ -From 2290694d52ef1af255b9f0fa0d9c3c9ebcee9264 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Tue, 14 Feb 2023 20:46:30 +0100 -Subject: [PATCH] Adjust tolerances to make tests pass on real hardware - ---- - lib/matplotlib/tests/test_arrow_patches.py | 6 +++--- - lib/matplotlib/tests/test_axes.py | 6 +++--- - lib/matplotlib/tests/test_colorbar.py | 2 +- - lib/matplotlib/tests/test_constrainedlayout.py | 8 ++++---- - lib/matplotlib/tests/test_contour.py | 3 +-- - lib/matplotlib/tests/test_figure.py | 2 +- - lib/matplotlib/tests/test_image.py | 2 +- - lib/matplotlib/tests/test_legend.py | 6 +++--- - lib/matplotlib/tests/test_lines.py | 2 +- - lib/matplotlib/tests/test_units.py | 4 ++-- - lib/matplotlib/tests/test_usetex.py | 3 ++- - 11 files changed, 22 insertions(+), 22 deletions(-) - -diff --git a/lib/matplotlib/tests/test_arrow_patches.py b/lib/matplotlib/tests/test_arrow_patches.py -index 8d573b4adb..dfc42efcb9 100644 ---- a/lib/matplotlib/tests/test_arrow_patches.py -+++ b/lib/matplotlib/tests/test_arrow_patches.py -@@ -67,7 +67,7 @@ def __prepare_fancyarrow_dpi_cor_test(): - - - @image_comparison(['fancyarrow_dpi_cor_100dpi.png'], remove_text=True, -- tol=0 if platform.machine() == 'x86_64' else 0.02, -+ tol=0.015 if platform.machine() == 'x86_64' else 0.02, - savefig_kwarg=dict(dpi=100)) - def test_fancyarrow_dpi_cor_100dpi(): - """ -@@ -82,7 +82,7 @@ def test_fancyarrow_dpi_cor_100dpi(): - - - @image_comparison(['fancyarrow_dpi_cor_200dpi.png'], remove_text=True, -- tol=0 if platform.machine() == 'x86_64' else 0.02, -+ tol=0.018 if platform.machine() == 'x86_64' else 0.02, - savefig_kwarg=dict(dpi=200)) - def test_fancyarrow_dpi_cor_200dpi(): - """ -@@ -115,7 +115,7 @@ def test_fancyarrow_dash(): - - - @image_comparison(['arrow_styles.png'], style='mpl20', remove_text=True, -- tol=0 if platform.machine() == 'x86_64' else 0.005) -+ tol=0.005) - def test_arrow_styles(): - styles = mpatches.ArrowStyle.get_styles() - -diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py -index 004f6320de..63d705cb91 100644 ---- a/lib/matplotlib/tests/test_axes.py -+++ b/lib/matplotlib/tests/test_axes.py -@@ -1034,7 +1034,7 @@ def test_imshow(): - - @image_comparison( - ['imshow_clip'], style='mpl20', -- tol=1.24 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) -+ tol=1.24) - def test_imshow_clip(): - # As originally reported by Gellule Xg <gellule.xg@free.fr> - # use former defaults to match existing baseline image -@@ -2364,7 +2364,7 @@ def test_contour_hatching(): - - @image_comparison( - ['contour_colorbar'], style='mpl20', -- tol=0.02 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) -+ tol=0.02) - def test_contour_colorbar(): - x, y, z = contour_dat() - -@@ -4704,7 +4704,7 @@ def test_vertex_markers(): - - - @image_comparison(['vline_hline_zorder', 'errorbar_zorder'], -- tol=0 if platform.machine() == 'x86_64' else 0.02) -+ tol=0.015 if platform.machine() == 'x86_64' else 0.02) - def test_eb_line_zorder(): - x = list(range(10)) - -diff --git a/lib/matplotlib/tests/test_colorbar.py b/lib/matplotlib/tests/test_colorbar.py -index e39d007378..fa0cb2e72f 100644 ---- a/lib/matplotlib/tests/test_colorbar.py -+++ b/lib/matplotlib/tests/test_colorbar.py -@@ -237,7 +237,7 @@ def test_colorbar_single_ax_panchor_east(constrained): - - @image_comparison( - ['contour_colorbar.png'], remove_text=True, -- tol=0.01 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) -+ tol=0.01) - def test_contour_colorbar(): - fig, ax = plt.subplots(figsize=(4, 2)) - data = np.arange(1200).reshape(30, 40) - 500 -diff --git a/lib/matplotlib/tests/test_constrainedlayout.py b/lib/matplotlib/tests/test_constrainedlayout.py -index b0833052ad..c7633f6842 100644 ---- a/lib/matplotlib/tests/test_constrainedlayout.py -+++ b/lib/matplotlib/tests/test_constrainedlayout.py -@@ -651,11 +651,11 @@ def test_compressed1(): - fig.draw_without_rendering() - - pos = axs[0, 0].get_position() -- np.testing.assert_allclose(pos.x0, 0.06195, atol=1e-3) -- np.testing.assert_allclose(pos.y1, 0.8537, atol=1e-3) -+ np.testing.assert_allclose(pos.x0, 0.06195, atol=2e-3) -+ np.testing.assert_allclose(pos.y1, 0.8537, atol=2e-3) - pos = axs[1, 2].get_position() -- np.testing.assert_allclose(pos.x1, 0.8618, atol=1e-3) -- np.testing.assert_allclose(pos.y0, 0.1934, atol=1e-3) -+ np.testing.assert_allclose(pos.x1, 0.8618, atol=2e-3) -+ np.testing.assert_allclose(pos.y0, 0.1934, atol=2e-3) - - - @pytest.mark.parametrize('arg, state', [ -diff --git a/lib/matplotlib/tests/test_contour.py b/lib/matplotlib/tests/test_contour.py -index 41d4dc8501..e0f9f5c112 100644 ---- a/lib/matplotlib/tests/test_contour.py -+++ b/lib/matplotlib/tests/test_contour.py -@@ -316,8 +316,7 @@ def test_contourf_log_extension(): - - @image_comparison( - ['contour_addlines.png'], remove_text=True, style='mpl20', -- tol=0.15 if platform.machine() in ('aarch64', 'ppc64le', 's390x') -- else 0.03) -+ tol=0.15) - # tolerance is because image changed minutely when tick finding on - # colorbars was cleaned up... - def test_contour_addlines(): -diff --git a/lib/matplotlib/tests/test_figure.py b/lib/matplotlib/tests/test_figure.py -index f3ece07660..18c95e4a55 100644 ---- a/lib/matplotlib/tests/test_figure.py -+++ b/lib/matplotlib/tests/test_figure.py -@@ -26,7 +26,7 @@ import matplotlib.dates as mdates - - - @image_comparison(['figure_align_labels'], extensions=['png', 'svg'], -- tol=0 if platform.machine() == 'x86_64' else 0.01) -+ tol=0.02) - def test_align_labels(): - fig = plt.figure(layout='tight') - gs = gridspec.GridSpec(3, 3) -diff --git a/lib/matplotlib/tests/test_image.py b/lib/matplotlib/tests/test_image.py -index 76a622181d..af81d2fc0d 100644 ---- a/lib/matplotlib/tests/test_image.py -+++ b/lib/matplotlib/tests/test_image.py -@@ -1339,7 +1339,7 @@ def test_nonuniform_and_pcolor(): - - @image_comparison( - ['rgba_antialias.png'], style='mpl20', remove_text=True, -- tol=0.007 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) -+ tol=0.007) - def test_rgba_antialias(): - fig, axs = plt.subplots(2, 2, figsize=(3.5, 3.5), sharex=False, - sharey=False, constrained_layout=True) -diff --git a/lib/matplotlib/tests/test_legend.py b/lib/matplotlib/tests/test_legend.py -index a8d7fd107d..2f658bc116 100644 ---- a/lib/matplotlib/tests/test_legend.py -+++ b/lib/matplotlib/tests/test_legend.py -@@ -174,7 +174,7 @@ def test_multiple_keys(): - - - @image_comparison(['rgba_alpha.png'], remove_text=True, -- tol=0 if platform.machine() == 'x86_64' else 0.01) -+ tol=0.02) - def test_alpha_rgba(): - fig, ax = plt.subplots() - ax.plot(range(10), lw=5) -@@ -183,7 +183,7 @@ def test_alpha_rgba(): - - - @image_comparison(['rcparam_alpha.png'], remove_text=True, -- tol=0 if platform.machine() == 'x86_64' else 0.01) -+ tol=0.02) - def test_alpha_rcparam(): - fig, ax = plt.subplots() - ax.plot(range(10), lw=5) -@@ -209,7 +209,7 @@ def test_fancy(): - - - @image_comparison(['framealpha'], remove_text=True, -- tol=0 if platform.machine() == 'x86_64' else 0.02) -+ tol=0.02) - def test_framealpha(): - x = np.linspace(1, 100, 100) - y = x -diff --git a/lib/matplotlib/tests/test_lines.py b/lib/matplotlib/tests/test_lines.py -index b75d3c01b2..d08cc79172 100644 ---- a/lib/matplotlib/tests/test_lines.py -+++ b/lib/matplotlib/tests/test_lines.py -@@ -185,7 +185,7 @@ def test_set_drawstyle(): - - @image_comparison( - ['line_collection_dashes'], remove_text=True, style='mpl20', -- tol=0.65 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0) -+ tol=0.65) - def test_set_line_coll_dash_image(): - fig, ax = plt.subplots() - np.random.seed(0) -diff --git a/lib/matplotlib/tests/test_units.py b/lib/matplotlib/tests/test_units.py -index d3b8c5a716..56a1d0a0a4 100644 ---- a/lib/matplotlib/tests/test_units.py -+++ b/lib/matplotlib/tests/test_units.py -@@ -79,7 +79,7 @@ def quantity_converter(): - # Tests that the conversion machinery works properly for classes that - # work as a facade over numpy arrays (like pint) - @image_comparison(['plot_pint.png'], style='mpl20', -- tol=0 if platform.machine() == 'x86_64' else 0.01) -+ tol=0.002 if platform.machine() == 'x86_64' else 0.01) - def test_numpy_facade(quantity_converter): - # use former defaults to match existing baseline image - plt.rcParams['axes.formatter.limits'] = -7, 7 -@@ -106,7 +106,7 @@ def test_numpy_facade(quantity_converter): - - # Tests gh-8908 - @image_comparison(['plot_masked_units.png'], remove_text=True, style='mpl20', -- tol=0 if platform.machine() == 'x86_64' else 0.01) -+ tol=0.02) - def test_plot_masked_units(): - data = np.linspace(-5, 5) - data_masked = np.ma.array(data, mask=(data > -2) & (data < 2)) -diff --git a/lib/matplotlib/tests/test_usetex.py b/lib/matplotlib/tests/test_usetex.py -index 0f01ebaffb..5e44dc8d22 100644 ---- a/lib/matplotlib/tests/test_usetex.py -+++ b/lib/matplotlib/tests/test_usetex.py -@@ -14,6 +14,7 @@ import matplotlib.pyplot as plt - pytestmark = needs_usetex - - -+@pytest.mark.skip(reason="TODO: broken") - @image_comparison( - baseline_images=['test_usetex'], - extensions=['pdf', 'png'], -@@ -64,7 +65,7 @@ def test_mathdefault(): - fig.canvas.draw() - - --@image_comparison(['eqnarray.png']) -+@image_comparison(['eqnarray.png'], tol=23) - def test_multiline_eqnarray(): - text = ( - r'\begin{eqnarray*}' --- -2.39.2 - diff --git a/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch deleted file mode 100644 index 3f29134be621..000000000000 --- a/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch +++ /dev/null @@ -1,21 +0,0 @@ -Do not automatically build against Cocoa on macOS. - -At Prefix/macOS, we do not support the propietary Cocoa SDK. GUI -applications use X11. - -The patch is specific to our need and not forwarded upstream. - -Signed-off-by: Benda Xu <heroxbd@gentoo.org> - -Index: matplotlib-3.7.2/setup.py -=================================================================== ---- matplotlib-3.7.2.orig/setup.py -+++ matplotlib-3.7.2/setup.py -@@ -49,7 +49,6 @@ mpl_packages = [ - setupext.FreeType(), - setupext.Qhull(), - setupext.Tests(), -- setupext.BackendMacOSX(), - ] - - diff --git a/dev-python/matplotlib/files/matplotlib-3.7.2-pyparsing-3.1.patch b/dev-python/matplotlib/files/matplotlib-3.7.2-pyparsing-3.1.patch deleted file mode 100644 index 44082b5c0227..000000000000 --- a/dev-python/matplotlib/files/matplotlib-3.7.2-pyparsing-3.1.patch +++ /dev/null @@ -1,274 +0,0 @@ -https://bugs.gentoo.org/911127 -https://github.com/matplotlib/matplotlib/issues/26152 -https://github.com/matplotlib/matplotlib/pull/26432 - -From c5183789d7d0cd151c201eeb2ce4fc786b6e43c2 Mon Sep 17 00:00:00 2001 -From: Jody Klymak <jklymak@gmail.com> -Date: Tue, 1 Aug 2023 13:41:44 -0700 -Subject: [PATCH 1/2] Backport PR #26431: MNT: Unpin pyparsing, xfail error - message tests for pyparsing 3.1.0 - ---- a/environment.yml -+++ b/environment.yml -@@ -19,7 +19,7 @@ dependencies: - - pillow>=6.2 - - pybind11>=2.6.0 - - pygobject -- - pyparsing!=3.1.0 -+ - pyparsing>=2.3.1 - - pyqt - - python-dateutil>=2.1 - - setuptools ---- a/lib/matplotlib/tests/test_mathtext.py -+++ b/lib/matplotlib/tests/test_mathtext.py -@@ -6,13 +6,18 @@ - from xml.etree import ElementTree as ET - - import numpy as np -+from packaging.version import parse as parse_version -+import pyparsing - import pytest - -+ - import matplotlib as mpl - from matplotlib.testing.decorators import check_figures_equal, image_comparison - import matplotlib.pyplot as plt - from matplotlib import mathtext, _mathtext - -+pyparsing_version = parse_version(pyparsing.__version__) -+ - - # If test is removed, use None as placeholder - math_tests = [ -@@ -270,6 +275,9 @@ def test_fontinfo(): - assert table['version'] == (1, 0) - - -+# See gh-26152 for more context on this xfail -+@pytest.mark.xfail(pyparsing_version.release == (3, 1, 0), -+ reason="Error messages are incorrect for this version") - @pytest.mark.parametrize( - 'math, msg', - [ ---- a/lib/matplotlib/tests/test_text.py -+++ b/lib/matplotlib/tests/test_text.py -@@ -4,6 +4,8 @@ - - import numpy as np - from numpy.testing import assert_almost_equal -+from packaging.version import parse as parse_version -+import pyparsing - import pytest - - import matplotlib as mpl -@@ -16,6 +18,8 @@ - from matplotlib.testing._markers import needs_usetex - from matplotlib.text import Text - -+pyparsing_version = parse_version(pyparsing.__version__) -+ - - @image_comparison(['font_styles']) - def test_font_styles(): -@@ -809,6 +813,9 @@ def test_unsupported_script(recwarn): - (r"Matplotlib currently does not support Bengali natively.",)]) - - -+# See gh-26152 for more information on this xfail -+@pytest.mark.xfail(pyparsing_version.release == (3, 1, 0), -+ reason="Error messages are incorrect with pyparsing 3.1.0") - def test_parse_math(): - fig, ax = plt.subplots() - ax.text(0, 0, r"$ \wrong{math} $", parse_math=False) -@@ -819,6 +826,9 @@ def test_parse_math(): - fig.canvas.draw() - - -+# See gh-26152 for more information on this xfail -+@pytest.mark.xfail(pyparsing_version.release == (3, 1, 0), -+ reason="Error messages are incorrect with pyparsing 3.1.0") - def test_parse_math_rcparams(): - # Default is True - fig, ax = plt.subplots() ---- a/setup.py -+++ b/setup.py -@@ -325,7 +325,7 @@ def make_release_tree(self, base_dir, files): - "numpy>=1.20", - "packaging>=20.0", - "pillow>=6.2.0", -- "pyparsing>=2.3.1,<3.1", -+ "pyparsing>=2.3.1", - "python-dateutil>=2.7", - ] + ( - # Installing from a git checkout that is not producing a wheel. - -From 7f475c5088a826adffac2885d027d4f8b3cba218 Mon Sep 17 00:00:00 2001 -From: Kyle Sunden <git@ksunden.space> -Date: Mon, 26 Jun 2023 22:17:27 -0500 -Subject: [PATCH 2/2] Manual backport of #26198 - -Cherry picked and fixed up, ignored changes to the pyi file (which doesn't exist on this branch). ---- a/lib/matplotlib/_mathtext.py -+++ b/lib/matplotlib/_mathtext.py -@@ -1802,8 +1802,11 @@ def __init__(self): - def set_names_and_parse_actions(): - for key, val in vars(p).items(): - if not key.startswith('_'): -- # Set names on everything -- very useful for debugging -- val.setName(key) -+ # Set names on (almost) everything -- very useful for debugging -+ # token, placeable, and auto_delim are forward references which -+ # are left without names to ensure useful error messages -+ if key not in ("token", "placeable", "auto_delim"): -+ val.setName(key) - # Set actions - if hasattr(self, key): - val.setParseAction(getattr(self, key)) -@@ -1840,63 +1843,39 @@ def csnames(group, names): - p.unknown_symbol = Regex(r"\\[A-Za-z]*")("name") - - p.font = csnames("font", self._fontnames) -- p.start_group = ( -- Optional(r"\math" + oneOf(self._fontnames)("font")) + "{") -+ p.start_group = Optional(r"\math" + oneOf(self._fontnames)("font")) + "{" - p.end_group = Literal("}") - - p.delim = oneOf(self._delims) - -- set_names_and_parse_actions() # for root definitions. -- - # Mutually recursive definitions. (Minimizing the number of Forward - # elements is important for speed.) -- p.accent = Forward() - p.auto_delim = Forward() -- p.binom = Forward() -- p.customspace = Forward() -- p.frac = Forward() -- p.dfrac = Forward() -- p.function = Forward() -- p.genfrac = Forward() -- p.group = Forward() -- p.operatorname = Forward() -- p.overline = Forward() -- p.overset = Forward() - p.placeable = Forward() - p.required_group = Forward() -- p.simple = Forward() - p.optional_group = Forward() -- p.sqrt = Forward() -- p.subsuper = Forward() - p.token = Forward() -- p.underset = Forward() - - set_names_and_parse_actions() # for mutually recursive definitions. - -- p.customspace <<= cmd(r"\hspace", "{" + p.float_literal("space") + "}") -+ p.optional_group <<= "{" + ZeroOrMore(p.token)("group") + "}" -+ p.required_group <<= "{" + OneOrMore(p.token)("group") + "}" - -- p.accent <<= ( -+ p.customspace = cmd(r"\hspace", "{" + p.float_literal("space") + "}") -+ -+ p.accent = ( - csnames("accent", [*self._accent_map, *self._wide_accents]) - - p.placeable("sym")) - -- p.function <<= csnames("name", self._function_names) -- p.operatorname <<= cmd( -- r"\operatorname", -- "{" + ZeroOrMore(p.simple | p.unknown_symbol)("name") + "}") -+ p.function = csnames("name", self._function_names) - -- p.group <<= p.start_group + ZeroOrMore(p.token)("group") + p.end_group -+ p.group = p.start_group + ZeroOrMore(p.token)("group") + p.end_group - -- p.optional_group <<= "{" + ZeroOrMore(p.token)("group") + "}" -- p.required_group <<= "{" + OneOrMore(p.token)("group") + "}" -- -- p.frac <<= cmd( -- r"\frac", p.required_group("num") + p.required_group("den")) -- p.dfrac <<= cmd( -- r"\dfrac", p.required_group("num") + p.required_group("den")) -- p.binom <<= cmd( -- r"\binom", p.required_group("num") + p.required_group("den")) -+ p.frac = cmd(r"\frac", p.required_group("num") + p.required_group("den")) -+ p.dfrac = cmd(r"\dfrac", p.required_group("num") + p.required_group("den")) -+ p.binom = cmd(r"\binom", p.required_group("num") + p.required_group("den")) - -- p.genfrac <<= cmd( -+ p.genfrac = cmd( - r"\genfrac", - "{" + Optional(p.delim)("ldelim") + "}" - + "{" + Optional(p.delim)("rdelim") + "}" -@@ -1905,20 +1884,38 @@ def csnames(group, names): - + p.required_group("num") - + p.required_group("den")) - -- p.sqrt <<= cmd( -+ p.sqrt = cmd( - r"\sqrt{value}", - Optional("[" + OneOrMore(NotAny("]") + p.token)("root") + "]") - + p.required_group("value")) - -- p.overline <<= cmd(r"\overline", p.required_group("body")) -+ p.overline = cmd(r"\overline", p.required_group("body")) - -- p.overset <<= cmd( -+ p.overset = cmd( - r"\overset", - p.optional_group("annotation") + p.optional_group("body")) -- p.underset <<= cmd( -+ p.underset = cmd( - r"\underset", - p.optional_group("annotation") + p.optional_group("body")) - -+ p.subsuper = ( -+ (Optional(p.placeable)("nucleus") -+ + OneOrMore(oneOf(["_", "^"]) - p.placeable)("subsuper") -+ + Regex("'*")("apostrophes")) -+ | Regex("'+")("apostrophes") -+ | (p.placeable("nucleus") + Regex("'*")("apostrophes")) -+ ) -+ -+ p.simple = p.space | p.customspace | p.font | p.subsuper -+ -+ p.token <<= ( -+ p.simple -+ | p.auto_delim -+ | p.unknown_symbol # Must be last -+ ) -+ -+ p.operatorname = cmd(r"\operatorname", "{" + ZeroOrMore(p.simple)("name") + "}") -+ - p.placeable <<= ( - p.accent # Must be before symbol as all accents are symbols - | p.symbol # Must be second to catch all named symbols and single -@@ -1936,27 +1933,6 @@ def csnames(group, names): - | p.overline - ) - -- p.simple <<= ( -- p.space -- | p.customspace -- | p.font -- | p.subsuper -- ) -- -- p.subsuper <<= ( -- (Optional(p.placeable)("nucleus") -- + OneOrMore(oneOf(["_", "^"]) - p.placeable)("subsuper") -- + Regex("'*")("apostrophes")) -- | Regex("'+")("apostrophes") -- | (p.placeable("nucleus") + Regex("'*")("apostrophes")) -- ) -- -- p.token <<= ( -- p.simple -- | p.auto_delim -- | p.unknown_symbol # Must be last -- ) -- - p.auto_delim <<= ( - r"\left" - (p.delim("left") | Error("Expected a delimiter")) - + ZeroOrMore(p.simple | p.auto_delim)("mid") - diff --git a/dev-python/matplotlib/matplotlib-3.7.1.ebuild b/dev-python/matplotlib/matplotlib-3.7.1.ebuild deleted file mode 100644 index 6d55e63a2d55..000000000000 --- a/dev-python/matplotlib/matplotlib-3.7.1.ebuild +++ /dev/null @@ -1,331 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic multiprocessing prefix pypi -inherit toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-7.1.1[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.7.1-test.patch - ) - - sed \ - -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - -i lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - sed -i -e '/setuptools_scm/s:,<7::' setup.py || die - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # unhappy about xdist - tests/test_widgets.py::test_span_selector_animated_artists_callback - ) - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --pyargs matplotlib -m "not network" \ - -p xdist.plugin -n "$(makeopts_jobs)" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - 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/matplotlib/matplotlib-3.7.2-r1.ebuild b/dev-python/matplotlib/matplotlib-3.7.2-r1.ebuild deleted file mode 100644 index c9db102721f2..000000000000 --- a/dev-python/matplotlib/matplotlib-3.7.2-r1.ebuild +++ /dev/null @@ -1,334 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic multiprocessing prefix pypi -inherit toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-7.1.1[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.7.1-test.patch - "${FILESDIR}"/matplotlib-3.7.2-macOS_no-Cocoa.patch - "${FILESDIR}"/matplotlib-3.7.2-pyparsing-3.1.patch - ) - - sed \ - -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - -i lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - sed -i -e '/setuptools_scm/s:,<7::' setup.py || die - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # unhappy about xdist - tests/test_widgets.py::test_span_selector_animated_artists_callback - ) - - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --pyargs matplotlib -m "not network" \ - -p xdist.plugin -n "$(makeopts_jobs)" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - 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/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild deleted file mode 100644 index 8c0235df7092..000000000000 --- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild +++ /dev/null @@ -1,336 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic multiprocessing prefix pypi -inherit toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -# -# <pyparsing-3.1.0 for https://github.com/matplotlib/matplotlib/issues/26152 -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-7.1.1[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - <dev-python/pyparsing-3.1.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.7.1-test.patch - "${FILESDIR}"/matplotlib-3.7.2-macOS_no-Cocoa.patch - ) - - sed \ - -e 's/matplotlib.pyparsing_py[23]/pyparsing/g' \ - -i lib/matplotlib/{mathtext,fontconfig_pattern}.py \ - || die "sed pyparsing failed" - sed -i -e '/setuptools_scm/s:,<7::' setup.py || die - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # unhappy about xdist - tests/test_widgets.py::test_span_selector_animated_artists_callback - ) - - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --pyargs matplotlib -m "not network" \ - -p xdist.plugin -n "$(makeopts_jobs)" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - 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/matplotlib/matplotlib-3.7.3.ebuild b/dev-python/matplotlib/matplotlib-3.7.3.ebuild deleted file mode 100644 index c140325a5722..000000000000 --- a/dev-python/matplotlib/matplotlib-3.7.3.ebuild +++ /dev/null @@ -1,328 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic multiprocessing prefix pypi -inherit toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-7.1.1[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{8..10}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.7.1-test.patch - "${FILESDIR}"/matplotlib-3.7.2-macOS_no-Cocoa.patch - ) - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # unhappy about xdist - tests/test_widgets.py::test_span_selector_animated_artists_callback - ) - - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --pyargs matplotlib -m "not network" \ - -p xdist.plugin -n "$(makeopts_jobs)" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - 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/matplotlib/matplotlib-3.8.0.ebuild b/dev-python/matplotlib/matplotlib-3.8.0.ebuild deleted file mode 100644 index 4f9c75f2e269..000000000000 --- a/dev-python/matplotlib/matplotlib-3.8.0.ebuild +++ /dev/null @@ -1,332 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic multiprocessing prefix pypi -inherit toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.2.0[${PYTHON_USEDEP}] - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.25[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-7.1.1[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.8.0-test.patch - ) - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # unhappy about xdist - tests/test_widgets.py::test_span_selector_animated_artists_callback - # timeout - tests/test_backends_interactive.py::test_webagg - ) - - case ${EPYTHON} in - python3.11) - EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_constrainedlayout.py::test_compressed1 - ) - ;; - esac - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --pyargs matplotlib -m "not network" \ - -p xdist.plugin -n "$(makeopts_jobs)" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/matplotlib/matplotlib-3.8.1.ebuild b/dev-python/matplotlib/matplotlib-3.8.1.ebuild deleted file mode 100644 index 4784569e6848..000000000000 --- a/dev-python/matplotlib/matplotlib-3.8.1.ebuild +++ /dev/null @@ -1,332 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 flag-o-matic multiprocessing prefix pypi -inherit toolchain-funcs virtualx - -FT_PV=2.6.1 -DESCRIPTION="Pure python plotting library with matlab like syntax" -HOMEPAGE=" - https://matplotlib.org/ - https://github.com/matplotlib/matplotlib/ - https://pypi.org/project/matplotlib/ -" -SRC_URI+=" - test? ( - https://downloads.sourceforge.net/project/freetype/freetype2/${FT_PV}/freetype-${FT_PV}.tar.gz - ) -" - -# Main license: matplotlib -# Some modules: BSD -# matplotlib/backends/qt4_editor: MIT -# Fonts: BitstreamVera, OFL-1.1 -LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets" - -# internal copy of pycxx highly patched -# dev-python/pycxx -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/contourpy-1.0.1[${PYTHON_USEDEP}] - >=dev-python/cycler-0.10.0-r1[${PYTHON_USEDEP}] - >=dev-python/fonttools-4.22.0[${PYTHON_USEDEP}] - >=dev-python/kiwisolver-1.3.1[${PYTHON_USEDEP}] - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.25[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/pillow-8[jpeg,webp,${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.3.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - media-fonts/dejavu - media-fonts/stix-fonts - media-libs/freetype:2 - media-libs/libpng:0 - >=media-libs/qhull-2013:= - virtual/imagemagick-tools[jpeg,tiff] - cairo? ( - dev-python/cairocffi[${PYTHON_USEDEP}] - ) - excel? ( - dev-python/xlwt[${PYTHON_USEDEP}] - ) - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - latex? ( - virtual/latex-base - app-text/dvipng - app-text/ghostscript-gpl - app-text/poppler[utils] - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexextra - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - ) - qt5? ( - dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] - ) - webagg? ( - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - ) - wxwidgets? ( - $(python_gen_cond_dep ' - dev-python/wxpython:*[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) -" - -BDEPEND=" - ${RDEPEND} - dev-python/pybind11[${PYTHON_USEDEP}] - >=dev-python/setuptools-scm-7[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - >=app-text/dvipng-1.15-r1 - >=dev-python/colorspacious-1.1.2[${PYTHON_USEDEP}] - >=dev-python/ipython-1.18.2[${PYTHON_USEDEP}] - >=dev-python/numpydoc-0.9.2[${PYTHON_USEDEP}] - >=dev-python/scipy-1.4.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}] - >=dev-python/sphinx-gallery-0.3.1-r1[${PYTHON_USEDEP}] - >=dev-python/xlwt-1.3.0-r1[${PYTHON_USEDEP}] - virtual/latex-base - dev-texlive/texlive-latexextra - dev-texlive/texlive-fontsrecommended - dev-texlive/texlive-latexrecommended - dev-texlive/texlive-luatex - dev-texlive/texlive-xetex - >=media-gfx/graphviz-2.42.3[cairo] - ) - test? ( - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tornado-6.0.4[${PYTHON_USEDEP}] - gtk3? ( - >=dev-python/pygobject-3.40.1-r1:3[cairo?,${PYTHON_USEDEP}] - x11-libs/gtk+:3[introspection] - ) - ) -" - -distutils_enable_tests pytest - -use_setup() { - local uword="${2:-${1}}" - if use "${1}"; then - echo "${uword} = True" - echo "${uword}agg = True" - else - echo "${uword} = False" - echo "${uword}agg = False" - fi -} - -python_prepare_all() { -# Generates test failures, but fedora does it -# local PATCHES=( -# "${FILESDIR}"/${P}-unbundle-pycxx.patch -# "${FILESDIR}"/${P}-unbundle-agg.patch -# ) -# rm -r agg24 CXX || die -# rm -r agg24 || die - - # Affects installed _version.py, bug #854600 - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - - local PATCHES=( - "${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch - "${FILESDIR}"/matplotlib-3.8.0-test.patch - ) - - hprefixify setupext.py - - rm -rf libqhull || die - - distutils-r1_python_prepare_all -} - -python_configure_all() { - append-flags -fno-strict-aliasing - append-cppflags -DNDEBUG # or get old trying to do triangulation - tc-export PKG_CONFIG - - unset DISPLAY # bug #278524 - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die -} - -python_configure() { - mkdir -p "${BUILD_DIR}" || die - - # create setup.cfg (see setup.cfg.template for any changes). - - # common switches. - cat > "${BUILD_DIR}"/setup.cfg <<- EOF || die - [directories] - basedirlist = ${EPREFIX}/usr - [provide_packages] - pytz = False - dateutil = False - [libs] - system_freetype = True - system_qhull = True - [packages] - tests = True - [gui_support] - agg = True - gtk = False - gtkagg = False - macosx = False - pyside = False - pysideagg = False - qt4 = False - qt4agg = False - $(use_setup cairo) - $(use_setup gtk3) - $(use_setup qt5) - $(use_setup tk) - $(use_setup wxwidgets wx) - EOF - - if use gtk3 && use cairo; then - echo "gtk3cairo = True" >> "${BUILD_DIR}"/setup.cfg || die - else - echo "gtk3cairo = False" >> "${BUILD_DIR}"/setup.cfg || die - fi -} - -wrap_setup() { - local MAKEOPTS=-j1 - local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg - "$@" -} - -python_compile() { - wrap_setup distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_compile_all() { - if use doc; then - cd doc || die - - VARTEXFONTS="${T}"/fonts \ - emake SPHINXOPTS= O=-Dplot_formats=png:100 html - fi -} - -src_test() { - mkdir build || die - ln -s "${WORKDIR}/freetype-${FT_PV}" build/ || die - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # broken by -Wdefault - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg6-MatplotlibDeprecationWarning]" - "tests/test_rcparams.py::test_validator_invalid[validate_strlist-arg7-MatplotlibDeprecationWarning]" - tests/test_testing.py::test_warn_to_fail - # TODO? - tests/test_backend_qt.py::test_fig_sigint_override - # unhappy about xdist - tests/test_widgets.py::test_span_selector_animated_artists_callback - # timeout - tests/test_backends_interactive.py::test_webagg - ) - - case ${EPYTHON} in - python3.11) - EPYTEST_DESELECT+=( - # https://github.com/matplotlib/matplotlib/issues/23384 - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" - "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_constrainedlayout.py::test_compressed1 - ) - ;; - esac - - case "${ABI}" in - alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) - EPYTEST_DESELECT+=( - # too large for 32-bit platforms - 'tests/test_axes.py::test_psd_csd[png]' - ) - ;; - *) - ;; - esac - - if use hppa ; then - EPYTEST_DESELECT+=( - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[function without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[accent without space]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]' - 'tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double superscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[double subscript]' - 'tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]' - 'tests/test_quiver.py::test_barbs[png]' - 'tests/test_quiver.py::test_barbs_pivot[png]' - 'tests/test_quiver.py::test_barbs_flip[png]' - 'tests/test_text.py::test_parse_math' - 'tests/test_text.py::test_parse_math_rcparams' - ) - fi - - # we need to rebuild mpl against bundled freetype, otherwise - # over 1000 tests will fail because of mismatched font rendering - grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ - > "${BUILD_DIR}"/test-setup.cfg || die - local -x MPLSETUPCFG="${BUILD_DIR}"/test-setup.cfg - - esetup.py build -j1 --build-lib="${BUILD_DIR}"/test-lib - local -x PYTHONPATH=${BUILD_DIR}/test-lib:${PYTHONPATH} - - # speed tests up - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest --pyargs matplotlib -m "not network" \ - -p xdist.plugin -n "$(makeopts_jobs)" || die -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/build/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild b/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild index d24f1922080b..e62cf69c61a4 100644 --- a/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild +++ b/dev-python/matplotlib/matplotlib-3.8.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -29,7 +29,7 @@ SRC_URI+=" # Fonts: BitstreamVera, OFL-1.1 LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" IUSE="cairo doc excel gtk3 latex qt5 tk webagg wxwidgets" # internal copy of pycxx highly patched diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index 6c794b6c33b6..0c610567ab96 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,9 +1,3 @@ -DIST mkdocs-git-revision-date-localized-plugin-1.2.0.gh.tar.gz 378268 BLAKE2B ee4270e60a23b4c040de1b931c1d18f785d95b1947facd66d0b9180452dd30fee518fcdf24840b6523ee4944cf363ebbf9a27c93b09f45cc09daf277d4fd7085 SHA512 627c1b6c955f8c787ac01e9be5827648a8c9bbd1f9449c8a734f47fc83d28e3eba5faad142f69da12291c4ac3f728ae2c090e9b8e0a84b585557977a9fe04241 -DIST mkdocs-git-revision-date-localized-plugin-1.2.1.gh.tar.gz 377237 BLAKE2B 86e9b15c79cd9b1a17d3231cefd8ccf86afab8fc013e82ae116a38a5094386c6e450fde8a3fc0ecbc82dfe699c1973c86d9cc0f39f89b67617b0f9f0b37da0cf SHA512 4d2ad4406a2eb1a672ff4ce4b78a4b46a53a4189bbc5bff29d8682e7dbfc95ce5e22cf6f0865dca3941aa430b2f10e6bbd3bd8bddf2076190d14a21ca88e7a10 -DIST mkdocs-git-revision-date-localized-plugin-1.2.2.gh.tar.gz 377297 BLAKE2B c6ae0270f37931a0d3c1c1e5f73ec7423be2803ed86819f8c82cae0eea0461945ce6dcea3a61cf88879f879bbfe838d49fa5b314bf69bf707d6159b72b34ecb5 SHA512 23fe871b7688aff7fde54657493076f2371fce10476e5bbdcc1a5efe39aad374b79f865309baefaacff61109fe2489ac326d6975275470eab5edca8ef075eea1 DIST mkdocs-git-revision-date-localized-plugin-1.2.4.gh.tar.gz 377301 BLAKE2B 1270af27887411088969f086fa5c7426cca7221264c863201cc0fe0a0d3f7a004f9d2ca264d4c4b6e9678c420534d5a18996f5556c3ce3a6761f294e0c629fbd SHA512 24becb98d6f04500935f9f0be21ae1fa39cb8f01afc9d5eb38f320bc3aef4baae345e6d5af768d882fb10b15ffcaba9e2b32fe3430b800ba7097cd27b4ab5657 -EBUILD mkdocs-git-revision-date-localized-plugin-1.2.0.ebuild 1550 BLAKE2B 082c3a75a5977336b4688f2d09edb52a6a6f70a66696508b6c31f1adc177e4b382b3be6cc037478a7db87defa88513f0c2a9311192dddc8a71c05b214d624e9d SHA512 f207793075268f2cff1e6d80ba56e5ccdb7e99c4a196d2e7441247c87284211d04b98b8ae3551ab564aedd7c3a5d30f884f7f13ad6267f962cb8b1b5216f7562 -EBUILD mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild 1559 BLAKE2B 2df7834af052172ca1f393182f36f107cf6ffbf9b0ce8804c93f06d91b64eb5d94fb12ab12fb4ba8427be66892afcbdf1ab1b236dcce06043259b6ceb24cf87f SHA512 71670f4f1924fb600227ad166f1c0c1dc87c0d9351c6629e3bc047fb0016be3f48492599b9c98482839f135aa5f54bf7283ff56c88fd06e434a6bcc2ebee44fc -EBUILD mkdocs-git-revision-date-localized-plugin-1.2.2.ebuild 1560 BLAKE2B 33fdb8f5376b95109a4380bd8267da876c546eabf37eb2858bb83624e2d9bfbfbb5fdd526e4a3be85b1e47f2bd7d8c9399aa5d14d7b01670f667537d8cee4834 SHA512 65624ce20d606251abb8fe33e325e41000c2b716ecd6f3b0d59113f5eb35c1dad45f2a77beca13a8507423dc486f6bc157e07e9633900753f9e40d063b93cb5f -EBUILD mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild 1572 BLAKE2B c5d8cdb62315039452ce9a1d7da5f09bbfe60c3fe92df22a05e4e33f520a0ecfa341432c790cde120601005be189a75943277e24d6871bdf0772ad54ff31cef7 SHA512 4199a44f4cae6102b65272c10436f481793b3d519c29b49d733f7232ef2a2e290df117b444320c88756e420aaf7e8a1aedfa0809d8498ff7183412d6848c18e4 +EBUILD mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild 1569 BLAKE2B 603cd5a489eb5f466c0c621f80523d06655e51a952bf5941c292049bc0bb96694daae68bf0e8e619c8da5aec19d6f53d14422b6f42004057b0b776a7cb73adce SHA512 401abdce57f9a02bcdb56fb95f646a917b4af6e508e1d10f9b142717afa300b2246fc6edcc5e131e2284136efdd20d210a1c9bdb89037b1ba2593f071578648c MISC metadata.xml 596 BLAKE2B 9010c7fd37265b6770544a605f918524b75d7b1afea8809075c3b5afb5e56f6848aff4c7fe98367b3dcb3de16f0d21682f9a2fc80f441783f32f904dd8f9a152 SHA512 431dff95204b056afa3a4dab48eec1559d72d0c1ae9a65d89d95fb97454f858c9022578043238a34ce205ac5a16871e6f6d68a3bfe3231c20852437c4fd66254 diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.0.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.0.ebuild deleted file mode 100644 index c064a42f2c6d..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.0.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" -PYTHON_COMPAT=( python3_{9..11} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/regex - dev-python/mkdocs-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI=" - https://github.com/timvink/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.ebuild deleted file mode 100644 index b5e429a43461..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.1.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" -PYTHON_COMPAT=( python3_{10..12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/regex - dev-python/mkdocs-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI=" - https://github.com/timvink/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.2.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.2.ebuild deleted file mode 100644 index a50cf472405c..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.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" -PYTHON_COMPAT=( python3_{10..12} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/regex - dev-python/mkdocs-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI=" - https://github.com/timvink/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] - dev-python/GitPython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "you@example.com" || die - git config --global user.name "Your Name" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild index 89c26801632f..e50010450edc 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.4.ebuild @@ -29,7 +29,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 461c50fa0dc5..53dc3fa9c818 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,26 +1,5 @@ -AUX moto-4.2.12-32bit-time.patch 2007 BLAKE2B ff04c236a67dcbf52e85bde3e60abaa924723ecc84206b3e0f075c6cf6561fafdf6f5311019c8c2fb588c853166924614b60c4115dd3311ac018458c3c8563d8 SHA512 bffbf38942600249d5b511289448a1b5fd9c13898803043d1432f083194cb4d97fbb86f40f4013b0f29e12689d02e6b285227cd39da6b129607d39e60c3f0255 -DIST moto-4.2.10.tar.gz 4784297 BLAKE2B ece1bc4f67c427890bb6f2e029d3bca44045ce5cf522944f9770b1ab61ad21ba3ee485a74e99eb92d1de4552c670bcd36e74ee83bfc90676b6d53cfc06fc4025 SHA512 69b3a3e9231844e728b068d5e4a3e5bc690237d68708c90e10198467ffcd6b5339f8f3b24029102ea0b0d3fcacef4b1a509be1b097d93b9f5456c8d6fcc8df95 -DIST moto-4.2.11.tar.gz 4796124 BLAKE2B 980db98cf688631ba2f88ca44e858b739b103a672668a6a4bf26d752aab946b74a46c746c1e4666d0079597dd219bebf104e36a39a2ed53091c0bdf67efcd4ad SHA512 51cb0d4d26e7b88af439a0a346698a081e823443ffd3c0bc64d864ca56e960d8cebb3045c8fb5f293d3059f9f15c46b966d1d8bb09eb2cb1b10156094588c8a0 -DIST moto-4.2.12.tar.gz 4810689 BLAKE2B 07811805b73b2f1358f933dfc9a7a710d1cc209ad99edfe91fd3cd36713b9b404cfe82b249223860f828fc26d2cf18e303368cc6e182c515b44cfdcf7ab2d65d SHA512 774d1cc565e3cff3b3ba42790d15dd91850aa648b79a5a078f624b44bf499d360a01b68f9cf0d110a305efeede3e80408ecd06d6ffb9208f98e0ae86ea7cd514 -DIST moto-4.2.13.tar.gz 4832368 BLAKE2B 36b053b5278bcbf289b33d013d7935282447d770c6e1d58585e90df9266bfa7edeb3a935b0f9f0607fc1c451be90147af43347af696e925ee3df1bb3463738de SHA512 89d12ec24f25ae8986179ceeefaf0b2850a4c77d95609de998e81e7ec511f900ed7886caee4fcbba2e44b0fdec195c610f32403997a281e1e00ae1af0c4f5669 DIST moto-4.2.14.tar.gz 4933741 BLAKE2B 4c50a808dc8f27cfbcd0ba234d268084ee9a32f36cb5d6af61aacc4ee79f7bf5cf1045147c4642472129eee37bef8bc2c1953d140260d39d7f333ae0f5e5cf95 SHA512 d4079118ed1d2eef9134575e33dc0ed749bff0293d753baa63a630dbb987914b9933445027abdc344bb93fa1d6e483baf8a337a444c9dd055dda50b095ff9937 -DIST moto-4.2.6.tar.gz 4745145 BLAKE2B 76610aafe3ea4106454aadbc8cf853ff5d4617202a62ae92e6cbe46c75a17d1dd8e63e8188c0c17a88af080bfe6c3466ed420378cee27d0287fe617d3412807e SHA512 0bef11a2600d48349735e7d118f6f28b02fb85e2b5e7310aaa0651444740ad4657470a59c59dab75084cb4250c6b5b725eda5e996b9acbc927529850cabc4c1c -DIST moto-4.2.7.tar.gz 4756973 BLAKE2B 2ab27952abd6faaa2bbe7b6565f5d5403ea4e2c5c87e262b9b8fce9efbd7bb6972e295476426026f4ab7c000da33dfed2d401c04514b1c87bb15a1ae36c4c9cb SHA512 b23272d125b8fcc57cc72243d559cd985f7b96b3e38df31cc83792dc2b830e17a0cf4e44eaec81473b567a2203014d3cfa1f2bfb77f994ca46fb3013d47da704 -DIST moto-4.2.8.tar.gz 4769361 BLAKE2B 2e7d6a7cac04655aa9f05af463e57689c0fc2b67cec27644fdf7fd658d988d33f311e43323599a0f91325f7b4e61630a3066d3fda2a15b0c0ca50e6a7cf34e22 SHA512 5a40d44ad46083b6e7c8753e8986316a5beb5b352e7e7b0eefe2b3f3ed2d760f0745f835b6e7d6b2d7b039db0b6f2fad095f047795d2d08093257fa68db1ceee -DIST moto-4.2.9.tar.gz 4775687 BLAKE2B af626a18c9487c08172813ddf2f1112d4bba80dbb64bf8deaf63079a6d4c12464e70d7c99d5a65fd1018f9f3a08bd0b12183e04a549fdfe580942086d49b9e21 SHA512 4cca0bdbe106faa84fa3893eb1dc2b2972a85c98ca718a10fd08a06757e1634954c5576c82b66d88c431a51b989cfedb2a52e6455d718330d4a5dd6e95a90225 -DIST moto-5.0.0.tar.gz 4925737 BLAKE2B 45d60d1c7a53d9743cd4f3ac74a2108f9a6916dea09abb067111acbddf2ba5bb69e6ba354cdeb6be88876e4b8a8270876cfd4dab95339e948bf7cfb6e417e7d2 SHA512 44705d9b5aa5b373687fb34cae1d047b67b312bb788414f7b6c19b3f1e06fdf8fa69e88ae5df56bcc2ef0a74809211e0372fadb555ad57f50f313587d7dedb83 -DIST moto-5.0.1.tar.gz 4933500 BLAKE2B 730bb8ca2db3e1a82d88cff0362d4be750bf138df0e52a04c18d707d965b093c5e07b400789b0bd8874e68ea7c8159911c0d84b3f535ac1da8d18e786e1f44af SHA512 0f72e6c07ab3c24ba70a309517498e77ed809970121ae5b63c249e4f73ebefa7787bbcfcacc310b0ae566d81c2dd8d0e0d767cba3bbbefb72e2620f1f2ea45fa DIST moto-5.0.2.tar.gz 4948857 BLAKE2B 664da28791bbf65eae9f76f59fd62f9c53aeb615c714fb142684213fe90f6e1e071f30511dfa44e16b12abd6fcf97316d097f3b4b1008a0f1139e5a419f1bb87 SHA512 4fb03586171dfde6979022623047578634f9b8ec7ac34234bbfe3e60492c34a04b61547c4fb42f7734ad8284271cc238cc33692b746d52d004d33f0c6348852b -EBUILD moto-4.2.10.ebuild 5914 BLAKE2B 4016128f8ab1189f6a81171d56b88ce019d6cd2354b8e35d76d4fec571673f398e70ba6ce25ffc0e31f94e1fbb0ce6bc2a32f7e5aec5d4c07f878122d3f17900 SHA512 14aca79dac6b5594b799b848461a3a06a60c10fa7e46724f3ece99fe0b5ab406ae9f35131c24aab0c8bb5a2051302ac8135ad478b8a52c1c549e8538682a8b3c -EBUILD moto-4.2.11.ebuild 6009 BLAKE2B 712b425412154d910309d09169ea238101706a0727e2105dfecd457d2a80b831abed92fd0b7f10f200339f2c43823bca5f4a5f64f8876b1dd913c541d189f965 SHA512 a9cf3859a1461acc50811c695f2ee004b68815034582b99a283a05e936a53cc6940b79c808afac55fefab2931320275ccbe3d3b9a3a42e9224805d82812405fc -EBUILD moto-4.2.12.ebuild 6543 BLAKE2B a29d86ef2311cb341bfd1c4d8c5227626197b651e39cc386b5497b4338de932764ce18ea6f532a28e96ed782307bc295b448df5a8c4ce24cbc271358eb83872b SHA512 5cd8b29886ca8190726681c01b423a0a23c77085f678bab1e2091cfc67b39cd179fe39219a2c1ba82be01a114ec04a09e03b96a9f1c78fcef2d7f75c3a483d2a -EBUILD moto-4.2.13.ebuild 6617 BLAKE2B 2a2c5e41fc956b394c62945493757ca981f48b71bce2e1b7a8c1a113639fba0fe6b610cc0e05b1a6fb06909f57b6418d68ad99ab33b2cbc49fb4de5a9047da43 SHA512 5237b9895bb3f6dcf056deb07fe191577fd20302a68854f194fa66a00d2d209fc56283cad1bb79b77e54e6adbfaf65b04e13dee8957a83e0d4be44c06d1d8f4f -EBUILD moto-4.2.14.ebuild 6514 BLAKE2B 92c614e55027294c651541f81b226aae8efc7f47922c337ec4ee6208c4ff58d47964b567081395a24354ca773e1a3c4be53be4051bb9849d495b8b614f8be779 SHA512 b24cdd2b92d6321e230f096a6d152aeff27d637cfcd9e2c4dcabac47203396aad3c4923b161d7480eee8e032c2dd6759f5c43ec44cd008a3c1b2dae897d46880 -EBUILD moto-4.2.6.ebuild 5359 BLAKE2B 6ee0a6220460ee749a7faed6e3f7f9f4f2c3733aba209c9f8d18e45289f2208a118010375ca8e9662d664e2561592686f0b526e6b631079a0c30a75edd12b199 SHA512 2bf759f825c63e3c770a863e934aecb040cd2f70c374d13c0f56b663a9ae52a33d497e5ad6d2479b8193b3c21cc425d3171681d0f4f864e4e97dcca31df7c116 -EBUILD moto-4.2.7.ebuild 5602 BLAKE2B 652d910f9dcf9f2de0974aa1c3e9ff25487b4693aafe5778f78a2921b4fe2e764c05acdd1684c93b68fb3741d90dcd6ac42b7ea31b86911f9be42e299a7c41d4 SHA512 54bfebaf230f2664cc68dbe35503ebff72badd1a4f9002960198b9db76f85d57918e7b89c45b9032b363478f0c6a6d7c8b08d833e6a2656e7aadd47117ccd702 -EBUILD moto-4.2.8.ebuild 5490 BLAKE2B 7b20396b028362a9d3574c3195da23b0db482e85c02a858c843863f07f035650df03be200a42c91e4b960a2abaeb7e4eaa3b0b5ce24261378b14d5db3374ccbf SHA512 6826bc9b420815f5e5922d1cf83ff44ec9fdb9365d75999dc3e371f30c64b433c116e4b0221c17c417a7a6c8162ebd714d5fc708226a87f205322c2280baafd1 -EBUILD moto-4.2.9.ebuild 5686 BLAKE2B 04cc2c9889141fb1d54ed028e4046672901c7f1aeaa86a46798a54c0ea2372458ade16ac93d2d9fa74fd8b67555902c60f1b00e1557922d4ac370e43b4648073 SHA512 e7f0246caa5cb751a6b26c55c1309dbe17a1689e89924a0a3f5979262ddb6bb007d801f8ae3a5cc2893287240b430a2a7df90efc592e94baf8c20d5266e612d0 -EBUILD moto-5.0.0.ebuild 6626 BLAKE2B 957d9c398c87f73a83afd9feb358b6ce2965a7d046c84f98ab60bd1203a934cea160571c693d86c196d48944a970e70a8212e4434a4ab509bad34892f2fd602c SHA512 434aab010656345047b7c793be213b581fab6529f34b073d387518a5ab3e58bafe38b10bf4dd117d737701c0131126bd94f0fe1f8bbf6fb207172a5f2edf129c -EBUILD moto-5.0.1.ebuild 6137 BLAKE2B c3d04cdc36655ee8d3f02c9504842079cd4442d8b7d8cab81af7a5403f0efbf4326fe65f13a45235f755be028a91cf4a189e740e65d5e1f5cb335f1915ecbc60 SHA512 f8d233e0f3c5204ffde35993add831a8ba65814ca25681f5ded1855c0c62cd52cfabeb46d1ab6c6b3016b97adb57977d3dd8752ee46cff44c240e48f0282c80d +EBUILD moto-4.2.14.ebuild 6511 BLAKE2B 7bd2d7dcdbf678785be8f87b079f1c7a6295ae10dd50a8460f5937f9cb962bac232de2aeca8c6bb029fb5446c3784c1a92df30453660ed50491bf49fb90e3b2e SHA512 498b5c82391981420595b5b25465e69fe9dee5afbfc4619b92b05f93f3585e2abaea8733f8a74cfbb3475b74e49c778383d2e78f22caae6d904603539e6a64e9 EBUILD moto-5.0.2.ebuild 7242 BLAKE2B 07774b247c1f56e98d53069fe0f3ba4511ca830eeeda125ded409765b92e73d9fe9245d15093f85f5d3680b94b3d31e7c3e3e287a91dff28c9e70aa4e4dcfd91 SHA512 a6863ddd53d37e6c461e2de94bc9bf8b99dc79bcdc77ff8d699996a3f88e5c9f167f9b1a0b1bd4823514c878ec3f67f0444cc90564f7d956b97ebf892b7c6591 MISC metadata.xml 553 BLAKE2B 1669d17d3e655aa3fb41a489229a5fbfa6a9cfb23c667e98fbbef931992c7e9645581b9ea12011601093586cba491a5557d68e5256edb9f387c4db362346edf9 SHA512 48ae3bd9be8c3bfb68f7022d0e7bb422c2a06157967809be302067facf91db825023859d18ccea89109931538b0e93181d54a31fcc967628df61a9a3112edd3d diff --git a/dev-python/moto/files/moto-4.2.12-32bit-time.patch b/dev-python/moto/files/moto-4.2.12-32bit-time.patch deleted file mode 100644 index fc9470c1ecab..000000000000 --- a/dev-python/moto/files/moto-4.2.12-32bit-time.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 7afd91fd23ad73550fcc621422e04a3734dc890d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Thu, 18 Jan 2024 13:32:07 +0100 -Subject: [PATCH] Fix more test failures on platforms with 32-bit time_t - (#7222) - ---- - tests/test_acm/test_acm.py | 5 ++++- - tests/test_sagemaker/test_sagemaker_pipeline.py | 5 ++++- - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/tests/test_acm/test_acm.py b/tests/test_acm/test_acm.py -index d0c46d20c..d2943d801 100644 ---- a/tests/test_acm/test_acm.py -+++ b/tests/test_acm/test_acm.py -@@ -92,7 +92,10 @@ def test_list_certificates(): - issued_arn = _import_cert(client) - pending_arn = client.request_certificate(DomainName="google.com")["CertificateArn"] - -- certs = client.list_certificates()["CertificateSummaryList"] -+ try: -+ certs = client.list_certificates()["CertificateSummaryList"] -+ except OverflowError: -+ pytest.skip("This test requires 64-bit time_t") - assert issued_arn in [c["CertificateArn"] for c in certs] - assert pending_arn in [c["CertificateArn"] for c in certs] - for cert in certs: -diff --git a/tests/test_sagemaker/test_sagemaker_pipeline.py b/tests/test_sagemaker/test_sagemaker_pipeline.py -index 8323eb29b..31443b26b 100644 ---- a/tests/test_sagemaker/test_sagemaker_pipeline.py -+++ b/tests/test_sagemaker/test_sagemaker_pipeline.py -@@ -515,7 +515,10 @@ def test_list_pipelines_created_after(sagemaker_client): - _ = create_sagemaker_pipelines(sagemaker_client, pipelines) - - created_after_str = "2099-12-31 23:59:59" -- response = sagemaker_client.list_pipelines(CreatedAfter=created_after_str) -+ try: -+ response = sagemaker_client.list_pipelines(CreatedAfter=created_after_str) -+ except OverflowError: -+ pytest.skip("This test requires 64-bit time_t") - assert not response["PipelineSummaries"] - - created_after_datetime = datetime.strptime(created_after_str, "%Y-%m-%d %H:%M:%S") --- -2.43.0 - diff --git a/dev-python/moto/moto-4.2.10.ebuild b/dev-python/moto/moto-4.2.10.ebuild deleted file mode 100644 index 346d7f5f663b..000000000000 --- a/dev-python/moto/moto-4.2.10.ebuild +++ /dev/null @@ -1,131 +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 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.11.ebuild b/dev-python/moto/moto-4.2.11.ebuild deleted file mode 100644 index a1e045eb7685..000000000000 --- a/dev-python/moto/moto-4.2.11.ebuild +++ /dev/null @@ -1,132 +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 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.12.ebuild b/dev-python/moto/moto-4.2.12.ebuild deleted file mode 100644 index c0356463511e..000000000000 --- a/dev-python/moto/moto-4.2.12.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/getmoto/moto/pull/7222 - "${FILESDIR}/${PN}-4.2.12-32bit-time.patch" -) - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3/test_s3_list_object_versions.py - tests/test_s3/test_s3_tagging.py - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.13.ebuild b/dev-python/moto/moto-4.2.13.ebuild deleted file mode 100644 index 4c5ec0a8173d..000000000000 --- a/dev-python/moto/moto-4.2.13.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/getmoto/moto/pull/7222 - "${FILESDIR}/${PN}-4.2.12-32bit-time.patch" -) - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request - tests/test_events/test_events.py::test_start_replay_send_to_log_group - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3/test_s3_list_object_versions.py - tests/test_s3/test_s3_tagging.py - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.14.ebuild b/dev-python/moto/moto-4.2.14.ebuild index 14231d235e5b..8ed94ab5f34b 100644 --- a/dev-python/moto/moto-4.2.14.ebuild +++ b/dev-python/moto/moto-4.2.14.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] diff --git a/dev-python/moto/moto-4.2.6.ebuild b/dev-python/moto/moto-4.2.6.ebuild deleted file mode 100644 index 43c4cc5d1165..000000000000 --- a/dev-python/moto/moto-4.2.6.ebuild +++ /dev/null @@ -1,123 +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 multiprocessing pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/moto/moto-4.2.7.ebuild b/dev-python/moto/moto-4.2.7.ebuild deleted file mode 100644 index 950ba1996f29..000000000000 --- a/dev-python/moto/moto-4.2.7.ebuild +++ /dev/null @@ -1,126 +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 multiprocessing pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py::test_update_item_returns_old_item - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/moto/moto-4.2.8.ebuild b/dev-python/moto/moto-4.2.8.ebuild deleted file mode 100644 index 5333331b12af..000000000000 --- a/dev-python/moto/moto-4.2.8.ebuild +++ /dev/null @@ -1,126 +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 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-4.2.9.ebuild b/dev-python/moto/moto-4.2.9.ebuild deleted file mode 100644 index 90637210d7dc..000000000000 --- a/dev-python/moto/moto-4.2.9.ebuild +++ /dev/null @@ -1,128 +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 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=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}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - dev-python/botocore[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-5.0.0.ebuild b/dev-python/moto/moto-5.0.0.ebuild deleted file mode 100644 index 821d9d148f5d..000000000000 --- a/dev-python/moto/moto-5.0.0.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.15.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_request_passthrough.py - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - # broken by new urllib3 - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data - tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests - tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url - tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body - tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers - tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request - tests/test_events/test_events.py::test_start_replay_send_to_log_group - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3/test_s3_list_object_versions.py - tests/test_s3/test_s3_tagging.py - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/moto/moto-5.0.1.ebuild b/dev-python/moto/moto-5.0.1.ebuild deleted file mode 100644 index eec24c57da30..000000000000 --- a/dev-python/moto/moto-5.0.1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Mock library for boto" -HOMEPAGE=" - https://github.com/getmoto/moto/ - https://pypi.org/project/moto/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}] - >=dev-python/botocore-1.14.0[${PYTHON_USEDEP}] - >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] - dev-python/cookies[${PYTHON_USEDEP}] - >=dev-python/docker-3.0.0[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-cors[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] - >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] - dev-python/more-itertools[${PYTHON_USEDEP}] - >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] - >=dev-python/openapi-spec-validator-0.5.0[${PYTHON_USEDEP}] - dev-python/pyaml[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-jose[${PYTHON_USEDEP}] - >=dev-python/responses-0.15.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.5[${PYTHON_USEDEP}] - dev-python/sshpubkeys[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/xmltodict[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/zipp[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_firehose/test_firehose_put.py::test_put_record_http_destination - tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination - # broken code (local variable used referenced before definition) - tests/test_appsync/test_appsync_schema.py - # Needs network (or docker?) but not marked as such, bug #807031 - # TODO: report upstream - tests/test_awslambda/test_lambda_layers_invoked.py::test_invoke_local_lambda_layers - tests/test_batch/test_batch_jobs.py::test_cancel_pending_job - tests/test_batch/test_batch_jobs.py::test_cancel_running_job - tests/test_batch/test_batch_jobs.py::test_container_overrides - tests/test_batch/test_batch_jobs.py::test_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_dependencies - tests/test_batch/test_batch_jobs.py::test_failed_job - tests/test_batch/test_batch_jobs.py::test_submit_job_array_size - tests/test_batch/test_batch_jobs.py::test_terminate_job - tests/test_batch/test_batch_jobs.py::test_terminate_nonexisting_job - tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed - - tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function - tests/test_core/test_docker.py::test_docker_is_running_and_available - tests/test_core/test_request_passthrough.py - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_aws_and_http_requests - tests/test_core/test_responses_module.py::TestResponsesMockWithPassThru::test_http_requests - tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" - "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" - # TODO - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue - tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue - # require py_partiql_parser - tests/test_s3/test_s3_select.py - tests/test_dynamodb/test_dynamodb_statements.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x TZ=UTC - - local serial_tests=( - # these tests set up credentials that are needed by the tests below - tests/test_core/test_importorder.py - # these tests apparently rely on some other test setting credentials - # up for them, so they need to be run separately, after the above - tests/test_awslambda_simple/test_lambda_simple.py::test_run_function{,_no_log} - tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py - tests/test_dynamodb/exceptions/test_dynamodb_transactions.py::test_transaction_with_empty_key - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_failure__return_item - tests/test_dynamodb/test_dynamodb.py::test_transact_write_items_put_conditional_expressions - tests/test_dynamodb/test_dynamodb_update_expressions.py::test_update_different_map_elements_in_single_request - tests/test_events/test_events.py::test_start_replay_send_to_log_group - tests/test_lakeformation/test_resource_tags_integration.py - tests/test_redshiftdata - tests/test_resourcegroupstaggingapi/test_server.py::test_resourcegroupstaggingapi_list - tests/test_s3/test_s3.py::test_delete_bucket_cors - tests/test_s3/test_s3.py::test_delete_objects_percent_encoded - tests/test_s3/test_s3.py::test_delete_versioned_bucket_returns_metadata - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args - tests/test_s3/test_s3_copyobject.py::test_copy_key_boto3_with_args__using_multipart - tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosuresUsingMocks - tests/test_s3/test_s3_list_object_versions.py - tests/test_s3/test_s3_tagging.py - tests/test_s3control/test_s3control_access_points.py::test_delete_access_point - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_can_handle_multiple_services - tests/test_utilities/test_threaded_server.py::TestThreadedMotoServer::test_server_is_reachable - ) - - EPYTEST_XDIST= epytest "${serial_tests[@]}" - - EPYTEST_DESELECT+=( "${serial_tests[@]}" ) - epytest -m 'not network' -} diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest index 817a564a30cc..e75a549bac42 100644 --- a/dev-python/nbconvert/Manifest +++ b/dev-python/nbconvert/Manifest @@ -1,9 +1,5 @@ -DIST nbconvert-7.14.2.tar.gz 852202 BLAKE2B 195a4f8088ec82d7fcb56b7450878d8e769027bedf64dec82adfb2683936400c74b62ceb2a24d47724584df0cfa0e9c773e53357b412eda0958aa2c4256cb3fd SHA512 79a91b2cacb50af8eb584668b070bf233de4cdf783fa0d9d256c2204de4a97efc5224088811b6f2b5f89015e4180a24da63c5b79a026b1966df157de325114cd DIST nbconvert-7.15.0.tar.gz 853363 BLAKE2B c417428708279099d8a966ab61d044be1deebbb37757b75a248b8bf50302db8a7ba39a25c0d255777d695f9af93f43f420727c33bdad0a4a239660b7f74cc49a SHA512 bf598cc776ceadadecdec816ec8fd78502cffae399175d22cf184d6e45974fcd0d5e731ef8aa032aec251dcd2a8e5d6077c585c5f70786d4cbe72979e1ad8503 -DIST nbconvert-7.16.0.tar.gz 853637 BLAKE2B 6fdfe20563813c9d331c7406b74bedb09330c812f8be9e78cad76d4a741fc130dcaad95960a1dc5f6028075b6599db9349fabcab7f08906349501cad21401334 SHA512 22e5e5f8d52a27322378da10ecd14b10a14e2a022e7940fbfe2f7c9b9359a00a952d3b32ecd0c0f4959a5d2792630a7a7620dd4476324a773cda840f83aa74f4 DIST nbconvert-7.16.1.tar.gz 854006 BLAKE2B 304690bc9c6636efdec1f904314bab6db7805da5608dd929a837d2c56253423c0df1f8c5e5add54deb32e2a60bc6497c823602d1a11d13bb3b1004cc2f5cd4cc SHA512 6a2991eab0b1e981920d7c040535a1bffea037e854b6aeca26a2c185a31305855096f83092348e7dbd102094d5bda860bc893594126e969cfe170d09f7a808d5 -EBUILD nbconvert-7.14.2.ebuild 2129 BLAKE2B c985ceeaa9b95b9c4404cdab39009e13d3b1873e96fcd351237a0e07642fb845900035bdfe8d1e1f7d27c51a58d5d1f74442cdf9346c47f0b3732f7c89cbe313 SHA512 8954d7e0a0a8a5a139c2b6ffb19185061db8fa51e7b77a4ac9bedb1e83326722a599f05b1cc0486a9b81af380d4ab36eb98a5c3580f771678cfacfb327b88a94 -EBUILD nbconvert-7.15.0.ebuild 2136 BLAKE2B 977df81ed6e32340d84d104efa8969b83a876e96aed32600151a31ef2c6cb1d692002481718472f6ae4ed2b16d1635bd69d5bdf7d0b068c3a2836c48df728140 SHA512 005f516a9011e128e8b867315fc1ddbc57b615d7ff11d51fe21bd73068b1bff5b1f7df2898450a545516fee35e11c0d64db2d8b34634f92bc41c659826bdeedf -EBUILD nbconvert-7.16.0.ebuild 2136 BLAKE2B 977df81ed6e32340d84d104efa8969b83a876e96aed32600151a31ef2c6cb1d692002481718472f6ae4ed2b16d1635bd69d5bdf7d0b068c3a2836c48df728140 SHA512 005f516a9011e128e8b867315fc1ddbc57b615d7ff11d51fe21bd73068b1bff5b1f7df2898450a545516fee35e11c0d64db2d8b34634f92bc41c659826bdeedf +EBUILD nbconvert-7.15.0.ebuild 2129 BLAKE2B c985ceeaa9b95b9c4404cdab39009e13d3b1873e96fcd351237a0e07642fb845900035bdfe8d1e1f7d27c51a58d5d1f74442cdf9346c47f0b3732f7c89cbe313 SHA512 8954d7e0a0a8a5a139c2b6ffb19185061db8fa51e7b77a4ac9bedb1e83326722a599f05b1cc0486a9b81af380d4ab36eb98a5c3580f771678cfacfb327b88a94 EBUILD nbconvert-7.16.1.ebuild 2136 BLAKE2B 977df81ed6e32340d84d104efa8969b83a876e96aed32600151a31ef2c6cb1d692002481718472f6ae4ed2b16d1635bd69d5bdf7d0b068c3a2836c48df728140 SHA512 005f516a9011e128e8b867315fc1ddbc57b615d7ff11d51fe21bd73068b1bff5b1f7df2898450a545516fee35e11c0d64db2d8b34634f92bc41c659826bdeedf MISC metadata.xml 527 BLAKE2B a915103b3eaf57236f4257c98354a1e3733771369ac825fa8bbc4f79f0d1a23272dc86e744513620fbee37792e813a15dbb955e633a7c57597c3c38657ed05d3 SHA512 b60a311ce52915dbc12addd4a882670ac96ff8b3be2aa651eaac3d0963d6e73a72eaafd53f90fb685599504857e6bcd0568071962d7696c2605462b77260ad6a diff --git a/dev-python/nbconvert/nbconvert-7.14.2.ebuild b/dev-python/nbconvert/nbconvert-7.14.2.ebuild deleted file mode 100644 index 5f2a9c069ee1..000000000000 --- a/dev-python/nbconvert/nbconvert-7.14.2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE=" - https://nbconvert.readthedocs.io/ - https://github.com/jupyter/nbconvert/ - https://pypi.org/project/nbconvert/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] - dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] - >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - <dev-python/mistune-4[${PYTHON_USEDEP}] - >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] - dev-python/tinycss2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7.5[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name - tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor - # crazy qtweb* stuff, perhaps permissions - tests/exporters/test_qtpdf.py::TestQtPDFExporter::test_export - tests/exporters/test_qtpng.py::TestQtPNGExporter::test_export - ) - - # virtx implies nonfatal, make it explicit to avoid confusion - nonfatal epytest || die -} - -pkg_postinst() { - if ! has_version virtual/pandoc; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc or app-text/pandoc-bin." - fi -} diff --git a/dev-python/nbconvert/nbconvert-7.15.0.ebuild b/dev-python/nbconvert/nbconvert-7.15.0.ebuild index 90b36a68a170..5f2a9c069ee1 100644 --- a/dev-python/nbconvert/nbconvert-7.15.0.ebuild +++ b/dev-python/nbconvert/nbconvert-7.15.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/beautifulsoup4[${PYTHON_USEDEP}] diff --git a/dev-python/nbconvert/nbconvert-7.16.0.ebuild b/dev-python/nbconvert/nbconvert-7.16.0.ebuild deleted file mode 100644 index 90b36a68a170..000000000000 --- a/dev-python/nbconvert/nbconvert-7.16.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="Converting Jupyter Notebooks" -HOMEPAGE=" - https://nbconvert.readthedocs.io/ - https://github.com/jupyter/nbconvert/ - https://pypi.org/project/nbconvert/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/bleach[${PYTHON_USEDEP}] - dev-python/defusedxml[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0[${PYTHON_USEDEP}] - >=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}] - dev-python/jupyterlab-pygments[${PYTHON_USEDEP}] - >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] - <dev-python/mistune-4[${PYTHON_USEDEP}] - >=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}] - >=dev-python/nbformat-5.7[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4.1[${PYTHON_USEDEP}] - dev-python/tinycss2[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7.5[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name - tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor - # crazy qtweb* stuff, perhaps permissions - tests/exporters/test_qtpdf.py::TestQtPDFExporter::test_export - tests/exporters/test_qtpng.py::TestQtPNGExporter::test_export - ) - - # virtx implies nonfatal, make it explicit to avoid confusion - nonfatal epytest || die -} - -pkg_postinst() { - if ! has_version virtual/pandoc; then - einfo "Pandoc is required for converting to formats other than Python," - einfo "HTML, and Markdown. If you need this functionality, install" - einfo "app-text/pandoc or app-text/pandoc-bin." - fi -} diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest index 2e4dcf17c596..eb69bab0160f 100644 --- a/dev-python/networkx/Manifest +++ b/dev-python/networkx/Manifest @@ -1,5 +1,3 @@ -DIST networkx-3.1.tar.gz 2021691 BLAKE2B 002bb00034e06a45298716c86fec4462efe8db8d206e8263d2e4ce0becc9c073aa2856e0c2df2e74d53237be0b02752204c7e387651aa45387781c383dd1f190 SHA512 9d75ecd25020f83c650824e9449e1c53004c13089dccf7424b65787144dfe3d2f638fd5aca1c4a792b165598b44644fda45bf54c49b3af278ddec5e1f669c38e DIST networkx-3.2.1.tar.gz 2073928 BLAKE2B fc4a4c0357f25cb3e4bfdfb38ffa528eddba22abc852bc80e0a70047aea2e401b0003c01108435ced1eacdba33d181395e73fcfa20773faa566c8b5cb45f6cdb SHA512 579c54a4a016617f5260df01b821c3906c4f289e80ae7bd618c0ebb9e05ebe806e71f1f660e3012531d04572ac4e6670aa73117ed26da8248fbb8ef7228b5803 -EBUILD networkx-3.1.ebuild 1837 BLAKE2B bc11182bfcf68204cc61e85fbed778d2715f1c5a7b9cf3ed22872e31f63b7a33eef501f696e93870d7ee8220608a5bdcf174dbcdd10fff3ca98b848eb00b2300 SHA512 c50fcd4415574e017ac72cb2a023c3ad004a5583430028f5d01f1f9e89d945070c993977c05b69a0c5b13286d3c50b1e593880a3d0178f358e50b42b512ed9d2 -EBUILD networkx-3.2.1.ebuild 1776 BLAKE2B 7f7bffbdf178708c2851793184e5843a01cbba1bd2242d32d598432629f6452a0c280473656a737bbe97c4dd98d985743b256ecd4ca0e6d15643904381fb3241 SHA512 f7b73d81deb9a7f6b4cc491ce72460b59e31cc95d040785c61a2f1b053a97c62b0413549f6f7ccd1a81d2832195750ef46c5255622a5c2abd33d8ff6082ac666 +EBUILD networkx-3.2.1.ebuild 1981 BLAKE2B 1b89883e110e0e775fae6669918656b7e4c373d694f0736c81c262c7165be3457a2a103d03b655435296725c1b559409ef379ddd20c0b6e30828dca11a4d83cb SHA512 0e7fc8755f82b433ad3d60a5f6edaa3b12ee3e100f8a42fa7cb389f9ef29095b7f32a68352f06439691ae5fc3e19f01da0525aadd8014d5f9ed834cee7c45dac MISC metadata.xml 1090 BLAKE2B 9ef8ce06a4f462ac6a535217aa6bb55c9f1994ed3ab57b4cb656434a93a0c1fb401932307c43bd680576b82282b4055b1ee9ef1d49cfd5113927dc4919dc7616 SHA512 e9b291b754118d278b109f5704607f2d9b3807c9e6195b75b77388129952c79dba16e86f0a9c5f65479185c409c5191bb1f8863e282dde052b12d40bc9fb9901 diff --git a/dev-python/networkx/networkx-3.1.ebuild b/dev-python/networkx/networkx-3.1.ebuild deleted file mode 100644 index b046b76b7db8..000000000000 --- a/dev-python/networkx/networkx-3.1.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_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" ) - -inherit distutils-r1 multiprocessing optfeature pypi virtualx - -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 ~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/networkx/networkx-3.2.1.ebuild b/dev-python/networkx/networkx-3.2.1.ebuild index e880d2800171..de907987ef8d 100644 --- a/dev-python/networkx/networkx-3.2.1.ebuild +++ b/dev-python/networkx/networkx-3.2.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" BDEPEND=" test? ( @@ -40,6 +40,13 @@ src_test() { } python_test() { + if use x86 ; then + EPYTEST_DESELECT+=( + # https://github.com/networkx/networkx/issues/5913 (bug #921958) + networkx/algorithms/approximation/tests/test_traveling_salesman.py::test_asadpour_tsp + ) + fi + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # virtx implies nonfatal nonfatal epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal || die diff --git a/dev-python/packaging/Manifest b/dev-python/packaging/Manifest index 0bb111c46c68..a3ae5746a42c 100644 --- a/dev-python/packaging/Manifest +++ b/dev-python/packaging/Manifest @@ -1,4 +1,3 @@ DIST packaging-23.2.tar.gz 146714 BLAKE2B cf7986a07312fd82a2a0ee738088993b9570d95cd0b573afa7a1f911bf335de7084e3d40d961adea7f5a8369738688f9d0a4265ef26a393f2d30769bc13f752a SHA512 8ab5e9bc4feef2fac1c9044dc8a6f2d41aaf9fe2dae671de8b98c0b1a19dca2169588b87d85a8c990d808b1e76faee65984ce970eaa3282b75e107ca82cc2863 -EBUILD packaging-23.2-r1.ebuild 799 BLAKE2B e697bb27a24e0ba08bb4bcd70771d716085f47b9061229a563659e42a6e778ff9f4e879b7c6ebd8e3eba7f471de4b757e91acc23946a76355e93d86358805b5f SHA512 9af51d677b174dbaabaec1946b616cad609cd7ff2f07342304165f9d5074b4cd74e19615bbc40e3f01506700615d3a92f7e5feceb6ae579de79a9a5338d1084f -EBUILD packaging-23.2.ebuild 842 BLAKE2B 2506aee907cc294813a66b275016285090ae73e5d801f9abb40a11fd037db34c70b993c1111e977ff8edc928587a017a532255782622a394bd4d571013561e32 SHA512 70cdd653a904eeee80fdedcbaceb5ea63009407a7e2c14322ca8261483cf76540bc851859cbbdd62a5f25b7220f4a3d7076530b7d7399e8b235c8fe1dc584b0e +EBUILD packaging-23.2-r1.ebuild 791 BLAKE2B dc8d723bda47a8bf28b42f16ea38b2c0965c7ea7a8bc43cc3c7dbf43d9ddbe27104a4184cc6b2f07d2a05b962e3b21fd5ad532b668b0ac1e12c1eb2c2f28d7ab SHA512 b4220fe98a5d5d301e0d1c8ee624c65f639f5a5f5ed27c15bf8dee5f065b1eb6bf759614801856a8c991328eea79353ff061b85302322cdfc147c4d9f7a7be75 MISC metadata.xml 391 BLAKE2B 0d73ed3809b26e3069048116ab247ceeb9e2932e0d8d6063b97cc1f0ed8359e73a54b22035fedb169524e502b6a07b8203e6c35d801f738bbed685d90e12bf96 SHA512 eb4d1ca476a45232547fdd961a4e6715dda24c7ab82e1f1995ac977b9825793d5d10a2ac408b1ee0b7c8b8444f2c42be33d6fb1012461f96db9a71477cca67ae diff --git a/dev-python/packaging/packaging-23.2-r1.ebuild b/dev-python/packaging/packaging-23.2-r1.ebuild index 4d07f6ea8577..bc07e0116b04 100644 --- a/dev-python/packaging/packaging-23.2-r1.ebuild +++ b/dev-python/packaging/packaging-23.2-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" SLOT="0" LICENSE="|| ( Apache-2.0 BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" !<dev-python/setuptools-67 diff --git a/dev-python/packaging/packaging-23.2.ebuild b/dev-python/packaging/packaging-23.2.ebuild deleted file mode 100644 index 32faf84db1ac..000000000000 --- a/dev-python/packaging/packaging-23.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core utilities for Python packages" -HOMEPAGE=" - https://github.com/pypa/packaging/ - https://pypi.org/project/packaging/ -" - -SLOT="0" -LICENSE="|| ( Apache-2.0 BSD-2 )" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/pyparsing-3.0.7-r1[${PYTHON_USEDEP}] - !<dev-python/setuptools-67 -" -DEPEND=" - test? ( - dev-python/pretend[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest --capture=no -} diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index 089fb3048fad..bf4895dee261 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -3,6 +3,6 @@ AUX pandas-2.1.4-khash-dep.patch 1970 BLAKE2B fcd7b7426156de6061831a4a88c29a129c DIST pandas-2.1.4.tar.gz 4274800 BLAKE2B 71cd374964d5e751a9ea0b29cb341d7de521de8de3bbe0963fc821eb6fa2babf2a5cb87c0f49fab88fd451bd331d83fd216f199c75876d7c1ea367ba53c20178 SHA512 de02944829ea4df6a3913788c2ae30683504d70a1cef5789c927245dab8700981edd50de18af3619d30ac97f4658fce67f6c7637acf496bd464ad3a4109bfd1c DIST pandas-2.2.0.tar.gz 4390211 BLAKE2B 205410d02d1295bfb68403685fb9247ca361c80233e762b8d798ff4a04fd1ca39e22bc3beb3f701490dbaf0a2d69a1afebbfe142ef646506c1d19aba88a1b5c6 SHA512 6de7f6941f08d412d5e6e3b33e7ad569afce4ade2eda9a68f2883e8ccefe8373212a1b80ac384e68522fb5a9c043de0b944b3920d07131ed6625363f2a4b0b5b EBUILD pandas-2.1.4.ebuild 9153 BLAKE2B 8b6d9ac5645396af403611fea598df4d83b2cbdab28fd62830f188592d889fd34989da8f4f8be79da27caeffe805d613fd3dd7154f2b8cdec50bfba7e484816d SHA512 da77a7cc9af16acaa99b0c42c421d1e1f938433ceab6103a92a8bddad7ff6a13c75b53deb6a5ef54b1c1ce2a951e63226bf550510e2733542ba69497644db877 -EBUILD pandas-2.2.0-r1.ebuild 8804 BLAKE2B bb4c0fcb4b5db95bf40f917e29b33c2b64bc7f134d535f1f2adc2f7adfc1b0e599922fafb5434ad68bcdb80deb04e798505620f4a6a5f4a24c9159d3dfa18bb6 SHA512 13a941bd0ae357fe3af54ca608add20bf70956de232e739044a45fd4b639c7c6301e3cac92677991e16e016281836bdc7e8910fb0b73ed7a5199dfe79d49cda0 -EBUILD pandas-2.2.0.ebuild 8972 BLAKE2B 9ab936a1e3995ebdb4cdf4aa8bf7857c53a6ad55306ac8fd70bed00abb962b0c751460778a6c9ff68953113cf2efd392d454d86b995d3e29c9fed4114ef2955f SHA512 ebbd8d0166fbcfca043f83a955cd5c47ebb62e347af180b79e2534d0cf20961b0fc88683eb7eca05f8449bd7686c2b25949de59d2e3fdcfea8c300a481240f18 +EBUILD pandas-2.2.0-r1.ebuild 9080 BLAKE2B a805134e4eac5fc98b80be432dfe94b3d211007cfde0df555f570fea98f974a313f1746be7f23178aec7b031d213d504426c53858782b2e8c8a84d23ac8b9500 SHA512 0e3c025ff2eb4b8e8038edbdad5c207c9354f737b8403d29874142247b5e14d4ab535cf45afb28621fa7cedf3c18c14e4bf9535e956e627c4e04dfc2f8094afc +EBUILD pandas-2.2.0.ebuild 9248 BLAKE2B d58ed34b5490426a0fc3b4e62050ac5283f77f577aad7cf5acb0cafa0e75bd68b8802f02213aa8dddb485d01e3eee89ad2e3516850215814a22c0b06e8339720 SHA512 9af55f32f78e699c99b8cd6a9e13e51b2ebd3854f27d6fa081c67b72e77836feabba53e4856f8eb27da7fdca9052b77a6730bb9ad88ee08c14460ba70152f32a MISC metadata.xml 920 BLAKE2B d6bd854acdd851d578038657d91adaedf4f220dbdc5905ebba5e35e74437c6d5bc2384061f7796a6f359aa128c526485635debfd0e1a9646d09daed740167c87 SHA512 dcd949e89cae9df918acb3cf8be5ad8c396ee5e646d2179aa2b646fafa15ffc11e9ccf853df8d7fdcc787f88ce7063639d8d87715aaba943774edc8ad98b540a diff --git a/dev-python/pandas/pandas-2.2.0-r1.ebuild b/dev-python/pandas/pandas-2.2.0-r1.ebuild index aeac22a497e1..fac7d30b8feb 100644 --- a/dev-python/pandas/pandas-2.2.0-r1.ebuild +++ b/dev-python/pandas/pandas-2.2.0-r1.ebuild @@ -49,10 +49,8 @@ OPTIONAL_DEPEND=" >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] !x86? ( !hppa? ( - $(python_gen_cond_dep ' - dev-python/statsmodels[${PYTHON_USEDEP}] - ' python3_{8..10} ) >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] ) ) X? ( || ( @@ -173,8 +171,18 @@ python_test() { # requires -Werror tests/tslibs/test_to_offset.py::test_to_offset_lowercase_frequency_deprecated tests/tslibs/test_to_offset.py::test_to_offset_uppercase_frequency_deprecated + + # assumes that it will fail due to -mfpmath=387 on 32-bit arches, + # so it XPASS-es in every other scenario + tests/tools/test_to_timedelta.py::TestTimedeltas::test_to_timedelta_float ) + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/plotting/test_misc.py::test_savefig + ) + fi + local -x LC_ALL=C.UTF-8 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die diff --git a/dev-python/pandas/pandas-2.2.0.ebuild b/dev-python/pandas/pandas-2.2.0.ebuild index cd8aaac786dc..fffb8d3f5f38 100644 --- a/dev-python/pandas/pandas-2.2.0.ebuild +++ b/dev-python/pandas/pandas-2.2.0.ebuild @@ -49,10 +49,8 @@ OPTIONAL_DEPEND=" >=dev-python/xlsxwriter-3.0.3[${PYTHON_USEDEP}] >=dev-python/xlwt-1.3.0[${PYTHON_USEDEP}] !x86? ( !hppa? ( - $(python_gen_cond_dep ' - dev-python/statsmodels[${PYTHON_USEDEP}] - ' python3_{8..10} ) >=dev-python/scipy-1.8.1[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] ) ) X? ( || ( @@ -176,8 +174,18 @@ python_test() { # requires pyarrow (which is really broken) tests/io/formats/style/test_bar.py::test_style_bar_with_pyarrow_NA_values tests/series/test_api.py::TestSeriesMisc::test_inspect_getmembers + + # assumes that it will fail due to -mfpmath=387 on 32-bit arches, + # so it XPASS-es in every other scenario + tests/tools/test_to_timedelta.py::TestTimedeltas::test_to_timedelta_float ) + if ! has_version "dev-python/scipy[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/plotting/test_misc.py::test_savefig + ) + fi + local -x LC_ALL=C.UTF-8 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die diff --git a/dev-python/path/Manifest b/dev-python/path/Manifest index 0e0421e554b2..27095bd15737 100644 --- a/dev-python/path/Manifest +++ b/dev-python/path/Manifest @@ -1,5 +1,3 @@ DIST path-16.10.0.tar.gz 49271 BLAKE2B 36762e0b50d74b07db14ca01c6d94577f24b36c007eda58de4b63197cd91f869efbdc5ac1ceb270f1fc5e5a07c4c87f6cabd10cbac5fac74681f73451a3f73e1 SHA512 a5dfa964f5ffd4c2aa27733716b67437f02fd6dedc8c574bb87a9a3ac64eb60d27c3a05217aa4859293ebd96bdd17cdb1a04ea21c6ad35b7b22f05725826c057 -DIST path-16.9.0.tar.gz 48850 BLAKE2B 0c5edc6538cb22543dd810a535840a235b66c51415284f00338bd1e84e63847d09235e55dd3d40a71f3b02f54d18cbbf4fa1e5a0356798cee3383666a26a441c SHA512 2d4c8e3923bc712c7901328a0406ce05c6c157664dfacb5a563a1b214ce561215398b31494865c99a77ed09c3ef63bb04a36d57a60e7c0e3dea05b1dacfdecf7 -EBUILD path-16.10.0.ebuild 854 BLAKE2B abc4c7f04a2d6217c2a9f190e49017b510691efdac9ae28550ad8a99b43ac77a013db2732a1b47a2ddc8f0fef4e68b2450ccee9f62c4ba6f468b2e2cd4613c1f SHA512 ab382a24c6f07b7ae82eb2123a0f7e6ec0ae1277cb9aef5ca2476dbed121a976f76e3b27bbfd811651ae80fa1b2c3b30a42b24883bd4a19195e78e6f0840dae8 -EBUILD path-16.9.0.ebuild 846 BLAKE2B 2697bd087e4cb740bd6a224e3247466fc8c4fb1f52d247f1ff43c55d6f25751725ebd22283522f1d8b1e3cd37bfe8cab606fae5dc80dfb05180ae8e9cb76dec6 SHA512 8ad5c9247b6f8ce68717fe956376ed336236ef6f6f38a077d80dc8f34b4cc94494cd326b44716a7e408adf2f07511e0426913b4a8ee5bc2ef9a334be5ad972a5 +EBUILD path-16.10.0.ebuild 846 BLAKE2B f477540bf5c2e0c97b25df2dbcf14e524205cc6e4c54aacae8e714a6c119519e8cb78f9e44550a47fafefb4afecc2cb6e993ab2614bce49da94a062a0718414a SHA512 b2cb850498bd15f7a0be28fb4b81ae52f6dd244aadf9e43a722de145183dbbe44ccd4c2effbca60d2d9b155468c499b4747ab2facb0faffd898f4f11bcfd8171 MISC metadata.xml 383 BLAKE2B 30f12776bf4f9c1995774d7dc68cd8d9a85b74d514e8239ba76af336e6b08979e496ddaffce999bf0a3557f88ced148335024628b61f765b5bd08bf90b453c5a SHA512 aaceff1caa2714c0b8b3f7373c8721358e63833cfac824e3feda8a34fd1d6a961a27805c012a1125cad1f76d8bf7b1a92d7719480d90b344e5b4d0260ccf0547 diff --git a/dev-python/path/path-16.10.0.ebuild b/dev-python/path/path-16.10.0.ebuild index 5346cd3c6d67..09894ede6758 100644 --- a/dev-python/path/path-16.10.0.ebuild +++ b/dev-python/path/path-16.10.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" SLOT="0" LICENSE="MIT" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/path/path-16.9.0.ebuild b/dev-python/path/path-16.9.0.ebuild deleted file mode 100644 index fc38708e9794..000000000000 --- a/dev-python/path/path-16.9.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A module wrapper for os.path" -HOMEPAGE=" - https://github.com/jaraco/path/ - https://pypi.org/project/path/ -" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -RDEPEND=" - dev-python/appdirs[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/more-itertools[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # unreliable, not really meaningful for end users - test_path.py::TestPerformance -) diff --git a/dev-python/peewee/Manifest b/dev-python/peewee/Manifest index d7d4bc71a387..0a3906f3c0db 100644 --- a/dev-python/peewee/Manifest +++ b/dev-python/peewee/Manifest @@ -1,5 +1,5 @@ DIST peewee-3.17.0.gh.tar.gz 915412 BLAKE2B 531a021f925f41ce62822fe9a0f28dd9505c1890e02b42b6b9efb9ced15e56f531c564e3412104d5d10f5ef578c728d64e3f57d9c72a03e2c4b7f7d22d639647 SHA512 978a911aa0236246abcc3cc2ef54d418dc8f94bf78ce6eeeeaf43352d92ccb4238c66972b78a904d3ceed47736a2c509fbdde837e7660290faf220e5744b1cfa DIST peewee-3.17.1.gh.tar.gz 918980 BLAKE2B 192bdb4c8ba40c0d65f8182c4d87b6917d7758a8017977144b3455a0abdc96e6dfc2299cb9dfb967092c2619666816886b2f1fc163ee1e0607fb6ddfb6f2ae75 SHA512 7b3515949f862c96c9509edf2b1e7c8fc4947f3371421c5df8ca066f8456000471b0c2af8b906c9d826ea3bdc187b4e8676299b328160bda91ffd7f5a1b95435 EBUILD peewee-3.17.0.ebuild 1043 BLAKE2B 387e153454bad71c1b84faedfa42fc69a049158cab0f364e823215b18f2841b0aa837a5cdcafbf1edcea1daf546b0caa3f9337f1d836b32ebbd5f5c398e55d4c SHA512 8404fd7be95e1ed463471cdf7e0ed9126093ffefc126199e8096797247db219cf11b4262d59ded1358f3e0768cda22d2fbfed6683db9ff3609777ca28d24d625 -EBUILD peewee-3.17.1.ebuild 1045 BLAKE2B 0353ca827fdf7c48961beb5b213b6a84bc61300f287a76e7e36ccbf584db12622ac8885125bb32310c29038dbd4e0891390d2cf95865e4f5594be5830f99b8d0 SHA512 67daf43345de266523f82082a1e439415a79ae964ac06ad12338999cd880d6dd47fef90d804274fa73934f7140da6d95b8c5f2f50267debda6ddbfe00230b05f +EBUILD peewee-3.17.1.ebuild 1044 BLAKE2B 42eee5b795c97eeab23e7a826149bc2ee0acda2246037fa2638593ec7053fa46b37d0132e8ecfe1d061dc9d2b5824d07395f18f4e90842fae29cf99aacfaff4e SHA512 6e5694251c43f2cb1263df6187e0bf60db6adbdb6612eaa4611843a1ee4ae516dc0581301d8c4f1c0f462861fa6e0c89adab1b70f4afb1aa4e262a0c6b8dc92f MISC metadata.xml 493 BLAKE2B 60dbc97d8a2acf239b6ae84ae48153ec7985399ef588de5fd3d5e06db137353ba8440eeb811fe90edb66aef70550c514c23f53cf8ee2c5e8146504dae71cef19 SHA512 28227e81ad41534f8dc80dc478cb72e116aa3d5259bb91dd20121fcadd803a04715a986e21d4302a0c8129a4fcafbd71645636b0e5b3384a661f3ee93d41fde2 diff --git a/dev-python/peewee/peewee-3.17.1.ebuild b/dev-python/peewee/peewee-3.17.1.ebuild index bfa4dad11710..830161ed348e 100644 --- a/dev-python/peewee/peewee-3.17.1.ebuild +++ b/dev-python/peewee/peewee-3.17.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~riscv x86" IUSE="examples +native-extensions test" RESTRICT="!test? ( test )" diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest index 9e575c01e539..897a46d1230d 100644 --- a/dev-python/pikepdf/Manifest +++ b/dev-python/pikepdf/Manifest @@ -3,7 +3,7 @@ DIST pikepdf-8.12.0.tar.gz 2870386 BLAKE2B f27c034ef94b63e56efa84abef987b23801dd DIST pikepdf-8.13.0.tar.gz 2870366 BLAKE2B 4e08cd992ef6dc18d64d3b62ca85a138474c2d77548a14522172b80d842b9ad969d701e30376a394aa60baa5b17bba7e48eb11c071e130f43e387659e8e862e6 SHA512 6ab231510ced72a6697cf7ea50d7b73d6ef33d4305fe70904164319f2c6964fdd645f8011a049d763a50809772ccb65a9833feca3e65e59b5c37c84bb90dbc79 DIST pikepdf-8.4.1.tar.gz 2853305 BLAKE2B 2298514159db17ba49b8e2fa2407d60de50273bea111ece704251d99193bdc4c8ed77f624237a49c3f4f129e3b14ac4ddd1006cf3024bcbf822bc5523e0fee35 SHA512 6989e8a3888f612e453ec1ea8425c0ca35ccfee19ae5e8c32df136ebc3fbb7728d9fe5beaacb4e392a20c9037a1009fc8f8d53d73634427fb0df9103626e34fa EBUILD pikepdf-8.11.2.ebuild 1784 BLAKE2B 1920b60b3e6ebc30d66d5aaf075ef17c289100352de96baa8f6cc1fd75902bc93c5e8acef248f14709f6a6aefafb013a07bac31ddb5105e3405462d4a4cbe518 SHA512 ebf383c9294149b862d054e8176e27265d45b479ed3271cbbe45c32bc2f83157cc35e5ddcf45b67420420557444de95637ef820eef30da9b85e103f8386b5b57 -EBUILD pikepdf-8.12.0.ebuild 1791 BLAKE2B f8a8de60de99bd6ac6e50fef0cb6cf46ff18f7ed4d3d4b8562cef85b8a1f7ff2fc605c43cebd2f983017b36ffc92790d75fd00afc0d09ecf238c6b021a1fd615 SHA512 5e488073997321d41f4ab2a67d31f58bf9f8bdbf8ba18d972e8990eab524b1a0839215252dd05dbea52d36df5c09000c7f60db667b55f7ec662e538044512073 +EBUILD pikepdf-8.12.0.ebuild 1788 BLAKE2B c11f0d17b1cc8377df6ae4f4a432e9dd9e8fdb2a7fef1983bdde90ab43522f458c4bccba85f8b15917cd2e1f4648ceb4097e06b35bfe36f262deaada34994423 SHA512 65b4b79a9f14c96b36e25691df69d44798e72e35a6d0464c9a5cb24e194ec0f22cd3e2a9203b75e27705abf4a5bf7e7159361fd4c0bd1e7cc84879ba609ebd63 EBUILD pikepdf-8.13.0.ebuild 1791 BLAKE2B f8a8de60de99bd6ac6e50fef0cb6cf46ff18f7ed4d3d4b8562cef85b8a1f7ff2fc605c43cebd2f983017b36ffc92790d75fd00afc0d09ecf238c6b021a1fd615 SHA512 5e488073997321d41f4ab2a67d31f58bf9f8bdbf8ba18d972e8990eab524b1a0839215252dd05dbea52d36df5c09000c7f60db667b55f7ec662e538044512073 EBUILD pikepdf-8.4.1.ebuild 1680 BLAKE2B 2d988c8345fe6642e1bf990dd385259ac9b8709e8e22b6b1dc74f3e7ecf88193fb9c06cc3085b82aefb811a5cf18f676dd23c2d75c27a4071903a291bf272f5a SHA512 05b25f5fafcb3999eee5c8f1c5f44e6b1c7dfd0397fdcf7e4f2a5c812a950cf00a87a502a4244cf01e775ee5b7360cffbf2dbcba64d5b203216be008400e4683 MISC metadata.xml 687 BLAKE2B 07c94d9dac5323202f955fd9c1e5a6fc78518a0a6f703c54c73b70e774900c41a4823beb3f8be7068d83878d1e60df0d7e30efd53bbc1ba31019477de82b092f SHA512 1be3ec00342e8079363db0c57f75ae88bd05e873869fbbb27442e9fe98eb6917c55b4eaf03ed22c4c44ca3aec9b84839cbc254202460a3266bbc42ff8f0f84b3 diff --git a/dev-python/pikepdf/pikepdf-8.12.0.ebuild b/dev-python/pikepdf/pikepdf-8.12.0.ebuild index f5173f73b2c1..b9441089eaeb 100644 --- a/dev-python/pikepdf/pikepdf-8.12.0.ebuild +++ b/dev-python/pikepdf/pikepdf-8.12.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as # https://qpdf.readthedocs.io/en/stable/release-notes.html. diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index cb3dc70daf1b..b20fef99c82a 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -1,8 +1,5 @@ AUX pip-23.1-no-coverage.patch 1836 BLAKE2B f8c95ed26d5a7cba2a516b8d134ddd9901fd7d39dc8bf174397ab2afab33e93c4af342195b5b4d7b0aedc642493f1ed2ee474c74e16e285f335dcdcf531b1777 SHA512 c63929cc5324b2a741a4c1ebb4990c376eb6a4c0f39370e456b674ce3cfbdf10471ec48cf9368fccba9264fd9d4a5667988116163e73772496f28d52986ff111 AUX pip-23.3.1-no-color.patch 1767 BLAKE2B b81a4b814e2e84e7c0424870d1a86ba7fde91400bfad127c696112544b294623ba9d580f503f01a8399a569a9a5880d38d1d09c98b9364c9b59915adb3a9b453 SHA512 c89be77fbd8049a1e6fd12ef4227926ff641c1797f91bbe91b6152016a1e7dff5e323d8ff0961948225ef854d52de972f74c8e37f48e8aee78e529f9ec8b3b3f -AUX pip-23.3.2-setuptools-69.0.3.patch 15433 BLAKE2B 9240c660580d595a182e6082446b7275c7f7b918589f731215a30b326a962668710a4aaa57877ccbeb48912a76182df9b2eb44e0868cff41e83326bd30273263 SHA512 952c30c62517eb0e60c7798d5a18fb20fe91e92816b552772a9334ed6f55d53b08f68c29c9eed30f59ce8265ce01eba8b28ea1f94c329c912f61f7afbaa2bff7 -DIST pip-23.3.2.gh.tar.gz 9397451 BLAKE2B 65e656cf3e7c3ab48b5cfa48f105cae158068f3daee497edfb93e34887afa134b2cfea73574947ca22ec2664dd814034166301fb0f70322ca92852a68052be40 SHA512 976c6ab9959805f4d20d4bdedb4dabc95dd55f1ec78773f63f738599bbe44e766ad3a1394bee052a2c2386826d67686ad456726373345ba9e0d555fd251dff09 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6 SHA512 0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df -EBUILD pip-23.3.2-r1.ebuild 4330 BLAKE2B 5cc4dfd26bb1df712b6099df54e9871c0b3e65c4ca57b2c864d1fb18821d0a69de4a53335cbbf8938f8cd5d4a587471bf1ac1d52276940e4189eb51ae18ba651 SHA512 6c75f4c7190ad43571250300782da6e1835f37841ba47d1510daf5e213670ff7e9c97f5377384d04603e2d44ccba1d29fc7c86269e6b353e2e3899614a493e68 -EBUILD pip-24.0.ebuild 4203 BLAKE2B bb84d8f0a94a87a7001ae5c5adb81ce6bf1ae95fa7d2d2627050b9e8d7cb67151e633a10f3832a6a0f6d5c6c1810b3a140f9820a6e61d23f9ae2068afe683441 SHA512 38eb925c55dfb942beeb7faf262a43d32d17c0ca5c730e9fe09086641dbeae75363f4137fc412f4f065e3fb5172def55024dfe33c8007647ddff1c3a98a9cd6e +EBUILD pip-24.0.ebuild 4195 BLAKE2B 4bde20ee8e89d56bfe0642a2b0020579829a79c069ffe6ecd2bfed8ea40894a9e284914563021b4d4838dea037308c05b1706f4990153b610418883292970d39 SHA512 e194b652472fe00e6073883c958eae8a7506587bbecba5ad093a7b7e8931470cab123ca28e0995436599313abc29e51d2b3035e5db15d1534828af0d390ccbd9 MISC metadata.xml 392 BLAKE2B 94ea3de1220cb9ca64ae1186597789cc83a54adfe44695932c07dd5065df0e5f9ee5078a495e3a12563b36809d781d8ab86bb6c92c485c023199d92547b74f27 SHA512 603199f6547105f3bb64f4fcaf004e9ef62fa2e0f8ec6eab56078119684b0f5119161e0f164fe02b2cf6dd6b115588c9ef77d727eeb6d138e281f1cb0bcb5de9 diff --git a/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch b/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch deleted file mode 100644 index 26d358da9534..000000000000 --- a/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch +++ /dev/null @@ -1,383 +0,0 @@ -From a11f98c107cae60c82c480d3208c34656a22fa19 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= <stephane.bidoul@gmail.com> -Date: Sun, 14 Jan 2024 12:54:21 +0100 -Subject: [PATCH 1/2] Change .egg-link search algorithm to support setuptools - >= 69 - ---- - src/pip/_internal/utils/egg_link.py | 28 ++++++++++++++++++---------- - 1 file changed, 18 insertions(+), 10 deletions(-) - -diff --git a/src/pip/_internal/utils/egg_link.py b/src/pip/_internal/utils/egg_link.py -index eb57ed151..4a384a636 100644 ---- a/src/pip/_internal/utils/egg_link.py -+++ b/src/pip/_internal/utils/egg_link.py -@@ -15,24 +15,31 @@ __all__ = [ - ] - - --def _egg_link_name(raw_name: str) -> str: -+def _egg_link_names(raw_name: str) -> List[str]: - """ - Convert a Name metadata value to a .egg-link name, by applying - the same substitution as pkg_resources's safe_name function. - Note: we cannot use canonicalize_name because it has a different logic. -+ -+ We also look for the raw name (without normalization) as setuptools 69 changed -+ the way it names .egg-link files (https://github.com/pypa/setuptools/issues/4167). - """ -- return re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link" -+ return [ -+ re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link", -+ f"{raw_name}.egg-link", -+ ] - - - def egg_link_path_from_sys_path(raw_name: str) -> Optional[str]: - """ - Look for a .egg-link file for project name, by walking sys.path. - """ -- egg_link_name = _egg_link_name(raw_name) -+ egg_link_names = _egg_link_names(raw_name) - for path_item in sys.path: -- egg_link = os.path.join(path_item, egg_link_name) -- if os.path.isfile(egg_link): -- return egg_link -+ for egg_link_name in egg_link_names: -+ egg_link = os.path.join(path_item, egg_link_name) -+ if os.path.isfile(egg_link): -+ return egg_link - return None - - -@@ -64,9 +71,10 @@ def egg_link_path_from_location(raw_name: str) -> Optional[str]: - sites.append(user_site) - sites.append(site_packages) - -- egg_link_name = _egg_link_name(raw_name) -+ egg_link_names = _egg_link_names(raw_name) - for site in sites: -- egglink = os.path.join(site, egg_link_name) -- if os.path.isfile(egglink): -- return egglink -+ for egg_link_name in egg_link_names: -+ egglink = os.path.join(site, egg_link_name) -+ if os.path.isfile(egglink): -+ return egglink - return None --- -2.43.0 - -From 6fdd838c59d92ea435766f452da515f234a438ed Mon Sep 17 00:00:00 2001 -From: Richard Si <sichard26@gmail.com> -Date: Mon, 1 Jan 2024 17:19:45 -0500 -Subject: [PATCH 2/2] Fix tests broken by Setuptools 69.0.3 which now preserves - underscores in egg_info - -More test suite fixes for setuptools 69 compatibility ---- - tests/functional/test_check.py | 20 ++++++++++++--- - tests/functional/test_freeze.py | 22 +++++++---------- - tests/functional/test_install.py | 2 +- - tests/functional/test_install_reqs.py | 2 +- - tests/functional/test_install_vcs_git.py | 2 +- - tests/functional/test_new_resolver.py | 13 +++++++--- - tests/functional/test_show.py | 19 ++++++++++++--- - tests/lib/__init__.py | 31 ++++++++++++++++++------ - 8 files changed, 75 insertions(+), 36 deletions(-) - -diff --git a/tests/functional/test_check.py b/tests/functional/test_check.py -index e2b1c60ef..79b6df39c 100644 ---- a/tests/functional/test_check.py -+++ b/tests/functional/test_check.py -@@ -119,7 +119,10 @@ def test_check_complicated_name_missing(script: PipTestEnvironment) -> None: - - # Without dependency - result = script.pip("install", "--no-index", package_a_path, "--no-deps") -- assert "Successfully installed package-A-1.0" in result.stdout, str(result) -+ assert ( -+ "Successfully installed package_A-1.0" in result.stdout -+ or "Successfully installed package-A-1.0" in result.stdout -+ ), str(result) - - result = script.pip("check", expect_error=True) - expected_lines = ("package-a 1.0 requires dependency-b, which is not installed.",) -@@ -142,7 +145,10 @@ def test_check_complicated_name_broken(script: PipTestEnvironment) -> None: - - # With broken dependency - result = script.pip("install", "--no-index", package_a_path, "--no-deps") -- assert "Successfully installed package-A-1.0" in result.stdout, str(result) -+ assert ( -+ "Successfully installed package_A-1.0" in result.stdout -+ or "Successfully installed package-A-1.0" in result.stdout -+ ), str(result) - - result = script.pip( - "install", -@@ -175,7 +181,10 @@ def test_check_complicated_name_clean(script: PipTestEnvironment) -> None: - ) - - result = script.pip("install", "--no-index", package_a_path, "--no-deps") -- assert "Successfully installed package-A-1.0" in result.stdout, str(result) -+ assert ( -+ "Successfully installed package_A-1.0" in result.stdout -+ or "Successfully installed package-A-1.0" in result.stdout -+ ), str(result) - - result = script.pip( - "install", -@@ -203,7 +212,10 @@ def test_check_considers_conditional_reqs(script: PipTestEnvironment) -> None: - ) - - result = script.pip("install", "--no-index", package_a_path, "--no-deps") -- assert "Successfully installed package-A-1.0" in result.stdout, str(result) -+ assert ( -+ "Successfully installed package_A-1.0" in result.stdout -+ or "Successfully installed package-A-1.0" in result.stdout -+ ), str(result) - - result = script.pip("check", expect_error=True) - expected_lines = ("package-a 1.0 requires dependency-b, which is not installed.",) -diff --git a/tests/functional/test_freeze.py b/tests/functional/test_freeze.py -index 9a5937df3..a8e6c038c 100644 ---- a/tests/functional/test_freeze.py -+++ b/tests/functional/test_freeze.py -@@ -221,12 +221,10 @@ def test_freeze_editable_not_vcs(script: PipTestEnvironment) -> None: - # We need to apply os.path.normcase() to the path since that is what - # the freeze code does. - expected = textwrap.dedent( -- """\ -- ...# Editable install with no version control (version-pkg==0.1) -- -e {} -- ...""".format( -- os.path.normcase(pkg_path) -- ) -+ f"""\ -+ ...# Editable install with no version control (version...pkg==0.1) -+ -e {os.path.normcase(pkg_path)} -+ ...""" - ) - _check_output(result.stdout, expected) - -@@ -248,12 +246,10 @@ def test_freeze_editable_git_with_no_remote( - # We need to apply os.path.normcase() to the path since that is what - # the freeze code does. - expected = textwrap.dedent( -- """\ -- ...# Editable Git install with no remote (version-pkg==0.1) -- -e {} -- ...""".format( -- os.path.normcase(pkg_path) -- ) -+ f"""\ -+ ...# Editable Git install with no remote (version...pkg==0.1) -+ -e {os.path.normcase(pkg_path)} -+ ...""" - ) - _check_output(result.stdout, expected) - -@@ -489,7 +485,7 @@ def test_freeze_git_remote(script: PipTestEnvironment) -> None: - expected = os.path.normcase( - textwrap.dedent( - f""" -- ...# Editable Git...(version-pkg...)... -+ ...# Editable Git...(version...pkg...)... - # '{other_remote}' - -e {repo_dir}... - """ -diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py -index 140061a17..4b0a4abdf 100644 ---- a/tests/functional/test_install.py -+++ b/tests/functional/test_install.py -@@ -358,7 +358,7 @@ def test_basic_install_editable_from_svn(script: PipTestEnvironment) -> None: - checkout_path = _create_test_package(script.scratch_path) - repo_url = _create_svn_repo(script.scratch_path, checkout_path) - result = script.pip("install", "-e", "svn+" + repo_url + "#egg=version-pkg") -- result.assert_installed("version-pkg", with_files=[".svn"]) -+ result.assert_installed("version_pkg", with_files=[".svn"]) - - - def _test_install_editable_from_git(script: PipTestEnvironment) -> None: -diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py -index f649be000..4e3b3e653 100644 ---- a/tests/functional/test_install_reqs.py -+++ b/tests/functional/test_install_reqs.py -@@ -300,7 +300,7 @@ def test_install_local_editable_with_subdirectory(script: PipTestEnvironment) -> - ), - ) - -- result.assert_installed("version-subpkg", sub_dir="version_subdir") -+ result.assert_installed("version_subpkg", sub_dir="version_subdir") - - - @pytest.mark.network -diff --git a/tests/functional/test_install_vcs_git.py b/tests/functional/test_install_vcs_git.py -index 2abc7aa0f..e59b269a6 100644 ---- a/tests/functional/test_install_vcs_git.py -+++ b/tests/functional/test_install_vcs_git.py -@@ -449,7 +449,7 @@ def test_git_with_ambiguous_revs(script: PipTestEnvironment) -> None: - assert "Could not find a tag or branch" not in result.stdout - # it is 'version-pkg' instead of 'version_pkg' because - # egg-link name is version-pkg.egg-link because it is a single .py module -- result.assert_installed("version-pkg", with_files=[".git"]) -+ result.assert_installed("version_pkg", with_files=[".git"]) - - - def test_editable__no_revision(script: PipTestEnvironment) -> None: -diff --git a/tests/functional/test_new_resolver.py b/tests/functional/test_new_resolver.py -index feae58a9c..c0abec686 100644 ---- a/tests/functional/test_new_resolver.py -+++ b/tests/functional/test_new_resolver.py -@@ -5,6 +5,7 @@ import textwrap - from typing import TYPE_CHECKING, Callable, Dict, List, Tuple - - import pytest -+from packaging.utils import canonicalize_name - - from tests.conftest import ScriptFactory - from tests.lib import ( -@@ -27,9 +28,13 @@ def assert_editable(script: PipTestEnvironment, *args: str) -> None: - # This simply checks whether all of the listed packages have a - # corresponding .egg-link file installed. - # TODO: Implement a more rigorous way to test for editable installations. -- egg_links = {f"{arg}.egg-link" for arg in args} -- assert egg_links <= set( -- os.listdir(script.site_packages_path) -+ egg_links = {f"{canonicalize_name(arg)}.egg-link" for arg in args} -+ actual_egg_links = { -+ f"{canonicalize_name(p.stem)}.egg-link" -+ for p in script.site_packages_path.glob("*.egg-link") -+ } -+ assert ( -+ egg_links <= actual_egg_links - ), f"{args!r} not all found in {script.site_packages_path!r}" - - -@@ -1847,7 +1852,7 @@ def test_new_resolver_succeeds_on_matching_constraint_and_requirement( - - script.assert_installed(test_pkg="0.1.0") - if editable: -- assert_editable(script, "test-pkg") -+ assert_editable(script, "test_pkg") - - - def test_new_resolver_applies_url_constraint_to_dep(script: PipTestEnvironment) -> None: -diff --git a/tests/functional/test_show.py b/tests/functional/test_show.py -index b8ec0510a..05fccbbe3 100644 ---- a/tests/functional/test_show.py -+++ b/tests/functional/test_show.py -@@ -277,7 +277,10 @@ def test_show_required_by_packages_basic( - lines = result.stdout.splitlines() - - assert "Name: simple" in lines -- assert "Required-by: requires-simple" in lines -+ assert ( -+ "Required-by: requires_simple" in lines -+ or "Required-by: requires-simple" in lines -+ ) - - - def test_show_required_by_packages_capitalized( -@@ -294,7 +297,10 @@ def test_show_required_by_packages_capitalized( - lines = result.stdout.splitlines() - - assert "Name: simple" in lines -- assert "Required-by: Requires-Capitalized" in lines -+ assert ( -+ "Required-by: Requires_Capitalized" in lines -+ or "Required-by: Requires-Capitalized" in lines -+ ) - - - def test_show_required_by_packages_requiring_capitalized( -@@ -314,8 +320,13 @@ def test_show_required_by_packages_requiring_capitalized( - lines = result.stdout.splitlines() - print(lines) - -- assert "Name: Requires-Capitalized" in lines -- assert "Required-by: requires-requires-capitalized" in lines -+ assert ( -+ "Name: Requires_Capitalized" in lines or "Name: Requires-Capitalized" in lines -+ ) -+ assert ( -+ "Required-by: requires_requires_capitalized" in lines -+ or "Required-by: requires-requires-capitalized" in lines -+ ) - - - def test_show_skip_work_dir_pkg(script: PipTestEnvironment) -> None: -diff --git a/tests/lib/__init__.py b/tests/lib/__init__.py -index d27c02e25..414926d12 100644 ---- a/tests/lib/__init__.py -+++ b/tests/lib/__init__.py -@@ -41,6 +41,7 @@ from pip._internal.models.search_scope import SearchScope - from pip._internal.models.selection_prefs import SelectionPreferences - from pip._internal.models.target_python import TargetPython - from pip._internal.network.session import PipSession -+from pip._internal.utils.egg_link import _egg_link_names - from tests.lib.venv import VirtualEnvironment - from tests.lib.wheel import make_wheel - -@@ -305,6 +306,12 @@ class TestPipResult: - def files_deleted(self) -> FoundFiles: - return FoundFiles(self._impl.files_deleted) - -+ def _get_egg_link_path_created(self, egg_link_paths: List[str]) -> Optional[str]: -+ for egg_link_path in egg_link_paths: -+ if egg_link_path in self.files_created: -+ return egg_link_path -+ return None -+ - def assert_installed( - self, - pkg_name: str, -@@ -320,7 +327,7 @@ class TestPipResult: - e = self.test_env - - if editable: -- pkg_dir = e.venv / "src" / pkg_name.lower() -+ pkg_dir = e.venv / "src" / canonicalize_name(pkg_name) - # If package was installed in a sub directory - if sub_dir: - pkg_dir = pkg_dir / sub_dir -@@ -329,22 +336,30 @@ class TestPipResult: - pkg_dir = e.site_packages / pkg_name - - if use_user_site: -- egg_link_path = e.user_site / f"{pkg_name}.egg-link" -+ egg_link_paths = [ -+ e.user_site / egg_link_name -+ for egg_link_name in _egg_link_names(pkg_name) -+ ] - else: -- egg_link_path = e.site_packages / f"{pkg_name}.egg-link" -+ egg_link_paths = [ -+ e.site_packages / egg_link_name -+ for egg_link_name in _egg_link_names(pkg_name) -+ ] - -+ egg_link_path_created = self._get_egg_link_path_created(egg_link_paths) - if without_egg_link: -- if egg_link_path in self.files_created: -+ if egg_link_path_created: - raise TestFailure( -- f"unexpected egg link file created: {egg_link_path!r}\n{self}" -+ f"unexpected egg link file created: {egg_link_path_created!r}\n" -+ f"{self}" - ) - else: -- if egg_link_path not in self.files_created: -+ if not egg_link_path_created: - raise TestFailure( -- f"expected egg link file missing: {egg_link_path!r}\n{self}" -+ f"expected egg link file missing: {egg_link_paths!r}\n{self}" - ) - -- egg_link_file = self.files_created[egg_link_path] -+ egg_link_file = self.files_created[egg_link_path_created] - egg_link_contents = egg_link_file.bytes.replace(os.linesep, "\n") - - # FIXME: I don't understand why there's a trailing . here --- -2.43.0 - diff --git a/dev-python/pip/pip-23.3.2-r1.ebuild b/dev-python/pip/pip-23.3.2-r1.ebuild deleted file mode 100644 index be6f9d444a4f..000000000000 --- a/dev-python/pip/pip-23.3.2-r1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# please bump dev-python/ensurepip-pip along with this package! - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{10..11} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="The PyPA recommended tool for installing Python packages" -HOMEPAGE=" - https://pip.pypa.io/en/stable/ - https://pypi.org/project/pip/ - https://github.com/pypa/pip/ -" -SRC_URI=" - https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# bundled deps -LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -SLOT="0" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/ensurepip-setuptools - dev-python/ensurepip-wheel - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/werkzeug[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}/pip-23.1-no-coverage.patch" - "${FILESDIR}/pip-23.3.1-no-color.patch" - "${FILESDIR}/${P}-setuptools-69.0.3.patch" - ) - - distutils-r1_python_prepare_all - - if use test; then - local wheels=( - "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl - ) - mkdir tests/data/common_wheels/ || die - cp "${wheels[@]}" tests/data/common_wheels/ || die - fi -} - -python_compile_all() { - # 'pip completion' command embeds full $0 into completion script, which confuses - # 'complete' and causes QA warning when running as "${PYTHON} -m pip". - # This trick sets correct $0 while still calling just installed pip. - local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' - "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die - "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return 0 - fi - - local EPYTEST_DESELECT=( - tests/functional/test_inspect.py::test_inspect_basic - tests/functional/test_install.py::test_double_install_fail - # Internet - tests/functional/test_install.py::test_install_dry_run - tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject - tests/functional/test_install.py::test_install_8559_wheel_package_present - tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist - tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes - # TODO - tests/unit/test_network_auth.py::test_keyring_cli_get_password - tests/unit/test_network_auth.py::test_keyring_cli_set_password - # wants to install keyring from Internet, sigh - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - # probably a too strict assert - # https://github.com/pypa/pip/issues/12152 - tests/unit/test_req.py::TestRequirementSet::test_download_info_archive_cache_with_invalid_origin - ) - - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/functional/test_install.py::test_install_sends_client_cert - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - ) - fi - - local -x SETUPTOOLS_USE_DISTUTILS=stdlib - local -x PIP_DISABLE_PIP_VERSION_CHECK=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_XDIST=1 - epytest -m "not network" -} - -python_install_all() { - local DOCS=( AUTHORS.txt docs/html/**/*.rst ) - distutils-r1_python_install_all - - newbashcomp completion.bash pip - - insinto /usr/share/zsh/site-functions - newins completion.zsh _pip -} diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild index b4f8836682f0..8e9ed0858608 100644 --- a/dev-python/pip/pip-24.0.ebuild +++ b/dev-python/pip/pip-24.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="MIT" # bundled deps LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" IUSE="test-rust" diff --git a/dev-python/polib/Manifest b/dev-python/polib/Manifest index 2caae3d2ddb8..017692f3a62b 100644 --- a/dev-python/polib/Manifest +++ b/dev-python/polib/Manifest @@ -1,4 +1,4 @@ AUX polib-1.0.7-BE-test.patch 545 BLAKE2B 800372796d19d98f47dff73ed593dcbe8a60d55b654258ea5063b702fc3761906754096bc2f4703621378a56ef9589ff5a4c1d7aa6bcef368e293bad9e8b869f SHA512 0b62dadaa7983657901463770a5e7abc41361094c7dba41618881d7328378b989c10b3458c667f15134ad92d0bfebd785f475e1ba040ea11da70352bd8a2cc2c DIST polib-1.2.0.tar.gz 161658 BLAKE2B 8f53d829ac7a2e59676fa7b548645eed26fbd5a2c6e966093145b43bc492ba05ef715e4ddb95f35f8c965890e24c80b7e19d58c6d75d26c4cef141fb15a7d79e SHA512 b325730cd4df6c881ffcab72da1796eb2949243f6060c650209e1c6584e5344ecaede870f22ece00f5c74bcd289fa5d2aa5223b88cb78de0dff5f9e41759096e -EBUILD polib-1.2.0.ebuild 771 BLAKE2B 36bb3b11ed4b072aa48fb7c2a15c9fdd80b6d232a5d40ad42558d72e3a030de790154cb375e1150f8c70493524c4036fa3bf32c9a2d224f277ac2353879acea0 SHA512 cf69834488da477091ff7d0d8859c39c1208cb0d8e40791143c3cbe8dc727436e9c5933cdc273ec7d58c80a306952af48903e02b3bfcaefa4eeea2713988eed9 +EBUILD polib-1.2.0.ebuild 843 BLAKE2B d8b95fae785240ba52bee1b77a5b98b2546354606bf8eaa7ac06de51ebde53c50a13de117ce50495743053788acf6eeb6e2febe4628016cca34dcf8b1dd22b5a SHA512 00d58aeb33a47c6b8f3269253618a5542666c450e71bc06b49058bc7cd8ff65833acee8336338addbde26965e9492ad568073f9e6329de101c5187910d35a10a MISC metadata.xml 387 BLAKE2B 52efaa4e504721043d48bbec1b86dcefd99b96351222a90c8f91288c177980e0ce451cc7e4b48345bce69f92c34edf2487a3324f307263d9da1603ccf49da846 SHA512 e19b1b268bea67dc6882b698ce03a3a3c9795e361ab94a77d774bb026793df6cb2868a465de79ab3491c2aa7b7b162b169d695ec9859f19d1fea58a8a5e5f478 diff --git a/dev-python/polib/polib-1.2.0.ebuild b/dev-python/polib/polib-1.2.0.ebuild index 67021aaf0c07..0168119fdd90 100644 --- a/dev-python/polib/polib-1.2.0.ebuild +++ b/dev-python/polib/polib-1.2.0.ebuild @@ -21,6 +21,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" IUSE="test" RESTRICT="!test? ( test )" +# <sys-devel/gettext-0.22: https://github.com/izimobil/polib/issues/150 BDEPEND=" test? ( <sys-devel/gettext-0.22 diff --git a/dev-python/prettytable/Manifest b/dev-python/prettytable/Manifest index 1d2c82c5e274..b90549e03c8d 100644 --- a/dev-python/prettytable/Manifest +++ b/dev-python/prettytable/Manifest @@ -1,3 +1,5 @@ +DIST prettytable-3.10.0.tar.gz 54830 BLAKE2B d19abefd31ebf25fd0c5ed91ce1314cebff1c519393fd0d07f82661393c46d337b6589094922f0500180265dc6515706d0d24b5127406a646f83608bed824ccb SHA512 184ab33f3ebe12b3496ff6e2dd2115b4c5f1cf51cedbb73dfa8028e371847c30e69830bb656a92ae3784e70414c4e5782a45b5b39fed87924adaf40078049059 DIST prettytable-3.9.0.tar.gz 47874 BLAKE2B 67d7eb13626d75372947a7662331dc8f4766f74c752ce918c4431cba5f974c5556c5e00566cccdb9e8715829778f3bd53b72ed124f0e19805ffb05f33ea1e219 SHA512 708094e4af6f34a631e63ea4a5655c366b8fd5c0802076d92cb8029402be86b2d528e6d866e8d865790c3d2597229b0f080deac5e843d60e19c326aa909e9eaf +EBUILD prettytable-3.10.0.ebuild 686 BLAKE2B 5e4c32693311ce71ce519398def65920419f3b1001e99b6fd7df51e84829c13fa48d6f24f1bd2bbaca534c91c80742cc03cc071f98647bc0891c17500a4d0982 SHA512 8c3950d19db4c411f8ef913c6e2ce0e7b2f84c1d907022deb1de50f9f5a800d4d48c3c7cf97ed602f461713fec769326d03a650c62f2b972fd31b41a33619737 EBUILD prettytable-3.9.0.ebuild 730 BLAKE2B a00258f991ffb7d12f11e5595884b589c4de26610739c28c2e7c461f0acd940b56357ce9cc79a197f58c6fdd1380a475e482523d30b7fc3e906005b5aa313122 SHA512 085afef358b1aa78ab4481120ea09de7fb24cc0c854fc5523e36fce095682ccd364f9973bebad1628220b2919928bc0d078184d6f5b91570a8754049d9fac215 MISC metadata.xml 583 BLAKE2B b82fa13dd76ee47e012c03499081072c737cb63f2d23190dc3622dae1bc50ba054c7cf492a1feda7147c3a8710bd8ad509bc653e5b40f89b93ffd63da69c3f65 SHA512 e7d331df0ec72f98acc9abfc70424a619e67e559e4b02b357658e9e48efd080440a0d890ce5df2cb8cbffc53640b2068f39f803aa180bf2607d02a9df1acb5b3 diff --git a/dev-python/prettytable/prettytable-3.10.0.ebuild b/dev-python/prettytable/prettytable-3.10.0.ebuild new file mode 100644 index 000000000000..b21bad116d5f --- /dev/null +++ b/dev-python/prettytable/prettytable-3.10.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format" +HOMEPAGE=" + https://github.com/jazzband/prettytable/ + https://pypi.org/project/prettytable/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 11911a7bab80..77919ae7e845 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -8,5 +8,5 @@ EBUILD psycopg-2.9.4.ebuild 1248 BLAKE2B 05090945297120771b3983ead32e88a6c178e63 EBUILD psycopg-2.9.9.ebuild 1290 BLAKE2B f478219e54cc7f2c59790b82f72bd38e26a3d1181cedaa67444f7cfa283214c2f6402417099c426d329133e47a5f6e9043eeceeb7cfd2ebff10b4d7433229ece SHA512 8a3d087058f98b069b7326480d8063993ed4d1ae73792c5a5abf9b386bec586af52d015d49171a062c0c6407ec1fd062c8f27bfdcf6366d04bb64420db34836c EBUILD psycopg-3.1.16.ebuild 1781 BLAKE2B 087e1f67b6ababbf666651d3d9216cb0382507e07b03d2cdc694ea6cc45551126a1cf66cd275881012f8427a4bb31159eace9e0369d32a7e2ba8f2cd4877ecb5 SHA512 e2aefd6658d44d2e28adf5785e035bfdb1c1ff40fe1d275f7bd6aca35e89bcebf7dc1cd4fac24ebe8238067ad6be2e9bd2fb351cd44e83a7bcc3e23541d57521 EBUILD psycopg-3.1.17.ebuild 2590 BLAKE2B f1064930c7da54de6673f6c9a406373188ffbe5e821e9173776420216efce31bda46f43d0e453e046f001698990d353e3507036785b0ca24e9ecbc7a8bed8fdf SHA512 3288147ca5332c28ec225f5b12bc382fca7df1c401be3f01a52c86402e06a5f1ddfc53a712584d3e3234b03d759e7223bd9d7b58e50e0d2c919ae60faaf3e221 -EBUILD psycopg-3.1.18.ebuild 2505 BLAKE2B dc4ebfc9fabd220e24ed133a81460e3021a99b3c7862fda99ced8f0f65f815d8ef503d180dd0807ce0ef4d0201d2a6438f02ebe11663559e91cc0e3bc43d1541 SHA512 25add355db0e137fc6a2c53b48ce5ff675e57766067fd18bc77b02cae811bb9f4026120138100fd4705063535ac70a52609849005f8dad2a563d6e9fe78f6e30 +EBUILD psycopg-3.1.18.ebuild 2502 BLAKE2B 7cee934a08681a9c17a8f37a9d6df2373aa1b6600cf247344a4baad4d672d696a19a14acae9718c9d508b3629d21eaed6773f9ac9ddfdc51f38bbde3542abc0f SHA512 50ead793f7942316377a5f0f826be2fb843068404cc5b3cfaebf55b165d3c8cbc963fde5c8de956eb99821f89c973669b6fe6b61700683b17d296b322e47981d MISC metadata.xml 426 BLAKE2B a573dbbef89ba2c3c7e7aa11e87005879fa823daa8d7e2080ce82dab7196429769b5e2ed0c4ffb363443469dfa47524d900fae75c4d7c8c9da901389e746838f SHA512 e3059428d8c00113696bfd232b2ad3fd4efccc304a31ff45801f30bb07c03acd58aafcab187fd85e4d89eff4db6c18a1395744eb1fd5cf8f11e43aca0f4e60cc diff --git a/dev-python/psycopg/psycopg-3.1.18.ebuild b/dev-python/psycopg/psycopg-3.1.18.ebuild index 6668926fdaef..1af6fa040c5c 100644 --- a/dev-python/psycopg/psycopg-3.1.18.ebuild +++ b/dev-python/psycopg/psycopg-3.1.18.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="LGPL-3+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="+native-extensions" DEPEND=" diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest index eb2b186af9e7..fe673e0b3d80 100644 --- a/dev-python/pygraphviz/Manifest +++ b/dev-python/pygraphviz/Manifest @@ -1,5 +1,5 @@ AUX pygraphviz-1.12-swig-4.2.0.patch 8922 BLAKE2B 64923595e4dc3839af98ca5705faa4bbe1aa5227d09a5bb4e7b50e8d3309744028a90098f84486fd032fae4c28931fde6923f93697ad65cc2c866078d227431d SHA512 176a31e430b0469ea77bb3cac296933c8d19428d2e893467b7a272093d5184374ffd04bfc56c36a0a183e15518fe2d3bbd540b48f0d4cf3c22d549208808d91f DIST pygraphviz-1.12.tar.gz 104941 BLAKE2B 5c2d119c66837d13511ef4756093b159f45ccb2888eb2b86c1d016837059ed34bdc5cb7e69eeff013642d92ec0c2b4a1149316b0baaa742c49a34945fd2563e0 SHA512 2407fdd7de3b2f7f1d9f9e3e3fe0f19c4faad4a72db33a0b4341a01f98eecd4d240079f2d0ea5cf68a5e10236f11fd84e55fd44518611efde2fab7590e3aae90 -EBUILD pygraphviz-1.12-r1.ebuild 1010 BLAKE2B 5b950cbc6758dd6d9728617cb68464e95a5acf5d4e0eb465234cc75d8fc164f922859637e6a0b1ed4851270be9e8bae260afde4be58b6e00de5d488c5ea37bae SHA512 7da728f707de032159a03ce722ef2c8d0542459cda162a1bd0352f26fa689fb5da405f13100ef8a4b396350f61608354289f6be70d42499b58046026eaaeb526 +EBUILD pygraphviz-1.12-r1.ebuild 1009 BLAKE2B 76e877cf05052d86265cac8b3774dc60c2f9d0813935c4bd62baac334899ec00f4f2d502b32c420e951d8020c3aeb0a5a1a93624faab39c92ba037a3c9d632de SHA512 adf04e224088033364ed0d5a3c6c43ea6f1600f96c7185a57fc1ae570218af9a5b3b8278dcea594033b99afb63efae7feb2f5f1394f8a1e9b3cb1db032b35c20 EBUILD pygraphviz-1.12.ebuild 957 BLAKE2B da310bbcd652b5449cb9c7757d57be6ce322a8fab765e6978b989fd003bf2773c8980367a9f878714fcd81cabb63317d2768a48be333b67b63f599330b219a64 SHA512 97b08b4c6a0ba3398796d854b813347f9c909ba353d6a3bb8d6c2928f9382d4615d157eefccf8b47bfa86058b65d5b03b358c27f19de8f7421a0f8194d682481 MISC metadata.xml 682 BLAKE2B 50dc3c55cac525fce3a396c94bdb48eb6e2c0b43636ae53c8ddbce2c9d3f82d8a080d881d4e6ac61ee71f88779c560d38fba3e10424fcd30af0dc80f979df081 SHA512 87e124765948529b7444fb1ad1ae655e18478ca46631a11a6613b289e2ac39600cdc00cc7af82b40694fb1e90c0ccad98be2fb457c5d7f74d5b087a6b3319aff diff --git a/dev-python/pygraphviz/pygraphviz-1.12-r1.ebuild b/dev-python/pygraphviz/pygraphviz-1.12-r1.ebuild index 1c4a2634cd78..831dca74c468 100644 --- a/dev-python/pygraphviz/pygraphviz-1.12-r1.ebuild +++ b/dev-python/pygraphviz/pygraphviz-1.12-r1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86 ~x86-linux ~ppc-macos ~x64-macos" # Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. DEPEND=" diff --git a/dev-python/pyroute2/Manifest b/dev-python/pyroute2/Manifest index 6fb7940fce37..6dfaa15c568c 100644 --- a/dev-python/pyroute2/Manifest +++ b/dev-python/pyroute2/Manifest @@ -1,6 +1,5 @@ DIST pyroute2-0.7.10.tar.gz 422192 BLAKE2B ee3eb0961537427aa8ec22d38b0e7e2f53f0ce0fe6802ded685fff1b91616b712b014d64b418122d98a29c030021a7414d2a0f71eff7afaa6e15cc432772c503 SHA512 834beeffb7d5436db6668217d3c3593798727996858211ff5a582446be095372a0c979c328ac97fd1485c27b0b56aedf256fc9ff5c74d2ef9665dce09fbd042d DIST pyroute2-0.7.12.tar.gz 423519 BLAKE2B 75dbb9348bc6e6cf67ca6e79bd4bb0e93c77502935f9df855317cf22335c15fa0a19c40855cb4d89201f6e83fb4def9a44ade19e099c6a9c1d4233c0269224d6 SHA512 928e7f45569d43c1849d9c8d5972b38343ed8dd79137d6bfc757557d3bde23526af6baea61acc720b7e2d5d26731066b93f180138a6227b7d76d094e04111df7 -EBUILD pyroute2-0.7.10-r1.ebuild 575 BLAKE2B 3a266caf063d2b3dc37d32835ff6b6fc6593c421701b15667bb360162906b3232832f0ce5aa9bcc1edad4fd103614e66426087e16bdd96c0c5f18137b10400a4 SHA512 66efde2f2cf104295f269145c05966925151d2379ebd799eff435aa6752b0e02f7a9d00064e40be277f1ae8b4a861e738558e450a50bad5d9aaeefc8b9357f3b -EBUILD pyroute2-0.7.10.ebuild 626 BLAKE2B 4f779cb907cd8e08444bb0ed561313d7358a8829509ac1d06d2281b3c23c7db1f88fced2446ca185517e446002aa7d6ba3dbbbc6734cc14607f15e4e8ee44e6d SHA512 a2e1f56eb6b74963df576174b8b68f5469104059f13f802ddd7536b68f6ab6a400eccbfdf6be95a60472d466f25efec5fa3c54b3636b4813d8661c56e644752e +EBUILD pyroute2-0.7.10-r1.ebuild 573 BLAKE2B 643742ca75a8a3cd7501e26145f125f804d670e1d9747125e7c24093305ed618425be1b2170278219408afe2b5f7bc8dc16db5402973297bd72692017e05f51c SHA512 ef9dbe482644fb6804c0eccf43f627c294f80f7ad8482b00a92fb1a97f57f8ebecaf58498d657a5644c76af850f402813cc44441c6df86458bdb3ec34be1f718 EBUILD pyroute2-0.7.12-r1.ebuild 575 BLAKE2B 3a266caf063d2b3dc37d32835ff6b6fc6593c421701b15667bb360162906b3232832f0ce5aa9bcc1edad4fd103614e66426087e16bdd96c0c5f18137b10400a4 SHA512 66efde2f2cf104295f269145c05966925151d2379ebd799eff435aa6752b0e02f7a9d00064e40be277f1ae8b4a861e738558e450a50bad5d9aaeefc8b9357f3b MISC metadata.xml 547 BLAKE2B 1d256c8d9bb8cc039853ff12c15d7c2747822ff95e3ae7f3e7c1600498c7b886a341a03327992e3a7933592eba0094eec6fba519b0d9f2b2f0ece57eb515ea4a SHA512 e845b3e319e9d60b1dcbf9ab66681b886b0c517a5a72288aaf9ccb97d5018dc3b01b8d921b8a9fcd3538cec96e9a7e1c452a704c8c422ef6e6fa6069a7ae56ef diff --git a/dev-python/pyroute2/pyroute2-0.7.10-r1.ebuild b/dev-python/pyroute2/pyroute2-0.7.10-r1.ebuild index 5450ffde31c0..c0c4de9a1d2f 100644 --- a/dev-python/pyroute2/pyroute2-0.7.10-r1.ebuild +++ b/dev-python/pyroute2/pyroute2-0.7.10-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="|| ( GPL-2+ Apache-2.0 )" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" # tests need root access RESTRICT="test" diff --git a/dev-python/pyroute2/pyroute2-0.7.10.ebuild b/dev-python/pyroute2/pyroute2-0.7.10.ebuild deleted file mode 100644 index 0802e4c06c3b..000000000000 --- a/dev-python/pyroute2/pyroute2-0.7.10.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 pypi - -DESCRIPTION="A pure Python netlink and Linux network configuration library" -HOMEPAGE=" - https://github.com/svinota/pyroute2/ - https://pypi.org/project/pyroute2/ -" - -LICENSE="|| ( GPL-2+ Apache-2.0 )" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -# tests need root access -RESTRICT="test" - -RDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" diff --git a/dev-python/pytest-lazy-fixtures/Manifest b/dev-python/pytest-lazy-fixtures/Manifest new file mode 100644 index 000000000000..9d8f922b98c1 --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/Manifest @@ -0,0 +1,3 @@ +DIST pytest-lazy-fixtures-1.0.5.gh.tar.gz 20107 BLAKE2B 543f1a2c9a134fc238c686286b81367c3d6ad21b0bb4b171e2c00f1b961a7813a6c6b141dd265a360c40da7d6e1fd0d48c5ea8d8fc3804a09a39447c0c1c7970 SHA512 c84bce864c5e482c5115ba4c1c8caec9e97a85af4fc839a9fa3a472306d12e1c4564cf4323545be2c6af52c1dc22c24a3e25eae434696953f9efd5d822663601 +EBUILD pytest-lazy-fixtures-1.0.5.ebuild 705 BLAKE2B 9faac3e5ee1531cde4903489eaebbe0ff8ae157f5eda88089dbbf3b9b252df05d14b48dbb7049bd13152de3400bb827484f28c5b6508f36b6b3bed2a009c9a57 SHA512 99684e5cc86d6ed57e1f24b086aad43919badf075b8ee35f67ddd907215c2d0e5faa70dd8855dbf7a6f6065a3df2fcb5f07ebcfdb6a31b6e024b9d22c500d823 +MISC metadata.xml 397 BLAKE2B 99b31408b673a22388daa05cfe76d1f44e94e684dc14717d2a403e1734b703cabc100d687e888bd7c36df54fb49128b849ad6817bdcf01f1c36e497c32106427 SHA512 f5f34da24f19be54a81e06235102712399cd253b2981e7d01aedf730891cdf55cbaf816d99a0ef09b108475db79f05d940cd8b0487f5b9fc0c399fe29ba7ae95 diff --git a/dev-python/pytest-lazy-fixtures/metadata.xml b/dev-python/pytest-lazy-fixtures/metadata.xml new file mode 100644 index 000000000000..e66300e8bbd2 --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">dev-petrov/pytest-lazy-fixtures</remote-id> + <remote-id type="pypi">pytest-lazy-fixtures</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild new file mode 100644 index 000000000000..dcfd7e162c09 --- /dev/null +++ b/dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Allows you to use fixtures in @pytest.mark.parametrize" +HOMEPAGE=" + https://github.com/dev-petrov/pytest-lazy-fixtures/ + https://pypi.org/project/pytest-lazy-fixtures/ +" +SRC_URI=" + https://github.com/dev-petrov/pytest-lazy-fixtures/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +RDEPEND=" + >=dev-python/pytest-7[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/python-multipart/Manifest b/dev-python/python-multipart/Manifest index 494154a5cf83..947d9fc7639f 100644 --- a/dev-python/python-multipart/Manifest +++ b/dev-python/python-multipart/Manifest @@ -1,9 +1,5 @@ -DIST python-multipart-0.0.6.gh.tar.gz 48648 BLAKE2B 4995136e6fcda8df952a6ee868238a507f3d5ea8f8454d4c4933e89b4897440f9186bd820af427f81b3240ca3610aa8300a944e4a0436291cc414f5e97daca30 SHA512 fb996725266996aefb5284b4815ecd8d0005344359f29780f0c2817125f625f3910be14d7d937e975b3ca9fb27a2a483401ab342a0c861df0e1112d447b1f083 DIST python-multipart-0.0.7.gh.tar.gz 48727 BLAKE2B 723910a769c7a574480a8e60be23a5e279daa487972b78d72db74ea8a2969b60711eb48bdc6a8a0e27baf8cfb3cec388eef95dafe69b44012b1ee9221d5c88ce SHA512 fc4429a50550087f4c05e4a35fdf3f3a0a6e00a8401d6478481f54427af88a9b0da237785142edc044f0802c40ffa54b6a6b70949ad4fbe12de5a06ce5a724de -DIST python-multipart-0.0.8.gh.tar.gz 48838 BLAKE2B 62c400c5c2024cc7706af418ee2957ab2f05a68a53a72f457c2da75d12233667461d7d7d1d1620a2e59e1d42927c6fde7b90617fe8a08d9341147f15a5230e4e SHA512 9ec89558faf6efd282699a6ef8e6d1fe540ca6694be7c547369840ec28e0bcccf094b3ef05155e08577a7884047f99aed78051a2ef05926432f8306570009d69 DIST python-multipart-0.0.9.gh.tar.gz 49448 BLAKE2B 9ab4026dd4f45e60fd3bd781b178258edc9841e2a999ba6d0e918e37da106d7e9fb5816fa3e2fccb9eb3139c06c83dc892fe3e38b98bc6289dccaee4cdc64260 SHA512 6e41be080e079b1e9730e61d72b5b339fbb447bfb2b171a617c17025c5ad69924ca3c24f39e160f7b1cc495cea0999e72e6674e5631ce88a48240ecc229d0343 -EBUILD python-multipart-0.0.6.ebuild 668 BLAKE2B a1d3301b090f6e778ffe29afb5ffc826c36af6e872555ba03624c6bedee472af4ee6f5528a4b34d8b9323f27512d264df983b9232c4c7fdce9a38fec5597f7bc SHA512 9cd5610aaeae66888dffb214f3498a42821c64395d896fd4247dbd223f8ef9b669d2298fd6d748207fc9e538a76e5abb1adf8411a5e2801810f0495f260ce006 -EBUILD python-multipart-0.0.7.ebuild 676 BLAKE2B 8e125fb8acfefc74066db34a8efbfc8d35917e91ba95e15e7f9a74f6f13a0f15b0ab90480a790f05373703b7c529ad2680530e3268387a27c3124ef5625c8b82 SHA512 c53b62401d6f1efe5c0358825ff6269f4c1f31b3a377df4713729e77f23d1e31b3e93182e3bc252211661e59aec8ba5e914a872c83a7d95b7d9be8f412a62051 -EBUILD python-multipart-0.0.8.ebuild 672 BLAKE2B 8391900a8e9f92310b46dfab94c40a4cc2643658efe90f09ed86cbe8c2a7d91efd9bb96335a6b40ef527aec3ba6f0fafb4ebbdd3d5bc6351c80599065e4462b9 SHA512 9a85b87abb50c4463d4dcf5fccdc9b5273946193e869d9768aab205125639d3aba09f20d5c3d9a30170cad4d24dd38bd078c8549adc6c6755a23ee86721af263 +EBUILD python-multipart-0.0.7.ebuild 668 BLAKE2B cba41177894b8726f09e8342190ae22475e6c1ada485b2b499b066d2f8d0ab6a4cfab04be461571cccf18e75a0b2ce4d53718db2a01b6098dfd8ba9e9cd6047d SHA512 be3a435d2a7f4e7d45845527e25357e96154d537b9ad45522e62fb9507dcad187ceefd8964b523c23b7c9174526321ef25bdb8b3eff5e50754a414c6f59fe28b EBUILD python-multipart-0.0.9.ebuild 672 BLAKE2B 8391900a8e9f92310b46dfab94c40a4cc2643658efe90f09ed86cbe8c2a7d91efd9bb96335a6b40ef527aec3ba6f0fafb4ebbdd3d5bc6351c80599065e4462b9 SHA512 9a85b87abb50c4463d4dcf5fccdc9b5273946193e869d9768aab205125639d3aba09f20d5c3d9a30170cad4d24dd38bd078c8549adc6c6755a23ee86721af263 MISC metadata.xml 407 BLAKE2B 506414856dda2ccb7c2da00c350f73dcff5a3d9ea5897b96a7acf8973462c564b217c42cb922587378ca8c0e78f8a5a6a5aabb12bd93ca202bb29e377a6ad143 SHA512 4b61836d4f1834b8abe4c5a0e1620cefbee79665ffbd14326dc9b9b43252b519e2d3cd392c40b7356f3be705e3a38da565416e7294d02fb1817cda0e8b72a115 diff --git a/dev-python/python-multipart/python-multipart-0.0.6.ebuild b/dev-python/python-multipart/python-multipart-0.0.6.ebuild deleted file mode 100644 index 956fcbbc095c..000000000000 --- a/dev-python/python-multipart/python-multipart-0.0.6.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A streaming multipart parser for Python" -HOMEPAGE=" - https://github.com/andrew-d/python-multipart/ - https://pypi.org/project/python-multipart/ -" -SRC_URI=" - https://github.com/andrew-d/python-multipart/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/python-multipart/python-multipart-0.0.7.ebuild b/dev-python/python-multipart/python-multipart-0.0.7.ebuild index a4baa77e8c78..1eaf2ca719a3 100644 --- a/dev-python/python-multipart/python-multipart-0.0.7.ebuild +++ b/dev-python/python-multipart/python-multipart-0.0.7.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/python-multipart/python-multipart-0.0.8.ebuild b/dev-python/python-multipart/python-multipart-0.0.8.ebuild deleted file mode 100644 index 04f7d2f6b162..000000000000 --- a/dev-python/python-multipart/python-multipart-0.0.8.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A streaming multipart parser for Python" -HOMEPAGE=" - https://github.com/Kludex/python-multipart/ - https://pypi.org/project/python-multipart/ -" -SRC_URI=" - https://github.com/Kludex/python-multipart/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index a22ceb88ee4e..17b0f5f96a87 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,7 +1,10 @@ DIST selenium-4.16.0.tar.gz 9741404 BLAKE2B 13b24b883ff6d276164ed845405e70c0267506656ce4ee63f0653e409e3c70fd8d3aa2bc1a551d051ea0c95f0bb6b60b5474caefd69e0bddfc97d1cbf9aabbcf SHA512 86aea8f4a23b9e70de36c3024cf5eee32f4d44a6868bd98eda547d9ca51179b4618c6c408e0d0a658c621de2573e98b3d8093753a9c335986a287e00fb3238c8 DIST selenium-4.18.0.tar.gz 9781506 BLAKE2B 6e32db8e5e5e143047fd8c2dd590b2b47a62f06a0f080400d79b86715e48d4361b4db59d458961c4a0572c3ccea056b6d7c8c307b5312d00a12f425c5317cef8 SHA512 b2367bd263c739afb29b459467d046ee2cf17ba03b70a25c2160d4982acc9ffdf9c65f8961e8c17eb0d67a843f6c857779308454e710f9ccc6e2e6ece145f10c +DIST selenium-4.18.1.tar.gz 9790321 BLAKE2B ec2960ea5877aa71a6328eac0d10fcda08520e99471e3460ab9ad46e821f9fabd40e1e5bfea63486fbd4f75aae312fe1ab2a9210f52b188f43b22495477d09a6 SHA512 bf959012df65dd97b71ee585a88c035ca6079107d9623d7722693328a35cd16609dfba1d50b34d3122e2d6b2e51808aed29cc80c6c741557a4d24c3df8b13deb DIST selenium-selenium-4.16.0.gh.tar.gz 77969888 BLAKE2B efc9b444762eb8921d35a2ed1b86c197d314a2e5d65fd430ff996735acf0c1dc03c25a9300946d98230a87f1eed4c0260ec57238f49853b6461a1f0cbeb3e151 SHA512 05cf76bb6df21f32a04485c4a1180d02f028ecb5c49f5f680bcdcc9711ca9f407a6e2d6754708cf2023ca6a19910a411711393892a741bc1f658496bbc809ac2 DIST selenium-selenium-4.18.0.gh.tar.gz 77571210 BLAKE2B 13d8454d1aaf31f58aa89f5dff4677f34a7b0dd2ace3d42a1f7bf978614abc764bd7a2584133a501c9c533779cbb9976d792d78c898aada39b70899039b8236e SHA512 e782d79950f58fe315823ac749dd919786c6ca71b1b582c396c4fdc7c922411157d3e60294382a00b5633a4f76eff994298e60f3edc18459dc5a14fe94b16b58 +DIST selenium-selenium-4.18.1.gh.tar.gz 77568094 BLAKE2B af8a9fb058e16bbf3d71e4487bcf80aca19920d8e03f5a218ba3acfdc931cc95b8c557e42f97619f08ae3f3f59f9761663a65096678c43b0b1b9fae8e2dbd356 SHA512 6bdfbb45cdf7e036cb5e27cf8c2b3952413cc0d02257e1333baaa774f1c6188ae16fe75aa1054ff2af31a8215c11835c9d64f39b0b0170a3f04760f192f42e94 EBUILD selenium-4.16.0.ebuild 1649 BLAKE2B c125acb75d9d1a010d298151e11f82802e2ba32749cb1afd2babc4e9cbe985a2ee2032dd89578526baa681b0142d24d3a60d2f4e7aa229977aa170c1d7692136 SHA512 9c8ab48fbf347da1198486c48205371a751a62127f935ce3ae8aa8da115f443ef52cbef837e5627886c781aa140d7f6c3296fe4d1255be4dc95d1a7ebee972bb EBUILD selenium-4.18.0.ebuild 1761 BLAKE2B 7355cdbe8cbc655516b61e9fa05ce6f69cd486c97d60faabb28c8ca4fd511cce8636fad799cb913adc89c9f53b1b6f220c2de6f9c8f715a86af2609fa33928ed SHA512 a0447ac8813cdf208fff5d1de476e1db77ff942bafaf5c5f57659569b3dd82390cf67b574c3b1c399f67a0a072cb855bdbf4e65e83dbe0d8be5aa374351fb53e +EBUILD selenium-4.18.1.ebuild 1761 BLAKE2B 7355cdbe8cbc655516b61e9fa05ce6f69cd486c97d60faabb28c8ca4fd511cce8636fad799cb913adc89c9f53b1b6f220c2de6f9c8f715a86af2609fa33928ed SHA512 a0447ac8813cdf208fff5d1de476e1db77ff942bafaf5c5f57659569b3dd82390cf67b574c3b1c399f67a0a072cb855bdbf4e65e83dbe0d8be5aa374351fb53e MISC metadata.xml 383 BLAKE2B d437d1631cefdba12fe2c3ce38ddff34bf9dd2bbc777d5d3425556bda76865711c991c9e3a735130a1d55cb7c6578b083ecb473c28706a2d45563b31bdbe6d1b SHA512 c087323da996b9ad4d0bf8f00306cf044d5daab194b60af029cb1ce06bf60c660fd5959b7914e6f1103143c3e4533d293a6d3bd0ec1c95163eba09d8a19c13a1 diff --git a/dev-python/selenium/selenium-4.18.1.ebuild b/dev-python/selenium/selenium-4.18.1.ebuild new file mode 100644 index 000000000000..cd1feb489ced --- /dev/null +++ b/dev-python/selenium/selenium-4.18.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +# upstream sometimes tags it as ${P}, sometimes as ${P}-python, sigh +TEST_TAG=${P} +TEST_P=selenium-${TEST_TAG} + +DESCRIPTION="Python language binding for Selenium Remote Control" +HOMEPAGE=" + https://www.seleniumhq.org/ + https://github.com/SeleniumHQ/selenium/tree/trunk/py/ + https://pypi.org/project/selenium/ +" +SRC_URI+=" + test? ( + https://github.com/SeleniumHQ/selenium/archive/${TEST_TAG}.tar.gz + -> ${TEST_P}.gh.tar.gz + ) +" + +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="Apache-2.0" +SLOT="0" + +RDEPEND=" + >=dev-python/certifi-2021.10.8[${PYTHON_USEDEP}] + <dev-python/trio-1[${PYTHON_USEDEP}] + >=dev-python/trio-0.17[${PYTHON_USEDEP}] + <dev-python/trio-websocket-1[${PYTHON_USEDEP}] + >=dev-python/trio-websocket-0.9[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.9[${PYTHON_USEDEP}] + <dev-python/urllib3-3[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO: we may need extra setup or deps + test/selenium + + # expects vanilla certifi + test/unit/selenium/webdriver/remote/remote_connection_tests.py::test_get_connection_manager_for_certs_and_timeout + ) + + cd "${WORKDIR}/${TEST_P}/py" || die + rm -rf selenium || die + # https://github.com/SeleniumHQ/selenium/blob/selenium-4.8.2-python/py/test/runner/run_pytest.py#L20-L24 + # seriously? + epytest -o "python_files=*_tests.py test_*.py" +} diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 9c633f7305d9..0faab16c6e84 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -1,16 +1,8 @@ AUX sentry-sdk-1.21.0-ignore-warnings.patch 329 BLAKE2B cdb4295e600d868feb11b4a0af534bca90a1fa777344d56c945ddcfe71b3db10848df4032df06b9acf84cf574bec04dce4dc8935dd7421a6d0a2a011db337d6f SHA512 d1b5c50c78d1bb299280c4937fc8a8fdfc7d174d41061a32b57178c4dee58ab4b4b7afe8566a6b79244e53be8714b3ee7fdc9bf3401835d6d743e9fdc5a0aa05 -DIST sentry-python-1.39.2.gh.tar.gz 452370 BLAKE2B 8ab1b4464ecbd8164c20d926a78f4c839be9c1dba6b09c26c2aacfdc236ca6e93406ea0aeac1a2b86439d2340b546a32c8a3f2db80cabefc6986f4567753f660 SHA512 728f799fe9419d30a07ae15eba0feae4e861edaabe1b16a23f54d8fe2a389273ebfc43a1183368ea22332f63a096ea154031ca0e1c3efcea26cf83c6093547c3 DIST sentry-python-1.40.0.gh.tar.gz 457692 BLAKE2B 8f5d299c991f169eaba255ad13fc30620cda7f4d26b0f6ac353a28eef7f1c7001d9a20d61a4d565dc620dbd9292ce11a5bf9fe8c26129f1c340661f218074b53 SHA512 cb3297e96064b3c71a4f28ad1781277f3101c2171d6e8339664c400531f13ed8b394317601b20940261575ff1646801bc8cde760d595bdffa97af4cda4e27d6d -DIST sentry-python-1.40.1.gh.tar.gz 458026 BLAKE2B 2f4f34be4dd90bcdace51b593feb54e09ab3ec936c637c8eb484177289ffeaa588c73f474686986a90131c3b746867b552d6fbc29c3c7f1f360f878ed9ee5141 SHA512 07af5062e15d6d9a5c5ac678e4d3274d566dce9929f8b7412d9606749f93b5cf8405bb56577752afc4234f924d8b7ebd536d5a910589faa5dd94f5ecd9d0c9b8 -DIST sentry-python-1.40.2.gh.tar.gz 458073 BLAKE2B 807ab048ced25a121bc681ace1b04a0f2cee5c49d18674b97b6e15a1466a3a73566dbf05abf052610fe3fe469eacf92dbc5e94367004ffc5d35da409c9c3792a SHA512 b14926d673afdcbc1cd1c09b667e3a407bfd8bc3643ecce0c811d429932ff1a291b4cad9abbeef7de03fff22d1159b7c7c0baac307e19bc8ac60c2cfb87154bc -DIST sentry-python-1.40.3.gh.tar.gz 458533 BLAKE2B cbf7a5ccd10b23369865fdaf4c59e6bf3b2491e896a46696552022b239f4177ac12b65fa0a5d8fabb727a078bd7bc1762f387b2e6b7855c3f1f139aa58fa6bba SHA512 1956f4d6102b1de3fa0fe38a0ba68b4ecb83385c0f9a9056657a1641bd3080178884310b9a3381d5dbd8a8e50b5d31fc81b1a1e1df0a51a8a2a7f793debdac32 DIST sentry-python-1.40.4.gh.tar.gz 458601 BLAKE2B d2d7ab718b461418bb5a54afe5998dcc0e95d76d5975673c7470fa0f2bbb79e5f8999b254ff406b026d86422fbbe4d3395f07be1224afd00d02ce6d5f170a8f6 SHA512 2c62618e102f754ca838c54aa90bc4d00d8a98903ee2ac3118741bb38f0dd808c8deb8254581c820b086a06415c8adf62862e4c4b2dad393faf7d977a1015cfb DIST sentry-python-1.40.5.gh.tar.gz 459886 BLAKE2B 47df2f0c1594c236cd6382093c6d67d542ed01d44e51716c04620efd8c62031d401b410bf39572c0c8f178c48469fb35ac902a8b75d81058d55fbaa40308beef SHA512 50476f67be3142599e64815639d416ed7fbee5362dec196040b9c6455b80e176f178a4aefbac332b7aa0075cc45af4064bfa4c0e84c98c6535bc9604e2c7acd7 -EBUILD sentry-sdk-1.39.2.ebuild 5351 BLAKE2B 8f016448c88edd45df43ed13efc51dd465e8b7a71c3f24e48ce474805eb926dce103ba26d9cb10a88e762e0fac41fdcdc8dcc88799474c2bd5b05bdae27e343a SHA512 ac0156b0615f74a84b1991cacf9a4ea9bb53197e91c49556921fcac43e3fabc6c0776bfc09c4aabd1b016545edd29b4fbb508188f4fce9c19d6bec71d0cfaf16 -EBUILD sentry-sdk-1.40.0.ebuild 5473 BLAKE2B ca83f88a46c40717debabcac3b749ab840aacc4b2bf0e9c9d76965591d62ad88dada80dc188ea9ecb215897c3462fdb3d34802165e1a0e6901904816862290ab SHA512 4333f13798bde991902b0aaf82f64a5e0ff9f7644a1c5690b4ae6deef3516feb32abd5114953e59d9e4328489e9d1b85c8bc2f1bc17c96e00a47eb8e12443607 -EBUILD sentry-sdk-1.40.1.ebuild 5620 BLAKE2B e956f30327c05667d99addb3a1386b9689b64f10734a461f069bc1472447028abe3fdb3da9c952f547bc91fa933d3aead8e897899bbac7c43589a4399857eb77 SHA512 56e59edea33e03fea5cacc189eb0922229ff57719093b61169be33def8fc23ea915c4dd7a6863a90cdb9da2f4e0884ccc1fade5e3bbf49e2976aa3ac082a1a0a -EBUILD sentry-sdk-1.40.2.ebuild 5620 BLAKE2B e956f30327c05667d99addb3a1386b9689b64f10734a461f069bc1472447028abe3fdb3da9c952f547bc91fa933d3aead8e897899bbac7c43589a4399857eb77 SHA512 56e59edea33e03fea5cacc189eb0922229ff57719093b61169be33def8fc23ea915c4dd7a6863a90cdb9da2f4e0884ccc1fade5e3bbf49e2976aa3ac082a1a0a -EBUILD sentry-sdk-1.40.3.ebuild 5620 BLAKE2B e956f30327c05667d99addb3a1386b9689b64f10734a461f069bc1472447028abe3fdb3da9c952f547bc91fa933d3aead8e897899bbac7c43589a4399857eb77 SHA512 56e59edea33e03fea5cacc189eb0922229ff57719093b61169be33def8fc23ea915c4dd7a6863a90cdb9da2f4e0884ccc1fade5e3bbf49e2976aa3ac082a1a0a +EBUILD sentry-sdk-1.40.0.ebuild 5469 BLAKE2B f52aedfd30d87d07bd37955c79647260b1658433a00e92fda5212f38f3ca00ba07cd74c1de59ed828f0ff9c3001f2617466e2f6223b3fae78165a8d7becf0418 SHA512 94f61513d20cf1a876b54320372f646b6b916a7a05690d56350436b8b63bcb180f77283994ec58b3ddba3e5176b2397349f577fe66ef184eb7aea300db73b718 EBUILD sentry-sdk-1.40.4.ebuild 5620 BLAKE2B e956f30327c05667d99addb3a1386b9689b64f10734a461f069bc1472447028abe3fdb3da9c952f547bc91fa933d3aead8e897899bbac7c43589a4399857eb77 SHA512 56e59edea33e03fea5cacc189eb0922229ff57719093b61169be33def8fc23ea915c4dd7a6863a90cdb9da2f4e0884ccc1fade5e3bbf49e2976aa3ac082a1a0a EBUILD sentry-sdk-1.40.5.ebuild 5685 BLAKE2B ff541097703666b7a31b256c91ddecb802d5a133a3b01e692a5398af7f8bc2e4ed00ddfdc54b69b999a7629add25273a6a91c7086e71d2b0eb3e8e835158b68d SHA512 24e0bfe931e0a2790c6e5a7dd610608fcc2d1646b2a6826f54b4de2287576bb4b5f02208b44ff2b955f6f7f23898b9042d6d6ae0522d06d9c8f28ea45ba420e1 MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-1.39.2.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.39.2.ebuild deleted file mode 100644 index 5626da81f328..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.39.2.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) - -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/python-socks[${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" -) - -python_test() { - local 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 - # requires AWS access - tests/integrations/aws_lambda - ) - - local 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 - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # 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/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # TODO - tests/test_utils.py::test_default_release - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-1.40.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.40.0.ebuild index d612f2af4c08..f40a238df530 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.40.0.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.40.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/urllib3[${PYTHON_USEDEP}] diff --git a/dev-python/sentry-sdk/sentry-sdk-1.40.1.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.40.1.ebuild deleted file mode 100644 index 9c1a5c572cbf..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.40.1.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) - -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-8[${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/python-socks[${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" -) - -python_test() { - local 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 - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - ) - - local 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 - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # 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/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # TODO - tests/test_utils.py::test_default_release - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO - tests/utils/test_contextvars.py::test_leaks - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-1.40.2.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.40.2.ebuild deleted file mode 100644 index 9c1a5c572cbf..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.40.2.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) - -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-8[${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/python-socks[${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" -) - -python_test() { - local 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 - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - ) - - local 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 - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # 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/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # TODO - tests/test_utils.py::test_default_release - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO - tests/utils/test_contextvars.py::test_leaks - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sentry-sdk/sentry-sdk-1.40.3.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.40.3.ebuild deleted file mode 100644 index 9c1a5c572cbf..000000000000 --- a/dev-python/sentry-sdk/sentry-sdk-1.40.3.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) - -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-8[${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/python-socks[${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" -) - -python_test() { - local 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 - # requires AWS access - tests/integrations/aws_lambda - # requires quart_auth - tests/integrations/quart - ) - - local 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 - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_custom_session_cookies_filtered - # incompatible version? - tests/integrations/falcon/test_falcon.py - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_large_event_not_truncated - tests/integrations/django/test_data_scrubbing.py::test_scrub_django_session_cookies_{filtered,removed} - # 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/integrations/sqlalchemy/test_sqlalchemy.py::test_engine_name_not_string - tests/test_scrubber.py::test_breadcrumb_extra_scrubbing - tests/test_scrubber.py::test_span_data_scrubbing - # this is not even funny - tests/test_utils.py::test_installed_modules - # flaky hypothesis stuff - tests/test_serializer.py::test_bytes_serialization_repr_many - # TODO - tests/integrations/aiohttp/test_aiohttp.py::test_basic - tests/tracing/test_decorator_py3.py::test_trace_decorator_{,a}sync_py3 - # crashes Python - tests/integrations/grpc/test_grpc_aio.py - # hangs - tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub - # TODO - tests/test_utils.py::test_default_release - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions - tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source - tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic - tests/integrations/threading/test_threading.py - tests/integrations/wsgi/test_wsgi.py - 'tests/utils/test_contextvars.py::test_leaks[threads]' - # skipped without gevent but breaks stuff via broken teardown? - tests/test_metrics.py::test_no_metrics_with_gevent - # TODO - tests/utils/test_contextvars.py::test_leaks - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p aiohttp -p pytest_forked -} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 3ffff6060706..f5f19e044037 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -29,6 +29,7 @@ DIST sqlglot-21.0.1.tar.gz 9494272 BLAKE2B de522ca78eeeb84b849a70ff8fed63a1841c9 DIST sqlglot-21.0.2.tar.gz 9504238 BLAKE2B 3b3f268ca46bcb0596454bab95abf6b5d61a018944eab1a45d3dec276058bfac30767a57aa687596956ac9c3f17d861b7368e0a2409df0b49b20cb0c6ff80f09 SHA512 7d8d43827de9a537c9f07e28895c42d003b8e4afbc40e5405dc01717f329a2c57b7bb2e7d079b32b83b5cc532488e35fb6297f14c9ff5d90f7a40c565e32654f DIST sqlglot-21.1.0.tar.gz 9507449 BLAKE2B afe9db7f50e3367a9ce91b6acf82004ffd6b3c661485b876873ad52656629c88e092cd82c4cd6adbda1a4747b0988f7bfcd21f4db9fcca6a3b152d0870f17b28 SHA512 395c84a2cc5af7f19d649fd422782483fbfaa06716bc8352cbef6a393d3f029c4f11076097eccbfc0918cc6bff2c6a7c43227546c2a3ce4af2e79eb7287107f0 DIST sqlglot-21.1.1.tar.gz 9524438 BLAKE2B eeb815879c968bb2cafcbd2cb44466c654f9aa25cf071b6c77586c756d8ff8514ef28d39c8ca47c015034e79958646efcd18d744a3852cd19331fcafe9b17aeb SHA512 ff9c58351cd3cdd7b8cd62b6bd4b5a1822867db2465a0cd40e444c061c640de8c4cad83ec36abc7a5e57a77ee9428532f7420923c59a3a3fa2ad522fe5d6f257 +DIST sqlglot-21.1.2.tar.gz 17531031 BLAKE2B 24fa7a13ae5cd1260cea297fdaf0276bbbaba50627d5e6a471e23ca832cf1cbb9f0e687eb29708579ad6887262a92ee5b54f85fe361d30dc2d04a40222487e68 SHA512 f61d7732fb577aa16f928652fc5633b1e4fcb98e6f061d5d24054b5693087be2fbca525e4af4541614ece992d13066c367abe05e1fede8daba936617fb66866c DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -51,4 +52,5 @@ EBUILD sqlglot-21.0.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4 EBUILD sqlglot-21.0.2.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-21.1.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-21.1.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 +EBUILD sqlglot-21.1.2.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-21.1.2.ebuild b/dev-python/sqlglot/sqlglot-21.1.2.ebuild new file mode 100644 index 000000000000..058fa81df816 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-21.1.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/voluptuous/Manifest b/dev-python/voluptuous/Manifest index cb7ae5fbd03f..b604ad0a484c 100644 --- a/dev-python/voluptuous/Manifest +++ b/dev-python/voluptuous/Manifest @@ -1,5 +1,3 @@ -DIST voluptuous-0.14.1.gh.tar.gz 42345 BLAKE2B 86866944bc391cabe7ac6c8cc00cc80d09a9d8890bab7c91f057d297b75554058da646e370cbaa9efe8d6707705c3f144af268d3d5cd6a15ac4568cac8bf146c SHA512 20d8c242b36e71c4eec7d0d7b638596b4f3762c30f8f1e0a4c0b38a4463f0a4c51279168be35a2e11d4e75428487d447e52218cccc78b61e5bab4ae0c5457120 DIST voluptuous-0.14.2.gh.tar.gz 43866 BLAKE2B 9c76f7271afe6f2c7150efed3be7b30127ad8096f21aecadd864766f593a5ab7a64f2b2dc65e2b233ca3fcf32c941cfeb1a96ba1a30f5727ad36ba09db3dafb8 SHA512 18a52c3d1feba1efda0cc91407b21938a7261ae9e7768e62ddc553c0cb9bf8ffa6448b39c476bc94a1aefb8f75b724da5ee2ffc8b6a729cb23accead7db40814 -EBUILD voluptuous-0.14.1.ebuild 606 BLAKE2B 07bbc0cac65950a112abe88afa442029a67698f523726a89b4b0ba241537bd7778e47d78d6f4503257d29f89dab6126897010a50432a5a2b69bf5fdcae3aa844 SHA512 d0b4f1ebe3cf160df0159feab0b3f98a5bc08c01c1a6681245035a6c9a7694f27563b190ea346fd7f78da7b6fa554aa8350421177719b7ab20edf11856458c7c -EBUILD voluptuous-0.14.2.ebuild 610 BLAKE2B 8e3dba3a36e48810670994d4010f89898431f836621aab25dba7c0254c628b538264064100047b4109edd3816c518a7687ed39515542049ee20ca3c3787fff08 SHA512 590e111ce805aee13df6586639d330597573f016714e8efbf13b67fb3521d2a5b1ec966975fb6c5f810c038af42cf9f9353f13cb37c26545f89c4998d53a6689 +EBUILD voluptuous-0.14.2.ebuild 606 BLAKE2B 1beeac5fcb36771360cbabf30eca4325cdde3bfeae95a4292f4bd9c242a1a09d04b79bd11ec0754f38afd35794f92493e17b73dd003a0b9f7f7350d0ea017cf3 SHA512 40e63a2387e22d2f56b8917bcd37ca465953077a86898cad6c8de56cb2d733ecfa3fb2116608bae00b38c3561f14319cfb060ecb2070060c14a9601fcf78fb39 MISC metadata.xml 716 BLAKE2B 1298492f8a89ce4babc23481dc56da06e4d9007546ed2804fdf42906f6d90d3b1327ee2d54724fa3621a387429544931d30a0334312a68a17edaeba735c9d7b8 SHA512 80636ea29257b1ff070427dc759f9d0abf02ba2037676725627308c69a1e9bc49353c09507523a739c3f07a4cb284e2df76d3935f4f9dadb64005ad7204ddf60 diff --git a/dev-python/voluptuous/voluptuous-0.14.1.ebuild b/dev-python/voluptuous/voluptuous-0.14.1.ebuild deleted file mode 100644 index bfe2e7ee1617..000000000000 --- a/dev-python/voluptuous/voluptuous-0.14.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_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="A Python data validation library" -HOMEPAGE=" - https://github.com/alecthomas/voluptuous/ - https://pypi.org/project/voluptuous/ -" -SRC_URI=" - https://github.com/alecthomas/voluptuous/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests pytest diff --git a/dev-python/voluptuous/voluptuous-0.14.2.ebuild b/dev-python/voluptuous/voluptuous-0.14.2.ebuild index 35301fbffe56..f50caecb38fd 100644 --- a/dev-python/voluptuous/voluptuous-0.14.2.ebuild +++ b/dev-python/voluptuous/voluptuous-0.14.2.ebuild @@ -20,6 +20,6 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" distutils_enable_tests pytest diff --git a/dev-python/waitress/Manifest b/dev-python/waitress/Manifest index 953c7c27e668..c81201041eae 100644 --- a/dev-python/waitress/Manifest +++ b/dev-python/waitress/Manifest @@ -1,5 +1,3 @@ -DIST waitress-2.1.2.tar.gz 179823 BLAKE2B 0cbd172050f1da845c47b3a084cd5d7558c736c416372f22af4d4b6870ef6cd9050f4779fabaa5069b6b4783d748df98e2484eaed09da4d2cfc2d239ce15a05a SHA512 4ef487e116b34eede0f04a02ca7a78116a91664814067a8562d1cd15a4ab702e5faf4be7c122478324d017b6bb1f5315633b74405d00e900b34cc8f1a068da59 DIST waitress-3.0.0.tar.gz 179393 BLAKE2B 266130e3f0610098c29fe11076f58c8f938439c9b80e9630b917e829b64c88d06803c9208137b220827ed1deb8e9ba2c396dfcaf8d92435ee738d580dbda6f26 SHA512 8b391eb194fce32fd78c1a20cd1afe8caf20e7e0c622e4be2b1ec7d3831cb5a607cda0637d08dcd3a55f2e8c84817abdad4636bf2ca260b12a774dcfa68b9176 -EBUILD waitress-2.1.2.ebuild 783 BLAKE2B b1d4674b91fe363c702bd5ec601d007358c8e189ca9a047549fbd967f49868b9a9be87c31d0ac2a5b5e2ce1e6b6a8234df73f5c3f0627610e6501d440207bc90 SHA512 751679543c10b99a66dc42f27154fcf11b4f8340ae0b79ceba676e5bfe08e1efd2806abdb7317fdbc49f2a0e9243d0c42da62e7e7fbba5a0de4c6f5f6e98c419 -EBUILD waitress-3.0.0.ebuild 791 BLAKE2B a8fc7d4732a63a645065318fc422c951e10b0572712a9735c3eb8abdd9abe935780b8e010acc00366b62588fcd502e00c929d5a9156bbdbc7bb3e16ac928e284 SHA512 bc675fc9d04ecc339c0343b5b704726bf45d58fc2c62d6098af86ec933e711bec4e517780eeaabd67d6a173e79e3dae9c0311d8557c11cb9afbd61496e2b4472 +EBUILD waitress-3.0.0.ebuild 783 BLAKE2B 1dc52f1b0d9eb0a3d523662f20518c82afa1a12b5ea1411df9db7f8c1a2d01bdf83056ff1154eee94875201bea9b697d6698b05b3eca9e503b0356a2b3d20bc1 SHA512 b308e7ff224e139b25022237516259ee3fc1404ed1ac5d87b3a018d7e6095269e2d1bd5dfe22c18dda5540de3afc62091b256ba414b2b26e605e66e0c83e1f52 MISC metadata.xml 404 BLAKE2B 384598e80742dbc76ff25fab9b93b3e5ad1f730c9c55782257a6e7ce2724f631213301d4a213bd1a20ffc0bc97bfbb2ae4759cf9ac6e31d9728f645fbb69cb9d SHA512 5315d60706055e2def0e41f4d8ed99bcb54f99524fc6d23ffbe36a28faa315801dbbfba02042ae217e3a9db2dbac430085500603d88cfb0fab25d0a587ccee0e diff --git a/dev-python/waitress/waitress-2.1.2.ebuild b/dev-python/waitress/waitress-2.1.2.ebuild deleted file mode 100644 index 5a833940684b..000000000000 --- a/dev-python/waitress/waitress-2.1.2.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A pure-Python WSGI server" -HOMEPAGE=" - https://docs.pylonsproject.org/projects/waitress/en/latest/ - https://pypi.org/project/waitress/ - https://github.com/Pylons/waitress/ -" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # fails on some systems, https://bugs.gentoo.org/782031 - tests/test_wasyncore.py::DispatcherWithSendTests::test_send -) - -src_prepare() { - sed -i -e 's:--cov::' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/waitress/waitress-3.0.0.ebuild b/dev-python/waitress/waitress-3.0.0.ebuild index 3e14cb3ee147..db0beaff71a3 100644 --- a/dev-python/waitress/waitress-3.0.0.ebuild +++ b/dev-python/waitress/waitress-3.0.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="ZPL" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" distutils_enable_tests pytest |