diff options
Diffstat (limited to 'dev-python')
193 files changed, 1269 insertions, 4854 deletions
diff --git a/dev-python/Faker/Faker-19.3.0.ebuild b/dev-python/Faker/Faker-19.3.0.ebuild deleted file mode 100644 index 1d1454cafdce..000000000000 --- a/dev-python/Faker/Faker-19.3.0.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -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 ~ppc ~ppc64 ~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 diff --git a/dev-python/Faker/Faker-19.3.1.ebuild b/dev-python/Faker/Faker-19.3.1.ebuild deleted file mode 100644 index 07946eff6399..000000000000 --- a/dev-python/Faker/Faker-19.3.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -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 ~ppc ~ppc64 ~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 diff --git a/dev-python/Faker/Faker-19.4.0.ebuild b/dev-python/Faker/Faker-19.4.0.ebuild deleted file mode 100644 index ed676dd5163e..000000000000 --- a/dev-python/Faker/Faker-19.4.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -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 ~ppc ~ppc64 ~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-19.6.0.ebuild b/dev-python/Faker/Faker-19.6.0.ebuild deleted file mode 100644 index ed676dd5163e..000000000000 --- a/dev-python/Faker/Faker-19.6.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -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 ~ppc ~ppc64 ~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-19.6.1.ebuild b/dev-python/Faker/Faker-19.6.1.ebuild index ed676dd5163e..7e7c9615a85a 100644 --- a/dev-python/Faker/Faker-19.6.1.ebuild +++ b/dev-python/Faker/Faker-19.6.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 22d21555343c..60c98b2dd32c 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,6 +1,2 @@ -DIST Faker-19.3.0.tar.gz 1677117 BLAKE2B 855e3cc49e56d9c690add2b9bda9fc8c6e42a157543c44206803e794bc5a5da440f2a5151d959bff6aa438af465f7d4bf986e596af592251e64c80c861fdb8fb SHA512 cfbb81d8751fbe1c90260f806f36a8c95e7bcfe5f30555bb168b80e5e438a4e427482eb4220b55a6bd0f04ce4d64e9bd24b757b852b5a22de5f2b127e3f3fe25 -DIST Faker-19.3.1.tar.gz 1677746 BLAKE2B 1cf0c80daf23bbce824ebd81a3c31e6b12c353f4a75092dc482225ef27b1e55c9784a1bcde4305ffafb131471f4c5b886c8619c980e1d830530440c0c917e919 SHA512 4c9e073d46526830e4b561b61c8286c642668368b6a35ec269dd60cd56933b7e46bb699dceaab13330ade2e0928b27e8d5688fce555820c6a9abd34ecea2d37a -DIST Faker-19.4.0.tar.gz 1678303 BLAKE2B afb893836e9e85cbf130875274284107f621d443e80d4872c12467bad3c9cc4f6a8ea68aa829c95439e6a88f319323767d997ad9bca88870f0883392710cc858 SHA512 14e86b2f95d2e59aee71bae9017b8e6f4cde3752d9a64749c174bba2bbd3a060067adc269a22ba0083140b2f8376384bf67cce4b48af407d3b25e3cbebf682d2 -DIST Faker-19.6.0.tar.gz 1679938 BLAKE2B af083363853fbb084f124971276986b459e93ec9e73470c227eab452bf688e480e37fb1f82f92bb21f40a7a52034f2ccf00e30f47d1b9c6b56da375a783c595d SHA512 130c51bdd50ef3a9a1026b0f1160ed0e1ceed86cb89646160d7cb2419a77fc21f969487e57c2ca080d7f7729c7a485f3bc12eb572efa6db308de54a15ffa493f DIST Faker-19.6.1.tar.gz 1668966 BLAKE2B 48e1d0c658e7cd482660b797e5ac8e107c84e7d2be9ab86e55cb5f0da662ed742565c1f5a3176d1f2588b8ffafcc37e7dbd072c78e5b1ab94bea8678ea9f1d48 SHA512 1511f03cb41f70a22784a8dc1cdb5b58fdc19fc6f67d4a414a9b15619d019ec6b6564b7fa50db03535aaa3650ae93e4c948c732ae65e61652d7469d9ad83db36 DIST Faker-19.6.2.tar.gz 1680331 BLAKE2B 3453c531a1860c3e1782e24ad2d892d8291e1fafc698483639f43e7bdd281cee6e5c8bf7e60181db72011c1434ca3bc1c7f2a877ce136bf6e4f00286249033b9 SHA512 8a7929135ad562fafc2c95408ed644e7b965215d3e9ea2f2682e2aa2a5bab9759ab42d67380c7f8c89cf099cb65ad0dd13f6575c028f20550ef157f7db90102b diff --git a/dev-python/QtPy/QtPy-2.4.0.ebuild b/dev-python/QtPy/QtPy-2.4.0.ebuild index 32a56d011789..29e8757c4b40 100644 --- a/dev-python/QtPy/QtPy-2.4.0.ebuild +++ b/dev-python/QtPy/QtPy-2.4.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv x86" _IUSE_QT_MODULES=" designer +gui help multimedia +network opengl positioning diff --git a/dev-python/agate-sql/agate-sql-0.5.9-r1.ebuild b/dev-python/agate-sql/agate-sql-0.5.9-r1.ebuild new file mode 100644 index 000000000000..238a7620080e --- /dev/null +++ b/dev-python/agate-sql/agate-sql-0.5.9-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Adds SQL read/write support to agate" +HOMEPAGE=" + https://github.com/wireservice/agate-sql/ + https://pypi.org/project/agate-sql/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/agate-1.5.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/greenlet[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +PATCHES=("${FILESDIR}/agate-sql-0.5.9-sqlalchemy.patch") + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires crate + tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects +) diff --git a/dev-python/agate-sql/files/agate-sql-0.5.9-sqlalchemy.patch b/dev-python/agate-sql/files/agate-sql-0.5.9-sqlalchemy.patch new file mode 100644 index 000000000000..46a12ab68c9e --- /dev/null +++ b/dev-python/agate-sql/files/agate-sql-0.5.9-sqlalchemy.patch @@ -0,0 +1,75 @@ +From 90d5b8e220db51465e4dbac8df6e4bd4941c9ba6 Mon Sep 17 00:00:00 2001 +From: Steve Kowalik <steven@wedontsleep.org> +Date: Tue, 26 Sep 2023 11:59:39 +1000 +Subject: [PATCH] Migrate to SQLAlchemy 2 + +https://github.com/wireservice/agate-sql/pull/40 + +Remove the upper bound on SQLAlchemy by converting the code idioms in +use to support both SQLAlchemy 1.4 and SQLAlchemy 2, and only setting a +lower bound SQLAlchemy of >= 1.4. + +Closes #39 + +diff --git a/agatesql/table.py b/agatesql/table.py +index b141937..e4efe91 100644 +--- a/agatesql/table.py ++++ b/agatesql/table.py +@@ -82,2 +82,2 @@ def from_sql(cls, connection_or_string, table_name): +- metadata = MetaData(connection) +- sql_table = Table(table_name, metadata, autoload=True, autoload_with=connection) ++ metadata = MetaData() ++ sql_table = Table(table_name, metadata, autoload_with=connection) +@@ -113 +113 @@ def from_sql(cls, connection_or_string, table_name): +- s = select([sql_table]) ++ s = select(sql_table) +@@ -182 +182 @@ def make_sql_table(table, table_name, dialect=None, db_schema=None, constraints= +- metadata = MetaData(connection) ++ metadata = MetaData() +@@ -276,2 +276,3 @@ def to_sql(self, connection_or_string, table_name, overwrite=False, +- if overwrite: +- sql_table.drop(checkfirst=True) ++ with connection.begin(): ++ if overwrite: ++ sql_table.drop(bind=connection, checkfirst=True) +@@ -279 +280 @@ def to_sql(self, connection_or_string, table_name, overwrite=False, +- sql_table.create(checkfirst=create_if_not_exists) ++ sql_table.create(bind=connection, checkfirst=create_if_not_exists) +@@ -282,13 +283,14 @@ def to_sql(self, connection_or_string, table_name, overwrite=False, +- insert = sql_table.insert() +- for prefix in prefixes: +- insert = insert.prefix_with(prefix) +- if chunk_size is None: +- connection.execute(insert, [dict(zip(self.column_names, row)) for row in self.rows]) +- else: +- number_of_rows = len(self.rows) +- for index in range((number_of_rows - 1) // chunk_size + 1): +- end_index = (index + 1) * chunk_size +- if end_index > number_of_rows: +- end_index = number_of_rows +- connection.execute(insert, [dict(zip(self.column_names, row)) for row in +- self.rows[index * chunk_size:end_index]]) ++ with connection.begin(): ++ insert = sql_table.insert() ++ for prefix in prefixes: ++ insert = insert.prefix_with(prefix) ++ if chunk_size is None: ++ connection.execute(insert, [dict(zip(self.column_names, row)) for row in self.rows]) ++ else: ++ number_of_rows = len(self.rows) ++ for index in range((number_of_rows - 1) // chunk_size + 1): ++ end_index = (index + 1) * chunk_size ++ if end_index > number_of_rows: ++ end_index = number_of_rows ++ connection.execute(insert, [dict(zip(self.column_names, row)) for row in ++ self.rows[index * chunk_size:end_index]]) +@@ -354 +356 @@ def sql_query(self, query, table_name='agate'): +- rows = connection.execute(q) ++ rows = connection.exec_driver_sql(q) +diff --git a/setup.py b/setup.py +index 3905203..7257399 100644 +--- a/setup.py ++++ b/setup.py +@@ -37 +37 @@ setup( +- 'sqlalchemy<2', ++ 'sqlalchemy>=1.4', diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 9fe7a0a0787a..1c39850134b6 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,5 +1 @@ DIST ansible-compat-4.1.10.tar.gz 72127 BLAKE2B 1a3c172d30a68f14a163d2ad04180856d365424b99c593933c02c83afde7008f937a86f068fd4d09741eda731a0ae9801274764e349f56fd4a64ccdf1ff831b7 SHA512 f50d07d753fa2f3985efca4aa326d3608d55b3f8d00c42c3bd9ba95c6e40c7a717160220dd602374124ebbfc94c495819b4b738cb385875033876aee458d14b4 -DIST ansible-compat-4.1.5.tar.gz 68562 BLAKE2B b28b6e5185b29a55d452e9c72636b31a1a35c68f207cc07376fafd0a70335966d06f927a803582b715b29c090a80aa5aa2663cba54221cb4d2dbcd9a11ec5a7a SHA512 6da0bab56237a6447462ed9ef528711eb4c998de2732ec021e8257d2baf6cbb1e1435707440b4c0d122fb4f938c855693bcd555e147613f230105e3af74c00a6 -DIST ansible-compat-4.1.7.tar.gz 69900 BLAKE2B c8549573d4a4325579b6026b6b5fad5fe0abb0fdcf07a4c8e0699c040a97409632202f0a38703a113f9a86f68328642d8d5c4b897e3601a13737bc2a4deb4d88 SHA512 b3175573113a3df37923e582c191dd5f4522c3a2171cc93b186e49d5ca6baa2fd8b2e7af2e9457bb21b5bd6df6c9f82fccc10b5e2bfeda84c890c4cbc37fafb4 -DIST ansible-compat-4.1.8.tar.gz 71895 BLAKE2B 19a3cdc953e678a82f6b187ca224c9f10eccf36f57aba2305bf00bc7b3606dfc2caddef7331cd920ae67731b904bc21b1af19fb0945625b050162e0edc8ab652 SHA512 0b9157fd60e1ae9b26c103118fad3e8e28f872c7093d0c6238b047072ac3232e7f9a4c50001125850f4bdd0ba06a1efd8df44a994b1dfaaf7d3f3cb2cb888524 -DIST ansible-compat-4.1.9.tar.gz 72116 BLAKE2B d8ada9162b30526c85cb8ab2f365ce85800e2d5c513acdb665a8474cdb666cc508ecf412379bb95a0c9c525d7d0432d2907701bbcaa68c2da3c764de9ae3c3eb SHA512 5d7177889f5e1acec27585980d0df15f6ea37f816da2438e200ce9450ff287f282a8abd66caab238c810decf9163a0e52f0c9bf2a03b1f885e6a58da20f7103a diff --git a/dev-python/ansible-compat/ansible-compat-4.1.10.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.10.ebuild index 942ca69ac011..a5eb555b7d94 100644 --- a/dev-python/ansible-compat/ansible-compat-4.1.10.ebuild +++ b/dev-python/ansible-compat/ansible-compat-4.1.10.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" RDEPEND=" >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] diff --git a/dev-python/ansible-compat/ansible-compat-4.1.5.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.5.ebuild deleted file mode 100644 index 560e09585b05..000000000000 --- a/dev-python/ansible-compat/ansible-compat-4.1.5.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime -) - -distutils_enable_tests pytest diff --git a/dev-python/ansible-compat/ansible-compat-4.1.7.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.7.ebuild deleted file mode 100644 index 45f1e04c18ea..000000000000 --- a/dev-python/ansible-compat/ansible-compat-4.1.7.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime -) - -distutils_enable_tests pytest diff --git a/dev-python/ansible-compat/ansible-compat-4.1.8.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.8.ebuild deleted file mode 100644 index 942ca69ac011..000000000000 --- a/dev-python/ansible-compat/ansible-compat-4.1.8.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime - # pip, failing due to internets - test/test_runtime_scan_path.py::test_scan_sys_path -) - -distutils_enable_tests pytest diff --git a/dev-python/ansible-compat/ansible-compat-4.1.9.ebuild b/dev-python/ansible-compat/ansible-compat-4.1.9.ebuild deleted file mode 100644 index 942ca69ac011..000000000000 --- a/dev-python/ansible-compat/ansible-compat-4.1.9.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.12[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime - # pip, failing due to internets - test/test_runtime_scan_path.py::test_scan_sys_path -) - -distutils_enable_tests pytest diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index ab8e8c443d50..3679f01d9e26 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1,3 +1 @@ -DIST autopep8-2.0.2.tar.gz 116154 BLAKE2B 1b6830f9cb8a4384898273411f6b03cf3e3c0e45e2c56fa2bb134f3567cc06459a8123e660db9252f8d7cd15835d70e54c0155f146191be64ffbafaaa808244d SHA512 09471827d18ca0c691bc524e0639a416d1a4418ddda1cb88f50e5c5302e75e7014751e659e26439c22317db21588fbd956c94299cef44e2c47771df38de94be3 -DIST autopep8-2.0.3.tar.gz 116499 BLAKE2B f43476babe717ccd1d8ea363dc00e8a1227433078c89662c92097b2e569c9da46ad14af4e42982289bf6ec6cfc88f4db233b638dcf89f882fd7c4650f3f70160 SHA512 0007d6c6a17f21e1b4e00d1b69d83cac6db50a4c17ae351a429275958adcbb1d014e0f7e7e966239cc47388cb15ec07a3569f1254c1f16ebf6fb7d43fcfe57e6 DIST autopep8-2.0.4.tar.gz 116472 BLAKE2B c6e6d207e9e27db450b74fe63fc3c8dce1e6729e0c86046e3efb2a7e749ff402e4cb33062a10c49db7a5f158b12df35088686425a9d822a32b8a4fb6185aae7c SHA512 2c3731d328d0128b4e93c9cb05d730cdf4e08cb18b73ca0de3ac24462feb3e1e61c805ce4cef67f0df2db04773657d0efae70cbca9a67fa5d2790b07daeafeac diff --git a/dev-python/autopep8/autopep8-2.0.2.ebuild b/dev-python/autopep8/autopep8-2.0.2.ebuild deleted file mode 100644 index 82108acac82b..000000000000 --- a/dev-python/autopep8/autopep8-2.0.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" -HOMEPAGE=" - https://github.com/hhatto/autopep8/ - https://pypi.org/project/autopep8/ -" -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" - inherit git-r3 -else - inherit pypi - KEYWORDS="~alpha amd64 ~arm64 ~ia64 ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( - # fails due to deprecation warnings - test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes - test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file - ) - - epytest -} diff --git a/dev-python/autopep8/autopep8-2.0.3.ebuild b/dev-python/autopep8/autopep8-2.0.3.ebuild deleted file mode 100644 index e2deb2b20700..000000000000 --- a/dev-python/autopep8/autopep8-2.0.3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" -HOMEPAGE=" - https://github.com/hhatto/autopep8/ - https://pypi.org/project/autopep8/ -" -if [[ ${PV} == *9999* ]]; then - EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" - inherit git-r3 -else - inherit pypi - KEYWORDS="~alpha ~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/pycodestyle-2.10[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.{8..10}) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=() - - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( - # fails due to deprecation warnings - test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes - test/test_autopep8.py::CommandLineTests::test_in_place_no_modifications_no_writes_with_empty_file - ) - - epytest -} diff --git a/dev-python/bitstring/Manifest b/dev-python/bitstring/Manifest index eb342575d370..59a9e7c9b98c 100644 --- a/dev-python/bitstring/Manifest +++ b/dev-python/bitstring/Manifest @@ -1,3 +1 @@ -DIST bitstring-4.0.2.tar.gz 211208 BLAKE2B 75ba6de71ac1a4ea384aad38405ccef21a101c641ee244096d67aad9b46315ee5dab9099b928e3300772c6f15637d4b54899c0a40f6a7ab4e48cfa1c66f310ab SHA512 11d7cddc7372ef9dac92d97df6e9972d7e75e4b02ad1e777357bea667e096beb405871b6cc9baa0522e2251278ad8c11a34724932efb2593fccf572857a608ce -DIST bitstring-4.1.0.tar.gz 227045 BLAKE2B 0aa311f130a45099b46153f3452ab8e2b3f1c9ebc3d40390b0f3ddfdf552f9f610662904c286c1edba19e4033438e12a76f2533055da6095378e01152a318869 SHA512 e4c1f959268ee409e6482510eee728fe0f71392c920edfbdd641f4c4c967517e630abb5afa6d32b694e9f6dcc291128c54d27f8d5aed7eaa36599beb425f78e8 DIST bitstring-4.1.1.tar.gz 228708 BLAKE2B f883fc0e40fd426a21449ca27ce58b7e40291f3758aee70cfe455ea3db7cd22c32ae74f581e5a2c99f21e8162c9499793891074750a5b81a8397c5333fd18210 SHA512 dd90382f57a9a8eda41616d61ba589f1504a6613ef36104b1187c345197cf088c4ef1c283af8a33ce629bfeea2d39065970d173051d67f3ec2e2240043869ff8 diff --git a/dev-python/bitstring/bitstring-4.1.0.ebuild b/dev-python/bitstring/bitstring-4.1.0.ebuild deleted file mode 100644 index d33445f4b477..000000000000 --- a/dev-python/bitstring/bitstring-4.1.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A pure Python module for creation and analysis of binary data" -HOMEPAGE=" - https://github.com/scott-griffiths/bitstring/ - https://pypi.org/project/bitstring/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - >=dev-python/bitarray-2.8.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # sigh - sed -i -e 's:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # seriously, how obtrusive can you be? - tests/test_bitstring.py::ModuleData::testVersion - ) - - epytest -} diff --git a/dev-python/bitstring/bitstring-4.1.1.ebuild b/dev-python/bitstring/bitstring-4.1.1.ebuild index 4958104bba49..0e9acbd08fd6 100644 --- a/dev-python/bitstring/bitstring-4.1.1.ebuild +++ b/dev-python/bitstring/bitstring-4.1.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" <dev-python/bitarray-3[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5179cdde982c..23be785f7c70 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,18 +1,3 @@ -DIST boto3-1.28.30.gh.tar.gz 689629 BLAKE2B 03081369f995ae470717c32ffd0e80c1bac6677467cd4af57b4a7e19d5c0249c825a2db787d5e6d7319b1af808936043e07b1d5ff13eb413125478710a18a416 SHA512 ace77ea7898cd7baa47c256affe553bbec2410f0143caf3b06311d66c306dfe2d4ce8b47820d6c8ceb3f4a7a195d94610b46db2bb0ed2e3716dcee99b8841468 -DIST boto3-1.28.35.gh.tar.gz 692481 BLAKE2B fe5c5906598be2aaef8524a0333751bc2368aa33a3c212d45d95b1010f15d228b4b617ad7e855d668f38b9278c32bafc7c5da4395582a053ae3350d4c5453c7b SHA512 790fcb6a0aac9ae37d3d04c707b05d44249b7e265e47ad8fd9195ec338f70297b018f4d3ef34cd704fc3d82564794ea7fb4e5e9057cbae4a969d220eb911981f -DIST boto3-1.28.38.gh.tar.gz 694902 BLAKE2B 2f33b0e1015c3fa15d16c990f709a782ddc0c9903fca8fd6d489e45fd7e2c3a939082f22f8c8c090a1ec6acdf96a6a71e5689bd3317c8f984e83bb36534df814 SHA512 a734d1a5a7532d09dcec1f36d9fcc9e1e03d388cfb5a86a97318c88bdeb2fb3fec6d1770e0e6b9ac7e801ec862d5e42ae48a315f4b01b398712be1f64c651273 -DIST boto3-1.28.39.gh.tar.gz 696213 BLAKE2B 2a71b9ca5416d6eb1fbd2b21c67c2eca95409acced1c67b8345355d61eece063f589c2cb81ee4c81fd2dda54e66268d8269a8bb2f251a6d95c51a18366b5d861 SHA512 cd62663568aabc87de3d0c669b7cf131072aa596d9a341a19a357d8a289458ebb1e18b6618ab454753d0d385b53d450aaf836b5fb1bf04d30b40b6b314308908 -DIST boto3-1.28.40.gh.tar.gz 696495 BLAKE2B 297a32f989dc0c1bc8f0a5cd797c5f2d52ea9b83fc202b0889fdf89e7233693fe3a61972d30bf58f05e528f62c8ffaf24ea255c4ef1972b70b546c8c13b692b5 SHA512 2493d647a5a8c399fb3e3a4a9bbf64d242ba78263d33ac8e019036035522574ecc39a5fd0bcbddf2492aa3bd1401ac3c24f0ec92c6ac62cb2898a8fbeedd8651 -DIST boto3-1.28.41.gh.tar.gz 697348 BLAKE2B 83ec56d2e2a4f9ebad061f1b7650425a074d53427f4c691c23d5d9746c14bf6c4326bdca17b13a13d70723dd8e62d2e9977452ab9664556cfa63a93043c9b832 SHA512 bdd62739f532919803cab3303d11cf5362fbca8f1b6045e53b584705b8dcce7eb0d17fd1fdac02ccd49386937f1d6edaadfca5b1b3ac02d42dfe629123e31ceb -DIST boto3-1.28.42.gh.tar.gz 697860 BLAKE2B c5a4550a222a7ec7d2f09af1e06bfdbcac9251d5bb0dea089ce6a87fae2f62852cde76c0931755a2a343c4e8d38953a87e6ba32d377edfd7519b3ab9d0346962 SHA512 e63eb26f7498794578ebe9bd599b8c50b6c765cc87903dcee729d8a169d5768d5bffe56535afdde139db0db887882b306fdc45e54cbef322e4607cf6318fa1d5 -DIST boto3-1.28.43.gh.tar.gz 698144 BLAKE2B ff0565b2fa023cb00adc6eab8b151fc2cca2f75cfec35845cb317a6e7aceede5c9b4c69f0e7e62daaefb1d7797d7a396154bfecb37c0d1c8baac81a5d8a7e352 SHA512 bdcb483f080c7fb3019c32347834e6096a1fb5f8ccad3cd9a50dc4fd1fcc66cc0810ad70d7a831a22e2e3a416f01415bbf80cf1d48b0c2c11714089e184d6c09 -DIST boto3-1.28.44.gh.tar.gz 698689 BLAKE2B 9c23bd7aa680f59ad686ad5ec46dd751d22b5d9769597b34c3210d2da732c0751a168f6f90488909e76820bb99c222861f68dc0e9998604094a02a30da213ddc SHA512 2c027372afbcbcdc60a77933a92b5e48757f2b19deb7b5fbaf8ff7eb7dfe24af1919ac4b8c5e619233ffe88f22e51d927ff648e43a9ccf76863959bbe07b5f31 -DIST boto3-1.28.45.gh.tar.gz 699111 BLAKE2B 6873e83e58d4a778b5296c7def5ed5060f5d1d18c1b123e1662be8688a683aac8fe8f10821a59ac0cfb6192e925c15fe8aafc46b6bd1ddc261142024427d9b7a SHA512 8d8f6b9735995ee3ff5f47ddd79d19ec490da116454f7adbf65a22dd592b82727e7528236d4bca577ebe7857a2f9e14ac34357988fb958696b81e54162d8b081 -DIST boto3-1.28.46.gh.tar.gz 699277 BLAKE2B 7bc3a739cbb40b56c7b993132571add6d77f6a1941b00a1ae35cfa62a836a7b21dfe572d6ccccaf674b20abfe4895d53d3247c4fa52410fed276ace282a05fd1 SHA512 8a6a1b8325da12e75563cd8fc7973f79d1c2a2e418c8a5401064525381f06800c8a4e282253af3330e301a56fa74290743ea5f0a516bb4f017d8f23c9ed7e43c -DIST boto3-1.28.47.gh.tar.gz 699978 BLAKE2B 056a6c4ac0d94dd147cf1a0e438f9947b2a0bf9f608b5317fe71f58192003cd6de819acc090067cc86124be6ead967bf8cc15ac9061008a15e57cb4259145bb8 SHA512 e0ad5c30677a6c04206a1845ac1cb19a91789885de7ca2cfbac70743e54f8d3254471672c560dc0b97f3d46b6366455521cb78d1c300428ff01f2fdfa1da7ff6 -DIST boto3-1.28.48.gh.tar.gz 700213 BLAKE2B 3ddb02067fee032d3d5e493849936b854130def109f46806fe826845da1daa681920448d96658910ec3064d576de1fe6055d514345cbe88d548278c16c2a28a9 SHA512 b561b0631af566a82495d97ba9c4dc58183361868042b70c353004c58c3cfc38c3496eb5a4d387e5272b76f479a7f101676fc3a9b6306d203e5122bde0091e98 DIST boto3-1.28.49.gh.tar.gz 700443 BLAKE2B 7c76e0ee6d6de1f7a67534a49e54092a564d419f9fc18b25375d2416af07987039bf864e0c2a996d5b64c3f9207dcd50da6ee5b0e2bf606e453d7841ddd6f7d4 SHA512 597debebb60c33bdf2bcc485bbf9ab7c433a5750b71708ffcd2847b6b21199c1c598edeb35e236f6b7feca3f762b5d62f9637e00876b7c0629baae50e7f132c9 -DIST boto3-1.28.50.gh.tar.gz 700837 BLAKE2B 57dd760ef175b16a9aebfa86d39a6529809f22101a1cab3334f239d23ef6f865fa573dcf38e5aab66aee5ea3c448c91c21bff78835a3d07de8508397c5e809fa SHA512 8b31a6012b398c067b927ac4c428fa61f881a88afb865d88a407d9c06fc69a402778198afa7f39ee158f61e952956f18f6f32edbf076098eda5431e92c06f5cc -DIST boto3-1.28.51.gh.tar.gz 701097 BLAKE2B a9e4fd188bae4a6969d68bc089c350326fc50832442d4962e8168c56bb466c4583f3be9db18828c4e55a15859f8a1f864d2f1f1db4819141edc193dbcb28eb6e SHA512 e982b7c9a2fdcc562b866313c95ac558e42735addf512b9ec21793811c1bec1f8647cea41fb61fe06ed12c7b9390da3a5e281128857d150b5693046d277faf11 -DIST boto3-1.28.52.gh.tar.gz 701947 BLAKE2B 49a7585e53601bd57a63ec11ececa2bbda79975bbf4b40afe956799de4a8f795c049b3a98d211817ccb25c6cb23689e2a6028d341e3d047b7df7bff10e4ea482 SHA512 da32914e1bda4b624ffd6a0b4ca4d1bfee4d10d38b09bc4c5035a28bd948d4dffc2ef529e667e768b260988ab32a477d1b3668cf4a67ac33fb52bd4816779395 DIST boto3-1.28.53.gh.tar.gz 702652 BLAKE2B 6a64fa2c018000a6b89f47a49eaf0270a2f694f02720c0e0527b5ce671bf3ad195f40fa592829bbe9a3b30ede56fd335a81bb30f862bfc6992883dd86d6b9a75 SHA512 750d4905625b207d05842950349eeadaef9bbb413adfc8096998292edeec8985c5488c565f3b5b6f5a00354e69f3071ad1491428b1f894be2b40b23db767be36 +DIST boto3-1.28.54.gh.tar.gz 703165 BLAKE2B f18666ece9f7b722915fb082c6e45280dedac4dc10e89d453c895515af623ea9658195e3e65bb17a9cfcd637a711e5f323c0d8dbd5fe00c16b7c560ef303a8e1 SHA512 e6d5a06aff033badf5fd3cc37a7324731fc15aeea7d5257223e46473958dfcbda96b67279e2c22354f705b5538a100c852a0561af2cb429a321245dc5d814e99 diff --git a/dev-python/boto3/boto3-1.28.30.ebuild b/dev-python/boto3/boto3-1.28.30.ebuild deleted file mode 100644 index 8fbe7925a643..000000000000 --- a/dev-python/boto3/boto3-1.28.30.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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() { - epytest tests/{functional,unit} -n "$(makeopts_jobs)" -} diff --git a/dev-python/boto3/boto3-1.28.35.ebuild b/dev-python/boto3/boto3-1.28.35.ebuild deleted file mode 100644 index 900d8f22baf9..000000000000 --- a/dev-python/boto3/boto3-1.28.35.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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() { - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.38.ebuild b/dev-python/boto3/boto3-1.28.38.ebuild deleted file mode 100644 index 900d8f22baf9..000000000000 --- a/dev-python/boto3/boto3-1.28.38.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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() { - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.39.ebuild b/dev-python/boto3/boto3-1.28.39.ebuild deleted file mode 100644 index 900d8f22baf9..000000000000 --- a/dev-python/boto3/boto3-1.28.39.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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() { - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.40.ebuild b/dev-python/boto3/boto3-1.28.40.ebuild deleted file mode 100644 index 900d8f22baf9..000000000000 --- a/dev-python/boto3/boto3-1.28.40.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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() { - epytest tests/{functional,unit} -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.42.ebuild b/dev-python/boto3/boto3-1.28.42.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.42.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.43.ebuild b/dev-python/boto3/boto3-1.28.43.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.43.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.44.ebuild b/dev-python/boto3/boto3-1.28.44.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.44.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.45.ebuild b/dev-python/boto3/boto3-1.28.45.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.45.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.46.ebuild b/dev-python/boto3/boto3-1.28.46.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.46.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.47.ebuild b/dev-python/boto3/boto3-1.28.47.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.47.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.48.ebuild b/dev-python/boto3/boto3-1.28.48.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.48.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.50.ebuild b/dev-python/boto3/boto3-1.28.50.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.50.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.51.ebuild b/dev-python/boto3/boto3-1.28.51.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.51.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.52.ebuild b/dev-python/boto3/boto3-1.28.52.ebuild deleted file mode 100644 index e654679ffe12..000000000000 --- a/dev-python/boto3/boto3-1.28.52.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="The AWS SDK for Python" -HOMEPAGE=" - https://github.com/boto/boto3/ - https://pypi.org/project/boto3/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/boto3" - inherit git-r3 - BOTOCORE_PV=${PV} -else - SRC_URI=" - https://github.com/boto/boto3/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" - - # botocore is x.(y+3).z - BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" -fi - -RDEPEND=" - >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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} \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/boto3/boto3-1.28.41.ebuild b/dev-python/boto3/boto3-1.28.54.ebuild index e654679ffe12..e654679ffe12 100644 --- a/dev-python/boto3/boto3-1.28.41.ebuild +++ b/dev-python/boto3/boto3-1.28.54.ebuild diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 0f4aeb3ec4b2..84ed2c8ce456 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,18 +1,3 @@ -DIST botocore-1.31.30.gh.tar.gz 11873788 BLAKE2B 0e0f7500c838c1dc1978956a1b191b30f217ff55ae17a3f601956362b0be2058bf895477db486f532dbb334d925da2ebe7c24c5a8e08585e2c817bb2539b4f3c SHA512 310d5c23ad1ca38550032b9810106fefd5f6431b717c8296bf6e7d208d5c7d1a6b4a97684f2386f4dac27463e1005e08fd67b0e6be07a5c625fa3c8c3a383378 -DIST botocore-1.31.35.gh.tar.gz 11877715 BLAKE2B 64c90cb764ab47fdf9f644b4819c9fc1486c07ea2b72b8f2b35fc8adbead5efa7fb43140a2008ca21b63e0981017b366588c6f77e8cb5f5e4acef359f0b0e959 SHA512 63f044f7ac2419d2682a838a35a17d9a1a6a56fa7321e181e959923dbeaf41b5396c96a02eaace7421775c25e4ab63822a5fd57e02d618d4644ecbece72286c2 -DIST botocore-1.31.38.gh.tar.gz 11926426 BLAKE2B 1f668a23e52f3033f3b12e6dfeb086d21eb6fd3e163ab12e5c07ccbf4a4a11df9504bac99d6b68a3001f7f1c5849a4d5340ddf5b838b349fc3aed580f6733a03 SHA512 800301dfca0a284d53e252bfbeff9e705120e087c45167bfee8ad343e7873a1eb69d2be725ef8a81bbd7c31fa2016908bfb3729d560d44b36f2ca160aac4663e -DIST botocore-1.31.39.gh.tar.gz 11927900 BLAKE2B 28b1fe5beea5b586b3bf6434ad3ab32b8f781ae79ddc39a142a53f5e87d136bcad4e1d1baaeee2afc4b09c3e4b02f583817d6471d09dd145b881fafdf71c73e1 SHA512 2dc271ace551ff4c9a25d6ed4c3a31dbdd90cb0f1c4088e1c71b220e20f4b7008fd41b2682c838c5e3fe911c35758a99502fe874c45c51092a83150a14d25edc -DIST botocore-1.31.40.gh.tar.gz 11933400 BLAKE2B c01958831fd477db79c7b723f799abfb2f02c85bf1ea67adc6ecb2bfba13b0f945e30e11a5d3103a3bd54f913c9386327127c5eaba792b6a42e8a4bfcc21d4f4 SHA512 7bbbb9bf9821bf6d24425de4694d1d0c871350b3fbb59488ff543c1569b41e669abfdc815840e1c912c3ade20e78a7fa8600f0d88ad220cee5bfc31b3138ed66 -DIST botocore-1.31.41.gh.tar.gz 11935773 BLAKE2B 6bf4c1f7c3b3d9115c53f5cc833688097d0282eaacc868156fc9d29721e9d9cbf75e31d34ebba5c65b543be7bdccd6848de7cac5f8fb43d1fac63896b6e3f39e SHA512 add75b55a3c6941cd96100ca9ce846f616d638ce18bad658776acfc8b9ab9526da48069393a2ea54d24e93a25141ef2496837b04395956f82319f9a3d8fe5ad4 -DIST botocore-1.31.42.gh.tar.gz 11936544 BLAKE2B a1da9ec08885f84c458f621420560429fa4705bef5790c2ca7c39758c7caa407fb9ec415414c8c5e604f06cc52dc085f0061e4f926dad87c8cb25631ec9d64de SHA512 767903bce078f61780beeff0c1fa47f753c8eb4a0beacc78934a7d16dac27944f3ef20c4f9533b296bbb1edaefb1c5e244ccc3fb908d57273b733a062892d25f -DIST botocore-1.31.43.gh.tar.gz 11936649 BLAKE2B ad663783c71255afac612f96f06b2a64f73bd41f32c02386d613d2c6b9f492943c7194f4e58aa62ece2df748d3812728ebdb0636acb3beb53278448829bad50c SHA512 71a718000c46102bcac50f34b1a477c5f788a2feea74629e4db8ad0b482711dbe8f5799424a304ff04d3bbff4acc68407a960008a1c9fe376972ca05b0c01ac0 -DIST botocore-1.31.44.gh.tar.gz 11937780 BLAKE2B 38660a6025cef328a4df7e3f0170a79d86f3febd68056993a0aeb8b30a2729abaa914cd6def8c38c3b61a905eb4736cb6232daa4f2e6d7e7140a3a1e23193206 SHA512 29fa176a6b753fc9005f79a19eed4f1a065e1e34d71cc462647c2260b45cc3c10ee720b06a5c8d4471f6d4e6a7b24ee2ae2d70d7973792c64985edb1e0578d99 -DIST botocore-1.31.45.gh.tar.gz 11938951 BLAKE2B 842d76cfea05de7515d6dfe8c977c8981924e400ebf518d5ed139c2c12b517b7136811a50e4bf768fb45d2d18e782e82d9482566d9e90a06cf0e76485fa931a3 SHA512 8ad8de83dbe5aa1b90da0627b25022e80df9b4d759050c5baf72b1cc8f29a8df260017e943c7f4b9b9b5b4b112c4acb15a8998531a48777de926dee54af82424 -DIST botocore-1.31.46.gh.tar.gz 11938173 BLAKE2B 99c9b49b8403d005f0153f1bf89f6da8708b9c39c7ac4d8b00bae181ae1663cda95470ff804e38b582f4a07047a21167475aa75247b4003e8bbca887dadde944 SHA512 51a7d1df2c7c2e7098dbca05e602af0975988fe8ee4c608235608b27a338e016b16b1cf6605a74ebe52e77b335333d06a3c9b4338c2843dca19dec1c64c1407e -DIST botocore-1.31.47.gh.tar.gz 11942023 BLAKE2B 94bdc5b5ca5e5749d40996c7396f1bd4236eeeefeee98b3fef6b452cb0d4c5886b0028f165175a70d7794328113f13ab7449c71b8c375a995f0d1d4b629c807a SHA512 788af17274fca19028eaa61ebc72f17cb40b95d1b354ee88fe063ece5eeff3b3f6f3aacea462c4dd065bcd8f3ddd577d6180c8d3f5d0c8c589dd8d31d60aba94 -DIST botocore-1.31.48.gh.tar.gz 11946450 BLAKE2B 5393125dcc346182ea81ebebeb181cc7aad8e64e4ca5d93e23e9fe98d12dd2d175b8ff659864574d6dea15e5248dbbaf7a247f8261e74a9cea48a73e3e6b87f4 SHA512 51e13e1bd2962e4ed1c2dff97e9ead583e78bc3cb43cecc92b79299b3da9f449d244d0218e94506ae2c59ba4be49db21c03af6f6fc1451340f4d7fb2d6c082f3 DIST botocore-1.31.49.gh.tar.gz 11946203 BLAKE2B 3b3026f0861705cc3467391c673d2e2f8e63af1a2e52b63cad21e5f75bf31f5970a2a5f5a959dc8dcd1be6c3ad67ed10642c79a7d41a24e15e983096818e8197 SHA512 8e1cb12ff7455bbf62c5cf54c2bc1b8f48484ebc6e95b4e061d5bc6388a4ecd3ff4152a1d9aab5cbee84d872d59417cfb1cecb6fd281f1f8dd9e3e7e04cc782d -DIST botocore-1.31.50.gh.tar.gz 11946516 BLAKE2B 84f9eadc8c2867286d098e9f429c097bcd58b02898779ff3b4ee390af91c3949675b43ea954e2c393b897f97941326fbf0a9d477df015f2406e00f77629e79ed SHA512 53157bb104f10e711b409a31ede6ccce6be7ae013474ca42248db0afd7dcaae0f9f5ec0637a9c337c2691de79a0df743fc3bde69c16ef746b6274d4bd252bbff -DIST botocore-1.31.51.gh.tar.gz 11946778 BLAKE2B 59dddb63a9d6d4944498d34af28bc6325a4867986fd7240bc4c1937572574eccc8563ddcb768f2053c85b4d9b6fc73e670f453b588519dae4a526b0ee54db17c SHA512 a7ba6922fc1cb14da7611a316a6ad7c846b4521829b55b6896365f0f2a6563bf3bcf456699d9d94febc4917ce9d23105542190eff6c97dc7a1d027d95057c655 -DIST botocore-1.31.52.gh.tar.gz 11951798 BLAKE2B cdb703fac2244c64ebaaf2b869a48121c6145f54ab9804d172b3ea03f2cffc23b5db72ea0728a0c27c8116d939a5f8413124c2c4026e68c27427f0c214b15ea1 SHA512 775616106aa1013f884c7513b2b445c9e138c21a30e9b7f3b5a17a364d8d7abee4248ef0962e8617641de4e7e0f924c61bbb98c6498ef2096aae2d0cdaff0996 DIST botocore-1.31.53.gh.tar.gz 11950545 BLAKE2B 2fef49b98179046203470c6dc145b13a1ff4ddec4eb3ac0bc8f9668b4d7ef9dfdee096f91abb8ede1e1abfffe55f72c9c38c63587b79082a2de7de84e4c9f273 SHA512 2c4d9761ee3cc8b73e60de3388475c64cbd562efd8265a098ba49731751d2c501167d84b010984a0dd738bb1e71a85db6f86aea68c86e9db5ed8613304570529 +DIST botocore-1.31.54.gh.tar.gz 11879790 BLAKE2B 8feaab92edaada974af275c81a41d6b36d6444ee1d46718b6c765aacad0450a52bf47fbcccd923f2c442400bea6cc1fb0f2fb8f6a73e3835fd16da38dc609ec4 SHA512 3dfa2212edbc9ed4bc435ec1d4f7aa8b9b9c656cd76feab6c898f57303897ee018120a069bc477fb8700111908ecaf6465229d67e6b6c5c777369b224d00c01d diff --git a/dev-python/botocore/botocore-1.31.30.ebuild b/dev-python/botocore/botocore-1.31.30.ebuild deleted file mode 100644 index 748818f25695..000000000000 --- a/dev-python/botocore/botocore-1.31.30.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 - # fails on unrelated warnings - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME - # TODO - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider - ) - - epytest tests/{functional,unit} -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.35.ebuild b/dev-python/botocore/botocore-1.31.35.ebuild deleted file mode 100644 index cfff2c3537d6..000000000000 --- a/dev-python/botocore/botocore-1.31.35.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 - # fails on unrelated warnings - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME - # TODO - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider - ) - - epytest tests/{functional,unit} -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.38.ebuild b/dev-python/botocore/botocore-1.31.38.ebuild deleted file mode 100644 index cfff2c3537d6..000000000000 --- a/dev-python/botocore/botocore-1.31.38.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 - # fails on unrelated warnings - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME - # TODO - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider - ) - - epytest tests/{functional,unit} -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.39.ebuild b/dev-python/botocore/botocore-1.31.39.ebuild deleted file mode 100644 index cfff2c3537d6..000000000000 --- a/dev-python/botocore/botocore-1.31.39.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 - # fails on unrelated warnings - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME - # TODO - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider - ) - - epytest tests/{functional,unit} -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.40.ebuild b/dev-python/botocore/botocore-1.31.40.ebuild deleted file mode 100644 index cfff2c3537d6..000000000000 --- a/dev-python/botocore/botocore-1.31.40.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 - # fails on unrelated warnings - tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME - tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME - # TODO - tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider - ) - - epytest tests/{functional,unit} -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.42.ebuild b/dev-python/botocore/botocore-1.31.42.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.42.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.43.ebuild b/dev-python/botocore/botocore-1.31.43.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.43.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.44.ebuild b/dev-python/botocore/botocore-1.31.44.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.44.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.45.ebuild b/dev-python/botocore/botocore-1.31.45.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.45.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.46.ebuild b/dev-python/botocore/botocore-1.31.46.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.46.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.47.ebuild b/dev-python/botocore/botocore-1.31.47.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.47.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.48.ebuild b/dev-python/botocore/botocore-1.31.48.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.48.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.50.ebuild b/dev-python/botocore/botocore-1.31.50.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.50.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.51.ebuild b/dev-python/botocore/botocore-1.31.51.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.51.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.52.ebuild b/dev-python/botocore/botocore-1.31.52.ebuild deleted file mode 100644 index 10b7950a4ee2..000000000000 --- a/dev-python/botocore/botocore-1.31.52.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Low-level, data-driven core of boto 3" -HOMEPAGE=" - https://github.com/boto/botocore/ - https://pypi.org/project/botocore/ -" -LICENSE="Apache-2.0" -SLOT="0" - -if [[ "${PV}" == "9999" ]]; then - EGIT_REPO_URI="https://github.com/boto/botocore" - inherit git-r3 -else - SRC_URI=" - https://github.com/boto/botocore/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" -fi - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - <dev-python/jmespath-2[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests/{functional,unit} -p xdist -n "$(makeopts_jobs)" -} diff --git a/dev-python/botocore/botocore-1.31.41.ebuild b/dev-python/botocore/botocore-1.31.54.ebuild index 10b7950a4ee2..10b7950a4ee2 100644 --- a/dev-python/botocore/botocore-1.31.41.ebuild +++ b/dev-python/botocore/botocore-1.31.54.ebuild diff --git a/dev-python/chameleon/Manifest b/dev-python/chameleon/Manifest index 6b6f7cc22f41..5d678f37f684 100644 --- a/dev-python/chameleon/Manifest +++ b/dev-python/chameleon/Manifest @@ -1,2 +1,3 @@ DIST Chameleon-4.0.1.tar.gz 173650 BLAKE2B f5457ad7749ec98a0d80fd54b5b867d47f74bbf672abc1b4ad0e8c1bed5eaac93ea135801565a1a3fc72a8b930e67fa23d81c32bf866516bf9a16d1ef3b76ad7 SHA512 1cad12e13e5b90150c0d801951398fb68c2c05b9c7264697629fb21b0bb16325bfbf23f911c320c1464e78d6d275a565f0555474ac6d8e36b706b0eb7248d731 DIST Chameleon-4.1.0.tar.gz 174877 BLAKE2B 00f0d6964f01ec375a18954a8f8f1f5f11da3a4af75b3d575a81d0458b25f98b1e8a399203147da90e60fad85d2a9df8da4123a86f0fda0e63a1c106a720bfc0 SHA512 7dc83ebf838ce9cc38093a08750145135e768352f74afd57f16e6f1c5dc5d24b482e56d40d088a204d72d8689aa978196fa2dd6e4cf89c872597286d85dc7594 +DIST Chameleon-4.2.0.tar.gz 176515 BLAKE2B 6be07b88e962ca155d390e9f4d5070ca4116993568840c50fd94b0569721983084065bdc2dbebf4d573ff511f41456fc54d40442a505ea891be6eee947b9b690 SHA512 bedbf6bad35370ccb449151098d04e6f8fee917128bcd18a6694ae7df57c15e005c34696c50da43ede2b42d593a2772c55691978982d8a2d83380df29ff7406b diff --git a/dev-python/bitstring/bitstring-4.0.2.ebuild b/dev-python/chameleon/chameleon-4.2.0.ebuild index 7707fae3b722..4c6c46c03f2c 100644 --- a/dev-python/bitstring/bitstring-4.0.2.ebuild +++ b/dev-python/chameleon/chameleon-4.2.0.ebuild @@ -4,23 +4,25 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) inherit distutils-r1 pypi -DESCRIPTION="A pure Python module for creation and analysis of binary data" +DESCRIPTION="Fast HTML/XML template compiler for Python" HOMEPAGE=" - https://github.com/scott-griffiths/bitstring/ - https://pypi.org/project/bitstring/ + https://github.com/malthe/chameleon/ + https://pypi.org/project/Chameleon/ " -LICENSE="MIT" +LICENSE="repoze" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="~amd64 ~x86" distutils_enable_tests unittest src_test() { - cd tests || die + cd src || die distutils-r1_src_test } diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 5e4409ff769c..908f8400d4ca 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -9,3 +9,4 @@ DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/clang-python/clang-python-18.0.0_pre20230925.ebuild b/dev-python/clang-python/clang-python-18.0.0_pre20230925.ebuild new file mode 100644 index 000000000000..85658fd637a4 --- /dev/null +++ b/dev-python/clang-python/clang-python-18.0.0_pre20230925.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/comm/Manifest b/dev-python/comm/Manifest index 4d585704945d..3cb011a665e0 100644 --- a/dev-python/comm/Manifest +++ b/dev-python/comm/Manifest @@ -1,2 +1 @@ -DIST comm-0.1.3.gh.tar.gz 7345 BLAKE2B 2cbe791d226316800a37886d8c68b05ac9d9860bc92e1d95f8b428038a090d9867abfa0860262a9daba3ccd4fd607743df4f8d7fb2c13bf63456d17aa5f69092 SHA512 05696e8b58245ecb02ef0b4e23e904bae8288a6dad6530a9e15587bb0922a8d57f32803a5a34eb8f79eb620f679bb77350842bc441c0ab665a7ca9f7196106c4 DIST comm-0.1.4.gh.tar.gz 7504 BLAKE2B e020809077f5366737453fc8e56dc5b7751effc99f4766fddf1eecfa9a560aad7f17b56987ba072c5412a77761b3b978cfab34cbf62bd29e58160075e20d203d SHA512 5a3993b17d249a8c1be20ed8647ac0621517d500b4b933c78c05386d23d6d660175679a779a3a20818703f5c962c9a351916715a4f244b989ff2f6568382146a diff --git a/dev-python/comm/comm-0.1.3.ebuild b/dev-python/comm/comm-0.1.3.ebuild deleted file mode 100644 index 998788f21713..000000000000 --- a/dev-python/comm/comm-0.1.3.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=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Jupyter Python Comm implementation, for usage in ipykernel, xeus-python" -HOMEPAGE=" - https://github.com/ipython/comm/ - https://pypi.org/project/comm/ -" -# no tests in sdist, as of 0.1.3 -SRC_URI=" - https://github.com/ipython/comm/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest index 12f0f85203f7..5d9adb98cf66 100644 --- a/dev-python/dask/Manifest +++ b/dev-python/dask/Manifest @@ -1,5 +1,2 @@ -DIST dask-2023.8.0.gh.tar.gz 8539262 BLAKE2B 3ce61191bca458e32ac88904460f8ee843f34ddc9be88d0de7f56a90897dd599d70012f92b5063b5df996bc61c85c16b2d6b745e1a334847d8b66f66721bc422 SHA512 9afee3571e58b0f923347e2ec06c80ab5e4f35abb23e0635777170def0561cf1df6c940844cad1efe112059909020cf6435147b9003c4a449eba98d38d9eefab -DIST dask-2023.8.1.gh.tar.gz 8541743 BLAKE2B 485a88354d3aa54ff1f6afb1bd4a8b3317a6a48b519bef4dadf1bcbb240f21e54eb165f2c076ea8aa9b5753fd8714af26453858d7fe154bb015489f89b8114be SHA512 4ca231236e5d868f8fbb69b38721e495a44fbc982a53ea087ef68085c4df2cc99526b5a66b7fee93a3b63a6cd621f8448b877b98370b3dfe1a32e386dd91e73e -DIST dask-2023.9.0.gh.tar.gz 8541973 BLAKE2B 06e04377f8f7d0e6a6487c1c2aa52e61a8ab73a04455e9a6d7da238bd747d7ac6cf1526f645f0c874f2588f28708139f8fb1fa0271e6166442be6a15ce68b9f1 SHA512 eadc3a9cd5d8d960d8006db2641e5513a093b4818c1cd4de058d70f088ef1cfd74413abcf0bbba757d9188de4b3c103a3fdfe4ce76f14554b589540011c53835 DIST dask-2023.9.1.gh.tar.gz 8544717 BLAKE2B 786ca3bda6b356acdeb56070964aa25e136f9976322ae5dbaf5895eb181fc1b7582ae4731de12e7881287433d4f502dbbc5002840ebc443403a9fa76df438693 SHA512 1bf0a028059dfba70a131648f4884a6c9a091cd2d550dc7968cb2a8728ce5ef405c351f100001ab2ce48470634577104924fdf4b6dadda32308b4b5a62b3200e DIST dask-2023.9.2.gh.tar.gz 8544631 BLAKE2B bd0168d1ea86921235e7bd9ae3e6b9dc2abed3c3e300afea84fb3f2d462970ca5fa4d82f5479bc2c036d4f1a1ec9f63ff98151d8f339db2b14533be765b0f25f SHA512 ae7d289882d7e2e2ef46af3256cf69d8e443f5350f32088e33b46f37377fe8c8328de609d16d0a2abf4df5bc7671d88288968d3d18a535eaec1bfbf0a5adbcba diff --git a/dev-python/dask/dask-2023.8.0.ebuild b/dev-python/dask/dask-2023.8.0.ebuild deleted file mode 100644 index d06982f8a347..000000000000 --- a/dev-python/dask/dask-2023.8.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/click-8.0[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - epytest -p no:flaky -m "not network" -} diff --git a/dev-python/dask/dask-2023.8.1.ebuild b/dev-python/dask/dask-2023.8.1.ebuild deleted file mode 100644 index b2012b98ed2a..000000000000 --- a/dev-python/dask/dask-2023.8.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/click-8.0[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - epytest -p no:flaky -m "not network" -} diff --git a/dev-python/dask/dask-2023.9.0.ebuild b/dev-python/dask/dask-2023.9.0.ebuild deleted file mode 100644 index b2012b98ed2a..000000000000 --- a/dev-python/dask/dask-2023.9.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/click-8.0[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - epytest -p no:flaky -m "not network" -} diff --git a/dev-python/dask/dask-2023.9.1.ebuild b/dev-python/dask/dask-2023.9.1.ebuild index e115a3b90562..31372d9e6526 100644 --- a/dev-python/dask/dask-2023.9.1.ebuild +++ b/dev-python/dask/dask-2023.9.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/click-8.0[${PYTHON_USEDEP}] diff --git a/dev-python/elastic-transport/Manifest b/dev-python/elastic-transport/Manifest index e073f70eadc6..2075f7be01fb 100644 --- a/dev-python/elastic-transport/Manifest +++ b/dev-python/elastic-transport/Manifest @@ -1 +1,2 @@ DIST elastic-transport-8.4.0.gh.tar.gz 70975 BLAKE2B cec717606a55906da9157a0aaa3c656041201c2b62c77d42a67aabaad387c2e9f139dd1bd39e31b15f51fa2ac1b605d9f98b540000ee03d8aecf118cf972048a SHA512 82d0e0af3992335ce17bdc2a74f80fbf98bc9873d798be65f30d59fa55cb3bf50b55821133ea01d2ced9c27bf4019bac19e76e6853c29b87762ae0a9b593c3f5 +DIST elastic-transport-python-8.4.1.gh.tar.gz 71404 BLAKE2B 9d923362a6880685c6280aa9308089157c82ee570c2b608f2ed1398fec1e7946bad159a9bc74c1369a5042a30885948748014b0f5ee2362da83780b1a42d7f22 SHA512 50a3d60c00307659f51468e648a0c2cc7aa9be0b84df8fb2bbfea8c9f2d31fe568cbd9d4040c1aa174acc5d9902f45631a8a55e7950a7cf05fa26e0eef8bbd0e diff --git a/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild b/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild new file mode 100644 index 000000000000..d5dc6b16d55f --- /dev/null +++ b/dev-python/elastic-transport/elastic-transport-8.4.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +MY_P=elastic-transport-python-${PV} +DESCRIPTION="Transport classes and utilities shared among Python Elastic client libraries" +HOMEPAGE=" + https://github.com/elastic/elastic-transport-python/ + https://pypi.org/project/elastic-transport/ +" +SRC_URI=" + https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/furo \ + dev-python/sphinx-autodoc-typehints +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # fragile to random warnings + tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off + tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain + ) + + epytest -o addopts= +} diff --git a/dev-python/ensurepip-wheel/Manifest b/dev-python/ensurepip-wheel/Manifest index 36ad10c9cf9e..e3f1d2727046 100644 --- a/dev-python/ensurepip-wheel/Manifest +++ b/dev-python/ensurepip-wheel/Manifest @@ -1,2 +1 @@ -DIST wheel-0.41.1-py3-none-any.whl 64755 BLAKE2B 66741b95010f3463793b893b63663eda3f31b5f6e55c3677c9d46f374cdc98b15c45f2ac39551aaee9f9cb2e38f108811f27c394d67b240e4ca80048c290c13b SHA512 db12f20343044676a1e7b5920b7b72e0369a1c29fc5426686b7dac7f2cfffb36b01407b52cbf974c06ddaa540227167b9f69e7cdc6af3aad9eb56c4ad0fec267 DIST wheel-0.41.2-py3-none-any.whl 64848 BLAKE2B 761efd3a97a9bbfbbd7683f12638aa5b0ed83679f3313cb8dce2632d2d2ba33fb9f0801a57e21077e8a232464aa929338983d334d57b4ccdf5f2c78a26202ca5 SHA512 9ecad670c61e4e2e598058cbd405e29401068a93d758c63481df72cff5e0a9f22b3c5ee1ae705140cffa1ea98149a6a8a9b3c80a356b520ea10bee586e615473 diff --git a/dev-python/ensurepip-wheel/ensurepip-wheel-0.41.1.ebuild b/dev-python/ensurepip-wheel/ensurepip-wheel-0.41.1.ebuild deleted file mode 100644 index 943741be4ad4..000000000000 --- a/dev-python/ensurepip-wheel/ensurepip-wheel-0.41.1.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pypi - -DESCRIPTION="Shared wheel wheel for use in pip tests" -HOMEPAGE="https://pypi.org/project/wheel/" -SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" -S=${DISTDIR} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -src_install() { - insinto /usr/lib/python/ensurepip - doins "${A}" -} diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index bf7a92708593..d0a1ba7987a1 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,2 +1,3 @@ DIST fakeredis-2.18.0.tar.gz 111601 BLAKE2B 56a7d2e113fa0d2d98f95b4e8d5b7462a311e2e505a19cd5d3067650a0b950ad272b86aae42b748e5854c7f24287fac03f8c61865c05612697324e9f328dfbe9 SHA512 2d67866bbac8f8a12a6414cfae0a8ba925b769c0cb420bfe74ca233de40792f369678752a0d71ce4c0c145f03944fb071ecb234ee40f3f52005587db1929134e DIST fakeredis-2.18.1.tar.gz 113919 BLAKE2B da6fa335a755c5f9675fc89ecf714af37c3e56c93332d6a8003130c435fe1b5abfa426851f293ada1109f1aec439c2daa70d0bec8681077d28ffae62c34cb29f SHA512 78ad0e7b25519de60ad11a24c6fcd2ffc938014ec9c040cbea9d2155f3670fe18c65cf3387bc21b856e7caba1df5ef1e79a6ef77ab7201c1eb68949f775002c8 +DIST fakeredis-2.19.0.tar.gz 117030 BLAKE2B 05976b1011bb3933b275755498cf7b893afc93cbbb0bfcce67d01692f1ebc4bee1b6cddd406eaca4d46f595cde2805f43e767aef1ca491ccfc4afcf7b983b444 SHA512 1800933b86369c7b857e7609e2a6af8d469c713a23bfd792fc8df2695e8aabcb2cd1fa6138f7eb908fbecc9c6e2c242f7da47864067498c5e180956b578985aa diff --git a/dev-python/fakeredis/fakeredis-2.19.0.ebuild b/dev-python/fakeredis/fakeredis-2.19.0.ebuild new file mode 100644 index 000000000000..0327527cf6ba --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.19.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/redis-4.2[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # also lupa + test/test_aioredis2.py::test_failed_script_error + # TODO + "test/test_fakeredis.py::test_set_get_nx[StrictRedis]" + "test/test_fakeredis.py::test_lpop_count[StrictRedis]" + "test/test_fakeredis.py::test_rpop_count[StrictRedis]" + "test/test_fakeredis.py::test_zadd_minus_zero[StrictRedis]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + # new redis-server? + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis.py + ) + local args=( + # tests requiring lupa (lua support) + -k 'not test_eval and not test_lua and not test_script' + ) + epytest "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/fonttools/fonttools-4.42.1.ebuild b/dev-python/fonttools/fonttools-4.42.1.ebuild index a716da2b6fdd..76e3ecfb1f59 100644 --- a/dev-python/fonttools/fonttools-4.42.1.ebuild +++ b/dev-python/fonttools/fonttools-4.42.1.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 9f3943c136f3..98b670ad16f1 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST python-api-core-2.11.1.gh.tar.gz 187982 BLAKE2B 095b96b50f0723543acf32e4db092a8b24eccf68088229668f7f36aa0d29f66905ea8c43d7ca4a4ee4179664b6bb63c45e4619d621a99f8c2a81a4b3dd61c25e SHA512 a2ca8a2a136fd29999662201af462b45da07c0e4d124649bba12d0564c595ebf02bd398354394d7eb4116c875b2c72b29280ee5a770a6773254accc979eacbbe +DIST python-api-core-2.12.0.gh.tar.gz 189439 BLAKE2B e2186ea64a36f6c59f5771efc20b050aeb6c17a346c005f64658ac0840a7c11f46a375ae796ea3e084ae711a07776b4bb4683e0bab7f10ade0ac132c4e73d22b SHA512 aae4dbe6a935626224280e180f07937595b3dc0a2649b70415fb5ad6df73af26bcb486c7bfc4c01a9ae4b1513b7df2e127aa4cbbf370366ba00dc7b58b884e83 diff --git a/dev-python/google-api-core/google-api-core-2.12.0.ebuild b/dev-python/google-api-core/google-api-core-2.12.0.ebuild new file mode 100644 index 000000000000..a62ce8a0b98f --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.12.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +MY_P=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + !dev-python/namespace-google +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/proto-plus[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # failing due to missing grpcio-status + tests/asyncio/test_grpc_helpers_async.py::test_wrap_unary_errors + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_raised + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_read + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_aiter + tests/asyncio/test_grpc_helpers_async.py::test_wrap_stream_errors_write + tests/unit/test_grpc_helpers.py::test_wrap_unary_errors + tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_invocation + tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_iterator_initialization + tests/unit/test_grpc_helpers.py::test_wrap_stream_errors_during_iteration +) + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +src_test() { + rm -r google || die + distutils-r1_src_test +} + +python_test() { + distutils_write_namespace google + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 619e1e999ad3..2abdfbf4437b 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,4 +1,5 @@ DIST google-api-python-client-2.100.0.tar.gz 11735626 BLAKE2B dcdf8d5b3394a8c838711c351b8d40c0444bb503faf7aff75f4f46b64604581295ff32560ad5b5becd18f106d4d70c2dbc1224c495f1dd9760461eaf52aa0c33 SHA512 d9766f2b914f080e2e270c5be1bc2e5a331300bb108aef3ccc403e2e48c67a12bff3c5a843553a361c381f6eba73acb54783e0af15539a1630a66cbca747b670 +DIST google-api-python-client-2.101.0.tar.gz 11765398 BLAKE2B c50c4266233eaef0d773f403c1d942063430d24602bad9b2c74adabfc3fc110ef8ae5b919add3afced251aec6ef25ce253034c2a3878d31e804a98f2d4dc5e42 SHA512 30f74b5e410e97efb814eb3166b91257c81ba8d8d19db446a6818dde54d72e43f275a68aa6dcd576e586eca8cafb97754a4af052f4a69e7c964bb5784192f410 DIST google-api-python-client-2.97.0.tar.gz 11493962 BLAKE2B 243ee33b169f13e311839a3c57a4922a7ef8c09be9ffb02520580bd11b894ffa1116479abd0942503627d958f4553bc1e921a20c9ab05a4cd1386f585ca286c5 SHA512 bdbe64c3186347f111138963e70411f13ba3a8fd342cac5e93d8415093404c8ade9f53b3d81c8fb6e876095eb0016dc4efc1de9e61df1e308d6d359a3578db96 DIST google-api-python-client-2.98.0.tar.gz 11651975 BLAKE2B 11dbe1ef86243d948887490421926c951339714b79ae62746b2c0b016505cae6e62dad8102f93ea48031dd686f21ad353210e5ac9843ab39fe9bb1d87eac4580 SHA512 dbf2b2bf6ae8934f7d2c20369eecc0ee00d21d96615e064bacdf4999ebda4a58897b0cab463958bfa39404fe7c1b922168710ef30d5f37849a076c409e2d12e0 DIST google-api-python-client-2.99.0.tar.gz 11708318 BLAKE2B fa022efa0d747469f5ada202f959bdb518d7edbb7a5d18cb98f401b5c1af0f909426a86df6295bf06931548449e59ddae0b2b1ae4204cb8b7cee86e5d23d157a SHA512 b01aa1b1d6b74d77cdcb5f9c14d52ef96a248cb2cedaecfd321d7f295884ae6c12331099ad1ceab1eb6639957eed038f0ff9078962f9315c4c088b3f3c8e6dff diff --git a/dev-python/google-api-python-client/google-api-python-client-2.101.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.101.0.ebuild new file mode 100644 index 000000000000..28a1f530e3c9 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.101.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + ) + + epytest tests +} diff --git a/dev-python/gpep517/Manifest b/dev-python/gpep517/Manifest index 9c7253c8da70..457730369753 100644 --- a/dev-python/gpep517/Manifest +++ b/dev-python/gpep517/Manifest @@ -1,3 +1 @@ -DIST gpep517-13.gh.tar.gz 17197 BLAKE2B eb2f1061c0d762ec5cedf042c41a04eb1ddfbb146b5d81727f7e09d55e76323ee4ffb00e8a8c17a8d423b863bd46dc79a03048da1998cf50fee45bc75c64f38e SHA512 23219a3f7369def01e41fe6bbf96400cc85bb6f5efae3924451a5f3dbed0c9a5e7bb69aa1810897597aa248aa64fc6445fb32ed5bf314d0265c5339893ea58e3 -DIST gpep517-14.gh.tar.gz 17896 BLAKE2B 53e903a8efd6dc2a861784093c078cc8196ac870cc837714e5afc69afaf6494484d7614039032db4f765d6a30b6e8f639a6f6870812b24effac208d668edd0b5 SHA512 9d2c55775c19fb8a071336749fa7b0c15a25c19af380999cffd4e23b6b4bbfca1d8b1b21ed4e57c89836d2fad527b18a7ba33ba4e06c78deeec68f071e4d2375 DIST gpep517-15.gh.tar.gz 17535 BLAKE2B 265c2392cc70f4a94f6b8329dbba0ec5eb821e687bba553009bdc5e230d856fe6f105c873a79ee7ca99fb75c072c3d3c3b4f716ca873d13a8e393b33a97c8540 SHA512 7c3b878220e907ef801301eadc0e3031dd3c31770cc50bb7119ab32f9244c8a33792b4896ddeffc5d4b7be9f1d881fba5179de155f11845f510e455be59fb92e diff --git a/dev-python/gpep517/gpep517-13.ebuild b/dev-python/gpep517/gpep517-13.ebuild deleted file mode 100644 index aad515d1f4a1..000000000000 --- a/dev-python/gpep517/gpep517-13.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A backend script to aid installing Python packages in Gentoo" -HOMEPAGE=" - https://pypi.org/project/gpep517/ - https://github.com/projg2/gpep517/ -" -SRC_URI=" - https://github.com/projg2/gpep517/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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] - ' 3.{9..10}) -" - -distutils_enable_tests pytest - -python_install() { - python_domodule gpep517 - python_newscript - gpep517 <<-EOF - #!${EPREFIX}/usr/bin/python - import sys - from gpep517.__main__ import main - sys.exit(main()) - EOF -} diff --git a/dev-python/gpep517/gpep517-14.ebuild b/dev-python/gpep517/gpep517-14.ebuild deleted file mode 100644 index f096b5a6eceb..000000000000 --- a/dev-python/gpep517/gpep517-14.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A backend script to aid installing Python packages in Gentoo" -HOMEPAGE=" - https://pypi.org/project/gpep517/ - https://github.com/projg2/gpep517/ -" -SRC_URI=" - https://github.com/projg2/gpep517/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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/installer-0.5.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] - ' 3.{9..10}) -" - -distutils_enable_tests pytest - -python_install() { - python_domodule gpep517 - python_newscript - gpep517 <<-EOF - #!${EPREFIX}/usr/bin/python - import sys - from gpep517.__main__ import main - sys.exit(main()) - EOF -} diff --git a/dev-python/hcloud/Manifest b/dev-python/hcloud/Manifest index 6ee877c018a0..56ec249707a7 100644 --- a/dev-python/hcloud/Manifest +++ b/dev-python/hcloud/Manifest @@ -1 +1,2 @@ DIST hcloud-python-1.28.0.gh.tar.gz 106288 BLAKE2B 4ffdb81e82b51b85b0d52a938a24400b477850e3442c2565515c7ebbaa9b425d729d0caa269da502b3c5b24e5e3475d5d6cd60e9a77a97c8e362087a4b11c01c SHA512 fe720cf5b943f9535143f9389dc30e92ef295b7e5769b91e41ef979a5f6bbd059b42551818e7900e37213b530084eda51a54bad84a7ceb6e29f7f03d19bd4bbb +DIST hcloud-python-1.29.0.gh.tar.gz 108189 BLAKE2B 1344211e7d0c30ee3b25cc4b91e2cbd135260b7edab89e25f13259fb282f461c4abafd8ddf623aba5cb01c58b06389ce5fa84600cdeb1557649717339325c09c SHA512 550b7b3703d5ddb6805a82772bd8edc03c4bf28017e7dc8dd06386ef9606a15c328f53bc2887c0800ee8c2f305063c86aa435c05efc7b2b0ba237bba25a8aeeb diff --git a/dev-python/hcloud/hcloud-1.29.0.ebuild b/dev-python/hcloud/hcloud-1.29.0.ebuild new file mode 100644 index 000000000000..3bcec8e94494 --- /dev/null +++ b/dev-python/hcloud/hcloud-1.29.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +MY_P=hcloud-python-${PV} +DESCRIPTION="Official Hetzner Cloud python library" +HOMEPAGE=" + https://github.com/hetznercloud/hcloud-python/ + https://pypi.org/project/hcloud/ +" +# sdist is missing doc assets as of 1.19.0 +# https://github.com/hetznercloud/hcloud-python/pull/183 +SRC_URI=" + https://github.com/hetznercloud/hcloud-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND=" + >=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.20[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # Integration tests need docker: + # https://github.com/hetznercloud/hcloud-python/blob/master/.travis.yml#L16 + tests/integration +) + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/identify/Manifest b/dev-python/identify/Manifest index 4ba62ac9b9f2..7be8e51bc106 100644 --- a/dev-python/identify/Manifest +++ b/dev-python/identify/Manifest @@ -1,4 +1 @@ -DIST identify-2.5.26.gh.tar.gz 101549 BLAKE2B 383c6467436107cf98a667f1db3ab63f42aadff8f51d2f6bedf715dd45590eeb5fe7b3d6572b7704a7ae613d079a22a2d84c86581b7a63b7578807e06034aa70 SHA512 4c17c7f40b14fd45649e0a6b6885e2d96a1ce3cf91fbc1092fdb9b92d7bf2ac35b0c04a24bb3e77f3188a3c8d00f57dbe19ca660e1e08b60cdb60385f340c4bd -DIST identify-2.5.27.gh.tar.gz 101565 BLAKE2B c4b29509d94912b15c35dfbee9b829594dc1953a7f6122cd4955042849686d53a79c7f9049f312226e5e55a148e4b3bc60158e836e9b9a0d5ca2de0cb133a1af SHA512 a604088628b2aeeaf8cb04a91f197bbc567d3c3e17047400201cccae5b168d92ebac26e181b835fa7c18f78d051795d7c25165596c2636f882098f63bac527d6 -DIST identify-2.5.28.gh.tar.gz 101582 BLAKE2B 274d35954cced2e82d91858f1e6226c783f39659cc5ce64d56c8d5daf56d2ef22be2925e5217c2511ff0c3104ed5fe5a3ca72674d2475612031f7d44be30afdd SHA512 8242b2d233ef3e7c2bff959b5d9b80b0c882f94595b5d514d5b3a2b1a93fdcc06ad6c039c01a708e2ca50cf9675e8c881db96f23b2cafcff5b18189800c37b27 DIST identify-2.5.29.gh.tar.gz 101599 BLAKE2B 57e444c99062c10334ac7d0642c47c9f706dc31447db6b5eff0997f5d6113723f6bd06d5dabf0ebdbf0dbc17d33b716e68864902ffe1c92638052458a53affa8 SHA512 f7feab8872bef0c8c3c07429f41d73455ae9f317ed5e974349af04ca0b459677c65ead47e85e58753f53f592b2a0363844496c43d7ffe25e2228f5e11b411b4d diff --git a/dev-python/identify/identify-2.5.26.ebuild b/dev-python/identify/identify-2.5.26.ebuild deleted file mode 100644 index a3573e19cbbd..000000000000 --- a/dev-python/identify/identify-2.5.26.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="File identification library for Python" -HOMEPAGE=" - https://github.com/pre-commit/identify/ - https://pypi.org/project/identify/ -" -SRC_URI=" - https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/ukkonen[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/identify/identify-2.5.27.ebuild b/dev-python/identify/identify-2.5.27.ebuild deleted file mode 100644 index 0547ed2debdb..000000000000 --- a/dev-python/identify/identify-2.5.27.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="File identification library for Python" -HOMEPAGE=" - https://github.com/pre-commit/identify/ - https://pypi.org/project/identify/ -" -SRC_URI=" - https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - dev-python/ukkonen[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/identify/identify-2.5.28.ebuild b/dev-python/identify/identify-2.5.28.ebuild deleted file mode 100644 index 0547ed2debdb..000000000000 --- a/dev-python/identify/identify-2.5.28.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="File identification library for Python" -HOMEPAGE=" - https://github.com/pre-commit/identify/ - https://pypi.org/project/identify/ -" -SRC_URI=" - https://github.com/pre-commit/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - dev-python/ukkonen[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/identify/identify-2.5.29.ebuild b/dev-python/identify/identify-2.5.29.ebuild index 0547ed2debdb..a3573e19cbbd 100644 --- a/dev-python/identify/identify-2.5.29.ebuild +++ b/dev-python/identify/identify-2.5.29.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86" RDEPEND=" dev-python/ukkonen[${PYTHON_USEDEP}] diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index 5e17ad9b50bb..d96b2a6055eb 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,5 +1,6 @@ DIST imageio-2.31.1.gh.tar.gz 411419 BLAKE2B 4167e073daeb4a05cc88cfca78764468d33cb7d3d0ae8a75f43bb40312b44c1e5b0cd1416203addb853a8ada744ff97bdec3dc42685d6aec0ee8e4be839d8490 SHA512 8fa322816ddc041bb84a0b6ac9282fffdfb3894f3594e36c554cec9ae8d0898a7b005b9d43e7b4065fc6ca71301b63e95e46cb0a73ebedbd9004bca0146b535d DIST imageio-2.31.2.gh.tar.gz 411570 BLAKE2B bf2b92e7d9875ed6285c33ef04baa8b6bb798210bd0c1efcaf81f23a75641964dbd8f9139690928bbecbeae15cc9a7df63898e497b2234b3999dbe91c9b20d78 SHA512 9aff670c10a1cc67c3d71bea6014e5d5bb3da7a63037056f077266005bdc72ec39fcc6afdc5c130753019b00f7306963f133cbf663a3b59490401353e21f74bc DIST imageio-2.31.3.gh.tar.gz 411838 BLAKE2B 923a21a211150d2356a2484b6c90dc9c210791c6978457bab54182d9d2ee7557d1935d1550439cd23c2b94b3280fdbed2b7561724784d2d8d331c349ae2c0b21 SHA512 9027cf171e2a0a6137c2b8b28ef864effaea230fce2cadabded12f95a57e627b86e715d8ca3ba7eb02c8d88aa237f0097232d5d8d7b3d4742cf8d35995704c5b +DIST imageio-2.31.4.gh.tar.gz 412086 BLAKE2B a314d82f01ea71c421664f0f1e1c873d82d7bee34eed0de2331cadd7ea1b79d3ec1316816f91dcd758dad8937b7c3b200fa81a8ebd1149c195aefbb8ad4474ea SHA512 c909cd301b85dd49dd18f3001433c07f098fa907763897d838a28c1db06626075163639a50193c735b30450ea95f3bdb00828a7b0fb526e18e07191fec5ce907 DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 diff --git a/dev-python/imageio/imageio-2.31.4.ebuild b/dev-python/imageio/imageio-2.31.4.ebuild new file mode 100644 index 000000000000..b5b34fa839cd --- /dev/null +++ b/dev-python/imageio/imageio-2.31.4.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +BIN_COMMIT=224074bca448815e421a59266864c23041531a42 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png + -> ${PN}-chelsea.png + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4 + -> ${PN}-cockatoo.mp4 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +# over 50% of tests rely on Internet +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +# requests for fsspec[github] +BDEPEND=" + test? ( + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mkdir -p "${HOME}"/.imageio/images || die + local i + for i in chelsea.png cockatoo.mp4; do + cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die + done + fi + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # known broken + # https://github.com/imageio/imageio/issues/890 + tests/test_freeimage.py::test_exr_write +) diff --git a/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild b/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild index 03e8b2588330..914f3b2749b8 100644 --- a/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild +++ b/dev-python/kiwisolver/kiwisolver-1.4.5.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Clear-BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" COMMON_DEPEND=" >=dev-python/cppy-1.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 5e4409ff769c..908f8400d4ca 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -9,3 +9,4 @@ DIST llvm-project-17.0.0rc4.src.tar.xz.sig 438 BLAKE2B 2cda35b4a3ebddfdbe6828459 DIST llvm-project-17.0.1.src.tar.xz 127830376 BLAKE2B bb3b9f7358df9006307f5eeccfc5c5ee5497498c4f091347924911cb6534e8d930024c35387456af24bf647d9e24a3d927aa49199036fb475018a610b5d792c7 SHA512 6fc1d5ff4fec49ef5bb495ba9d8f9ee9052c10999ec9d3ac8f825c718e3cdd64abd95408c4e5bb7f67eb9a7bfac9e26d2a949c4da9f163b5646c02e8a670ead5 DIST llvm-project-17.0.1.src.tar.xz.sig 438 BLAKE2B 3182e3c3a48635fdec39b945ee3b782d7c9c2a07911d9ede2e3421031bb1b4959bd495c5e39d094aeaf555579b9fe3eb834c1449077c154c629f5db605375e7c SHA512 301a6e6c46d6fee13c86dec1a021c35f6bf3a97e5d6b0aa7b7eac34e7ca52f6cefffc25a9e376250b1eb721a65a5852f2f1948abd432698363a81dd7ee19d81c DIST llvm-project-7e5809e7e7bc9a828427b6540a51d45884d8bbbb.tar.gz 197275742 BLAKE2B 17df09155cf3451deffcdd71a4b0602211a4638ad961eb351802028f4fd1b8db870bef817430adb709ea7c1e85f545d7507c06d7fca26869f8a10e6ac6b03967 SHA512 e84aa041aadf3e50376cffd1e92c1447acdca0a2cf8e7df9cca9d0337dfeccb1d022da3a229bb0cfdc9c5fb87215682a1e4f474208b09b8800f30aa0c6e36c4b +DIST llvm-project-f5cb9cb59d7c9c6ac3d5c41c677f68c9b75d34a3.tar.gz 198113948 BLAKE2B 1688920eb790421f4143e92bd7bd26794a2497e7b445dde6d55b59c9df4b1aebb848833c7cb1b7c273c5e002763f2531a341313500ce207242f992dfe343b988 SHA512 9817e8b7adf7c69d673124e8334c3e511dfd1cc386832c52b2fb0f2517475d29cd98513ad87188a962f9697dfac39ea03f5b2db6c549c307cf3d27b1370ffdf3 diff --git a/dev-python/lit/lit-18.0.0_pre20230925.ebuild b/dev-python/lit/lit-18.0.0_pre20230925.ebuild new file mode 100644 index 000000000000..20dc4e100e96 --- /dev/null +++ b/dev-python/lit/lit-18.0.0_pre20230925.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + sys-devel/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from sys-devel/llvm) + +src_prepare() { + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest index ca81c7d67ffc..d70355b6b1ed 100644 --- a/dev-python/markdown2/Manifest +++ b/dev-python/markdown2/Manifest @@ -1,2 +1 @@ DIST markdown2-2.4.10.tar.gz 123813 BLAKE2B 4aee5ece385a6987fc9d8fccbd3141f42f6469328d0c6ddd7bfeb4bcbffb2cdf2a6375bd9fab8dbc79b099894303e94f15df334b244d877970cc5e52d2f0bf5f SHA512 1053d5e13dfe83158c7e1b87a68f12a2d5bdeddf1cae359c2992028687d18e69d71c1347ac04cbfcbcb4a6c629eeb1f465537e2e4b47c0594f0c5d175b9ce04f -DIST markdown2-2.4.9.tar.gz 122039 BLAKE2B b21a6d749d88ebc6959309cac7b7e35081032f6c8bb43b51164c59094afc333bcf0d613c4065607e0c7e80e05de8295053cda3aeaff459681ac8327a1c5b00ef SHA512 6d6791b4552cd92e8f9647ac70b7515d23e38d40c0ae6320c2a55dddecdf6d24b41c24d1c375451ea51b95470382036860d7bc04d53a9da1f2452c9114eba4f5 diff --git a/dev-python/markdown2/markdown2-2.4.9.ebuild b/dev-python/markdown2/markdown2-2.4.9.ebuild deleted file mode 100644 index 26f41cdffb38..000000000000 --- a/dev-python/markdown2/markdown2-2.4.9.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Markdown language reimplementation" -HOMEPAGE=" - https://github.com/trentm/python-markdown2/ - https://pypi.org/project/markdown2/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - cd test || die - "${EPYTHON}" -m unittest test_markdown2.py -v || - die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 114e7c1440d0..91a30921382a 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -3,3 +3,4 @@ DIST mkdocs-material-9.2.8.gh.tar.gz 14412534 BLAKE2B f4483a199d86af9ebf6b19937e DIST mkdocs-material-9.3.1.gh.tar.gz 14442779 BLAKE2B 8a10b863708614f4fb9c082606afdb1bb0bc2d64690bbbdab5e636d82f234dba19304e07865a4a5bf7cac42679bea6997729775c8ad8f4ad3a646815853d8db8 SHA512 7f0f7365dd914df56a72578240f418faea5884801200683cdcf8df703bef44fc74a399e62f2f351de697a2416ddc3d68e3f5935dc9f6704e88acca238629e015 DIST mkdocs-material-9.3.2.gh.tar.gz 14484998 BLAKE2B 24c45c9583835f8bf59b49c6b892459920207356cfcc469fec707acf728839af3c551f73a781745e71fbfeda6de65436079d8f27e4157454ca9979a8cdf499cd SHA512 c46de59682c70679164dd3768a793ffcf8e638ffc71dad5d21325090e0c3bfd345dc3c58829a992f995d1047a2007626fc9e68e98729766f8f75c2c3274fcb8d DIST mkdocs-material-9.4.1.gh.tar.gz 14492819 BLAKE2B 8390e3875108fe9a0cb8ab9388278fa936be4839d159124a4f3c482443ea19ae0f90eb623d6f6a74a37881d353c54b27c03e83300bb4cda5446922861092ad78 SHA512 d45356ee77a0b768f9e2158169ed1505dab6c23f99f6893343de4636924dfd83740f1c9e19789753018fa666f27865b45334bffb4ee92190324da98a887c1cfa +DIST mkdocs-material-9.4.2.gh.tar.gz 14501913 BLAKE2B a822b1bb54ffffccca7d3f41b10b2e76e2ada99b0a113c18695753558421049425a2eaf5be79fd3433861b746be303ca6a87e6c45de596038680a3e3974114d8 SHA512 f837f20de15415473f6e260330a8189b252e176a8a3dceebc9536fbad51662ade8e1760149f97ce3b95f9b9c0c2b0902600c33219accd0b3efaf1fec51c23efa diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.2.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.2.ebuild new file mode 100644 index 000000000000..dc81421f5e12 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.4.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-9.0[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" + +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/nh3/nh3-0.2.14.ebuild b/dev-python/nh3/nh3-0.2.14.ebuild index 26f75cfc5020..2d05a3f019e7 100644 --- a/dev-python/nh3/nh3-0.2.14.ebuild +++ b/dev-python/nh3/nh3-0.2.14.ebuild @@ -92,7 +92,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ~x86" +KEYWORDS="amd64 arm arm64 ~loong x86" distutils_enable_tests pytest diff --git a/dev-python/numpydoc/Manifest b/dev-python/numpydoc/Manifest index 12f4df6c5769..7c03c1c02fa5 100644 --- a/dev-python/numpydoc/Manifest +++ b/dev-python/numpydoc/Manifest @@ -1 +1,2 @@ DIST numpydoc-1.5.0.gh.tar.gz 71498 BLAKE2B 6f46d3b39ceecffe1a604d314bb0b2613219c92a951e3578333da8c0891e928564dd7501258d0270901b9923be7caf8af5d68ed4df7dd8f8e322a7503456fbf7 SHA512 e87535c74767946a71b3094b6591fcfb4d7e42acd505c28b3a5c00ea19c29bb21806c5cb655b5d3aca670d105654956d9b59c06d8be68cd51a1760b219c1c815 +DIST numpydoc-1.6.0.gh.tar.gz 85296 BLAKE2B 839fb0062dc1b0b45dfbc855d50d21a3c23cf1e9fef82b8d44e9d4cc36127c32447ad4c6ee5aa500cd24fb6a304f95426be69406468e3059c068ca4b0ad5714f SHA512 3846f395d8603a21d97a6c0fc57f0ea69e908ff2f672673d336a1f4ff02f5cb3f9e76d1e1ad6d990478b121a327bcca8179c3db6b5215f36818e41e4597878fd diff --git a/dev-python/numpydoc/numpydoc-1.6.0.ebuild b/dev-python/numpydoc/numpydoc-1.6.0.ebuild new file mode 100644 index 000000000000..b1b03cdf4027 --- /dev/null +++ b/dev-python/numpydoc/numpydoc-1.6.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Sphinx extension to support docstrings in Numpy format" +HOMEPAGE=" + https://numpydoc.readthedocs.io/en/latest/ + https://github.com/numpy/numpydoc/ + https://pypi.org/project/numpydoc/ +" +SRC_URI=" + https://github.com/numpy/numpydoc/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/jinja-2.10[${PYTHON_USEDEP}] + >=dev-python/sphinx-5[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.8.10[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/matplotlib-3.2.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # these require Internet (intersphinx) + numpydoc/tests/test_full.py::test_MyClass + numpydoc/tests/test_full.py::test_my_function + ) + epytest -o addopts= --pyargs numpydoc +} diff --git a/dev-python/orjson/orjson-3.9.7.ebuild b/dev-python/orjson/orjson-3.9.7.ebuild index ccce73b35cd0..d993e3887886 100644 --- a/dev-python/orjson/orjson-3.9.7.ebuild +++ b/dev-python/orjson/orjson-3.9.7.ebuild @@ -67,7 +67,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" test? ( diff --git a/dev-python/osc-lib/Manifest b/dev-python/osc-lib/Manifest index 1a84eb690151..db94c11b2fff 100644 --- a/dev-python/osc-lib/Manifest +++ b/dev-python/osc-lib/Manifest @@ -1,2 +1 @@ -DIST osc-lib-2.8.0.tar.gz 98870 BLAKE2B 29e312caf968f9a725d114c71a32d4d38ba11c785ac5118fe5dc07633f1d71ba5eb387f6fdbe9d90809088f5a1746ea1aea6cf4e55cc3848fa52462ee7969b0f SHA512 a54e3fa13277808d48f98c46aaf3d90670fe8dce21167816e0a8de21133bb95b87fb8172e0cfa6b1e6076635842569849fcddd9450df7ad2372bc079b37ad519 DIST osc-lib-2.8.1.tar.gz 98929 BLAKE2B 95cc3b0a7c51fc9a58b41fca1b363bc03e05715d9776620e45c94356965cce51437116a78594ddf4b1733722d9d8a6809acdc260e04ba6850083e5aeb689a688 SHA512 03c4a54ec2cd4a1cd36d4908ce30652ac34296b7e4f297277a1735ef625b54c13fda121b831567ba53b36f7e0db3b152526205a75bfb668122a361864daac87b diff --git a/dev-python/osc-lib/osc-lib-2.8.0.ebuild b/dev-python/osc-lib/osc-lib-2.8.0.ebuild deleted file mode 100644 index 9ab865a709aa..000000000000 --- a/dev-python/osc-lib/osc-lib-2.8.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A package of common support modules for writing OSC plugins" -HOMEPAGE=" - https://opendev.org/openstack/osc-lib/ - https://github.com/openstack/osc-lib/ - https://pypi.org/project/osc-lib/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/cliff-3.2.0[${PYTHON_USEDEP}] - >=dev-python/keystoneauth1-3.14.0[${PYTHON_USEDEP}] - >=dev-python/openstacksdk-0.15.0[${PYTHON_USEDEP}] - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] - >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] - >=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}] - >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # need to skip all tests under TestTagHelps class - # checks exact help message, based on another unittest runner - sed -e '179,$s/test_add_tag_/_&/' -i osc_lib/tests/utils/test_tags.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/osc-lib/osc-lib-2.8.1.ebuild b/dev-python/osc-lib/osc-lib-2.8.1.ebuild index 76be3c03188c..9ab865a709aa 100644 --- a/dev-python/osc-lib/osc-lib-2.8.1.ebuild +++ b/dev-python/osc-lib/osc-lib-2.8.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/cliff-3.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/partd/Manifest b/dev-python/partd/Manifest index 38df923e7289..66b1cfdc256c 100644 --- a/dev-python/partd/Manifest +++ b/dev-python/partd/Manifest @@ -1 +1,2 @@ DIST partd-1.4.0.tar.gz 36345 BLAKE2B 2e402e8bdd36544ef1f6b537a62217f673781c2210fcd3f01796311bd15befea474082f7b7191bf520f6b1b6c20f0e81e81f960aed457ba2b434c1a0cacf5641 SHA512 a77573798f330ff467dc07c3f7233ddf5b491e6f5c13f4d3a898125e40424e08f3d3491312506156254089704114b58e948a89c954d212402e59886b45bcb299 +DIST partd-1.4.1.tar.gz 36272 BLAKE2B 032f30988468d68b5b8a18ceeb28f75c6807bae8ec57a88c50beb1c4ed2f99721d5f50e1002cf74376867f54f5c5dbdaf823b999f8680766f13e8f5f9df74801 SHA512 0bf285a33731d3c000e6c2c1958cda0df21c3a2be31694ac31ce0cc45aa2b31b8631f962c25b9ecac3831474abb5872748bd3348f99e13faadee467a1f164492 diff --git a/dev-python/partd/partd-1.4.1.ebuild b/dev-python/partd/partd-1.4.1.ebuild new file mode 100644 index 000000000000..222cf4bc0286 --- /dev/null +++ b/dev-python/partd/partd-1.4.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Appendable key-value storage" +HOMEPAGE=" + https://github.com/dask/partd/ + https://pypi.org/project/partd/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/locket[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/blosc[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyzmq[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 518feb578f26..a2c03ef0c45a 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,3 +1,4 @@ DIST pdm-2.8.2.tar.gz 3014401 BLAKE2B a541339582944988b7a30d2991066287e0293845d4f15c7f6cb2fef7a8709dba537f190e5493bd3b06e7ef86fca601a9d1aab7af6ca6ae55269b374a7464ca17 SHA512 396e27902f74773070cf49c3857d93702e6678a46221b54dc03e84e2b8ccf211cbba9d24eba6bfc47ff36cbd4eb504ada5bf82071c884347026ba85c123058e9 DIST pdm-2.9.1.tar.gz 3017895 BLAKE2B 944a1cd9571f7ad2ec6b4212b29db7b6c7c5e8b12591c73dae19f099f9d511f0db3f0698d48e2e42fc81f30c876caa7c9e43467d23eee26876595e6fd6ff197e SHA512 979bf9d078747c7b8dd56555d499053b978ddf289af4bf889b2f2805255049c24bf48607b3704509d914eec59904cbdb9983af396c68ff7211cc216fd4b40118 DIST pdm-2.9.2.tar.gz 3018730 BLAKE2B 83eeab7b70efe61a515ed262e8bd1de911f111aaa22704fcce2e46824a236be663ba831cce8bb440e612e711b8cf0627b1a416e966b06b51dc6e25feb2e856b0 SHA512 1d3193dc31065a05989e9dc36518fac0d45f86945d68ff2b5e03473b97c70b0f9586849a1e2208e740921927857733c76c44b512213cb17fc6608f9d0d7bcbd9 +DIST pdm-2.9.3.tar.gz 2578245 BLAKE2B f3916294d83e4731514f7009fd9e71fbd06614f46f1eeed9ad1d591e34c09877815d75b09dbb58f5765011a2e75e4182571a446c3cb8061d2408cecd272f6c75 SHA512 110e6488f8b161f7d77b9f0b1f34964f1c93ae7e8e9b2109057cfe1f507c914c9c72b3d787c768c9d371a80d8d79bbf6cad006eca2fe88e33b22f4415f2d276e diff --git a/dev-python/pdm/pdm-2.9.3.ebuild b/dev-python/pdm/pdm-2.9.3.ebuild new file mode 100644 index 000000000000..92d2f9367701 --- /dev/null +++ b/dev-python/pdm/pdm-2.9.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm.fming.dev/latest/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + >=dev-python/unearth-0.10.0[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.4.0[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/cachecontrol[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' pypy3 python3_10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + epytest -m "not network and not integration and not path" +} diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 2f9649a0936c..64cd2a8d10a8 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1,4 +1 @@ -DIST python-phonenumbers-8.13.18.gh.tar.gz 4914264 BLAKE2B 1bd17f2f8f68e475fcea4f69357001bdb8230827551d33bfec8727d1a04c175c4066c094742d02ad0c610e1ba80b309c3aae17d45ae4f735e620f0abecb3a91b SHA512 1656ce7ef9834f60c386fa3ca26fb9be81d4663ad29b007ddc64104d7678ea529cb2928b75df626076fc9859e36fb210147126fb634c328051d5321f9352c15e -DIST python-phonenumbers-8.13.19.gh.tar.gz 4916068 BLAKE2B 40833f41923968df4a35f4db70e2e90fc98e6c216adc38d39e1dfcf7fa3d2c244e948b533a37469822d4643819840314432cb2e46a7c96671140f897421ea969 SHA512 56396766c034b8e7955af2e6224b56c3ae68a74d19f8dcb7871b1d302571e6b7be5d18b093ded40f3815e454ce038022d2ac46bc69425db100b1e1b678064693 -DIST python-phonenumbers-8.13.20.gh.tar.gz 4916090 BLAKE2B 53ca7e492218a160979ff2da29089bb2deabda0f92ce17404c96d13a9792c9ffe4308f1796450b45589ce75298aaa6580460ada3aa09c8a716e26e91671e53bb SHA512 012c382b754691d16b772c4fb39577bd9ac9576e035fbacad9667b4963c4bdce45d3205625faea72aabae285ebb1b7ba48040e3c5e09bca3dc4752ce97feebeb DIST python-phonenumbers-8.13.21.gh.tar.gz 4916054 BLAKE2B 0086fe789f427140cf8178c4988b9928f4d7e361be9d270d0788470dcc17bde6797dec1e3fd05116a93383034d895c9d0f0c7a3254e55c4c9afca5e10714f2c2 SHA512 9b3d80dc2cc864612d86ecf40488fff802f9a9ac4899cb70429515510bdeb728d846ecd0afd0dc284099d8a4b7f3c81a5fd94081cbb691f4aa6d4d9c85aa4319 diff --git a/dev-python/phonenumbers/phonenumbers-8.13.18.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.18.ebuild deleted file mode 100644 index d8feb193e78b..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.13.18.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.13.19.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.19.ebuild deleted file mode 100644 index b0322ad89447..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.13.19.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.13.20.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.20.ebuild deleted file mode 100644 index b0322ad89447..000000000000 --- a/dev-python/phonenumbers/phonenumbers-8.13.20.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Python port of Google's libphonenumber" -HOMEPAGE=" - https://github.com/daviddrysdale/python-phonenumbers/ - https://pypi.org/project/phonenumbers/ -" -SRC_URI=" - https://github.com/daviddrysdale/python-phonenumbers/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P}/python - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - ) -" - -DOCS=( ../README.md ) - -python_test() { - "${EPYTHON}" testwrapper.py -v || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/phonenumbers/phonenumbers-8.13.21.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.21.ebuild index b0322ad89447..d8feb193e78b 100644 --- a/dev-python/phonenumbers/phonenumbers-8.13.21.ebuild +++ b/dev-python/phonenumbers/phonenumbers-8.13.21.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}/python LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~ppc64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/poetry-core/Manifest b/dev-python/poetry-core/Manifest index 73abc20be6db..91bc6c8879e2 100644 --- a/dev-python/poetry-core/Manifest +++ b/dev-python/poetry-core/Manifest @@ -1,2 +1 @@ -DIST poetry-core-1.6.1.gh.tar.gz 477291 BLAKE2B 4e1bd77302005d344693fe7a08b0c55e8a9ea0aad3112915a18950e40cc51116740b9eff5ae851b1d7280454716e3a86b1d8d37d85749f64fcef3bc726eeaf83 SHA512 53db0e4f4d5bc6ed2b201cd88a84e07dc6421e910292b8b5efb0dcce1af6e8c62836458a6409aac0394b5063b7c4a6be93784b0bce8592d74f61800f54916706 DIST poetry-core-1.7.0.gh.tar.gz 459637 BLAKE2B af42d3e44ccecfa2746fcde1f7c48a4a6376d3391ebd9b660658593c32058bc812460ed1df4999f18c929724c2750a13b8ca44d92791c34cef8544862e8c061a SHA512 cbad311ed53a4b39b027674e8c76cf8822b0cc33b69eca3d79a31e910111efba5021b156d95f51327dca24d584bd96ec1a8cde23b3912e4ed6ca66b11e1bce9b diff --git a/dev-python/poetry-core/files/poetry-core-1.6.1-pypy3.patch b/dev-python/poetry-core/files/poetry-core-1.6.1-pypy3.patch deleted file mode 100644 index ab0979a71cf0..000000000000 --- a/dev-python/poetry-core/files/poetry-core-1.6.1-pypy3.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 12d231eeb3d853217dd6e0527da7e286cdc1346b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Randy=20D=C3=B6ring?= - <30527984+radoering@users.noreply.github.com> -Date: Mon, 29 May 2023 18:40:35 +0200 -Subject: [PATCH 1/2] chore: update dev dependencies for Python 3.12 - compatibility (#597) - ---- - poetry.lock | 170 ++++++++++++------------ - tests/masonry/builders/test_complete.py | 3 +- - tests/masonry/builders/test_wheel.py | 5 +- - 3 files changed, 91 insertions(+), 87 deletions(-) - -diff --git a/tests/masonry/builders/test_complete.py b/tests/masonry/builders/test_complete.py -index 4e4dff0..c9429c1 100644 ---- a/tests/masonry/builders/test_complete.py -+++ b/tests/masonry/builders/test_complete.py -@@ -19,6 +19,7 @@ import pytest - from poetry.core import __version__ - from poetry.core.factory import Factory - from poetry.core.masonry.builder import Builder -+from tests.masonry.builders.test_wheel import WHEEL_TAG_REGEX - - - if TYPE_CHECKING: -@@ -82,7 +83,7 @@ def test_wheel_c_extension(project: str, exptected_c_dir: str) -> None: - Wheel-Version: 1.0 - Generator: poetry-core {__version__} - Root-Is-Purelib: false --Tag: cp[23]_?\\d+-cp[23]_?\\d+m?u?-.+ -+Tag: {WHEEL_TAG_REGEX} - $""", - wheel_data, - ) -diff --git a/tests/masonry/builders/test_wheel.py b/tests/masonry/builders/test_wheel.py -index d25d642..c41e4a5 100644 ---- a/tests/masonry/builders/test_wheel.py -+++ b/tests/masonry/builders/test_wheel.py -@@ -25,6 +25,9 @@ if TYPE_CHECKING: - fixtures_dir = Path(__file__).parent / "fixtures" - - -+WHEEL_TAG_REGEX = "[cp]p[23]_?\\d+-(?:cp[23]_?\\d+m?u?|pypy[23]_?\\d+_pp\\d+)-.+" -+ -+ - @pytest.fixture(autouse=True) - def setup() -> Iterator[None]: - clear_samples_dist() -@@ -365,7 +368,7 @@ def test_tag(in_venv_build: bool, mocker: MockerFixture) -> None: - if not in_venv_build: - mocker.patch("sys.executable", "other/python") - -- assert re.match("^cp[23]_?\\d+-cp[23]_?\\d+m?u?-.+$", builder.tag) -+ assert re.match(f"^{WHEEL_TAG_REGEX}$", builder.tag) - if in_venv_build: - get_sys_tags_spy.assert_not_called() - else: --- -2.40.1 - diff --git a/dev-python/poetry-core/poetry-core-1.6.1.ebuild b/dev-python/poetry-core/poetry-core-1.6.1.ebuild deleted file mode 100644 index b48320fe55d0..000000000000 --- a/dev-python/poetry-core/poetry-core-1.6.1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{8,9,10,11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 - -DESCRIPTION="Poetry PEP 517 Build Backend" -HOMEPAGE=" - https://github.com/python-poetry/poetry-core/ - https://pypi.org/project/poetry-core/ -" -SRC_URI=" - https://github.com/python-poetry/poetry-core/archive/${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 ~arm64-macos ~x64-macos" - -# check inside src/poetry/core/_vendor/vendor.txt -# (note that some are indirect deps) -RDEPEND=" - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lark[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.9 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-vcs/git - ' "${PYTHON_TESTED[@]}") - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${P}-pypy3.patch" -) - -EPYTEST_DESELECT=( - # These "fail" bacause of glob file path resulting from newer versions - # in our tree than vendored. But those don't affect anything. - tests/masonry/builders/test_sdist.py::test_default_with_excluded_data - tests/masonry/builders/test_wheel.py::test_default_src_with_excluded_data -) - -src_prepare() { - # remove vendoring of dependencies - rm -r src/poetry/core/_vendor || die - sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die - - distutils-r1_src_prepare -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skippin tests on ${EPYTHON} (unported deps)" - return - fi - - # needed for migration from <1.1 - distutils_write_namespace poetry - epytest -} diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index aba534cf09fe..95fa91740d2e 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,2 +1,3 @@ DIST pydantic-1.10.12.gh.tar.gz 766366 BLAKE2B b00885b86ef331f3f8531d1514f4e3e1ef10d009b35453c6d5a6295ecfe2d2b842f66c7ea2a79ca1d235d54fa38b42432e14804163f944c4455f05c06869815a SHA512 413d433decfa3bb7173d6f4e6e06f746cfbf95f6d27c6a17098216ba81d64d7f8bb956cda195d0676559f96278f3800c77be53ecf46496ac009f130120642cc2 DIST pydantic-2.3.0.tar.gz 623866 BLAKE2B 77fe2d9ce385946e13ffeb5827c29bc7473667af6b53b7b3ec2432380dc792f9ce54b1cb5af68f0a548880516c763ac8c29b129d821da074b63a9a50f9ebc5c3 SHA512 19c9c066a69c8406ccf5537e62b4b5112a5cf1c32bb68498bb73b739c4525fe115348c4c4e5ef9c074dc46fd2b51ca09bcb1d4fa792dbdd2387e51aadae9e528 +DIST pydantic-2.4.0.tar.gz 651740 BLAKE2B 03d849f7aaf40799a821d1c79e1a1eab30f61b6948bd6d9ec1f50ced7e42270025eb42de76e419f1dd4a99f5e73e53d9c7beedcdc637e542e3c29bb90ead35d8 SHA512 bc49390e83e0ccc1ff73a624ad6c7c40b889ea615a62cfdf24e6dad3d861863a7ce999749855c5817978793089e573db8aff8fab5bdc38f931ba1bcfa9106fe1 diff --git a/dev-python/pydantic/pydantic-2.4.0.ebuild b/dev-python/pydantic/pydantic-2.4.0.ebuild new file mode 100644 index 000000000000..f39fac15c371 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.4.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] + =dev-python/pydantic-core-2.10*[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.6.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/Faker-18.13.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} diff --git a/dev-python/pydyf/Manifest b/dev-python/pydyf/Manifest index 74dd6d3af7f7..476f0e042f10 100644 --- a/dev-python/pydyf/Manifest +++ b/dev-python/pydyf/Manifest @@ -1 +1,2 @@ DIST pydyf-0.7.0.tar.gz 16186 BLAKE2B 8dec96ba9d263ed503f1b13c8cfc6eafbd66c7d1cc080b5a18476c93063c0099c46c3362bbeeb71a796fbfdadbd2007c9858b21053464adc243a7d1f7a2f9a54 SHA512 cfc58170b57684cbf5233ca48798881a980af0b3e3fdc8da91c5932affee0365f1e9d535df1f983e0f16c6e612ec5048c91d236bf69b6fae46c7e59f6c2388d0 +DIST pydyf-0.8.0.tar.gz 16342 BLAKE2B c2c00d63fc4fb2aabed20f39fc08fb2b2628e7a9d31d7504d8461331e0ba4654f26e129eb3d9ccf1ab4f376f7ace4f15d6bf87fd74b76c2d50a2a741f7fadb14 SHA512 c78913e723593a4e76c36b7a9b3ddd8a85af856a967053d8f7f297901deb2c6a723e98b3ef311e1c9618018e0e727a2d8eaff1adedb52c743facb85491e8d102 diff --git a/dev-python/pydyf/pydyf-0.8.0.ebuild b/dev-python/pydyf/pydyf-0.8.0.ebuild new file mode 100644 index 000000000000..353ad2c31dd5 --- /dev/null +++ b/dev-python/pydyf/pydyf-0.8.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A low-level PDF generator" +HOMEPAGE=" + https://pypi.org/project/pydyf/ + https://github.com/CourtBouillon/pydyf/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + app-text/ghostscript-gpl + dev-python/pillow[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 84849dc1d808..a8ebafa43999 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,2 +1 @@ -DIST pyfakefs-5.2.3.gh.tar.gz 222076 BLAKE2B 01d24021be074058d865ac068f77de69721ad2f826f835f04776e8d17a8f4cfaeb85bce9a948d679951b8f028ef6d6b3377428d76c5d2d46afea3b78dffcee1e SHA512 5e4adeecb1e2341f3dee20d48b387de870cdab4ad27791951f98ba516f8f4cbe4f5e303c83725c2ce5a9cfaf34f771814b07c553983eb283aa7c3fd7f4e7690d DIST pyfakefs-5.2.4.gh.tar.gz 222882 BLAKE2B 780f3952886dfb263be97fbcaa99ed0f0bcb804b075b71822d8a5b0db2bd1e12c57daf88b96d3eb8eb4b7fefdde6fb343cec8429bcf4380e4981bea7ca4f780d SHA512 2b933c420393b329d2c3ac6523e650124cce84424e298e1525591be02033d1bbb5d5cc354170ac6875d63e1729f6f79edcf8400d1cb0e419c586ae1cdd491baa diff --git a/dev-python/pyfakefs/pyfakefs-5.2.3.ebuild b/dev-python/pyfakefs/pyfakefs-5.2.3.ebuild deleted file mode 100644 index c652d012bc6d..000000000000 --- a/dev-python/pyfakefs/pyfakefs-5.2.3.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A fake file system that mocks the Python file system modules" -HOMEPAGE=" - https://github.com/pytest-dev/pyfakefs/ - https://pypi.org/project/pyfakefs/ -" -SRC_URI=" - https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pyfakefs.pytest_plugin -} diff --git a/dev-python/pylint/Manifest b/dev-python/pylint/Manifest index 79f6872324fb..3e1592732309 100644 --- a/dev-python/pylint/Manifest +++ b/dev-python/pylint/Manifest @@ -1 +1,2 @@ DIST pylint-2.17.5.gh.tar.gz 1413718 BLAKE2B 7ba0a6cb78cdef5f16e80d98d1b02f41ae700c44365de26a0a650b60fe95b4b806e36786d16ec50ed5c78c8b86c13afe8e7fe215dd938df654c2883d5493d318 SHA512 431e722d027b03f1b657841ccaba43233961e810aecfe1a679e3ba4ba92fea94f28524195861a6fd4fe6fc6267a1af6489b9b69e5e30f919ac3a476fd35698ec +DIST pylint-2.17.6.gh.tar.gz 1415348 BLAKE2B d760a81cc8a453a081f1b0e3845c5a0b608b8109863665361990da127323c877e8e02ed9c1aca656fa84dd49941b23652fc465177a3e347942047299ebb86a32 SHA512 1e1bba425d295f9d267ef439f4f402dfc7284ee57ac41c222ac39e502c66bbac60c9afb0024ca4236de7cc7130ac733c781f5ee98670fae054005a8d69107123 diff --git a/dev-python/pylint/pylint-2.17.6.ebuild b/dev-python/pylint/pylint-2.17.6.ebuild new file mode 100644 index 000000000000..e5aeb93728d9 --- /dev/null +++ b/dev-python/pylint/pylint-2.17.6.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python code static checker" +HOMEPAGE=" + https://pypi.org/project/pylint/ + https://github.com/pylint-dev/pylint/ +" +SRC_URI=" + https://github.com/pylint-dev/pylint/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +# Make sure to check https://github.com/pylint-dev/pylint/blob/main/pyproject.toml#L34 on bumps +# Adjust dep bounds! +RDEPEND=" + <dev-python/astroid-2.17[${PYTHON_USEDEP}] + >=dev-python/astroid-2.15.7[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.6[${PYTHON_USEDEP}] + >=dev-python/isort-4.2.5[${PYTHON_USEDEP}] + <dev-python/isort-6[${PYTHON_USEDEP}] + >=dev-python/mccabe-0.6[${PYTHON_USEDEP}] + <dev-python/mccabe-0.8[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.10.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.1.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/GitPython-3[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + rm -rf pylint || die + + local EPYTEST_DESELECT=( + # TODO + 'tests/test_functional.py::test_functional[forgotten_debug_statement_py37]' + 'tests/test_functional.py::test_functional[dataclass_with_field]' + 'tests/test_functional.py::test_functional[no_name_in_module]' + 'tests/test_functional.py::test_functional[shadowed_import]' + tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_error_msg + tests/checkers/unittest_typecheck.py::TestTypeChecker::test_nomember_on_c_extension_info_msg + tests/config/pylint_config/test_run_pylint_config.py::test_invocation_of_pylint_config + + # apparently fragile, needs unpickleable plugin + tests/test_check_parallel.py::TestCheckParallelFramework::test_linter_with_unpickleable_plugins_is_pickleable + ) + local EPYTEST_IGNORE=( + # No need to run the benchmarks + tests/benchmark/test_baseline_benchmarks.py + ) + epytest +} + +python_install_all() { + if use examples ; then + docompress -x "/usr/share/doc/${PF}/examples" + docinto examples + dodoc -r examples/. + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index be835a0daa2c..44a270cbcda0 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,2 +1 @@ -DIST mongo-python-driver-4.4.1.gh.tar.gz 1461820 BLAKE2B 42b2f5663bbc632205ebc1e979c6434122d797043cc545b3ff5b02956acd4d8d2b3a6b4a0308ca041fbb82aa3f530b305f4d21d42954c15b0c3ace3da6e1efd8 SHA512 fbdc6bd60eefbd554cadbea2173340e89e3cbec3377c97a592789750bb86ec68818d40f43b020c68023ff6c415bb4ceb36e7fb169d72b3e9c218880c6bfaf339 DIST mongo-python-driver-4.5.0.gh.tar.gz 1481970 BLAKE2B fcb019042b6447093e1cfb9d66514954c31a26322060842b3c8e93d865f74db356004c6d7090d1a535d1ce523513cbd9e7935c7ee7655cdd47691d1b7ede97f0 SHA512 eb607f692c28daacef436e7649b3265465f8f785a68b29eda16b5ab5d926d0fa4737bcc6974f54778794dfd7fbcd95c30478867d6479ea45d412f2404cb2aa30 diff --git a/dev-python/pymongo/pymongo-4.4.1.ebuild b/dev-python/pymongo/pymongo-4.4.1.ebuild deleted file mode 100644 index 97817682deb6..000000000000 --- a/dev-python/pymongo/pymongo-4.4.1.ebuild +++ /dev/null @@ -1,135 +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_{8,9,10,11} ) - -inherit check-reqs distutils-r1 - -MY_P=mongo-python-driver-${PV} -DESCRIPTION="Python driver for MongoDB" -HOMEPAGE=" - https://github.com/mongodb/mongo-python-driver/ - https://pypi.org/project/pymongo/ -" -SRC_URI=" - https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" -IUSE="doc kerberos +test-full" - -RDEPEND=" - <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] - kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - test-full? ( - >=dev-db/mongodb-2.6.0 - ) - ) -" - -distutils_enable_sphinx doc -distutils_enable_tests unittest - -reqcheck() { - if use test && use test-full; then - # During the tests, database size reaches 1.5G. - local CHECKREQS_DISK_BUILD=1536M - - check-reqs_${1} - fi -} - -pkg_pretend() { - reqcheck pkg_pretend -} - -pkg_setup() { - reqcheck pkg_setup -} - -src_prepare() { - # network-sandbox - rm test/test_srv_polling.py || die - sed -e 's:test_connection_timeout_ms_propagates_to_DNS_resolver:_&:' \ - -e 's:test_service_name_from_kwargs:_&:' \ - -e 's:test_srv_max_hosts_kwarg:_&:' \ - -i test/test_client.py || die - sed -e '/SRV_SCHEME/s:_HAVE_DNSPYTHON:False:' \ - -i test/test_uri_spec.py || die - sed -e 's:test_connect_case_insensitive:_&:' \ - -i test/test_dns.py || die - # changes in new mypy version - sed -e 's:test_mypy_failures:_&:' \ - -i test/test_typing.py || die - distutils-r1_src_prepare -} - -python_test() { - if ! use test-full; then - # .invalid is guaranteed to return NXDOMAIN per RFC 6761 - local -x DB_IP=mongodb.invalid - esetup.py test - return - fi - - # Yes, we need TCP/IP for that... - local -x DB_IP=127.0.0.1 - local -x DB_PORT=27000 - - local dbpath=${TMPDIR}/mongo.db - local logpath=${TMPDIR}/mongod.log - - # Now, the hard part: we need to find a free port for mongod. - # We're just trying to run it random port numbers and check the log - # for bind errors. It shall be noted that 'mongod --fork' does not - # return failure when it fails to bind. - - mkdir -p "${dbpath}" || die - while true; do - ebegin "Trying to start mongod on port ${DB_PORT}" - - LC_ALL=C \ - mongod --dbpath "${dbpath}" --nojournal \ - --bind_ip ${DB_IP} --port ${DB_PORT} \ - --unixSocketPrefix "${TMPDIR}" \ - --logpath "${logpath}" --fork \ - && sleep 2 - - # Now we need to check if the server actually started... - if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then - # yay! - eend 0 - break - elif grep -q 'Address already in use' "${logpath}"; then - # ay, someone took our port! - eend 1 - : $(( DB_PORT += 1 )) - continue - else - eend 1 - eerror "Unable to start mongod for tests. See the server log:" - eerror " ${logpath}" - die "Unable to start mongod for tests." - fi - done - - local failed - nonfatal esetup.py test || failed=1 - - mongod --dbpath "${dbpath}" --shutdown || die - - [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" - - rm -rf "${dbpath}" || die -} diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 02b743defb6b..f3b617ad6322 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,2 +1 @@ -DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985 SHA512 50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f DIST pyopencl-2023.1.2.tar.gz 473684 BLAKE2B 3912885395df515f3e935149c0bac618c371b75791ac670d1a2cd25ffe5e3ff1c4d0e82d8a475e26d3280aaa659d900ed7df66b3f6952f54266d3cd2ad3b44c2 SHA512 3414b011f0bd0420df4725904b715d54bad0ae77cb4b8619d8d769cd25b56d44a8d34788c23de80b5da5ae757f38231db980f3abcb2544117b7be7627592bf0e diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild deleted file mode 100644 index 88db08e69417..000000000000 --- a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# NOT compatible with python3_11 because it uses the deprecated module "imp" -PYTHON_COMPAT=( python3_{8,9,10,11} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Python wrapper for OpenCL" -HOMEPAGE=" - https://mathema.tician.de/software/pyopencl/ - https://pypi.org/project/pyopencl/ -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv" -IUSE="examples opengl" - -# Running tests on GPUs requires both appropriate hardware and additional permissions -# having been granted to the user running them. Testing on CPUs with dev-libs/pocl -# is in theory possible but has been found to be very fragile, see e.g. Bug #872308. -RESTRICT="test" - -COMMON=">=virtual/opencl-2" -# libglvnd is only needed for the headers -DEPEND="${COMMON} - opengl? ( media-libs/libglvnd )" -RDEPEND="${COMMON} - >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" -BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] - test? ( dev-libs/pocl )" - -distutils_enable_tests pytest - -python_configure_all() { - local myconf=() - if use opengl; then - myconf+=(--cl-enable-gl) - fi - - "${EPYTHON}" configure.py \ - "${myconf[@]}" -} - -python_test() { - # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present - local -x PYOPENCL_TEST="portable:pthread" - # Set the number of threads to match MAKEOPTS - local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) - # Change to the 'test' directory so that python does not try to import pyopencl from the source directory - # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) - pushd test >/dev/null || die - epytest - popd >/dev/null || die -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild index 7f2186db1f24..efbc9fdcfe1e 100644 --- a/dev-python/pyopencl/pyopencl-2023.1.2.ebuild +++ b/dev-python/pyopencl/pyopencl-2023.1.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="amd64 ~ppc64 ~riscv" IUSE="examples opengl" # Running tests on GPUs requires both appropriate hardware and additional permissions diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index cbdcec91b17c..06f7f703576d 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,10 +1,4 @@ -DIST pypdf-3.15.1.gh.tar.gz 7679588 BLAKE2B 9148d17be47fc653bba26fc39ca58f503eba7fd561ef67be034f6ce18318069a1e981e46d6a23ff18dd20a9ddbd38ff056a17e63e71b253d851d3c3934057c74 SHA512 93a4c5c573f8db73df4dd113e4d502bb183c2548a556686848dabf46078721e583c0283f6148c268d6e502e25402fab7b5e40d3eb9c60ab4db19827f183636e5 -DIST pypdf-3.15.2.gh.tar.gz 7679823 BLAKE2B c53e51adaa2d789b56f0871ef9937e01eb91074dd30afece840a17c8b789686ff88942345764e7451b4ad1af21405f9e18d96f03cb8cdfbbe34ef786fcd85fac SHA512 804ff4c57e626b10827167a91aaa82e9acc46aea48b1a961ea50fff526c3fc012aa231f2ea269bd715a9f5294b684f8338d34356f738dd45f512228019a63633 -DIST pypdf-3.15.3.gh.tar.gz 7682634 BLAKE2B c0b4046152fecaaddab28e6c8220d001bb47cf958464f2e4c6507dd089810ad61ccbbf0922d592d190f3effc88ed0c0cf3331e634616e985aedc4a026d5e4f52 SHA512 8fc82cc204a807ab308b21c8665162710fd9a3fb58fd8177fe559b801247ad8a8c949ce58d2879b6b64c040d137eb6731a76b533308b30e556a59bd33ae6b12e -DIST pypdf-3.15.4.gh.tar.gz 7929672 BLAKE2B da8bbbe6f1df51be63d116789eb4626ab59e576f52327a53e0d02eef38dcbe8d3524a3a33bc6b9103920fdc6322d75e5e82e76ad88c4166b5d13cb4bcda3ed0f SHA512 8d7db1c52700a2c9ec37c1756d04555708f4c859394c4866316d94470742a8d7900e5ec5d8fb2124ad285efc4848071d373347353226959b21dff84425b46513 DIST pypdf-3.15.5.gh.tar.gz 7930893 BLAKE2B acdd6254c45e11631faccc4fd6029525d7cec52f7cf222d48f95a9bb736a83bdb9dfc6bf2830f55d0f881eb23ca0641c06fa97165c64789f7b152998febfe017 SHA512 173cfbfbbd5f2f08ebd03aa36750904d5a7ac328c27da1b38bda7b34586bf86eab391b3c1e9a6dd5f2e754d1871303afe151a80a3bb5d4ab867b6a019ecef054 -DIST pypdf-3.16.0.gh.tar.gz 7936276 BLAKE2B 9b20c57f3bd5ccce0bd5bf71c7e084117a37450ddd7e126b03d58920bfb5896151a3a42253a96cd2e316696a19fab4c1c1743988ba85585867dff45ae98c254a SHA512 23dbb67b1a4455326133f1621e763752994baba55cd85191bcb61691bfd43f2e29f7ee11eb5d65415897e7f7af3367d1dc830a0d0e2f6ff0e3103ccb3b60d0c7 -DIST pypdf-3.16.1.gh.tar.gz 7948024 BLAKE2B f35399af13418c4136d7f20763e875f5572759db0da25cada1bb076645db651a77c1e6cf244087cc2d3d6c9b786dfdbf887aa46ed8b48f9d0103618e60b0e8ad SHA512 d81b15c097c2eaa41ec421bc9fda47bd05f3cd3726834baff7024201c0a0f70d8cc5df5aae8471fe361be765b7874b4a93779eb3fdb1c266f8bdb4f1f3835ebd DIST pypdf-3.16.2.gh.tar.gz 7968803 BLAKE2B 7bca0cf5baefb79d9c3a76445fd5cf77478a2f076f5c3e6c891d9f107cbb2ee08535388ae1ba84b0aeaf63ebebfe54966603cbeb7a5a2c0b0327e7506893d893 SHA512 01dfdcf5038820dd0d922e57cfa3eae472a406eca4d24a46596028aa23d0bb88a805204faa3576e3ed4e49ba552619002b2be305498b31e9b96afa19a2575f7d DIST pypdf-sample-files-935652968f76a41b4fa51afd05498e7dd7314c5e.gh.tar.gz 11187445 BLAKE2B e9332009a49249fdaa8b6c29258b11dfcf3627a5550ea7402cf0288bb4b0537136b039e6f4aefb03574076d1fc0af6100effc0d36510f035d9e63836ad52c4d7 SHA512 8d525aa323e5b45f71130459faa9686ec4ae04bc594895a64f1a5b6d027f866c48aca78602ad526000a11b547cc77068d1ac5e733d3e3a99df0e257c02fbb9e7 DIST pypdf-sample-files-b60ca63512466d1bafc587a2b223961b23a8e48a.gh.tar.gz 11199764 BLAKE2B e68bfb587c26a7a0ba9bb687e2b44d607cf890454dc2e5380db4037cb9a0be571e72b178d5ac86a0556f09fc344fc6ea76ee87bf9c6dee63799853acaba714b0 SHA512 20ff1d623a67fd0b08e1dfefc47d29ed28b5c62f1e0ef5a32699876e265541d97c10067ec954a387ba4952319d6903fb3d4db97e686200f9142329db06a11a7b diff --git a/dev-python/pypdf/pypdf-3.15.1.ebuild b/dev-python/pypdf/pypdf-3.15.1.ebuild deleted file mode 100644 index 2e21eb5d23c2..000000000000 --- a/dev-python/pypdf/pypdf-3.15.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.15.2.ebuild b/dev-python/pypdf/pypdf-3.15.2.ebuild deleted file mode 100644 index f967c6c812a3..000000000000 --- a/dev-python/pypdf/pypdf-3.15.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.15.3.ebuild b/dev-python/pypdf/pypdf-3.15.3.ebuild deleted file mode 100644 index f967c6c812a3..000000000000 --- a/dev-python/pypdf/pypdf-3.15.3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.15.4.ebuild b/dev-python/pypdf/pypdf-3.15.4.ebuild deleted file mode 100644 index f967c6c812a3..000000000000 --- a/dev-python/pypdf/pypdf-3.15.4.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.15.5.ebuild b/dev-python/pypdf/pypdf-3.15.5.ebuild index f967c6c812a3..2e21eb5d23c2 100644 --- a/dev-python/pypdf/pypdf-3.15.5.ebuild +++ b/dev-python/pypdf/pypdf-3.15.5.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" BDEPEND=" test? ( diff --git a/dev-python/pypdf/pypdf-3.16.0.ebuild b/dev-python/pypdf/pypdf-3.16.0.ebuild deleted file mode 100644 index f967c6c812a3..000000000000 --- a/dev-python/pypdf/pypdf-3.16.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=935652968f76a41b4fa51afd05498e7dd7314c5e -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pypdf/pypdf-3.16.1.ebuild b/dev-python/pypdf/pypdf-3.16.1.ebuild deleted file mode 100644 index 6c2aa83bb7b4..000000000000 --- a/dev-python/pypdf/pypdf-3.16.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -SAMPLE_COMMIT=b60ca63512466d1bafc587a2b223961b23a8e48a -DESCRIPTION="Python library to work with PDF files" -HOMEPAGE=" - https://pypi.org/project/pypdf/ - https://github.com/py-pdf/pypdf/ -" -SRC_URI=" - https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - test? ( - https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz - -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz - ) -" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( - dev-python/cryptography[${PYTHON_USEDEP}] - >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # rely on -Werror - tests/test_utils.py::test_deprecate_no_replacement - tests/test_workflows.py::test_orientations - # TODO: requires fpdf - tests/test_page.py::test_compression -) - -src_unpack() { - default - if use test; then - mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die - fi -} - -python_test() { - epytest -o addopts= -m "not enable_socket" -} diff --git a/dev-python/pytest-env/Manifest b/dev-python/pytest-env/Manifest index eed9731c9169..dd0811bfabb3 100644 --- a/dev-python/pytest-env/Manifest +++ b/dev-python/pytest-env/Manifest @@ -1,3 +1 @@ -DIST pytest_env-0.8.2.tar.gz 7419 BLAKE2B c07140de76392bcf316935efaa52aea344c7167a95fe497c3702dd2aabc3150641f0903f2de6ee1794453dc2e5b1630d746b2fcb3dbcea8edb9ba066cde0a0b4 SHA512 6fbbb6b1db21ebeb47c472e10adb9bacedcdbbabceeaf93b01146ec7e175005aeef46616a4343bf02b23561c0ff5815506fe356f337371dfc057ee29521f68af -DIST pytest_env-1.0.0.tar.gz 7456 BLAKE2B 9eaf71aa05a9a4b8783184dce1f1779b5ee54da54839f1113c9276df7cb4c4ef6055aadad7d20063d4c5c24654f2d100970bdae540eac49b89f049b78be49e93 SHA512 9d25c704e253c11e77933911817ba2b42127c13c38615e1cbf11575cfced81c69a46603bef680ee371512788acb6359a76841019837d55151490fd1f093bb83b DIST pytest_env-1.0.1.tar.gz 7565 BLAKE2B 26aa1c6a5d44bbe40266bbb62ca62c687dd1d85aed821c271f301ff27a97fdc753d2cdf5feba8b223b33b5b05bf39c55c3df0f1f8f7aae77335f2052a65df6c0 SHA512 422aaa78e25fad7b447f06358b772cacf22d5441ae0aaac22863877424f44703c1329813b068d901d4f2fb9df21bb08a5e4082504b76102d02dd15087d527a01 diff --git a/dev-python/pytest-env/files/pytest-env-1.0.0-test.patch b/dev-python/pytest-env/files/pytest-env-1.0.0-test.patch deleted file mode 100644 index c86815ebc3a2..000000000000 --- a/dev-python/pytest-env/files/pytest-env-1.0.0-test.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4227409be9a2ca287f227e50fbf4c38ca237b676 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Thu, 24 Aug 2023 06:38:30 +0200 -Subject: [PATCH] Disable plugin autoloading in the test suite - -Disable plugin autoloading in the test suite to prevent other installed -plugins from interfering with the test results. This is particularly -important since tests are run with cleared environment that could break -other plugins (e.g. pytest-xvfb is broken by the lack of PATH). - -Fixes #48 ---- - tests/test_env.py | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/tests/test_env.py b/tests/test_env.py -index 16cd080..a409b60 100644 ---- a/tests/test_env.py -+++ b/tests/test_env.py -@@ -104,8 +104,15 @@ def test_env( - Path(str(tmp_dir / f"test_{test_name}.py")).symlink_to(Path(__file__).parent / "template.py") - (tmp_dir / "pytest.ini").write_text(ini, encoding="utf-8") - -+ new_env = { -+ **env, -+ "_TEST_ENV": repr(expected_env), -+ "PYTEST_DISABLE_PLUGIN_AUTOLOAD": "1", -+ "PYTEST_PLUGINS": "pytest_env.plugin", -+ } -+ - # monkeypatch persists env variables across parametrized tests, therefore using mock.patch.dict -- with mock.patch.dict(os.environ, {**env, "_TEST_ENV": repr(expected_env)}, clear=True): -+ with mock.patch.dict(os.environ, new_env, clear=True): - result = testdir.runpytest() - - result.assert_outcomes(passed=1) diff --git a/dev-python/pytest-env/pytest-env-0.8.2.ebuild b/dev-python/pytest-env/pytest-env-0.8.2.ebuild deleted file mode 100644 index ff53f6c364c5..000000000000 --- a/dev-python/pytest-env/pytest-env-0.8.2.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) -inherit distutils-r1 pypi - -DESCRIPTION="py.test plugin that allows you to add environment variables" -HOMEPAGE="https://github.com/pytest-dev/pytest-env" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86" - -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" -BDEPEND=">=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] - test? ( >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] )" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-env/pytest-env-1.0.0.ebuild b/dev-python/pytest-env/pytest-env-1.0.0.ebuild deleted file mode 100644 index 66ce1fd54f9b..000000000000 --- a/dev-python/pytest-env/pytest-env-1.0.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="pytest plugin that allows you to add environment variables" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-env/ - https://pypi.org/project/pytest-env/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" - -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/hatch-vcs-0.3[${PYTHON_USEDEP}] - test? ( - >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/pytest-dev/pytest-env/pull/49 - "${FILESDIR}/${P}-test.patch" -) - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/pytest-env/pytest-env-1.0.1.ebuild b/dev-python/pytest-env/pytest-env-1.0.1.ebuild index a525d6b4d29a..703101f7843d 100644 --- a/dev-python/pytest-env/pytest-env-1.0.1.ebuild +++ b/dev-python/pytest-env/pytest-env-1.0.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc ~ppc64 x86" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-ordering/Manifest b/dev-python/pytest-ordering/Manifest index ef887d6f8750..70e461ee5ebf 100644 --- a/dev-python/pytest-ordering/Manifest +++ b/dev-python/pytest-ordering/Manifest @@ -1,2 +1 @@ DIST pytest-ordering-0.6.gh.tar.gz 11046 BLAKE2B 468ae5f04029b96ed3058b7f429aec0aaf96092453b229c3de5eab174702af2c1a9fe83171c68d282c4a144b3dd736daf9ed87b9e139a7bd175114f504049ebc SHA512 fd3aec83914f64d1295e1a1bf3fdc580c6824a749a1da8cebae275fef940d6ed6e5dcafad321d94f504a153e13e298b6544dc3c2db716a6b25d3148c2365fe15 -DIST pytest-ordering-0.6.tar.gz 11046 BLAKE2B 468ae5f04029b96ed3058b7f429aec0aaf96092453b229c3de5eab174702af2c1a9fe83171c68d282c4a144b3dd736daf9ed87b9e139a7bd175114f504049ebc SHA512 fd3aec83914f64d1295e1a1bf3fdc580c6824a749a1da8cebae275fef940d6ed6e5dcafad321d94f504a153e13e298b6544dc3c2db716a6b25d3148c2365fe15 diff --git a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild deleted file mode 100644 index 1075bdd25339..000000000000 --- a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="pytest plugin to run your tests in a specific order" -HOMEPAGE=" - https://github.com/ftobia/pytest-ordering/ - https://pypi.org/project/pytest-ordering/ -" -SRC_URI="https://github.com/ftobia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" - -PATCHES=( - "${FILESDIR}/${P}-fix-pytest-6.patch" -) - -distutils_enable_tests --install pytest -distutils_enable_sphinx docs/source - -python_prepare_all() { - # TypeError: `args` parameter expected to be a list or tuple of strings, got: '--markers' (type: <class 'str'>) - sed -i -e 's:test_run_marker_registered:_&:' \ - tests/test_ordering.py || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/pytest-testinfra/Manifest b/dev-python/pytest-testinfra/Manifest index 09885e963357..15f6385581e6 100644 --- a/dev-python/pytest-testinfra/Manifest +++ b/dev-python/pytest-testinfra/Manifest @@ -1,2 +1 @@ -DIST pytest-testinfra-8.1.0.tar.gz 84156 BLAKE2B 169ccd6afc4260f3dd42c8eff8112395adc7216cfd3e5f7abeb9b9d3db0cd766465dd94a5ca500d610db469f0e51298b6fc26f3c0ffd27f2fc215d859c99e52d SHA512 2f98cc15952c5607ecc1db76bae90aa9d299951cd1f4c5f8ba6085a7f4e6babac7f4ef4e44e089829f7382139164259007125f505c18129cc7135b840d709931 DIST pytest-testinfra-9.0.0.tar.gz 83896 BLAKE2B 8d75bf051ec91916dcb9bc727409eefbf53f8635b5dd953d2c1d05a1d4daa37ade01a23bcc004f77ced37d8fb30684df211d16d95839c1a8d8e5d5c4df5336ca SHA512 bbf66597c473b868f0dde0437d666f8235e835a35bfd12b4a86f9970e26c1963d83101e7e0e3b3817e23798bee342f47ac7666041f0e09038236f9ddca4afecf diff --git a/dev-python/pytest-testinfra/pytest-testinfra-8.1.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-8.1.0.ebuild deleted file mode 100644 index 8eae6f0c9b1a..000000000000 --- a/dev-python/pytest-testinfra/pytest-testinfra-8.1.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Write unit tests in Python to test actual state of your servers" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-testinfra/ - https://pypi.org/project/pytest-testinfra/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] -" -# Ansible is called via its CLI -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - app-admin/ansible - $(python_gen_cond_dep ' - app-admin/salt[${PYTHON_USEDEP}] - ' python3_10) - dev-python/paramiko[${PYTHON_USEDEP}] - dev-python/pywinrm[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x EPYTEST_DESELECT=() - - # This is the only test which actually fails if salt cannot be imported - if [[ ${EPYTHON} == python3.11 ]]; then - EPYTEST_DESELECT+=( - test/test_backends.py::test_backend_importables - ) - fi - - epytest -} - -pkg_postinst() { - elog "For the list of available connection back-ends and their dependencies," - elog "please consult https://testinfra.readthedocs.io/en/latest/backends.html" -} diff --git a/dev-python/pytest-testinfra/pytest-testinfra-9.0.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-9.0.0.ebuild index d0b9fafb62aa..13dbf82eb196 100644 --- a/dev-python/pytest-testinfra/pytest-testinfra-9.0.0.ebuild +++ b/dev-python/pytest-testinfra/pytest-testinfra-9.0.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/python-stdnum/Manifest b/dev-python/python-stdnum/Manifest index 773e0a32e16d..0b4e63232368 100644 --- a/dev-python/python-stdnum/Manifest +++ b/dev-python/python-stdnum/Manifest @@ -1,2 +1 @@ -DIST python-stdnum-1.18.tar.gz 1138676 BLAKE2B 724afd5d015090023582bc078f278d4107a12d4f126a61eb026b69040654d0890dc0eb0aa197565e844c34f0426f7f0072dac2b8191ba3a15bc87ae7c0b73536 SHA512 ca211fa3f7a0c0a913c5b0c6e32cb477025e203eb4c0a648e47bf95cb361d800d620dc4ebcb3007eefbb5595098486963ffee71ea2c37f84d86443d01131db7c DIST python-stdnum-1.19.tar.gz 1134517 BLAKE2B a6e35abcd00302dff0c6df82c13691c4528de069b7702f905aabffd840b7d95902f2c74525d824606bc4b28579d38153367997a73910ab93afb4eb4272b76c40 SHA512 02c56aea710a9a02e14160840fbd45751cd00f1a49b1d046124945ba92e2dd3377006f44a146030522d09b92f809ceb4d1e3589ef3d9c9302f7674a79602ef07 diff --git a/dev-python/python-stdnum/python-stdnum-1.18.ebuild b/dev-python/python-stdnum/python-stdnum-1.18.ebuild deleted file mode 100644 index adb2012aec50..000000000000 --- a/dev-python/python-stdnum/python-stdnum-1.18.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_{8,9,10,11} ) -PYPI_NO_NORMALIZE=1 -inherit distutils-r1 pypi - -DESCRIPTION="A module to handle standardized numbers and codes" -HOMEPAGE=" - https://arthurdejong.org/python-stdnum/ - https://github.com/arthurdejong/python-stdnum/ - https://pypi.org/project/python-stdnum/ -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="vies" - -RDEPEND=" - vies? ( - || ( - dev-python/zeep[${PYTHON_USEDEP}] - dev-python/suds-community[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov.*::' setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/python-stdnum/python-stdnum-1.19.ebuild b/dev-python/python-stdnum/python-stdnum-1.19.ebuild index b7efe7bde32c..adb2012aec50 100644 --- a/dev-python/python-stdnum/python-stdnum-1.19.ebuild +++ b/dev-python/python-stdnum/python-stdnum-1.19.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="vies" RDEPEND=" diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index bda97de1e4c6..de573c13be6a 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1,2 +1,3 @@ DIST python-utils-3.7.0.tar.gz 29654 BLAKE2B ff306a2ee3e84585081f504ad50f117294698c75dd4d5015db6cf9326796d69aaf63365ac5bbedb3af4d41e4f18b7a05437860bf41cdb870e43f1ba75e92628c SHA512 df3b33dbf213c7099a5a17166ac1e01e9044bf6bb364de96a4b182831ff3216fe37edb7f94cb66f8d2fcab42cea404a9c4f27142890ae0e7510363815f47ad41 DIST python-utils-3.8.0.tar.gz 30397 BLAKE2B 05fb02505b233bfc6e8128a59e076b6fd81ee90bf5eda5ccf6f5476cf2f1796381fe392e8bce6d2a074aae1408c7ab267f5aff746349215765542497c9ca3d4b SHA512 0fcb1358eb1659d500a10fd6a9e6339b2d006f50d1656e4fd20a65c993e194d30fe204434d94f53872364cd67c6dbf68c0ed30cb1063571a6b143f1145e71bff +DIST python-utils-3.8.1.tar.gz 30545 BLAKE2B 9132387de0d12c51dbd4a7a3eda561fa9935c9fa86d76346e50e4ee9401065211a02bb45e89df402900263d28b115b761c2a8d7a2fe799866da20d4848f48451 SHA512 ccba9651cc99a8f4e3f13e7ff66a43a40d2e85bc735b6246524269495ff321225a0dcad9abd03ca9cb61b4b1b35a27009fac3fe87e3f748ffc5c87a956acd335 diff --git a/dev-python/python-utils/python-utils-3.8.1.ebuild b/dev-python/python-utils/python-utils-3.8.1.ebuild new file mode 100644 index 000000000000..2850b5219145 --- /dev/null +++ b/dev-python/python-utils/python-utils-3.8.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE=" + https://github.com/WoLpH/python-utils/ + https://pypi.org/project/python-utils/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs + _python_utils_tests/test_logger.py + python_utils/loguru.py +) + +python_prepare_all() { + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index 42d28cd3c2c8..17fdfa7405e5 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -1,2 +1 @@ DIST pytools-2023.1.1.tar.gz 75472 BLAKE2B a7d83dc55175d17fe7ded758279d236a9cd8f103fe7c9da2994a04dddd8799817509fbdd38466468ce4de2e5cd2984f4906f6f5524462cd72760ad32c6ebfab9 SHA512 0b8d4ec7145a42d9a679b7e08a05aa126c7d4514faa77e207fb154c84e56233b80dd49f388f261ba29e70e2cff836f6c850ea05af81360da8120756a0db35e6a -DIST pytools-2023.1.tar.gz 75361 BLAKE2B 79c3439587624e9d236e6afd8ab2effa66ebc18c5f297db6bfebaf40dbe139de4851fa29d7741b064260041491a6693201583186a361994a8997eaaa221fffb2 SHA512 1d035f8b5e155def84d084926ab43b7e4c634cf7b2cd3e3914513360570bf87da059c8109e0257797dbe84c4bc36af559c805b252c863f2145113ff681eb5974 diff --git a/dev-python/pytools/pytools-2023.1.1.ebuild b/dev-python/pytools/pytools-2023.1.1.ebuild index 1828a8b7da21..30d174bbe2d0 100644 --- a/dev-python/pytools/pytools-2023.1.1.ebuild +++ b/dev-python/pytools/pytools-2023.1.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="amd64 ~ppc64 ~riscv" # NB: numpy is now an "extra" (optional) dep -- we can remove it from # RDEPEND If revdeps don't need it diff --git a/dev-python/pytools/pytools-2023.1.ebuild b/dev-python/pytools/pytools-2023.1.ebuild deleted file mode 100644 index a706dc1dd1a1..000000000000 --- a/dev-python/pytools/pytools-2023.1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) -PYTHON_REQ_USE='sqlite' - -inherit distutils-r1 pypi - -DESCRIPTION="Collection of tools missing from the Python standard library" -HOMEPAGE=" - https://mathema.tician.de/software/pytools/ - https://github.com/inducer/pytools/ - https://pypi.org/project/pytools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc64" - -# NB: numpy is now an "extra" (optional) dep -- we can remove it from -# RDEPEND If revdeps don't need it -RDEPEND=" - >=dev-python/numpy-1.6.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" - -distutils_enable_tests pytest diff --git a/dev-python/rapidfuzz/rapidfuzz-3.3.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.3.0.ebuild index 4c92e3632bea..26cc3d77f9e3 100644 --- a/dev-python/rapidfuzz/rapidfuzz-3.3.0.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-3.3.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" # all these are header-only libraries DEPEND=" diff --git a/dev-python/readme-renderer/readme-renderer-42.0.ebuild b/dev-python/readme-renderer/readme-renderer-42.0.ebuild index 9fb2e33a6d32..3141237b0599 100644 --- a/dev-python/readme-renderer/readme-renderer-42.0.ebuild +++ b/dev-python/readme-renderer/readme-renderer-42.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ~x86" +KEYWORDS="amd64 arm arm64 ~loong x86" RDEPEND=" >=dev-python/docutils-0.13.1[${PYTHON_USEDEP}] diff --git a/dev-python/scipy/scipy-1.11.2.ebuild b/dev-python/scipy/scipy-1.11.2.ebuild index ae4de009a7fe..07a7c3d030f6 100644 --- a/dev-python/scipy/scipy-1.11.2.ebuild +++ b/dev-python/scipy/scipy-1.11.2.ebuild @@ -38,7 +38,7 @@ else )" if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + KEYWORDS="amd64 arm arm64 -hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" fi fi diff --git a/dev-python/selenium/Manifest b/dev-python/selenium/Manifest index 8f0bfefdf75e..93a59e9dc49f 100644 --- a/dev-python/selenium/Manifest +++ b/dev-python/selenium/Manifest @@ -1,4 +1,6 @@ DIST selenium-4.10.0.tar.gz 6465647 BLAKE2B ce6bb410753d922fb40f9613ad7a552c91a162f86a1efedfe39f3eee5af45db76cc8664aeb2d140186dfd5ff362c7654a019e21918f20439b1703cbd3572b005 SHA512 fca7b7cff54aad0771d60e4f85795e4205d2dd8dbf21abbd9ab2300fa80e7b033b08012d21792f18bf378e9c5234d82f410cc33f592d774eb94e418b325a2dd3 DIST selenium-4.12.0.tar.gz 9141240 BLAKE2B c55adef082cd6da9c4457f8dfef2b967fa19656ab05b903248455e55bde92c7ce834822094266699e6fe75c3882c424cde606575a17ee4d38f1cef4136dcb654 SHA512 ec440ef1f3e7ca477da7014b5c7e5bef04f4fab9419dea5e3d9efe5f97d1fbdad4d588e64393094c7b2dcc50343873df3a16335fd1ba495e23a5027343c2eea4 +DIST selenium-4.13.0.tar.gz 9266949 BLAKE2B fbf6bf204b47648d67f3205729db232097a92bc3fbb491bb98308e1171d4a7b090f57f5153f07a642a5e6f476c12758496021fc2a7fc02ea7d525d9e4bef5fb7 SHA512 9f1531a5693d1f67a7fcafd0623bfaf85876fa0bf6292679a04d5b3976b1e8a46ea2718ae61b8f2da68005d7b6e11cda6eb9390b0094756a26fadec839e3efe8 DIST selenium-selenium-4.10.0.gh.tar.gz 89775386 BLAKE2B a20416826ae85b13f2312799b5fef1d079e142330a23b06d5b1cb2f3ec98e3c26e483e65bb99027e7b18eae80f13e74347afdc88c8facfc268220bbd93d8107a SHA512 bd8a0ac5e976119b8bff8a0b570479ece666369f0aef3806d173e956639c9df591047d0d333bb6ea5bdad740d84c5ee454d9749e0ebc502c5700a96bb146e182 DIST selenium-selenium-4.12.0.gh.tar.gz 79906008 BLAKE2B 4ac3a4e134b29c1e866645a6ba3c799575b9f1d9854573edbcbe14a63f29fd05c822bfd97937091415e80d07bbeb3545f839b444e2e85e957b504cee8bc41ac7 SHA512 063780d555c41eabe0e3db3b7ddd3cb9793d0d733de457bc553235af158e76df7f29acb675a8987933037952393c2cd1940fbab81f515f3dd10dbc8daed13c17 +DIST selenium-selenium-4.13.0.gh.tar.gz 78263115 BLAKE2B 8f06ee9e6a8ac8a63c3f016d3e310ba22ac0bd5566f06f6d6f71f269084bafa00f0627aaf1103f2f28a8785e81ace1652b64a271a23fdc74a56c0bf118ccd2ca SHA512 7156b28326492efa189ec4d5e53e131f4e8fb3aea97ce6632b0a9a81e04e238645b4994e348fa6e3f689e5472f569dfe95fdb11a6bd8456381b85d41fb0ede61 diff --git a/dev-python/selenium/selenium-4.13.0.ebuild b/dev-python/selenium/selenium-4.13.0.ebuild new file mode 100644 index 000000000000..2206ae325187 --- /dev/null +++ b/dev-python/selenium/selenium-4.13.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +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/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/setuptools-rust/setuptools-rust-1.7.0.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.7.0.ebuild index 5d1cdcba9774..ef70a82d6fa3 100644 --- a/dev-python/setuptools-rust/setuptools-rust-1.7.0.ebuild +++ b/dev-python/setuptools-rust/setuptools-rust-1.7.0.ebuild @@ -124,7 +124,7 @@ SRC_URI=" # crates are used at test time only, update via pycargoebuild -L -i ... 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" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/sphinx-gallery/Manifest b/dev-python/sphinx-gallery/Manifest index 8943418154a6..3e1bc69619c8 100644 --- a/dev-python/sphinx-gallery/Manifest +++ b/dev-python/sphinx-gallery/Manifest @@ -1,2 +1 @@ -DIST sphinx-gallery-0.13.0.tar.gz 403284 BLAKE2B fac67eab0c49a756f4b73b05434c80b5876d241afae66bfd4d2f50b5ffb715f03da3e87146531c90632ecef0d092c5d087c3ada0d01a6df21c8032b3b60d1890 SHA512 26168e25ff46a34d7cf1d2d70e59d5e81bab6e57ec497f2a6e55e5356fb832b8fefc5a19976cc4fb495fdc1ef8b44a33de93cc7a6f376f72c9dbcaa94ed723ef DIST sphinx-gallery-0.14.0.tar.gz 408734 BLAKE2B f527eb58b565353722d669edf81a667b7c3e784480500ff03b5567b9214c27951438052db3f2dcba92b24e7224d5cd0017bfbe770132dc96ce3427ca463329a8 SHA512 c8a69af9dec9adf042214de0cb48d510ebb41d7bc4bb1e5767f3982b0e83d9dfa1a26028d939a1785d3894894d396840e437dc5c196bfc5318152d06240d84b9 diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild deleted file mode 100644 index e749f9a314bc..000000000000 --- a/dev-python/sphinx-gallery/sphinx-gallery-0.13.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Sphinx extension to automatically generate an examples gallery" -HOMEPAGE=" - https://github.com/sphinx-gallery/sphinx-gallery/ - https://sphinx-gallery.github.io/ - https://pypi.org/project/sphinx-gallery/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/joblib[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov-report= --cov=sphinx_gallery::' setup.cfg || die - distutils-r1_src_prepare -} - -EPYTEST_DESELECT=( - # Internet - sphinx_gallery/tests/test_docs_resolv.py::test_embed_code_links_get_data - sphinx_gallery/tests/test_full.py::test_run_sphinx - sphinx_gallery/tests/test_full.py::test_embed_links_and_styles - # require jupyterlite_sphinx - sphinx_gallery/tests/test_full.py - sphinx_gallery/tests/test_full_noexec.py - sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents - sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_non_default_contents - sphinx_gallery/tests/test_gen_gallery.py::test_create_jupyterlite_contents_with_jupyterlite_disabled_via_config -) diff --git a/dev-python/sphinx-gallery/sphinx-gallery-0.14.0.ebuild b/dev-python/sphinx-gallery/sphinx-gallery-0.14.0.ebuild index 37802f6f4874..8ddf01344855 100644 --- a/dev-python/sphinx-gallery/sphinx-gallery-0.14.0.ebuild +++ b/dev-python/sphinx-gallery/sphinx-gallery-0.14.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/matplotlib[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-rtd-theme/Manifest b/dev-python/sphinx-rtd-theme/Manifest index cc0c14a140ac..5ecf40944556 100644 --- a/dev-python/sphinx-rtd-theme/Manifest +++ b/dev-python/sphinx-rtd-theme/Manifest @@ -1,2 +1 @@ -DIST sphinx_rtd_theme-1.2.2.tar.gz 2784122 BLAKE2B af738c99a2406daa0372171a34c78ee14e955fee589ba49811ea50fd2cdeeee431367fde4d6a34d9e4f532d1ed6d079b1cebf4bb390b573fb5fe9cfc8f02b838 SHA512 44272272ce14387c1252ec40325ff8f9b40da6e37206333a8e0831cdce76c45efe58cf28f08132188d2799527a40e4ead881e8577776a123921b1cd908dd17fe DIST sphinx_rtd_theme-1.3.0.tar.gz 2785069 BLAKE2B f9849a72941024de7537a3517e226e2cdc6b2067e043bcdf8bbb4cc29cdf8b0be67121f721d92d30ffccea367af62ff0ce71d5d00d8eafbb65a2ebf4ef8e5159 SHA512 41e8ebffd057c1c6efb41a05547067016e73047a1894340df92bb7e4232559de15b200f57a34cf1cf9f66e4af7019d66d12939a68d3b2b46460a1794a10fc32e diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.2-r1.ebuild b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.2-r1.ebuild deleted file mode 100644 index 0856b03b76d7..000000000000 --- a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-1.2.2-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="ReadTheDocs.org theme for Sphinx" -HOMEPAGE=" - https://github.com/readthedocs/sphinx_rtd_theme/ - https://pypi.org/project/sphinx-rtd-theme/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/docutils[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.6[${PYTHON_USEDEP}] - >=dev-python/sphinxcontrib-jquery-4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/readthedocs-sphinx-ext[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove upper bounds - sed -i -e 's:,\?<[0-9.]*::' setup.cfg || die - distutils-r1_src_prepare - - # CI=1 disables rebuilding webpack that requires npm use - # yes, that surely makes sense - export CI=1 -} diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild index eca41f00a743..6fe803234e2d 100644 --- a/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.20.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples +sqlite test" RDEPEND=" diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index fd9ed7540f39..a886719172ca 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,3 +1,2 @@ -DIST time-machine-2.11.0.gh.tar.gz 28075 BLAKE2B 2eb07ac60d4014e5796fefcf5cb846d60fef1887fe01459d906a2118eddc924d60642131530f76e131080e2989f60263bda2fbcc0cc917e0f9452d16a4f640a6 SHA512 5bd5d76e2ecc392c249e86e2cfe54ee94a99a4e1cd1dd7e00b240e1299426d87a284ec270ae36aeb82acfe06d974d5aeca27ae977a480441e4daa5b852d00198 DIST time-machine-2.12.0.gh.tar.gz 27743 BLAKE2B 4ed0c9901edb9c698b8bbba6df80d12b06f344ad6ee8f9e89577264da1f0211774c2d227d02dc1ab0ceb5b905094168d19cdebc00a91a955d216729082ecbc28 SHA512 4708cdc3aa0ec06907d0ee1219ceb074947fc962ab6f0d3606e5273f3d64ca278bb43254d924c04364b967301cf69229ced70d7b1db92b0b6dff1523cccb2f82 DIST time-machine-2.13.0.gh.tar.gz 28747 BLAKE2B 88836d2b9ad34c8d256b576ab6b2bfe263232fb50d2e95f13049f84dbc838283811ebc54c5bb68493ef966e64777983ab6bcb7fafccda6dc74e00d3bb6a2108f SHA512 26a852d93633e037585ec8fcd563c86af8d977a87633dbeb66cf23c9ca49ca0ae536bdcdcdf809ee2ab423c197610c630d506bc3bf4f13c373d806cee2d8c598 diff --git a/dev-python/time-machine/time-machine-2.11.0.ebuild b/dev-python/time-machine/time-machine-2.11.0.ebuild deleted file mode 100644 index 9f81fdd1bbbb..000000000000 --- a/dev-python/time-machine/time-machine-2.11.0.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_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/time-machine/time-machine-2.12.0.ebuild b/dev-python/time-machine/time-machine-2.12.0.ebuild index c48ad84d8a0b..9f81fdd1bbbb 100644 --- a/dev-python/time-machine/time-machine-2.12.0.ebuild +++ b/dev-python/time-machine/time-machine-2.12.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] diff --git a/dev-python/tornado/Manifest b/dev-python/tornado/Manifest index 0f44ab068c5f..707c81e59bc3 100644 --- a/dev-python/tornado/Manifest +++ b/dev-python/tornado/Manifest @@ -1,2 +1 @@ -DIST tornado-6.3.2.tar.gz 508776 BLAKE2B 10cea881365ab72290ac9bc240dc7fa4e77511be1aa9d005e84fff1c494888d204935f5bf5101d102cc6e8f0995d41c0cc257e372d740f2aa47dc904032c434d SHA512 cd4be43672dcf0814536ad1b2b1dde045f25494a9f70facf0dbae5d3a71b112d0dbca235916948982922975d0d4c58efff880c0b432db382f58f25d65ef18c92 DIST tornado-6.3.3.tar.gz 509872 BLAKE2B 575928b932a912515730b23ab712d6107b27ccb37c703be722768442093d47623e27ed31f60816c4031cd04354182796275619f27896d970e350dbb51a341b0a SHA512 3d4b0f933f09b8f8d5de5f93662de73d97a0ed98f5b56e0810d803d537092c74e89315dc9aaa0af85f91e18eca64cf429f6f73bce29523ce56738398fa24a597 diff --git a/dev-python/tornado/tornado-6.3.2-r1.ebuild b/dev-python/tornado/tornado-6.3.2-r1.ebuild deleted file mode 100644 index ea8412f4153e..000000000000 --- a/dev-python/tornado/tornado-6.3.2-r1.ebuild +++ /dev/null @@ -1,75 +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_{8,9,10,11} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="Python web framework and asynchronous networking library" -HOMEPAGE=" - https://www.tornadoweb.org/ - https://github.com/tornadoweb/tornado/ - https://pypi.org/project/tornado/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-6.3.2-test-timeout-increase.patch - "${FILESDIR}"/${PN}-6.3.2-ignore-deprecationwarning.patch -) - -src_prepare() { - # network-sandbox? ipv6? - sed -i -e 's:test_localhost:_&:' \ - tornado/test/netutil_test.py || die - # regressions with py3.12, not important enough to block us - sed -e 's:test_chunked(:_&:' \ - -e 's:test_gzip:_&:' \ - -e 's:test_header_callback:_&:' \ - -i tornado/test/{curl_,simple_,}httpclient_test.py || die - - distutils-r1_src_prepare -} - -python_test() { - local -x ASYNC_TEST_TIMEOUT=60 - # Avoid time-sensitive tests - # https://github.com/tornadoweb/tornado/blob/10974e6ebee80a26a2a65bb9bd715cf858fafde5/tornado/test/util.py#L19 - local -x TRAVIS=1 - local -x NO_NETWORK=1 - - cd "${T}" || die - "${EPYTHON}" -m tornado.test.runtests --verbose || - die "tests failed under ${EPYTHON}" -} - -python_install_all() { - if use examples; then - docinto examples - dodoc -r demos/. - docompress -x /usr/share/doc/${PF}/examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/tox/tox-4.11.3.ebuild b/dev-python/tox/tox-4.11.3.ebuild index 0917bf35c2f2..f97ba965f0c6 100644 --- a/dev-python/tox/tox-4.11.3.ebuild +++ b/dev-python/tox/tox-4.11.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" 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" RDEPEND=" dev-python/cachetools[${PYTHON_USEDEP}] diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index d378a133991d..4e11230c8fe5 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1 @@ -DIST trimesh-3.23.3.gh.tar.gz 12720847 BLAKE2B 707f078c72058510504104fae2e293421df46c52eec307645fbe43f10f13ef3ccf81f4c6c14dcf9947c188b70a46b3b8305a325ddbc516bfa79efa0dfeb3f96e SHA512 20410056a8a50ecc3638247b4636768eb0bbee22adca1a5cd19ea8e25be5d60ab9fa5ff01f7a4e63e7da87afad0379849f67df753484f4e4cd3a5e40ba0b607a DIST trimesh-3.23.5.gh.tar.gz 12720153 BLAKE2B ef37eed712eb121529bf6bc724f96456a4dc86c7265b19d77a1bf578d2b5ffae043b5c3e0a03ad5be680125fcfced65ef933037defdc582e81d52b13ac11e9a9 SHA512 52783fe1c275aa121f412d5e2846d0d985e242a33e9c446e8bef538a53ba93b1f2e133e33e4f26390e1146ad8415c28fb146b2c74524c2aa20426819b1b875a0 diff --git a/dev-python/trimesh/trimesh-3.23.3.ebuild b/dev-python/trimesh/trimesh-3.23.3.ebuild deleted file mode 100644 index 983a36fc0a32..000000000000 --- a/dev-python/trimesh/trimesh-3.23.3.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 multiprocessing optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimsh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - sci-libs/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/mapbox_earcut[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - epytest -n "$(makeopts_jobs)" --dist=worksteal -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox_earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" sci-libs/scikit-image -} diff --git a/dev-python/trimesh/trimesh-3.23.5.ebuild b/dev-python/trimesh/trimesh-3.23.5.ebuild index 983a36fc0a32..bf4cf9e7e1cd 100644 --- a/dev-python/trimesh/trimesh-3.23.5.ebuild +++ b/dev-python/trimesh/trimesh-3.23.5.ebuild @@ -10,7 +10,7 @@ inherit distutils-r1 multiprocessing optfeature DESCRIPTION="Python library for loading and using triangular meshes" HOMEPAGE=" - https://trimsh.org/ + https://trimesh.org/ https://github.com/mikedh/trimesh/ https://pypi.org/project/trimesh/ " diff --git a/dev-python/twisted/twisted-23.8.0.ebuild b/dev-python/twisted/twisted-23.8.0.ebuild index c074525977f8..225c5fedef05 100644 --- a/dev-python/twisted/twisted-23.8.0.ebuild +++ b/dev-python/twisted/twisted-23.8.0.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" IUSE="conch http2 serial ssl test" RESTRICT="!test? ( test )" diff --git a/dev-python/watchfiles/watchfiles-0.20.0.ebuild b/dev-python/watchfiles/watchfiles-0.20.0.ebuild index d78553e56ccb..73761b263e28 100644 --- a/dev-python/watchfiles/watchfiles-0.20.0.ebuild +++ b/dev-python/watchfiles/watchfiles-0.20.0.ebuild @@ -82,7 +82,7 @@ LICENSE+=" || ( Artistic-2 CC0-1.0 ) " SLOT="0" -KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" =dev-python/anyio-3*[${PYTHON_USEDEP}] diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index 05670d3eda90..c000e58b0975 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-59.0.tar.gz 438338 BLAKE2B 8cad25b3d5bc30d5c13ed550b9ddf40f7657689e80e75996bf8fddbd51cbe7a967824b22b1e81ed413a5bcd8371bca2ed7c00dd98da9dc2e3c3bc24aa45c3c5b SHA512 58f81a1b3e3f1315caebd08f2cb556c89cb1aa818c13310998e72c436479c1a0d10031c7792502970490e73bd6fd769c836bd4e87be384fd83179957e71496e1 +DIST weasyprint-60.0.tar.gz 440912 BLAKE2B d4bea67398e8f39ae2d51f6295ac696b4076c250ad24768bc19ecaa0eb09e88d505635f669e34dd77693c60e36f7d6e701a456a87ecc429f7fa534223ccef89f SHA512 94abcd19a5798395ba8f9c5ddde616e877b359e5938f2c0247bb61550889af14aa00b1093ac547ecc94bb3a733ef5604daf251dad41a8418778ffb0aa561ab8a diff --git a/dev-python/weasyprint/weasyprint-60.0.ebuild b/dev-python/weasyprint/weasyprint-60.0.ebuild new file mode 100644 index 000000000000..0aacc112711a --- /dev/null +++ b/dev-python/weasyprint/weasyprint-60.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/html5lib-1.1[${PYTHON_USEDEP}] + >=dev-python/pillow-4.0.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.8.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + || ( + >=app-text/ghostscript-gpl-9.56.1-r3 + <app-text/ghostscript-gpl-9.56.0 + ) + media-fonts/ahem + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index 9eee9088e9e8..6300a07235af 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1,3 +1 @@ -DIST websocket-client-1.6.1.tar.gz 51324 BLAKE2B 7619f6a1dfe7c9df19e645f396b17695ba6e1cda8d06f99be2451c7b3f7d5fc745402abcab2f6b5ce260aab94ecba17439a1f7ff2612acc66dbd88e973f2f512 SHA512 eb784dffb2ad26b63e5890685ed46ccadee40687f4433a1b28392d468fdc1099192095899b56129f72b28e88960744bb5d4991d826476d77ec98bbf18df3f608 -DIST websocket-client-1.6.2.tar.gz 51467 BLAKE2B bc53499d22d78db722ab8e0c986d965028355269ad3def92b4dcb17c80eea079ad3fcb3201cb8b76aba5111dbf5a7311802097d916cb89c934f33b9a24e939de SHA512 51ba53a916c7716c3c017606c108a434a97042658b829518dbe2307a0f0b568a79d68a8b382a3e8530972f51a418f109546773cbc8872c05fa099fcbfb00d261 DIST websocket-client-1.6.3.tar.gz 51904 BLAKE2B e177e992a4642bf7965ac75686f1d9cd5fde8acbbcb736b5324a6f0ef5207ae8f8d050e3e394ea615558c51fad776a88e0c922b02f56afede1de915d4ca1fc4d SHA512 0146682307846a9f7b1e91577bd65790f8be1f958094e1c23b29fc9ab485280b43e476a7ce376cc65c7deec1a62766cc7d7172d6a718a19b8dc7a1948dac6f94 diff --git a/dev-python/websocket-client/websocket-client-1.6.1.ebuild b/dev-python/websocket-client/websocket-client-1.6.1.ebuild deleted file mode 100644 index 17327d2ba456..000000000000 --- a/dev-python/websocket-client/websocket-client-1.6.1.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 -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="WebSocket client for python with hybi13 support" -HOMEPAGE=" - https://github.com/websocket-client/websocket-client/ - https://pypi.org/project/websocket-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="examples" - -BDEPEND=" - test? ( - dev-python/python-socks[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/websocket-client/websocket-client-1.6.2.ebuild b/dev-python/websocket-client/websocket-client-1.6.2.ebuild deleted file mode 100644 index a8477658992e..000000000000 --- a/dev-python/websocket-client/websocket-client-1.6.2.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 -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="WebSocket client for python with hybi13 support" -HOMEPAGE=" - https://github.com/websocket-client/websocket-client/ - https://pypi.org/project/websocket-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="examples" - -BDEPEND=" - test? ( - dev-python/python-socks[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - dodoc -r examples - fi - distutils-r1_python_install_all -} diff --git a/dev-python/websocket-client/websocket-client-1.6.3.ebuild b/dev-python/websocket-client/websocket-client-1.6.3.ebuild index a8477658992e..17327d2ba456 100644 --- a/dev-python/websocket-client/websocket-client-1.6.3.ebuild +++ b/dev-python/websocket-client/websocket-client-1.6.3.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" 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" IUSE="examples" BDEPEND=" diff --git a/dev-python/websockify/Manifest b/dev-python/websockify/Manifest index 4234752f0452..e92af3c83f31 100644 --- a/dev-python/websockify/Manifest +++ b/dev-python/websockify/Manifest @@ -1,2 +1 @@ -DIST websockify-0.10.0.gh.tar.gz 53402 BLAKE2B e909dc316d6dd0ee03ee23b07ca2d78cc60994a8f361b3968759c382c704637357848e903fb12af002b5d5b2bec957f9a4c2b0ddb0e6d008ff9b4a462f3e8871 SHA512 262071f4858e5e3b6471c6f3731d8715c5c13fcc5f43738a330323958a8f0cbe7797847bdc676f1c6c34055c6f8afb949d005a5607d6b220b893910ff973ddc5 DIST websockify-0.11.0.gh.tar.gz 55126 BLAKE2B df49e8025ea0341b7f8d329a3b3dcddc08df3d0b42bbcb33d25726df8fee1f0a8791d552c9019a3ae514549619a0f3cc9c7861ff4f30017f27498f7465fd5d11 SHA512 cbae6abdee3c9ba6e78c2245fa7ebc4bd6aa96a534b8577da1ae9acd316dd146cece6ceb6f6cdca9c1ddcb3cbaff69e0fc3c3d6048b9374b0937abb91843bf72 diff --git a/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch b/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch deleted file mode 100644 index 9da2cfe093dc..000000000000 --- a/dev-python/websockify/files/websockify-0.10.0-fix-jwcrypto-1.3.patch +++ /dev/null @@ -1,114 +0,0 @@ -From 0f175003480b666fba78a5eda8dbc1dee07917dd Mon Sep 17 00:00:00 2001 -From: Javier Cacheiro <javier.cacheiro.lopez@cesga.es> -Date: Wed, 25 May 2022 12:40:29 +0200 -Subject: [PATCH] Support for jwcrypto>=1.3 - ---- - tests/test_token_plugins.py | 20 ++++++++++---------- - websockify/token_plugins.py | 4 ++-- - 2 files changed, 12 insertions(+), 12 deletions(-) - -diff --git a/tests/test_token_plugins.py b/tests/test_token_plugins.py -index 00078c7..3e1fd19 100644 ---- a/tests/test_token_plugins.py -+++ b/tests/test_token_plugins.py -@@ -4,7 +4,7 @@ - - import unittest - from unittest.mock import patch, mock_open, MagicMock --from jwcrypto import jwt -+from jwcrypto import jwt, jwk - - from websockify.token_plugins import ReadOnlyTokenFile, JWTTokenApi, TokenRedis - -@@ -56,7 +56,7 @@ class JWSTokenTestCase(unittest.TestCase): - def test_asymmetric_jws_token_plugin(self): - plugin = JWTTokenApi("./tests/fixtures/public.pem") - -- key = jwt.JWK() -+ key = jwk.JWK() - private_key = open("./tests/fixtures/private.pem", "rb").read() - key.import_from_pem(private_key) - jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': "remote_port"}) -@@ -71,7 +71,7 @@ def test_asymmetric_jws_token_plugin(self): - def test_asymmetric_jws_token_plugin_with_illigal_key_exception(self): - plugin = JWTTokenApi("wrong.pub") - -- key = jwt.JWK() -+ key = jwk.JWK() - private_key = open("./tests/fixtures/private.pem", "rb").read() - key.import_from_pem(private_key) - jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': "remote_port"}) -@@ -85,7 +85,7 @@ def test_asymmetric_jws_token_plugin_with_illigal_key_exception(self): - def test_jwt_valid_time(self, mock_time): - plugin = JWTTokenApi("./tests/fixtures/public.pem") - -- key = jwt.JWK() -+ key = jwk.JWK() - private_key = open("./tests/fixtures/private.pem", "rb").read() - key.import_from_pem(private_key) - jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': "remote_port", 'nbf': 100, 'exp': 200 }) -@@ -102,7 +102,7 @@ def test_jwt_valid_time(self, mock_time): - def test_jwt_early_time(self, mock_time): - plugin = JWTTokenApi("./tests/fixtures/public.pem") - -- key = jwt.JWK() -+ key = jwk.JWK() - private_key = open("./tests/fixtures/private.pem", "rb").read() - key.import_from_pem(private_key) - jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': "remote_port", 'nbf': 100, 'exp': 200 }) -@@ -117,7 +117,7 @@ def test_jwt_early_time(self, mock_time): - def test_jwt_late_time(self, mock_time): - plugin = JWTTokenApi("./tests/fixtures/public.pem") - -- key = jwt.JWK() -+ key = jwk.JWK() - private_key = open("./tests/fixtures/private.pem", "rb").read() - key.import_from_pem(private_key) - jwt_token = jwt.JWT({"alg": "RS256"}, {'host': "remote_host", 'port': "remote_port", 'nbf': 100, 'exp': 200 }) -@@ -132,7 +132,7 @@ def test_symmetric_jws_token_plugin(self): - plugin = JWTTokenApi("./tests/fixtures/symmetric.key") - - secret = open("./tests/fixtures/symmetric.key").read() -- key = jwt.JWK() -+ key = jwk.JWK() - key.import_key(kty="oct",k=secret) - jwt_token = jwt.JWT({"alg": "HS256"}, {'host': "remote_host", 'port': "remote_port"}) - jwt_token.make_signed_token(key) -@@ -147,7 +147,7 @@ def test_symmetric_jws_token_plugin_with_illigal_key_exception(self): - plugin = JWTTokenApi("wrong_sauce") - - secret = open("./tests/fixtures/symmetric.key").read() -- key = jwt.JWK() -+ key = jwk.JWK() - key.import_key(kty="oct",k=secret) - jwt_token = jwt.JWT({"alg": "HS256"}, {'host': "remote_host", 'port': "remote_port"}) - jwt_token.make_signed_token(key) -@@ -159,8 +159,8 @@ def test_symmetric_jws_token_plugin_with_illigal_key_exception(self): - def test_asymmetric_jwe_token_plugin(self): - plugin = JWTTokenApi("./tests/fixtures/private.pem") - -- private_key = jwt.JWK() -- public_key = jwt.JWK() -+ private_key = jwk.JWK() -+ public_key = jwk.JWK() - private_key_data = open("./tests/fixtures/private.pem", "rb").read() - public_key_data = open("./tests/fixtures/public.pem", "rb").read() - private_key.import_from_pem(private_key_data) -diff --git a/websockify/token_plugins.py b/websockify/token_plugins.py -index 4dc29de..19005d3 100644 ---- a/websockify/token_plugins.py -+++ b/websockify/token_plugins.py -@@ -103,10 +103,10 @@ class JWTTokenApi(BasePlugin): - - def lookup(self, token): - try: -- from jwcrypto import jwt -+ from jwcrypto import jwt, jwk - import json - -- key = jwt.JWK() -+ key = jwk.JWK() - - try: - with open(self.source, 'rb') as key_file: diff --git a/dev-python/websockify/websockify-0.10.0-r2.ebuild b/dev-python/websockify/websockify-0.10.0-r2.ebuild deleted file mode 100644 index 7649ca7fc4c2..000000000000 --- a/dev-python/websockify/websockify-0.10.0-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="WebSockets support for any application/server" -HOMEPAGE=" - https://github.com/novnc/websockify/ - https://pypi.org/project/websockify/ -" -SRC_URI=" - https://github.com/novnc/websockify/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jwcrypto[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/${P}-fix-jwcrypto-1.3.patch" -) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # TODO: incompatible with current jwcrypto? (not a regression) - tests/test_token_plugins.py::JWSTokenTestCase::test_asymmetric_jwe_token_plugin -) - -python_install_all() { - doman docs/${PN}.1 - distutils-r1_python_install_all -} diff --git a/dev-python/websockify/websockify-0.11.0.ebuild b/dev-python/websockify/websockify-0.11.0.ebuild index 8356706bc288..51cf2d35f01b 100644 --- a/dev-python/websockify/websockify-0.11.0.ebuild +++ b/dev-python/websockify/websockify-0.11.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" RDEPEND=" dev-python/jwcrypto[${PYTHON_USEDEP}] diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index e911607d3f4d..0de60b397db9 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1,2 +1 @@ -DIST wheel-0.41.1.tar.gz 97605 BLAKE2B 499474c0f8e6cedf68566981b45f47e3460920c4ef0f64780c8b585360633197befe1dca453df68318b152c3912b0f94ce7c830ca08f98740ce63f1be297b2e9 SHA512 706db476563f35d16b6657b81c81290fb684ee0cf4ba54d11faafe00ccbc626b43736dfc59d1f75469f82b4f6006db35dba5d4c9bc2a1a436aeafcbe94386714 DIST wheel-0.41.2.tar.gz 98050 BLAKE2B 211c3021179e2f80036f57d59583ac449e91558e64fb10cc5b925d93f7288c6db444ca2ac35a20b13a2646641885c094faa458b591554f3bd926c53a3d099ec2 SHA512 46632c2e61f286d33609bc7f954da86c537e4c70b30cb57e79ae8fd5e4422f4fb46dcf2434361d3c6b45b9e5adc6cbf33daa1cd2fc40f31a393162c97ed38356 diff --git a/dev-python/wheel/wheel-0.41.1.ebuild b/dev-python/wheel/wheel-0.41.1.ebuild deleted file mode 100644 index a985e2faeca8..000000000000 --- a/dev-python/wheel/wheel-0.41.1.ebuild +++ /dev/null @@ -1,40 +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_{8,9,10,11} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A built-package format for Python" -HOMEPAGE=" - https://github.com/pypa/wheel/ - https://pypi.org/project/wheel/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/setuptools[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unbundle packaging - rm -r src/wheel/vendored || die - sed -i -e 's:\.vendored\.::' src/wheel/*.py || die - sed -i -e 's:wheel\.vendored\.::' tests/*.py || die - - distutils-r1_src_prepare -} diff --git a/dev-python/xarray/xarray-2023.8.0.ebuild b/dev-python/xarray/xarray-2023.8.0.ebuild index 6910a5fd68ed..d5c503c11f23 100644 --- a/dev-python/xarray/xarray-2023.8.0.ebuild +++ b/dev-python/xarray/xarray-2023.8.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/numpy-1.22[${PYTHON_USEDEP}] diff --git a/dev-python/xcffib/xcffib-1.5.0.ebuild b/dev-python/xcffib/xcffib-1.5.0.ebuild index b84e77e8bf50..a2e3349bb60f 100644 --- a/dev-python/xcffib/xcffib-1.5.0.ebuild +++ b/dev-python/xcffib/xcffib-1.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86" DEPEND=" x11-libs/libxcb diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index eb7c8ec67992..7f3f611194a7 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,4 +1,5 @@ DIST zeroconf-0.108.0.tar.gz 154905 BLAKE2B c5ec272233faca801f30a0699a71a410f29d13565890ef25eb3ad164914fbe7a9f282c082cfe8fef3c47a72e92b5e1e33b6ccaefb96b30d3d2cb82dc624ec072 SHA512 a5206b548a8d32ac082e6aaff63437f488d5cac4200b24d2a8c9343e6bc859afb237d6e8003c569174c6c91ed2bba65044f37f730fb4d40664be70691d84d4ee DIST zeroconf-0.112.0.tar.gz 155715 BLAKE2B ce19e2d7798f3bc4e6e3ae5b6d319594f6941b9ea5b383fff1bc072ca86a62edc09bfa37caf67fd5dee492df2e704ccb383c7dea180c94514152b262446a99c0 SHA512 855da760f60ecace67722cf00ef0b8185907765a08dd30fb6796fc2efb9d233b8b9be12f2b69898efda041343647934b59b5b3ef57a457ba094d67349efad57c DIST zeroconf-0.113.0.tar.gz 155892 BLAKE2B 4de635a601349d2db2e2a0e72c0a1a130e3f9590bde2b1adfd603e758a17362a7588e90dfeeed91841317c0bc977f51ca176fa4e94734641ca8249436e78844c SHA512 e9000ea6d2787598b3203c79446c0f5f5efc833abcc2b625542850383e9905be023c89938adace8f7c06d46fb88263bb556281f0929fb1d5fa822dd55cbe9751 +DIST zeroconf-0.114.0.tar.gz 156001 BLAKE2B b3bc076746f5d510ba655dc5de748e7ff7cb0c0b4db371369a0b886828d0721b92b47d3f8c4cf74135aa1642ffef5e4953c12160060a25b714072f3c50215d63 SHA512 e03ac6c6861112e4164a2f20cf1fe2492c39e636c57673b1a2a65d0ac67abfa24739662e27a9628b06add8e5f38554c53b8612c8ff685ed0ad8c97dab51e6250 DIST zeroconf-0.91.1.tar.gz 150551 BLAKE2B 220e6b5684d503c7d1c594196ffa7ecc4f06975accad2ad64a6dd0a75881326110bbf897e74a2a176307fc392fc9fce903c77bbf9fc70fec84f193072bd7a016 SHA512 852946a2f823de1dc25dda5321ec23c67e3893fd8dcf55391e001afb01eb4c8143813aaa0950fddbea6634975eb0904a6e3b500cbe082e843da301c0cd704e9a diff --git a/dev-python/zeroconf/zeroconf-0.114.0.ebuild b/dev-python/zeroconf/zeroconf-0.114.0.ebuild new file mode 100644 index 000000000000..3df0828376ec --- /dev/null +++ b/dev-python/zeroconf/zeroconf-0.114.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" +HOMEPAGE=" + https://github.com/python-zeroconf/python-zeroconf/ + https://pypi.org/project/zeroconf/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# the build system uses custom build script that uses distutils to build +# C extensions, sigh +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export REQUIRE_CYTHON=1 + +python_test() { + local -x SKIP_IPV6=1 + local EPYTEST_DESELECT=( + # network + tests/test_core.py::Framework::test_close_multiple_times + tests/test_core.py::Framework::test_launch_and_close + tests/test_core.py::Framework::test_launch_and_close_context_manager + + # fragile to timeouts (?) + tests/services/test_browser.py::test_service_browser_expire_callbacks + tests/utils/test_asyncio.py::test_run_coro_with_timeout + ) + + epytest -o addopts= +} |
