diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-20 07:06:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-20 07:06:14 +0000 |
| commit | 43840e755ad19e863ab48bf2175483deaeecf237 (patch) | |
| tree | 279361271022ec8853f8de0221b9d1dda5bec727 /dev-python | |
| parent | 1ec499c72856f24382bb98bcb8fbc40e8988d861 (diff) | |
| download | baldeagleos-repo-43840e755ad19e863ab48bf2175483deaeecf237.tar.gz baldeagleos-repo-43840e755ad19e863ab48bf2175483deaeecf237.tar.xz baldeagleos-repo-43840e755ad19e863ab48bf2175483deaeecf237.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
34 files changed, 749 insertions, 101 deletions
diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index efbf3e356be4..3df1b4edf77c 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,2 +1,3 @@ DIST serverless-application-model-1.97.0.gh.tar.gz 5891456 BLAKE2B 6a568333110eed9a219d489f7ec566cee595654f0d75b8fb5cf89d4a32b64862549ba6c5d10f195d82a48bd44c0529425eec0150775df16025a33c0135ad9232 SHA512 4489410aa77c831e5b85b0e0f3f25a77b4b9a14947159c2a23f29b241d7e2858922847df41b24a1d784ea412019f2ed5a395773e42925bc1cc479c9ca1c4602c DIST serverless-application-model-1.98.0.gh.tar.gz 5905089 BLAKE2B 68c5b12c9f5654bd2124d9f17999ece147686759db9d43e7bdf28f81ec92e616f73666594ac9c72b22e36ae4254fc19dc6663692d44ef8c7dedeab115fa0ee3c SHA512 57319c501d345aaa960194155e62d03a87a7a1a3f34944d0aedc3107940018031f10a46ea9f6fd1a4aae6a12c6cb2bf852ca5892c4fb69baf63be5b3c8c16420 +DIST serverless-application-model-1.99.0.gh.tar.gz 5926908 BLAKE2B 2789e0fafa9036f51f2a854e5d46a8306866a1ab02f0ae92c080eda4c054a13f489a7027131c3a2512f92e125b280cb5aadb78b040f69ebc66c4ec1c5b052ae7 SHA512 e5c8d0d8b9f6215e7b1a8685206c2abdb5a79b9251ca5e2dc3092649899df5f35712c9a3068fc2476eb7b5efc08e8ea8654519ecfd8c53b8fe79838079721808 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.99.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.99.0.ebuild new file mode 100644 index 000000000000..5c7bbac427db --- /dev/null +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.99.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 multiprocessing + +MY_P=serverless-application-model-${PV} +DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" +HOMEPAGE=" + https://github.com/aws/serverless-application-model/ + https://pypi.org/project/aws-sam-translator/ +" +SRC_URI=" + https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/boto3-2[${PYTHON_USEDEP}] + >=dev-python/boto3-1.34.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] + <dev-python/pydantic-3[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] + <dev-python/typing-extensions-5[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # so much noise... + sed -i -e '/log_cli/d' pytest.ini || die + + # deps are installed by ebuild, don't try to reinstall them via pip + truncate --size=0 requirements/*.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x AWS_DEFAULT_REGION=us-east-1 + epytest -o addopts= -o filterwarnings= \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 246b2368bc96..279940eb6cc9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.38.36.gh.tar.gz 954319 BLAKE2B 9c0f54169c7cd186922c7d2f0dcab9219b5b DIST boto3-1.38.37.gh.tar.gz 955163 BLAKE2B 9d7c7ca80492a55336647b4b882820f6798a457fbdad4e68447855ba76c710dbdcc6a0653b46dfdee58c6ac9241e4ac47bcc1b28d8777cc0c172cffedfb26c14 SHA512 8ff2c7238e51fcb979a5411208e4202efeb285caa96be97970a3dbac954475bc9867572bf3592f63e5bba1c49db3c452aa5fb07f063d7e3b9beb6414f5be5656 DIST boto3-1.38.38.gh.tar.gz 956172 BLAKE2B 806880f39b8ef3a92859340beb1d31a3e2cec9cec00283ea10a9dc5fce8b79ca18f965ed47b6e07c4223dae90aee142f749f559650cff310ad40447dcc97a904 SHA512 3afe7fd3ec74c62be8befa8ed17f62986d223da0a94132513331b74224ad8a879e5835caef577676c2dc210fe40367bed896af0c45e9b190253267daf832faab DIST boto3-1.38.39.gh.tar.gz 958398 BLAKE2B dbbfc1635cc30103daa1dd7de197176bda4d35d9a27d12bfff33202fdf94dc8118b6a3dc8e250ef951bb0b047f0c28eb6c04ea1bde876c445621a9258d30a409 SHA512 d84ebcd930e233645400b49ca0fdf48c391d85aa33cc25fad8c970bc5add77b49365ed61041fdb58ea66cda4f2118c1edd606209120986544fc796d5f0d6dca3 +DIST boto3-1.38.40.gh.tar.gz 958953 BLAKE2B 08c9f5406fecb3251b0c0f7bf6b67a80a1fbf4572f92d8b78f7bc0e56376064d47497b7e70377efcf9afe53e785eabc1f2b12ce74dd3fca47d56e1f717b9a56c SHA512 a503d55219797a34014b5378d4b58dbc6c134790222b34c3155fd80356395eafa2ca5ab3e75e7a3e717726a661223f9ef18c984b4004d0589daf123332df813f diff --git a/dev-python/boto3/boto3-1.38.40.ebuild b/dev-python/boto3/boto3-1.38.40.ebuild new file mode 100644 index 000000000000..0e521ede0704 --- /dev/null +++ b/dev-python/boto3/boto3-1.38.40.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.13.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 53ab7cd2801e..8b233ce7a3e7 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.38.36.gh.tar.gz 14720436 BLAKE2B fe5b58bba65c55b4ace04b5fa88de6f DIST botocore-1.38.37.gh.tar.gz 14724206 BLAKE2B 25f1ad806e6652a3ac0d257912580fffc28475ff6b398d9b61a3e7c1ae98498ee1ef33a851e78a4504bafcfb1b84b96d28201c27f9bcf46b9cb7c3e427ba210e SHA512 0107bf62650dc865fce053e828c4ee7d6851d13e16f1039f145fd8b3e964eaa70ef7135185f857ae5db31cdd1f6117fc4141c626e603d32b94527298d7974139 DIST botocore-1.38.38.gh.tar.gz 14762089 BLAKE2B 07dcd8001267c9a6ff962a9a1c10fe8b9b9ebf899469e632ed87a6a0c075fdc3d9853e77fc79f7847ce272e8bf321ce8354fb8ab2bddeccd704c37ea1a69d980 SHA512 0ba2984b147dedc479c4f55bf747f13c1fcebfb3c4c06ffae747c55daf0d565a44282f2110b73dac5f3ba8e34484b7edfe6d2b102036a3870b3859687100d997 DIST botocore-1.38.39.gh.tar.gz 14778742 BLAKE2B 3d8533688317d05707e0cab26faebab522e24ffc84c189f0b1f7887c83c8f88aebe00fecdf6a660fded37e2edb2089127b4edcee89927f0e76e296f9dc14c368 SHA512 257350cbf5eb9ae5aac601847dcc5c09f74d7e4e73316c2a9bc35980d2300ae43884ffc3ed9aa06184fdef2bfa1ae6901cd0923fbc039d7949a904de1f710f78 +DIST botocore-1.38.40.gh.tar.gz 14783063 BLAKE2B 2c5eeb4ea827b21409fe9b21e837e12245cebc0063246e8e89b9574dc722b52410202a0ff8043cd05401eff2f0132c9e25dc0bcb8bd293902e5c44b957eef1f5 SHA512 4bd2cbb6f9907e33bab222f7da725b8790dcb53e69a2da4552d5bd1cde637d5467ac607a2df946edb2de561c1c81c294ad7933d621ad182e6906192407a4fb3b diff --git a/dev-python/botocore/botocore-1.38.40.ebuild b/dev-python/botocore/botocore-1.38.40.ebuild new file mode 100644 index 000000000000..be6df9120cc8 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.40.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cython/cython-3.1.1.ebuild b/dev-python/cython/cython-3.1.1.ebuild index ba83e00c00bb..585ef3bb97d4 100644 --- a/dev-python/cython/cython-3.1.1.ebuild +++ b/dev-python/cython/cython-3.1.1.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test test-full" RESTRICT="!test? ( test )" diff --git a/dev-python/fakeredis/Manifest b/dev-python/fakeredis/Manifest index 56510ce8e212..77b38e3cb83c 100644 --- a/dev-python/fakeredis/Manifest +++ b/dev-python/fakeredis/Manifest @@ -1,2 +1,3 @@ DIST fakeredis-2.29.0.tar.gz 162915 BLAKE2B d2851fefb9fd80d0038bb237d261dbc125035782c1bfcd8d91345a4a2a38423c4972b0803484459baeb09cfd0acaf34559e31fc772cb6e36432068c63027a29a SHA512 721e0f508c6b18413dfeaa5caa1ad12f3b9a63d89f7a535a7dc70f1b69f745f08f26782d73bf681eab578e99504cd14d08b8d639dc6b88b4ae0db5151f3e7b3a DIST fakeredis-2.30.0.tar.gz 167434 BLAKE2B 7aad6a98edd9dc27e730e54c5f09d230ea9c2ebe1ac6e6c58faefb1dcddf291ae879b68355f6a2b860be68e56a8d92fd343bc9b2f1c0e8c3d4ebbecf3877f24e SHA512 61a5d01cb029495a9095f36a8b459ca289f37600bd1237c8d0055f7fa21f8122e535a7e4cbeabcba3def35e1a638438dc68a63e9c94155962a3f8e5303acb37f +DIST fakeredis-2.30.1.tar.gz 167724 BLAKE2B 7ddb8cbdeb4e3c5bcf9e5a6cd854cc55e39298934d097ec2401eb2226a45fa7e4d25ae666a3e34c22ebe75be6be0ad59c7722dbe7e15dac32f7822c5fd54cee7 SHA512 6d23a1e276b2a1ebc1846704f36296ab284b93e978c79358f2e73b6bb0b2c30ea133060dc6e8b9b7c82485c6fccca6efb53f67ecbb468029497e0fd7480dd8db diff --git a/dev-python/fakeredis/fakeredis-2.30.1.ebuild b/dev-python/fakeredis/fakeredis-2.30.1.ebuild new file mode 100644 index 000000000000..c304a30aa297 --- /dev/null +++ b/dev-python/fakeredis/fakeredis-2.30.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fake implementation of redis API for testing purposes" +HOMEPAGE=" + https://github.com/cunla/fakeredis-py/ + https://pypi.org/project/fakeredis/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/redis-4.3[${PYTHON_USEDEP}] + <dev-python/sortedcontainers-3[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-db/redis + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +# pytest-xdist: tests are not parallel-safe +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis2]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_channels[StrictRedis3]" + "test/test_mixins/test_pubsub_commands.py::test_published_message_to_shard_channel[StrictRedis3]" + test/test_mixins/test_set_commands.py::test_smismember_wrong_type + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis2]" + "test/test_mixins/test_pubsub_commands.py::test_pubsub_shardnumsub[StrictRedis3]" + # json ext + test/test_json/test_json.py + test/test_json/test_json_arr_commands.py + ) + local EPYTEST_IGNORE=( + # these tests fail a lot... + test/test_hypothesis + test/test_hypothesis_joint.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p pytest_mock "${args[@]}" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6390 + + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" + daemonize yes + pidfile ${redis_pid} + port ${redis_port} + bind 127.0.0.1 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 9509950f39db..bca290d2038d 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,3 +1,4 @@ DIST google_api_python_client-2.170.0.tar.gz 12971933 BLAKE2B 51382bb40c74018ec8267130b8ac50152a7b85cf09551c0c0826f0cce763834b2480127ac72a26ac600b5f847cd558651449f35997c335e1f54d51c275687cad SHA512 a2cb7dc10089ffe33c22e9c5ab2cff4836f6982ce708a6efc744ee218a6bb9d42a33afec1bd20213d1c234fe7176f5ffc59f1116c6f4cdc8a0f46e956073f302 DIST google_api_python_client-2.171.0.tar.gz 13028937 BLAKE2B 8fdb02566b59a6ee863613ec707666ddd959a1962fbd679d8e2ffb0dd2ed9e051390302ed54d3631a6518f4cf2157ff092f8dbb17eb95ff771155a3fe45242f0 SHA512 8237e79f3e6be18bcd2aa8e073c5842768861dbd90faabf25e01cda116afebea0e895a951c01f23f81cda26d70db387b622afa024378f5acb7a6d580d7279663 DIST google_api_python_client-2.172.0.tar.gz 13074841 BLAKE2B 18c4904b5b9f48e34f10e71cc3b6a5ab0c9a9fdcd88b126d8fadc107be82a626739dd33496a50c5943c32d3acf14e8c9ae28da382a67525ca48f7a1462cea80d SHA512 b28db1652f648638d2f78b091cc4cddbb629f2600160f83384bf6ff7948667764ec7805bb8da858578faca97c6be0f06724d0be672aedf94994633d81aa9f64c +DIST google_api_python_client-2.173.0.tar.gz 13091318 BLAKE2B c7135d5ef2ce2b029c3d6d779fa82db69768ed70e366301ab692f746b7b76c3807f823a85e47a01cbe68626b20092b6bf5ea53baaeb416e84ec1d4086858267f SHA512 28947b8dd0cda063ebe5f9a722dfaf07f6a3db9030ac40c949b5ba27353699da32ee13862fc8969e7e4cf0f61a6efba11701ef15a460f827ab3e32b3f80d8b97 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.173.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.173.0.ebuild new file mode 100644 index 000000000000..b2220fafe3ef --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.173.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 021045e3c717..08ad86bb00bd 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -3,4 +3,5 @@ DIST hypothesis-6.132.0.gh.tar.gz 9563870 BLAKE2B de088f7d632a8ada158f5c11b6eb8b DIST hypothesis-6.135.1.gh.tar.gz 9569007 BLAKE2B ceebfcbc7ae66c73251a5196f304a1a4e51cd3db27e7815db248ee014bbae7ca921c95a6962174f69c755c715a51b5fc041dbd11a2e0b6f7e2a97c669ae033e0 SHA512 be50f86dee60b5a6c8e8680652e6f76a30d4402e62346e7536a83dec2598cc320e56496e93363e8207f9086061c9e19ab7d4ea684405eb1ebeb3ef5f9dd29ecd DIST hypothesis-6.135.10.gh.tar.gz 9578191 BLAKE2B 39e2d2b74aaa857530eb7102b54dc755a54df96e0f20f90f261b5e23ce70c95c6bb141d406f966b4d5c18cccc8a50381f2b4caf238c48d358f960a24823e9a2f SHA512 714420003d1bf5eea41e2e9fcd70a2cd12ea0b2ec4852d5e141d6e9a082effa2bdc26647a100a0240c29134cccb4ad5fe1cbc4c441b9142c1d2a7296718059db DIST hypothesis-6.135.11.gh.tar.gz 9578647 BLAKE2B b2c6e9d920fe1d560a98dd16f1396f63da11cee5229272382980aef2981628bdf6bc81e810e591713379b6faf96f0e8e0b5c063ba687e7cf7e29cd287adb1337 SHA512 08d36fdc6544e622f4dc47d947dbb7c78951ee0db83b67b948e2ed908c86689fd167aeeeaf930e8b24d95889ef568eda7b0f2a224aacf6b0e8c741ebaa289719 +DIST hypothesis-6.135.12.gh.tar.gz 9578712 BLAKE2B 27d1d890f3fff017fe8f8152a0f2a8338722a0c72a6a7ca17cc02cc65ec8d084d82b80acaeae11f00d4452ca431f12ffe63a8dda6b25b8608f0a7a613fc815be SHA512 635e3d9214c60f219857e6de8ee7e999db9dae98812e15e724b6f72638916c2ac3bd122071e8a4b1c91b6ea7a09d1ea6b71492a35cb1b72ccc24217d329f3081 DIST hypothesis-6.135.9.gh.tar.gz 9578130 BLAKE2B fc0619685edd2c06d77d95ee0bb7244f62b0b262621e399e3ff7a1ef13a36c80f6d60c8b333011e9387bf04095f40519b072f1b69407e5b0a83c46d2fd7acc40 SHA512 bc69855f5d68bfd68a4915d2085505d815159d5b0757104f7634cdd3db2a2e9c5a7e8c68826864aeb15aae5b16bdb99cbafdab3e443349c3edfa86c964110bce diff --git a/dev-python/hypothesis/hypothesis-6.135.12.ebuild b/dev-python/hypothesis/hypothesis-6.135.12.ebuild new file mode 100644 index 000000000000..25eb21e77d45 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.135.12.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + # subtests are broken by warnings from random plugins + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin + local -x HYPOTHESIS_NO_PLUGINS=1 + + # NB: paths need to be relative to pytest.ini, + # i.e. start with hypothesis-python/ + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + python3.13t) + EPYTEST_DESELECT+=( + # TODO: missing warning + 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' + ) + ;; + python3.14*) + EPYTEST_DESELECT+=( + 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' + 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' + hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds + hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence + hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression + hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types + hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic + hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic + hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense + hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns + hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope + hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref + ) + ;; + esac + + epytest -o filterwarnings= -p rerunfailures --reruns=5 \ + tests/cover tests/pytest tests/quality +} + +src_install() { + local HAD_CLI= + + distutils-r1_src_install + + if [[ ! ${HAD_CLI} ]]; then + rm -r "${ED}/usr/bin" || die + fi +} + +python_install() { + distutils-r1_python_install + if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then + HAD_CLI=1 + else + rm -r "${D}$(python_get_scriptdir)" || die + fi +} + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "dateutil support" dev-python/python-dateutil + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pandas support" dev-python/pandas + optfeature "pytest support" dev-python/pytest +} diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..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 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -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 56733bbffc48..99577c43fc3e 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -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..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest index dad140187ba3..9184346eb533 100644 --- a/dev-python/markdown/Manifest +++ b/dev-python/markdown/Manifest @@ -1,2 +1,3 @@ DIST markdown-3.8.1.tar.gz 361280 BLAKE2B bbdee4cac9c1e537837452db0a46b2ed4b48e6f58a8ad2b452f6ef51c018cc6524dc5f96390511a112e93511708ddb59cc21559e3e4d5831bfb734abd02c4165 SHA512 e1b52827ecd19a6e472237eb9eb40b3efd1baf987500dd2494c5749b2ce126898654581d4345f9c790af264ab1c20c376b48a09a782a3b67f5e28309c6929200 +DIST markdown-3.8.2.tar.gz 362071 BLAKE2B 3961c8de4a34ea42656753121958e58d4a5835a14c371d735cc87a7b90d237e04c5ed5f8c1f773ece5689400880d5e74244479bd8da4308b62ce995c29ec2595 SHA512 e5ec7ca85a74e3914f699e79d1e07a55bbe2deabe6781a9f218280a8b4dc11dbb7fe11de4379aa019fe442383d74b01ec88b27640e79481906230f2d6eddf52f DIST markdown-3.8.tar.gz 360906 BLAKE2B 2e6258f32cd4da937fb24f9b56dfa979cccf471420bfb74af23b98998f1938bb22efa1f6721d9812ecc470ea669582a51d425e4368703be9f67d9c033ab37eb4 SHA512 905945ba8a4c04d2231fd1f727d6eec8600ccc7e48659dda6161cfe7d091b155e40f6f14baa2ad6cc1bf9334ca42d01ddfa6a14fa2636382e1e5ed2438300dd8 diff --git a/dev-python/markdown/markdown-3.8.2.ebuild b/dev-python/markdown/markdown-3.8.2.ebuild new file mode 100644 index 000000000000..37783cbaf748 --- /dev/null +++ b/dev-python/markdown/markdown-3.8.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE=" + https://python-markdown.github.io/ + https://pypi.org/project/Markdown/ + https://github.com/Python-Markdown/markdown/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytidylib[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_install_all() { + use doc && dodoc -r docs/ + + distutils-r1_python_install_all +} diff --git a/dev-python/minikanren/Manifest b/dev-python/minikanren/Manifest index 9910b37632c6..688ff94ec645 100644 --- a/dev-python/minikanren/Manifest +++ b/dev-python/minikanren/Manifest @@ -1 +1,2 @@ DIST kanren-1.0.3.gh.tar.gz 72998 BLAKE2B fcbc852d1dfeef4dbe0b4f2daa36fa87f8e6b597d6f8dc80d3197b8d151aa0ffa1234a2677b5c430e3431cf826ff44d1c8954f043d3a8976970f73d403ccb544 SHA512 913930d98c006e355f700087f00bb002e93a68c782b6a8cba003242747a8060789a113f380199124a1499beca8d8399df73db9a003a6719a90378db86b2fc166 +DIST kanren-1.0.4.gh.tar.gz 51385 BLAKE2B 1a998b17757f7586d71e9576daabb06868449920746487c88b05fc7a4cc847f035bfeeac78d8addbcf8d814aeb99cd02ddc15a3a0480abddbf5709d2841001c1 SHA512 ae71b7d33eeb05e4e828b3115fb79157f5cad2166845f7887079ba0ebfe6505dcec1835a8f45d8eae9c3d4cde41804eadd0bc426f211ddba48374b0a9709d2e2 diff --git a/dev-python/minikanren/minikanren-1.0.4.ebuild b/dev-python/minikanren/minikanren-1.0.4.ebuild new file mode 100644 index 000000000000..b45c300efcd4 --- /dev/null +++ b/dev-python/minikanren/minikanren-1.0.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=kanren-${PV} +DESCRIPTION="Relational programming in Python" +HOMEPAGE=" + https://pypi.org/project/miniKanren/ + https://github.com/pythological/kanren/ +" +SRC_URI=" + https://github.com/pythological/kanren/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-python/cons-0.4.0[${PYTHON_USEDEP}] + >=dev-python/etuples-0.3.1[${PYTHON_USEDEP}] + >=dev-python/logical-unification-0.4.1[${PYTHON_USEDEP}] + dev-python/multipledispatch[${PYTHON_USEDEP}] + dev-python/toolz[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/narwhals/Manifest b/dev-python/narwhals/Manifest index 7a5eb842c7c5..e69acfc30c67 100644 --- a/dev-python/narwhals/Manifest +++ b/dev-python/narwhals/Manifest @@ -1,2 +1,2 @@ -DIST narwhals-1.42.1.tar.gz 492865 BLAKE2B ed0d0defe48bad75e711ab49914fe2802d56fc625535971bf7aeaab97612b19e79e517ae86a0211a111235653d35729a92d3d13ac0b70f24c7756944bb509104 SHA512 3c81713c78bf8e656e2dfad20433298dc96cbd7e157678c6f076653d9f35035db95506229e2d2ea9f43867a926ab5fa65f6217348049a9b5f382b9363ea647cb DIST narwhals-1.43.0.tar.gz 496455 BLAKE2B c9c22ce77f202711eebfb2628a2828bc0498bad786b7080955860b3e08f2ee344368ab13a32d0c517ce0a826e36ac2b2a2749feedc815f694f241253ea0ae80b SHA512 3a1f85261f11b37b7da16c56fa3ad0edca05ef944a832c540fee8ebc52c2f1bef90525a9bc398cde255f6b4f9f4e6ff63eee09ca9d42b82453192a845b0711c9 +DIST narwhals-1.43.1.tar.gz 496655 BLAKE2B 380ff403907fc2c1fda0fcbd0bb1ef034ae7fa866c9e187f78321ffff1bae52389088a04a6b1559113f58df2660dfcd40928509b58e312747fbd584d202340c6 SHA512 f845ba70b7f11a10dc4b4daee19ab907c9658ea2b4e2711c0cde973325d081de36e89d7d2c068706d43384769cc6063c5ca21cdf0510f8723cf1421f42e04ec2 diff --git a/dev-python/narwhals/narwhals-1.42.1.ebuild b/dev-python/narwhals/narwhals-1.43.1.ebuild index 32948bed9942..573156bed277 100644 --- a/dev-python/narwhals/narwhals-1.42.1.ebuild +++ b/dev-python/narwhals/narwhals-1.43.1.ebuild @@ -21,7 +21,7 @@ KEYWORDS="~amd64 ~arm64" BDEPEND=" test? ( dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] + >=dev-python/pandas-1.1.3[${PYTHON_USEDEP}] dev-python/pyarrow[${PYTHON_USEDEP}] dev-python/pytest-env[${PYTHON_USEDEP}] ) diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 27f4489598a0..b9e3d32c4d1e 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,2 +1,2 @@ -DIST Nuitka-2.7.7.tar.gz 3886105 BLAKE2B efd2de6ca41eb8f506d471758afc0d04d3425308268cb6e3259397d3d1950bf550d5a8aba6c113670f0569a00e862ccc81e42428052517806ee7433211deed61 SHA512 26ee32eb851334dc93177e4e758b27c7a840fd72a679cf10299b587738dd55fc05bf03a462d5dd53ba46321325c18636f0a112fb24a13960575d2632b59d1224 +DIST Nuitka-2.7.10.tar.gz 3887512 BLAKE2B 477bb856f18250ecca84c64e0c40c398bfdcd076119ff004853dd9dae8bcd9348cc71cd7eb7cb25123e05d6eaabf1f06c8b0d94f9db92437def863a88e7a4f57 SHA512 09a6c6f3c9c815529db11b23b9535871295445db77bfc5b68d687a2db3a8a1267505d297b84351b689c3e7d4d733f5458275af884a7b0a5f918bf0d0b097dd76 DIST Nuitka-2.7.9.tar.gz 3886410 BLAKE2B c61ac13adc227880a56d51278d9b72d61d5e88cb008682da7f200c74dd0fae2b57f55a65e72a3d4ccde20c4be60c94ba80ce8bb7aad989bb037165775108fc4e SHA512 74d5e446d5704c09d137aff6884f5c82de2c30606b712d34b0321263d4bb042e9711f2320cf03920850cdb0a10d163f7944057e4ae1e72a8c316cee38bb019c0 diff --git a/dev-python/nuitka/nuitka-2.7.7.ebuild b/dev-python/nuitka/nuitka-2.7.10.ebuild index c97d7f3c6ae8..c97d7f3c6ae8 100644 --- a/dev-python/nuitka/nuitka-2.7.7.ebuild +++ b/dev-python/nuitka/nuitka-2.7.10.ebuild diff --git a/dev-python/oauthlib/Manifest b/dev-python/oauthlib/Manifest index 0379290811c6..33057ba75bb3 100644 --- a/dev-python/oauthlib/Manifest +++ b/dev-python/oauthlib/Manifest @@ -1,2 +1,3 @@ DIST oauthlib-3.2.2.tar.gz 177352 BLAKE2B 98c128eb0ec2a24f45fd63826eb2253e2e90afb37c1954a9d21f0046168bfff8d52a24b230b60f4d756e4730c0cc05b3484d2cb6ac3eb2d710ee113dea6598c9 SHA512 c147b96e0ab0d1a8845f525e80831cfd04495134dd1f17fd95eac62f3a95c91e6dca9d38e34206537d77f3c12dd5b553252239318ba39546979c350e96536b8b DIST oauthlib-3.3.0.tar.gz 190292 BLAKE2B 705fcb31504c11caa97de44663599f2fa590557a2db8583eea30808d67d0a81b59d6ee910d2815b89734e5f6441b1b3e3941edf63a2537f3e829dd7ba8419fec SHA512 92620ed0101469192f9104809ece387a9185622e95ec7f5aa1eb7838f6e27502fe77d4323951aeff31f3c74366d70596727f34ded2f40af1e0e4d259baa23325 +DIST oauthlib-3.3.1.tar.gz 185918 BLAKE2B fd83cf349e0ecbb132049b6b8d2c124b2385396e5cf1c9828cb4885e53c905613fcaf397786eedfae5cc535f3faf82fe2e9c21cec82bd3afbbac2326dd186288 SHA512 f9894a2ef2413505a89a86e0f008310a9e38f4c662b1590816e051d563fd283a94dbe8e8dd61d0e9b01143801d7e747ac9a67a704a4267ba21d8c8382b1a2a41 diff --git a/dev-python/oauthlib/oauthlib-3.3.1.ebuild b/dev-python/oauthlib/oauthlib-3.3.1.ebuild new file mode 100644 index 000000000000..a2e6870aea4b --- /dev/null +++ b/dev-python/oauthlib/oauthlib-3.3.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Spec-compliant and thorough implementation of the OAuth request-signing logic" +HOMEPAGE=" + https://github.com/oauthlib/oauthlib/ + https://pypi.org/project/oauthlib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +# optional extras hard set as RDEPs. See setup.py +RDEPEND=" + >=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index 7fda282cb085..c5244f7d8346 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,4 +1,3 @@ DIST pybind11-2.13.6.gh.tar.gz 800804 BLAKE2B 1f2efa05727ebbcd8e439b83bacfebb21d26a6f8f719e0a627633abdcae59837936e37e6441196e097e0075c9f922048d4e88146bb627d97ada28c48165bddb7 SHA512 497c25b33b09a9c42f67131ab82e35d689e8ce089dd7639be997305ff9a6d502447b79c824508c455d559e61f0186335b54dd2771d903a7c1621833930622d1a -DIST pybind11-3.0.0rc1.gh.tar.gz 902027 BLAKE2B 9ddc7a5307b8e2fd53d99b8f93afd960ba73c9a04dd1b89f4b53b4e80f4bede74a823643c6e40d43741321b5b73752738782c1f601158cb77a4d6f58485cb002 SHA512 e05369a1082e3980055970d8fa9dddb54f2d1d75ef1e9968f62a02d9d00b9d22109359f97fd8cc0a2a8881c8126f5820c08cd41dd29c998a1c60c6a69c9a3983 -DIST pybind11-3.0.0rc2.gh.tar.gz 904127 BLAKE2B 7d64cece4672c0c46d5a9114e06f4d877382e501cc3a926f7ed9aa2909bbb49ba8a2e7a6516ffde7f483aa6c0dbd43c4114e9fb4c05bf361fc87e65bd7bd9788 SHA512 ed36f00bbcdf4f52962eb2a52eb6ba1a7be7e9a3c81556676e8b8d52ce2a79c8e59c5e21da6acc149ba5a5d0e7ed60dbb2e80647d4228f46993c4c20ac3eae31 DIST pybind11-3.0.0rc3.gh.tar.gz 910739 BLAKE2B f82d93b400e39818cba2e293be055fc5f322103f5142f1e60fffb66431149e8d064d956386fa4f255981d17c291ac33649009d41a48b8b81a3bce42c069c5e86 SHA512 fa04c5f63ff42b89ad5d13368f2b9680d6601b79d1365b3c52b721be6949537f1217453dec0b99e7e9f9f2673af305d547f050fff9365840fad5cd3813b21c48 +DIST pybind11-3.0.0rc4.gh.tar.gz 915129 BLAKE2B e43d76fc29aca61055f0d2cd14bbaa0c327c2b6b7467d76d13028b50bbcd4d6dd2362212134d057830c69daa00bbc0d6dab1dff80f05fa6549d0f8d3f2147153 SHA512 9e0dd52009e470bc41b98300f24f56e017a810b94faf8e0c7edf2c1c73a53f9ab3ce05265ec910f1c4ed02c40597dd763701192de0d0fce406030dabbe1f327e diff --git a/dev-python/pybind11/pybind11-3.0.0_rc2.ebuild b/dev-python/pybind11/pybind11-3.0.0_rc2.ebuild deleted file mode 100644 index 6ab744eced63..000000000000 --- a/dev-python/pybind11/pybind11-3.0.0_rc2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=scikit-build-core -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit cmake distutils-r1 - -MY_P=${P/_} -DESCRIPTION="AST-based Python refactoring library" -HOMEPAGE=" - https://pybind11.readthedocs.io/en/stable/ - https://github.com/pybind/pybind11/ - https://pypi.org/project/pybind11/ -" -SRC_URI=" - https://github.com/pybind/pybind11/archive/v${PV/_}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" - -RDEPEND=" - dev-cpp/eigen:3 -" -BDEPEND=" - test? ( - <dev-cpp/catch-3:0 - >=dev-cpp/catch-2.13.9:0 - dev-libs/boost - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/tomlkit[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - cmake_src_prepare - distutils-r1_src_prepare - - # https://github.com/scikit-build/scikit-build-core/issues/912 - sed -i -e '/scikit-build-core/s:0\.11\.2:0.8:' pyproject.toml || die -} - -python_configure() { - DISTUTILS_ARGS=( - # disable forced lto - -DHAS_FLTO=OFF - # https://github.com/pybind/pybind11/issues/5087 - -DPYBIND11_FINDPYTHON=OFF - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=OFF - ) - - local mycmakeargs=( - "${DISTUTILS_ARGS[@]}" - -DPYBIND11_TEST=$(usex test) - ) - cmake_src_configure -} - -python_compile() { - distutils-r1_python_compile - # Compilation only does anything for tests - use test && cmake_src_compile -} - -python_test() { - cmake_build cpptest test_cmake_build - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - cd "${BUILD_DIR}/tests" || die - epytest -p rerunfailures --reruns=5 "${S}/tests" -} - -python_install() { - distutils-r1_python_install - cmake_src_install -} diff --git a/dev-python/pybind11/pybind11-3.0.0_rc1.ebuild b/dev-python/pybind11/pybind11-3.0.0_rc4.ebuild index 6ab744eced63..6ab744eced63 100644 --- a/dev-python/pybind11/pybind11-3.0.0_rc1.ebuild +++ b/dev-python/pybind11/pybind11-3.0.0_rc4.ebuild diff --git a/dev-python/pysnmp/Manifest b/dev-python/pysnmp/Manifest index 8ff20f523bb8..18ce73823ccd 100644 --- a/dev-python/pysnmp/Manifest +++ b/dev-python/pysnmp/Manifest @@ -1 +1,2 @@ DIST pysnmp-7.1.20.gh.tar.gz 498284 BLAKE2B 1f4a5129792375b0e8fcae7c7b2cc3b00fd0fc0d3b8ff4fb1ea62274e5a35835f07213477cb2248a18c2ac9b215826e84e555ea4602ad58753ba6f56eb232322 SHA512 41024f45f559cf001958f53cb00b1acaf14aba9caaf21cfbab7a3232e349b8c59a2fc4c686fe1429db71fed1dead19f3aaeb6d6550d370f669b910cdfeabd388 +DIST pysnmp-7.1.21.gh.tar.gz 471713 BLAKE2B 11223cc35043aee87b527438152f17af7920c8ac8364bcaa4bb97ae2f53f6e0f93861ce2f5fa0cbe84eb4661b63871304e22320d4327aed89869a25a3c4b1458 SHA512 65e609690d08b2db8ab497fa4a974e4bc90630891ff80b28351e74d17f1da654a0aa309226658731ad315cce192c6e9e36d9bcbbf87270c9c48dc187df36b03a diff --git a/dev-python/pysnmp/pysnmp-7.1.21.ebuild b/dev-python/pysnmp/pysnmp-7.1.21.ebuild new file mode 100644 index 000000000000..820e64f2c336 --- /dev/null +++ b/dev-python/pysnmp/pysnmp-7.1.21.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python SNMP library" +HOMEPAGE=" + https://pypi.org/project/pysnmp/ + https://github.com/lextudio/pysnmp/ +" +SRC_URI=" + https://github.com/lextudio/pysnmp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86" +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/cryptography-43.0.1[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pysmi-1.5.7[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO +# distutils_enable_sphinx docs/source dev-python/furo dev-python/sphinx-copybutton dev-python/sphinx-sitemap + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/smi/manager/test_mib-tree-inspection.py::test_getNodeName_by_symbol_description_with_module_name_2 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + mibdump CISCO-ENHANCED-IPSEC-FLOW-MIB.py || die + mibdump LEXTUDIO-TEST-MIB || die + mibdump NET-SNMP-EXAMPLES-MIB || die + mibdump IF-MIB || die + epytest -p asyncio +} diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index e7edb6b4a7c9..308cf3b51457 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -1,4 +1,6 @@ DIST qiskit-2.0.2-crates.tar.xz 14987108 BLAKE2B 987eddead98df577acaef512e911f608962553a172029c262cf3a20bfc148a4b6caa3a8f8869a15a59c818214bbf41f827a28651de71aa9fb47a631a686c497c SHA512 06c8effaae0dfbfc5a1b856a3db7a15f5e59f40c6a9862326f6f89607688bd070ca7bdf6b87ee6445e44e3a5af8745429c3495061c88b0d37cc421c14e03047c DIST qiskit-2.0.2.gh.tar.gz 7920194 BLAKE2B 21f3df0864cf0b14cd3949dad1e3cbc5c856d3eae8235441feb8ace57e0f1e690ba4649ab24343b6c149848c7c0701f0adb8a7a6f7993b1e3137cf0ed6653bf1 SHA512 090eff5c1d6f1de42d204986107afe1db92f15788a468d1376619369ecea6e26523a417ef0e8a8d62ccfe8431eb890f63dd6eba64ed2889e87f60b49afc253da +DIST qiskit-2.1.0-crates.tar.xz 15412164 BLAKE2B 24a65f0ec256c2f848102c039106ef0fecb33be0fb00494f0ca707285e224ade0efd1a4a6a557dc5dd7d2224924e2b94a4a4585d8a9030a310f0f1a999ac0713 SHA512 779aca54c2da20f2558f5fab2de0ee22c861f2edd88dea17e79d1f7f796eda9612bcf45a08a0647032049e67e9c467236b493cb02efcf199e2951109c316e53a +DIST qiskit-2.1.0.gh.tar.gz 7093669 BLAKE2B 9168e31826e1fa83a4424eadbdd6af5e87c88f1828d0a4a70db00fc00e94056233c530b384ce4d17947feb4610aa238518f6f05393b5d644fb038d9cccf0827d SHA512 18bf63c6ac381f1fd110cf08de0b0b7a4ea14c15c86835d6bd006d7e831d5623aec2b0cf17f4f3ac5aeb18e60d33ef245e8dd6aff4c219d3bd5033043e8900e0 DIST qiskit-2.1.0rc1-crates.tar.xz 15412164 BLAKE2B 24a65f0ec256c2f848102c039106ef0fecb33be0fb00494f0ca707285e224ade0efd1a4a6a557dc5dd7d2224924e2b94a4a4585d8a9030a310f0f1a999ac0713 SHA512 779aca54c2da20f2558f5fab2de0ee22c861f2edd88dea17e79d1f7f796eda9612bcf45a08a0647032049e67e9c467236b493cb02efcf199e2951109c316e53a DIST qiskit-2.1.0rc1.gh.tar.gz 7089079 BLAKE2B 578e1162b4100b53a17f58781664066435d8ece9b8acd5fde9e0b959f0e1afd8a19fe1442d41bff78445d046850b80623ab8732b7f8754c102e3564b33090833 SHA512 2ddcb782665c1dcdad2b8422907547dd0bb017386bbff442b7f9805439244145e6a9a6809cb3117d3eb065d0da550919b6e31f1037447e34106e9cb947f90817 diff --git a/dev-python/qiskit/qiskit-2.1.0.ebuild b/dev-python/qiskit/qiskit-2.1.0.ebuild new file mode 100644 index 000000000000..54aa4662e260 --- /dev/null +++ b/dev-python/qiskit/qiskit-2.1.0.ebuild @@ -0,0 +1,111 @@ +# Copyright 2022-2025 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_{9,10,11,12,13} ) + +CRATES=" +" + +inherit cargo distutils-r1 + +MY_P=${P/_} +DESCRIPTION="An open-source SDK for working with quantum computers" +HOMEPAGE=" + https://github.com/Qiskit/qiskit/ + https://pypi.org/project/qiskit/ +" +SRC_URI=" + https://github.com/Qiskit/qiskit/archive/${PV/_}.tar.gz + -> ${MY_P}.gh.tar.gz + ${CARGO_CRATE_URIS} + https://github.com/gentoo-crate-dist/qiskit/releases/download/${PV/_}/${MY_P}-crates.tar.xz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 MIT MPL-2.0 + Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+visualization" + +RDEPEND=" + >=dev-python/dill-0.3[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17[${PYTHON_USEDEP}] + >=dev-python/python-constraint-1.4[${PYTHON_USEDEP}] + >=dev-python/rustworkx-0.15.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.5[${PYTHON_USEDEP}] + >=dev-python/stevedore-3.0.0[${PYTHON_USEDEP}] + visualization? ( + >=dev-python/matplotlib-3.3[${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/symengine-0.14[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${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/qiskit-aer-0.14[${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 +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' test/utils/base.py || die +} + +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 + # tiny image differences, sigh + test/python/visualization/test_gate_map.py::TestGateMap::test_plot_error_map_over_100_qubit + # TODO: failures from dill + test/python/circuit/test_parameters.py::TestParameters::test_transpiling_multiple_parameterized_circuits + test/python/compiler/test_transpiler.py::TestTranspile::test_delay_converts_expr_to_dt + test/python/compiler/test_transpiler.py::TestTranspile::test_transpile_two + test/python/transpiler/test_naming_transpiled_circuits.py::TestNamingTranspiledCircuits::test_multiple_circuits_name_list + ) + + local EPYTEST_IGNORE=( + # Breaks xdist + test/python/qasm2/test_parse_errors.py + test/python/transpiler/test_preset_passmanagers.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. + epytest test/python +} |
