diff options
Diffstat (limited to 'dev-python')
40 files changed, 861 insertions, 129 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 38bc6e3ca0a8..6941414a0076 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,3 +1,4 @@ DIST boto3-1.36.26.gh.tar.gz 903988 BLAKE2B f9bb945e9132a7af7bd92ff48e5a99cc89488283c30e2d7d0cbb22d9002bd41c5d5f8a449494d2aa4758648aca3c2e88dad8bebda640af4bba7df64e72ffd2bc SHA512 77a545fd94ed50114db72d7b763e232356e78cda7a2780c12c26b602ed85101218339adf6247ba45e3a8b16c33fb11f5fb34572a37dfeac43dd9322823372cc1 +DIST boto3-1.37.10.gh.tar.gz 912397 BLAKE2B fbd9fa118a936901c9cef6739bd114d69464d7f7d8211a42370ed7235637bd09c966c12a36c4faee2d4c3b8b58a179f6b20ee88723a881de8e03daed687ca76e SHA512 1788b0e75b93e6a8c56e8f63cdcb39b5075d2746fcebc04f1842915d849b7976cb1ad537f913ee78405982d2527b49dd17a1781f51a75d9c731ba78d249e1eb6 DIST boto3-1.37.4.gh.tar.gz 908620 BLAKE2B ed63365ccd6da9b97715e4110be2b562285a123139a90ddb10c1411d5bd5ba0de9c110177a31f03ecb7e257fd79a0de89a8be97493a83f3207050676f7022e04 SHA512 dbf40cb809ee1d3ef352b97f62c111d113293211226a63298979d8ea14833c83ac2e321714dac349bfe095f75120c2752d08a01c19e51d9b0fc947e27a910005 DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798 SHA512 12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe diff --git a/dev-python/boto3/boto3-1.37.10.ebuild b/dev-python/boto3/boto3-1.37.10.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.37.10.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_{9,10,11,12,13} ) + +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.11.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 1b2cec9acb96..2c810151f879 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,3 +1,4 @@ DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0a9a1aec001bd579293bfbbba5d756503371a137399d679926d5894f8f4e0fe498a37570dc4c19af99dfa67b4e3d374c3c SHA512 2f2d960a6519efae499acdb704d66a1f329927b30a53900ed035909847ca9a6c1a3b57291e0a0aa153b4bc49a959935b1840ad0d81244f8c2577fd4ba910fcf6 +DIST botocore-1.37.10.gh.tar.gz 14351248 BLAKE2B eccd8c6e7b994dcfee49ea322bfee7503e5fb89eded7dc78757a1d2e6627afdf7ac3c73e16d9ef6f9e3ccfe2f9a4f8f917eab80ff6d010fb6db277bac6b4dc99 SHA512 7c3fa7f4f13fd6c7e04b42d0dcf7232a5f73255dead103713cf8b5883b5827f7881eeaa3260156971d0a1120bbb1352fd83d33ab8349a1b45646cf265e116e76 DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6 DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d SHA512 e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9 diff --git a/dev-python/botocore/botocore-1.37.10.ebuild b/dev-python/botocore/botocore-1.37.10.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.37.10.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_{9,10,11,12,13} ) + +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/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 375493d32d28..8a4d3b6a23de 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -3,3 +3,4 @@ DIST cfn_lint-1.25.1.tar.gz 2837233 BLAKE2B 0779afe85f8cc1190f24fb9531c576b61a29 DIST cfn_lint-1.26.1.tar.gz 2943127 BLAKE2B ca87cf05d0b5ed3774c6c216f856c057bc04b9353f41feb4b1090c7d809685dc65057dab9b1b121fda78488c55bc8da2b3303a25a5047340843723a2e5d3849a SHA512 a8c14275188d64e7ff53d5dd798805a69cf3fc4b13ca9cce19775cd4033b0a0a5815efb9f6900ed8d4116c8877ce62117738098d500373ae6ba3984fe4170ff1 DIST cfn_lint-1.27.0.tar.gz 3023073 BLAKE2B 5540d44e40810b17ff6cbf699f14f0a80b70376e8ddf2b66e2623a6a29dbbbd76ef55645fb03f167639119ff6fd0584128b808bce210e9b06f9b7cf8e33b6f15 SHA512 be1b4ec9848d927d478130df3cfd1853be694e65999050d524eab90e08cff25f6751c3b83ecdb4e1da5c4ab69d96c57694d857ce39ece0b6b60c628776a7cc6b DIST cfn_lint-1.28.0.tar.gz 3162534 BLAKE2B 120831c39c09419744c048d8c5d4ba8978ae50fe873841e3ab4bea82a83965bd5d7b9c2ccf1895e7fc981d4acc982827cd4a8af352ccdc6ecdab8dbf62396783 SHA512 69325f028beb6ddb05db144f2409575bdf4cc17efe9ee5c4a221aa82e09cafd6e97521398fbd52e5b797e67aedc3581d6455523490e23cd88d01e7af62436dd7 +DIST cfn_lint-1.29.1.tar.gz 2829516 BLAKE2B a624ed18ffe214dafccf807cd71de3ca5285224d090ba1becbca76e541261061843153142487f48000530b8ab5818b434f8ffb8e131d8ad8d345d3590e5f9767 SHA512 bbf4cac928bd419b75b93e9d049d14bc36dd46a599fd497296aa47c8818462b74897716009689b7512454172257499142b18dc4af65e9f0bf011a2af45116ade diff --git a/dev-python/cfn-lint/cfn-lint-1.29.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.29.1.ebuild new file mode 100644 index 000000000000..3ae37d5581a5 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.29.1.ebuild @@ -0,0 +1,70 @@ +# 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="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.94.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin the deps + sed -e 's:~=[0-9.]*::' -i pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index 0bb30d78e9c4..c18c84ef8018 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -13,3 +13,4 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 +DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/dev-python/clang/clang-21.0.0_pre20250311.ebuild b/dev-python/clang/clang-21.0.0_pre20250311.ebuild new file mode 100644 index 000000000000..a99c5601e047 --- /dev/null +++ b/dev-python/clang/clang-21.0.0_pre20250311.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/cli-helpers/Manifest b/dev-python/cli-helpers/Manifest index 0a477f86c822..6d78eaf4d50a 100644 --- a/dev-python/cli-helpers/Manifest +++ b/dev-python/cli-helpers/Manifest @@ -1 +1,2 @@ DIST cli_helpers-2.3.1.gh.tar.gz 34372 BLAKE2B 00cafd4d704e2aa8ac68d372505adffd0d6b42b03dcc320c858e2085eb32a11112e0819cbabc4eddd1e8e9f11cb101bb8fc9b87f49c3b7fec289acfca792bb22 SHA512 ea2449f7d8b87da62a6a2bc8a10eb726a927b0cf62431016125aa30a6f7bcbee3b396364a78f749cb22c86427ca8fc7e46aaac19ea0f93ef6dee661653c2f5c0 +DIST cli_helpers-2.4.0.gh.tar.gz 35309 BLAKE2B 44c668a66bec3ef0520695ecc54e9115c21bf0675d80e4c67001060fcb5cb1c12aa7bb63229d3bd922728e6b0b20923a00e0e3b7f259eef13d4e9b853b953dd0 SHA512 33d2d706634bcb0143af0fbc2df1baae58004c7544793367cfc8d80ca15b0ac709730ec4b5dfb6a7cdb199323cb153c69988b4127d8bf218040e7be1a9408737 diff --git a/dev-python/cli-helpers/cli-helpers-2.4.0.ebuild b/dev-python/cli-helpers/cli-helpers-2.4.0.ebuild new file mode 100644 index 000000000000..71e342a3a742 --- /dev/null +++ b/dev-python/cli-helpers/cli-helpers-2.4.0.ebuild @@ -0,0 +1,35 @@ +# 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 + +MY_P=cli_helpers-${PV} +DESCRIPTION="Python helpers for common CLI tasks" +HOMEPAGE=" + https://cli-helpers.rtfd.io/ + https://github.com/dbcli/cli_helpers/ + https://pypi.org/project/cli-helpers/ +" +SRC_URI=" + https://github.com/dbcli/cli_helpers/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}] + >=dev-python/pygments-2.4.0[${PYTHON_USEDEP}] + >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/cssselect/Manifest b/dev-python/cssselect/Manifest index 3a13b93e06e5..c4e544fe0475 100644 --- a/dev-python/cssselect/Manifest +++ b/dev-python/cssselect/Manifest @@ -1 +1,2 @@ DIST cssselect-1.2.0.gh.tar.gz 40878 BLAKE2B 951b33ee65d73ba14594f8475c764ae132a44ed7a6bb6effbcf445aa956e5390595b1f1139747331bfdd42d56ecb6d4aba3c88ceb2a103c456423543c41af95e SHA512 439f83e37c381f962abcfca0b83050372cbad44179e876591d8504abc2da1d4fe80891c8c8e1763341cf152525259565dc5e80038fa7c14e8c69f22a11f83d94 +DIST cssselect-1.3.0.gh.tar.gz 41742 BLAKE2B 3d50083ed44f8e09f17af884fd469af6a803afe397fbbbfc4df8f3ce47b006eda9c138e18f605bbc0f000b97d1518ac9212d42984dd0f7c7762771242982afb5 SHA512 d2711a1ed5e1fb21bd6f7422ab36c1d06b7b46b6cbdb3480182b72f4a877dd06c8b47a1b41b0a30adbd9fbd551d34b479e020d72cb1d46c3f483273e86e61ce9 diff --git a/dev-python/cssselect/cssselect-1.3.0.ebuild b/dev-python/cssselect/cssselect-1.3.0.ebuild new file mode 100644 index 000000000000..55c13ceb70f3 --- /dev/null +++ b/dev-python/cssselect/cssselect-1.3.0.ebuild @@ -0,0 +1,33 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Parse CSS3 Selectors and translate them to XPath 1.0" +HOMEPAGE=" + https://cssselect.readthedocs.io/en/latest/ + https://github.com/scrapy/cssselect/ + https://pypi.org/project/cssselect/ +" +SRC_URI=" + https://github.com/scrapy/cssselect/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests unittest diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index c51fb6f3f2d5..8cfc38273a13 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST python-api-core-2.24.1.gh.tar.gz 220170 BLAKE2B bbf8f78371d283af52fdfdc8f3581d77cc214371bdc396d6c908990d2d1a3ae487db6df743dff16980d7a569e8d8d7674b4540afb15ca1f9446e1a2bb8624407 SHA512 00a0009c558a32a1fdf458d9c9800f441ac8eb857ed11c108fe6b79bc729b0594c090b21e753ee535173bee08ed8f5455b38320bd989b2ab7fd00fc05d13705a +DIST python-api-core-2.24.2.gh.tar.gz 208617 BLAKE2B 39275929259dc5f75c895107f03355944870d644813202184b9a5aa7b75dcf2f8797ca6071f63951c4da0f33f61d41526694a4891d9d15e51d358a4d9ad252f0 SHA512 72ad7c49fb9ca5dfcc19abccf6b278c476ab2d48a27696783155ef5c62ad0c246041c8ce21275a5178a183f849d9ab66ede12bbc4e22af7389b8021500586991 diff --git a/dev-python/google-api-core/google-api-core-2.24.2.ebuild b/dev-python/google-api-core/google-api-core-2.24.2.ebuild new file mode 100644 index 000000000000..f5125ef9728c --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.24.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020-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=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/grpcio-status/Manifest b/dev-python/grpcio-status/Manifest index bd6eb7421b48..8f1f87ccd5db 100644 --- a/dev-python/grpcio-status/Manifest +++ b/dev-python/grpcio-status/Manifest @@ -1,3 +1,4 @@ DIST grpc-1.67.0.gh.tar.gz 17317493 BLAKE2B 81aaf9a4d293dd41d9d068e81eb8a9898b610498722dd6f9c5ff88118fc5a31a936ac83c7cdb4f56c288d131c7721beed8e307dd91bf3de5cc25951cdb06de5a SHA512 5e76a3147ca051e5304d5d64eefe124cd446dd5d7bd9a65667bae5474b59f70b32368d225e8345c9414bddb968c1390b8bcd08ed97abb62b543528289b29ec35 DIST grpc-1.68.1.gh.tar.gz 17320674 BLAKE2B 46f4ae35c6a3a6ddfd47918a68a42d10e115ef81052715e8d8a73abf973063c730ddda06373278f3a4a6280dd4938e530a5e7377ab76aa653bb208583deab7f3 SHA512 cfb88a1290e2ee46fbd5f2b50b9c066ac174b1077170088c3b1a30bd37e66c6ca5254d2b951329a3991ac2b4320d12a50b1464babffbfc3bcf4eab670a449fd1 DIST grpc-1.70.0.gh.tar.gz 17507321 BLAKE2B 0b158f42a18243bd85817da5fe2b0f3171a0576bfdefd7154806bec569a1c148d4af6428070d4ac51da0d4d2b5d74b8b4fb8ffb43966d05a79fd85865bc2802b SHA512 076610c92fc05bbf716d2ba2d031f478ea533c40342d20eda16c174a91441ca1a221c1b9d1f795cf7d3484f16de5f8339479b3a75d7a2fd72abe6f79297628ea +DIST grpc-1.71.0.gh.tar.gz 14659092 BLAKE2B 8c08020eca27c97d5a47e61a758e482662425c8afe6feef8f3ba9cd0fe2d2c100c9087b16fbf3f2ba3d447aee5d7da3267db7c6e642e2a94f554640364135990 SHA512 25783f75295919d0a077e3d0ff70ea2e651eaf107da2ebe8af40a584540f2f56aae0e04c7b809f3b1eb7d5adc3892f84464662d80b1234a111836f454ba84a18 diff --git a/dev-python/grpcio-status/grpcio-status-1.71.0.ebuild b/dev-python/grpcio-status/grpcio-status-1.71.0.ebuild new file mode 100644 index 000000000000..5ddcca511486 --- /dev/null +++ b/dev-python/grpcio-status/grpcio-status-1.71.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024-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=grpc-${PV} +DESCRIPTION="Reference package for GRPC Python status proto mapping" +HOMEPAGE=" + https://grpc.io/ + https://github.com/grpc/grpc/ + https://pypi.org/project/grpcio-status/ +" +SRC_URI=" + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/src/python/grpcio_status + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + >=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}] + <dev-python/protobuf-6[${PYTHON_USEDEP}] + >=dev-python/protobuf-5.29.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die + epytest tests{,_aio}/status +} diff --git a/dev-python/ioctl-opt/Manifest b/dev-python/ioctl-opt/Manifest index 854366a4c590..d6ff9dda6f39 100644 --- a/dev-python/ioctl-opt/Manifest +++ b/dev-python/ioctl-opt/Manifest @@ -1 +1 @@ -DIST ioctl-opt-1.3.gh.tar.gz 9871 BLAKE2B 8db372a27ee8bd0c97a9af2844a11a54d322ed71670962c322de998ef4deae9c7091bd1e3bb728252ff8790c938eef364698f8d4b2bf376d70b36435124ea453 SHA512 db0ea9c94449f8c3ba3233dbb9aef7c6aba71b07a03870586d31a8a19d739dfa4f26754314f2fd7d9ddf84e644057b0b14f7e4b9571138a11ee9abda391bf513 +DIST python-ioctl-opt-1.3.gh.tar.gz 9871 BLAKE2B 8db372a27ee8bd0c97a9af2844a11a54d322ed71670962c322de998ef4deae9c7091bd1e3bb728252ff8790c938eef364698f8d4b2bf376d70b36435124ea453 SHA512 db0ea9c94449f8c3ba3233dbb9aef7c6aba71b07a03870586d31a8a19d739dfa4f26754314f2fd7d9ddf84e644057b0b14f7e4b9571138a11ee9abda391bf513 diff --git a/dev-python/ioctl-opt/ioctl-opt-1.3.ebuild b/dev-python/ioctl-opt/ioctl-opt-1.3.ebuild index 670288c4324a..70d545e6b003 100644 --- a/dev-python/ioctl-opt/ioctl-opt-1.3.ebuild +++ b/dev-python/ioctl-opt/ioctl-opt-1.3.ebuild @@ -11,7 +11,7 @@ inherit distutils-r1 MY_PN="python-${PN}" DESCRIPTION="Linux's ioctl.h for Python" HOMEPAGE="https://github.com/vpelletier/python-ioctl-opt" -SRC_URI="https://github.com/vpelletier/${MY_PN}-opt/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI="https://github.com/vpelletier/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${MY_PN}-${PV}.gh.tar.gz" S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="GPL-2+" diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index 0bb30d78e9c4..c18c84ef8018 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -13,3 +13,4 @@ DIST llvm-project-19.1.7.src.tar.xz.sig 438 BLAKE2B 4015140f4ba77de45039bdbdfbaf DIST llvm-project-20.1.0.src.tar.xz 147206476 BLAKE2B 8e8bd8aa995a84d17ac7d634098a6b72a47c30f1752029b620f4541a2de4039edf09117286094ae7bc59c4e84374dcffb8e5ee6ef5feaf4ea7ddb58dd04ea803 SHA512 c90fbc43c40e148357912adc40d799a79cce3d3a929136c137421f6342ed7338659e651f1dedfa8e10b94b9f2897e25b2962e17709add02857f89f10615a2397 DIST llvm-project-20.1.0.src.tar.xz.sig 566 BLAKE2B 98979ce89f3fe6e95eef6096066cf855245a585608e7d1fddb5bbb2c73077f3ee28204260e18d7e45e3051daae3639520c39bc3d0dc51524873ac213e2511456 SHA512 68da1c2a13aaa48a67bbb9e716f9f030cf372edc651bca2861453378a6a9172a207ff59e29b175001f042888bf1f9c118fbf938f757e1f4c966943baa7e2696a DIST llvm-project-7e8a06cfa4a2951b8ee77e19e34926e6e535b4d1.tar.gz 228792296 BLAKE2B cd9357bdca9342770820f9fadfbd0b129a83324847f18e2ebac1fed8df4afb101aba2dc19d90264ae1e2d5692e34149ca24ef82a4973e7aeddb157268bb411b6 SHA512 9821a34a559e1db596940d76ce9388360baea43c1a9de814f567bfcf1428a0c6e3ced61b1e07537058454785d9c3aa3f443cbcf742a01fb40dd20b476a906442 +DIST llvm-project-cb7298f66d62a3548fcf3bd230304067ecf30d17.tar.gz 229200711 BLAKE2B 1910569812e7423cf566b0dec67269404ba8db8232ab293bc603a88914f2b756e3088bf2133c0fca612cc58d39691c7b813b3c5839a7ac9a3d177fe6bde766c6 SHA512 07c3f6ce34e7d32c5ebce1d2efb77e6a1dde49f9eedf7191733a20bdcb6ffd0c03f8fc8de85fd00bd9465b209f140639a68a367d2218c028bfa6e06067cc3e14 diff --git a/dev-python/lit/lit-21.0.0_pre20250311.ebuild b/dev-python/lit/lit-21.0.0_pre20250311.ebuild new file mode 100644 index 000000000000..4230fa63b2a4 --- /dev/null +++ b/dev-python/lit/lit-21.0.0_pre20250311.ebuild @@ -0,0 +1,45 @@ +# 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 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/magic-wormhole/Manifest b/dev-python/magic-wormhole/Manifest index cbd20789ee22..5e85d3765427 100644 --- a/dev-python/magic-wormhole/Manifest +++ b/dev-python/magic-wormhole/Manifest @@ -1 +1,2 @@ +DIST magic-wormhole-0.18.0.tar.gz 289799 BLAKE2B ff786e3247dcc382fa35175d6439c6273b420968100cc6e54a06e365b8d6db5a9a5145878d4025f51fe59cf75e18507d5114d04a13123ef62b255a61b3c55698 SHA512 095be448fb654a32ea45808f03b1a0bffd74ee683448085f1e6f14f054c0d2f19f9048270be4ec7b6a0b46872d20613a36e984a0a137bd68ba3d0a237a83d1b2 DIST magic_wormhole-0.17.0.tar.gz 284056 BLAKE2B f8bd45be5fca5015c7c0b601512ba823025d164172368f60309b74d078dead0f0b7a67bd548974811279728210bee542de1bbd6d7e8e3b568115e8b1d72795ac SHA512 12866b544b375b29cf2f58c59aa0e65000cfae0025b5e7a773b1f57a35c98b38629aaec9cc30cf4232f745b76db642e8bd15c41e8d8ba1a8e112c50b33293eff diff --git a/dev-python/magic-wormhole/magic-wormhole-0.18.0.ebuild b/dev-python/magic-wormhole/magic-wormhole-0.18.0.ebuild new file mode 100644 index 000000000000..743ec30161c2 --- /dev/null +++ b/dev-python/magic-wormhole/magic-wormhole-0.18.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi shell-completion + +DESCRIPTION="Get Things From One Computer To Another, Safely" +HOMEPAGE=" + https://magic-wormhole.readthedocs.io/en/latest/ + https://github.com/magic-wormhole/magic-wormhole/ + https://pypi.org/project/magic-wormhole/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/autobahn-0.14.1[${PYTHON_USEDEP}] + dev-python/automat[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + >=dev-python/iterable-io-1.0.0[${PYTHON_USEDEP}] + dev-python/noiseprotocol[${PYTHON_USEDEP}] + dev-python/pynacl[${PYTHON_USEDEP}] + >=dev-python/qrcode-8.0[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ~dev-python/spake2-0.9[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.13.0[${PYTHON_USEDEP}] + dev-python/twisted[ssl,${PYTHON_USEDEP}] + >=dev-python/txtorcon-18.0.2[${PYTHON_USEDEP}] + >=dev-python/zipstream-ng-1.7.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-python/magic-wormhole-mailbox-server[${PYTHON_USEDEP}] + ~dev-python/magic-wormhole-transit-relay-0.3.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm versioneer.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + src/wormhole/test/test_transit.py::InboundConnectionFactory::test_log_other_errors + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +src_install() { + distutils-r1_src_install + + newbashcomp "${ED}/usr/wormhole_complete.bash" wormhole + newfishcomp "${ED}/usr/wormhole_complete.fish" wormhole.fish + newzshcomp "${ED}/usr/wormhole_complete.zsh" _wormhole + rm "${ED}/usr"/wormhole_complete* || die +} diff --git a/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild b/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild index 6c3747a1d4ac..4f3e9ad16383 100644 --- a/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild +++ b/dev-python/mkdocs-gen-files/mkdocs-gen-files-0.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/mkdocs-1.0.3[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index d68f26f9055b..d4c7bcfa8633 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,4 +1,3 @@ DIST mkdocs-git-revision-date-localized-plugin-1.3.0.gh.tar.gz 378511 BLAKE2B e922d0ce5dd37f92c11a37d7c02a59fc776a1a4245823a2275c600c6348cc7f97a2a8b43919a5cdbe03e8b23623f0c7d22cf92eb728d6f11d7472db5b78e98a1 SHA512 6e6c085ae861382a932817264c00de55f94b8b09349c18206c1644487a7476d4494f0b451b31510de4ba3a5d4934514923521c8c4c5aca84a8183f5cd574177d -DIST mkdocs-git-revision-date-localized-plugin-1.4.0.gh.tar.gz 383048 BLAKE2B 7e7b2fadb1b03409ad81c8a4d70e3a84e41a0b616f10d9ccb0eeed43e31e762478de5a598e5b1afa3466659fe60e9687b9fd2c5ad4ebd2ff3dc42e8d7005a66f SHA512 18d9e59d38cb54ea1aa8fef53d5dcf6cf680d209ad45fa66b0355a5691cf93a63affdccc9a4a5f07223e7d7bde1ed751e985a42f628acdf6d6a4cd8c0947a1a9 -DIST mkdocs-git-revision-date-localized-plugin-1.4.1.gh.tar.gz 442856 BLAKE2B deb35deb9c9214a56e7f32b085908c9fcad1d77faaec79cdd674796fbf079161d63b5648efbd1914a0c34b1fee000bf29585cf66ec99c37e67a01281b0c3a8fa SHA512 1cf4237d2be3e1020d2771280738536b33c54da4557bf5e14fe84d545058673e5d3deefaa929efd62390d76f3bd86f29b00eeefbb720cdebcec9208b48c590f6 DIST mkdocs-git-revision-date-localized-plugin-1.4.2.gh.tar.gz 443259 BLAKE2B d174c9e7ca7edd9b8e7da798da910d4733f4c917a932f7c5040794f073ddd0c1f315f8bf5d5a6f00764c75e614c113ab047b4f01affe59068e313cc1a47449c1 SHA512 39c54938e4b3ffefa1ee302be0e9461e84b798841a4cfa5f054ec20021f9a87b47b909dab6ea5abf98c028693805057df5883bbc7aee3eef5275538b0ddd009b +DIST mkdocs-git-revision-date-localized-plugin-1.4.4.gh.tar.gz 443468 BLAKE2B 5d7c8d2b5182fd9a3cf9bd01f23d9da99e1e4c9acfaf149828562d36d90188dcb25000ce8db65caa2b2177d05e46f5d108d8cbbdeeadeca667f61ed2544da22d SHA512 915ef91fb5a72b27e721c28e6e171ead9b6a4b201f4aeea3175519ca329bc2bd11fabf93bc3811336f57bd417fe9bcfc840e9d43b8abd2546316d9033122db8f diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.0.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.0.ebuild deleted file mode 100644 index 2a1bd10f54a4..000000000000 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/regex - dev-python/mkdocs-static-i18n - dev-python/mkdocs-material - dev-python/mkdocs-git-authors-plugin - dev-python/mkdocs-git-revision-date-localized-plugin -" - -inherit distutils-r1 docs - -DESCRIPTION="Display the localized date of the last git modification of a markdown file" -HOMEPAGE=" - https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ - https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ -" -SRC_URI=" - https://github.com/timvink/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/babel-2.7.0[${PYTHON_USEDEP}] - dev-python/gitpython[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/click[${PYTHON_USEDEP}] - dev-python/mkdocs-material[${PYTHON_USEDEP}] - dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] - dev-vcs/git - ) - doc? ( dev-vcs/git ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # mkdocs-git-revision-date-localized-plugin's tests need git repo - if use test || use doc; then - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm 'init' || die - fi - - distutils-r1_python_prepare_all -} diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.1.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.4.ebuild index 587e72542cc3..2de8ebecd3ca 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.1.ebuild +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.4.ebuild @@ -41,6 +41,7 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( dev-python/click[${PYTHON_USEDEP}] + dev-python/mkdocs-gen-files[${PYTHON_USEDEP}] dev-python/mkdocs-material[${PYTHON_USEDEP}] dev-python/mkdocs-monorepo-plugin[${PYTHON_USEDEP}] dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest index 38d404d61b4b..05ac7877299b 100644 --- a/dev-python/mkdocstrings-python/Manifest +++ b/dev-python/mkdocstrings-python/Manifest @@ -1,2 +1,3 @@ DIST mkdocstrings_python-1.16.2.tar.gz 423492 BLAKE2B 2f5c7d8c3f5b6b1256b6f15334bc131cf0281883bf8072400ab195d724eddf2c8367c081abe571e0f4fd889c97181effc1764bd1e701da00fe44593007c12919 SHA512 52c78484139df79a1a9d0924a03c08e6902e91ebb3dc1db129c3bf372d670578206d00335d0a3ef34af0c33cebe592f829023ba645102839da76be07c72be739 DIST mkdocstrings_python-1.16.3.tar.gz 424073 BLAKE2B 7ad6114c3424dcd4b9f2da916eaf69a67bb5d6d53286d5e60c95af8cab333a9c56f106df3057107fddfd83e1f0f0875b5a4d6c6ff097b0416cd8bdb84fc81599 SHA512 7778ff0e8c2677ea84b61b5ddd623ccd0db2c6eeef3a6beb988d2a85ac0d8f4fb5f5ffeabc823ef0d9e486217efababc8d647b6e7b1873d00f26d6785f051cd3 +DIST mkdocstrings_python-1.16.5.tar.gz 426979 BLAKE2B b6c7185c4f5abae35d7feade0d3dd36cdc1eecc5ac631f2af354e57037507f3d291bc1ff0326b665058acc73f68834e853a2d07d831fb0c08bf262111659267e SHA512 07a4a0698769a4daa0cae4607cb98e7124013a8f7190390a16818c0e21de18d78e5dcac39206d2062160cad61310b77212fe279a5cffbfb2183d49d24c792d79 diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.5.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.5.ebuild new file mode 100644 index 000000000000..f1b21b66ce1a --- /dev/null +++ b/dev-python/mkdocstrings-python/mkdocstrings-python-1.16.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python handler for dev-python/mkdocstrings" +HOMEPAGE=" + https://mkdocstrings.github.io/python/ + https://github.com/mkdocstrings/python/ + https://pypi.org/project/mkdocstrings-python/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/griffe-0.49[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-0.28.3[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + >=dev-python/beautifulsoup4-4.12.3[${PYTHON_USEDEP}] + >=dev-python/inline-snapshot-0.18[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # "None" meaning particular formatter not installed + "tests/test_rendering.py::test_format_code[None-print('Hello')]" + "tests/test_rendering.py::test_format_code[None-aaaaa(bbbbb, ccccc=1) + ddddd.eeeee[ffff] or {ggggg: hhhhh, iiiii: jjjjj}]" + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p inline_snapshot +} diff --git a/dev-python/mkdocstrings/Manifest b/dev-python/mkdocstrings/Manifest index 8fd2eb31177f..4df82747e632 100644 --- a/dev-python/mkdocstrings/Manifest +++ b/dev-python/mkdocstrings/Manifest @@ -1,2 +1,3 @@ DIST mkdocstrings-0.28.2.tar.gz 5691916 BLAKE2B c1593205307285760f1d58db99e022b6ba43db1ab69ee024b109e98918407c1f256fedcddbab7778540cacb94764cdd7d5c042f39651554635fc68aa5727ebfc SHA512 946056f9ad179b58792756caf18f5881c2d24d05fc3adb24efe7fb8af7b44d68c648002098d4ff8b766ee6c9099bd918319df325fc5cb9854d47278c571f52ff DIST mkdocstrings-0.28.3.tar.gz 104109 BLAKE2B bbeba5319fd0912a214f0e8f7759abb7948ee1da6890472037f68a79f658bbdd29e32988e885e379cec05f61a616315f5baf1c575e460e0a774876929dc26bb8 SHA512 6d9e280aef8d8c35eb583a739b7f47b75fdc97ad093c91309ebfda3b6a1d9dcf31da7872d17eb00de3d731247f1f0396524f90d8db85519632dcdebae2f38bac +DIST mkdocstrings-0.29.0.tar.gz 1212185 BLAKE2B 003f90c69a4b98f1f9049ed4fa74b165b7ed7a78b1bdf3cb8efa127a6115a3b26adca43d5787d9661b99b532d06cc9edf1d40efd97eed1a5c0c5d92d3e48627b SHA512 5a2ea61f59cf517482e18541aaabe6f284f2af43d9e8712e2096401bfba071f824f4c65f64d94ff57a09a8d625983655cae1466900ae6756e532ea2eb1c8755c diff --git a/dev-python/mkdocstrings/mkdocstrings-0.29.0.ebuild b/dev-python/mkdocstrings/mkdocstrings-0.29.0.ebuild new file mode 100644 index 000000000000..e72c843a8ed8 --- /dev/null +++ b/dev-python/mkdocstrings/mkdocstrings-0.29.0.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=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Automatic documentation from sources, for MkDocs" +HOMEPAGE=" + https://mkdocstrings.github.io/ + https://github.com/mkdocstrings/mkdocstrings/ + https://pypi.org/project/mkdocstrings/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/jinja2-2.11.1[${PYTHON_USEDEP}] + >=dev-python/markdown-3.6[${PYTHON_USEDEP}] + >=dev-python/markupsafe-1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.6[${PYTHON_USEDEP}] + >=dev-python/mkdocs-autorefs-1.4[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-6.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/markdown-exec[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + >=dev-python/mkdocstrings-python-1.16.2[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) +" + +# mkdocstrings documentation generation requires several currently +# unpackaged mkdocs extensions and plug-ins, and this test +# makes use of mkdocs configuration +EPYTEST_DESELECT=( + tests/test_plugin.py::test_disabling_plugin + # WTF, it tries to unlink installed files from installed package?! + tests/test_handlers.py::test_extended_templates + # Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly more + tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file + # Internet + tests/test_inventory.py::test_load_inventory +) + +distutils_enable_tests pytest + +export PDM_BUILD_SCM_VERSION=${PV} diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index c4aa95312d99..ac9b51f5b37b 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,2 @@ -DIST Nuitka-2.6.5.tar.gz 3866446 BLAKE2B 6bdbd3e9dd43e061c507dfbc7a7a902a387dcb7695ad9bc340aad448e5e8453ed4afb465a403bb185bcba81125cced21b6f5ba107e3bada1fc29614f0538533b SHA512 4b96cb29ea59afa90345e5cbeb77c174d4931414a5cd3df8178cdc320b9e29b2316964bc3384d5d4f16ac948cbfc5b3e428e0d826748ce2a04f57cd42defb77e -DIST Nuitka-2.6.6.tar.gz 3867022 BLAKE2B 30bc28811005426aacb0390cecedc287c6a1a92b17aa594f208b70bc9975c4538d926ce564280a57799a9cbd8a772b8bf2f7598f8163110e3dc64a6d524fc34e SHA512 e226710ee766acde7e26b4e563f61f4aed41f207bfe2b63c5d8661d5049db2ce61016d1040cadb8602034bc23cac9056d5c7cf2b5bf463d50b4fd3fd48a5b61e DIST Nuitka-2.6.7.tar.gz 3868800 BLAKE2B 54dac08c3e5d7b65088ef4883bea3595cb23f05906daf9e8f8229c00bd6e1a7498964441440d4c34350c7eaa10b817211d5f64c2580d9e8422593baf96f64a98 SHA512 a8f4fd4fada216453bafe45bff60426a4ddad00022acc06a7308e154161176cad50e734552edd3a712b84b5005a6e0ba230eb075991006b25490976b66f8440f +DIST Nuitka-2.6.8.tar.gz 3869248 BLAKE2B 5dbb0886a472806adbe19a4928b9608a0827d63e7f3663ae0e04c1debe4d974cd84ddf65eba13e52e9292f33e16ef8b65876fb97af682d9c6d1e3233684ccfcf SHA512 6cc5f2db40ec0b61a7324d27c6c14c40a7c1e0d305ab36bce4b4c90ed66d3098592a5c2e290cebf39487b9412206cefbbc9e85ed4631cb66e3c64f3eb5854e8d diff --git a/dev-python/nuitka/nuitka-2.6.6.ebuild b/dev-python/nuitka/nuitka-2.6.6.ebuild deleted file mode 100644 index c97d7f3c6ae8..000000000000 --- a/dev-python/nuitka/nuitka-2.6.6.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN^} -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 flag-o-matic optfeature pypi - -DESCRIPTION="Python to native compiler" -HOMEPAGE=" - https://nuitka.net/ - https://github.com/Nuitka/Nuitka/ - https://pypi.org/project/Nuitka/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~loong ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-build/scons[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] - >=dev-python/zstandard-0.15[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( dev-util/ccache ) -" - -distutils-r1_src_prepare() { - # remove vendored version of SCons that is Python2 only - # this should be removed when upstream removes support for Python2 - rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die - eapply_user -} - -python_install() { - distutils-r1_python_install - doman doc/nuitka.1 doc/nuitka-run.1 -} - -python_test() { - append-ldflags -Wl,--no-warn-search-mismatch - ./tests/basics/run_all.py search || die -} - -pkg_postinst() { - optfeature "support for stand-alone executables" dev-util/patchelf -} diff --git a/dev-python/nuitka/nuitka-2.6.5.ebuild b/dev-python/nuitka/nuitka-2.6.8.ebuild index c97d7f3c6ae8..c97d7f3c6ae8 100644 --- a/dev-python/nuitka/nuitka-2.6.5.ebuild +++ b/dev-python/nuitka/nuitka-2.6.8.ebuild diff --git a/dev-python/proto-plus/Manifest b/dev-python/proto-plus/Manifest index 2656f66c3f94..2015903dad77 100644 --- a/dev-python/proto-plus/Manifest +++ b/dev-python/proto-plus/Manifest @@ -1 +1,2 @@ DIST proto-plus-python-1.26.0.gh.tar.gz 93568 BLAKE2B 244932abd2137a2dad85d5bb7d5105a59a3d1ac16c9660868120260a36f85edb77cfb8b2b8fd3d6407a6e2c3e2a62ec55b0ea9d1a96e9265659a6d75c17a579a SHA512 70e29cafa1a32ebe0e7c3f1d99b45681bc87369588b046221a5fc34e2c28ca932e05df9ee998feb710fc2221ffa8b02ef26c5ff00d7a7a6947e34afd91621551 +DIST proto-plus-python-1.26.1.gh.tar.gz 93639 BLAKE2B a567aa0914c6d2c3c4532ec7520c16700e5d25f36ec689a0f7a17027254c6716f71e8a3968584e91fd1d4e79dd2a46ffeaf98c9bdbff49f783ca30bf0dca1dcc SHA512 f532d3798fe566b03eb09c8567f276bfedc7c372ead20daa3e0f5d29a619f0df01dc84343c10bf9cd1c9c60945f43a454742df63f69baf009834bba471b1f84c diff --git a/dev-python/proto-plus/proto-plus-1.26.1.ebuild b/dev-python/proto-plus/proto-plus-1.26.1.ebuild new file mode 100644 index 000000000000..052ce3d00ef8 --- /dev/null +++ b/dev-python/proto-plus/proto-plus-1.26.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-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=${PN}-python-${PV} +DESCRIPTION="Beautiful, Pythonic protocol buffers" +HOMEPAGE=" + https://github.com/googleapis/proto-plus-python/ + https://pypi.org/project/proto-plus/ +" +SRC_URI=" + https://github.com/googleapis/proto-plus-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/protobuf-7[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.19.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/google-api-core-1.31.5[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pyproject-metadata/Manifest b/dev-python/pyproject-metadata/Manifest index ce5b9a5913a4..90452448c5d7 100644 --- a/dev-python/pyproject-metadata/Manifest +++ b/dev-python/pyproject-metadata/Manifest @@ -1,2 +1,3 @@ DIST pyproject_metadata-0.8.1.tar.gz 15404 BLAKE2B 1f2ab911043b0511b2e13e78d1e208643a3d29d4b7152d305d432827d32402f0ae944e74eadc41faff7d641c642dfbc4482ce3c8aad6dfae385ff6c7df465465 SHA512 a9677d7d8d6004a86c92d3eb44c37494e2a4709c1ffcaad444d0f0e573ae56c753e6ec27efab6def03f89c357db7966f7dc9a819bf2cab02af2ee8718e7b5a39 DIST pyproject_metadata-0.9.0.tar.gz 32096 BLAKE2B 736a66e2707a4f2f233e1e38f20fa58f4cd874e9a75ce804c3fcae76ea1107731449c7cf906d90766c2f7aaba775bc2604f6c22de5d59611edfcfa629dd8bf58 SHA512 55c89e02b15bacfed8954e363cc0ae295551572a2d3d6954ce43dea36f04735a9d8a314385702477a94d83ba4ce1a32548b6024b7697f6c6ec9d821c5d934b47 +DIST pyproject_metadata-0.9.1.tar.gz 38415 BLAKE2B dced26d0cf326e1efc8029e7de595d3f0be4818cb3c78fcb809fb2888db1b51cb7ee5c45be9fbe7b4a4d6bd15a8c6aad9fb80b135572c62df5cf23531fc140f9 SHA512 df4623d0798d5203e085af3c13107a77c600c70c8e10c3a28c30ee78010e7deebce477b9b24fe91d5990450ba1d9935c55cf2484432caadad2edb3cf58114256 diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild new file mode 100644 index 000000000000..09ac162f2a47 --- /dev/null +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.9.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP 621 metadata parsing" +HOMEPAGE=" + https://github.com/pypa/pyproject-metadata/ + https://pypi.org/project/pyproject-metadata/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/packaging-19[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild index ea418fe864ab..4ddf5aef17f2 100644 --- a/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild +++ b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/qiskit/Manifest b/dev-python/qiskit/Manifest index c77337bfacbf..6db0c10cbc85 100644 --- a/dev-python/qiskit/Manifest +++ b/dev-python/qiskit/Manifest @@ -111,6 +111,8 @@ DIST pyo3-ffi-0.22.6.crate 69352 BLAKE2B 99eea6ed87001b23fdeb263937bc14be0fadadc DIST pyo3-macros-0.22.6.crate 8182 BLAKE2B 81998e4f4cb325763e4d3477af05b332e184cabf6391761f850d23508cebcf8d496ce12f747ea241523bb3899886eb20494b076a0651151744bb81d52901a1b4 SHA512 63f7a7b42e099742518c8a3bbc7647e98debb5500d08c39e11e8140fc146e790ab06e005d8d14c89aba79ebc5bf04fe1c92c0e9c5b13421307d3a4682d044179 DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab0075d6ec5bf628e3344b86fb8e20a6d0bc1f891b56ccfa4622840a609480581f32bd211b9a3d1dd989716cf255efe3fdc89331 SHA512 87463939b5a5674e30e8ca05ae747f652f8679f0c5c85d20967e9910ad853768a769a914580e82e409188fe4add80a3117ccb9da24c250406bc6f76fe4453799 DIST qiskit-1.4.0.gh.tar.gz 8508849 BLAKE2B 8f7cf0992d6623ae441719339aac48dcbb6f969276da4d76c0e317865f75b9bb0ca76e0feccea8ef297b2306320de47aab05bb07fc6e2cc40ae6f1c6c04bf37f SHA512 c1a74ff98474add76a24a962a39c43a0a7ae44cf5421f846c43a4c39d89e61552cc51ed2769f0badf1c4eb4ee8d6f2be9715041583ad3b359bab9778a309455c +DIST qiskit-2.0.0rc1-crates.tar.xz 14966052 BLAKE2B a7c0a83ebc2c03e856b4634e8c2f300d6aa953926e33af3884ab7419f2784b13db70134d1d26d2e20afe597e4acbf84135107842794a0e460389698d8dd9dc6d SHA512 e74a00c53600247a194e80633157c5ad050e6b41b254e8e238f9852272e51d6b2a9f65a1cc4aec89939b1319e32885a35e6fa39d9cde715a29ee68f461807943 +DIST qiskit-2.0.0rc1.gh.tar.gz 7874905 BLAKE2B ab21ce2c190006fe3ee698d39800e03272252a2065dcb8f3b9aebcc2da8b2ee355ea4f4e6440cd0c74bf58691299d7dcebb2f8e2ba4a6406a12e00001404b262 SHA512 cb13db2823de6fd270c5ce565ebdce4afa15c6004bdc7866c3cce5348a48efeac5d27769a1bc780738bb84c0dfead696a3665cfb04e9dd17e3bf82befc3e5862 DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST ra_ap_limit-0.0.188.crate 1283 BLAKE2B 265a70d088ed76500cdbefa04d1b2778d54985aa978b806e9ebb016348556559799b8ac889c00aeff51d4ff08f3fa86cd3be3742f5896916edbbda49bca1946e SHA512 01d56844fb4437959e93fc3394d674848eaae3365d271c01ba5ff12fc05d4a1d11eb4145ee89a65eb5ba12db4075e8102ee31df55c569c8ee5ad6d383f9f451a DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 diff --git a/dev-python/qiskit/qiskit-2.0.0_rc1.ebuild b/dev-python/qiskit/qiskit-2.0.0_rc1.ebuild new file mode 100644 index 000000000000..ce2ef120e09c --- /dev/null +++ b/dev-python/qiskit/qiskit-2.0.0_rc1.ebuild @@ -0,0 +1,114 @@ +# 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" +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/python-dateutil-2.8.0[${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}] + <dev-python/symengine-0.14[${PYTHON_USEDEP}] + >=dev-python/symengine-0.11.0[${PYTHON_USEDEP}] + >=dev-python/sympy-1.3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) + 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}] + ) +" +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 +} |
