From fda3fd3a9ec1eb9af34185b8e60b7af5a9f94f04 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 12 May 2024 20:15:03 +0000 Subject: Adding metadata --- dev-python/aiostream/Manifest | 1 - dev-python/aiostream/aiostream-0.5.2.ebuild | 40 ----- dev-python/argcomplete/argcomplete-3.3.0.ebuild | 2 + .../files/argcomplete-3.3.0-test-bashrc.patch | 13 ++ dev-python/arrow/arrow-1.3.0.ebuild | 2 +- dev-python/automat/automat-22.10.0.ebuild | 2 +- dev-python/bcrypt/bcrypt-4.1.3.ebuild | 2 + dev-python/channels-redis/Manifest | 2 - .../channels-redis/channels-redis-3.4.1.ebuild | 91 ---------- dev-python/channels/Manifest | 2 + dev-python/channels/channels-4.1.0.ebuild | 34 ++++ dev-python/chump/chump-1.6.0-r2.ebuild | 2 +- dev-python/cramjam/cramjam-2.8.3.ebuild | 8 + dev-python/desktop-notifier/Manifest | 2 +- .../desktop-notifier/desktop-notifier-3.5.6.ebuild | 30 ---- .../desktop-notifier/desktop-notifier-4.0.0.ebuild | 33 ++++ dev-python/fqdn/Manifest | 2 +- dev-python/fqdn/fqdn-1.5.1-r2.ebuild | 6 +- dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild | 2 +- dev-python/isodate/isodate-0.6.1-r1.ebuild | 2 +- .../isoduration/isoduration-20.11.0-r1.ebuild | 2 +- dev-python/jaraco-env/jaraco-env-1.0.0.ebuild | 2 +- dev-python/jaraco-test/jaraco-test-5.4.0.ebuild | 7 + dev-python/jellyfish/jellyfish-1.0.3.ebuild | 6 +- dev-python/jsonpointer/jsonpointer-2.4.ebuild | 2 +- dev-python/langdetect/Manifest | 2 - .../files/langdetect-1.0.9-explicit-config.patch | 13 ++ dev-python/langdetect/langdetect-1.0.9.ebuild | 4 +- dev-python/langdetect/metadata.xml | 10 +- dev-python/libcst/libcst-1.3.1.ebuild | 5 + dev-python/minify-html/minify-html-0.15.0.ebuild | 4 + .../pydantic-core/pydantic-core-2.18.2.ebuild | 2 + dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild | 2 +- .../pyproject-fmt-rust-1.0.4.ebuild | 3 +- dev-python/python-telegram-bot/Manifest | 3 +- .../python-telegram-bot-20.3-r1.ebuild | 155 ----------------- .../python-telegram-bot-20.5-r1.ebuild | 150 ---------------- .../python-telegram-bot-21.1.1.ebuild | 161 ++++++++++++++++++ dev-python/qiskit-terra/Manifest | 1 - dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild | 188 --------------------- dev-python/rfc3339-validator/Manifest | 2 +- .../rfc3339-validator-0.1.4-r1.ebuild | 4 +- .../rfc3986-validator-0.1.1-r1.ebuild | 36 ---- .../rfc3986-validator-0.1.1-r2.ebuild | 35 ++++ dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild | 4 +- dev-python/rpds-py/rpds-py-0.18.1.ebuild | 2 + dev-python/rustworkx/Manifest | 1 - dev-python/rustworkx/rustworkx-0.14.1.ebuild | 153 ----------------- dev-python/simplejson/simplejson-3.19.2.ebuild | 2 +- dev-python/sjcl/sjcl-0.2.1-r1.ebuild | 28 +++ dev-python/sqlglot/Manifest | 1 - dev-python/sqlglot/sqlglot-23.15.0.ebuild | 121 ------------- dev-python/strict-rfc3339/Manifest | 2 +- .../strict-rfc3339/strict-rfc3339-0.7-r2.ebuild | 6 +- dev-python/typing-extensions/Manifest | 1 + .../typing-extensions-4.11.0_p20240512.ebuild | 33 ++++ dev-python/uri-template/uri-template-1.3.0.ebuild | 2 +- dev-python/uv/Manifest | 6 - dev-python/uv/uv-0.1.38.ebuild | 121 ------------- dev-python/uv/uv-0.1.39.ebuild | 121 ------------- dev-python/uv/uv-0.1.41.ebuild | 121 ------------- dev-python/webcolors/webcolors-1.13.ebuild | 4 +- dev-python/zstd/zstd-1.5.5.1.ebuild | 2 +- 63 files changed, 425 insertions(+), 1383 deletions(-) delete mode 100644 dev-python/aiostream/aiostream-0.5.2.ebuild create mode 100644 dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch delete mode 100644 dev-python/channels-redis/channels-redis-3.4.1.ebuild create mode 100644 dev-python/channels/channels-4.1.0.ebuild delete mode 100644 dev-python/desktop-notifier/desktop-notifier-3.5.6.ebuild create mode 100644 dev-python/desktop-notifier/desktop-notifier-4.0.0.ebuild create mode 100644 dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch delete mode 100644 dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild delete mode 100644 dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild create mode 100644 dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild delete mode 100644 dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild delete mode 100644 dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild create mode 100644 dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r2.ebuild delete mode 100644 dev-python/rustworkx/rustworkx-0.14.1.ebuild create mode 100644 dev-python/sjcl/sjcl-0.2.1-r1.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-23.15.0.ebuild create mode 100644 dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild delete mode 100644 dev-python/uv/uv-0.1.38.ebuild delete mode 100644 dev-python/uv/uv-0.1.39.ebuild delete mode 100644 dev-python/uv/uv-0.1.41.ebuild (limited to 'dev-python') diff --git a/dev-python/aiostream/Manifest b/dev-python/aiostream/Manifest index d3612255de2d..2b15d6e44bd6 100644 --- a/dev-python/aiostream/Manifest +++ b/dev-python/aiostream/Manifest @@ -1,2 +1 @@ -DIST aiostream-0.5.2.gh.tar.gz 42945 BLAKE2B 36e4f3c7834df589da3e7ec8bafb6a5b6fe40a1e868fbe0b9b81233f6721852b0e31b12144775db8785835cd5a3a0ca0a88784f7955388efd55b6ce97311b10e SHA512 282139cda0f7d08dd11af88bc3a568054906c2e0e2708f72e0ce3a67d13a44822612e3989c398ab346f8c043f17ad2e5cd2f958b1461325ad9768affec8f63fc DIST aiostream-0.6.1.gh.tar.gz 45466 BLAKE2B 848594d9ae191e32553dbff25ffa5926a2fd069bdc36d202f861603495ed5b33e04c4d6ae04704ca3f1d3525b73bf4f83455acc74fcfa831991c8c1ea504fe65 SHA512 0e7a87196ee7749247a6554a9347f2d8a46474db58e3793a8ac2c76b92b61e8ec7d372a05c692fcb600e81be502745ec1e7320e9dba75f50ebeff2a1ffdc35bd diff --git a/dev-python/aiostream/aiostream-0.5.2.ebuild b/dev-python/aiostream/aiostream-0.5.2.ebuild deleted file mode 100644 index 813133cc6b7a..000000000000 --- a/dev-python/aiostream/aiostream-0.5.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Generator-based operators for asynchronous iteration" -HOMEPAGE=" - https://pypi.org/project/aiostream/ - https://github.com/vxgmichel/aiostream/ -" -SRC_URI=" - https://github.com/vxgmichel/aiostream/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND=" - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e 's:--cov aiostream --cov-report html --cov-report term::' \ - setup.cfg || die - distutils-r1_src_prepare -} diff --git a/dev-python/argcomplete/argcomplete-3.3.0.ebuild b/dev-python/argcomplete/argcomplete-3.3.0.ebuild index fe5b0f433005..e5ff82ea719c 100644 --- a/dev-python/argcomplete/argcomplete-3.3.0.ebuild +++ b/dev-python/argcomplete/argcomplete-3.3.0.ebuild @@ -36,6 +36,8 @@ PATCHES=( # for entry point tests because they read metadata of all installed # packages which can take real long on systems with lots of packages "${FILESDIR}/argcomplete-3.1.6-timeout.patch" + # https://github.com/kislyuk/argcomplete/pull/485 + "${FILESDIR}/${P}-test-bashrc.patch" ) python_test() { diff --git a/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch new file mode 100644 index 000000000000..0e9f2fa1cea6 --- /dev/null +++ b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index c8f9419..ca38be6 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -73,7 +73,7 @@ def _repl_sh(command, args, non_printable_insert): + + + def bash_repl(command="bash"): +- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh") ++ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh") + sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]") + return sh + diff --git a/dev-python/arrow/arrow-1.3.0.ebuild b/dev-python/arrow/arrow-1.3.0.ebuild index 0528ec062223..68554cef189c 100644 --- a/dev-python/arrow/arrow-1.3.0.ebuild +++ b/dev-python/arrow/arrow-1.3.0.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 diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild index 886f8c1d7e1f..fa0da5c8b6c3 100644 --- a/dev-python/automat/automat-22.10.0.ebuild +++ b/dev-python/automat/automat-22.10.0.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 diff --git a/dev-python/bcrypt/bcrypt-4.1.3.ebuild b/dev-python/bcrypt/bcrypt-4.1.3.ebuild index bf1875cea655..51b25d41c61f 100644 --- a/dev-python/bcrypt/bcrypt-4.1.3.ebuild +++ b/dev-python/bcrypt/bcrypt-4.1.3.ebuild @@ -91,6 +91,8 @@ QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/bcrypt/_bcrypt.*.so" distutils_enable_tests pytest +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest tests diff --git a/dev-python/channels-redis/Manifest b/dev-python/channels-redis/Manifest index 362d62ead0ee..91b08a9e449b 100644 --- a/dev-python/channels-redis/Manifest +++ b/dev-python/channels-redis/Manifest @@ -1,5 +1,3 @@ -DIST channels-redis-3.4.1.gh.tar.gz 29918 BLAKE2B 4b586f9dc4538986935ae04a719ef62b7d316cc8e43a3f35132bb91d22d781fcef5bb40f8667799b1857f6be44b3a143980d254e7d5e872332ce2f57639a33b5 SHA512 748d3d2061bbe70ed720e2acc8bc80368105bcd81ab58fe5f55342d7147ffc3abae24d21cdc0aca9fefa38fb483ffe6b4278687962bc8bb54825ca9ecd5c7d1f DIST channels-redis-4.1.0.gh.tar.gz 28471 BLAKE2B 04ef90dcd488ed61069ae31a1f184c691c48f48388532fcdd4b7558659cbe299287612bd5ad542436deca8da86b6fed44be65b5fe4a3198ceeaa65a2cad13ad1 SHA512 c1abddc2ada660a44ecadaff6f4fe6c89dd47485839b5ace4b753f8f4697d8a0a6b7ca71cb8289848143cb73a5cacc837a371dda05cef5482c743bde9fb7d135 -EBUILD channels-redis-3.4.1.ebuild 2584 BLAKE2B b467735135d57a88d8d4258886c84794c683df790f06ac27627fc4b5939e4441889cedbd6521859ea4e70428abf44830f08cb9064c2404afae3c788a3ed83631 SHA512 0b198c230e982f611317fb843456cef95cfdb0b10fffd819a60237137da010898f1b609632699b9063e7cdd1948e4b2a62c0794f62ad4812c37aec832c41870a EBUILD channels-redis-4.1.0.ebuild 1563 BLAKE2B 7f3d45e6522316c49005720a0724c08a4c0979b8a6868bf972eb9769438b108feb94b4c4326d5ee8af60d80670c96fc726859db5213f6fdd1a1067437e73dcdc SHA512 b7db1be71d3198020f11017e9bd16ba3bcfd5264fa82de4008d4362f0afde4f57d0e4ee1654584bbb00d02df337f85567ff939498ef82f744fc62ac89c6c8e70 MISC metadata.xml 463 BLAKE2B 2a0f6991eacc13262dbce02c797d074939f88c608abc791625d6b73e281836092f6937fd6d21a7b49c06a9d24d710eebe89278e60ebeb3fef7b7c09e10dd91a8 SHA512 30c97610d0ca3c4798c3b4405b6e99a1d0df6250a4ccb53baa95f966250bccec37025e40a49a01e6ab5f4bae39a30e1ed699fffcd95785a46d0435dbf30e1e9f diff --git a/dev-python/channels-redis/channels-redis-3.4.1.ebuild b/dev-python/channels-redis/channels-redis-3.4.1.ebuild deleted file mode 100644 index 8acd028d470d..000000000000 --- a/dev-python/channels-redis/channels-redis-3.4.1.ebuild +++ /dev/null @@ -1,91 +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 - -MY_P=${P/-/_} -DESCRIPTION="Provides Django Channels channel layers that use Redis as a backing store." -HOMEPAGE="https://github.com/django/channels_redis" -SRC_URI="https://github.com/django/${PN/-/_}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/aioredis-1.0[${PYTHON_USEDEP}] - =dev-python/asgiref-3.2.10[${PYTHON_USEDEP}] - =dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] - -DOCS=( README.rst ) - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/test_core.py::test_send_receive - tests/test_core.py::test_send_capacity - tests/test_core.py::test_process_local_send_receive - tests/test_core.py::test_reject_bad_channel - tests/test_core.py::test_reject_bad_client_prefix - tests/test_core.py::test_group_send_capacity - tests/test_core.py::test_group_send_capacity_multiple_channels - tests/test_pubsub.py::test_send_receive - tests/test_pubsub.py::test_send_receive_sync - tests/test_pubsub.py::test_multi_send_receive - tests/test_pubsub.py::test_multi_send_receive_sync - tests/test_pubsub.py::test_groups_basic - tests/test_pubsub.py::test_groups_same_prefix - tests/test_pubsub.py::test_receive_on_non_owned_general_channel - tests/test_pubsub.py::test_random_reset__channel_name - tests/test_pubsub.py::test_loop_instance_channel_layer_reference - tests/test_pubsub.py::test_serialize - tests/test_pubsub.py::test_deserialize - tests/test_pubsub.py::test_multi_event_loop_garbage_collection - tests/test_pubsub.py::test_proxied_methods_coroutine_check -) - -python_prepare_all() { - # Remove sentinel tests - rm tests/test{_pubsub,}_sentinel.py - - 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/channels/Manifest b/dev-python/channels/Manifest index 1ea881c4a765..c22f44ac47f3 100644 --- a/dev-python/channels/Manifest +++ b/dev-python/channels/Manifest @@ -1,5 +1,7 @@ DIST channels-3.0.5.gh.tar.gz 200118 BLAKE2B 7a7653f986face1e87369917317db013e5c9fc912c6e2d7c737054ffef167bd01feb48f7e2d00d0d331e7a16093478e5416645717aed59e46dfec8f9b3641a2e SHA512 b12d1aec9602b702b5a097e9ca52dccad49940f82fcbe5594890c9bd1f1879a2fcf0f29630ca53e4972a26853df8f71d07d7b2cccd876abbf2417a76dee281bf DIST channels-4.0.0.gh.tar.gz 191192 BLAKE2B 36c42573a6438f11cc81011c3fdb45b2b10cad117e642e1a6c6ff32e9e85e685f169b311fac74646f18001520216eb92cc5e184d609f29b65b504e4f6eadc3bd SHA512 5c8573931586dbd313ef30139be04dc28cf6ffc5e82d4f2af8c6cdca21a0f18dcd3ce6f42ddcddf12771428fe9ba94c7ac914c7ef519b83c25c8f67f0cc5ecd8 +DIST channels-4.1.0.gh.tar.gz 192448 BLAKE2B 1a08efa89c23bde09ffd55e18ad44721e968b463fd431fa38b7035317c2849093e628c61f360fa2360ab16ef8149b9f447406f7d4f91c74014667a47c925481a SHA512 2891ac6b507c59db5eb2acf78da180afdee45a1dc26dfc1f8530f13a7e7142490dbf75fdd821913906f33f42de6e28a7c85607734b8bea9b172d915498d4f5a3 EBUILD channels-3.0.5.ebuild 936 BLAKE2B 788d0e9a2822dd9d0ed2d1d1a62135aeb5f244710b66f7591962518a5204cde5b8e779280783dd1d1a1b1a3fa9b272a0eb457f1d88d62c8ecefc8f67384929ef SHA512 89003fa68c7ab1cdd1a329f4389ba6fe28f491217a70c03b2979a992b450d8aa1a02f024f073ad5fc0aa1d093d81c6c8b1adaa45bdc9a179f5bd1607d85c13ef EBUILD channels-4.0.0.ebuild 790 BLAKE2B 886118f29374d36bcf1128d17716ea7475bbe33f236e7840a3ab21fced07ea054f4a6152441d4bc3e89b5e8c3ef4e24adccca713c1a3345271a1f50658c1037a SHA512 cd5660fb520da3f003e0d30b2aa2403b2291347287fa0ccda679808b4416707fe83cea18dccb40637ca87ef1d32f34c24ba273b91f633f68b5785262858ef554 +EBUILD channels-4.1.0.ebuild 790 BLAKE2B 30dc64f0b2557cbd9d612ec24c646b8e72af59bfc4b03258f5b06d9387aa00c612eef11327e2a314a6c179290c32529a8f1d9832b2b047b17bbd6b4e4bab43f8 SHA512 4759f966ea0effdcdd948e1814dc6e8588ac11cffafd2ec2363a2915910212a1705afda1ce28605b53372cdf705020ffcb00c5922f30b88e5feec08b5c1f6ea2 MISC metadata.xml 445 BLAKE2B b4c0a41d6caadfbc53cbba3c41f8b7689a286b3f8d285c37a88a1f79d8dc350b82fea255048c022b92091a1e0cc67bf19645d6c32183b82a6dd49cccadf5078f SHA512 380c8b98efe8d9a2513c51899b7de90b115d4a51f104f46b552ff8929c322850e511e245a2ba0e976213416ae7241a17292ca98248caacfc891fcdcf5cea5d44 diff --git a/dev-python/channels/channels-4.1.0.ebuild b/dev-python/channels/channels-4.1.0.ebuild new file mode 100644 index 000000000000..b37b25a4a69c --- /dev/null +++ b/dev-python/channels/channels-4.1.0.ebuild @@ -0,0 +1,34 @@ +# 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 + +DESCRIPTION="Extends Django abilities beyond HTTP protocol" +HOMEPAGE="https://github.com/django/channels" +SRC_URI="https://github.com/django/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/asgiref-3.5.0[${PYTHON_USEDEP}] + >=dev-python/django-4.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/async-timeout[${PYTHON_USEDEP}] + >=dev-python/daphne-4.0.0[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest diff --git a/dev-python/chump/chump-1.6.0-r2.ebuild b/dev-python/chump/chump-1.6.0-r2.ebuild index 627775b69110..a88914859292 100644 --- a/dev-python/chump/chump-1.6.0-r2.ebuild +++ b/dev-python/chump/chump-1.6.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cramjam/cramjam-2.8.3.ebuild b/dev-python/cramjam/cramjam-2.8.3.ebuild index dee1eca141ef..21abfdcf1ca0 100644 --- a/dev-python/cramjam/cramjam-2.8.3.ebuild +++ b/dev-python/cramjam/cramjam-2.8.3.ebuild @@ -194,6 +194,14 @@ src_prepare() { distutils-r1_src_prepare } +src_test() { + pushd ../libcramjam >/dev/null || die + cargo_src_test + popd >/dev/null || die + + distutils-r1_src_test +} + python_test() { local EPYTEST_DESELECT=( # random health check failures diff --git a/dev-python/desktop-notifier/Manifest b/dev-python/desktop-notifier/Manifest index 266b4c06543c..232ee975555a 100644 --- a/dev-python/desktop-notifier/Manifest +++ b/dev-python/desktop-notifier/Manifest @@ -1 +1 @@ -DIST desktop-notifier-3.5.6.tar.gz 29856 BLAKE2B bd96ced2b4ac33b813d4767f79991875cbf0f5b03223323357234adae1a1e94f290720c93ca8643f195d02ce15263b16161e30cf53685bcbd2dcb56e45391779 SHA512 5e05143d183d519e1d653787e13b015cd6bd8deb302bcfb79f6be64325b586454019aaa140fcb7ffd7554f6ee36e9f6a44ef2ea9722af88ffff08b94584a3949 +DIST desktop_notifier-4.0.0.tar.gz 29934 BLAKE2B da9944edd6577f36116a03a6620a5a8ec68071954df4ac31a96af148608a9c6d990805f025b44925a943274bc961d4412690dde7876520f9a42bca0b6b008f9b SHA512 a96f96d6cbf7876bebcc9eb8a33d348eb5ed8f2a86fd5a9761105684e0267d9496904bb38f54caba39d29dfc23e00530655669d8e849607e066c85512f67c045 diff --git a/dev-python/desktop-notifier/desktop-notifier-3.5.6.ebuild b/dev-python/desktop-notifier/desktop-notifier-3.5.6.ebuild deleted file mode 100644 index c93f9e4dcf39..000000000000 --- a/dev-python/desktop-notifier/desktop-notifier-3.5.6.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2021-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 pypi - -DESCRIPTION="desktop-notifier is a Python library for cross-platform desktop notifications" -HOMEPAGE=" - https://desktop-notifier.readthedocs.io - https://pypi.org/project/desktop-notifier/ - https://github.com/samschott/desktop-notifier -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/dbus-next[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/build[${PYTHON_USEDEP}] -" diff --git a/dev-python/desktop-notifier/desktop-notifier-4.0.0.ebuild b/dev-python/desktop-notifier/desktop-notifier-4.0.0.ebuild new file mode 100644 index 000000000000..d5389697be01 --- /dev/null +++ b/dev-python/desktop-notifier/desktop-notifier-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="desktop-notifier is a Python library for cross-platform desktop notifications" +HOMEPAGE=" + https://desktop-notifier.readthedocs.io + https://pypi.org/project/desktop-notifier/ + https://github.com/samschott/desktop-notifier +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/dbus-next[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/build[${PYTHON_USEDEP}] +" + +# Tests on pypi are incomplete +# Tests on gh don't work +RESTRICT="test" diff --git a/dev-python/fqdn/Manifest b/dev-python/fqdn/Manifest index 84e2296515b2..9b67bc7d2ce7 100644 --- a/dev-python/fqdn/Manifest +++ b/dev-python/fqdn/Manifest @@ -1 +1 @@ -DIST fqdn-1.5.1.tar.gz 18334 BLAKE2B 24dfd88a8176e67209350fe20e446cfee848c392795cde09725526a52af0a9adc6908a4eb6d5dd3ad6f8a11546acb6b82a7b2ad591997010dfdd0a1d235f57ae SHA512 d9d7d1bb8798c63973534bf45fb9bc0ab57b1600c6597212129debb97a908140401f5477f33b83ea273e3f9a2a852072110245a09596ab9a58a10be8043c57fc +DIST fqdn-1.5.1.gh.tar.gz 18334 BLAKE2B 24dfd88a8176e67209350fe20e446cfee848c392795cde09725526a52af0a9adc6908a4eb6d5dd3ad6f8a11546acb6b82a7b2ad591997010dfdd0a1d235f57ae SHA512 d9d7d1bb8798c63973534bf45fb9bc0ab57b1600c6597212129debb97a908140401f5477f33b83ea273e3f9a2a852072110245a09596ab9a58a10be8043c57fc diff --git a/dev-python/fqdn/fqdn-1.5.1-r2.ebuild b/dev-python/fqdn/fqdn-1.5.1-r2.ebuild index 67a35df09aa5..aed188c15e7f 100644 --- a/dev-python/fqdn/fqdn-1.5.1-r2.ebuild +++ b/dev-python/fqdn/fqdn-1.5.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2018-2023 Gentoo Authors +# Copyright 2018-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,8 +14,8 @@ HOMEPAGE=" https://pypi.org/project/fqdn/ " SRC_URI=" - https://github.com/ypcrts/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz + https://github.com/ypcrts/fqdn/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="MPL-2.0" diff --git a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild index 0a605283f55a..f7a7d499b82f 100644 --- a/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild +++ b/dev-python/hyperlink/hyperlink-21.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/isodate/isodate-0.6.1-r1.ebuild b/dev-python/isodate/isodate-0.6.1-r1.ebuild index 3b9367898677..96061c937d2c 100644 --- a/dev-python/isodate/isodate-0.6.1-r1.ebuild +++ b/dev-python/isodate/isodate-0.6.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/isoduration/isoduration-20.11.0-r1.ebuild b/dev-python/isoduration/isoduration-20.11.0-r1.ebuild index e68f9b475c75..5be8549f0603 100644 --- a/dev-python/isoduration/isoduration-20.11.0-r1.ebuild +++ b/dev-python/isoduration/isoduration-20.11.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild b/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild index f0adfc7101fe..de56656fda32 100644 --- a/dev-python/jaraco-env/jaraco-env-1.0.0.ebuild +++ b/dev-python/jaraco-env/jaraco-env-1.0.0.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 diff --git a/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild b/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild index 45f84505a285..252e7797a68c 100644 --- a/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild +++ b/dev-python/jaraco-test/jaraco-test-5.4.0.ebuild @@ -28,6 +28,13 @@ RDEPEND=" distutils_enable_tests pytest +src_test() { + # workaround namespaces blocking test.support import (sigh!) + mv jaraco/test jaraco_test || die + rmdir jaraco || die + distutils-r1_src_test +} + python_test() { # while technically these tests are skipped when Internet is # not available (they test whether auto-skipping works), we don't diff --git a/dev-python/jellyfish/jellyfish-1.0.3.ebuild b/dev-python/jellyfish/jellyfish-1.0.3.ebuild index f43b1bfc5c71..c11684b979d0 100644 --- a/dev-python/jellyfish/jellyfish-1.0.3.ebuild +++ b/dev-python/jellyfish/jellyfish-1.0.3.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 @@ -83,3 +83,7 @@ KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/jellyfish/_rustyfish.*.so" distutils_enable_tests pytest + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/jsonpointer/jsonpointer-2.4.ebuild b/dev-python/jsonpointer/jsonpointer-2.4.ebuild index 94ff1125ca3b..bb1a4389865e 100644 --- a/dev-python/jsonpointer/jsonpointer-2.4.ebuild +++ b/dev-python/jsonpointer/jsonpointer-2.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index e9da2ac43cac..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48 -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +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 c09b7356f549..630fe63c6f53 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 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ 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 020e07f2a3dd..736a1167c898 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -1,12 +1,6 @@ - - marcin.deranek@slonko.net - Marcin Deranek - - - https://github.com/Mimino666/langdetect/issues - - slonko-overlay + + gentoo-guru-overlay \ No newline at end of file diff --git a/dev-python/libcst/libcst-1.3.1.ebuild b/dev-python/libcst/libcst-1.3.1.ebuild index eeb917193268..7a3471b3d363 100644 --- a/dev-python/libcst/libcst-1.3.1.ebuild +++ b/dev-python/libcst/libcst-1.3.1.ebuild @@ -180,3 +180,8 @@ python_test() { [[ ${ret} -ne 0 ]] && die "Tests failed on ${EPYTHON}" } + +python_test_all() { + cd native || die + cargo_src_test +} diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild b/dev-python/minify-html/minify-html-0.15.0.ebuild index 6256a16e58a5..314183b5f034 100644 --- a/dev-python/minify-html/minify-html-0.15.0.ebuild +++ b/dev-python/minify-html/minify-html-0.15.0.ebuild @@ -43,3 +43,7 @@ src_prepare() { sed -i -e '/strip/d' Cargo.toml || die distutils-r1_src_prepare } + +python_test_all() { + cargo_src_test +} diff --git a/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild b/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild index 49e0770e27ac..337aaac75665 100644 --- a/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild @@ -145,5 +145,7 @@ python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3 ]] && cargo_src_test epytest -p pytest_mock -p timeout } diff --git a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild index f99ad031ff7b..394ea62674e9 100644 --- a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild +++ b/dev-python/pyhamcrest/pyhamcrest-2.1.0.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 diff --git a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.4.ebuild b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.4.ebuild index ffaeac3d4735..3a1d8841f3c6 100644 --- a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.4.ebuild +++ b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.4.ebuild @@ -154,7 +154,6 @@ src_prepare() { distutils-r1_src_prepare } -src_test() { +python_test_all() { cargo_src_test - distutils-r1_src_test } diff --git a/dev-python/python-telegram-bot/Manifest b/dev-python/python-telegram-bot/Manifest index 067f127372f1..f85dd9d0ea92 100644 --- a/dev-python/python-telegram-bot/Manifest +++ b/dev-python/python-telegram-bot/Manifest @@ -1,3 +1,2 @@ -DIST python-telegram-bot-20.3.tar.gz 1957466 BLAKE2B 47e68846bb6c092648aa2bcd53289f7ac78d7335a8f84fd6a1c6440ee8b38c150f2e2df56f537e0de9e01af3c98a49fd0a8d8771c15ebd9be1658b0ee17a355b SHA512 6594eb991a14acdd247505b904ca2bd5022ef8abe4b45b57218508fa53de765a6a9e05c78997723a8385b45a0950e87dc102264ed3338eed9d569d1eb596e1f9 -DIST python-telegram-bot-20.5.tar.gz 1950471 BLAKE2B b25440dd78d3a72242d371ec661027d2fea7c174a20a1c7482f0d1cab07aa6e5ffa886bb944c217e177732aabec676e5ea6003431a5e893a7171bb36642e3c53 SHA512 65f8d3de73bffcf56dd986091c34fa8f9cb60b4b8bbfc2b1c5c7392cf3a6314192a97013a2299a4d02977fd4f6ae73c487acc7a839b700d7304b02c0f5680671 DIST python-telegram-bot-20.6.tar.gz 1958397 BLAKE2B f5f11a604ff1eb199b2b81571b86b69541faa1d98a5d12ac4f3a9f8c6789f722e924232244f211721986beba1380bc877f33251564a46086e4e33d8952e701e1 SHA512 87e42af8663d11f2e33783d40a28a1767f4f5e14203e53463a8f76be0f9a8f0601b3e34b297d1d1ed2f2111b48cbf22a22d28a4d7396b67defb1f0081b10bc38 +DIST python-telegram-bot-21.1.1.tar.gz 2059431 BLAKE2B c41a7a8eeef2e8f2f7f1865789ed38a96e225dd89ad8c5ded5db75fbcffb8bde71bac8782d7541b2d8caa29e69ce092cc6a3a8c359133b1b359bdbb32a502025 SHA512 10143ea0abdbb86e1f2d47d4383fc0cd5e066fb6c93c906974f73f4fecf29b3e8ae963597dbe79ba85e817180977a246fed485e1461f809bc57013bf31a375df diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild deleted file mode 100644 index ad86317b08e6..000000000000 --- a/dev-python/python-telegram-bot/python-telegram-bot-20.3-r1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 2023-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 wrapper of telegram bots API" -HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot" -SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - ) -" - -# These tests require an internet connection -EPYTEST_DESELECT=( - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_thumb_deprecation_warning - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict - tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation - tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json - tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality - tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values - tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method - tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_thumb_deprecation_warning - tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio - tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour - tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict - tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation - tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json - tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality - tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values - tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method - tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_thumb_deprecation_warning - tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document - tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour - tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict - tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation - tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio - tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document - tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo - tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video - tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict - tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json - tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method - tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict - tests/_files/test_video.py::TestVideoWithoutRequest::test_creation - tests/_files/test_video.py::TestVideoWithoutRequest::test_equality - tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values - tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method - tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_thumb_deprecation_warning - tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video - tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour - tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_thumb_deprecation_warning - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles - tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated - tests/request/test_request.py::TestRequestWithoutRequest::test_error_description - tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request - tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response - tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char - tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve - tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after - tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors - tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation - tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params - tests/test_bot.py::TestBotWithoutRequest::test_copy_message - tests/test_bot.py::TestBotWithoutRequest::test_equality - tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties - tests/test_bot.py::TestBotWithoutRequest::test_log_decorator - tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality - tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json - tests/test_forum.py::TestForumTopicWithoutRequest::test_equality - tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values - tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour - tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict -) - -distutils_enable_tests pytest - -# Run only the tests that don't require a connection -python_test() { - epytest -m no_req -} - -pkg_postinst() { - optfeature "using telegram.ext.JobQueue" dev-python/APScheduler -} diff --git a/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild deleted file mode 100644 index a90e597a2ad5..000000000000 --- a/dev-python/python-telegram-bot/python-telegram-bot-20.5-r1.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 2023-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 wrapper of telegram bots API" -HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot" -SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/cachetools-5.3.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}] - >=dev-python/httpx-0.24.0[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/flaky[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - >=dev-python/tornado-6.2[${PYTHON_USEDEP}] - ) -" - -# These tests require an internet connection -EPYTEST_DESELECT=( - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour - tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict - tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation - tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json - tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality - tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values - tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method - tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio - tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour - tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour - tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict - tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation - tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json - tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality - tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values - tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method - tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document - tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour - tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict - tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation - tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio - tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document - tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo - tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video - tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour - tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict - tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json - tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method - tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour - tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict - tests/_files/test_video.py::TestVideoWithoutRequest::test_creation - tests/_files/test_video.py::TestVideoWithoutRequest::test_equality - tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values - tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method - tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video - tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour - tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour - tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour - tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response - tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles - tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated - tests/request/test_request.py::TestRequestWithoutRequest::test_error_description - tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request - tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response - tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char - tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve - tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after - tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors - tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation - tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params - tests/test_bot.py::TestBotWithoutRequest::test_copy_message - tests/test_bot.py::TestBotWithoutRequest::test_equality - tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties - tests/test_bot.py::TestBotWithoutRequest::test_log_decorator - tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality - tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json - tests/test_forum.py::TestForumTopicWithoutRequest::test_equality - tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values - tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour - tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict -) - -distutils_enable_tests pytest - -# Run only the tests that don't require a connection -python_test() { - epytest -m no_req -} - -pkg_postinst() { - optfeature "using telegram.ext.JobQueue" dev-python/APScheduler -} diff --git a/dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild b/dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild new file mode 100644 index 000000000000..812a811b0204 --- /dev/null +++ b/dev-python/python-telegram-bot/python-telegram-bot-21.1.1.ebuild @@ -0,0 +1,161 @@ +# Copyright 2023-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 wrapper of telegram bots API" +HOMEPAGE="https://docs.python-telegram-bot.org https://github.com/python-telegram-bot/python-telegram-bot" +SRC_URI="https://github.com/python-telegram-bot/python-telegram-bot/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cachetools-5.3.3[${PYTHON_USEDEP}] + >=dev-python/cryptography-39.0.1[${PYTHON_USEDEP}] + >=dev-python/httpx-0.27.0[${PYTHON_USEDEP}] + >=dev-python/tornado-6.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/tornado-6.4[${PYTHON_USEDEP}] + ) +" + +# These tests require an internet connection +EPYTEST_DESELECT=( + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_creation + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_de_json + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_expected_values + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_get_file_instance_method + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_animation_default_quote_parse_mode + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_send_with_animation + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_slot_behaviour + tests/_files/test_animation.py::TestAnimationWithoutRequest::test_to_dict + tests/_files/test_audio.py::TestAudioWithoutRequest::test_creation + tests/_files/test_audio.py::TestAudioWithoutRequest::test_de_json + tests/_files/test_audio.py::TestAudioWithoutRequest::test_equality + tests/_files/test_audio.py::TestAudioWithoutRequest::test_expected_values + tests/_files/test_audio.py::TestAudioWithoutRequest::test_get_file_instance_method + tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_audio_default_quote_parse_mode + tests/_files/test_audio.py::TestAudioWithoutRequest::test_send_with_audio + tests/_files/test_audio.py::TestAudioWithoutRequest::test_slot_behaviour + tests/_files/test_audio.py::TestAudioWithoutRequest::test_to_dict + tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_de_json + tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_big_file_instance_method + tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_get_small_file_instance_method + tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_send_with_chat_photo + tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_slot_behaviour + tests/_files/test_chatphoto.py::TestChatPhotoWithoutRequest::test_to_dict + tests/_files/test_document.py::TestDocumentWithoutRequest::test_creation + tests/_files/test_document.py::TestDocumentWithoutRequest::test_de_json + tests/_files/test_document.py::TestDocumentWithoutRequest::test_equality + tests/_files/test_document.py::TestDocumentWithoutRequest::test_expected_values + tests/_files/test_document.py::TestDocumentWithoutRequest::test_get_file_instance_method + tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_document_default_quote_parse_mode + tests/_files/test_document.py::TestDocumentWithoutRequest::test_send_with_document + tests/_files/test_document.py::TestDocumentWithoutRequest::test_slot_behaviour + tests/_files/test_document.py::TestDocumentWithoutRequest::test_to_dict + tests/_files/test_inputmedia.py::TestInputMediaAnimationWithoutRequest::test_with_animation + tests/_files/test_inputmedia.py::TestInputMediaAudioWithoutRequest::test_with_audio + tests/_files/test_inputmedia.py::TestInputMediaDocumentWithoutRequest::test_with_document + tests/_files/test_inputmedia.py::TestInputMediaPhotoWithoutRequest::test_with_photo + tests/_files/test_inputmedia.py::TestInputMediaVideoWithoutRequest::test_with_video + tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_default_quote_parse_mode + tests/_files/test_inputmedia.py::TestSendMediaGroupWithoutRequest::test_send_media_group_throws_error_with_group_caption_and_individual_captions + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_creation + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_de_json + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_equality + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_expected_values + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_get_file_instance_method + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_photo_default_quote_parse_mode + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_send_with_photosize + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_slot_behaviour + tests/_files/test_photo.py::TestPhotoWithoutRequest::test_to_dict + tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_de_json + tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_get_file_instance_method + tests/_files/test_sticker.py::TestStickerSetWithoutRequest::test_sticker_set_to_dict + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_creation + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_de_json + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_equality + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_expected_values + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_sticker_default_quote_parse_mode + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_send_with_sticker + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_slot_behaviour + tests/_files/test_sticker.py::TestStickerWithoutRequest::test_to_dict + tests/_files/test_video.py::TestVideoWithoutRequest::test_creation + tests/_files/test_video.py::TestVideoWithoutRequest::test_equality + tests/_files/test_video.py::TestVideoWithoutRequest::test_expected_values + tests/_files/test_video.py::TestVideoWithoutRequest::test_get_file_instance_method + tests/_files/test_video.py::TestVideoWithoutRequest::test_send_video_default_quote_parse_mode + tests/_files/test_video.py::TestVideoWithoutRequest::test_send_with_video + tests/_files/test_video.py::TestVideoWithoutRequest::test_slot_behaviour + tests/_files/test_video.py::TestVideoWithoutRequest::test_to_dict + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_creation + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_equality + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_expected_values + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_get_file_instance_method + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_video_note_default_quote_parse_mode + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_send_with_video_note + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_slot_behaviour + tests/_files/test_videonote.py::TestVideoNoteWithoutRequest::test_to_dict + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_creation + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_equality + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_expected_values + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_get_file_instance_method + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_voice_default_quote_parse_mode + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_send_with_voice + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_slot_behaviour + tests/_files/test_voice.py::TestVoiceWithoutRequest::test_to_dict + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_after_shutdown + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_exceptions + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_manual_timeouts + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_no_data + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_params_with_data + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_do_request_return_value + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_http_1_response + tests/request/test_request.py::TestHTTPXRequestWithoutRequest::test_multiple_init_cycles + tests/request/test_request.py::TestRequestWithoutRequest::test_chat_migrated + tests/request/test_request.py::TestRequestWithoutRequest::test_error_description + tests/request/test_request.py::TestRequestWithoutRequest::test_exceptions_in_do_request + tests/request/test_request.py::TestRequestWithoutRequest::test_illegal_json_response + tests/request/test_request.py::TestRequestWithoutRequest::test_replaced_unprintable_char + tests/request/test_request.py::TestRequestWithoutRequest::test_retrieve + tests/request/test_request.py::TestRequestWithoutRequest::test_retry_after + tests/request/test_request.py::TestRequestWithoutRequest::test_special_errors + tests/request/test_request.py::TestRequestWithoutRequest::test_timeout_propagation + tests/request/test_request.py::TestRequestWithoutRequest::test_unknown_request_params + tests/test_bot.py::TestBotWithoutRequest::test_bot_method_logging + tests/test_bot.py::TestBotWithoutRequest::test_copy_message + tests/test_bot.py::TestBotWithoutRequest::test_equality + tests/test_bot.py::TestBotWithoutRequest::test_get_me_and_properties + tests/test_bot.py::TestBotWithoutRequest::test_log_decorator + tests/test_bot.py::TestBotWithoutRequest::test_send_message_default_quote_parse_mode + tests/test_forum.py::TestForumTopicCreatedWithoutRequest::test_equality + tests/test_forum.py::TestForumTopicWithoutRequest::test_de_json + tests/test_forum.py::TestForumTopicWithoutRequest::test_equality + tests/test_forum.py::TestForumTopicWithoutRequest::test_expected_values + tests/test_forum.py::TestForumTopicWithoutRequest::test_slot_behaviour + tests/test_forum.py::TestForumTopicWithoutRequest::test_to_dict +) + +distutils_enable_tests pytest + +# Run only the tests that don't require a connection +python_test() { + epytest -m no_req +} + +pkg_postinst() { + optfeature "using telegram.ext.JobQueue" dev-python/APScheduler +} diff --git a/dev-python/qiskit-terra/Manifest b/dev-python/qiskit-terra/Manifest index 674fc138295c..f759c5eb2003 100644 --- a/dev-python/qiskit-terra/Manifest +++ b/dev-python/qiskit-terra/Manifest @@ -39,7 +39,6 @@ DIST pyo3-build-config-0.19.2.crate 29206 BLAKE2B 5b1cd80d643e448cf8f1d28a514333 DIST pyo3-ffi-0.19.2.crate 66500 BLAKE2B b4139fba31ef17017b6b60784e41ccda34931a072c2638af1eed8d02d7af701c46fe38b12772d2301cff41d10a433ff0f00a69d79d40233eadafe82abe585f8d SHA512 789191bca537998dd23d72dce4f185b84bbe700f4171c47de35b9bbca15a180ad214392b4f465cc1ecb0be955ebec1cf5a3c497815073be18035bd8bf8c51a32 DIST pyo3-macros-0.19.2.crate 7173 BLAKE2B 8862f42a30929579b0b0bc2ba7f0b416518724480e197fa13288e49324e851f964183e1529b7f31bf5d4fe0ae194a412723b6b401100e66fba98bbcd9c283866 SHA512 852cc2792aa3d30d9ab8802a451be5617cae6536adced1bf0dde71704a3c7c1bfe862fba751b6d045249819a8ba5d87dfc50914d142a0b662f046498c06f8c2e DIST pyo3-macros-backend-0.19.2.crate 49962 BLAKE2B 9d8a032c2205f55d2431b6bbc40df153339e08479df3a8a65506ade7d1f3d17cfaf664cbd09eaec9acff3f5a248598e37427d0c5a531eaf527137803adf49834 SHA512 fd708e6fdbd54ef7c676bedc62070175bac6b8f7ae11231578196dbf552b163a8a2499a1266f786bb6bfb85517fe83610902137d59a5c42efcb1a27c4235a07e -DIST qiskit-0.46.0.gh.tar.gz 10949616 BLAKE2B 35bb88f5d43582145a72945b0633665fb962ab27bde35ec7e290823cef41ae93bb4e0155728186d3eb9dfdb419efe014c127fcef12b69d93d259cba83ed3e57f SHA512 d9d6f485dc47301b045b9e9932d17f23306724cfd6fd32b730fba9f7366297dfd9151b9e80e634a8f641d0bea99c94b9e3e8e2ce9563fd82bd18b6bcf74d49d8 DIST qiskit-0.46.1.gh.tar.gz 10952767 BLAKE2B 96143144de33d967fa91bc0fd21ef291c68ea4155ee0d6498d55597c5c2c00d9a53131c73b2b0c3c74594d631bc780c5d82fda1492ea9e025a96c1b6967031b1 SHA512 4fcca5c4d8e9c464e2164c315c80c4ba1e6f1a2d364dfd58b6354bd6a040f21d0cff31a67a5be27dcd4900ec136628ab679dd6e1e630534245441bd8c0587a07 DIST quote-1.0.32.crate 28037 BLAKE2B 7b243ac7929f3b2e1d91a51a2dc2b11dd29bc017be9db588c83bd137609e2f991a4f3ff8682c7c11c177153e517c4f818285cce3237f435aa43ad0126c4bab6d SHA512 13cae36920dcbd0ad1978be63f20b35b8424d02b4d9992032fa78c7770d61d1fa7ec1532a48793cab48e703236b7bee7843041253b9e83700903228078b4c025 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 diff --git a/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild deleted file mode 100644 index db753a234b17..000000000000 --- a/dev-python/qiskit-terra/qiskit-terra-0.46.0.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 2022-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} ) - -CRATES=" - ahash@0.8.3 - allocator-api2@0.2.16 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - either@1.9.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.10 - hashbrown@0.12.3 - hashbrown@0.14.0 - indexmap@1.9.3 - indexmap@2.0.1 - indoc@1.0.9 - itertools@0.10.5 - libc@0.2.147 - libm@0.2.7 - lock_api@0.4.10 - matrixmultiply@0.3.7 - memoffset@0.9.0 - ndarray@0.15.6 - num-bigint@0.4.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-traits@0.2.16 - numpy@0.19.0 - once_cell@1.18.0 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - petgraph@0.6.3 - ppv-lite86@0.2.17 - priority-queue@1.3.2 - proc-macro2@1.0.66 - pyo3-build-config@0.19.2 - pyo3-ffi@0.19.2 - pyo3-macros-backend@0.19.2 - pyo3-macros@0.19.2 - pyo3@0.19.2 - quote@1.0.32 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_distr@0.4.3 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.2.0 - rayon-core@1.12.0 - rayon@1.8.0 - redox_syscall@0.3.5 - rustc-hash@1.1.0 - rustworkx-core@0.13.2 - scopeguard@1.2.0 - smallvec@1.11.1 - syn@1.0.109 - target-lexicon@0.12.11 - unicode-ident@1.0.11 - unindent@0.1.11 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.2 - windows_aarch64_gnullvm@0.48.2 - windows_aarch64_msvc@0.48.2 - windows_i686_gnu@0.48.2 - windows_i686_msvc@0.48.2 - windows_x86_64_gnu@0.48.2 - windows_x86_64_gnullvm@0.48.2 - windows_x86_64_msvc@0.48.2 -" - -inherit cargo distutils-r1 multiprocessing optfeature - -MY_P=qiskit-${PV} -DESCRIPTION="Terra is the foundation on which Qiskit is built" -HOMEPAGE=" - https://github.com/Qiskit/qiskit/ - https://pypi.org/project/qiskit-terra/ -" -SRC_URI=" - https://github.com/Qiskit/qiskit/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3 MPL-2.0 ) -" -SLOT="0" -IUSE="+visualization" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/rustworkx-0.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17[${PYTHON_USEDEP}] - >=dev-python/ply-3.10[${PYTHON_USEDEP}] - >=dev-python/psutil-5[${PYTHON_USEDEP}] - >=dev-python/scipy-1.5[${PYTHON_USEDEP}] - >=dev-python/sympy-1.3[${PYTHON_USEDEP}] - >=dev-python/dill-0.3[${PYTHON_USEDEP}] - >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] - >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/typing-extensions[${PYTHON_USEDEP}] - ' 3.10) - visualization? ( - >=dev-python/matplotlib-3.3[${PYTHON_USEDEP}] - >=dev-python/ipywidgets-7.3.0[${PYTHON_USEDEP}] - dev-python/pydot[${PYTHON_USEDEP}] - >=dev-python/pillow-4.2.1[${PYTHON_USEDEP}] - >=dev-python/pylatexenc-1.4[${PYTHON_USEDEP}] - >=dev-python/seaborn-0.9.0[${PYTHON_USEDEP}] - >=dev-python/pygments-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/cython-0.27.1[${PYTHON_USEDEP}] - test? ( - app-text/poppler[png] - >=dev-python/ddt-1.4.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-4.24.3[${PYTHON_USEDEP}] - >=dev-python/networkx-2.2[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - =dev-python/scikit-learn-0.20.0[${PYTHON_USEDEP}] - ) -" - -# Files built without CFLAGS/LDFLAGS, acceptable for rust -QA_FLAGS_IGNORED=" - usr/lib.*/py.*/site-packages/qiskit/_accelerate.*.so - usr/lib.*/py.*/site-packages/qiskit/_qasm2.*.so -" - -distutils_enable_tests pytest - -src_prepare() { - # strip forcing -Werror from tests that also leaks to other packages - sed -i -e '/filterwarnings.*error/d' qiskit/test/base.py || die - # sigh - find -name 'test_*.py' -exec sed -i -e \ - 's:assertRaises(DeprecationWarning):assertWarns(DeprecationWarning):' \ - {} + || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO - test/python/circuit/test_equivalence.py::TestEquivalenceLibraryVisualization::test_equivalence_draw - test/python/transpiler/test_unitary_synthesis_plugin.py::TestUnitarySynthesisPlugin - test/python/visualization/test_dag_drawer.py::TestDagDrawer::test_dag_drawer_no_register - ) - - local EPYTEST_IGNORE=( - # Breaks xdist - test/python/qasm2/test_parse_errors.py - ) - - rm -rf qiskit || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Run the Python test suite rather than everything under test/ which - # includes the 'randomized' suite. Upstream run that in a separate CI job. - # Note: use -p timeout --timeout 500 if debugging hanging tests. - epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal test/python -} - -pkg_postinst() { - optfeature "qiskit.circuit.classicalfunction support" dev-python/tweedledum -} diff --git a/dev-python/rfc3339-validator/Manifest b/dev-python/rfc3339-validator/Manifest index 85b1d8b20c0b..b68cc6937a55 100644 --- a/dev-python/rfc3339-validator/Manifest +++ b/dev-python/rfc3339-validator/Manifest @@ -1 +1 @@ -DIST rfc3339-validator-0.1.4.tar.gz 7451 BLAKE2B f8216b2eb08cc7cd755a2a57dc6fa93da9aa664cc49f7e34c551d07eb61e57dc865de4a3e86ed2dfbf5a38ff99c149868762a3807e916c884b12fba7e98c3ced SHA512 ed593b31c4984cdbc313e42dc0432173eaa649712e29627ab462dfa262efb30cee97b74f589d3d211c2193623fac3baca560a52a7a3f718071a63482e06c4203 +DIST rfc3339-validator-0.1.4.gh.tar.gz 7451 BLAKE2B f8216b2eb08cc7cd755a2a57dc6fa93da9aa664cc49f7e34c551d07eb61e57dc865de4a3e86ed2dfbf5a38ff99c149868762a3807e916c884b12fba7e98c3ced SHA512 ed593b31c4984cdbc313e42dc0432173eaa649712e29627ab462dfa262efb30cee97b74f589d3d211c2193623fac3baca560a52a7a3f718071a63482e06c4203 diff --git a/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild index 24d7cfcad957..c45f37467377 100644 --- a/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild +++ b/dev-python/rfc3339-validator/rfc3339-validator-0.1.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ HOMEPAGE=" " SRC_URI=" https://github.com/naimetti/rfc3339-validator/archive/v${PV}.tar.gz - -> ${P}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="MIT" diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild deleted file mode 100644 index 871533065058..000000000000 --- a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r1.ebuild +++ /dev/null @@ -1,36 +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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pure python RFC3986 validator" -HOMEPAGE=" - https://pypi.org/project/rfc3986-validator/ - https://github.com/naimetti/rfc3986-validator -" - -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/rfc3987[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # remove dep on pytest-runner - sed -i -r "s:('|\")pytest-runner('|\")(,|)::" setup.py || die - distutils-r1_python_prepare_all -} diff --git a/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r2.ebuild b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r2.ebuild new file mode 100644 index 000000000000..a98b05e33d5d --- /dev/null +++ b/dev-python/rfc3986-validator/rfc3986-validator-0.1.1-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure python RFC3986 validator" +HOMEPAGE=" + https://pypi.org/project/rfc3986-validator/ + https://github.com/naimetti/rfc3986-validator +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +# not a typo, it actually test-depends on rfc3987, and not rfc3986 +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # remove dep on pytest-runner + sed -i -r "s:('|\")pytest-runner('|\")(,|)::" setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild b/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild index de9559f7a437..fb6673b1d065 100644 --- a/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild +++ b/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ HOMEPAGE=" https://rfc3986.rtfd.org/ https://github.com/python-hyper/rfc3986/ https://pypi.org/project/rfc3986/ - https://tools.ietf.org/html/rfc3986/ + https://datatracker.ietf.org/doc/html/rfc3986/ " LICENSE="Apache-2.0" diff --git a/dev-python/rpds-py/rpds-py-0.18.1.ebuild b/dev-python/rpds-py/rpds-py-0.18.1.ebuild index 7b91932553c4..1c07346a7e4f 100644 --- a/dev-python/rpds-py/rpds-py-0.18.1.ebuild +++ b/dev-python/rpds-py/rpds-py-0.18.1.ebuild @@ -68,3 +68,5 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/rustworkx/Manifest b/dev-python/rustworkx/Manifest index 85e38c07b65c..423b47810873 100644 --- a/dev-python/rustworkx/Manifest +++ b/dev-python/rustworkx/Manifest @@ -62,7 +62,6 @@ DIST rayon-cond-0.3.0.crate 9913 BLAKE2B 4096dc35abfa825739953b92e2eb62822761e4f DIST rayon-core-1.12.1.crate 70701 BLAKE2B a32eb9ae9a71b4f0881f7bfd5375aa7db5681f20f7e0b25e6ecb3161f2aad36b93026c1691d02bf298a48ea07ec9475a237fba457ed0b0b8624aebab2b4988df SHA512 33d0297b682f131c50e1eabc3be583211a5abe790301cbca91bf510e43d6714b7564ca39fab7c4bf6f02aa0df6bb394f386a61320f21ddb6bd7aea1372b5e99e DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 -DIST rustworkx-0.14.1.gh.tar.gz 558055 BLAKE2B 03ebbd55762ef3f8834ed688782580a2ffb05dc34410c9970337d776bcc52afb2ee474860cbcd173d57c3736b8562a1848df558d304de872d4f0e98522c57d46 SHA512 22fd8c8dedeb0a60efe6b16c3e268fa6bc599b7ddf0104349cbb4ec0664548416427d22712456a19f7b97fbea2dd7aba6bdc3ce7e582a1f1d95225b6d567be06 DIST rustworkx-0.14.2.gh.tar.gz 558859 BLAKE2B 479510c4e132eda5af7a0301e760fe05daa26dd88c3299ca159ce0f87744d63cebfa33b6a1a6b43541b4c22607ea78352f36288e50d3f6535a6337be4edbf5c6 SHA512 625a4942cba111cdc4a9cf6fd8612ccb5ed94c28e4dcb176137105fc81516d2226fb57b1e401d91e323229eb1444775e5bca239b1bc8a4f26be6d8cea9997dab DIST ryu-1.0.16.crate 47351 BLAKE2B 13c72ec8aa608f6c53cf27c95d06b90839c5bec5e54b0441e9c4f779af3dece30d01a2276c717a733f92406a5a02b09c045b2b5f92714fe492d7263b6c6808e6 SHA512 89e3e18346ae6e4035787766f286a6eb62f5294e39ad902cc29e95c53781c4e5dd629f567f22ecc7e9fe9d1c273323da9b867aadc9cd8a066727c58330b51b10 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb diff --git a/dev-python/rustworkx/rustworkx-0.14.1.ebuild b/dev-python/rustworkx/rustworkx-0.14.1.ebuild deleted file mode 100644 index fa67033c4d91..000000000000 --- a/dev-python/rustworkx/rustworkx-0.14.1.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 2022-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} ) - -CRATES=" - ahash@0.8.6 - alga@0.9.3 - allocator-api2@0.2.16 - approx@0.3.2 - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.19 - either@1.9.0 - equivalent@1.0.1 - fixedbitset@0.4.2 - getrandom@0.2.12 - hashbrown@0.12.3 - hashbrown@0.14.3 - heck@0.4.1 - hermit-abi@0.3.4 - indexmap@1.9.3 - indexmap@2.1.0 - indoc@2.0.4 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.10 - libc@0.2.152 - libm@0.2.8 - lock_api@0.4.11 - matrixmultiply@0.3.8 - memchr@2.7.1 - memoffset@0.9.0 - ndarray-stats@0.5.1 - ndarray@0.15.6 - noisy_float@0.2.0 - num-bigint@0.4.4 - num-complex@0.2.4 - num-complex@0.4.4 - num-integer@0.1.45 - num-traits@0.2.17 - num_cpus@1.16.0 - numpy@0.20.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - petgraph@0.6.4 - ppv-lite86@0.2.17 - priority-queue@1.3.2 - proc-macro2@1.0.78 - pyo3-build-config@0.20.2 - pyo3-ffi@0.20.2 - pyo3-macros-backend@0.20.2 - pyo3-macros@0.20.2 - pyo3@0.20.2 - quick-xml@0.31.0 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rand_pcg@0.3.1 - rawpointer@0.2.1 - rayon-cond@0.3.0 - rayon-core@1.12.1 - rayon@1.8.1 - redox_syscall@0.4.1 - rustc-hash@1.1.0 - ryu@1.0.16 - scopeguard@1.2.0 - serde@1.0.195 - serde_derive@1.0.195 - serde_json@1.0.111 - smallvec@1.13.1 - sprs@0.11.1 - syn@2.0.48 - target-lexicon@0.12.13 - unicode-ident@1.0.12 - unindent@0.2.3 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 -" - -inherit cargo distutils-r1 - -DESCRIPTION="A high performance Python graph library implemented in Rust" -HOMEPAGE=" - https://github.com/Qiskit/rustworkx/ - https://pypi.org/project/rustworkx/ -" -SRC_URI=" - https://github.com/Qiskit/rustworkx/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT - Unicode-DFS-2016 - || ( LGPL-3 MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/numpy-1.16.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-rust[${PYTHON_USEDEP}] - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/graphviz[${PYTHON_USEDEP}] - >=dev-python/networkx-2.5[${PYTHON_USEDEP}] - dev-python/stestr[${PYTHON_USEDEP}] - >=dev-python/testtools-2.5.0[${PYTHON_USEDEP}] - media-gfx/graphviz[gts] - ) -" - -# Libraries built with rust do not use CFLAGS and LDFLAGS. -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rustworkx/rustworkx.*\\.so" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # TODO: hangs - tests/retworkx_backwards_compat/visualization/test_mpl.py - tests/rustworkx_tests/visualization/test_mpl.py - ) - rm -rf rustworkx || die - epytest -} diff --git a/dev-python/simplejson/simplejson-3.19.2.ebuild b/dev-python/simplejson/simplejson-3.19.2.ebuild index c4d097da628d..d56b9b96d4ab 100644 --- a/dev-python/simplejson/simplejson-3.19.2.ebuild +++ b/dev-python/simplejson/simplejson-3.19.2.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 diff --git a/dev-python/sjcl/sjcl-0.2.1-r1.ebuild b/dev-python/sjcl/sjcl-0.2.1-r1.ebuild new file mode 100644 index 000000000000..439579c7c922 --- /dev/null +++ b/dev-python/sjcl/sjcl-0.2.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_COMMIT="e8bdad312fa99c89c74f8651a1240afba8a9f3bd" + +DESCRIPTION="Decrypt and encrypt 'Stanford Javascript Crypto Library'-compatible messages" +HOMEPAGE="https://github.com/berlincode/sjcl" + +# pypi tarball doesn't contains the tests +SRC_URI="https://github.com/berlincode/sjcl/archive/${MY_COMMIT}.tar.gz -> ${PN}-${MY_COMMIT}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests setup.py + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index c63bd8c36cd8..9c74bb1c1df7 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -19,7 +19,6 @@ DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d7 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d -DIST sqlglot-23.15.0.tar.gz 13095809 BLAKE2B c8a7f63cfc1014f43a14ba655551948ab3e8c98b89a1458b3f44fd26a0b36c9219610d0f7078da4632c8e7a87111c13b05f52a4b368d900ae7a03af90c7eca40 SHA512 e04aea350d702c0def2b57024ec959fa4f5128cda71b610da1d919db5ac1f415e3e53e0aae5f2a9de37fca120f44a64c8d8d41f136ab446d4df80b6cf6fef6b0 DIST sqlglot-23.15.8.tar.gz 13118607 BLAKE2B 967590ff24f6a25adc4c227510ab027f695cf12b90dbf3304a6327afcdbfbd7d96d7f77b25876f3e7dce471c78e38498f9c156671f84f25b7eeecd315678a958 SHA512 4d283b9cd09b7bee873c07b9618cd046d1d312bf8e3280a635ccb91c45532c590a152db97cc338be91eafc2e68dd587f48460ad8eea1ab0b4c5ec5f64c2be2d9 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca diff --git a/dev-python/sqlglot/sqlglot-23.15.0.ebuild b/dev-python/sqlglot/sqlglot-23.15.0.ebuild deleted file mode 100644 index c040bab3734b..000000000000 --- a/dev-python/sqlglot/sqlglot-23.15.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/strict-rfc3339/Manifest b/dev-python/strict-rfc3339/Manifest index dd3db155a19e..c3a489699e7b 100644 --- a/dev-python/strict-rfc3339/Manifest +++ b/dev-python/strict-rfc3339/Manifest @@ -1 +1 @@ -DIST strict-rfc3339-version-0.7.tar.gz 18756 BLAKE2B 45a38c5eef2b74225408e9a0de9e484cce24778eaf830d9cf052a26df4964c761d8349a71c892c5b4b5129f98802a9aae10b1e9205156bbc4eb6c8f5df7bfb88 SHA512 5db598b33680d60eab8c49dde9d831ece9632811c89552c7ccd9ac7cbc0f603bde5aa14434a388abe669181e643bc2fe97f3c48b08c88863f88e95f17d958bd1 +DIST strict-rfc3339-version-0.7.gh.tar.gz 18756 BLAKE2B 45a38c5eef2b74225408e9a0de9e484cce24778eaf830d9cf052a26df4964c761d8349a71c892c5b4b5129f98802a9aae10b1e9205156bbc4eb6c8f5df7bfb88 SHA512 5db598b33680d60eab8c49dde9d831ece9632811c89552c7ccd9ac7cbc0f603bde5aa14434a388abe669181e643bc2fe97f3c48b08c88863f88e95f17d958bd1 diff --git a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild index 5727f8862493..4bb452b7c6bc 100644 --- a/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild +++ b/dev-python/strict-rfc3339/strict-rfc3339-0.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,9 +16,9 @@ HOMEPAGE=" " SRC_URI=" https://github.com/danielrichman/${PN}/archive/version-${PV}.tar.gz - -> ${MY_P}.tar.gz + -> ${MY_P}.gh.tar.gz " -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} LICENSE="GPL-3+" SLOT="0" diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index d42f1eba9247..5c662d9a86ea 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1 +1,2 @@ +DIST typing_extensions-12e901ed0cb8a826726357f8020cf3837d961e15.gh.tar.gz 95229 BLAKE2B 1d5feabe39d0a04486e2ed5acf6b46f91a1656d10175a54d6b41e194d4693bbf6d5d135d7ed887308c90d8e65f4f7e99fe095263f761d4077bbf7baa9eaabd51 SHA512 c61249d1b6bcda302991f6f981261361730b3c11f860df98cdba0304ff575a89228ad96966810c17b50cac75bde0ed5f9e6519a2904d56f6021fd2048ad155cc DIST typing_extensions-4.11.0.tar.gz 78744 BLAKE2B 641d4a13fcd10151a0b7059d11393c78974883710a860805dc132a148677c80a0be06dc32f66cffc4ae2dd838c607bdaa8d3f44e4e3cf55848d2a315bd74ce5a SHA512 d795fadbe9c0a24c4d3190f375d72576f5b42a14dc3a999127c1356f2ae77d4bffdc04a23b7a05331cc8b703a81f504328aaf5d6c1247ea24cbeed25dccb0a37 diff --git a/dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild b/dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild new file mode 100644 index 000000000000..f56019fd57fd --- /dev/null +++ b/dev-python/typing-extensions/typing-extensions-4.11.0_p20240512.ebuild @@ -0,0 +1,33 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +EGIT_COMMIT=12e901ed0cb8a826726357f8020cf3837d961e15 +MY_P=typing_extensions-${EGIT_COMMIT} +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" +SRC_URI=" + https://github.com/python/typing_extensions/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests unittest + +python_test() { + cd src || die + eunittest +} diff --git a/dev-python/uri-template/uri-template-1.3.0.ebuild b/dev-python/uri-template/uri-template-1.3.0.ebuild index 53fbf960a15b..a15884745292 100644 --- a/dev-python/uri-template/uri-template-1.3.0.ebuild +++ b/dev-python/uri-template/uri-template-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 85cc09a055e4..c393da34936a 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -1,14 +1,8 @@ DIST pubgrub-0e684a874c9fb8f74738cd8875524c80e3d4820b.gh.tar.gz 86899 BLAKE2B 51b8753a092deda12a35b501f34c16e800f2ed2c4c47b64622c752bcf8a52dd1fb9dc1ee69cd107b5b6ee48003c8ef804e20f7eed975a6e63615b94648e37890 SHA512 15e404590fb3b21b01fac318df9cbf81f598dc0506d6d5738ff566a5eb1075e6d7a096a8ad1567e27982662aac0ce2a889a0039ce5736ff140fa617ae8b3cb08 -DIST pubgrub-c26e485213e39582c6f2e4d45c0328422670e7a7.gh.tar.gz 86123 BLAKE2B 743bb61460903d276f467b23bb001313598b50cb54fd1a56bcadbc732dd606bafd48a2d9960add3424bd03222450b455f9f1bc8716a80933e5ed0cfb76dcc50a SHA512 9f9c8b58dd2ddeb3ed89abcd790641bd9b7b2cf4fc66dcc4d964a1b69d879adcdaf2775545631ca20f06a8ab5d6bc1df6b2eb272207d2642584c269b358f4d76 DIST pubgrub-e981e4dfe315582e84e2fd724832fb0e0c50b7aa.gh.tar.gz 76914 BLAKE2B e7039f3b2fdc2a702f4824ff99acba9549e916c211290b79ec710060369b2c76e518c210c109103bf5ba50cbb373d0a4e3185df09935d7e47241ec25da259776 SHA512 94cfc88b6736ffd78bcbcc3f4cd9940d27c902bf2dfca38dddb470b8a6a0bb3a8e4a61dd1b2654e49327c9386c3ac2a7f090f9a6c2426b19ecf00d9f9716d400 DIST rs-async-zip-1dcb40cfe1bf5325a6fd4bfcf9894db40241f585.gh.tar.gz 96766 BLAKE2B f9efab73c65394e33e090a6292875ebf35e6669b15c356f102eb109784a4503606ae39106cd0ebe3d7d479cb0b30806d7baaaebf22d826836a24f7ed49100934 SHA512 3b845b05d97c5ab5cea286a7c11846838b40bb1fac98a51782600849a53231be8fa205094c6bdd00f6e193c807b10b28f947698696382be99cae0a8d681dabdc DIST rs-async-zip-d76801da0943de985254fc6255c0e476b57c5836.gh.tar.gz 95906 BLAKE2B a5a0e4d20926d637cbfa25cb486580de6682365c588a9653c873622424ec28ac8c7380d1c99ec260cd342b214aacd5124b51fc5e5646f15f76db4148aada2f41 SHA512 dd5b61bfc913a94822d74f1dac3b30f7a3979a641c3b08ccb5fa84cfbb2bfd8c0f807a30cc4ae0abfe5df7079011c20e1f8a642fd439ce6ba2c404ddee06baf5 DIST uv-0.1.24-crates.tar.xz 64420840 BLAKE2B 7324461092a07c86aadaddf051aaa7454ec08085940f34d07d8a8dc7171abcbf94409df5cd8afd71f1022adb2e76c0aeb1eabe9190598cad4d06e390ccd612f4 SHA512 6701a768a8a1d48ac43038e5161b578b684abed1c2055cc4b7fb5656ec40118287893ee2674b7161292ce7c3e4c062c32ff0038f1548c8f79f4df473d8d26f30 DIST uv-0.1.24.gh.tar.gz 899637 BLAKE2B fab26ba9934fc5f586505b5ac1fa386c11f07e51ca2bb2a79f46d5dec9475ba8d75ad8587223d5149df5f2a225146d020a49b7ff81ed26b949cff55892738c2d SHA512 520b47a096b50fce9e7b7af5bca203df9bf4c2d0aafbe28a3dcfe0592d8ddcaa7b58d52300c67454f6aeecfd196f1592be18e45c95b7c67257361917cdb0154d -DIST uv-0.1.38-crates.tar.xz 65881140 BLAKE2B c1a640c44d73d5607c8d07468cefc66c150135b0f0249362148bd2b8f8c99a43c9031a642c0f76140631177df947be7637b49e99e247afbd7efbebb2ad79bcb1 SHA512 99bf6f341f9e6cf8eb0834c436b81453615725cabd3ddc4cca34edb307200bdbb71e913e8ff52a2a1d11e5f1a4abfb4dbdfe40a9c4f114079a7d9fdace0bcaab -DIST uv-0.1.38.gh.tar.gz 1023332 BLAKE2B e62259084fc9122d311bbcac754796b9e0ac28f4865755e03729eb6ad5adab4f9e3f77c41af1dbdbdc3a55d5a4736875aa26ddc7b78b745c8d6fb4d6b8bbd959 SHA512 7dad22d038aad03ad72ee0c5fdb77ccfbf56fc94a38613373a037eb26c2f228bc6c883d542621b45f2a55c8d51b7345fdd919dc1db45aa4d598e368311c72fdd -DIST uv-0.1.39.gh.tar.gz 1026174 BLAKE2B 857e3f3dd81fae33244bbae5b7e124886ee8c57576f57e5264fb11b89fcb842e18ec07756e70204dc28be0e02ac0368c238d69ae5b1c0a95ab07416a6cf1ccff SHA512 6454fde2eb5166c2097fb44c4b8f505d27344a4a63589589de402887a57c8e1aeed5d52c7e892530d16de9d4a187b6b423f70550016d3c233cec8300b81a8b34 -DIST uv-0.1.41-crates.tar.xz 65965588 BLAKE2B 350a4e9e5d3a41682844d7f5e2824f262ef78dab7329723b65c1605c064601d0680c89d194e0228597043d66ae4fd70eb3b20433a42c29668af284c75044d281 SHA512 60f99aee7ee8660565bb3d44694e7eb897599a5b6f11fc6af771b00ee66911a8f0d9117ad61c152e56fc40137edd9f5cc0d1726c9158544adbc8c9b52dbe4384 -DIST uv-0.1.41.gh.tar.gz 1069659 BLAKE2B 9caa7c282fa9626510c9f736dfd1796d2e33238378dad1de2c468f745e914b75d7346ecf8ee6d4a87de82b86b3fee5260d95bf0c526c14b96bce44bc983e5758 SHA512 ea8a2b0cd15f3276404c2b8e00ec700346bc2839e3dc7806e537f94bd600818e479fbe3928e1047436382a7caa3d0792fef5f83cfc243ed42018e58a1bee1e6f DIST uv-0.1.42-crates.tar.xz 65954692 BLAKE2B ae5b41ebee15530577623f7592ddc1c08c74c47f145ed5521ecea154558d3b5eff4c8f8af1d2d058719c59d87d00ae86d1bda8e3146349bc7a8f5344dfd40a01 SHA512 a5fd91054debc1d08b5270f3a39ae8fe5ca15bcc62e1c3412fb9566c40c3d8387ecbfd24d8b4f3db12199dfec7ddc175a638e7854efbb8c44cb1dbbe97d2b57c DIST uv-0.1.42.gh.tar.gz 1077448 BLAKE2B 84c4e5f6e35ac9a50ff3b1ba7b9cdd415a8e4dc2c153aec4a116892b2c567f91ddb67cd32937c2ed867bbfef26c13b3b75c17bc7728334c8db1c58f550d4e735 SHA512 e0451614d8a7f016f382a2c9eaee03cb015fa8c552258bbaa7329e7802b1013878bc16134e0232262fa588bbc724857fb1818e61cb2b948c333aba295ee6c4b8 diff --git a/dev-python/uv/uv-0.1.38.ebuild b/dev-python/uv/uv-0.1.38.ebuild deleted file mode 100644 index 7bfc616ced7f..000000000000 --- a/dev-python/uv/uv-0.1.38.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - CRATE_P=${P} - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_prepare() { - default - - # https://github.com/vorot93/tokio-tar/pull/23 - # (fortunately uv already depends on portable-atomic, so we don't - # have to fight Cargo.lock) - cd "${WORKDIR}/cargo_home/gentoo/tokio-tar-0.3.1" || die - eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" -} - -src_configure() { - local myfeatures=( - # from upstream defaults - flate2/zlib-ng - python - pypi - git - maturin - # skip tests that require specific patch version of the interpreter: - # python-patch - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/uv/uv-0.1.39.ebuild b/dev-python/uv/uv-0.1.39.ebuild deleted file mode 100644 index 43beac99bbb1..000000000000 --- a/dev-python/uv/uv-0.1.39.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -CRATE_P=${PN}-0.1.38 -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_prepare() { - default - - # https://github.com/vorot93/tokio-tar/pull/23 - # (fortunately uv already depends on portable-atomic, so we don't - # have to fight Cargo.lock) - cd "${WORKDIR}/cargo_home/gentoo/tokio-tar-0.3.1" || die - eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" -} - -src_configure() { - local myfeatures=( - # from upstream defaults - flate2/zlib-ng - python - pypi - git - maturin - # skip tests that require specific patch version of the interpreter: - # python-patch - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/uv/uv-0.1.41.ebuild b/dev-python/uv/uv-0.1.41.ebuild deleted file mode 100644 index 9fc32bfd4abf..000000000000 --- a/dev-python/uv/uv-0.1.41.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" -" - -declare -A GIT_CRATES=( - [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;c26e485213e39582c6f2e4d45c0328422670e7a7;pubgrub-%commit%' -) - -inherit cargo check-reqs - -CRATE_P=${P} -DESCRIPTION="A Python package installer and resolver, written in Rust" -HOMEPAGE=" - https://github.com/astral-sh/uv/ - https://pypi.org/project/uv/ -" -# pypi sdist misses scripts/, needed for tests -SRC_URI=" - https://github.com/astral-sh/uv/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} -" -if [[ ${PKGBUMPING} != ${PVR} ]]; then - SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/${CRATE_P}-crates.tar.xz - " -fi - -# most of the code -LICENSE="|| ( Apache-2.0 MIT )" -# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below -# Dependent crate licenses -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT - MPL-2.0 Unicode-DFS-2016 -" -# ring crate -LICENSE+=" openssl" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="test" -PROPERTIES="test_network" - -DEPEND=" - dev-libs/libgit2:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - >=virtual/rust-1.77 - test? ( - dev-lang/python:3.8 - dev-lang/python:3.9 - dev-lang/python:3.10 - dev-lang/python:3.11 - dev-lang/python:3.12 - ) -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -check_space() { - local CHECKREQS_DISK_BUILD=3G - use debug && CHECKREQS_DISK_BUILD=9G - check-reqs_pkg_setup -} - -pkg_pretend() { - check_space -} - -pkg_setup() { - check_space -} - -src_prepare() { - default - - # https://github.com/vorot93/tokio-tar/pull/23 - # (fortunately uv already depends on portable-atomic, so we don't - # have to fight Cargo.lock) - cd "${WORKDIR}/cargo_home/gentoo/tokio-tar-0.3.1" || die - eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" -} - -src_configure() { - local myfeatures=( - # from upstream defaults - flate2/zlib-ng - python - pypi - git - maturin - # skip tests that require specific patch version of the interpreter: - # python-patch - ) - - cargo_src_configure --no-default-features -} - -src_compile() { - cd crates/uv || die - cargo_src_compile -} - -src_test() { - cd crates/uv || die - cargo_src_test --no-fail-fast -} - -src_install() { - cd crates/uv || die - cargo_src_install -} diff --git a/dev-python/webcolors/webcolors-1.13.ebuild b/dev-python/webcolors/webcolors-1.13.ebuild index d84143b84ead..93aadef4c215 100644 --- a/dev-python/webcolors/webcolors-1.13.ebuild +++ b/dev-python/webcolors/webcolors-1.13.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 @@ -14,8 +14,8 @@ HOMEPAGE=" https://pypi.org/project/webcolors/ " -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" distutils_enable_tests unittest diff --git a/dev-python/zstd/zstd-1.5.5.1.ebuild b/dev-python/zstd/zstd-1.5.5.1.ebuild index 6d2f3996f486..0dbe4f6dc61b 100644 --- a/dev-python/zstd/zstd-1.5.5.1.ebuild +++ b/dev-python/zstd/zstd-1.5.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -- cgit v1.3