diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-05 18:09:46 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-05 18:09:46 +0000 |
| commit | d97b52a1f0f276af33159bc75dc7a1c5e079ab1c (patch) | |
| tree | 8e6e29bdf60c25a480811028b21711f7f39eceb6 /dev-python | |
| parent | 7535e765bdf18b56c4107257e540b93a4e6e0529 (diff) | |
| download | baldeagleos-repo-d97b52a1f0f276af33159bc75dc7a1c5e079ab1c.tar.gz baldeagleos-repo-d97b52a1f0f276af33159bc75dc7a1c5e079ab1c.tar.xz baldeagleos-repo-d97b52a1f0f276af33159bc75dc7a1c5e079ab1c.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
149 files changed, 1355 insertions, 2389 deletions
diff --git a/dev-python/aioredis/Manifest b/dev-python/aioredis/Manifest deleted file mode 100644 index 9ce6ff4044e3..000000000000 --- a/dev-python/aioredis/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST aioredis-1.3.1.tar.gz 155577 BLAKE2B eb96758c2cdd4efabe35acc4c0062c2a3d5f7b21dffdb5feacdf2967c0b6b9e7d78a801d839b8482154cc2b4de80df151be8360528e0ae3983d3ffab9f725589 SHA512 12ab821008582435ac4c4c207b7f4c75218eca072cad05d7a91961a1c8801aac18742260fa74b0aa0f1fcd05cc40e30c98ffda94f1b1b5b21a61fd6973bce1e6 -DIST aioredis-2.0.1.tar.gz 111047 BLAKE2B 56f520110bee1a5ef2c19171b6c4c5d6cd4ac440892d36edc4ebf274e7b4ac184fd9e090ad79922f609de4b1dc403a1caa38b271cb1f938357ab9f01ea3f8bfc SHA512 9c2c3fe3e4e4a91e9ca727f8ad78c7c4e6ce1109e4a3043d9ddb929606b6879b1522f3845a3b18d8586ed557a4ab0f6288f27f2b6b0e307343e113f9b9b5fd76 -EBUILD aioredis-1.3.1.ebuild 1558 BLAKE2B 84c6515dae4eabf8862978a3ee4fd0af9a344ac8a7555d9f739ae46a1205f682889b6f9bbabb4534d50d3e29a6b669acfb56d5d3d20ca2bbfa8e73deea0fcff1 SHA512 6e26cb0e1672ae7b8673bf99cac5efaea1e01110d034ce3bc0df32a0020591ef4d0e7b37d52811100f9978b9c17f23bb9e2dda1795317d90d6a1da20fb36544d -EBUILD aioredis-2.0.1.ebuild 2127 BLAKE2B bbd1f571fd09f9701ac49e4b08f073969c06c122a92b7bbec126ba1c7a5cbf10e4996eb99df267edad9cc3f22f04fb11e659c4a555b7c6a01b78c0494ee2035c SHA512 8232bd4ad046f4b83ed821e0f62e7029e628dc3ef50c463dff1f79fb6076b32ad4a8f69a9e02ee64f2f8eadac4599008aac55dc23c317c64f6ce0d731bfe2b8b -MISC metadata.xml 455 BLAKE2B 13a9204b5ab5fda06a10c63d05adf834859064ca20d97c7c5168d71662bf2465a1d6311582d3484304958d7c2944c02cd82f4a8977c4a1aebab6e3db4936962d SHA512 a997c25d76ba5241b2b806f7ce262feb944472bd8abbfc2bb50593c736daacfa2e648b37f8be7d1abe8416a57f9dc2ea6a7c438cb4e05af219d9d3740d1e9593 diff --git a/dev-python/aioredis/aioredis-1.3.1.ebuild b/dev-python/aioredis/aioredis-1.3.1.ebuild deleted file mode 100644 index f460b98a82d7..000000000000 --- a/dev-python/aioredis/aioredis-1.3.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="asyncio (PEP 3156) Redis support" -HOMEPAGE="https://github.com/aio-libs/aioredis-py" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/hiredis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - net-misc/socat - ) -" - -DOCS=( README.rst ) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Failing tests - tests/connection_commands_test.py::test_auth - tests/connection_test.py::test_connect_tcp_timeout - tests/connection_test.py::test_connect_unixsocket_timeout - tests/pool_test.py::test_create_connection_timeout - tests/pool_test.py::test_pool_idle_close - tests/sentinel_commands_test.py::test_master__auth - tests/sentinel_failover_test.py::test_auto_failover - tests/sentinel_failover_test.py::test_failover_command - tests/server_commands_test.py::test_client_list - tests/server_commands_test.py::test_client_list__unixsocket - tests/server_commands_test.py::test_command_info - tests/server_commands_test.py::test_config_set - tests/server_commands_test.py::test_debug_object - tests/server_commands_test.py::test_debug_sleep - tests/stream_commands_test.py::test_xgroup_create - tests/stream_commands_test.py::test_xgroup_create_mkstream -) - -python_prepare_all() { - sed -e '/^addopts/d' -i setup.cfg - # Certificate needed - rm tests/ssl_test.py - - distutils-r1_python_prepare_all -} diff --git a/dev-python/aioredis/aioredis-2.0.1.ebuild b/dev-python/aioredis/aioredis-2.0.1.ebuild deleted file mode 100644 index 02ff1a99531d..000000000000 --- a/dev-python/aioredis/aioredis-2.0.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="asyncio (PEP 3156) Redis support" -HOMEPAGE="https://github.com/aio-libs/aioredis-py" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/hiredis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio - ) -" - -DOCS=( README.md CHANGELOG.md ) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # Failing tests - tests/test_commands.py::TestRedisCommands::test_acl_getuser_setuser - tests/test_commands.py::TestRedisCommands::test_acl_list - tests/test_commands.py::TestRedisCommands::test_config_set - tests/test_commands.py::TestRedisCommands::test_readwrite - tests/test_commands.py::TestRedisCommands::test_xclaim_trimmed - tests/test_commands.py::TestRedisCommands::test_xgroup_create - tests/test_commands.py::TestRedisCommands::test_xgroup_create_mkstream - tests/test_commands.py::TestRedisCommands::test_xgroup_setid - tests/test_connection_pool.py::TestConnection::test_busy_loading_disconnects_socket - tests/test_connection_pool.py::TestConnection::test_busy_loading_from_pipeline - tests/test_connection_pool.py::TestConnection::test_busy_loading_from_pipeline_immediate_command - tests/test_connection_pool.py::TestConnection::test_connect_invalid_password_supplied - tests/test_connection_pool.py::TestConnection::test_connect_no_auth_supplied_when_required - tests/test_connection_pool.py::TestConnection::test_read_only_error -) - -python_prepare_all() { - echo -e '[tool:pytest]\nasyncio_mode = auto' >> setup.cfg - - distutils-r1_python_prepare_all -} - -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 - 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/aioredis/metadata.xml b/dev-python/aioredis/metadata.xml deleted file mode 100644 index d799f7bc0ae4..000000000000 --- a/dev-python/aioredis/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/aio-libs/aioredis-py/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/annotated-types/Manifest b/dev-python/annotated-types/Manifest index f7a4f537b7ea..ccb7b89c096d 100644 --- a/dev-python/annotated-types/Manifest +++ b/dev-python/annotated-types/Manifest @@ -1,2 +1 @@ -DIST annotated_types-0.6.0.tar.gz 14670 BLAKE2B 9390abe727f9b7a777e8266e192e032e2f36703c76a60e7fa34dd5517db8129f75e617b67ff88e9f299d10dd3f076d6793bf86e04b6230f2c4df886a8e0719cb SHA512 6b7f6fa23f47758d955822564227173951d6ddd854397b0c996bb6adeadd9caebfab6d193595be17003c1ef0e81a6bd8e20ec8221a70ffa35f9a4414300e788d DIST annotated_types-0.7.0.tar.gz 16081 BLAKE2B 45f536bafb0a9dead41a7fcafe50304508df5024921c2b3637ba51ff144d46fd8cba4d503a65fcec1a973cf2cd791074a83d72fbd2f17269bd9a2d2b9f8c114e SHA512 8a6dd7274270397f7779fc4ca242997ad2ea739b530be5abcc30a72d1e4042fc08753ab432c3d9c7a53c7474b3794504062f68235885cfb6c688cce0700d8758 diff --git a/dev-python/annotated-types/annotated-types-0.6.0.ebuild b/dev-python/annotated-types/annotated-types-0.6.0.ebuild deleted file mode 100644 index 3c6eccd7666f..000000000000 --- a/dev-python/annotated-types/annotated-types-0.6.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Reusable constraint types to use with typing.Annotated" -HOMEPAGE=" - https://github.com/annotated-types/annotated-types/ - https://pypi.org/project/annotated-types/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/annotated-types/annotated-types-0.7.0.ebuild b/dev-python/annotated-types/annotated-types-0.7.0.ebuild index be7f0696d8ab..ed23432c15c6 100644 --- a/dev-python/annotated-types/annotated-types-0.7.0.ebuild +++ b/dev-python/annotated-types/annotated-types-0.7.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/astroid/astroid-3.2.2.ebuild b/dev-python/astroid/astroid-3.2.2.ebuild index 659f7d994c7f..755ae225c2ec 100644 --- a/dev-python/astroid/astroid-3.2.2.ebuild +++ b/dev-python/astroid/astroid-3.2.2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" # Version specified in pyproject.toml RDEPEND=" diff --git a/dev-python/aws-xray-sdk/Manifest b/dev-python/aws-xray-sdk/Manifest index 59296ce34e47..e32dacc3ee48 100644 --- a/dev-python/aws-xray-sdk/Manifest +++ b/dev-python/aws-xray-sdk/Manifest @@ -1,2 +1,2 @@ -DIST aws-xray-sdk-python-2.13.0.gh.tar.gz 276162 BLAKE2B 60a8cf121139b5a704f47676a10534a7e9e5cbbcadc3a10e2f864f2d6baef8b0d8fe82ef9356d3e459d21628584ec98d4a89ad31b8d982dc8859d0cdb0240999 SHA512 c36907788a891a8adef94591172c53dcc0ebde5c0a3552154a313d93af66d50d88aa3422c1abeba89e629aa224beee5eb17e14f272ee312c76aa7f437fadb77c DIST aws-xray-sdk-python-2.13.1.gh.tar.gz 276762 BLAKE2B 3be776b549ff9d0684670b30bbcd3323bf41ea6b8cc6ca2c2de0c3e7b168386ff9776472d53874c30c34fa1e21e890366270639df8319133ca250aa26deb8802 SHA512 6410fe3664ab82fcf6b1770f6e5ec9416d5cf28e9a11940a9dab0816a699696e91befdc642d7c3fdfde37cf6d19a0213e833be831d8cb0ac9645c3e16919d780 +DIST aws-xray-sdk-python-2.14.0.gh.tar.gz 276813 BLAKE2B ce9a6c8a3b9acd4cb1e538c75702bebc1e392d350a999e8c609ddb900acadd0ecef11b2ce326786a64a73de3d84b0e18e6f4dd4ad91ece6a13283d727039925c SHA512 e9f7a299e35741a63de999dbd4931b82aab97b4c690e9abec4d25106a4a1b1dbbda605b7ec8541000f97cdcf17fed1283abf8d561db63cc4ac1ed11405458f29 diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild index ab04d9db149d..48cc448d4473 100644 --- a/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.0.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.14.0.ebuild index c47e98b6f8ae..ab04d9db149d 100644 --- a/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.0.ebuild +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.14.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] @@ -86,5 +86,6 @@ python_test() { tests/ext/sqlalchemy ) - epytest -p no:django + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest } diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index 84564c521f0a..7a6f26b16bec 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1,2 +1,2 @@ -DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab SHA512 3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62 DIST b2sdk-2.0.0.tar.gz 378875 BLAKE2B 0d65eb0b9238fccb5f6ef2252280cb9891c1fbf9bfddc2ef38692f5063fc0384eefab26876126d9dc056f178788e72a970f604fb8f9952e1ef6cd62a2417ab9d SHA512 97700574cd948a8a177bb52edc89e67d8f1cf6efcc7227c8581af30cdc95dc7e54afd30357f5723f2abee05cdbbf17d6b26494c586c2851782bebb72224386c0 +DIST b2sdk-2.3.0.tar.gz 390949 BLAKE2B e14c9fc56b7ed66350b8d73456dd50b0f6fdb40d7a6fe73cf7950afcb25bb5257a63bb361d8cbca99116b4999a2b0195967b4e08aff5ca9aaf5c16e4b4b532eb SHA512 29ba07581d0e587b413396f128d7fe14f8ac25ea0553eef69e1c428823690974d9373db727321f9838886a07946c36defdd5bae24d31266751d6b1a2f05968c6 diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild b/dev-python/b2sdk/b2sdk-1.21.0.ebuild deleted file mode 100644 index a2d117b1ede8..000000000000 --- a/dev-python/b2sdk/b2sdk-1.21.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -inherit distutils-r1 - -DESCRIPTION="The client library for BackBlaze's B2 product" -HOMEPAGE="https://github.com/Backblaze/b2-sdk-python" -SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( - "${FILESDIR}/${PN}-1.17.2-disable-requirement-installation.patch" -) - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] - >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] - ') -" - -distutils_enable_tests pytest - -BDEPEND+=" test? ( - $(python_gen_cond_dep ' - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}] - ') -)" - -# These tests seem to require some b2 authentication (they're integration tests -# so this is not unreasonable) -python_test() { - # note: used to avoid an ExcessiveLineLength lint below. - local sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py" - epytest \ - --deselect test/integration/test_large_files.py::TestLargeFile::test_large_file \ - --deselect test/integration/test_raw_api.py::test_raw_api \ - --deselect test/integration/test_download.py::TestDownload::test_large_file \ - --deselect test/integration/test_download.py::TestDownload::test_small \ - --deselect test/integration/test_download.py::TestDownload::test_small_unverified \ - --deselect test/integration/test_download.py::TestDownload::test_gzip \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file -} diff --git a/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild index 6b0b695be4e7..e006400b91ff 100644 --- a/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild +++ b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild @@ -38,30 +38,12 @@ BDEPEND+=" test? ( ') )" -# These tests seem to require some b2 authentication (they're integration tests -# so this is not unreasonable) -python_test() { - # note: used to avoid an ExcessiveLineLength lint below. - local sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py" - - # https://github.com/Backblaze/b2-sdk-python/issues/488 - epytest \ - --deselect test/integration/test_large_files.py::TestLargeFile::test_large_file \ - --deselect test/integration/test_raw_api.py::test_raw_api \ - --deselect test/integration/test_download.py::TestDownload::test_large_file \ - --deselect test/integration/test_download.py::TestDownload::test_small \ - --deselect test/integration/test_download.py::TestDownload::test_small_unverified \ - --deselect test/integration/test_download.py::TestDownload::test_gzip \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var \ - --deselect ${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file \ - --deselect test/unit/b2http/test_b2http.py::TestSetLocaleContextManager::test_set_locale_context_manager \ - test/unit -} +EPYTEST_DESELECT=( + test/integration/test_large_files.py::TestLargeFile::test_large_file + test/integration/test_raw_api.py::test_raw_api + test/integration/test_download.py + test/integration/test_upload.py + test/unit/account_info/test_sqlite_account_info.py + test/unit/b2http/test_b2http.py::TestSetLocaleContextManager::test_set_locale_context_manager \ + test/integration/test_file_version_attributes.py +) diff --git a/dev-python/b2sdk/b2sdk-2.3.0.ebuild b/dev-python/b2sdk/b2sdk-2.3.0.ebuild new file mode 100644 index 000000000000..715b35d198f1 --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517="pdm-backend" +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="The client library for BackBlaze's B2 product" +HOMEPAGE="https://github.com/Backblaze/b2-sdk-python" +SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/b2-sdk-python-${PV}" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +export PDM_BUILD_SCM_VERSION=${PV} + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] + ') +" + +distutils_enable_tests pytest + +# tqdm dependency is temporary, see +# https://github.com/Backblaze/b2-sdk-python/issues/489 +BDEPEND+=" test? ( + $(python_gen_cond_dep ' + >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] + >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}] + ') +)" + +# These tests seem to require some b2 authentication (they're integration tests +# so this is not unreasonable) +EPYTEST_DESELECT=( + # These integration tests require an actual connection to backblaze, which + # can't typically work in the sandbox + test/integration +) diff --git a/dev-python/b2sdk/files/b2sdk-1.17.2-disable-requirement-installation.patch b/dev-python/b2sdk/files/b2sdk-1.17.2-disable-requirement-installation.patch deleted file mode 100644 index d6d1952b0755..000000000000 --- a/dev-python/b2sdk/files/b2sdk-1.17.2-disable-requirement-installation.patch +++ /dev/null @@ -1,22 +0,0 @@ -# This will disable the setup.py features that attempt to install missing -# requirements using pip ---- a/setup.py -+++ b/setup.py -@@ -102,7 +102,7 @@ setup( - # your project is installed. For an analysis of "install_requires" vs pip's - # requirements files see: - # https://packaging.python.org/en/latest/requirements.html -- install_requires=read_requirements(), -+ # install_requires=read_requirements(), - - # List additional groups of dependencies here (e.g. development - # dependencies). You can install these using the following syntax, -@@ -109,7 +109,7 @@ setup( - # for example: - # $ pip install -e .[dev,test] - extras_require={'doc': read_requirements('doc')}, -- setup_requires=['setuptools_scm<6.0'], -+ # setup_requires=['setuptools_scm<6.0'], - use_scm_version=True, - - # If there are data files included in your packages that need to be diff --git a/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch b/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch deleted file mode 100644 index 482203f245d3..000000000000 --- a/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch +++ /dev/null @@ -1,22 +0,0 @@ -# This will disable the setup.py features that attempt to install missing -# requirements using pip ---- a/setup.py -+++ b/setup.py -@@ -95,7 +95,7 @@ setup( - # your project is installed. For an analysis of "install_requires" vs pip's - # requirements files see: - # https://packaging.python.org/en/latest/requirements.html -- install_requires=requirements, -+ # install_requires=requirements, - - # List additional groups of dependencies here (e.g. development - # dependencies). You can install these using the following syntax, -@@ -111,7 +111,7 @@ setup( - 'sadisplay' - ], - }, -- setup_requires=['setuptools_scm<6.0'], # setuptools_scm>=6.0 doesn't support Python 3.5 -+ # setup_requires=['setuptools_scm<6.0'], # setuptools_scm>=6.0 doesn't support Python 3.5 - use_scm_version=True, - - # If there are data files included in your packages that need to be diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 49e4ce35b608..a4fe4cc4429d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.34.108.gh.tar.gz 809808 BLAKE2B 56d21fdc35917426ea94f27ee4c7a59bc9e DIST boto3-1.34.113.gh.tar.gz 812031 BLAKE2B ffb4cc54a83d9d783eb69694393a6cc8c4d07325496802de80e8ac1999a1b5f45166571ae52eb8b38cb7d3e58d0cc8114088f7cd698f090b6ab1244565c0af63 SHA512 eebde25a83b2a7169b6892fa61475f26f9bf6baf7eff242d8bde0a5cd1920a7a39107071b093e59aca2a742662e16825b7fcf2850f59840da63a9cf78a19615d DIST boto3-1.34.117.gh.tar.gz 813596 BLAKE2B 1b68c6410a9e4859c05ec6e8baa7b4d0a8eda39ac9cfe7173d581e5712409bb5df83d35f30deb4f5e4e1dd70c0dc411cd8a1725b00f1e8a3026dbaef9862cde0 SHA512 40c6c1d62d94e0ac8d0237abbbacb9b7473dbce0ee7be5f2e8106f0c0be99b6bf048f3068e2978c578a8df5948f854bd4f3b9d99d935094a646a33f3bada7136 DIST boto3-1.34.118.gh.tar.gz 814051 BLAKE2B cad75e7e7a24db1642e743efc83fdbe7cf4b5f86723279fb3ae60716ea18385177b497fdb6dba5f2ceee278f27f0c805f65004eef68b3e004f8fbd267e6495f3 SHA512 96ab8049d36f9b8769146f4f1af4bce95b53f785d2097aa7f8a115401016369389332ba48c8736127d145a8e1c4be36f7c9f669b9d5cfd398ad1d371ddf87667 +DIST boto3-1.34.119.gh.tar.gz 814478 BLAKE2B a6284483d2921805176c657ae0e4cb3b6136d73e22c8cdeb5e8dd05617b86c07c4721adc936b485fb1f15885b71cc2b9fd1fceed78d2c82773bb623e2a743bde SHA512 6fe31f127582967ef088e851b69bf5925e9ef8d117e4695f576832f8dcd2a85e588c852200b6a1c6e9b49cb17edb600c3d078d05900175898abe38c88221ab94 diff --git a/dev-python/boto3/boto3-1.34.119.ebuild b/dev-python/boto3/boto3-1.34.119.ebuild new file mode 100644 index 000000000000..509842b2699d --- /dev/null +++ b/dev-python/boto3/boto3-1.34.119.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 733b401ce8ff..a31736ece222 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.34.108.gh.tar.gz 13029228 BLAKE2B 947c11bb991e9e7622412bb7e90579 DIST botocore-1.34.113.gh.tar.gz 13060395 BLAKE2B 8f9329d613f489f2305d068566940a94199a16e9d538597a86cd916a331245a70c6ad771f0d7d71a05a77a49c86aa8ff6be2ac6cd97c04828cc9f54cb6c5e2ac SHA512 218656c921b7ae6a605d6cca4cb90b76aee2a18541e78189828f2adfbb821fbebac406ba19887c0a07aece72dd4936f41b057fb25611e1b03db4bd11fda66bd6 DIST botocore-1.34.117.gh.tar.gz 13076178 BLAKE2B defbd66d6409004fe49df44aec0a00b4bbe1a459d3e4b067c5c8609b998c63e7d62c8d3c48805416d44c08aeb3ab261f4449cc7e6a7c66dd3ca5f97bdcce291f SHA512 d9736ddb868e602afbaad95989d284b2835636f273e8a4263caa7eec619fe7cc45515fbbe98d4fd33121fe0d97d34353f7cd811bc878a81d1f5f7437798b24d6 DIST botocore-1.34.118.gh.tar.gz 13078257 BLAKE2B 3fbd875002373cd883daee9b2f5669f24ad45c8524b26d82ac732ad7387e2910783cf912c239f61b6c107a571bdf6db36f04cde0bb979d531544630b99e7de68 SHA512 04785ddfc67507bd0023f86bb7f9048c6fcb498ba3933186fc925d1554bf8c6dcf2499ef980393cd0dbd1e95dc835585d39c24ae005dbf3887477f86187e7be4 +DIST botocore-1.34.119.gh.tar.gz 13095281 BLAKE2B 81fed94cb671b4f7bbd0705a8eb7f8e3eb782d40307549edb81f042e9ad3ea22554cc60f02d614a9010c7d501b8cb41ceaecfc9a16d961c31fbf4dc4cf98ec15 SHA512 c48a2d8d4b048a1b0c0ef7ba81a7e1565d4bebc02a38c579d46c1ab23b594310e3f40fc1323b1bcbce47e156a00e82b52518297372ed34e5a45f1f0d98a600d4 diff --git a/dev-python/botocore/botocore-1.34.119.ebuild b/dev-python/botocore/botocore-1.34.119.ebuild new file mode 100644 index 000000000000..857224b496b7 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.119.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild b/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild index f17fb5e3c267..e9ee59b97c85 100644 --- a/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild +++ b/dev-python/bottleneck/bottleneck-1.3.8-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" DEPEND=" >=dev-python/numpy-1.9.1:=[${PYTHON_USEDEP}] diff --git a/dev-python/constantly/Manifest b/dev-python/constantly/Manifest index aa5b9a17052c..143699ea10ca 100644 --- a/dev-python/constantly/Manifest +++ b/dev-python/constantly/Manifest @@ -1 +1 @@ -DIST constantly-23.10.4.gh.tar.gz 31245 BLAKE2B ebf2c9ea343cc20f8b2f32f0a95e5d10ecbafed5e74b456d4f3ce7e5abb0d0c02ccc41a734d1b04dc79d0d5957474fd317758f062be9a0240d8450dde159d1d0 SHA512 465dfc2ae857a956d91d6ae3eadabcde02905c2761ef51dca4d28c7ca47aa11757c773cac2aa082936be4e85f2aa8fac31840d209cdf9d871e73db836cb2e9a5 +DIST constantly-23.10.4.gh.tar.gz 31228 BLAKE2B 8bc84de285bdb99074acbccfa19b09c2937f6d5e0f11df82a22cf4a505de82454f7a63f2715b7c277c8ea8f1b7187aa841c508c08927434f38d87a16801065ca SHA512 41672b4b9292a6860fa3bad815170cb7da934cc12091ed4a2b85896370c7f7bbd18d363e40ba8aef08c113082de7b06662eaf7fb500f9b4bf7a6db50cfc035c9 diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest index d01b15005e28..0b31b17aa5da 100644 --- a/dev-python/cryptography/Manifest +++ b/dev-python/cryptography/Manifest @@ -6,8 +6,8 @@ DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616de DIST bitflags-2.4.2.crate 42602 BLAKE2B 768d4ca52aca73d8acf2f494a66957ed2603eefd5a04332ed0880d230c2cc6ef3bfdc0792fa6f288a0eb132913dbb256793e580bc34f4a40e8200e1fbafe97a9 SHA512 ef4c20e6e78a2ecee97e17189b7100a504d8176c7c15d7f17d62157a116d66f83f8b2bba472a4acf02cd3edbd94b20a7047af918c3f3b371e2e04f7474be0214 DIST cc-1.0.83.crate 68343 BLAKE2B 33245b33fa845ea2f36da36e3830ec835f937e4319865b357ee9d5ea29a0f9f8392eadb38bf1d95e3c15ed201e561acaa87aedcef744f8db3dabff87a96c7f02 SHA512 742a248c3a7547bb220a0b9c97b67a831fab9b4ac21daa08c85a3966b9fe576088def33e16132fcabec9a2828a6fc437088bb045bfc98b2cea829df6742565a7 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff -DIST cryptography-42.0.6.tar.gz 36021378 BLAKE2B 8387070cb0df852bcb2df6d6323305e0b0ea5004c43e9408a5f86c38cc7785a1b77b7a19409dc7e1475eea3c857d3ff10d9933287de597b57367bca153322d9a SHA512 faedb4394aa7e84e918bdcea7c675ba7a87cb5f5a7bbf5cf81598c2a949bcbdc1ef39eb1c441f3cd76e6b5dcc85c37dc908376d3d2511829e488ac9915c601a1 DIST cryptography-42.0.7.tar.gz 671230 BLAKE2B d0c1e0c752e066a4bd7a01eb351463f4264603610981f738d629785a783bcdedbd5a9fefbdbf4eaac2cf56a3db12334991b284c5195bed2f8050f836a816308d SHA512 2f502fd78490ed2dc26884b05c9db32d6dcf8ed17ca3808299e528aa53ec13805e2be741d92d6a540b7dded011850cf033abe2e073f22f07e271c7c1c25c024b +DIST cryptography-42.0.8.tar.gz 671250 BLAKE2B 77de79a8f6e78cc375c604e5d7045130c00bb3d2ac5293f5b16dc81e5d58210711943d3e217baea84d7f5348121f15a8326e6228e161cae87f1f7ecd1bfbe321 SHA512 db56db956649c05dea9f405341164126147e94e09ecef3535b63e2fecdb3d64a008c23aedc868406eea0dc1ea8a8efbc2fb29b74b7f04cc50454039e2d2e647f DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 @@ -16,11 +16,9 @@ DIST libc-0.2.152.crate 740278 BLAKE2B 8eecde477063207d77b6894d6f9194c8dd10e55b6 DIST lock_api-0.4.11.crate 27487 BLAKE2B 87116cf908f7f1f9c300cedded989df305f855883e3df5a482de2c76814c48739582d3079d76a2bdd14a6999204b7fd31dcd8fd06d1dc7f9418f0e2f70a1450e SHA512 9946adf313a5c67a0dd87a1b679b7d9d16a86149fb95974d3f28aa57a9a1a3932e4a5ee1d332097559329c5e3b2295be2e4b655b115d9f75269f33a758b17fb3 DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c -DIST openssl-0.10.63.crate 270890 BLAKE2B 0571a214347f823c9079c1f6d204c62469235ced63cbfdb8494427aed8069f45bbb26b81d1edbddb3602c0bffd54d1ca96204aef8cb85aec041edf45d89889db SHA512 47baa5f2e34b622dff0cd475dbbf6772adf48abbcec5be1cbcafe2beb9060ae46a3d873896ee4b5d864da0b132f0efd956596c49f2afc650a44cff6af001aa56 DIST openssl-0.10.64.crate 272306 BLAKE2B a8b618aa403cdb06a7f135cd966775f21c99739365c55aabde2680a6154d03c7d554bfae6c62a069841c70ed82ece6c3f0cd589da8c26022b7022c3c4d79a6d8 SHA512 a1fa9f71cfebbb37ed9d4a902360f2cc95a78f55b5da5d51eef69db38cef016fc03236485158d689ccf054e04937b8cddf88e3f0f31672997fb30c6cac73cbf6 DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c DIST openssl-sys-0.9.102.crate 68622 BLAKE2B 0d3d3c9ef8e2542c7f35db1d8feaf512cc7313481bfcc99354d601e8d6332adfc2e7ee8b35599a9241de35c163efd840186e904375bdc9c65ee743abbc154cba SHA512 7ecfaa0b49cea5c60f6f063fe5217252a65b27c5e6d1185e0aa1bb4b59c4cf9bf326840e8795a870a537c18ee5a987feedaaf2dd767cd6f1380f25468a1622bd -DIST openssl-sys-0.9.99.crate 68158 BLAKE2B 59995535bc24f0ca67ea204193aee4114f88538bbd74ade7c22bc2ea1b0d7e41a79118b6d22917bd1e305a43c16f8aea095c635d27a56fc0481a2baa3092dfa3 SHA512 b91197583135c22d34814e6382dc4ad4be9c3905c979addee8688dbc52ce627815e719b9d0b365195335d4d665eaa79a406f89e4c19cef73988938d51fe2f4ee DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c DIST parking_lot_core-0.9.9.crate 32445 BLAKE2B 811d8de671bf6e0911cf0df7dcaee4fb03a3b223173a3bb8cee65a28724eeb7bac87f62aa7b1df5ea3fc93af3cee3ef30b83d06c6773d6b856a7e6fa5fa197ea SHA512 7f0df70f9f1ca8d3da0b9dcc96e49daf05d95c3a995289266b5333f68818d686d32b0c733dfe3a0f62da78fa45caa843a963923b2d0c80899c33413dc749c032 DIST pem-3.0.3.crate 13035 BLAKE2B a9a5b7f9860ad9ee7b355e54c7e885126790e5298715234cc8247ceef8b997311bd1f916d113358cdfb22cbaa3fdae2ed4e3ee139bb1eb969185dbf468148c86 SHA512 7bc100eb0494ef2a86fcc4ba67c328d0cd791718f0c4eb67e66ac998d13e5624dfb6a1919862f684052bf61c7169c5065bde23b30640fe56651cf377fa573b30 diff --git a/dev-python/cryptography/cryptography-42.0.7-r1.ebuild b/dev-python/cryptography/cryptography-42.0.7-r1.ebuild index 5923eaa3a3ef..2c9d324c80cc 100644 --- a/dev-python/cryptography/cryptography-42.0.7-r1.ebuild +++ b/dev-python/cryptography/cryptography-42.0.7-r1.ebuild @@ -80,7 +80,6 @@ SLOT="0" KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86" IUSE="libressl" -# libressl? ( <=dev-libs/libressl-3.8.1:= ) RDEPEND=" !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) libressl? ( >=dev-libs/libressl-3.9.1:= ) diff --git a/dev-python/cryptography/cryptography-42.0.6.ebuild b/dev-python/cryptography/cryptography-42.0.8.ebuild index 3e875102bbc0..2c9d324c80cc 100644 --- a/dev-python/cryptography/cryptography-42.0.6.ebuild +++ b/dev-python/cryptography/cryptography-42.0.8.ebuild @@ -8,6 +8,7 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} ) PYTHON_REQ_USE="threads(+)" + CRATES=" asn1-0.15.5 asn1_derive-0.15.5 @@ -25,10 +26,8 @@ libc-0.2.152 lock_api-0.4.11 memoffset-0.9.0 once_cell-1.19.0 -openssl-0.10.63 openssl-0.10.64 openssl-macros-0.1.1 -openssl-sys-0.9.99 openssl-sys-0.9.102 parking_lot-0.12.1 parking_lot_core-0.9.9 @@ -60,7 +59,6 @@ windows_x86_64_gnu-0.48.5 windows_x86_64_gnullvm-0.48.5 windows_x86_64_msvc-0.48.5 " - inherit cargo distutils-r1 multiprocessing VEC_P=cryptography_vectors-$(ver_cut 1-3) @@ -84,7 +82,7 @@ IUSE="libressl" RDEPEND=" !libressl? ( >=dev-libs/openssl-1.0.2o-r6:0= ) - libressl? ( <=dev-libs/libressl-3.8.1:= ) + libressl? ( >=dev-libs/libressl-3.9.1:= ) $(python_gen_cond_dep ' >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] ' 'python*') diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index 60802f38ec8c..33d82d72c308 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1 +1,2 @@ DIST cssutils-2.11.0.tar.gz 723164 BLAKE2B 433358b1bd167d72ceda9c60f4460a95804c492a92854747dfc49ef4e2efe69388781c515adbb3c5d9010895e13a039ea33c46d4b2c71cb8bb15eead3e998b60 SHA512 42ce87502757d213ab5b2812c8a76724955f565826c69ffe4db53d49020ce960c8544423428f2b8c24d9b1b215c22f18de9dff66ef249c8060d17aad990d9a6f +DIST cssutils-2.11.1.tar.gz 711657 BLAKE2B 08522271238efd160dba06e580e01136ec1dab69bef8400f458edcf58a179ffc1d5bbca9423afddb66b5c781c2742a00f9a9fc0c5119ed3d865f914ebce2238f SHA512 7e38f08c5ff340b82ea39bda207d099b39ce6b88c8ac0d7ac1fb29e7b4ae6d8baa341e0a9b27e6d2285e31266112ec51d1fff9ef3e5a17a4bf55546fb4927845 diff --git a/dev-python/cssutils/cssutils-2.11.1.ebuild b/dev-python/cssutils/cssutils-2.11.1.ebuild new file mode 100644 index 000000000000..4f5bbd42f004 --- /dev/null +++ b/dev-python/cssutils/cssutils-2.11.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A CSS Cascading Style Sheets library" +HOMEPAGE=" + https://pypi.org/project/cssutils/ + https://github.com/jaraco/cssutils/ +" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +RDEPEND=" + dev-python/more-itertools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/cssselect[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # network + encutils/__init__.py::encutils + examples/website.py::examples.website.logging + ) + local EPYTEST_IGNORE=( + # path mismatch with "parse" package + examples/parse.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" +} diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index 460c3e92d543..3cdcf35a3370 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,3 +1 @@ DIST cython-3.0.10.gh.tar.gz 2771679 BLAKE2B f0813afc291bdc4940cd6770a368eca4f6d9fd728e41e9c341970512196154be900600146f98ce1e5a056eaeeda2df2a59fea2a9973c3ec275fe605bfd12e418 SHA512 97aa831cea96c1f3c51653c51fadb0aea8bdfdb076a2c898862637f52b826bcb9162d1b7aade3304c5650d0b894cb1083052f036365d79cd3d390e0486b33ac5 -DIST cython-3.0.8.gh.tar.gz 2764668 BLAKE2B 03202ea480fa398d2b0893cc96185467009c783cf4451fc5d1c09ec229398bc084276680ed2b64acf63253744f827427e03674be3e5985d5a2912d9f338c786a SHA512 1070fc278401990595d177b0e6396bc1eba2ea8234a7c5bb26399b6b7284de7791ee5fa60ef74d06d0f4120b9c877bfd7703a7d701838f1634737526c614b860 -DIST cython-3.0.9.gh.tar.gz 2769345 BLAKE2B 2a21b5e7060727d727902a08d7e038dacc047b724ebaa496ba5768542e28eec3c6198062ac3dd774a4321204752b373516f193f01bc6951e5f38b6029754647e SHA512 7899474882faab14716973783bbb46b981eab48192791acbbd06133efee83bfa9ace0e9a0272b0a44061a95ed94cdceaa98c4100f843220f5987791e36fa00e6 diff --git a/dev-python/cython/cython-3.0.10.ebuild b/dev-python/cython/cython-3.0.10.ebuild index 70e4fa0847e3..b012bbc9b748 100644 --- a/dev-python/cython/cython-3.0.10.ebuild +++ b/dev-python/cython/cython-3.0.10.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/cython/cython-3.0.8.ebuild b/dev-python/cython/cython-3.0.8.ebuild deleted file mode 100644 index 3c6caaa621bd..000000000000 --- a/dev-python/cython/cython-3.0.8.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11,12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/cython/cython-3.0.9.ebuild b/dev-python/cython/cython-3.0.9.ebuild deleted file mode 100644 index f27deaa1d052..000000000000 --- a/dev-python/cython/cython-3.0.9.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{8,9,10,11,12} ) -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing toolchain-funcs - -MY_P=${P/_rc/rc} -DESCRIPTION="A Python to C compiler" -HOMEPAGE=" - https://cython.org/ - https://github.com/cython/cython/ - https://pypi.org/project/Cython/ -" -SRC_URI=" - https://github.com/cython/cython/archive/${PV/_rc/rc}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -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" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" - "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" - "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" -) - -distutils_enable_sphinx docs \ - dev-python/jinja \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs - -python_compile() { - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # Needed to avoid confusing cache tests - unset CYTHON_FORCE_REGEN - - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py \ - -vv \ - -j "$(makeopts_jobs)" \ - --work-dir "${BUILD_DIR}"/tests \ - --no-examples \ - --no-code-style \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all -} diff --git a/dev-python/django-compression-middleware/Manifest b/dev-python/django-compression-middleware/Manifest index 249859cefbbf..eb16ebbbcf70 100644 --- a/dev-python/django-compression-middleware/Manifest +++ b/dev-python/django-compression-middleware/Manifest @@ -1,3 +1,3 @@ DIST django-compression-middleware-0.5.0.tar.gz 20060 BLAKE2B 0a23c1e7545a49b3cd774ca18886a38536157322d3ab532d9a2473fc307d609f7823f7856f6849c2ec160b2bd030cfb90f241c4916780db8bd1bb3ec49ece1b6 SHA512 070e7f19daf4811188e12b657b0dd53069b851a9c5f315d44aec87b92ccdc4d053c0a64fede2a40702963f86286b3bbbebe69722ac1b720febf93d0870d2f50e -EBUILD django-compression-middleware-0.5.0.ebuild 600 BLAKE2B fdfd2e9f9f21e47218b050d9dbe31449f7b850ea3e0dcf38de19ccd219e8763a4ff04f347229dc57ee0d2f2d3e779fdf12104ebe0a38b2dbef03b9f233925981 SHA512 3d90da08c4d44b1e5be061e8dfd34f94250fd65421961f6942bc93f14889f910bf2d0afea8b0c165e346883ee98ba57e68c20f8ce76e40ed791b0d8dc5dbe040 +EBUILD django-compression-middleware-0.5.0.ebuild 601 BLAKE2B 95b1e8352b977be26112dacd28bfdfb1ffad925cbdaffb75cd57fecee59aba8db71c77ea5e929e052032d5072cbeb48bdc7ae75bdd1716f66a529c1a135f1cd6 SHA512 2f274db3885fe21b8bc9262ec44e3eb1666186aa675bacff253153d3a505fad7eea8dba580279022ce6576cf2537cd6bededda5ddeaeb328c0552f0bd182d3e0 MISC metadata.xml 520 BLAKE2B e3095d390394d8243569e1f7ebf668ce18d8d47d3fe67bf3a7771f400d44a2b8b12bbef71bd95b4988b3553d9a3169525257c9ca8dcf45a85c4383e7990b12c4 SHA512 ef54d1adbcede6146e44df27b635ce50988a18fe8d7d8b5c55e45a49551c9a4b5b28155ad800d9585e7ddc3cf4b90daccdb09cb57b5daff246885a3a644edfca diff --git a/dev-python/ensurepip-setuptools/ensurepip-setuptools-70.0.0.ebuild b/dev-python/ensurepip-setuptools/ensurepip-setuptools-70.0.0.ebuild index 97aca4a61872..22787414d145 100644 --- a/dev-python/ensurepip-setuptools/ensurepip-setuptools-70.0.0.ebuild +++ b/dev-python/ensurepip-setuptools/ensurepip-setuptools-70.0.0.ebuild @@ -12,7 +12,7 @@ S=${DISTDIR} 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" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND=" !<dev-python/ensurepip-wheels-100 diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 7e67f79a0354..11deed055884 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,4 +1 @@ -DIST fakeredis-2.22.0.tar.gz 130074 BLAKE2B 28ccc177c8f2d47515ff91834901b8fdf9559b83b1e7665101b5f17e57d65a3c820af6be21251257f35a7db858c22fac3395cfb550b724e020e96778ad380008 SHA512 a533f26c2a4289b1b4d398ee426f44c93f01a4aac0dc841854bf94674d7e0738fde38ea896280d4e83bf16041dba505db13e3fa3837a912dc872b1d36c05cc6e -DIST fakeredis-2.23.0.tar.gz 133649 BLAKE2B 4dcfb0b52f18101311cd6513fa236ecc6100d12fdfceb9eef12e40ea4fc2a8148dd93e2ad9a68cf5347a3048a95136b7fcbedab2ea5348fa789462b9fee6f920 SHA512 8c3b4ad153232101203811d2891985474fe17a86693217cb58e694ded3c309d101a6bef52e1b544bbc489a0c355792bdbdbed220dca00d0f50afb2fb1c6438ce -DIST fakeredis-2.23.1.tar.gz 132829 BLAKE2B 05bc696f22cd3280728cf96614ac68fa9243242934c2d25e09fc20a569295adea6b75efb890cc172b1a0c75b9d96e9a1b30c9c04a01bfca508609b3a6eaad5c5 SHA512 5b8d256460d5930896ee1d8b3259decfdee12d0699da852cf1d6ce2c00d70cb404840808c5385ebae8d4ba7accd744f7f969bee4fc73320f55fc34558dee1294 DIST fakeredis-2.23.2.tar.gz 132956 BLAKE2B 48053663d6260d1153b57893795a97b8e72e21cad57907b006bb8be605cce56c474b1a6bb32d455f034da52bcf391d56139ed0c0bdff7f3c367cc0c365ebca40 SHA512 0994f7c7e955a8cc7b1046f62d37841ea592022f21c34cf1f7d3bb335ba88bda5abf08fa002b4b7c9f0b09a6837a38b1b49cec44a3185e16ab4d4711ad4f95d4 diff --git a/dev-python/fakeredis/fakeredis-2.22.0.ebuild b/dev-python/fakeredis/fakeredis-2.22.0.ebuild deleted file mode 100644 index 1168b7134227..000000000000 --- a/dev-python/fakeredis/fakeredis-2.22.0.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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' - ) - # Note: this package is not xdist-friendly - 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/fakeredis/fakeredis-2.23.0.ebuild b/dev-python/fakeredis/fakeredis-2.23.0.ebuild deleted file mode 100644 index be1ddff28688..000000000000 --- a/dev-python/fakeredis/fakeredis-2.23.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10) -" -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 - # tdigest ext? - 'test/test_mixins/test_server_commands.py::test_command[FakeStrictRedis]' - ) - 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' - ) - # Note: this package is not xdist-friendly - 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/fakeredis/fakeredis-2.23.1.ebuild b/dev-python/fakeredis/fakeredis-2.23.1.ebuild deleted file mode 100644 index be1ddff28688..000000000000 --- a/dev-python/fakeredis/fakeredis-2.23.1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} 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}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10) -" -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 - # tdigest ext? - 'test/test_mixins/test_server_commands.py::test_command[FakeStrictRedis]' - ) - 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' - ) - # Note: this package is not xdist-friendly - 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/fakeredis/fakeredis-2.23.2.ebuild b/dev-python/fakeredis/fakeredis-2.23.2.ebuild index be1ddff28688..9b1f90ad6ceb 100644 --- a/dev-python/fakeredis/fakeredis-2.23.2.ebuild +++ b/dev-python/fakeredis/fakeredis-2.23.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index c43dd8b05aaa..d225415ef55d 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -2,3 +2,4 @@ DIST google-api-python-client-2.128.0.tar.gz 11193400 BLAKE2B c9762dc89a2dda1bdf DIST google-api-python-client-2.129.0.tar.gz 11153292 BLAKE2B 0d2e909fb592d1b54721143b88f5a841bf53f9dde11fa555aa1384bc306f3648463578886069695568f4491b2d13cc4993adb7df47988fe3440f93c973764e68 SHA512 73b93847f3b2dc2ef722edc033fec6f292b16acbf81227276c34b651915854556ae58eb160baa462bf868aa988e194ed462ff235532f5ca1a35a234bb1eda8e5 DIST google-api-python-client-2.130.0.tar.gz 11178249 BLAKE2B 8f89f85124f72fa1c23ef6ab2d8e0eba2935ae14bf3528102de977aeec6b6b525f51f6d6d574e582b010ad49f6d8ac450cdf6edae7653a6b47b15868754e6ea4 SHA512 3553a140a86974cbf05cf21b4792f59adb3dee23e50772c8b6d285868ef08566bda8a64895b7054fa3f340dac0c9f52b4a712eba3fabea8feebca7390149e0ed DIST google-api-python-client-2.131.0.tar.gz 11201337 BLAKE2B c2d10ae7c98be89604742efc9b2d75b1902d48fc0fc0c8d13133c675e247a702ae72cac2f65593401486a9e8de94b2d1b0742f56f9c322b6eded153f8d0b757b SHA512 b3f5a42e75669b807e8a2542afdd972e9be725d1dae7af7bce0ab58ff5d8cc3e1a8a74b4eb22e4953779e6cf8a827b5069aa525a99f34972ff3a0074aa4a6355 +DIST google-api-python-client-2.132.0.tar.gz 11256536 BLAKE2B 4a046c03a50b3922b94e6a07bfce974851752542a69300d544b7c8439c4ad54fc9fd2d5fdf84656801ebe9bf5ad35588d39dc3603537d67db93ea995b50651ff SHA512 ecd6be9009f979447ee7d29dc05af2b25c500ca17a8d88ae6660ac0a72f6bb8237f3224dda63b22378a38c6cf7fab914bc6372351d95e691c3b16f248be04a64 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild new file mode 100644 index 000000000000..2b0d333aae0a --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.132.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 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 ~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 + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index ee00b5b36e50..5cd84aac0f1e 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,3 +1 @@ -DIST greenlet-2.0.2.tar.gz 164980 BLAKE2B 1afa8390e96d7eeafd84a4323a4eb9e4b2cad50a3e6654b1609702a5a74dfb5dadc7a1ff81cc8e7718d0587728c2ec944069db8241f1aa0723d2f98e6911ddb6 SHA512 03d0b2764c52524c97930a7bd856a432360a96ddbe3d1f2352ec49750994e6811fd28378f83b96cac91520234d0a6e9e56232ff688c71ff57f6340d3d182635b -DIST greenlet-3.0.2.tar.gz 175506 BLAKE2B 46064ca54c43b513b274a91b56744afd7fabe7659416938efe11337c5e031dadae2e0ca275df7731180dad799eab5b0c0dfa15d17e977c278a88f698328e57cf SHA512 901e1a918017878b150c845a180ed366f35dbb9d89b155df1dad4e2ee581c4a327ffad9d17ab221172ca151cd460521a7dca48b3ee64a33bf2e442949a30ecb3 DIST greenlet-3.0.3.tar.gz 182013 BLAKE2B 34ba9f13dd01f5bacedb69952b4d3d08e55eba82d94c5d95cf8bfeb0f1ce94dbde9d62f5e56c33cbf2467d82f6ffd8d05a37048d0292102b1dbb68c67e9398f4 SHA512 20d8818376a200332cbc2c85968317ddf828d2adf3fcc3c53623cd1504ec9a4e4e987e841bd2fe65e934e2b8a5e73a7205847526f0bd196e7afcdf3ae40e9d9b diff --git a/dev-python/greenlet/greenlet-2.0.2.ebuild b/dev-python/greenlet/greenlet-2.0.2.ebuild deleted file mode 100644 index a609ba667593..000000000000 --- a/dev-python/greenlet/greenlet-2.0.2.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_EXT=1 -DISTUTILS_USE_PEP517=setuptools -# Note: greenlet is built-in in pypy -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Lightweight in-process concurrent programming" -HOMEPAGE=" - https://greenlet.readthedocs.io/en/latest/ - https://github.com/python-greenlet/greenlet/ - https://pypi.org/project/greenlet/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - test? ( - dev-python/objgraph[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs -distutils_enable_tests unittest - -src_prepare() { - # patch cflag manipulations out - sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - eunittest greenlet.tests -} diff --git a/dev-python/greenlet/greenlet-3.0.2.ebuild b/dev-python/greenlet/greenlet-3.0.2.ebuild deleted file mode 100644 index d286b50a883c..000000000000 --- a/dev-python/greenlet/greenlet-3.0.2.ebuild +++ /dev/null @@ -1,43 +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 -# Note: greenlet is built-in in pypy -# py3.12: https://github.com/python-greenlet/greenlet/issues/368 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Lightweight in-process concurrent programming" -HOMEPAGE=" - https://greenlet.readthedocs.io/en/latest/ - https://github.com/python-greenlet/greenlet/ - https://pypi.org/project/greenlet/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" - -BDEPEND=" - test? ( - dev-python/objgraph[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs -distutils_enable_tests unittest - -src_prepare() { - # patch cflag manipulations out - sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - eunittest greenlet.tests -} diff --git a/dev-python/greenlet/greenlet-3.0.3.ebuild b/dev-python/greenlet/greenlet-3.0.3.ebuild index 815b3e0283c3..cb82bc4f559c 100644 --- a/dev-python/greenlet/greenlet-3.0.3.ebuild +++ b/dev-python/greenlet/greenlet-3.0.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 -hppa -ia64 ~m68k ~mips ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" BDEPEND=" test? ( diff --git a/dev-python/hid_ups/Manifest b/dev-python/hid_ups/Manifest new file mode 100644 index 000000000000..14f8e169a1e2 --- /dev/null +++ b/dev-python/hid_ups/Manifest @@ -0,0 +1 @@ +DIST hid_ups-1.0.1.tar.gz 10382 BLAKE2B 883a8e968e64adc0085f19bf035872dc131bb6ca0c45cb0f2b2a8cb6d426f0c9375632bcd6cc14f990bb4aa282aa79c5fb8f7b02b81d020b722da0c5b71e9f06 SHA512 8eff096206b227a5ecbe4e577a62604564940dc017e0614d06b38f352db7f391e0ae9f2c1a167867da36732a33295f5213b10be64daf69a27949a840b70c1981 diff --git a/dev-python/hid_ups/hid_ups-1.0.1.ebuild b/dev-python/hid_ups/hid_ups-1.0.1.ebuild new file mode 100644 index 000000000000..0779c13b584b --- /dev/null +++ b/dev-python/hid_ups/hid_ups-1.0.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="Python-based library for interpreting UPS HID data." +HOMEPAGE="https://github.com/desultory/hid_ups" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/hidapi-0.14.0[${PYTHON_USEDEP}] +" diff --git a/dev-python/hid_ups/metadata.xml b/dev-python/hid_ups/metadata.xml new file mode 100644 index 000000000000..af8c55886ddf --- /dev/null +++ b/dev-python/hid_ups/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev@pyl.onl</email> + <name>Zen</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/hid_ups_exporter/Manifest b/dev-python/hid_ups_exporter/Manifest new file mode 100644 index 000000000000..d08fb280bda2 --- /dev/null +++ b/dev-python/hid_ups_exporter/Manifest @@ -0,0 +1 @@ +DIST hid_ups_exporter-1.0.1.tar.gz 9341 BLAKE2B 61e94dcfbc8ff8e3ea33b9a537a9312385010008ab93473668ba39c8d05b0718a14fd3e66820d80c38dcd3492f1fa3bd032b5f525af9a55a6e90688d18aa3167 SHA512 8e8aaf6236a4c40ba8850dc9b21ac2946c27652465f8c21aeaf5d04e102d1814b39b89261405afd0364db4f1829e8d69ac7726d311d0f5642ce37aaa7074cc20 diff --git a/dev-python/hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild b/dev-python/hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild new file mode 100644 index 000000000000..a55d461b048a --- /dev/null +++ b/dev-python/hid_ups_exporter/hid_ups_exporter-1.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="Python-based library for exporting HID UPS data as metrics for Prometheus." +HOMEPAGE="https://github.com/desultory/hid_ups_exporter" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/hid_ups-1.0.1[${PYTHON_USEDEP}] + >=dev-python/prometheus_exporter-1.0.0[${PYTHON_USEDEP}] +" + +src_install() { + # Install the package + distutils-r1_src_install + + # Copy hid_ups_exporter.include to /etc/init.d + newinitd hid_ups_exporter.include hid_ups_exporter + # Create /var/log/hid_ups_exporter + keepdir /var/log/hid_ups_exporter +} diff --git a/dev-python/hid_ups_exporter/metadata.xml b/dev-python/hid_ups_exporter/metadata.xml new file mode 100644 index 000000000000..af8c55886ddf --- /dev/null +++ b/dev-python/hid_ups_exporter/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev@pyl.onl</email> + <name>Zen</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/inotify-simple/Manifest b/dev-python/inotify-simple/Manifest index 528d2276e375..60b99195c346 100644 --- a/dev-python/inotify-simple/Manifest +++ b/dev-python/inotify-simple/Manifest @@ -1,3 +1,3 @@ DIST inotify_simple-1.3.5.tar.gz 9747 BLAKE2B 9471e0dee9821e26c0dbca1d0480333f5e310d7b2dd177d4733c66653bb365994143c7588d3efbb122b95ec6e44d87a1cca2085f6e70b970c8e0f9b66a7ead34 SHA512 fa8048786e6d4771ca63d6a2cc3e4230ec68a2d6f4bf8ca5a06056d0d261a678c3769112796a4e6a0f9c6be7331a16c4a06283d0240debb6ab407cd86b460c49 -EBUILD inotify-simple-1.3.5.ebuild 402 BLAKE2B 8882a71cec9e469a132bf24beca9ffbebbee5db14e2474e24e376e0fcbe3c8f8d0c226de31dc377e45e213c14b3efa21e1b1b178e8691e6a1c3817fc0431431b SHA512 86422f3b0df4ff9b89325e3c29196cd2978c9f1c31b0a3d2b5fbbfb0cf54180541b00f378e9a3bc88b939f97da8c9f2382205ef9da83267fbc7596f83854d0a0 +EBUILD inotify-simple-1.3.5.ebuild 403 BLAKE2B 86d6c9d4a735ab3e150a30fa58d79bacc70c893d3c4f562b65efb1d3dfd057df6eb46494d15e4a9b598c9d03d16367db91a4ba0a18e3b21bbd5d0d2f08ac65e6 SHA512 0ac0eb27aa37c4108a398b7c04d125b72f2b39f90f41c8c49c52757ddc04aa3be5d6d8e63dbeeb3df780e5dafc2ca5cea770999f514e7c13b76862a5fad0a33f MISC metadata.xml 483 BLAKE2B 2547795574db21dc6d4f04a6e49a6647e2921e2341b0ce9c8b79e45ae1a5efc6b02a224bbb93d87915b4c4cdc8df3068976073bccb6dd745040e89ac20683bb5 SHA512 f7f9e88dfcb0ec19df71c9da48698604039dcff3bd174957487d83ea858a1548bb085e3248792f836de4cadaecdd39ab8f82e7aca08cdd018c86c07315d57acf diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest index 1443735e1c3b..1fda580bd53c 100644 --- a/dev-python/ipywidgets/Manifest +++ b/dev-python/ipywidgets/Manifest @@ -1 +1,2 @@ DIST ipywidgets-8.1.2.tar.gz 116492 BLAKE2B 0fc8283b332447cd3659d39d4564e2e794678169c7bc156660f3478251c4df23de1719e4fcf9651b9766506edf359bdfc803b1450520a3cbce290b39bd95bd3c SHA512 59ddc92bb9b18b6cd36b1499465e700ce9b11010e2d51cdf0a820b36efecbea1facab42ced2f61de312319f4fd4e672bb27b248d40ee0088f3b58acfd102ab61 +DIST ipywidgets-8.1.3.tar.gz 116515 BLAKE2B b7a11e7078ddbd99b8713fc3aa63c78118bf00b64c376412c608a622fda1e7d0430accb0959a56a474d2eeba4b5ce531255b52bba591f2806833644e47f2a7bd SHA512 3722e3716f367c6dce88c6ec401d23240c214793672ae76a12b672f77c7c801775d3253e1202749e54832d9dc13e4bb5984ec57e21607f12c22aced8874538db diff --git a/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild index ee3f2295fafa..a29559f7971b 100644 --- a/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild +++ b/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild @@ -25,11 +25,14 @@ RDEPEND=" >=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}] >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] >=dev-python/widgetsnbextension-4.0.10[${PYTHON_USEDEP}] - >=dev-python/jupyterlab_widgets-3.0.10[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-widgets-3.0.10[${PYTHON_USEDEP}] " BDEPEND=" test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}] + <dev-python/pytest-8.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] ) " PDEPEND=" diff --git a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild new file mode 100644 index 000000000000..4a32e6f407a2 --- /dev/null +++ b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="IPython HTML widgets for Jupyter" +HOMEPAGE=" + https://ipywidgets.readthedocs.io/ + https://github.com/jupyter-widgets/ipywidgets/ + https://pypi.org/project/ipywidgets/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] + >=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] + >=dev-python/widgetsnbextension-4.0.11[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-widgets-3.0.11[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + <dev-python/pytest-8.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" +PDEPEND=" + >=dev-python/ipython-6.1.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/pypy/pypy/issues/4892 + ipywidgets/widgets/tests/test_interaction.py::test_interact_noinspect + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/jupyterlab_widgets/Manifest b/dev-python/jupyterlab-widgets/Manifest index 6abad087c35f..27ac9473953e 100644 --- a/dev-python/jupyterlab_widgets/Manifest +++ b/dev-python/jupyterlab-widgets/Manifest @@ -1 +1,2 @@ DIST jupyterlab_widgets-3.0.10.tar.gz 205549 BLAKE2B 7f31ffa65a6478f4007449fd9f1ea749144eda39afe21208b934fc33b2222e605a21e1cbfd61961b48c001b780eb75425444729fec931bb7fbb7f9afa290971d SHA512 a68de696b9d8c332c796242dd72d1a0cc33944373e97c826b8a971eb558565e55f4a0a59ba437e9bb9466695755193aa95ec74d69e54628931858f524c939da5 +DIST jupyterlab_widgets-3.0.11.tar.gz 203538 BLAKE2B 8208afd3dc9e8dd36a6ab77ac20d935b53a8c200401e9e423ca154e87c50379cced5ff785dc625ead7f09aaffd9af5835151a853224abce6e7c84c6ce199259e SHA512 27e8fec4817d3e37e1976c30db21f914b11dc3bb1e0aa7c584c811b3f9a54422136c7702bd32f7494851d87108182a8a9fe11686d515f4da19ee2a8f7a930755 diff --git a/dev-python/jupyterlab_widgets/jupyterlab_widgets-3.0.10.ebuild b/dev-python/jupyterlab-widgets/jupyterlab-widgets-3.0.10.ebuild index 983a22b59df6..983a22b59df6 100644 --- a/dev-python/jupyterlab_widgets/jupyterlab_widgets-3.0.10.ebuild +++ b/dev-python/jupyterlab-widgets/jupyterlab-widgets-3.0.10.ebuild diff --git a/dev-python/jupyterlab-widgets/jupyterlab-widgets-3.0.11.ebuild b/dev-python/jupyterlab-widgets/jupyterlab-widgets-3.0.11.ebuild new file mode 100644 index 000000000000..983a22b59df6 --- /dev/null +++ b/dev-python/jupyterlab-widgets/jupyterlab-widgets-3.0.11.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=jupyter +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Jupyter interactive widgets for JupyterLab" +HOMEPAGE=" + https://ipython.org/ + https://pypi.org/project/jupyterlab-widgets/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + >=dev-python/jupyterlab-4.1.8[${PYTHON_USEDEP}] + dev-python/jupyter-packaging[${PYTHON_USEDEP}] +" diff --git a/dev-python/jupyterlab_widgets/metadata.xml b/dev-python/jupyterlab-widgets/metadata.xml index f779b78a9efd..f779b78a9efd 100644 --- a/dev-python/jupyterlab_widgets/metadata.xml +++ b/dev-python/jupyterlab-widgets/metadata.xml diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 630fe63c6f53..c09b7356f549 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index 736a1167c898..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - - <origin>gentoo-guru-overlay</origin> + <maintainer type="person"> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/lit-18.1.6.ebuild b/dev-python/lit/lit-18.1.6.ebuild index abca2aee2cc4..2e4938b4e8f5 100644 --- a/dev-python/lit/lit-18.1.6.ebuild +++ b/dev-python/lit/lit-18.1.6.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index bdef3c3bfc09..7fc18303f4f4 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,2 +1 @@ -DIST meson-python-0.15.0.gh.tar.gz 73063 BLAKE2B 280c01b08fb8264d268797d199b59f7d02cac88e49333de4a38f9e22a1e724586b7ffcddc4e9a411c0d660560892134cb742136334aad8caacd9db37580fce8f SHA512 f1fce89bb0a3d279b9900c4ecec78e5f24da92d72f64ebf6c27648b4201a75a65204c3fac08aaa3e8d70dbeef245c3235e39994c7c0b9cba27c0df528211c7f7 DIST meson-python-0.16.0.gh.tar.gz 74975 BLAKE2B af74d62a4567bc0a7524e815f1bb4ef3ae7290ccea38c00c3b0013f5e7777d6a41c1631b0c1d83fdd930836599752e3bba3c381c137d275103409a986df4e040 SHA512 99ea4304f15e2e13adf031e7c8cacbbc48c0c80f42a81f9d84242b6279ac9c1a13e3f162be5f472a1e498dc7cf3cba6799bf765b3fd441ac10cd87dc0db38678 diff --git a/dev-python/meson-python/meson-python-0.15.0.ebuild b/dev-python/meson-python/meson-python-0.15.0.ebuild deleted file mode 100644 index 71fda2c43f17..000000000000 --- a/dev-python/meson-python/meson-python-0.15.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Meson PEP 517 Python build backend" -HOMEPAGE=" - https://pypi.org/project/meson-python/ - https://github.com/mesonbuild/meson-python/ -" -SRC_URI=" - https://github.com/mesonbuild/meson-python/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" - -RDEPEND=" - >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] - >=dev-build/meson-0.63.0[${PYTHON_USEDEP}] - !kernel_Darwin? ( dev-util/patchelf ) - $(python_gen_cond_dep ' - >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - >=dev-python/cython-0.29.34[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires network access - tests/test_pep518.py::test_pep518 - # requires git repo - # https://github.com/mesonbuild/meson-python/issues/397 - tests/test_project.py::test_user_args - ) - unset NINJA - - if [[ ${EPYTHON} == pypy3 ]]; then - EPYTEST_DESELECT+=( - # broken venv usage that copies pypy3 executable, making it - # unable to find lib_pypy - tests/test_editable.py::test_editable_install - tests/test_editable.py::test_editble_reentrant - tests/test_examples.py::test_spam - tests/test_wheel.py::test_local_lib - ) - fi - - epytest - - rm -rf docs/examples/spam/build/ || die # remove artifacts -} diff --git a/dev-python/meson-python/meson-python-0.16.0-r1.ebuild b/dev-python/meson-python/meson-python-0.16.0-r1.ebuild index 3050ce0e82ed..d18c65154266 100644 --- a/dev-python/meson-python/meson-python-0.16.0-r1.ebuild +++ b/dev-python/meson-python/meson-python-0.16.0-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/nltk/Manifest b/dev-python/nltk/Manifest index dfbb06b3da61..b3360f6fb530 100644 --- a/dev-python/nltk/Manifest +++ b/dev-python/nltk/Manifest @@ -1,5 +1,6 @@ +AUX python-3.12.patch 8925 BLAKE2B a9ad62b0b8d37b8707c6fa880af98ce6ee8e3f02a1d6cf42456a6d1dc2398f7cbf8721eb9e580594531c963dc10232f2e259939ed4dd78b5f6b9d778e2c2c7f7 SHA512 b32631b7d0b805496188b30e4ea8bcb3bd6cccee98b2f3cf5ccffcd8467c6e333654d23ab71b78ca1030aff54ac2e2137efff076bf86bd991bfd0a3077a6543f DIST nltk-3.7.gh.tar.gz 2851947 BLAKE2B 4cd4fed9f26de7996bcabbd71d500c072489e79ae0edb29f09577e465227c948efa7130af6975b029e77fb79db015437a9e3311eb28048d02dcc2356441d0908 SHA512 66d79afa59f18f2bf7d086dcb22813c7b92239c05669daa62866dbda06c0ca22367317749cf19db3e41a7bdb405d4f87f72b695aa58fd0669bf36de64f1f9888 DIST nltk-3.8.1.gh.tar.gz 2867926 BLAKE2B 54de1d3ae7cfe0b71ac0f5a62ed3e81e489fa4d322cd32eb4aa4ef60617eb96767a0f3a92c7e5a16e71836cb0d3a1076ae3598b6bcf0af5925c95e1a0ccf70f8 SHA512 5b13eff5d8e628173f5321c293d896919d369bcd586861a7e09bf6fdca2b09f2580902da98ec647bcf9cdc2b33a87c830dda3793de20c31c8bc38c86df8f7930 EBUILD nltk-3.7.ebuild 1747 BLAKE2B ba7e28721bb9ed45e93552b6def4299f6bd139f197ff849cda59083f3ff51cf7fe035e10d4fc643d74e00a9a76951930475a91bae1e305afce90768bc4e4b4d4 SHA512 790ef13f1b57e887de26b745a8c03479ae8e38117380607936848f4a72eb113b456024fc2e47905fbc767b301cc5a36895520524a62d1ec2af6134dfcfedac26 -EBUILD nltk-3.8.1.ebuild 1348 BLAKE2B 9894b2066e8975e30186f05b4db9f85ff11ae1774addd378864ce5a9cf1a81da58f26d623610528abfd12eb8bee403739ca828fe70953b3b9ea92d38ce5e2d3a SHA512 20312c8b00088defbf7a9e6508f7c9ad7eb7101b21f7ed2263c197bc74328940d9c72b8b8bce8c2cd9e54834433995aafea634b09883ec31861dc49f0b526623 +EBUILD nltk-3.8.1.ebuild 1394 BLAKE2B bf5cdfbd9eb5c1b415de3039f5af1be36c34e8a3c0245efc908c941028b34119d59486dc0c8649771e386808d0c10ab1ab52d1bc651fd8157cd9b9fcc77bfb8e SHA512 3f4c996aab04efd784d948199a7b96bc58372e453216ae290a7c2f903f67f6518cd39162f55900fb1e047badab3d3d6a1fd53c330901f8ccb3acbd0a7023bd78 MISC metadata.xml 445 BLAKE2B 4bfcde721368b9c9354799863a7a78d2c04eb789672f52b5449bda3ef567448fa1b434dda9d150aa0ff360477c576ea2fd0bebce40bf80bb843393e245f85278 SHA512 89bb6d0ca2e268e3540cf36e91b57e834eb31f078a91bb7ed7218a17c1a9b63809ae77916822eabf6a3a86286d00ae4a311b33c52e40d9d2e61b6d242f4cef78 diff --git a/dev-python/nltk/files/python-3.12.patch b/dev-python/nltk/files/python-3.12.patch new file mode 100644 index 000000000000..c55d2852751c --- /dev/null +++ b/dev-python/nltk/files/python-3.12.patch @@ -0,0 +1,282 @@ +commit 544bf807bf506927872b7b837c6e1514e80419ab +Author: Konstantin Chernyshev <k4black@ya.ru> +Date: Thu Nov 16 19:40:54 2023 +0100 + + fix(bleu): add Fraction with 3.12 support + +diff --git a/nltk/test/unit/translate/test_bleu.py b/nltk/test/unit/translate/test_bleu.py +index 990b76406..b472d785f 100644 +--- a/nltk/test/unit/translate/test_bleu.py ++++ b/nltk/test/unit/translate/test_bleu.py +@@ -2,7 +2,6 @@ + Tests for BLEU translation evaluation metric + """ + +-import io + import unittest + + import numpy as np +diff --git a/nltk/translate/bleu_score.py b/nltk/translate/bleu_score.py +index da445bc3e..9647202e6 100644 +--- a/nltk/translate/bleu_score.py ++++ b/nltk/translate/bleu_score.py +@@ -7,16 +7,40 @@ + # For license information, see LICENSE.TXT + + """BLEU score implementation.""" ++from __future__ import annotations + + import math + import sys + import warnings + from collections import Counter +-from fractions import Fraction ++from dataclasses import dataclass + + from nltk.util import ngrams + + ++@dataclass ++class Fraction: ++ """ ++ This class is used to represent a fraction with both the numerator and denominator saved for later retrieval. ++ Python 3.12 removed _normalize=False from the standard lib Fraction constructor. ++ """ ++ ++ numerator: int | float ++ denominator: int = 1 ++ ++ def __float__(self): ++ return self.numerator / self.denominator ++ ++ def __lt__(self, other): ++ return float(self) < float(other) ++ ++ def __eq__(self, other): ++ return self.numerator == other.numerator and self.denominator == other.denominator ++ ++ def __gt__(self, other): ++ return float(self) > float(other) ++ ++ + def sentence_bleu( + references, + hypothesis, +@@ -222,7 +246,7 @@ def corpus_bleu( + + # Collects the various precision values for the different ngram orders. + p_n = [ +- Fraction(p_numerators[i], p_denominators[i], _normalize=False) ++ Fraction(p_numerators[i], p_denominators[i]) + for i in range(1, max_weight_length + 1) + ] + +@@ -365,7 +389,7 @@ def modified_precision(references, hypothesis, n): + # Usually this happens when the ngram order is > len(reference). + denominator = max(1, sum(counts.values())) + +- return Fraction(numerator, denominator, _normalize=False) ++ return Fraction(numerator, denominator) + + + def closest_ref_length(references, hyp_len): +@@ -577,7 +601,7 @@ class SmoothingFunction: + In COLING 2004. + """ + return [ +- Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1, _normalize=False) ++ Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1) + if i != 0 + else p_n[0] + for i in range(len(p_n)) + +commit eab59d7ceac5dc64e34ca04ee0143fa8998af204 +Author: Konstantin Chernyshev <k4black@ya.ru> +Date: Thu Nov 16 19:46:47 2023 +0100 + + style: fix pre-commit style checks + +diff --git a/nltk/translate/bleu_score.py b/nltk/translate/bleu_score.py +index 9647202e6..aab519521 100644 +--- a/nltk/translate/bleu_score.py ++++ b/nltk/translate/bleu_score.py +@@ -35,7 +35,9 @@ class Fraction: + return float(self) < float(other) + + def __eq__(self, other): +- return self.numerator == other.numerator and self.denominator == other.denominator ++ return ( ++ self.numerator == other.numerator and self.denominator == other.denominator ++ ) + + def __gt__(self, other): + return float(self) > float(other) +@@ -601,10 +603,7 @@ class SmoothingFunction: + In COLING 2004. + """ + return [ +- Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1) +- if i != 0 +- else p_n[0] +- for i in range(len(p_n)) ++ Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1) if i != 0 else p_n[0] for i in range(len(p_n)) + ] + + def method3(self, p_n, *args, **kwargs): + +commit 8f06fa4b1da4a390d53010e56bc6ab5d5cb32a3a +Author: Konstantin Chernyshev <k4black@ya.ru> +Date: Thu Nov 16 19:48:06 2023 +0100 + + style: fix pre-commit style checks + +diff --git a/nltk/translate/bleu_score.py b/nltk/translate/bleu_score.py +index aab519521..f32743ecc 100644 +--- a/nltk/translate/bleu_score.py ++++ b/nltk/translate/bleu_score.py +@@ -603,7 +603,8 @@ class SmoothingFunction: + In COLING 2004. + """ + return [ +- Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1) if i != 0 else p_n[0] for i in range(len(p_n)) ++ Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1) if i != 0 else p_n[0] ++ for i in range(len(p_n)) + ] + + def method3(self, p_n, *args, **kwargs): + +commit b72a4bdbaf99a2bdb6a99454a1eb8804051bf644 +Author: Konstantin Chernyshev <k4black@ya.ru> +Date: Thu Nov 16 21:49:32 2023 +0100 + + fix: Fraction + +diff --git a/nltk/translate/bleu_score.py b/nltk/translate/bleu_score.py +index f32743ecc..72f5b548d 100644 +--- a/nltk/translate/bleu_score.py ++++ b/nltk/translate/bleu_score.py +@@ -42,6 +42,14 @@ class Fraction: + def __gt__(self, other): + return float(self) > float(other) + ++ def __add__(self, other): ++ if isinstance(other, int): ++ other = Fraction(other, 1) ++ return Fraction( ++ self.numerator * other.denominator + other.numerator * self.denominator, ++ self.denominator * other.denominator, ++ ) ++ + + def sentence_bleu( + references, + +commit 86fa0832f0f4b366f96867f59ae05d744d68b513 +Author: Konstantin Chernyshev <k4black@ya.ru> +Date: Thu Nov 16 23:26:42 2023 +0100 + + fix: use Fraction override + +diff --git a/nltk/translate/bleu_score.py b/nltk/translate/bleu_score.py +index 72f5b548d..ddb54dba8 100644 +--- a/nltk/translate/bleu_score.py ++++ b/nltk/translate/bleu_score.py +@@ -7,48 +7,39 @@ + # For license information, see LICENSE.TXT + + """BLEU score implementation.""" +-from __future__ import annotations +- + import math + import sys + import warnings + from collections import Counter +-from dataclasses import dataclass ++from fractions import Fraction as _Fraction + + from nltk.util import ngrams + + +-@dataclass +-class Fraction: +- """ +- This class is used to represent a fraction with both the numerator and denominator saved for later retrieval. +- Python 3.12 removed _normalize=False from the standard lib Fraction constructor. +- """ +- +- numerator: int | float +- denominator: int = 1 +- +- def __float__(self): +- return self.numerator / self.denominator +- +- def __lt__(self, other): +- return float(self) < float(other) ++class Fraction(_Fraction): ++ """Fraction with _normalize=False support for 3.12""" + +- def __eq__(self, other): +- return ( +- self.numerator == other.numerator and self.denominator == other.denominator +- ) ++ def __new__(cls, numerator=0, denominator=None, _normalize=False): ++ if sys.version_info >= (3, 12): ++ self = super().__new__(cls, numerator, denominator) ++ else: ++ self = super().__new__(cls, numerator, denominator, _normalize=_normalize) ++ self._normalize = _normalize ++ self._original_numerator = numerator ++ self._original_denominator = denominator ++ return self + +- def __gt__(self, other): +- return float(self) > float(other) ++ @property ++ def numerator(self): ++ if self._normalize: ++ return self._numerator ++ return self._original_numerator + +- def __add__(self, other): +- if isinstance(other, int): +- other = Fraction(other, 1) +- return Fraction( +- self.numerator * other.denominator + other.numerator * self.denominator, +- self.denominator * other.denominator, +- ) ++ @property ++ def denominator(self): ++ if self._normalize: ++ return self._denominator ++ return self._original_denominator + + + def sentence_bleu( +@@ -256,7 +247,7 @@ def corpus_bleu( + + # Collects the various precision values for the different ngram orders. + p_n = [ +- Fraction(p_numerators[i], p_denominators[i]) ++ Fraction(p_numerators[i], p_denominators[i], _normalize=False) + for i in range(1, max_weight_length + 1) + ] + +@@ -399,7 +390,7 @@ def modified_precision(references, hypothesis, n): + # Usually this happens when the ngram order is > len(reference). + denominator = max(1, sum(counts.values())) + +- return Fraction(numerator, denominator) ++ return Fraction(numerator, denominator, _normalize=False) + + + def closest_ref_length(references, hyp_len): +@@ -611,7 +602,8 @@ class SmoothingFunction: + In COLING 2004. + """ + return [ +- Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1) if i != 0 else p_n[0] ++ Fraction(p_n[i].numerator + 1, p_n[i].denominator + 1, _normalize=False) ++ if i != 0 else p_n[0] + for i in range(len(p_n)) + ] + diff --git a/dev-python/nltk/nltk-3.8.1.ebuild b/dev-python/nltk/nltk-3.8.1.ebuild index 83d4cd54a219..ebb8c4a7bc82 100644 --- a/dev-python/nltk/nltk-3.8.1.ebuild +++ b/dev-python/nltk/nltk-3.8.1.ebuild @@ -38,6 +38,8 @@ BDEPEND=" )" PDEPEND="dev-python/nltk-data" +PATCHES=( "${FILESDIR}/python-3.12.patch" ) + distutils_enable_tests pytest EPYTEST_DESELECT=( diff --git a/dev-python/nodeenv/Manifest b/dev-python/nodeenv/Manifest index 967102f541df..839e2f8a2ec6 100644 --- a/dev-python/nodeenv/Manifest +++ b/dev-python/nodeenv/Manifest @@ -1,2 +1,3 @@ DIST nodeenv-1.8.0.gh.tar.gz 36750 BLAKE2B e75217bb0c468649cbc29688f29d62450008816fb07e4decf1b28dada8b820c2d6f70eb65444e06a8c64b8a816c0cc98f7d179e770eaefe93e87c0cda05e1f85 SHA512 96dce219e00d3837b2b0083af9fe6d94ed4e3cd029e3da564263ad8656dcb9c52440c2df6a6954095e5cacd03e44437f08695603dea82c28122713045183014f DIST nodeenv-1.9.0.gh.tar.gz 37002 BLAKE2B a8db26f893816c30c8ff5e86d98b23106b1a3b74dd5f58dd51f423836b070851a5b761fca5221b9b8510a427cae2e36732841ad9fea0a9728aae8d303ca5f40d SHA512 d24612372f7fb6d909ce164f6b980086581b53ee8234c6ec14003a79418d7798481275e87589ade47c0502a4b396fa7b07fcfbb99174f1331f65dd6e7a1e0fd7 +DIST nodeenv-1.9.1.gh.tar.gz 37158 BLAKE2B 73cdc56f7e8b55b8f0f6a4ab20fe91957f2ed40c6f58b9f17b13fbadc1f15305566018ffe7731dd930560f6d46ba67572bd4bb4bf4ba0419fd54760bac909dd0 SHA512 28fa814b57323dd996764d754f9c614c9dfd668c85ab21c23d0f9aeebb669ba3933f7b0b9ccbf0c808b5f15783eb3afdf3801f293952f3c4945729dee6ecb20b diff --git a/dev-python/nodeenv/nodeenv-1.9.1.ebuild b/dev-python/nodeenv/nodeenv-1.9.1.ebuild new file mode 100644 index 000000000000..3c2ca5547135 --- /dev/null +++ b/dev-python/nodeenv/nodeenv-1.9.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="Node.js virtual environment builder" +HOMEPAGE=" + https://github.com/ekalinin/nodeenv/ + https://pypi.org/project/nodeenv/ +" +SRC_URI=" + https://github.com/ekalinin/nodeenv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~x86" + +# requires network access +RESTRICT="test" +PROPERTIES="test_network" + +PATCHES=( + # https://github.com/ekalinin/nodeenv/pull/355 + "${FILESDIR}/${PN}-1.9.0-which-hunt.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/pdf2image/Manifest b/dev-python/pdf2image/Manifest index 3a4e5c25ad37..d74f6f076f19 100644 --- a/dev-python/pdf2image/Manifest +++ b/dev-python/pdf2image/Manifest @@ -1,5 +1,5 @@ DIST pdf2image-1.16.3.tar.gz 12891 BLAKE2B 938e2ede446750b37034ddeb6e8ad7481231eb26f5365b8bce3e34f1fd5ca56e3ca7791a957bec5850f92eac9d301486c015893fbcb9ed14df40179e033f1498 SHA512 fd2ec1d72c6ca992a788d634ef58dde9e6433c98d8a9d92e08d159a4e2ffc4e3914e8895546e577c6b8b985287a4a51b85ad4bf35f490e664d86d5140e34d3f4 DIST pdf2image-1.17.0.gh.tar.gz 1758092 BLAKE2B bb1eab8c6c6b7cf02b0b13540001b419624a32d2233252535a9d2f16600843985bd1b9a346d7350de69e8b017bb0f2f5501c2f75eaf9f5be333aadd754732669 SHA512 a74579901e597559782c3357ea686cc92f358a4362ac309cf23843ad15b4f5d00b7d483098e8046c0edb83ae95cbf3155e02f84a8101da4034fe4bb201191a1d EBUILD pdf2image-1.16.3.ebuild 439 BLAKE2B d10f6bb2ba2c8c019f302aa000b56845e1137d792492dce52a9cfe4c9b58d27fa1e1d6eba0723bc2d501433ebfb3354efccaf2a53b03e6faa4e4939edc5985cc SHA512 50c915ca1fa0503dd39fb32c916a15f35a3107a74ca1fb6a95b5bc9a1ce382d3a5af052449783c7bf6164ba48ec49d637bd8da0f8d5ad0e3acb14be76b996df1 -EBUILD pdf2image-1.17.0.ebuild 614 BLAKE2B bfcd2cdfebf86f9726174463c0f3ed5c595c0a2559d37ad44c938151171714c8f0975a32d54ee6a4951cf979fc1325870398f43830d2cf8bdf3ba7109d6c437a SHA512 1079a5f5e7b3bb5b3347abef178e77c880eaa681d6bd0ec6a2ef414b652a4e2786c9cd915eca9b902f3a3478b77acf774ac3ec3c05a99daeec76f32fde34a63f +EBUILD pdf2image-1.17.0.ebuild 615 BLAKE2B 3a8bbac23e1729e339d2477847e388c5c78928d33eca0814b84f91e4b5057e21c0de1a56d286e0c43748a19ded9f8f321950761c430731eff4538ab41ffa6841 SHA512 74ee2ffc7550e7166f57c3a01f1d7847437c22954d6b6f695d082ad44ab1e5812cf1a3f3af2234feda3e8632b42718806befa8719f075c51a4f0be3d7474c90b MISC metadata.xml 448 BLAKE2B 8540178d67b5ad265f4cb938ad2c7c61204faa652aacae29fbecef252b90027a9ce724322338214e3d4b2df2d5abfe8a823fb1a95e5f0b1d2d088431c6251173 SHA512 6d206f3404c0924e85cb425b2904dbf7a9025b0439248ce22c467a067f612e54fb422078a15aa16258b4905efc13df05246aaae66afad88db2ee9fc17eb70a83 diff --git a/dev-python/phonenumbers/Manifest b/dev-python/phonenumbers/Manifest index 024b3b37ae79..81ae897b08fe 100644 --- a/dev-python/phonenumbers/Manifest +++ b/dev-python/phonenumbers/Manifest @@ -1 +1,2 @@ DIST python-phonenumbers-8.13.37.gh.tar.gz 4915690 BLAKE2B b0d325c5f5aca2bcfcc98bab4e5654f4cb21908b41c32b498543186e037b1f2d425ed265c1a3d2bec87fc8ae913257fc455169c91929bfbba3e44bcedffaf0dc SHA512 ac55e8cb2bad7e1e70afb13c49cdd1f73fc840cad6e10f4f9a6c817043729aaf3bdfddae0c9ab3d19f9d4de8cdff949c0bddd94de63e1c42e6c55e0445c69d6c +DIST python-phonenumbers-8.13.38.gh.tar.gz 4915409 BLAKE2B 26bf7179466468ed0b682c0928e1e3190885dc4bc5969c97be5f3ecbdc1a81640e42133ae52db69e277b74c35e2d62cbb45af421c557cfc31f5102bcf281aeb8 SHA512 9b929193b0667cf560e7cce86db844761de8dffeca2e244d91e42e9ad83dbc819cb33a738432f9f53761d0c241aa011a38fc14ae2265c6f351144107430360cb diff --git a/dev-python/phonenumbers/phonenumbers-8.13.38.ebuild b/dev-python/phonenumbers/phonenumbers-8.13.38.ebuild new file mode 100644 index 000000000000..062c56c77784 --- /dev/null +++ b/dev-python/phonenumbers/phonenumbers-8.13.38.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +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 ~arm64 ~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/pikepdf/pikepdf-8.11.2-r1.ebuild b/dev-python/pikepdf/pikepdf-8.11.2-r1.ebuild index 197c1c8aa8bf..aa8afbc8b078 100644 --- a/dev-python/pikepdf/pikepdf-8.11.2-r1.ebuild +++ b/dev-python/pikepdf/pikepdf-8.11.2-r1.ebuild @@ -42,7 +42,6 @@ BDEPEND=" >=dev-python/psutil-5.9[${PYTHON_USEDEP}] >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.10) diff --git a/dev-python/pikepdf/pikepdf-8.14.0-r1.ebuild b/dev-python/pikepdf/pikepdf-8.14.0-r1.ebuild index 4ba04f95eedb..97cb7b962e28 100644 --- a/dev-python/pikepdf/pikepdf-8.14.0-r1.ebuild +++ b/dev-python/pikepdf/pikepdf-8.14.0-r1.ebuild @@ -42,7 +42,6 @@ BDEPEND=" >=dev-python/psutil-5.9[${PYTHON_USEDEP}] >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.10) diff --git a/dev-python/pikepdf/pikepdf-8.15.1-r1.ebuild b/dev-python/pikepdf/pikepdf-8.15.1-r1.ebuild index 4ba04f95eedb..8fe6238235a4 100644 --- a/dev-python/pikepdf/pikepdf-8.15.1-r1.ebuild +++ b/dev-python/pikepdf/pikepdf-8.15.1-r1.ebuild @@ -18,6 +18,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="big-endian" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as # https://qpdf.readthedocs.io/en/stable/release-notes.html. @@ -42,7 +43,9 @@ BDEPEND=" >=dev-python/psutil-5.9[${PYTHON_USEDEP}] >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + !big-endian? ( + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.10) diff --git a/dev-python/pikepdf/pikepdf-8.4.1-r1.ebuild b/dev-python/pikepdf/pikepdf-8.4.1-r1.ebuild index edc16806804e..a81c08a2941d 100644 --- a/dev-python/pikepdf/pikepdf-8.4.1-r1.ebuild +++ b/dev-python/pikepdf/pikepdf-8.4.1-r1.ebuild @@ -42,7 +42,6 @@ BDEPEND=" >=dev-python/psutil-5.9[${PYTHON_USEDEP}] >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.{8..10}) diff --git a/dev-python/pikepdf/pikepdf-9.0.0.ebuild b/dev-python/pikepdf/pikepdf-9.0.0.ebuild index d0b31b289948..64f6e92b2621 100644 --- a/dev-python/pikepdf/pikepdf-9.0.0.ebuild +++ b/dev-python/pikepdf/pikepdf-9.0.0.ebuild @@ -18,6 +18,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="big-endian" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as # https://qpdf.readthedocs.io/en/stable/release-notes.html. @@ -42,7 +43,9 @@ BDEPEND=" >=dev-python/psutil-5.9[${PYTHON_USEDEP}] >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + !big-endian? ( + >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] + ) $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.10) diff --git a/dev-python/pillow/Manifest b/dev-python/pillow/Manifest index deb1cb5bc2f3..bc9eb9002ee3 100644 --- a/dev-python/pillow/Manifest +++ b/dev-python/pillow/Manifest @@ -1,4 +1,2 @@ -DIST pillow-10.0.1.gh.tar.gz 50539264 BLAKE2B 83c3bf4abc9c3eab210576dc28d6f8926ce0998ec344e792433afc05190bb248a926902ce7706e3569cd6cbf8deb640cafda86f102166cf6492ec00b66f9392f SHA512 27e2f0d86563c3b7f5a2e0ba2bbe98fc2cb2fa5871d0b6cbb5a0014e9d9eb03dde9969301419d806d1a22cd4881e624465a355ba9bc42b95746226e1f95712a9 -DIST pillow-10.1.0.gh.tar.gz 50798274 BLAKE2B a69be8187e7206b50350af399b73b5c43b29c249a4a5a6bb23438dae9967bb84f1d487f52b188811cb3d2e550245f8d5a765668d8d5de1375a84fcd96fc531d9 SHA512 01c97b68d4167d10539a2d29fb82676fb417ee5003f0acd9f602ed13d41b200579497cc0ef0949b2c1549b684f76f2d43895a52abdb1367345d2affd544c5b5a DIST pillow-10.2.0.gh.tar.gz 46244216 BLAKE2B 27bb076f0adade34295e6dfec5c5a1499471036e4f5358f0b3985c064a0ae962be9e91985851b369a49162ef520a84bb20eb1a5acb074fe94d861f042e4ada92 SHA512 d77ebedfb89d541db2fcba4fc354e097b9917594170bad07c67e22de123c9e0bbc9c55a938fc152bbdcca3ce23de6fa374a6d3d3bdbd44f16dbc2616c1bddf60 DIST pillow-10.3.0.gh.tar.gz 46636534 BLAKE2B 523486a3adc8905dbe0691e7092654e7884c34703f351e228a49b1cb6e9cffdf504b842aa0c83b18afb8f0dbe1265274044003aba540d6427ec3cd46ddda1498 SHA512 11095f435ba30ac364575271de4c94d498b6fc1d67730b8212fae6f187902129018ca950aa878843f4d1b29e25aab1be245ed313fd3bc110ccf9ce3ae266d840 diff --git a/dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch b/dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch deleted file mode 100644 index e3b6a6473dfc..000000000000 --- a/dev-python/pillow/files/pillow-10.1.0-olefile-0.47.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 0e523d986858e7c0b4acd45ea1c5a3a639e39b4b Mon Sep 17 00:00:00 2001 -From: Andrew Murray <radarhere@users.noreply.github.com> -Date: Sat, 2 Dec 2023 10:57:16 +1100 -Subject: [PATCH] Fixed closing file pointer with olefile 0.47 - ---- - src/PIL/FpxImagePlugin.py | 1 + - src/PIL/MicImagePlugin.py | 3 +++ - 2 files changed, 4 insertions(+) - -diff --git a/src/PIL/FpxImagePlugin.py b/src/PIL/FpxImagePlugin.py -index a878cbfd2..3027ef45b 100644 ---- a/src/PIL/FpxImagePlugin.py -+++ b/src/PIL/FpxImagePlugin.py -@@ -227,6 +227,7 @@ class FpxImageFile(ImageFile.ImageFile): - break # isn't really required - - self.stream = stream -+ self._fp = self.fp - self.fp = None - - def load(self): -diff --git a/src/PIL/MicImagePlugin.py b/src/PIL/MicImagePlugin.py -index 801318930..e4154902f 100644 ---- a/src/PIL/MicImagePlugin.py -+++ b/src/PIL/MicImagePlugin.py -@@ -66,6 +66,7 @@ class MicImageFile(TiffImagePlugin.TiffImageFile): - self._n_frames = len(self.images) - self.is_animated = self._n_frames > 1 - -+ self.__fp = self.fp - self.seek(0) - - def seek(self, frame): -@@ -87,10 +88,12 @@ class MicImageFile(TiffImagePlugin.TiffImageFile): - return self.frame - - def close(self): -+ self.__fp.close() - self.ole.close() - super().close() - - def __exit__(self, *args): -+ self.__fp.close() - self.ole.close() - super().__exit__() - --- -2.43.0 - diff --git a/dev-python/pillow/pillow-10.0.1.ebuild b/dev-python/pillow/pillow-10.0.1.ebuild deleted file mode 100644 index 2bd8ed725d43..000000000000 --- a/dev-python/pillow/pillow-10.0.1.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# setuptools wrapper -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 toolchain-funcs virtualx - -MY_PN=Pillow -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python Imaging Library (fork)" -HOMEPAGE=" - https://python-pillow.org/ - https://github.com/python-pillow/ - https://pypi.org/project/Pillow/ -" -SRC_URI=" - https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -EPYTEST_DESELECT=( - # TODO; incompatible Qt version? - Tests/test_qt_image_qapplication.py::test_sanity -) - -usepil() { - usex "${1}" enable disable -} - -python_configure_all() { - # It's important that these flags are also passed during the install phase - # as well. Make sure of that if you change the lines below. See bug 661308. - cat >> setup.cfg <<-EOF || die - [build_ext] - disable_platform_guessing = True - $(usepil truetype)_freetype = True - $(usepil jpeg)_jpeg = True - $(usepil jpeg2k)_jpeg2000 = True - $(usepil lcms)_lcms = True - $(usepil tiff)_tiff = True - $(usepil imagequant)_imagequant = True - $(usepil webp)_webp = True - $(usepil webp)_webpmux = True - $(usepil xcb)_xcb = True - $(usepil zlib)_zlib = True - EOF - - # setup.py won't let us add the right toolchain paths but it does - # accept additional ones from INCLUDE and LIB so set these. You - # wouldn't normally need these at all as the toolchain should look - # here anyway but it doesn't for this setup.py. - export \ - INCLUDE="${ESYSROOT}"/usr/include \ - LIB="${ESYSROOT}"/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO (is clipboard unreliable in Xvfb?) - Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard - ) - - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" -} - -python_install() { - python_doheader src/libImaging/*.h - distutils-r1_python_install -} - -python_install_all() { - if use examples ; then - docinto example - dodoc docs/example/* - docompress -x /usr/share/doc/${PF}/example - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pillow/pillow-10.1.0-r1.ebuild b/dev-python/pillow/pillow-10.1.0-r1.ebuild deleted file mode 100644 index c5d011ee38e8..000000000000 --- a/dev-python/pillow/pillow-10.1.0-r1.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# setuptools wrapper -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 toolchain-funcs virtualx - -MY_PN=Pillow -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python Imaging Library (fork)" -HOMEPAGE=" - https://python-pillow.org/ - https://github.com/python-pillow/ - https://pypi.org/project/Pillow/ -" -SRC_URI=" - https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -EPYTEST_DESELECT=( - # TODO; incompatible Qt version? - Tests/test_qt_image_qapplication.py::test_sanity -) - -PATCHES=( - # https://github.com/python-pillow/pillow/pull/7594 - "${FILESDIR}/${P}-olefile-0.47.patch" -) - -usepil() { - usex "${1}" enable disable -} - -python_configure_all() { - # It's important that these flags are also passed during the install phase - # as well. Make sure of that if you change the lines below. See bug 661308. - cat >> setup.cfg <<-EOF || die - [build_ext] - disable_platform_guessing = True - $(usepil truetype)_freetype = True - $(usepil jpeg)_jpeg = True - $(usepil jpeg2k)_jpeg2000 = True - $(usepil lcms)_lcms = True - $(usepil tiff)_tiff = True - $(usepil imagequant)_imagequant = True - $(usepil webp)_webp = True - $(usepil webp)_webpmux = True - $(usepil xcb)_xcb = True - $(usepil zlib)_zlib = True - EOF - - # setup.py won't let us add the right toolchain paths but it does - # accept additional ones from INCLUDE and LIB so set these. You - # wouldn't normally need these at all as the toolchain should look - # here anyway but it doesn't for this setup.py. - export \ - INCLUDE="${ESYSROOT}"/usr/include \ - LIB="${ESYSROOT}"/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO (is clipboard unreliable in Xvfb?) - Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard - ) - - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" -} - -python_install() { - python_doheader src/libImaging/*.h - distutils-r1_python_install -} - -python_install_all() { - if use examples ; then - docinto example - dodoc docs/example/* - docompress -x /usr/share/doc/${PF}/example - fi - distutils-r1_python_install_all -} diff --git a/dev-python/pillow/pillow-10.2.0.ebuild b/dev-python/pillow/pillow-10.2.0.ebuild deleted file mode 100644 index b6de21f58ee4..000000000000 --- a/dev-python/pillow/pillow-10.2.0.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -# setuptools wrapper -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) -PYTHON_REQ_USE='tk?,threads(+)' - -inherit distutils-r1 toolchain-funcs virtualx - -MY_PN=Pillow -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Python Imaging Library (fork)" -HOMEPAGE=" - https://python-pillow.org/ - https://github.com/python-pillow/Pillow/ - https://pypi.org/project/pillow/ -" -SRC_URI=" - https://github.com/python-pillow/Pillow/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib" -REQUIRED_USE="test? ( jpeg jpeg2k lcms tiff truetype )" -RESTRICT="!test? ( test )" - -DEPEND=" - imagequant? ( media-gfx/libimagequant:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - jpeg2k? ( media-libs/openjpeg:2= ) - lcms? ( media-libs/lcms:2= ) - tiff? ( media-libs/tiff:=[jpeg,zlib] ) - truetype? ( media-libs/freetype:2= ) - webp? ( media-libs/libwebp:= ) - xcb? ( x11-libs/libxcb ) - zlib? ( sys-libs/zlib:= ) -" -RDEPEND=" - ${DEPEND} - dev-python/olefile[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - virtual/pkgconfig - test? ( - ${RDEPEND} - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - || ( - media-gfx/imagemagick[png] - media-gfx/graphicsmagick[png] - ) - ) -" - -EPYTEST_DESELECT=( - # TODO; incompatible Qt version? - Tests/test_qt_image_qapplication.py::test_sanity -) - -usepil() { - usex "${1}" enable disable -} - -python_configure_all() { - # It's important that these flags are also passed during the install phase - # as well. Make sure of that if you change the lines below. See bug 661308. - cat >> setup.cfg <<-EOF || die - [build_ext] - disable_platform_guessing = True - $(usepil truetype)_freetype = True - $(usepil jpeg)_jpeg = True - $(usepil jpeg2k)_jpeg2000 = True - $(usepil lcms)_lcms = True - $(usepil tiff)_tiff = True - $(usepil imagequant)_imagequant = True - $(usepil webp)_webp = True - $(usepil webp)_webpmux = True - $(usepil xcb)_xcb = True - $(usepil zlib)_zlib = True - EOF - - # setup.py won't let us add the right toolchain paths but it does - # accept additional ones from INCLUDE and LIB so set these. You - # wouldn't normally need these at all as the toolchain should look - # here anyway but it doesn't for this setup.py. - export \ - INCLUDE="${ESYSROOT}"/usr/include \ - LIB="${ESYSROOT}"/usr/$(get_libdir) - - # We have patched in this env var. - tc-export PKG_CONFIG -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO (is clipboard unreliable in Xvfb?) - Tests/test_imagegrab.py::TestImageGrab::test_grabclipboard - ) - - "${EPYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - # no:relaxed: pytest-relaxed plugin make our tests fail. deactivate if installed - epytest -p no:relaxed || die "Tests failed with ${EPYTHON}" -} - -python_install() { - python_doheader src/libImaging/*.h - distutils-r1_python_install -} - -python_install_all() { - if use examples ; then - docinto example - dodoc docs/example/* - docompress -x /usr/share/doc/${PF}/example - fi - distutils-r1_python_install_all -} diff --git a/dev-python/prometheus_exporter/Manifest b/dev-python/prometheus_exporter/Manifest new file mode 100644 index 000000000000..23b7f8c435a5 --- /dev/null +++ b/dev-python/prometheus_exporter/Manifest @@ -0,0 +1 @@ +DIST prometheus_exporter-1.0.0.tar.gz 12185 BLAKE2B 8224ef1031239502a9e57be2128d03c01cc31988dd821f486f47223270e6cc7ca42116d7a4d5d4ec87b96a44b9d85fe7391e528fc4f6e7b647cbf76cc10f04d8 SHA512 1aa9f2a4f40863ba89bbdce83ae8153374010cdb51ed2d58923d1406a20c124df67a232406fba1d316e440d8240986fad07dfbe8e40fbb59b921558293bb6489 diff --git a/dev-python/prometheus_exporter/metadata.xml b/dev-python/prometheus_exporter/metadata.xml new file mode 100644 index 000000000000..af8c55886ddf --- /dev/null +++ b/dev-python/prometheus_exporter/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev@pyl.onl</email> + <name>Zen</name> + </maintainer> + + <origin>gentoo-guru-overlay</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/prometheus_exporter/prometheus_exporter-1.0.0.ebuild b/dev-python/prometheus_exporter/prometheus_exporter-1.0.0.ebuild new file mode 100644 index 000000000000..26c3cb3deb9f --- /dev/null +++ b/dev-python/prometheus_exporter/prometheus_exporter-1.0.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="Python Prometheus exporter library" +HOMEPAGE="https://github.com/desultory/prometheus_exporter" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3.9.4[${PYTHON_USEDEP}] +" diff --git a/dev-python/prompt-toolkit/Manifest b/dev-python/prompt-toolkit/Manifest index 452d35b5a739..e3a040e312bd 100644 --- a/dev-python/prompt-toolkit/Manifest +++ b/dev-python/prompt-toolkit/Manifest @@ -1,3 +1,4 @@ DIST prompt_toolkit-3.0.43.tar.gz 425733 BLAKE2B 663b3f675e004de9f2d6dce09320bc0bbd6a47f5a581d5b49bb5fe36f0d3eee2022522eac09dccc5bceaf6227e17abe475f133c53b912b3b84f940877aaa6b9a SHA512 833666da9bc7259eec2ee357cb936001880ac1f88c33a1e346ef5e4b8c3fcd37ff7d7102e590d509b0b0ac1e046fcd9d2a7046857c9e95dc3890f1b70c62544c DIST prompt_toolkit-3.0.44.tar.gz 425654 BLAKE2B 48d080ad6cab2ed192284ae376c65b43a500b7c642b9298af6afc109a16ddf53d8242748af772dd556a568356ab4af95bb71dfb36ec345ee9d4904f0de15fa20 SHA512 09202d023e52eae2200e23be1ed9bfa91ce072c1c6970d00d92fe9f0fabfaa4117b9e174b43b9ae041f4e0605c77a990625e51e51925d1ff63a65a10e09734a8 DIST prompt_toolkit-3.0.45.tar.gz 425324 BLAKE2B 771b1c4b80475f52547d725bbcc5e12223ab15cce9ca5a63c4364615c3f1c6ab23c9e14023178bf2e30467138f1b8407132eb22208fdc29c3c34992c6899c016 SHA512 6e8758e06fac7462821bd803a99f961017cd4e889eb39744fc1a3665983c12fced7bdf0538d83d709040cfb182e3694c1dc31e0c9e62aa08c4b1a7336955d35e +DIST prompt_toolkit-3.0.46.tar.gz 425591 BLAKE2B 74d10e5bb93cbdf9625f621ca80f15bb012c2839956fa0edaecab7f7af4ce1209eea4eb8fcd403563be5da514f3d08f550d605d44ec2e3b7af136950a9f9428c SHA512 c75dc84a45c24ddbf6074c65aa5e5e0e4ba6d2f1c1a9211e771a534118571b1ad31db57457304365d08091fdf5ad0f8827893269d3963fc1f29b0dd56a12ca64 diff --git a/dev-python/prompt-toolkit/prompt-toolkit-3.0.46.ebuild b/dev-python/prompt-toolkit/prompt-toolkit-3.0.46.ebuild new file mode 100644 index 000000000000..3a9463cfb5dd --- /dev/null +++ b/dev-python/prompt-toolkit/prompt-toolkit-3.0.46.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Building powerful interactive command lines in Python" +HOMEPAGE=" + https://pypi.org/project/prompt-toolkit/ + https://github.com/prompt-toolkit/python-prompt-toolkit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # requires tree-sitter-languages + src/prompt_toolkit/lexers/tree_sitter_test.py +) diff --git a/dev-python/pycurl/pycurl-7.45.3.ebuild b/dev-python/pycurl/pycurl-7.45.3.ebuild index 26ba2e676dd8..af4539d56d2c 100644 --- a/dev-python/pycurl/pycurl-7.45.3.ebuild +++ b/dev-python/pycurl/pycurl-7.45.3.ebuild @@ -43,11 +43,11 @@ BDEPEND=" test? ( >=dev-python/bottle-0.12.7[${PYTHON_USEDEP}] dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2] ) " +: ${EPYTEST_TIMEOUT:=120} distutils_enable_tests pytest python_prepare_all() { @@ -83,7 +83,7 @@ python_test() { tests/option_constants_test.py::OptionConstantsTest::test_socks5_gssapi_nec_setopt ) - epytest -p flaky -p timeout --timeout=30 tests + epytest -p flaky tests } python_install_all() { diff --git a/dev-python/pydevd/Manifest b/dev-python/pydevd/Manifest index caf3253d0935..0b035c7de7a7 100644 --- a/dev-python/pydevd/Manifest +++ b/dev-python/pydevd/Manifest @@ -1,4 +1 @@ -DIST PyDev.Debugger-pydev_debugger_2_10_0.gh.tar.gz 4019265 BLAKE2B e72c96576588ac3cbfcdd71a1a8e96d41b9d6757b3468c372b45a9c91a887c693f7309467fe8ea27d29c4775cc8df9ebd610b015cecabaaea43c8aa75229bc25 SHA512 a475e4f4cd9f883307d30b0bb2ebd5095de426b52f0f70b1a557095c06241149ad105ca4cbb31d311fa54e4387bbed27e5cf2712ba7447b19720d46dac21a101 -DIST PyDev.Debugger-pydev_debugger_3_0_3.gh.tar.gz 4287855 BLAKE2B 2f9f9cc892a19e42a37190966f2d2897f3e5da477c88d76d4b61b3062b6482db4c4cf5672efe75a1c139aa42a6b017cb5b276cede1167d0e91ca50009706e7e7 SHA512 4a5d03ea69e9eb40ee09c8d9a2258655f1645076757fa02bf92c8ad1b4fbb0570c1ac55464d8dd44cea6187ad2fa858851e02a86dc18b2343411cd8c56dc0c6a DIST PyDev.Debugger-pydev_debugger_3_1_0.gh.tar.gz 4293466 BLAKE2B 2b820b44a37362dfe554f60f418ce6c94cfd9fb9b14b6d6f521e7bd2023f044129b440878a136d67249096ba8a4aa61bb465551c1d9930989ffe9fe40c68f464 SHA512 8afaab2a69cb6785c5453ce1034a70fa28ab33c3122c1e21c485d9023317785524144c76e87864a695fa1fd26b05bc6d828db22a7cbcf025bd8aafe0b9ed4d3b -DIST pydevd-2.9.5.gh.tar.gz 3982897 BLAKE2B 06f0712301b419c472bcef2443a2ed277eb477041ff2e40e41b57f61649d84a7559dcae82c30ac572b14e90b98c2b9b9542c7360deded087eec92aeb0372ad67 SHA512 9aa38bc9a238e6f2956883a6318536382726013ea9e4a9d902b36d60df0cf924c279545bcdf92afdb435bfe36598982edd5805725860798fb3970b105254ba1d diff --git a/dev-python/pydevd/pydevd-2.10.0.ebuild b/dev-python/pydevd/pydevd-2.10.0.ebuild deleted file mode 100644 index 5b3164da80f3..000000000000 --- a/dev-python/pydevd/pydevd-2.10.0.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 multiprocessing toolchain-funcs - -TAG="pydev_debugger_${PV//./_}" -MY_P="PyDev.Debugger-${TAG}" -DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" -HOMEPAGE=" - https://github.com/fabioz/PyDev.Debugger/ - https://pypi.org/project/pydevd/ -" -SRC_URI=" - https://github.com/fabioz/PyDev.Debugger/archive/${TAG}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-debug/gdb -" -BDEPEND=" - test? ( - dev-python/untangle[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Drop -O3 and -flto compiler args - sed -i \ - -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ - -e '/extra_compile_args/d' \ - setup.py || die - - # Disable tests incompatible with new package versions - sed -e '/TEST_\(DJANGO\|FLASK\)/s:True:False:' \ - -i tests_python/debug_constants.py || die - - # Clean up some prebuilt files - rm -r third_party || die - cd pydevd_attach_to_process || die - - # Remove these Windows files - rm attach_{amd64,x86}.dll || die - rm inject_dll_{amd64,x86}.exe || die - rm run_code_on_dllmain_{amd64,x86}.dll || die - rm -r windows winappdbg || die - - # Remove these MacOS files - rm attach_x86_64.dylib || die - - # Remove these prebuilt linux files - rm attach_linux_{amd64,x86}.so || die - - cd linux_and_mac || die - rm compile_mac.sh || die -} - -src_compile() { - pushd pydevd_attach_to_process/linux_and_mac || die - # recompile removed file (extracted from compile_linux.sh) - $(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} \ - -o "../attach_linux_${ARCH}.so" \ - ${LDFLAGS} -nostartfiles attach.cpp -ldl || die - popd || die - - distutils-r1_src_compile - - rm -r _pydevd_bundle || die -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - # NB: upstream seems to run tests via runfiles.py but that script - # is a horror and it seems broken for us anyway - tests_python/test_debugger.py::test_attach_to_pid_halted - tests_python/test_debugger.py::test_attach_to_pid_no_threads - 'tests_python/test_debugger.py::test_path_translation[False]' - tests_python/test_debugger.py::test_remote_debugger_threads - tests_python/test_debugger_json.py::test_attach_to_pid - tests_python/test_debugger_json.py::test_evaluate_exception_trace - tests_python/test_debugger_json.py::test_gui_event_loop_custom - tests_python/test_debugger_json.py::test_path_translation_and_source_reference - tests_python/test_utilities.py::test_tracing_basic - tests_python/test_utilities.py::test_tracing_other_threads - # incompatible version? - tests_python/test_debugger_json.py::test_pandas - ) - - case ${EPYTHON} in - python3.12) - EPYTEST_DESELECT+=( - tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception - 'tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py]' - 'tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py]' - tests_python/test_debugger.py::test_case_13 - tests_python/test_debugger_json.py::test_function_breakpoints_async - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # this is only used to compare against getpid() to detect that xdist - # is being used - local -x PYDEV_MAIN_PID=1 - epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} - -python_install_all() { - distutils-r1_python_install_all - # Remove this duplicate that is installed directly to /usr/ - # These files are also correctly installed to the python site-packages dir - rm -r "${ED}/usr/pydevd_attach_to_process" || die -} diff --git a/dev-python/pydevd/pydevd-2.9.5.ebuild b/dev-python/pydevd/pydevd-2.9.5.ebuild deleted file mode 100644 index 9637e64a7844..000000000000 --- a/dev-python/pydevd/pydevd-2.9.5.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 toolchain-funcs - -MY_P="pydev_debugger_${PV//./_}" - -DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" -HOMEPAGE="https://github.com/fabioz/PyDev.Debugger/" -SRC_URI=" - https://github.com/fabioz/PyDev.Debugger/archive/${MY_P}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/PyDev.Debugger-${MY_P}" - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -# After removing and recompiling the prebuilt lib the tests fail? -# For some reason the test suite is executing a slightly different gdb command -# then before, which is lacking the file name of the lib that was pre built: -# gdb: No symbol table is loaded. Use the "file" command -# This also happens outside of portage so it is not related to any *FLAGS -RESTRICT="test" - -BDEPEND=" - test? ( - dev-python/untangle[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -RDEPEND="dev-debug/gdb" - -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Drop -O3 and -flto compiler args - sed -i \ - -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ - -e '/extra_compile_args/d' \ - setup.py || die - - # Clean up some prebuilt files - rm -r third_party || die - cd pydevd_attach_to_process || die - - # Remove these Windows files - rm attach_{amd64,x86}.dll || die - rm inject_dll_{amd64,x86}.exe || die - rm run_code_on_dllmain_{amd64,x86}.dll || die - rm -r windows winappdbg || die - - # Remove these MacOS files - rm attach_x86_64.dylib || die - - # Remove these prebuilt linux files - rm attach_linux_{amd64,x86}.so || die - - cd linux_and_mac || die - rm compile_mac.sh || die -} - -src_compile() { - pushd pydevd_attach_to_process/linux_and_mac || die - # recompile removed file (extracted from compile_linux.sh) - $(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} -o "attach_linux_${ARCH}.so" \ - ${LDFLAGS} -nostartfiles attach.cpp -ldl || die - mv "attach_linux_${ARCH}.so" ../ || die - popd || die - - distutils-r1_src_compile -} - -python_install_all() { - distutils-r1_python_install_all - # Remove this duplicate that is installed directly to /usr/ - # These files are also correctly installed to the python site-packages dir - rm -r "${ED}/usr/pydevd_attach_to_process" || die -} diff --git a/dev-python/pydevd/pydevd-3.0.3.ebuild b/dev-python/pydevd/pydevd-3.0.3.ebuild deleted file mode 100644 index 2b53116b1a6e..000000000000 --- a/dev-python/pydevd/pydevd-3.0.3.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 toolchain-funcs - -TAG="pydev_debugger_${PV//./_}" -MY_P="PyDev.Debugger-${TAG}" -DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" -HOMEPAGE=" - https://github.com/fabioz/PyDev.Debugger/ - https://pypi.org/project/pydevd/ -" -SRC_URI=" - https://github.com/fabioz/PyDev.Debugger/archive/${TAG}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="EPL-1.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-debug/gdb -" -BDEPEND=" - test? ( - dev-python/untangle[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - # Drop -O3 and -flto compiler args - sed -i \ - -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ - -e '/extra_compile_args/d' \ - setup.py || die - - # Disable tests incompatible with new package versions - sed -e '/TEST_\(DJANGO\|FLASK\)/s:True:False:' \ - -i tests_python/debug_constants.py || die - - # Clean up some prebuilt files - rm -r third_party || die - cd pydevd_attach_to_process || die - - # Remove these Windows files - rm attach_{amd64,x86}.dll || die - rm inject_dll_{amd64,x86}.exe || die - rm run_code_on_dllmain_{amd64,x86}.dll || die - rm -r windows winappdbg || die - - # Remove these MacOS files - rm attach_x86_64.dylib || die - - # Remove these prebuilt linux files - rm attach_linux_{amd64,x86}.so || die - - cd linux_and_mac || die - rm compile_mac.sh || die -} - -src_compile() { - pushd pydevd_attach_to_process/linux_and_mac || die - # recompile removed file (extracted from compile_linux.sh) - $(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} \ - -o "../attach_linux_${ARCH}.so" \ - ${LDFLAGS} -nostartfiles attach.cpp -ldl || die - popd || die - - distutils-r1_src_compile - - # C extensions - rm -r _pydevd* || die -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - # NB: upstream seems to run tests via runfiles.py but that script - # is a horror and it seems broken for us anyway - tests_python/test_debugger.py::test_attach_to_pid_halted - tests_python/test_debugger.py::test_attach_to_pid_no_threads - 'tests_python/test_debugger.py::test_path_translation[False]' - tests_python/test_debugger_json.py::test_attach_to_pid - tests_python/test_debugger_json.py::test_evaluate_exception_trace - tests_python/test_debugger_json.py::test_gui_event_loop_custom - tests_python/test_debugger_json.py::test_path_translation_and_source_reference - tests_python/test_utilities.py::test_tracing_basic - tests_python/test_utilities.py::test_tracing_other_threads - # incompatible with xdist - tests_python/test_utilities.py::test_is_main_thread - ) - - case ${EPYTHON} in - python3.10) - EPYTEST_DESELECT+=( - tests_python/test_debugger.py::test_frame_eval_limitations - ) - ;& - python3.11) - EPYTEST_DESELECT+=( - tests_python/test_debugger.py::test_remote_debugger_threads - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # this is only used to compare against getpid() to detect that xdist - # is being used - local -x PYDEV_MAIN_PID=1 - epytest -p rerunfailures --reruns=5 -} - -python_install_all() { - distutils-r1_python_install_all - # Remove this duplicate that is installed directly to /usr/ - # These files are also correctly installed to the python site-packages dir - rm -r "${ED}/usr/pydevd_attach_to_process" || die -} diff --git a/dev-python/pydevd/pydevd-3.1.0.ebuild b/dev-python/pydevd/pydevd-3.1.0-r1.ebuild index 8ccab0a61d8d..83c4c0b6dedb 100644 --- a/dev-python/pydevd/pydevd-3.1.0.ebuild +++ b/dev-python/pydevd/pydevd-3.1.0-r1.ebuild @@ -45,9 +45,11 @@ python_prepare_all() { distutils-r1_python_prepare_all # Drop -O3 and -flto compiler args + # Make extension build failures fatal sed -i \ -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ -e '/extra_compile_args/d' \ + -e '/except/a\ raise' \ setup.py || die # Disable tests incompatible with new package versions @@ -110,14 +112,16 @@ python_test() { ) case ${EPYTHON} in - python3.10) + python3.11) EPYTEST_DESELECT+=( tests_python/test_debugger.py::test_frame_eval_limitations + tests_python/test_debugger.py::test_remote_debugger_threads ) - ;& - python3.11) + ;; + python3.12) EPYTEST_DESELECT+=( - tests_python/test_debugger.py::test_remote_debugger_threads + # flaky + tests_python/test_debugger_json.py::test_step_next_step_in_multi_threads ) ;; esac diff --git a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.3.ebuild b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.3.ebuild index 2f4240954de0..c485168261b7 100644 --- a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.3.ebuild +++ b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.1.3.ebuild @@ -143,7 +143,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" distutils_enable_tests pytest diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.1.3.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.1.3.ebuild index 5a9f069a1551..d9f9e47236b8 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.1.3.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.1.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" ~dev-python/pyproject-fmt-rust-1.1.3[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-asyncio/Manifest b/dev-python/pytest-asyncio/Manifest index 50814f4c8fda..a3c2b1e0299c 100644 --- a/dev-python/pytest-asyncio/Manifest +++ b/dev-python/pytest-asyncio/Manifest @@ -1,2 +1 @@ -DIST pytest-asyncio-0.23.6.tar.gz 46203 BLAKE2B 37dd3cafa2c77b0dd04a6f406e9e83705b31a98eb058fef02ad6d917cb291874dac0388a129bce5d80954fe8dd0a28fbe9e2b94dabc2ff59a1a055154b908cce SHA512 24ec7fef2f1db744c743c4da651106320d02e8a83af0a238f6335ef669751e541b7fa787fd007fd7208f1837c1cb684acdecd66ee5e022501a7aad97649fdfbe DIST pytest_asyncio-0.23.7.tar.gz 46296 BLAKE2B afcdba0928f07e91ed68f54de2c1241fec784f164e3d5edb09908b913536edadbba7c90a73a8c843715da4567b18cc27929f31c6d0c2be3940e6ecc23abcc43c SHA512 d7164b060c1d0aa7999537e5681d2153662d49ec94e056da93b4cb2ba3dd0e3e5e4a68691c15b920c8e0ced03a4256620da600a33bcfa76b1adfa7ee66cd8de0 diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild deleted file mode 100644 index 90fd22524163..000000000000 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.23.6.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library for testing asyncio code with pytest" -HOMEPAGE=" - https://github.com/pytest-dev/pytest-asyncio/ - https://pypi.org/project/pytest-asyncio/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - >=dev-python/hypothesis-3.64[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # rely on precise warning counts - tests/hypothesis/test_base.py::test_can_use_explicit_event_loop_fixture - tests/modes/test_legacy_mode.py - tests/modes/test_strict_mode.py::test_strict_mode_ignores_unmarked_fixture - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_fixture_leaves_loop_unclosed - tests/test_event_loop_fixture_finalizer.py::test_event_loop_fixture_finalizer_raises_warning_when_test_leaves_loop_unclosed - tests/test_pytest_min_version_warning.py - tests/trio/test_fixtures.py::test_strict_mode_ignores_trio_fixtures - - # TODO - tests/test_is_async_test.py::test_returns_false_for_unmarked_coroutine_item_in_strict_mode - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_asyncio.plugin,_hypothesis_pytestplugin - epytest -} diff --git a/dev-python/pytest-asyncio/pytest-asyncio-0.23.7.ebuild b/dev-python/pytest-asyncio/pytest-asyncio-0.23.7.ebuild index 4aa04ac64f61..02f6643829e9 100644 --- a/dev-python/pytest-asyncio/pytest-asyncio-0.23.7.ebuild +++ b/dev-python/pytest-asyncio/pytest-asyncio-0.23.7.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" >=dev-python/pytest-5.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest index 9e28e80cea5b..1ee23e63c77f 100644 --- a/dev-python/pytest-bdd/Manifest +++ b/dev-python/pytest-bdd/Manifest @@ -1 +1,2 @@ DIST pytest-bdd-7.1.2.gh.tar.gz 81260 BLAKE2B 5120a79a5c085976f379afbd4ae7bc68c0d07a8517b6653bb2c94407b9964cd3adcfc92e8abc31cb658caa5c108e0590913c13cbcc408021841b91dbf52b8124 SHA512 7630b119649502e36d7ae2b6027c11b667513eab451511104076617e50de1456ee4b2ff128254ac0db630556258704e21e2a5e73ce9afc20ed403d0186c0a226 +DIST pytest-bdd-7.2.0.gh.tar.gz 81301 BLAKE2B e47ec5873546596e913453f86d7c0654b8212de74b0bfa46022da093fa87191c9303559ec670bd37f94e282973192596c77a1f7293a608ae8dedbd863fc245c2 SHA512 d0991feb446f264f0f114693dccb67682a10a427cb5fda28dccafd67cc37810e00c34e3235bb38d02b7fa1edabf1359c6c119be9cfdce0ccf00235ca3dde337b diff --git a/dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild new file mode 100644 index 000000000000..3b7bbee62b82 --- /dev/null +++ b/dev-python/pytest-bdd/pytest-bdd-7.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="BDD library for the pytest runner" +HOMEPAGE="https://pytest-bdd.readthedocs.io/" +SRC_URI=" + https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/mako[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/parse[${PYTHON_USEDEP}] + dev-python/parse_type[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +DOCS=( AUTHORS.rst CHANGES.rst README.rst ) + +src_test() { + # terminal_reporter test needs exact wrapping + local -x COLUMNS=80 + + # hooks output parsing may be affected by other pytest-*, e.g. tornasync + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_bdd.plugin + + distutils-r1_src_test +} diff --git a/dev-python/pytest-localftpserver/Manifest b/dev-python/pytest-localftpserver/Manifest index e41d60a05cd9..8994f7365573 100644 --- a/dev-python/pytest-localftpserver/Manifest +++ b/dev-python/pytest-localftpserver/Manifest @@ -1,3 +1 @@ -DIST pytest_localftpserver-1.2.0.tar.gz 48817 BLAKE2B ccccd0b2cdc2596fa12c8f082fd2fa3847541b731367abfccb7a57d3408d74c1637bfc644bb80482d9a1a25072d94b1f663b8ad8c0ad51c2d9dac65156a80638 SHA512 19e300c4ebb1d89ebfa4dce04296b8962014a139f82a409f6d46f748f653cfd1f4192a7fb65987015b2bf7237682507c4d6e42dab816c275ba7f8a302eb9a3e9 -DIST pytest_localftpserver-1.3.1.tar.gz 48894 BLAKE2B a90003e61eeeefaa0d0fab7e7e44d2c87c02fe976bbe75b9596c9a79c969636370f776b41a3cbe45ed949cffef40b176510dad8aefa7be115ca7f1c704634b2c SHA512 605ef5b96c046f9b949d62800bb37a74b4807718a1591ff9374526b0c990280ed32470c79943097afe101e2c8d7691c49510a0cb0a7170f470f3cef226879824 DIST pytest_localftpserver-1.3.2.tar.gz 48883 BLAKE2B a1e78d632a24f1066e8e96dc54875379e471446d77755b5defd0a0b4a2f00e2f3812d82f7be364f3a414432ae023a9c949132d530d3a2f476dec2c0fe8285408 SHA512 d7be031abd616df9e146ab08f2fe406c1dd55b68e97271e945c20938c01deff53b48cbf5c6b46c90c2cb5388f377e078e5e701ddcc2fa4900d29df9f82c92c4e diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.2.0.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.2.0.ebuild deleted file mode 100644 index ec68f413ce19..000000000000 --- a/dev-python/pytest-localftpserver/pytest-localftpserver-1.2.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A PyTest plugin which provides an FTP fixture for your tests" -HOMEPAGE=" - https://github.com/oz123/pytest-localftpserver/ - https://pypi.org/project/pytest-localftpserver/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-python/pyftpdlib[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_IGNORE=( - # These tests require python wget module - tests/test_pytest_localftpserver.py - tests/test_pytest_localftpserver_TLS.py - tests/test_pytest_localftpserver_with_env_var.py -) - -distutils_enable_tests pytest diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.1-r1.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.1-r1.ebuild deleted file mode 100644 index edc6a33fbe48..000000000000 --- a/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A PyTest plugin which provides an FTP fixture for your tests" -HOMEPAGE=" - https://github.com/oz123/pytest-localftpserver/ - https://pypi.org/project/pytest-localftpserver/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/pyftpdlib[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -EPYTEST_IGNORE=( - # These tests require python wget module - tests/test_pytest_localftpserver.py - tests/test_pytest_localftpserver_TLS.py - tests/test_pytest_localftpserver_with_env_var.py -) - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # a test dependency wrongly declared as RDEP - sed -i -e '/wget/d' pyproject.toml || die -} diff --git a/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.2.ebuild b/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.2.ebuild index 1e72fa2baea5..121b3721b0bc 100644 --- a/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.2.ebuild +++ b/dev-python/pytest-localftpserver/pytest-localftpserver-1.3.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" 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/pyftpdlib[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-twisted/pytest-twisted-1.14.1.ebuild b/dev-python/pytest-twisted/pytest-twisted-1.14.1.ebuild index 6626e2dd72ed..f9eb91357c7c 100644 --- a/dev-python/pytest-twisted/pytest-twisted-1.14.1.ebuild +++ b/dev-python/pytest-twisted/pytest-twisted-1.14.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~riscv x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" dev-python/decorator[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-xprocess/Manifest b/dev-python/pytest-xprocess/Manifest index 592e35d0c074..71e65e7582fb 100644 --- a/dev-python/pytest-xprocess/Manifest +++ b/dev-python/pytest-xprocess/Manifest @@ -1,3 +1,2 @@ DIST pytest-xprocess-0.23.0.tar.gz 31350 BLAKE2B 71492aa1bbc438221c6ac2825bf2bd678a75c12e8b5a8654d333c1ba2ad5c66b21f85e572998f0e5f1835097483a4895942d664ef7d8f078cad7923a9ee2e962 SHA512 97aa2a8ba0bcca62d53c0a0523696f6ae5fec5eae29e3e2cfe1a3ec8f14622c2c31f0802b2e65b55aa16778dd6ea82951e15af768c9d84cfd13aa2d427f94c9e -DIST pytest-xprocess-1.0.1.tar.gz 38665 BLAKE2B ddda66a3aed155f857d6f55c38ddb687e46cd5e0e8eefa0183fc853e884d6167d836f67045cf3aa8be7558fd8b56b98110bfd6b0e1a562f95428da124685d77f SHA512 4bf4545149e7cf99b51f0ba710b04d673664e5c93083d6848dbe5d0ecb7d948bb6180d0de5980a2d576381ed9f7a10085f57469f6ece93585fc451ac02441920 DIST pytest-xprocess-1.0.2.tar.gz 13232 BLAKE2B c58128aba5437ddbb4e7b6870bd7ba67c2630a1571db19bc7033e7e078cecba7f77b2f2b86c12afa3e2a1780a2591db255ff63d4f2cffdea1bf880c5715e90ea SHA512 e1d797dcc6aa47f16fbbf488b395e048df7d603cf0b3a25b66546be2f33bc6ba97db3cf33964a821cc88e990386942225bec5f5606103d3615324efe716291df diff --git a/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild deleted file mode 100644 index f94f28583d20..000000000000 --- a/dev-python/pytest-xprocess/pytest-xprocess-1.0.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Manage external processes across test runs" -HOMEPAGE=" - https://pypi.org/project/pytest-xprocess/ - https://github.com/pytest-dev/pytest-xprocess/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-xprocess/pytest-xprocess-1.0.2.ebuild b/dev-python/pytest-xprocess/pytest-xprocess-1.0.2.ebuild index a15cd0a54e47..f94f28583d20 100644 --- a/dev-python/pytest-xprocess/pytest-xprocess-1.0.2.ebuild +++ b/dev-python/pytest-xprocess/pytest-xprocess-1.0.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/pytest[${PYTHON_USEDEP}] diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest index 433e1f3c5f7e..c2797fed66ed 100644 --- a/dev-python/pytest/Manifest +++ b/dev-python/pytest/Manifest @@ -3,3 +3,4 @@ DIST pytest-8.0.2.tar.gz 1396924 BLAKE2B ad95d246f5592cfe54faea6c96e38cb60d3e271 DIST pytest-8.1.2.tar.gz 1410060 BLAKE2B 1379047c5ba434e98a383756c53a9cf31dc3bd3abcc49820f872b9110ec70906ca14080ce17ed2770b71195fbd79627a0eb16ee00429e165368144b20153a02b SHA512 a6ffae29da98ee4c357ebb03f00c4bc1a33f093ef867ad118841695548468c7f229eaa2c029a2ce3b158bbb0a65be5014e91555a223d04c1c72e614cb1d00546 DIST pytest-8.2.0.tar.gz 1422883 BLAKE2B 91f39aa14bfc56f7f98789ef9eeed80d1aa81c864f56181bf1e819b73543043eda307fec53151bf5dbcf8e63abd8dd8ad1290dd245c387cb68583d2160981cf2 SHA512 1a74a2269010804101fc4b8efc370c5d8d484eb145eb4e181feeb1a17046457b97071d2de925c3e8bbd4c6090cd00ca532d69286cb9e10ea023e59a99cd51088 DIST pytest-8.2.1.tar.gz 1424649 BLAKE2B 56c63526b7bb2c7eb6b260197bb1b52945b92598a9697bc99c053540caf4fcc7432cf70cfa1455da668b38ddf81a7abbac1b91a5e58688640519a16e4155ad6d SHA512 c837b2031c2b198345ce090cc5fcbebd2640a521131a60b882250b70825dc85e5072403a80e9a73f62e429156b57dce405d8400255457c55b14d4a2f700c5331 +DIST pytest-8.2.2.tar.gz 1427980 BLAKE2B 7f343e5ff05e4d26f816595ad1c52ee2b79d38029e75e3641ed0bbb7477e0a47e5ae48ebc3058a8e9f374cd1a391d360d9eda73eca2e41d8b533eda7948aedcb SHA512 896192f0d41f3fef49915dfea6ae33dbb939f6bbe54de27861bf1554bf87f910702169293e923af9bc40466e7f806aa19ca54cbe41a848c233f70b52bb86a63c diff --git a/dev-python/pytest/pytest-8.2.2.ebuild b/dev-python/pytest/pytest-8.2.2.ebuild new file mode 100644 index 000000000000..0158ceec3c95 --- /dev/null +++ b/dev-python/pytest/pytest-8.2.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple powerful testing with Python" +HOMEPAGE=" + https://pytest.org/ + https://github.com/pytest-dev/pytest/ + https://pypi.org/project/pytest/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/iniconfig[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + <dev-python/pluggy-2[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + >=dev-python/tomli-1[${PYTHON_USEDEP}] + ' 3.10) + !!<=dev-python/flaky-3.7.0-r5 +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2.3[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/argcomplete[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/xmlschema[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_test() { + # workaround new readline defaults + echo "set enable-bracketed-paste off" > "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # PDB tests seem quite flaky (they time out often) + testing/test_debugging.py::TestPDB + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + ;; + esac + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/python-xmp-toolkit/Manifest b/dev-python/python-xmp-toolkit/Manifest index f3ef34bae3cf..aaca8017a812 100644 --- a/dev-python/python-xmp-toolkit/Manifest +++ b/dev-python/python-xmp-toolkit/Manifest @@ -1,2 +1 @@ -DIST python-xmp-toolkit-2.0.1.gh.tar.gz 3576384 BLAKE2B cbe73d08d101d0d44c368fd1f1c6f1c8308ece5ca26f164f78312d901fb5d0387a5d2a6519d527b3625d11e338df5c366bed8a7361ac822ac887ef8be3a74948 SHA512 46f83b03574b2d742f6c6efb5b94a549068557ad6338e74fc62368c265d05f0b66a4dd36b17cd51b39f7b6cfbfb1210d54cc44c69e9a9e3da3392ee5f11de3bd DIST python-xmp-toolkit-2.0.2.gh.tar.gz 3577828 BLAKE2B bc24224c5dc789b0f66545a85b10bcab2dd64dcd5195ef04eae6cac94e1c377466aa40adc4aa42d014a7094df4dbe6f437b78e38b5a0e36e0f2eeeb0a08f1f4b SHA512 7ab70e78abe3f315863c444c5d841ff4ae9e95968ccef45e15d20df5206140939f0e857e6c987a643ba908aa8d92dc4870e77d94cfafc547208e4705fa9187e1 diff --git a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild deleted file mode 100644 index e7030d54be8d..000000000000 --- a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Library for working with XMP metadata" -HOMEPAGE=" - https://github.com/python-xmp-toolkit/python-xmp-toolkit/ - https://pypi.org/project/python-xmp-toolkit/ -" -SRC_URI=" - https://github.com/python-xmp-toolkit/python-xmp-toolkit/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -DEPEND=" - test? ( media-libs/exempi ) -" -RDEPEND=" - dev-python/pytz[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}"/${P}-test.patch -) - -distutils_enable_sphinx docs -distutils_enable_tests unittest diff --git a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2.ebuild b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2-r1.ebuild index 0a240c8cd5a3..e5e0f14c7216 100644 --- a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2.ebuild +++ b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2-r1.ebuild @@ -20,13 +20,11 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc64 ~riscv x86" -DEPEND=" - test? ( media-libs/exempi ) -" RDEPEND=" dev-python/pytz[${PYTHON_USEDEP}] + media-libs/exempi " PATCHES=( diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index baa6aaf8aef8..21f1c927843d 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1,2 +1 @@ -DIST quart-0.19.5.gh.tar.gz 494282 BLAKE2B d908638a00d67798dc71bb84ab51b2b35ee55c1b16ba88781642a1b64b70e0206e33c4e61cb397451969d0edde593ac2639ce8000838750e312b1ef47b8b154a SHA512 a764f50b19c84f7b4cf368488a703c726b2e98785cc7e0c15de0c3293f764658bb6e1489be53bb03ca135ccd847383424fdba8706383a45f406c39fdceb26d71 DIST quart-0.19.6.gh.tar.gz 747457 BLAKE2B 2912e8e951ad94e8f86e553ee8fac2d3ea679f71be54ff6638aa36d3d3027b48de47994a2f264b3cee69b483ffe4e153c7ea0080b8f6904a2ebaddce2fbede96 SHA512 2a28a36638052c26265122771936dbe8a12332c8abe177a9addafc71b4a0987c864c26f73160492d6e849a5b0a576346ac24c961c5e461afd11981c45aecbcd7 diff --git a/dev-python/quart/quart-0.19.5.ebuild b/dev-python/quart/quart-0.19.5.ebuild deleted file mode 100644 index d39c6a886763..000000000000 --- a/dev-python/quart/quart-0.19.5.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="A Python ASGI web microframework with the same API as Flask" -HOMEPAGE=" - https://github.com/pallets/quart/ - https://pypi.org/project/Quart/ -" -# no tests in sdist as of 0.19.4 -SRC_URI=" - https://github.com/pallets/quart/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/aiofiles[${PYTHON_USEDEP}] - >=dev-python/blinker-1.6[${PYTHON_USEDEP}] - >=dev-python/click-8.0.0[${PYTHON_USEDEP}] - >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] - >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] - dev-python/itsdangerous[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/markupsafe[${PYTHON_USEDEP}] - >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -p asyncio -} diff --git a/dev-python/quart/quart-0.19.6.ebuild b/dev-python/quart/quart-0.19.6.ebuild index 4c34e1924c88..d39c6a886763 100644 --- a/dev-python/quart/quart-0.19.6.ebuild +++ b/dev-python/quart/quart-0.19.6.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/aiofiles[${PYTHON_USEDEP}] diff --git a/dev-python/requests-file/Manifest b/dev-python/requests-file/Manifest index 9405a0974823..0e9a0b1bbc24 100644 --- a/dev-python/requests-file/Manifest +++ b/dev-python/requests-file/Manifest @@ -1,2 +1 @@ -DIST requests-file-2.0.0.tar.gz 6863 BLAKE2B 845c8b468131f5958c2e648553aaba5e2a9da9942b333dcf3eb9c70dad3941945f0d63d65747c6ec1bb9f2c3e7ce9665738665bf76a691b85048d998888ff9ef SHA512 d37a35d50a2d5f688e431c15c55bfd789c23e50445d94abedfbe75c9ccd825142850dc2ea7e9426c3fa1ca8e4aaaf0a230f5f6921d3c42d157ac95d7e7352b70 DIST requests_file-2.1.0.tar.gz 6891 BLAKE2B 69d92d836f184b48420ed3a0cdc44905ac0c495e3cbc574a62c1c3b4088770654925a97775fedfdcec25e247ef4d06df82a52f2303d5b29f875f77d8f13c3952 SHA512 1c13ca665797987ad2908ebe0cdff97f03cbbbb110c6fe782a03edb6035575ee8eb89683e197336d6ed8d5868873d88eccac642d45996e88368af234a9318611 diff --git a/dev-python/requests-file/requests-file-2.0.0.ebuild b/dev-python/requests-file/requests-file-2.0.0.ebuild deleted file mode 100644 index 197b5003330d..000000000000 --- a/dev-python/requests-file/requests-file-2.0.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="File transport adapter for Requests" -HOMEPAGE=" - https://github.com/dashea/requests-file/ - https://pypi.org/project/requests-file/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong x86" - -RDEPEND=" - dev-python/requests[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/requests-file/requests-file-2.1.0.ebuild b/dev-python/requests-file/requests-file-2.1.0.ebuild index a0cc02344f93..c6857438482c 100644 --- a/dev-python/requests-file/requests-file-2.1.0.ebuild +++ b/dev-python/requests-file/requests-file-2.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~x86" +KEYWORDS="amd64 arm64 ~loong x86" RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] diff --git a/dev-python/sabctools/sabctools-8.2.3.ebuild b/dev-python/sabctools/sabctools-8.2.3.ebuild index ceda76ecedef..55e78fee678f 100644 --- a/dev-python/sabctools/sabctools-8.2.3.ebuild +++ b/dev-python/sabctools/sabctools-8.2.3.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" BDEPEND=" test? ( diff --git a/dev-python/scikit-learn/scikit-learn-1.5.0.ebuild b/dev-python/scikit-learn/scikit-learn-1.5.0.ebuild index df75cc95a8e5..57800b0e7f80 100644 --- a/dev-python/scikit-learn/scikit-learn-1.5.0.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.5.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" IUSE="examples" DEPEND=" diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index 32f60eea7c32..0029701e358c 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -2,3 +2,4 @@ DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b DIST sentry-python-2.1.1.gh.tar.gz 499979 BLAKE2B 92a401dd0b7202cff288ea252bcaa52c6b7175607aeddcc8f0f6506b722c694bd4499bef1b058e886bed28493408b197916ffff5b698c8c4470747d80a39e098 SHA512 13566786b97ddc571bbb189a3e57ea6721c57c23805be99929883e37db52fe65b636e6f129118dcb7453cb20bb00a352c4a1fa0d43dce7a71236c9d3a9ad5451 DIST sentry-python-2.2.1.gh.tar.gz 506079 BLAKE2B 396664193906b1712950d6776f7e6ef63fe3c8001bc9a1866ff275bd9885abca82d04c02788d74d9c57ad020c10efa6d0db74c5a3112fc670d867a1189d5ad88 SHA512 b6d55c54342e0847d11ada5844641ea1052763c7fa4eda0f104df983195ac3fab0668b1cbf4dfb48d6b5d285a686ec8b10dcbe4f812fd7b13c05be15d54cd852 DIST sentry-python-2.3.1.gh.tar.gz 511775 BLAKE2B 5cc0cf6a225b8619df76492abbce76d01631148dc73aeea47d13c71435e973af7cc7904ef50e7edcde5821bce28b213b5e3ca3208887688e2d4cec1d03c7d54e SHA512 12ccd25142fd42262735babe986f9972571b4a3c48607c47c8b6887e722f53a964e259e82be56cf4c4ba6d14efe8335ebb32ed98a40a763a63a5f7b52ef6ce9e +DIST sentry-python-2.4.0.gh.tar.gz 512867 BLAKE2B 6473ce92ee5d9886bdca7dd13770f6639de64e7fcf4bc6cd0aa966aeab483abc6a884a96158c9627402bbaefd6678fc987518380e2b395fecd386e12431a89a5 SHA512 a1b539ffe6b538f0f3fabd3c6df2997b08ca2ba9e9bcef19f01dbde384de5b31c9795a80c2862172c0ccd918e878c90d42e04b15ed44222340ffc56d1f7f1c7e diff --git a/dev-python/sentry-sdk/sentry-sdk-2.4.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.4.0.ebuild new file mode 100644 index 000000000000..3b37b4d4b84e --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-2.4.0.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # TODO + tests/integrations/bottle + # TODO: most of them hang + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry + # broken (incompatible rq version?) + tests/integrations/rq + ) + + local EPYTEST_DESELECT=( + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled + tests/utils/test_contextvars.py::test_leaks + # pointless, fragile to packages being installed in parallel + tests/test_utils.py::test_installed_modules + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked +} diff --git a/dev-python/setuptools/setuptools-70.0.0.ebuild b/dev-python/setuptools/setuptools-70.0.0.ebuild index cadd2fcec546..77f9842a5a2c 100644 --- a/dev-python/setuptools/setuptools-70.0.0.ebuild +++ b/dev-python/setuptools/setuptools-70.0.0.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/simpy/simpy-4.1.1.ebuild b/dev-python/simpy/simpy-4.1.1.ebuild index c782db29d1a3..cc60e8f40bb6 100644 --- a/dev-python/simpy/simpy-4.1.1.ebuild +++ b/dev-python/simpy/simpy-4.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,12 +16,15 @@ HOMEPAGE=" https://pypi.org/project/simpy/ " -SLOT="0" LICENSE="LGPL-2.1" +SLOT="0" KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/py[${PYTHON_USEDEP}] + ) " # Could not import extension sphinx.builders.epub3 (exception: cannot import diff --git a/dev-python/stomp-py/Manifest b/dev-python/stomp-py/Manifest index a870402f5087..b249c2e351ce 100644 --- a/dev-python/stomp-py/Manifest +++ b/dev-python/stomp-py/Manifest @@ -1,2 +1 @@ -DIST stomp.py-8.1.0.tar.gz 39808 BLAKE2B c6efb19fbee81142f251c4bf4114b445878b81fa457260a306cb82ef5e9c57f0b75e3dc8cd6035676e688f1d33081cdf936ac6ccc0628819722849d60f4d8602 SHA512 7385842a23fbe6022c386489641948932e805430ce71c09079d9484fe17d02241ee705d92a1bcdf873eebcbacf68f44bbf884ea103c8963944b84758073fdac7 DIST stomp_py-8.1.2.tar.gz 39163 BLAKE2B 49d096369b427033cf1210638875cdd1501711a05183d7d186f8f926033e898c7323a8d96f319311999edc86a49515a92ba4c0ed0982712789f7ba78f4175e5e SHA512 2cbfaacdc5762b8db5c28721e01511c32a8991a866d6ced520a27cb82deacc4716cbaf5f298a8daea7f91c9038859d4c39069ad5b46ba6d0efe60e4c19ab09ae diff --git a/dev-python/stomp-py/stomp-py-8.1.0.ebuild b/dev-python/stomp-py/stomp-py-8.1.0.ebuild deleted file mode 100644 index 72750eb5e0ff..000000000000 --- a/dev-python/stomp-py/stomp-py-8.1.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python client library for the STOMP messaging protocol" -HOMEPAGE="https://pypi.org/project/stomp.py/ https://github.com/jasonrbriggs/stomp.py/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND="<dev-python/docopt-0.7.0[${PYTHON_USEDEP}]" - -# stomp.py test suite requires quite a few appropriately configured -# messaging servers (as of 7.0.0: RabbitMQ, ActiveMQ, ActiveMQ Artemis, -# stompserver). Upstream relies on Docker to provide those servers, however -# doing the same in src_test would require both granting the portage user -# extra permissions and packaging the base image (trying to download it -# on the fly would violate the network sandbox). -# Side note: PyPI tarballs do not include tests. -RESTRICT="test" diff --git a/dev-python/stomp-py/stomp-py-8.1.2.ebuild b/dev-python/stomp-py/stomp-py-8.1.2.ebuild index 7d87f84b5686..ef1c75a0ae88 100644 --- a/dev-python/stomp-py/stomp-py-8.1.2.ebuild +++ b/dev-python/stomp-py/stomp-py-8.1.2.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://pypi.org/project/stomp-py/ https://github.com/jasonrbriggs/sto LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND=" <dev-python/docopt-0.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/tables/Manifest b/dev-python/tables/Manifest index f7af5d667ecc..be610456495d 100644 --- a/dev-python/tables/Manifest +++ b/dev-python/tables/Manifest @@ -1,4 +1,2 @@ DIST tables-3.8.0.tar.gz 8014052 BLAKE2B 28d120ad609ebc9ae8cd97286bb3fb9c484bd8a179edcf0de1b96e4400b7a21b4db835d94fae3aaee84924bd46b84b84da12c538b39517362d805651e7aa3aef SHA512 1616c00787a2e88ff3dc2aebe3a1b2ad428b5a8ea48fc94058b49c509f1c040b540b3f62551b16b3246d2fed58e0b33443cbdaaf1dfcba5a6eead5f3e8028029 -DIST tables-3.9.0.tar.gz 4682294 BLAKE2B a4ff5a67c0376e90ca4f1f405878ead3bbb807b2fc972ba17a1026782adb473a26e15561ba13fb3c477defe3157ead20cf672d7150735fd5555821d1091d9b3f SHA512 2f7e14af6a1759c16a3d79c6b26276aed49ddfcb60f8e157646f0e59f1b9abc405961dab48b55ddfaf046e69b39552a2d003d5ff7734edb195027f9cd6dab684 -DIST tables-3.9.1.tar.gz 4682299 BLAKE2B 0f873cbf82aea0651ced49d92416c5c3c1420dc527c8876a25c0631b1ee59d0b44c920780a9026674d217553d550e57b0ce87b1f6af81ac5bc27c32c161007cb SHA512 c3350a818f11674d15c87edeb9a5b32303d81d533a5473051b8ecb82780d7971fc106fa2e7df3a2bec333d19cead29ef80e2c9355f76a4a1297e44bf7a99ef76 DIST tables-3.9.2.tar.gz 4683437 BLAKE2B 7044aede85d9eca67260a309d19b5c80944b80b2107f665296ad7ae6a3c3f9a8717a41ae7298a5ae45e5b9de7ae0a6678a83d4bd914bd8709512333e783367bc SHA512 9b416222304b7798585a20d4d7d61934023f151d4262a58a4f0ee969aa365264270c12a734461a194d2c857a13a8e09fb7a1386042267113f601560c041cecd9 diff --git a/dev-python/tables/tables-3.9.0.ebuild b/dev-python/tables/tables-3.9.0.ebuild deleted file mode 100644 index 2d2fc3c68ad0..000000000000 --- a/dev-python/tables/tables-3.9.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 prefix pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE=" - https://www.pytables.org/ - https://github.com/PyTables/PyTables/ - https://pypi.org/project/tables/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="+cpudetection examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - dev-libs/c-blosc2:= - dev-libs/lzo:2= - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.19.0[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND=" - ${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) -" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - virtual/pkgconfig - cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm -r c-blosc/{blosc,internal-complibs} || die - sed -i -e '/blosc2/d' requirements.txt || die - hprefixify -w '/prefixes =/' setup.py - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" tables/tests/test_all.py -v || die -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r contrib examples - docompress -x /usr/share/doc/${PF}/{contrib,examples} - fi -} diff --git a/dev-python/tables/tables-3.9.1-r1.ebuild b/dev-python/tables/tables-3.9.1-r1.ebuild deleted file mode 100644 index a5bbeb0c54db..000000000000 --- a/dev-python/tables/tables-3.9.1-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 prefix pypi - -DESCRIPTION="Hierarchical datasets for Python" -HOMEPAGE=" - https://www.pytables.org/ - https://github.com/PyTables/PyTables/ - https://pypi.org/project/tables/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="+cpudetection examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/bzip2:0= - app-arch/lz4:0= - >=app-arch/zstd-1.0.0:= - >=dev-libs/c-blosc-1.11.1:0= - >=dev-libs/c-blosc2-2.10.4:= - dev-libs/lzo:2= - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.19.0[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.8.4:= -" -RDEPEND=" - ${DEPEND} - >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) -" -BDEPEND=" - >=dev-python/cython-0.21[${PYTHON_USEDEP}] - virtual/pkgconfig - cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) - test? ( - ${RDEPEND} - ) -" - -python_prepare_all() { - export PYTABLES_NO_EMBEDDED_LIBS=1 - export USE_PKGCONFIG=TRUE - - rm -r c-blosc/{blosc,internal-complibs} || die - sed -i -e '/blosc2/d' pyproject.toml || die - hprefixify -w '/prefixes =/' setup.py - distutils-r1_python_prepare_all -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - "${EPYTHON}" tables/tests/test_all.py -v || die -} - -python_install_all() { - distutils-r1_python_install_all - - if use examples; then - dodoc -r contrib examples - docompress -x /usr/share/doc/${PF}/{contrib,examples} - fi -} diff --git a/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild index 4982127c7d41..5d6d43adb079 100644 --- a/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~s390 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.22.1:=" diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index efe5f6e4d749..a7862f734602 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1 @@ -DIST trimesh-4.3.2.gh.tar.gz 13597959 BLAKE2B 538c3ecc9153bbef04fd004076277d50e1ac80e73231ae5faffadb6a810e5c6aa23953206f8a9817a16c3d104d0a38b0da07fc6f8460f2bfde0a356c760048d7 SHA512 2bf40f2290875547dabf40101004581e7287cf2a954d4c1bd0df1adbf044e72bd30d8fbbadb8db44e8bfc33049cc68a075b347eeb538f8fef5225a724a4ddc3b DIST trimesh-4.4.0.gh.tar.gz 13599198 BLAKE2B 41fe6d8797bca600ef4526420b9a4bc3fe722adff3a6154625801b2e9a8645ad573f4f62926cd00763899d049660145d6e5614316fcfe3c4f4b76c59d59467ba SHA512 227f3da9e42bd2a872d312d5128d7ae169fcee8ef5566e533812fc6222fe6e5dc40c7802a5a7f1bbb583c700e6c8d1017ee1c6a946284e64679f3a138f31da6e diff --git a/dev-python/trimesh/trimesh-4.3.2.ebuild b/dev-python/trimesh/trimesh-4.3.2.ebuild deleted file mode 100644 index 3f7a537f1f1b..000000000000 --- a/dev-python/trimesh/trimesh-4.3.2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.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/httpx[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - <dev-python/numpy-2[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${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/mapbox_earcut[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - ) -" - -EPYTEST_TIMEOUT=1800 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # require pyinstrument - tests/test_sweep.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -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" dev-python/scikit-image -} diff --git a/dev-python/trimesh/trimesh-4.4.0.ebuild b/dev-python/trimesh/trimesh-4.4.0.ebuild index 28e2ef0d54f8..ff64512e895e 100644 --- a/dev-python/trimesh/trimesh-4.4.0.ebuild +++ b/dev-python/trimesh/trimesh-4.4.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index 0cf8560eaafe..c4ac662ecf38 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,3 +1,2 @@ -DIST unearth-0.15.1.tar.gz 283687 BLAKE2B e43a0fac6023974c877ad7b82eac402d38da61920ab905587bf19d6e506b127785863ae45064392ddfee042e3fa12868d996c4375acbd1baa7c31402d31da80a SHA512 94db664b45f6e570437a0e24ba12c0c8ac6358ef5fda214bcd2f5665158f4e314a23f77dcc5f923804a7b8a30e0c580c3efae854ee5a502504b48db405d932fb -DIST unearth-0.15.2.tar.gz 283748 BLAKE2B 8387454676d6253ba1df6cf2c857d416c5b67ac5c9deafb6b34a70263f07147688f12c8bbd4a76dbca6a98542ccb31233d9ad19260f7800bcc67491ab0b76500 SHA512 1763d640153b53ce18b5b7c0ccab811402fe8dade87ebe64bf8984284710fc739c9ef0d0df20e7be356f4e93dda126bec3d6d801c92ad2c5b5381f8d6f94c04e DIST unearth-0.15.3.tar.gz 283726 BLAKE2B a805720628c10f7594b8deee3b9fa9a922c5c85143ddb80d863a4aee3f8524360339540ca035060d5f46534fcc93472d07dd40dfb7712cffd3e5e17b74128c70 SHA512 68cde14908a471e0d1d8c75eb33ec352f4d90d6f54692c21039315961b906c90220fc718881c9e0937a34677e05835108bca1298aa0c825dd0666bb84529f100 +DIST unearth-0.15.4.tar.gz 283788 BLAKE2B 57d3da264e8a0574bf8b208cee87a9fab6778eb9e9da0a0697a91bffebc28c27d62b5d22584b02049684269709012a060d075f62887bb8685989b07745c80da6 SHA512 a6f759108ec0bdddafd653cff840549a57d9656af2c768b2bdf745f5e9d0688c4f14ca0bb8ed86ffa8d38cb9e0a8cdcdb076db0585df3734131f24ef0cc5c995 diff --git a/dev-python/unearth/unearth-0.15.2.ebuild b/dev-python/unearth/unearth-0.15.2.ebuild deleted file mode 100644 index b84ab6eae8ca..000000000000 --- a/dev-python/unearth/unearth-0.15.2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A utility to fetch and download python packages" -HOMEPAGE=" - https://pypi.org/project/unearth/ - https://github.com/frostming/unearth/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - <dev-python/httpx-1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_httpserver -p pytest_mock -} diff --git a/dev-python/unearth/unearth-0.15.1.ebuild b/dev-python/unearth/unearth-0.15.4.ebuild index b84ab6eae8ca..b84ab6eae8ca 100644 --- a/dev-python/unearth/unearth-0.15.1.ebuild +++ b/dev-python/unearth/unearth-0.15.4.ebuild diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index efb8d0f50629..d026c45d891e 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-62.1.tar.gz 475687 BLAKE2B 80e5f24c2a52f60baada23239427cc80f34d9885d7decca172dcb420bcb76cdc49a4d15e21d4328e86bf9c7f9228f9a01da1244eba21f35a90f80a8e358b74bc SHA512 8eaee6daa610accd7594141102aecaf1b5debecbae196c442c32d522d4dcb54c411a215b77956b6e66deeb0abda66cb36d0e081d5d3fd69a8bf5a82716209aeb +DIST weasyprint-62.2.tar.gz 477895 BLAKE2B 918852d2eb9fd1b1e29101927e6251d827dbb7add8efa448dd7888c42bbe4079a514ff6d3d764ebb0cd96c0a1890f343b72575b1cc4e86959293a95054766d69 SHA512 d5254a39f6b5554e83fb2f8b88077a36d6f5a44f6d731b5f07c952429994f32a79c4d6c1187ed8ea9bdccada320c4347693bd4a21c61c6ad76f866161adfea81 diff --git a/dev-python/weasyprint/weasyprint-62.2.ebuild b/dev-python/weasyprint/weasyprint-62.2.ebuild new file mode 100644 index 000000000000..b138d743eaae --- /dev/null +++ b/dev-python/weasyprint/weasyprint-62.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +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.10.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.3.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/werkzeug/werkzeug-3.0.3.ebuild b/dev-python/werkzeug/werkzeug-3.0.3.ebuild index bd2f47d1ceff..5a4f7067d9d3 100644 --- a/dev-python/werkzeug/werkzeug-3.0.3.ebuild +++ b/dev-python/werkzeug/werkzeug-3.0.3.ebuild @@ -23,8 +23,6 @@ IUSE="test-rust" RDEPEND=" >=dev-python/markupsafe-2.1.1[${PYTHON_USEDEP}] " -# NOTE: remove the loong mask after greenlet gains support for loong -# see https://github.com/python-greenlet/greenlet/pull/257 BDEPEND=" test? ( dev-python/ephemeral-port-reserve[${PYTHON_USEDEP}] @@ -34,11 +32,6 @@ BDEPEND=" test-rust? ( dev-python/cryptography[${PYTHON_USEDEP}] ) - !hppa? ( !ia64? ( !loong? ( - $(python_gen_cond_dep ' - dev-python/greenlet[${PYTHON_USEDEP}] - ' python3_{10..11}) - ) ) ) ) " diff --git a/dev-python/widgetsnbextension/Manifest b/dev-python/widgetsnbextension/Manifest index 9a22e83b4775..490a29873968 100644 --- a/dev-python/widgetsnbextension/Manifest +++ b/dev-python/widgetsnbextension/Manifest @@ -1 +1,2 @@ DIST widgetsnbextension-4.0.10.tar.gz 1147204 BLAKE2B 16b81a1ad6c1d527c27d1fe48952d8ad89c14c2ae7cd1f7f00eea43263f9fde481df1db18d74a8a6417c9270bd29a46c77b495b520848c4782c1d60295d5850c SHA512 0e16dc994093712851a3ad0385844fd3f807157a024dd6ce26c3f6b3953cfb01421d877363def747405c8c887a00a880dcc06664d45d142b3c548b7d67b7008d +DIST widgetsnbextension-4.0.11.tar.gz 1164354 BLAKE2B 85a96be89592ad08c8722c389d8848126da0e9fc235a126c44779aa1188aeeb1cc9e23c5e4f447562f8660dc637947da3410f7068d14949b337ef8d652705b01 SHA512 22b2bea35633212635718a49b33e219dac7688190c2e9c3b0eb560d830c984e7250d357c14e8b13102f493977863722e18cd77dc43dd7e309aa03006d63072cb diff --git a/dev-python/widgetsnbextension/widgetsnbextension-4.0.11.ebuild b/dev-python/widgetsnbextension/widgetsnbextension-4.0.11.ebuild new file mode 100644 index 000000000000..2ba0ebb7f8a4 --- /dev/null +++ b/dev-python/widgetsnbextension/widgetsnbextension-4.0.11.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="IPython HTML widgets for Jupyter" +HOMEPAGE=" + https://ipython.org/ + https://pypi.org/project/widgetsnbextension/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/jupyter-packaging[${PYTHON_USEDEP}] +" + +src_install() { + distutils-r1_src_install + + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/xarray/xarray-2024.3.0.ebuild b/dev-python/xarray/xarray-2024.3.0.ebuild index 45174dca99b9..e34110da61ab 100644 --- a/dev-python/xarray/xarray-2024.3.0.ebuild +++ b/dev-python/xarray/xarray-2024.3.0.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64 ~hppa ~loong ~riscv ~x86" +KEYWORDS="amd64 arm64 ~hppa ~loong ~riscv x86" IUSE="big-endian" RDEPEND=" diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index cf8377387047..08fa7ac3e3e9 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,2 +1,3 @@ DIST zipp-3.18.2.tar.gz 21783 BLAKE2B 488c7ebe2a37d5d38f8aac86a578144aaa77d9acb375cb2aa45eb16e5f5d2db30be00827f580ee35b5aa85559001e457054cca1dd34dec7005c0169bd4a4f1b3 SHA512 c8ba020fe210a3c9b54da2f868c324b41d281dc50342f9ce68e493a695d8c8620ab19303fb81bd64cc458667113ef31a890e8e71180a0155a83ed9ead6049bcd DIST zipp-3.19.1.tar.gz 22625 BLAKE2B 283754c1b2280ac7dcce867555bacdccb59f4183e6b722c7916b5825bc16e1922a15c0b1d5684be0a89ce6672be58f0752e21b85ad02afabeeeb26d9d4706b7a SHA512 c0a4b4055f6652852526b7749d738cedda6534ea21945933ec727b5364a5558697fce6757e4045d30df55a1dce57509c92046f25d6914707fcc97e07f3088c3a +DIST zipp-3.19.2.tar.gz 22922 BLAKE2B 8f4a115079b6faa730a3502592983c13b2db27541cdbd91723fd20f320d22678f3740b01f24b46f7049607c49953ea64fa8e4855d26f28f0683d330b625a2d0b SHA512 3f1b663c4befef774e076845a8a2d2fc414cb768af0e3bccc57b6b694e9ef28e8dd8ae59b596b269f610b082e9c7a92ec3dcd465aad4e5ebe250ea96df89b2cf diff --git a/dev-python/zipp/zipp-3.19.2.ebuild b/dev-python/zipp/zipp-3.19.2.ebuild new file mode 100644 index 000000000000..7bfa53c7edbd --- /dev/null +++ b/dev-python/zipp/zipp-3.19.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE=" + https://github.com/jaraco/zipp/ + https://pypi.org/project/zipp/ +" + +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" + +# big_o is only used in test_complexity, that we ignore +BDEPEND=" + test? ( + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-itertools[${PYTHON_USEDEP}] + dev-python/jaraco-test[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # performance tests are flaky by design + tests/test_complexity.py +) + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "zipp" + version = "${PV}" + description = "Backport of pathlib-compatible object wrapper for zip files" + EOF +} |
