diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-12-11 18:49:49 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-12-11 18:49:49 +0000 |
| commit | c5f8cee2d770be2d89d223aaed1d710f6360bacf (patch) | |
| tree | b918c65ee050fab2863b2a2d1ded1df1e4d08493 /dev-python | |
| parent | fe62b3ccb215d77385147982f5da938d73f9c44e (diff) | |
| download | baldeagleos-repo-c5f8cee2d770be2d89d223aaed1d710f6360bacf.tar.gz baldeagleos-repo-c5f8cee2d770be2d89d223aaed1d710f6360bacf.tar.xz baldeagleos-repo-c5f8cee2d770be2d89d223aaed1d710f6360bacf.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
73 files changed, 1506 insertions, 424 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d5d98f72f451..5fcf59d7fecc 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.35.68.gh.tar.gz 901189 BLAKE2B f7449998af169c873319d7b8748035db72c3 DIST boto3-1.35.71.gh.tar.gz 903019 BLAKE2B 48bf56c54a8eaa52c1850078a92cef7e5acb06f2d9d551414d640c6f5c5f381f2edc4ae6f582d9c1578f68d78a272142033bd41caba95577af917a492e995edb SHA512 56df8d30c0d3efc71caa6d629354e1311d944c71b5568b4154fc93c315558d600e4411ccc80abca98cb4a3adf3a3ab4f4dbce22ca06184e11d720f36f33b58d2 DIST boto3-1.35.76.gh.tar.gz 910113 BLAKE2B 3e7429976b348e29ba4184bffe03c643b85dd978cc520b924263e8430b5e5935b95152cced2f6c0807c65de4e6e1405c55bb24565ac5bc425292e9adac178c03 SHA512 132f37e77b7b36d525e9cf678fe2f624eed77a9eb9fa8e7d7f079a362e5d7a5f3edcd17c7d8bc1e27570171927d26e74a94d267a1b0cbddda3890ac6a0f21cdc DIST boto3-1.35.77.gh.tar.gz 910574 BLAKE2B a843c871e53069a7a3c818e326ea5c32d506873e2381057d269e4a04f5e3be9d37aeb6e38bff4051c4d4ce3ae30e41253008785ac9bca329a17bea0f914bdc0c SHA512 e0de5951492860d48d68888ad734e33c6e8c3747f54c7164b0fca5ee9cbf2ec84e2a1a04f2b5566874bb086dcbdd096f588def36d11038663a2762bccbaf7c8e +DIST boto3-1.35.78.gh.tar.gz 911245 BLAKE2B 2afcee97ef800b934c7f5cc2046831cb48b277951f77dc9aa844dfae4e7f9fc33b36b9d1e58a727485720ffd66ce3440c7f6d103e771b43ac355634110b14d88 SHA512 d73db44fdcdeb7d82e755c1b66084d7e47884c880e615b537f9388a9dda97d8e825613567f7ce94eb5972880b790fe841ca3765c8689c1387ec69dc0cba667e7 diff --git a/dev-python/boto3/boto3-1.35.78.ebuild b/dev-python/boto3/boto3-1.35.78.ebuild new file mode 100644 index 000000000000..d91ce27598cf --- /dev/null +++ b/dev-python/boto3/boto3-1.35.78.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6dfa8294904e..c610291de8b3 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.35.68.gh.tar.gz 13887015 BLAKE2B f49ea77be07628c9c0a471a76b87bc2 DIST botocore-1.35.71.gh.tar.gz 13908196 BLAKE2B beba990a19a2a6de3a10d9acd9f97c79872548a5c2bdb2e0944d69292efefd171a0f2e2c989da1551f07902f35b9530984cfe037ff6a9ac9168f9fc5dc5105d5 SHA512 e962cd711e8a9ee6df4e58b3bab22b5e9ded2d75d89fcabd50476789270af50513dcdd4eaeba9f7f778cb9055b4b0cadde0e436cdb1ef333b4322c9f128e910e DIST botocore-1.35.76.gh.tar.gz 14117270 BLAKE2B b072b926daae520e54871676d5afc4832ddbc8c91a2ee15f103a9d48df2e17d8cef304fab28c4050bfe6d70629979c48d8bc00d5caf42a0129a19ff5a3a2baa3 SHA512 e7433d60519a0da5118b3283c192a7199e8bfdd605fc6bb98d05cc90485a1e4aec537a035ffc08bcb6c35e9d31394422596e113a98cc00c23bd3dd350577ac1d DIST botocore-1.35.77.gh.tar.gz 14120607 BLAKE2B bc5f22133796be3b2749f848d62c9eeff6f58a515393beda2f41df9c734eb7167a97987d06e025ebc2693eea6214dd0f7788f9f4cf1e5ac71a91b05b6e886d7e SHA512 fa699fbffc2e7f1e9062fe1393f1cef4677cb30b5090df55bb84b4719e880a6731731ab2799450ab06f70f9a057e749529c283ebe6400b7b35e7b89a2c22eb2a +DIST botocore-1.35.78.gh.tar.gz 14124766 BLAKE2B 53bb6a8cf63bb69c5e827e269f6efc35b56919c878eadf10f7a7017848703f8de682a7d1912965f40bbb0c0c2903a6d22a4479c8f66ec03c57410f6e3b27dc70 SHA512 74816012870b25a7344096e714c2c9319cd9ac676a3d5e194d68dcc6eaa048233630c30d33ba6ac02f2c953148f704ca068f4aead562504eba893b468408aac0 diff --git a/dev-python/botocore/botocore-1.35.78.ebuild b/dev-python/botocore/botocore-1.35.78.ebuild new file mode 100644 index 000000000000..7816e9efeb52 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.78.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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 ~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 617f8b8697f2..216a91c708bd 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,3 +1,4 @@ DIST cfn_lint-1.18.4.tar.gz 2788919 BLAKE2B c9815d61450d6afa6f054a305b90ceb14a2dd72206834fb64c8e51017cbcf02843dc83e909d1db0dfb183d7f059909a9b794e886745bbe48cac42dcf2c109150 SHA512 fc8ed928fa83d262000c141805734c788559f2ed7ad7b1b989771069cd8972c04dba67a8c4823cceb35ad70db19e28c5f36093cf42f86b232f35eeba8585c89b DIST cfn_lint-1.20.2.tar.gz 2734631 BLAKE2B 1935793ad1438f5fc4f217390541b476192ab68a6d1614d7322eca1981b7d3712d85c090394eec2e8d2f2c15bb3798a148987613a3fe71fdc4355a57bf31a836 SHA512 e327e703cd96cd1d4d9342525cdccde3f11373ad5624a6a6b9ba16f76fa1b12be83b8f6a5118c0ceb947dada7a5bd30f8bf6434f4e61cbfc8bfa0dd8cf49ece9 DIST cfn_lint-1.21.0.tar.gz 2747268 BLAKE2B 580fffc95d5829374f1dda111e2cc805639a463514112cabe0e34b6f53344991819f81b8246adb9fe3ee8fe59ee5db9000befead7a21ce85694bac248589a72a SHA512 2091f02a30ee22313db52094e9f54e5978eca69aa0c0cc96e1e39cae720f04165b4ff2aa0f01419c5327f149d5bd5ab16c4ba9b2af0a8f42b1a1872991a6e4da +DIST cfn_lint-1.22.0.tar.gz 2744603 BLAKE2B f4ae73ce051e8bb25fcacc4f258bb687266696622bf9f6cf80246cab7618ae289d9b2bd8da565c9696195c383fc0fc78419fa5e9018675cb81afe77ae9855c94 SHA512 54ae5143a94a5afcd38620568b16d899dd7784c99581202a54650bdfde86fe7564bbf320d9b47875df5b5fd94aa9e6fa2a01f847651c45e1396a203cbd8b4d10 diff --git a/dev-python/cfn-lint/cfn-lint-1.22.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.22.0.ebuild new file mode 100644 index 000000000000..2481db200741 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.22.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{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-python/clang-python-15.0.7.ebuild b/dev-python/clang-python/clang-python-15.0.7.ebuild deleted file mode 100644 index 020ba6d2709c..000000000000 --- a/dev-python/clang-python/clang-python-15.0.7.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/clang-python-16.0.6.ebuild b/dev-python/clang-python/clang-python-16.0.6.ebuild deleted file mode 100644 index 020ba6d2709c..000000000000 --- a/dev-python/clang-python/clang-python-16.0.6.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit llvm.org python-r1 - -DESCRIPTION="Python bindings for sys-devel/clang" -HOMEPAGE="https://llvm.org/" - -LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# The module is opening libclang.so directly, and doing some blasphemy -# on top of it. -DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - ${PYTHON_DEPS} - test? ( - sys-devel/clang:${LLVM_MAJOR} - ) -" - -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals - -python_test() { - # tests rely on results from a specific clang version, so override - # the search path - local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) - local -x CLANG_NO_DEFAULT_CONFIG=1 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" -} - -src_test() { - python_foreach_impl python_test -} - -src_install() { - python_foreach_impl python_domodule clang -} diff --git a/dev-python/clang-python/Manifest b/dev-python/clang/Manifest index f89bda64845c..808f097b416f 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang/Manifest @@ -11,4 +11,3 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2 DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d SHA512 648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22 DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a SHA512 a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba -DIST llvm-project-a348f223cab54b21a7b1c38dec7bc6aa2f81c949.tar.gz 223630067 BLAKE2B 3c2121a8d13e3a84a9ee98d17c58e5fd5a31d5870ac21c633c78c49b4af0c401310f7e91f64ff3b7cf7f6e8d205c730458b8b1101b1255f422659974d48e2ecb SHA512 33cc09a904e4fe0d529611a1d71d764e6d49f014cea903aadc0755d0420f65cfc763fdcfd4bb9a96adad79ce1c4475d8c005dcac37c4fe130a1fb3665172f1db diff --git a/dev-python/clang-python/clang-python-18.1.8.ebuild b/dev-python/clang/clang-15.0.7.ebuild index 27b011333026..308cb3371a9e 100644 --- a/dev-python/clang-python/clang-python-18.1.8.ebuild +++ b/dev-python/clang/clang-15.0.7.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" @@ -19,9 +19,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang-python/clang-python-19.1.4.ebuild b/dev-python/clang/clang-16.0.6.ebuild index 27b011333026..308cb3371a9e 100644 --- a/dev-python/clang-python/clang-python-19.1.4.ebuild +++ b/dev-python/clang/clang-16.0.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" @@ -19,9 +19,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang-python/clang-python-17.0.6.ebuild b/dev-python/clang/clang-17.0.6.ebuild index 27b011333026..308cb3371a9e 100644 --- a/dev-python/clang-python/clang-python-17.0.6.ebuild +++ b/dev-python/clang/clang-17.0.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" @@ -19,9 +19,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang-python/clang-python-20.0.0.9999.ebuild b/dev-python/clang/clang-18.1.8.ebuild index 0cb38ead605a..308cb3371a9e 100644 --- a/dev-python/clang-python/clang-python-20.0.0.9999.ebuild +++ b/dev-python/clang/clang-18.1.8.ebuild @@ -6,11 +6,12 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -18,9 +19,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -29,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang/clang-19.1.4.ebuild b/dev-python/clang/clang-19.1.4.ebuild new file mode 100644 index 000000000000..308cb3371a9e --- /dev/null +++ b/dev-python/clang/clang-19.1.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 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" +KEYWORDS="amd64 ~arm arm64 ~x86" +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/clang-python/clang-python-19.1.5.ebuild b/dev-python/clang/clang-19.1.5.ebuild index 3d1a9d2c1cec..4132b034bea8 100644 --- a/dev-python/clang-python/clang-python-19.1.5.ebuild +++ b/dev-python/clang/clang-19.1.5.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" @@ -19,9 +19,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -30,7 +30,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang-python/clang-python-20.0.0_pre20241130.ebuild b/dev-python/clang/clang-20.0.0.9999.ebuild index 0cb38ead605a..023b77279789 100644 --- a/dev-python/clang-python/clang-python-20.0.0_pre20241130.ebuild +++ b/dev-python/clang/clang-20.0.0.9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" @@ -18,9 +18,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -29,7 +29,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang-python/clang-python-20.0.0_pre20241207.ebuild b/dev-python/clang/clang-20.0.0_pre20241207.ebuild index 0cb38ead605a..023b77279789 100644 --- a/dev-python/clang-python/clang-python-20.0.0_pre20241207.ebuild +++ b/dev-python/clang/clang-20.0.0_pre20241207.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit llvm.org python-r1 -DESCRIPTION="Python bindings for sys-devel/clang" +DESCRIPTION="Python bindings for llvm-core/clang" HOMEPAGE="https://llvm.org/" LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" @@ -18,9 +18,9 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # The module is opening libclang.so directly, and doing some blasphemy # on top of it. DEPEND=" - >=sys-devel/clang-${PV}:* - !sys-devel/llvm:0[clang(-),python(-)] - !sys-devel/clang:0[python(-)] + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] " RDEPEND=" ${DEPEND} @@ -29,7 +29,7 @@ RDEPEND=" BDEPEND=" ${PYTHON_DEPS} test? ( - sys-devel/clang:${LLVM_MAJOR} + llvm-core/clang:${LLVM_MAJOR} ) " diff --git a/dev-python/clang-python/metadata.xml b/dev-python/clang/metadata.xml index e78b340be213..e78b340be213 100644 --- a/dev-python/clang-python/metadata.xml +++ b/dev-python/clang/metadata.xml diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 55cf976b43fa..65301f5481b0 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -5,3 +5,4 @@ DIST fonttools-4.54.1.gh.tar.gz 3863311 BLAKE2B 879edb1d5639b2d5a40d10531209504b DIST fonttools-4.55.0.gh.tar.gz 3886815 BLAKE2B ace8c3c1c866f4c181f685a44aeb69b8927bd7ddd452cb8268dc7c06183b372ddd88b64f7eba7ab3e4fa15ae359ffcf1d8144de4afbb1b4751173d75259eef3b SHA512 5f8a65687b5d66604eff5c518aaa51e5b2307e624e5397e5dc15b9489eeb6f300376ab6c70288f9bb7056532951f16085c5580f03b44de2a1d53f2860b573191 DIST fonttools-4.55.1.gh.tar.gz 3888082 BLAKE2B 01cc804ad04814dbb397000e7c408e0994dce5c33c8f1a43b570258b27b9981f437d0469bdcbdf22eb3ee101fc6c17f8a1ab064e11a1bf471f6e3f2957056010 SHA512 68bab5b76b2dda4ebb306764434248020ee0750e4ab700ebb0db6c78b832dd87d58ee12c51b2b54da13027ea0a109460e6ed68eb0afebd5fbe51fb6d2ce7e7ff DIST fonttools-4.55.2.gh.tar.gz 3887441 BLAKE2B 1918b07de8513f1645e1ceb1fe1273bbdbc6ac9d52da69ca36c3872f74f17c7632b67879dc64d4d248f05422434407837a5117c29257414f348e47f137fe378d SHA512 c379300766161b00d834b2abd910162a83e89e8b2609997c227192d1b38c414a4fe0f36f75ce8b1f418dc9443394d64cfdc67f370c3debe96e9e53b6cc68dfb4 +DIST fonttools-4.55.3.gh.tar.gz 3894793 BLAKE2B 0b02f5d5cac5b7cdd97d4c32310d02507604afbef12ecd59237fb0a5683170bd563f8e5c08f4f2ca057a8f952aafef7c6e087d072d96786ef8bea603521ce4ab SHA512 23257ebb9e890c0e5eb9776a9e82479a33859f4ab49015ee8434ae998814b7821b5226d14405667f9c67f03bbd0db41087d95dbc7650d812ed826db71929cab3 diff --git a/dev-python/fonttools/fonttools-4.55.3.ebuild b/dev-python/fonttools/fonttools-4.55.3.ebuild new file mode 100644 index 000000000000..2b9bd3ce3dd4 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.55.3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE=" + https://github.com/fonttools/fonttools/ + https://pypi.org/project/fonttools/ +" +SRC_URI=" + https://github.com/fonttools/fonttools/archive/${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" +IUSE="+native-extensions" + +RDEPEND=" + >=dev-python/fs-2.4.9[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + $(python_gen_cond_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ' 'python*') + ) + test? ( + dev-python/brotlicffi[${PYTHON_USEDEP}] + dev-python/munkres[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + local -x FONTTOOLS_WITH_CYTHON=$(usex native-extensions) + [[ ${EPYTHON} == pypy3 ]] && FONTTOOLS_WITH_CYTHON=0 + distutils-r1_python_compile +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # flaky test + Tests/ttLib/woff2_test.py::WOFF2ReaderTest::test_get_normal_tables + ) + + if [[ ${EPYTHON} == pypy3 ]] && + has_version "dev-python/pyxattr[${PYTHON_USEDEP}]" && + { + has_version "<dev-python/pypy3_10-exe-7.3.13_p2" || + has_version "<dev-python/pypy3_10-exe-bin-7.3.13_p2" + } + then + EPYTEST_DESELECT+=( + # affected by a bug in PyPy/pyxattr + # https://github.com/iustin/pyxattr/issues/41 + Tests/t1Lib/t1Lib_test.py::ReadWriteTest::test_read_with_path + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest \ + -p rerunfailures --reruns=5 \ + Tests fontTools || die -n "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/fpylll/Manifest b/dev-python/fpylll/Manifest index 1fb31581b7c1..5cd10f6be752 100644 --- a/dev-python/fpylll/Manifest +++ b/dev-python/fpylll/Manifest @@ -1 +1,2 @@ DIST fpylll-0.6.1.tar.gz 1083895 BLAKE2B 091d757a1c64830307c0dffe10418305a625f1eceabee251a4f6d06e6fe7eb449ec85fdeb72fe8177d093c50e642e730283b0022fd70383338ca74ac6301e010 SHA512 3469c7b70cfdb0077a38f2c46c06901c4b2a1ac6db9fdab1e347c3b5ba147ee495aad56a6263d163e5f140cf9fa1591de98d01b83b92ec896092dd3e0a5d5a9b +DIST fpylll-0.6.2.tar.gz 123743 BLAKE2B 755e322c1e88f0257531b356363447f05bb5c90bed1318796be5558ec96349b31e2a57420a502646f84e3d3eef2dd10ff648acbc140a0cc51cc9eb789660d499 SHA512 b5cff20f5bfb7398a76f772f72130b6c84af6a4cca10790a0b4e3df0bb6fdf3eaa6ceb351cd87422ad710081290c5a45dd0c3ccf71ad56cfc38dc16714a25242 diff --git a/dev-python/fpylll/fpylll-0.6.2.ebuild b/dev-python/fpylll/fpylll-0.6.2.ebuild new file mode 100644 index 000000000000..3e7ae536d34a --- /dev/null +++ b/dev-python/fpylll/fpylll-0.6.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for sci-libs/fplll" +HOMEPAGE=" + https://github.com/fplll/fpylll/ + https://pypi.org/project/fpylll/ +" + +# setup.py says "or later" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="test" + +DEPEND=" + dev-python/cysignals[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=sci-libs/fplll-5.5.0 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test(){ + local -x PY_IGNORE_IMPORTMISMATCH=1 + epytest +} diff --git a/dev-python/httpx-socks/Manifest b/dev-python/httpx-socks/Manifest index 9a069a6fdb1a..6a256d3095f2 100644 --- a/dev-python/httpx-socks/Manifest +++ b/dev-python/httpx-socks/Manifest @@ -1 +1,2 @@ +DIST httpx-socks-0.10.0.gh.tar.gz 15429 BLAKE2B fcc96ce3ca5a68a65d89a617ba832961a800d65d543a9f6edfa794fac03ecbb6b2f35364a58f584b4b44c96b4ffc137835f189e370ad1dfc1d373853de4856d3 SHA512 b8c513dece25b10b653a147b98bb8f173ead8c4200d67af96675e33a12e151e2f11368ebd12c35b96fe7fd94797db1a009cc86921d1f9defcd553bffa2f1f2d4 DIST httpx-socks-0.9.2.gh.tar.gz 15445 BLAKE2B 273380fc722780d090039aa74dd646ca3cd5dbc18d5ab3a030847fef0ad515f4ad171289d9cc125d1e8218b8e81a73c1b192caa2708238ed7ac288d3b2419c41 SHA512 41816f9dfa998b8a7e99ddc68d9e3473184fa44ecb08950234759dd9765496e92309852474d8688e392f6a25c4fcbeb7d6358b07bc574c68fd423e05bd052990 diff --git a/dev-python/httpx-socks/httpx-socks-0.10.0.ebuild b/dev-python/httpx-socks/httpx-socks-0.10.0.ebuild new file mode 100644 index 000000000000..bd68c66c89af --- /dev/null +++ b/dev-python/httpx-socks/httpx-socks-0.10.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2022-2024 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="Proxy (HTTP, SOCKS) transports for httpx" +HOMEPAGE=" + https://github.com/romis2012/httpx-socks/ + https://pypi.org/project/httpx-socks/ +" +# no tests in sdist, as of 0.7.6 +SRC_URI=" + https://github.com/romis2012/httpx-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/httpx-0.28.0[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0[${PYTHON_USEDEP}] + >=dev-python/python-socks-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/async-timeout-4.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.14.3[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/starlette-0.25.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.22.0[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.6.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # unpin dependencies + sed -i -e 's:,<[0-9.]*::' setup.py || die + + distutils-r1_src_prepare +} diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index a7a82e86f39c..24f7b37b4c43 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -1,3 +1,2 @@ -DIST inline_snapshot-0.14.0.tar.gz 209662 BLAKE2B 9bea11df88aab049af61146cb40c8afaa7607f8812c800ee7dffc7de94403029e4ae1d1ed49921f624e5327171650210744962559786e45586ae929830f81819 SHA512 32855dcd098c3e9b6a046752a3fc03c18b0df85e2cf338a928eadcd0e63bb784bdaca6855c954974ec7561e602ff3dd95ccdadb0c4f7dd1075d9d84245c171ef -DIST inline_snapshot-0.14.1.tar.gz 220919 BLAKE2B 5bcd704ada3e31aad51fb22df3cfb8715580ded679b62205dd151b073428fffd6325b809b1aab4e5aa5d66cb7210b30e99189e72a0e031e98de6498465c5b22b SHA512 74462c7514861c1e1ac33da17b0dd61e77e76a37853fd765dde17233ccd36d11a8d184a9e7da6b855377e96968367ce5b30ca874cd209bb742fb1cdbdf2b0b54 DIST inline_snapshot-0.14.2.tar.gz 221204 BLAKE2B b6ead7cafac4c83e4913fc24407f5de86a6ba5f965a67494e5463a3c784b560e063897eb6c351debb33a23a3127efbf51b928173b23641ae0b46f2e627e59b4e SHA512 fd50e80e344e58f92c9de7817515c240921b67c1035cd8b392a4a2e6133a22b22f3f88fac9b75116b4211068933e022683e719dde56d54dd1c55e8dfa7a7caf8 +DIST inline_snapshot-0.15.1.tar.gz 232022 BLAKE2B b41494a59269d11b748c07d01091cb6342fd558352c00ae730a38b154d99694b12c993aa6ad339a47f97e2c85680c74db58235676deed4fa135d8b6180d37cd3 SHA512 e505b3e79a6890c1a257241b27ed97ceaa4b82a91f9d9d92f9ceb37e3581be1fe23369d739d5d8d97042cc6936923d526a6b142d678d253f5a29cbb884d16c55 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.14.0.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.14.0.ebuild deleted file mode 100644 index 426d54c2c6c2..000000000000 --- a/dev-python/inline-snapshot/inline-snapshot-0.14.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2024 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="Create and update inline snapshots in your Python tests" -HOMEPAGE=" - https://15r10nk.github.io/inline-snapshot/ - https://github.com/15r10nk/inline-snapshot/ - https://pypi.org/project/inline-snapshot/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] - >=dev-python/black-23.3.0[${PYTHON_USEDEP}] - >=dev-python/click-8.1.4[${PYTHON_USEDEP}] - >=dev-python/executing-2.1.0[${PYTHON_USEDEP}] - >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/mypy[${PYTHON_USEDEP}] - ' 'python*') - dev-python/pydantic[${PYTHON_USEDEP}] - >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] - >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires pyright - 'tests/test_typing.py::test_typing[pyright]' - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=inline_snapshot.pytest_plugin,pytest_freezer,pytest_subtests.plugin,xdist.plugin - local -x PYTHONPATH=${S}/src - epytest -} diff --git a/dev-python/inline-snapshot/inline-snapshot-0.14.1.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.15.1.ebuild index 9790f02177b1..92623feb8556 100644 --- a/dev-python/inline-snapshot/inline-snapshot-0.14.1.ebuild +++ b/dev-python/inline-snapshot/inline-snapshot-0.15.1.ebuild @@ -39,7 +39,7 @@ BDEPEND=" ' 'python*') dev-python/pydantic[${PYTHON_USEDEP}] >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] ) " diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index f89bda64845c..808f097b416f 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -11,4 +11,3 @@ DIST llvm-project-19.1.4.src.tar.xz.sig 438 BLAKE2B b0925bdb761046d69779e0b035e2 DIST llvm-project-19.1.5.src.tar.xz 141243716 BLAKE2B 228fc66ab688abfc16f31b2cd83163b81ef61604ace21eab69a1776f0dc88cbe8fa831162205849e5be3975a214136399572b4ad1b908986e37b2d38a1a7fa5d SHA512 648854e9c91fdcc5c677ce3800e046f2060b998a45cf9f7eebe02898431b3924f9348b6fc366102cd4fdda72dcb8f32076f98aa69927e0e20b3f1007fba10b22 DIST llvm-project-19.1.5.src.tar.xz.sig 438 BLAKE2B 1d40a5c5405f99ef86e3360f9ea153afd1ae4001697210fd799a988113e8a3cef39e2c4794edd9332f384d8490f4ce2ab6bee6d98f794f84775807f833b81c0a SHA512 a438c86ce882eb1ac3e50842937068794ed162bb1b7ded68a2fe3ec2ab4f57cc38aee667cfb46afe6da22eef7ed1cb65820a473f63bd5a0dc6aad41df7bfad54 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba -DIST llvm-project-a348f223cab54b21a7b1c38dec7bc6aa2f81c949.tar.gz 223630067 BLAKE2B 3c2121a8d13e3a84a9ee98d17c58e5fd5a31d5870ac21c633c78c49b4af0c401310f7e91f64ff3b7cf7f6e8d205c730458b8b1101b1255f422659974d48e2ecb SHA512 33cc09a904e4fe0d529611a1d71d764e6d49f014cea903aadc0755d0420f65cfc763fdcfd4bb9a96adad79ce1c4475d8c005dcac37c4fe130a1fb3665172f1db diff --git a/dev-python/lit/lit-15.0.7.ebuild b/dev-python/lit/lit-15.0.7.ebuild index f33e279d6f4b..12cf6ab36936 100644 --- a/dev-python/lit/lit-15.0.7.ebuild +++ b/dev-python/lit/lit-15.0.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,14 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { cd "${WORKDIR}" || die diff --git a/dev-python/lit/lit-16.0.6.ebuild b/dev-python/lit/lit-16.0.6.ebuild index 2524893bdc52..085201e2f47c 100644 --- a/dev-python/lit/lit-16.0.6.ebuild +++ b/dev-python/lit/lit-16.0.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,14 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { cd "${WORKDIR}" || die diff --git a/dev-python/lit/lit-17.0.6.ebuild b/dev-python/lit/lit-17.0.6.ebuild index f9928affd383..dca6306c9cc3 100644 --- a/dev-python/lit/lit-17.0.6.ebuild +++ b/dev-python/lit/lit-17.0.6.ebuild @@ -21,14 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { # flaky test diff --git a/dev-python/lit/lit-18.1.8.ebuild b/dev-python/lit/lit-18.1.8.ebuild index 91463a73e642..544a590790f6 100644 --- a/dev-python/lit/lit-18.1.8.ebuild +++ b/dev-python/lit/lit-18.1.8.ebuild @@ -21,14 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { # flaky test diff --git a/dev-python/lit/lit-19.1.4.ebuild b/dev-python/lit/lit-19.1.4.ebuild index 91463a73e642..544a590790f6 100644 --- a/dev-python/lit/lit-19.1.4.ebuild +++ b/dev-python/lit/lit-19.1.4.ebuild @@ -21,14 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { # flaky test diff --git a/dev-python/lit/lit-19.1.5.ebuild b/dev-python/lit/lit-19.1.5.ebuild index b61f6595b3a5..78cfa0b6fe18 100644 --- a/dev-python/lit/lit-19.1.5.ebuild +++ b/dev-python/lit/lit-19.1.5.ebuild @@ -21,14 +21,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { # flaky test diff --git a/dev-python/lit/lit-20.0.0.9999.ebuild b/dev-python/lit/lit-20.0.0.9999.ebuild index ab099932bcf2..277d267df2b8 100644 --- a/dev-python/lit/lit-20.0.0.9999.ebuild +++ b/dev-python/lit/lit-20.0.0.9999.ebuild @@ -20,14 +20,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { # flaky test diff --git a/dev-python/lit/lit-20.0.0_pre20241130.ebuild b/dev-python/lit/lit-20.0.0_pre20241130.ebuild deleted file mode 100644 index ab099932bcf2..000000000000 --- a/dev-python/lit/lit-20.0.0_pre20241130.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{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}] - sys-devel/llvm - ) -" - -LLVM_COMPONENTS=( llvm/utils/lit ) -llvm.org_set_globals - -# TODO: move the manpage generation here (from sys-devel/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/lit/lit-20.0.0_pre20241207.ebuild b/dev-python/lit/lit-20.0.0_pre20241207.ebuild index ab099932bcf2..277d267df2b8 100644 --- a/dev-python/lit/lit-20.0.0_pre20241207.ebuild +++ b/dev-python/lit/lit-20.0.0_pre20241207.ebuild @@ -20,14 +20,14 @@ RESTRICT="!test? ( test )" BDEPEND=" test? ( dev-python/psutil[${PYTHON_USEDEP}] - sys-devel/llvm + llvm-core/llvm ) " LLVM_COMPONENTS=( llvm/utils/lit ) llvm.org_set_globals -# TODO: move the manpage generation here (from sys-devel/llvm) +# TODO: move the manpage generation here (from llvm-core/llvm) src_prepare() { # flaky test diff --git a/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild b/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild index 30d183182221..cdfa9ad5c841 100644 --- a/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild +++ b/dev-python/pyside2-tools/pyside2-tools-5.15.14.ebuild @@ -33,8 +33,8 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') " diff --git a/dev-python/pyside2/pyside2-5.15.14.ebuild b/dev-python/pyside2/pyside2-5.15.14.ebuild index 81fdf09251fe..03b2396d611b 100644 --- a/dev-python/pyside2/pyside2-5.15.14.ebuild +++ b/dev-python/pyside2/pyside2-5.15.14.ebuild @@ -127,8 +127,8 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') test? ( x11-misc/xvfb-run ) " diff --git a/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild index b01e89528be1..2c2386a200df 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.7.2.ebuild @@ -33,8 +33,8 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') " diff --git a/dev-python/pyside6-tools/pyside6-tools-6.7.3.ebuild b/dev-python/pyside6-tools/pyside6-tools-6.7.3.ebuild index 4671b5b1efe2..98baa7bd9a2e 100644 --- a/dev-python/pyside6-tools/pyside6-tools-6.7.3.ebuild +++ b/dev-python/pyside6-tools/pyside6-tools-6.7.3.ebuild @@ -33,8 +33,8 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') " diff --git a/dev-python/pyside6/pyside6-6.7.2.ebuild b/dev-python/pyside6/pyside6-6.7.2.ebuild index f135f44063cc..0aeb8c1ee230 100644 --- a/dev-python/pyside6/pyside6-6.7.2.ebuild +++ b/dev-python/pyside6/pyside6-6.7.2.ebuild @@ -123,8 +123,8 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') test? ( =dev-qt/qtbase-${QT_PV}[gui] ) " diff --git a/dev-python/pyside6/pyside6-6.7.3.ebuild b/dev-python/pyside6/pyside6-6.7.3.ebuild index fc24ead113d4..43c8f4cb7f4a 100644 --- a/dev-python/pyside6/pyside6-6.7.3.ebuild +++ b/dev-python/pyside6/pyside6-6.7.3.ebuild @@ -123,8 +123,8 @@ RDEPEND="${PYTHON_DEPS} " DEPEND="${RDEPEND} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') test? ( =dev-qt/qtbase-${QT_PV}[gui] ) " diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index 1e0985148461..cc6d12fde9df 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1 +1,2 @@ DIST python-dbusmock-0.32.2.tar.gz 104818 BLAKE2B c0859d38efe9e78f465c5e69980ada2a0309fc654a4a77f213b23e4140d7fad60f497d9a0004c61db1870eaeb3700a5ee46ce2f14b4e570cb3c74ede99c24980 SHA512 09981dddd49e430093996de78d96293c46867fad7ab24e1badde25cda5f60b05324bd203d5738e8f4315c5744809876ac4afd73aa26bcc6afa05fd631c03ceba +DIST python-dbusmock-0.33.0.tar.gz 105903 BLAKE2B 5a101e64d5eff70e7a32d21080cd0051fd5617c8d057fe1cbe465903eda419fab9d0e720b0c72bac2c856d9a1371493c9b01d07ec144c2a847b6c44b65f6dd3c SHA512 419f09a5bfeab4e914c809546f3dc3bd294844116f7f0cd4a6a0b4121493c64fe6587647866323f74ed2818d1d6b45d417e384ea54c6d1244233b2a7b0d8d97d diff --git a/dev-python/python-dbusmock/python-dbusmock-0.33.0.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.33.0.ebuild new file mode 100644 index 000000000000..f9c6b684deac --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.33.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Easily create mock objects on D-Bus for software testing" +HOMEPAGE=" + https://github.com/martinpitt/python-dbusmock/ + https://pypi.org/project/python-dbusmock/ +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + sys-power/upower + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # linter tests, fragile to newer linter versions + tests/test_code.py +) + +src_prepare() { + # dev-python/dbus-python uses autotools, so no .dist-info there + sed -i '/dbus-python/d' pyproject.toml setup.cfg || die + + distutils-r1_src_prepare +} + +python_test() { + # tests are fragile to long socket paths + local -x TMPDIR=/tmp + # Tests break if XDG_DATA_DIRS is modified by flatpak install + unset XDG_DATA_DIRS + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/rfc3161-client/Manifest b/dev-python/rfc3161-client/Manifest new file mode 100644 index 000000000000..4cc411209cc8 --- /dev/null +++ b/dev-python/rfc3161-client/Manifest @@ -0,0 +1,77 @@ +DIST asn1-0.19.0.crate 39162 BLAKE2B 93358d3af5e0c5c00c14de51c571b141b51088951b82134d032ee045f0d6b49525760373ef90d4d54089147ee53a0b4e7c75b67076239a512072873cdad00dba SHA512 6fc613bc843b08e42b8eed1363a8cefb2af940c5bd0234ae4067215453771ae26eb2233a67185c2a1110a1c6ffd6102f6790497f683f109b1ecbe2202b507e96 +DIST asn1-0.20.0.crate 39382 BLAKE2B 01c9180cff6be56f43d99fe0b6cafe0c41ae0c9e1d77bc0eaa10277074043e25188d23905b74414b251d1bd53c42f5454f635caf2eba347d6c36cf5b741112b0 SHA512 6ac04a1e7260476887c72e23b667dab58da9f6c9cda3251b96a839d5d4929b657d2c5f7ec4188ebf36855dba893b038f511104c03a965949c01dd4c5e9b5e076 +DIST asn1_derive-0.19.0.crate 6588 BLAKE2B 67d78bdeb8cdd9e86adcf186d56f5918ef1af92e9dc8ce91cac90096708da9771d59c9d3bac2396d5d08f2d0a506ed8e6595aa2bb00aa977d3200fb145cac038 SHA512 34c01e6a8820b632c11eace12d6522cc99d42e6c2d7be284b50a2caf647855843f00e68bee0594ee02f1c1972486f6dcdd52e0920ed12a0c034fcd41f2921776 +DIST asn1_derive-0.20.0.crate 6998 BLAKE2B 270aeacaf4dbd9991c9f09f9f6fd5dfe67a16660150f8ef1fae74983b8cfd4ded01a0275a3aec47350084d7c49e07cd79a69b14db9d76232eec95211587549dc SHA512 80a5a07c8c241caa5189f21b0e626f03cd375a9899059dab195e4186e89ec6334ed5cc1ac6f04e628693e3e437b61aab7d7beee9636c0f66d4e6b5366cd75101 +DIST autocfg-1.3.0.crate 16524 BLAKE2B 7d5a03853d6b4f0da08d8e139fb200da21e47fa7e50d1956270d0ff0cc496f660f8f800122c95eee9ba98d9210ab200c3010b782097483d12d6be4ac0df0e7c9 SHA512 a5570b955d57a7183ba148b335837dc5af24b202e80681027536d33fe2822509ba644fc70c29f018c893285ced2bf6774f44ca6c59f7c7e2226d5349cf7c3635 +DIST autocfg-1.4.0.crate 17712 BLAKE2B 7f7300439899be03d001dd32b7e797bc4b9a58103081b6f7353c4b5897813cedf870b3fb1fa25d320a75326b334b44d8287e8603de34fc560d0b567143915cc6 SHA512 3b5e7c30bc73e105e4bfcab584c24fc4016db41fac9c356c6649fd841051704bbe8848e09546eb50d7c1f18ea8ce1cb72fbc268a620d5c609b3472114b5be73c +DIST bitflags-2.6.0.crate 45357 BLAKE2B 3a368bd2eb58c095b7b4a46680cc2d90a28e24b2e37c854bbf8647c861c4b8fb37eca827599673c5c7df763048149dd82123d1ede1f8a0e58a6bc23c8250f7e6 SHA512 f9bb3c48931ed7e7e05ec6d13305af5da6b6c18861ff307d7dc17c658f63972c87b70b0527287b3625c8592befc207cfe15550654995faf3862bb12a6d95bacf +DIST block-buffer-0.10.4.crate 10538 BLAKE2B d819c4f9c4be85868e8b105fb7e479d2e58d3ed85c3339bd677a3e111f85cb1ff624a54d7802ab79a6e1d9221115f66388568340480fe83eae1cb448f19f5b11 SHA512 b7d436d8e627e16e6ddc300ee8f706a6cef28ff6f09eff848eedee46f84bdcd03601303c92ab8996042e55922866a59259948177c0a4496eed723523e77f6fdb +DIST byteorder-1.5.0.crate 23288 BLAKE2B 7f85a7948406844070a2c8202e0bd52f73b3dfc7c666a97046128044eb9352195afb80e2bf894c0742ad109e4473339de1365d09591de70dfec6c8c02a8e1453 SHA512 96caf981177f6ded9f27f025922cb94eb0cd9de5303bd91680099912d922092e77b7361efa70011e84f1595e443193e4f1b354443b9980c123f6ae573b236f7f +DIST cc-1.1.28.crate 84424 BLAKE2B 9d617066957c9aa8d3ae86943be8494551624e34d8b1060d86959751fc3f874ef6d83c78235a7905e12ed72c16bfc45666fb36172708c3a53639c99342d34edf SHA512 98571ba96e7967579b70988d9308c8d3616cb1940b84c0d7dbeae837bf31c5a62731fa369b8b9d968ca843638efc7a9791ab76c3cf06deed4348d9d853ddacba +DIST cc-1.2.2.crate 98719 BLAKE2B 7a7722721f98869bfe773ce90c6d756bb5ab76df05b516067528d7285c47cbc80d965aca97c7d7a118515035326c843b1721429e12afd6b15f187f0c59fe18c0 SHA512 5364d3822a566573d45e40a6076d3f9aef20c67f1a5687895f5a76be210a48cc44857ac778e2cce58d3a5dfb07255a3e6e541dd97be8492ae6f66fa18222492c +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST cpufeatures-0.2.14.crate 13165 BLAKE2B 45521d1a4bf2ddc03c6cdb9ceacb900806a03748fd122dd4431f6927d06cbf8608f9830e312b5728dd55b5084476280669129ea80477432fd04fdd68a0e50fb0 SHA512 402c0d6497c65882415841b9eb5953b1dcc1cb35b9fb4512801f3d0e2a056ca95bd32fdf70b6e65a18b048d7df8892c95fef1de975b56b63cfe45460783d5867 +DIST cpufeatures-0.2.16.crate 13405 BLAKE2B 06d061cb2577057bd2afbc8cd6783488595701dbc46772533645d86aed71ba8b20905625b897840c90aaebb41360a286935824ca49bdebc0763a81df4bd64402 SHA512 97707ae1b533ecd3a6fe412a22fb70cf4ac278c2d7dba407fa7dbebd110d06f88a7b3aee3fb7cf4b0b5ca88f6fecf390c4d3e5ccbd4d18a75fc2f93a647e7074 +DIST crypto-common-0.1.6.crate 8760 BLAKE2B f2422bfb89c15d47a8f91c8f6695e05eb56990a922e3cdf3d426044736f9932324c0d899a151a6df4d6683e6a6b21659c657d3988734014c02cd854bb4b924e7 SHA512 471dbc43f517089d2cfe0868e29510c6ca579875b3bb5d013c70796db969b609b6c4bb35c9a07b9a2917012dc5708b717d48e317a20038adbe7e7039bf3ada6f +DIST cryptography-4c72f368234e60a06e4a0beaf87be55940dd49c1.gh.tar.gz 36086621 BLAKE2B 4b910905346e9169d9987801a7d4c4561ab36d7a29a096c7fd06579441032fe0ac11cb173698216719a8a65557e838b6a28986890c6c43ecbd5ed8fd401ff54b SHA512 a03721dc8a600f31bc05a64dc4b2d3e80c63f8ebd935c624e358356c5119b95bb75730992e8f6b8d0e7823875c5cf0639def97431c0bdfbcb91bf6028bfc788c +DIST cryptography-f299a48153650f2dd87716343f2daa7cd39a1f59.gh.tar.gz 36094371 BLAKE2B d7037a45248a7ecce19820d1660e61c7660d71a35873a76445ab8f163cb2ea3b4176fdc6c63aa06a8fa02f52ca6578c562fd9383895c67ca07a23b34de3f5463 SHA512 b08b64533c166134643d198bef762d746481e70c35c451ff0a0a216cd080c497b1c1c92019c7e3ad748e64c73dbfa568cb51eff3e587c33f1c5c7fd07e0d7895 +DIST digest-0.10.7.crate 19557 BLAKE2B 61e69d78cb8d6850ae26ad7ff2d52dd6dce820d8c621230def11cc0e8aa6d883a6e1b25340fb45748db52a8ccf3c8d36a8aa0c8cdf4d4eeb4e3f870d86abe09a SHA512 0dd8c012468ab9011b89413ea4d3647d95b1f683b020a0e6274c95ed5148638b56fef19cd9044c837ad53715b582b88eed277fe96e917c27c5d7abdbf7c3794c +DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 +DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a +DIST generic-array-0.14.7.crate 15950 BLAKE2B e74c785e3127095625951da192a018281ea9976aaeb11019f9088c3f27748c5fed1ef25d577150864486dc48b5138d6892e42f99979339f711a66fc70756c82b SHA512 363a7b04e4102f9ca63d429721c1ada6272be6bf0a2e97da681faf76381f73f0e3acb86623b9ce2dae441de9fda704088391779b9769ec02b3c8c9f9f35f897d +DIST getrandom-0.2.15.crate 37163 BLAKE2B 7d534e799a4711d01c6553b8c9422dbf01e384a850fb0f7cd76e444628f2b96d28d0f5e8dae042f8081a2bf9340f57c558be50a6f22ed5fa6b0301a15898fb35 SHA512 04789a53d3f4a84862e1e8b2113641af67e471b468de1222470d5e6cef0015232463a2cf3c3518dc2a533b3983b175a7c8922da00665bcf71c1e4e279b67e6fb +DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 +DIST hex-0.4.3.crate 13299 BLAKE2B deab49bf3d97f6fd7c0a0855b50232422443b226362bc7a4a19e57c2e662fff2cb046d4c5bd7618ddd523045f3d8c78754508f862f9a8ca29ca9247da6d6ec79 SHA512 fd8ff33b68eea2d6f2c6b02a6d82a2807cbcdc209ca5a76e3e3e5d006917ee151f236b6d18e2646cc9a9674bcdda1d6ce6ee363a89cadd99bef00d0eea9989e6 +DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd4013b0b843d24d2fb81f6566528bfd1753c649646f06cb7e59262bd6ec3ed79d4e6f01d740cf0682355f2e5a SHA512 095fb56a3d87946c42a63065a8b276c2d4b9b835800014b400bb987593bf56701bad9f55d947f090740fdb7641a4f3c87fe8bfa5724709e95254d1e8e2e3616f +DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 +DIST itoa-1.0.14.crate 11210 BLAKE2B b2d33dc384757963eab3ae7d80bb672d828a549967986e3af8c70fe71a0ad46c4a278da2db4dfccef99e804e6cd4934067e97c0697a33ac3302cafbc46eeb416 SHA512 ea2d38df373652ddacccd11e610dfdad4e3ae7f0d476514e6ac58092733c817bd834e8cd88c3bc4178dd5a646ba628ae626195e0aa407e8534ae3c2a7b049987 +DIST libc-0.2.158.crate 751340 BLAKE2B a67318ab24bb86c4df682cdf846d51f5f0a69504567acff43cc6e724f2641521945dc75dddc10c1c265fda960cb28b528575b5d39ce321073844dbddbc77bdb8 SHA512 c2d90d58480cca3464db475d7c70cd66bc1492239d8183038b48def8f5d8a437a1e2a2f084cb2bd9456889221b10aa07981cd5e9bcbb6bea28a2bde3c76f1105 +DIST libc-0.2.167.crate 757723 BLAKE2B 38f1657dea6d13cb6cc87c8cbededa9f0ac280e4f141f780719164451c941ef873cf6348fef7ab249ba7eed1cbf6768c6a8dc9a51796007c8ce31cdd2f90ecaa SHA512 f6690776266836371e5f9e20ec3a93bb17bc4296219755750e4e70e745016245dab9e247fe564e0f21d10d0c7c97ae97bf54da5068464a48ebfac244cf699166 +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa +DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c +DIST once_cell-1.20.2.crate 33394 BLAKE2B 79dd394fcf1637adfef28b4159ec653c8b71d2bda0e0e36a940c04e3d87698f039dc30c97f26648ecf0d9742962f1f0a117568f7c705a8a3fc167085b0ca3e80 SHA512 bc6005bdab7a154c01e2203fb553a68695727475a9a882cf906d49c054ce886ad92cb491d380b6b9fe71a81b2fd690ce91c9a6cf8dfa8508470ac9acfc8a31c8 +DIST openssl-0.10.68.crate 276578 BLAKE2B da7c42f8a87150c76cde12316fe1c170593e76a4bd55176ca5ab7a43c57d5457246bfa91bf7bbf73ca47c87a066789226529fb7ad57c5e93c551baa67f6a9eba SHA512 2b0c7f5a888b0e398ebee9c0fffb6fdb8408c36f96eb99182ebb9e162106c012334554304ddaaa6689d3ae41cdf638ba08187a40088efb95a5e9f6aca032a22f +DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c +DIST openssl-src-300.4.0+3.4.0.crate 9945264 BLAKE2B 48b9ef03714ce571e67b0cd2c347b0b58d76379df66f3630934fa5e0730d7c821452f3b40e1e3b7f7fb9f5d151618cab566f4f27fbbc317532864caeac279880 SHA512 b5f92ff9e34477a59c26bf8f954e59efaf17af70f53d1a7a030f7d5e1ce59e6d8075479a7e40326b63b4e21b4f5dbdf15c9190748ec86f31fbecd83120cc5792 +DIST openssl-src-300.4.1+3.4.0.crate 9945831 BLAKE2B 5ea47b7a9d934bc25999bdbf38e35b6d860c02444367277744c2ce4b43e1ee127f6662076ad1c3e80aa538c957c3e0028df6828c0a01df19cb5e9fa03779a770 SHA512 f0d5ba6af60cdbe7fa926412e1da9cef57c83fd41d9e451a9ed3e69d294e233823bc23ba1b897c40dbaa833274b5b8e2ff30ad6e801e51f26a93cb1594695480 +DIST openssl-sys-0.9.104.crate 72287 BLAKE2B d9af8f2ae8a8dfd53b3bb68433a4dd2a4b30038858ac58aa98d7a23b2d23e0b7c7d8fc36c1733d0330bcb9f51284667b2c32fc5a5bd4d9e1a5df7b98d610a997 SHA512 e812d5323bc0ec7376f176a980dd9856dad6d36513e854d333b93ce8a14c20a9ca61be88db82ba2a8ae4e086df5c3fe6965ed10ac155eb7b502e0225c0124278 +DIST pkg-config-0.3.31.crate 20880 BLAKE2B ab7676e810751f89639b60ae70bdebe1d57edc76319f83077c3680049a701a26e72e8cc485fe77cdc4346fe3571d32c59e7384c8c86fef17e00d7d81df5daf43 SHA512 ac3e8062ee8831a4e4fc717b5247dc7f113da7bf6d64ec95cbca7875959a2afa1497bf81d9dfc27206b5fb10027a2509d51dd9ca1c10139d7b4c78128864fdf4 +DIST portable-atomic-1.10.0.crate 174760 BLAKE2B 9a05d6162c95f5140709cbd005c1997449fb6373700e8ed3966e3379898e95f3cbdb90b387f1c7deb3f1eb33125378852a7168d0d22b433813f6c082112b0365 SHA512 fb47ab53fe240d5b0824dd068c6dda473d3e71ae6f5dfccaa17262a8b6de0e1dde05d83975e53bbfcf43f10ef5c634fc024f94613937927ae93f1adad1dadb19 +DIST portable-atomic-1.7.0.crate 145385 BLAKE2B 7d9622d636677e3adae0f909405090318a9d6189fc18683ed21074e9360f213b44c5213f3561e3dd1f642547c2c2e6682b9e1efa63243c1f12636bb11bd15dbe SHA512 0849edaa7a1f9ea66182443e31691e7839c857240916521bbd6009b5e692b13f5b315df36e656134651386bc50d895ecf6155a906750009514cad8bfc7e57fe2 +DIST ppv-lite86-0.2.20.crate 22478 BLAKE2B 9d68dc36d8148047d571c0147ed29f586f3c6ac9394b56bd955c8ae5bb18f5a8da5369809f7b8c3199074e23660325158c32c62e1bf69a16cb1f5da2a01f5df0 SHA512 6d171f63b42296f7765732fce3af7ea05d0d81f1541ffb3ad86e81210715ef4afe5bc9e58926e97e757aea6ff96a8012c8411eac78be0fd080898318ed21d7d1 +DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 +DIST proc-macro2-1.0.89.crate 49446 BLAKE2B 844c021394e7a2551bc179592a6769d672360150abf92debcb9ac60a94a2e426c48c408f06aeb2128686f5f04d66dc12973714670c21a5063ee6b9f3bae4e671 SHA512 488ab38a04df1d0330309382a7e4f667238cbc9b4d513da6a8f5718f8a762f76cc122af67fefe8f4b021a286b3d23e3ec83d781fe6ac823042a6daf14d147e2f +DIST proc-macro2-1.0.92.crate 52353 BLAKE2B 9aa29fa6f1c56c0392a94a81b4c61953f4d185012cdca37e356817845535da79d7094bf43472ce63109ce479a2fd0cbef4d802afd61daf92c4db303bcac60e7e SHA512 e614f08acc0a7e97ef580479cf5b682378df1ca16f09bfb2296ebb3490a435229dea9d682c621c54ce57e8e1d3b7803eb8ff83c88bd02e07228dba6d02f14aee +DIST pyo3-0.23.1.crate 1072552 BLAKE2B 1d83f3d853eada9d10e7502c76ba665ccd75afe51ad8f09e6b72d076aba4eab5da535bcd9f0d636d9a5a120dd632d67bf89b65fc4372511b042a74bb697be56b SHA512 6f0f457669c0d5d54196e4d7f10a78c8ef1f576ffaf01e11fd142634949e9b1e12c8e4dcf041f9bbe21f7e9b4779ff7ac1b625b3d0ecaf8e448b468aaef7b3f5 +DIST pyo3-0.23.3.crate 1073838 BLAKE2B 5e1ce6a5c5232ebf0399b1b969e737cca12f978f445efec9408ea80b8bc6ac1047125dbefa36149c8a904882d6a64dd24a9bd50f1e8de7afe3a3271e1a0f2d6f SHA512 c80377e8673de8b8e51e2423d102dbcc46605a783c13127215916d69fc600efd67ba5f9cca420cb6859124165ec97fde40eb0a0566d8b4b60708e20b8e6e9b6d +DIST pyo3-build-config-0.23.1.crate 31755 BLAKE2B 7cac76855763159f61c26bf401545d12a95d8d0970ce4a0ae90e5b7ad1d67747af5414c02b8848042b4e2c2aa773d8cfe3b3db077895d12305097457dbd0ea60 SHA512 ec7b47db39e910760373adf3c035d7bef0cf48595562bf8c70d6ecf98ae3a676f19c94302bcf29dae60797b0dcd180498bf41faa65d6a6a268a0e2b14a309e42 +DIST pyo3-build-config-0.23.3.crate 32509 BLAKE2B 9e77701712589dec4ad74b3d0e66ae82c7a01b6f29ed36231d999aaf909f80def59d17916e1900bfff10b1d36a0a48ed4bf9757c817eb6c6269549f3d04bd6d4 SHA512 db8b0aa86e96eeb30a8ab36a8a1ba917b7b9e6918c2193d7466841ef38e689908f7719a5390d35fb9a156aa6bd84348fa99ea8d5a784faf5c5cc4635d9a3fac9 +DIST pyo3-ffi-0.23.1.crate 73993 BLAKE2B 4b16d423f6aec1a4b99aad79976dd17a8039e9a37ec35badb50cbd12001f12b88b7223e2dc6bb67257e821ffc935a3f23876f93941f2495e63ac88e631be51d9 SHA512 7533fdd016afb71a482cec07a61b04b0eaee10eb131e11d9c6d650e090a575896fb5ea243880341a2500b0b8442c36ac7792cb6ed39a2f9bd29645556cdc807e +DIST pyo3-ffi-0.23.3.crate 74064 BLAKE2B ec3cc59e047f780041a05e2bf9fac9d65a6f8ccfb5a3e1c35d7c7918da6ded7e65676888a743d3b4d0fe7b0996e441b722c159eed67360c1e3c5b598160a46cc SHA512 fe4678d4cfe81f065554f0d454345f5f8fde927af1afec9212bb49a67be5080dcc9be84e088612208b7732d2283c2c9168a31b0b6fbd32496520d500e372e161 +DIST pyo3-macros-0.23.1.crate 8064 BLAKE2B 26f0c07d230c6a749848094e84e1cd86d151b1d7639aa17debef73a49c9d15210a6f5ddf20d832f1175ba9fca690edc2be3244aef286112d2d097677558348e2 SHA512 2897b64b1e6695526a74822adc2e6bd6fccd0185918ab5e87561341c5e37382e77094a9e102bd6c817cddc919ed45c1a133cdc1e947ecab2c851328fecf14508 +DIST pyo3-macros-0.23.3.crate 8085 BLAKE2B bf9ea45a8afe7c663da4f3f5c09c23039bbcf9a9ae350eac2b6581a227864d259b1e5c5ea36f9d6f302c26cd957bb4564562b98785eac49233515d7d54453fdf SHA512 23bfcff285db1276f2dcca9895f7672ec6e5aec118039e2cef3cabca0a85eb97f138391cea4da26eb887dff09c65947b165ca83392edcc8640cb283df2929901 +DIST pyo3-macros-backend-0.23.1.crate 70118 BLAKE2B df6e7db9f88bc0fd039c2b0553c3371fcde654bad4528320e0e8cb8ee5ae98b541bf7fe800a872fb5ee43562e07a5b0cd9543f4b5c66b482818107a53e6e49ea SHA512 bb6df78ad712ab6c85535c60d3d5d8aa1b012b175845c6e073ca7b174c558e4a546fed5e62453bc3ce7f46dfaf3b016c01b88e13c8516b18d5024565464c1bf8 +DIST pyo3-macros-backend-0.23.3.crate 70098 BLAKE2B f8ee9c39f743960fc8093bfd53c043fca03b973192e1ab24b48066634e57ea7e74b3ba825ae72380e10569855eec9cb4f0d54f5f8c88dc60e67793257bef8d43 SHA512 9b22e975480f9afc2037587ba85889868a1b543069c2280c65f4cf98e5537708d098bb4885e881c1c9427740c8259988d82176b974900551a4e51097cefb8708 +DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 +DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 +DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e9032fba8eb38a6d1b30180d15e2f89ffa2a162bf6358da41e030098242d81e71dab4321980d0a4f6ddfc2974ce3 SHA512 8198c580b1b9b0429758ffa49cd8138fa3ce724f0dcf73c767ea7e55611d6a2e4c7cad9950896510def500ce4062b594386c947ac3d89425b4e5c9b04d0b8075 +DIST rand_core-0.6.4.crate 22666 BLAKE2B 8b6b66d50aade877f2779c006f8038db450f808c66d73d79efa66c4178dc03db06f12201bf0e7930181c4b0f4030c49b20cce6eb7839763cf2217cad9710789a SHA512 36c67eb845aa2ccca49d6d680f28d418229bbc5a050729e487fe6b9f9f384fdd7b8d67fc6508b90b79ffb3c26688e72feceb3ecae57d3d7f59338aeb62296f79 +DIST rfc3161-client-0.0.4.gh.tar.gz 41498 BLAKE2B ad9b60e47d4afcaa5cf636de26de63fcac12ffa8233df2ac00332fc864722b87f10ac3273f4eca27d583f671a1db232db1efbfb43984ac604b3ec0286b25a884 SHA512 6dadb73171f8741350ba0a8197ba42a7e6a7bd4960bf9e955ef0ab37ec74c02e64765ba0217d4e36a39a07bed4494f3e0ed94c93aeee68ec9f5bb28b6d85e43f +DIST rfc3161-client-0.1.1.gh.tar.gz 40970 BLAKE2B 1df8ff4043beeee74dc475eb305158735a7383d93bf6c5940fa17fae0f0dd3dfacd4c7d533266d1a03d624af710a4ac57253a1fae063c6825c6b9f67a6e38997 SHA512 15415d206bcbde828a322fdf567a2b45a5c8e099d500da34d25d1531481160e02f9f1e61bec1e2e808d8018ecd6e30b0de02f99e0e80b9504019db9d40d0e563 +DIST self_cell-1.0.4.crate 15220 BLAKE2B 9a617058652ab2a2e92434b6eef58a813ce0be5afed9525c4d4c819c25c7cd87aaa12d129c8c4ca9d74c3ea33d81e9dd295f121887070364185b9ab33021544c SHA512 042467e5f3ac0305e2a634df0b9a9379e92b54813e05c3a7652d5327a4a9a784f49e897c968c5c7a87017284d42a889b5420ad18e97ea84183e0283a46dc907a +DIST self_cell-1.1.0.crate 16636 BLAKE2B e13390f77e929084c0cf5f3a4e4af55989f8028128c4f42f318e83890d24b8234075088750f406992d6b0e06e63cecac51f7ac73e74c121502eecfb68a40398f SHA512 06bb4a3c09c76b0814b60641be8f0bc22bdbf1b715a84e740720aad69f4ade1ba27e130e45699a379692b543b0b2f2d0d04c587a48b90e42aabc0d27acfe9465 +DIST sha2-0.10.8.crate 26357 BLAKE2B 1d01b381223a931dc631ad3a1191f5378b1d2f3f9f20474c5f020e366624c73b08330ce8dc4bdd3e63b15f647276f533de655b545b77f70fbedc1a1846f44f0a SHA512 3be73133a6b7690e14acaead47914dc92395dca4191fb657a2ea186fefd0ccd94d12a1121d63a26027d9a9c62b775c53202473edc461587b9dcd75472af77785 +DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a +DIST syn-2.0.77.crate 268784 BLAKE2B adf14ddc4b284ad78dae3c05be7e63a58a85a2ef16c1051b991aa278843ba7231f0da3cf2adc65eb95762d4c88b4e1440cb616c651d3bb568392bb036399304c SHA512 f8030332c3c4ab34fc1e86196eb0eeda9700e5438f2a339591a5968d8bdd3373b523dba4bd998bf578e4247e0019d999d4e9c6d062a1dedcafe18d27b6c9f6d4 +DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 +DIST syn-2.0.90.crate 290584 BLAKE2B 9f469001c1439ffe57c578119653d3021c2709767e8e881441459a190402679f4fb78aa65e7822ff20913801c3be00d9b8f115189ea8e63ed94ed359b40fc9e1 SHA512 44606124f113c259c19edcb2adc1378d8292b422d800604c0e0d1ba89bd2d13d518cf4a6afa58daded54da9cb285464aadb113815406a0f09c5e18f865789ae0 +DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 +DIST typenum-1.17.0.crate 42849 BLAKE2B a6d1162050679e2c4ab2467f3a77d301f6861882eb7c9749f31d047f383dd5bd2ed5846ad63eed99ccc04d6ac36cc697a305861e1d65880b4d2ef04ee0a79b94 SHA512 99773d5d9f850c0602db4bb67dd062b0ade6f086e155216f1bb2fb6569461ba7e1b7c2f2af81ea8833bc3bfcf3fe5033edecb7c438adae63f59d3e30cf63a508 +DIST unicode-ident-1.0.13.crate 43279 BLAKE2B b5e935020d1c9f3aa24f7d382f6b73d6510d654a61ce1c9c024e2e365bb817182e076139f370e822573531356fb78ff7499049b1f29aa1e2f4a2cc74a955b47b SHA512 5ba884f39debe9c8eb0b1d251ca713f7e2bc191d211707ed10cd81465487dbdca53914c19e131edfa1da15af132dc2c346260c3969c61e3747b63399ccb1cc51 +DIST unicode-ident-1.0.14.crate 47547 BLAKE2B 30e0b6d7f3a967aaf5b9d91237008a60c3a8ded53bda901696e23cea3931dd71b01ddab866dca9e31e17c395d5f5a68f2a938655b693e894962568c2cff5ca15 SHA512 7c6dcd1724e8cfedc37546d1abd49088b633dad228097acc73d7b6cab255b223e830c541144e05a00388fd8ca8066f27c18792419cfa58ee9da4460a38d0bc0a +DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 +DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172 +DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db +DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f +DIST zerocopy-0.7.35.crate 152645 BLAKE2B 8f13123c9d9257ac5a5c6954d38c3510fa658624442f7e03cdcc6db5a0977d9f26bb4e277be172b7872ec365cf6e58ac742e5578636f7698f9f37093e9249d9a SHA512 17fcb31c029ae89c01e5bae5fb2bb46bd434120199a3dc2c7fe0012dbbcfe2a0bb38934c4a7d3a4920e3fe47c097403beee554fefa54b66cb390f8b1de638d3c +DIST zerocopy-derive-0.7.35.crate 37829 BLAKE2B badeb7fa5e0bfe93a6788d93fd297604ed31de526b121549300ead3c49d450f49265f499e2e7ce606dcce2b59dd01f7fa817b8fbb3f237475185c5b42f5299c4 SHA512 dbe23573b62a6267d7bc8c744320b75b2fbda03b908c1d175211f7394374fe182bce58021e25485c10671d726b2007f250565dfe53134d51c89293bb607e9feb diff --git a/dev-python/rfc3161-client/metadata.xml b/dev-python/rfc3161-client/metadata.xml new file mode 100644 index 000000000000..7ad11570cc7d --- /dev/null +++ b/dev-python/rfc3161-client/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/rfc3161-client/rfc3161-client-0.0.4.ebuild b/dev-python/rfc3161-client/rfc3161-client-0.0.4.ebuild new file mode 100644 index 000000000000..1c1f7efe3549 --- /dev/null +++ b/dev-python/rfc3161-client/rfc3161-client-0.0.4.ebuild @@ -0,0 +1,110 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + asn1@0.19.0 + asn1_derive@0.19.0 + autocfg@1.3.0 + bitflags@2.6.0 + block-buffer@0.10.4 + byteorder@1.5.0 + cc@1.1.28 + cfg-if@1.0.0 + cpufeatures@0.2.14 + crypto-common@0.1.6 + digest@0.10.7 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + generic-array@0.14.7 + getrandom@0.2.15 + heck@0.5.0 + hex@0.4.3 + indoc@2.0.5 + itoa@1.0.11 + libc@0.2.158 + memoffset@0.9.1 + once_cell@1.19.0 + openssl-macros@0.1.1 + openssl-src@300.4.0+3.4.0 + openssl-sys@0.9.104 + openssl@0.10.68 + pkg-config@0.3.31 + portable-atomic@1.7.0 + ppv-lite86@0.2.20 + proc-macro2@1.0.86 + proc-macro2@1.0.89 + pyo3-build-config@0.23.1 + pyo3-ffi@0.23.1 + pyo3-macros-backend@0.23.1 + pyo3-macros@0.23.1 + pyo3@0.23.1 + quote@1.0.37 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + self_cell@1.0.4 + sha2@0.10.8 + shlex@1.3.0 + syn@2.0.77 + syn@2.0.87 + target-lexicon@0.12.16 + typenum@1.17.0 + unicode-ident@1.0.13 + unindent@0.2.3 + vcpkg@0.2.15 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +declare -A GIT_CRATES=( + [cryptography-x509]='https://github.com/pyca/cryptography;4c72f368234e60a06e4a0beaf87be55940dd49c1;cryptography-%commit%/src/rust/cryptography-x509' +) + +inherit cargo distutils-r1 + +DESCRIPTION="An Opinionated Python RFC3161 Client" +HOMEPAGE=" + https://github.com/trailofbits/rfc3161-client/ + https://pypi.org/project/rfc3161-client/ +" +# no tests in sdist, as of 0.0.4 +SRC_URI=" + https://github.com/trailofbits/rfc3161-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + =dev-python/cryptography-43*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest + + cargo_src_test --manifest-path rust/Cargo.toml + cargo_src_test --manifest-path rust/tsp-asn1/Cargo.toml +} diff --git a/dev-python/rfc3161-client/rfc3161-client-0.1.1.ebuild b/dev-python/rfc3161-client/rfc3161-client-0.1.1.ebuild new file mode 100644 index 000000000000..67be3843060e --- /dev/null +++ b/dev-python/rfc3161-client/rfc3161-client-0.1.1.ebuild @@ -0,0 +1,107 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +CRATES=" + asn1@0.20.0 + asn1_derive@0.20.0 + autocfg@1.4.0 + bitflags@2.6.0 + block-buffer@0.10.4 + byteorder@1.5.0 + cc@1.2.2 + cfg-if@1.0.0 + cpufeatures@0.2.16 + crypto-common@0.1.6 + digest@0.10.7 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + generic-array@0.14.7 + getrandom@0.2.15 + heck@0.5.0 + hex@0.4.3 + indoc@2.0.5 + itoa@1.0.14 + libc@0.2.167 + memoffset@0.9.1 + once_cell@1.20.2 + openssl-macros@0.1.1 + openssl-src@300.4.1+3.4.0 + openssl-sys@0.9.104 + openssl@0.10.68 + pkg-config@0.3.31 + portable-atomic@1.10.0 + ppv-lite86@0.2.20 + proc-macro2@1.0.92 + pyo3-build-config@0.23.3 + pyo3-ffi@0.23.3 + pyo3-macros-backend@0.23.3 + pyo3-macros@0.23.3 + pyo3@0.23.3 + quote@1.0.37 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + self_cell@1.1.0 + sha2@0.10.8 + shlex@1.3.0 + syn@2.0.90 + target-lexicon@0.12.16 + typenum@1.17.0 + unicode-ident@1.0.14 + unindent@0.2.3 + vcpkg@0.2.15 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + zerocopy-derive@0.7.35 + zerocopy@0.7.35 +" + +declare -A GIT_CRATES=( + [cryptography-x509]='https://github.com/pyca/cryptography;f299a48153650f2dd87716343f2daa7cd39a1f59;cryptography-%commit%/src/rust/cryptography-x509' +) + +inherit cargo distutils-r1 + +DESCRIPTION="An Opinionated Python RFC3161 Client" +HOMEPAGE=" + https://github.com/trailofbits/rfc3161-client/ + https://pypi.org/project/rfc3161-client/ +" +# no tests in sdist, as of 0.0.4 +SRC_URI=" + https://github.com/trailofbits/rfc3161-client/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="Apache-2.0" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + =dev-python/cryptography-44*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest + + cargo_src_test +} diff --git a/dev-python/scikit-image/Manifest b/dev-python/scikit-image/Manifest index 29998cb5ffb7..64265f8172a8 100644 --- a/dev-python/scikit-image/Manifest +++ b/dev-python/scikit-image/Manifest @@ -1,2 +1,3 @@ DIST scikit-image-data-15735b54e85c02427f07c71e6456723495034805.tar.bz2 143900901 BLAKE2B c1352e76337250fe1a9d6e07f08b6c9b1e0aed922ab8e0a3a4a1ea175f593b3375522e59550d30a22d392c34fef26d638c007c2af3d991887e02e7c68e56ebbb SHA512 d113dd258b35be710d841f9900cfbfe7103d1190b042489de88dd504b56277edac9a98fed5517e57725c5292fe26528267a06ff313bf6500b669d872c4481146 DIST scikit_image-0.24.0.tar.gz 22693928 BLAKE2B f165f702908fe446b459de3db0ec056a4b79d7266f85bc81c991569c1e492c22d238e8553d8f035abd83d4d3c4b449304e74b55d8bf558cac977c3ea5f0c864a SHA512 becb062725b4c1f64e12a1f775175e48dbce1b989c1e8f40ec04ff79cb926740be514b9a0a68e3f9e17fb0d3c7b860c7451b91eb178bbae93521e02e3e8e92db +DIST scikit_image-0.25.0rc2.tar.gz 22697011 BLAKE2B 55fa48357343ff7663c5a956042e8914b62fe78b82085035276fb11cf10864f1d06a3f31247b766c294b91419825c3199c22b533c4e6207b5bdb152090aefbcc SHA512 4c418f6eebba394dab7d297deafc518be815be205f7701458b1adf3a9d3102c7be76ebd93d72fac78d990bfa0e06e749925c995e23315f2c23da560f93cf6867 diff --git a/dev-python/scikit-image/scikit-image-0.25.0_rc2.ebuild b/dev-python/scikit-image/scikit-image-0.25.0_rc2.ebuild new file mode 100644 index 000000000000..1090121e651e --- /dev/null +++ b/dev-python/scikit-image/scikit-image-0.25.0_rc2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=meson-python +DISTUTILS_EXT=1 +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 optfeature pypi + +TEST_DATA_COMMIT=15735b54e85c02427f07c71e6456723495034805 +DESCRIPTION="Image processing routines for SciPy" +HOMEPAGE=" + https://scikit-image.org/ + https://github.com/scikit-image/scikit-image/ + https://pypi.org/project/scikit-image/ +" +SRC_URI+=" + test? ( + https://gitlab.com/scikit-image/data/-/archive/${TEST_DATA_COMMIT}/scikit-image-data-${TEST_DATA_COMMIT}.tar.bz2 + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/imageio-2.36[${PYTHON_USEDEP}] + >=dev-python/lazy-loader-0.4[${PYTHON_USEDEP}] + >=dev-python/networkx-3.0[${PYTHON_USEDEP}] + >=dev-python/numpy-1.24[${PYTHON_USEDEP}] + >=dev-python/pillow-10.1[${PYTHON_USEDEP}] + >=dev-python/scipy-1.11.2[sparse(+),${PYTHON_USEDEP}] + >=dev-python/tifffile-2022.8.12[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-python/cython-3.0.4[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-localserver[${PYTHON_USEDEP}] + ) +" + +# xdist does not work with this test suite +distutils_enable_tests pytest +# There is a programmable error in your configuration file: +#distutils_enable_sphinx doc/source dev-python/numpydoc dev-python/myst-parser + +src_test() { + # for some reason, upstream refetches data that's already in the tarball + # sigh + mkdir -p "${HOME}/.cache/scikit-image" || die + mv skimage "${HOME}/.cache/scikit-image/${PV/_/}" || die + + # This is a true horror, sigh + local cache_dir=${HOME}/.cache/scikit-image/${PV/_/}/data + pushd "${WORKDIR}/data-${TEST_DATA_COMMIT}" >/dev/null || die + cp Tests_besides_Equalize_Otsu/add18_entropy/rank_filters_tests_3d.npz \ + Tests_besides_Equalize_Otsu/gray_morph_output.npz \ + brain.tiff cells3d.tif eagle.png \ + "${cache_dir}/" || die + cp Normal_Epidermis_and_Dermis_with_Intradermal_Nevus_10x.JPG "${cache_dir}"/skin.jpg || die + cp pivchallenge/B/B001_1.tif "${cache_dir}"/pivchallenge-B-B001_1.tif || die + cp pivchallenge/B/B001_2.tif "${cache_dir}"/pivchallenge-B-B001_2.tif || die + cp kidney-tissue-fluorescence.tif "${cache_dir}"/kidney.tif || die + cp lily-of-the-valley-fluorescence.tif "${cache_dir}"/lily.tif || die + cp astronaut_rl.npy "${cache_dir}/../restoration/tests/" || die + popd > /dev/null || die + + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # tests for downloading all data files, including these not needed + # by any actual tests + data/tests/test_data.py::test_download_all_with_pooch + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs skimage -p localserver -o xfail_strict=False +} + +pkg_postinst() { + optfeature "FITS io capability" dev-python/astropy + optfeature "GTK" dev-python/pygtk + optfeature "io plugin providing most standard formats" dev-python/imread + optfeature "plotting" dev-python/matplotlib + optfeature "wavelet transformations" dev-python/pywavelets + optfeature "io plugin providing a wide variety of formats, including specialized formats using in medical imaging." dev-python/simpleitk +} diff --git a/dev-python/shiboken2/shiboken2-5.15.14.ebuild b/dev-python/shiboken2/shiboken2-5.15.14.ebuild index 43691cbb5b07..8a743441d896 100644 --- a/dev-python/shiboken2/shiboken2-5.15.14.ebuild +++ b/dev-python/shiboken2/shiboken2-5.15.14.ebuild @@ -45,8 +45,8 @@ QT_PV="$(ver_cut 1-3)*:5" RDEPEND="${PYTHON_DEPS} =dev-qt/qtcore-${QT_PV} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') docstrings? ( >=dev-libs/libxml2-2.6.32 diff --git a/dev-python/shiboken6/shiboken6-6.7.2.ebuild b/dev-python/shiboken6/shiboken6-6.7.2.ebuild index f9d2f6465a20..fb96d15af9f9 100644 --- a/dev-python/shiboken6/shiboken6-6.7.2.ebuild +++ b/dev-python/shiboken6/shiboken6-6.7.2.ebuild @@ -45,8 +45,8 @@ QT_PV="$(ver_cut 1-3)*:6" RDEPEND="${PYTHON_DEPS} =dev-qt/qtbase-${QT_PV} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') docstrings? ( >=dev-libs/libxml2-2.6.32 diff --git a/dev-python/shiboken6/shiboken6-6.7.3.ebuild b/dev-python/shiboken6/shiboken6-6.7.3.ebuild index 8651df50faa9..8e8ea155a226 100644 --- a/dev-python/shiboken6/shiboken6-6.7.3.ebuild +++ b/dev-python/shiboken6/shiboken6-6.7.3.ebuild @@ -45,8 +45,8 @@ QT_PV="$(ver_cut 1-3)*:6" RDEPEND="${PYTHON_DEPS} =dev-qt/qtbase-${QT_PV} $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - sys-devel/llvm:${LLVM_SLOT} + llvm-core/clang:${LLVM_SLOT} + llvm-core/llvm:${LLVM_SLOT} ') docstrings? ( >=dev-libs/libxml2-2.6.32 diff --git a/dev-python/sigstore/Manifest b/dev-python/sigstore/Manifest index f166a02a3213..69246c63df9c 100644 --- a/dev-python/sigstore/Manifest +++ b/dev-python/sigstore/Manifest @@ -1 +1,2 @@ DIST sigstore-python-3.5.3.gh.tar.gz 201724 BLAKE2B 7b73ecd51944bc461213044931b7cfd3986442e9dc380cad5093c5f8dba82142c4a556bf9e43d869373df3d4ec07d8f023dde907045b2a172cfa06fd874e5907 SHA512 53d9876470156f91eb21e4e32ef1f61101e4a4011b689ad0b808414e19296266f66fc2bde1d5ad8178c3bb71824e1b30213672d8f1a311fb80a9fb4623a8a1cc +DIST sigstore-python-3.6.0.gh.tar.gz 235198 BLAKE2B f0b7acdc6cb3b903b7938c319d220479e4e0532fbb625f4e6543b76e12ca32e6e551eb51c9d383fcea996ff410599a36d463fb53b88c8b44bc08d5a15a82b03a SHA512 cde7ae0df8f727659ed4c803143c1b49bb1045c9e96b137f095896b66a8b04269201f93e481965b6eca72b050468ba0c7a56ceb51f44523de90d114b23deff89 diff --git a/dev-python/sigstore/sigstore-3.6.0.ebuild b/dev-python/sigstore/sigstore-3.6.0.ebuild new file mode 100644 index 000000000000..765d60c6ae8d --- /dev/null +++ b/dev-python/sigstore/sigstore-3.6.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 2024 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 + +MY_P=sigstore-python-${PV} +DESCRIPTION="A tool for signing Python package distributions" +HOMEPAGE=" + https://github.com/sigstore/sigstore-python/ + https://pypi.org/project/sigstore/ +" +# no tests in sdist, as of 3.3.0 +SRC_URI=" + https://github.com/sigstore/sigstore-python/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/cryptography-44[${PYTHON_USEDEP}] + >=dev-python/cryptography-42[${PYTHON_USEDEP}] + >=dev-python/id-1.1.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-23.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.6[${PYTHON_USEDEP}] + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.1[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ~dev-python/rfc3161-client-0.0.4[${PYTHON_USEDEP}] + >=dev-python/rfc8785-0.1.2[${PYTHON_USEDEP}] + >=dev-python/rich-13.0[${PYTHON_USEDEP}] + ~dev-python/sigstore-protobuf-specs-0.3.2[${PYTHON_USEDEP}] + ~dev-python/sigstore-rekor-types-0.0.18[${PYTHON_USEDEP}] + >=dev-python/tuf-5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib-resources-5.7[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:~=:>=:' pyproject.toml || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/unit --skip-online +} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 7fb59715c933..0a37ec1317db 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,6 +1,7 @@ DIST spyder-5.5.6.gh.tar.gz 16304234 BLAKE2B 9d14b96901276ced1644eef8dd57539036aecb067ee361b6581368b371d56b2008350969224992a35fe10ee177babca7f3e941f43b4cc3f432f6d0dec9104ead SHA512 93ce6ac2e71bd4e81ca4a630a6fe152d1bf3c83d6e5c01dda8f3e5ad2735de1948a86642f5bc589c90616935e997526b26367ce178905ad2b80faf81f36f9164 DIST spyder-6.0.1.gh.tar.gz 15703963 BLAKE2B 5d4488fffe4889e5609a73c849172a08ed192dfe027940e8931da2ff4d809e52ddf3095c75813ca65225a372e86aece698fd83d5844aa76c5837f98d9c95c137 SHA512 034474c7feb341c5a0f6837ce2c0de6b6a6cc435c63e6d346c389977374b59a1b201495f2d6a692241245d81abda02dbd2a30c57c706506d23033c7347ccade0 DIST spyder-6.0.2.gh.tar.gz 15751459 BLAKE2B fe20e477ced8f1fd8707691732f9c848b8f67481ae5b5728be65827c482ddf3cb210757675cf79623bf6413c0a44ce26017cdeed18787ddc0906847ff9a0c399 SHA512 ec9f9eb3a1a63947f73018b4a232c5301a01c9fe555980882a87fd2ab60c22919a47d586a1807d859a35f1a425212bc97c59d7659e37a52e3459b32249f18d67 +DIST spyder-6.0.3.gh.tar.gz 15774411 BLAKE2B a9089c4d94e29cd38f2a80606ccd51daf443953f605dba22a1d7709b583add24d1a35b519a068e53b111bb96e04c27cb0a49b3d8f6fc88ac2f0e4667146361d0 SHA512 2f71667b54b8e8b85d862cb0e16d3657a2d1ce81bafa3170335866725c63e29e2349d8bff9a34422c9ff018677fd92f98d7f0ff22a064fe08e425492df216091 DIST spyder-docs-6951e02799fc7cd1f29456f1d93cfdcb570dad27.gh.tar.gz 93033557 BLAKE2B 395dd2a8ddb6e1b1408ba46cbe0fa452c1f2e69da1f3b6176401ff7395ace1463e63c696e13ee0b79f992b0ceca86228ad113f95ed7873db1b970452bc679f89 SHA512 c631e720e3ca49413482df294fb032285cf217ba94de299c37cb073e4e2bdeb629d16a139db17c569c74c628c50789c90d6085383886d32fa26b942711ccedc0 DIST spyder-docs-d153e129b426b4fc95b1d66e692bf8a78cf40790.gh.tar.gz 93358065 BLAKE2B 7ad139ac9496d1817b0a8a69ba84bbbcd92081c5dd1d885011cbf8cc8cb4180f84a95222a0d89b3d41c352cb64e9ef87a8b31220e3d14e3efc63994f0623f07a SHA512 701e20113ae7b4894a4c08db967fbd7cbfbc894c4e5db74ad98451ebd03b8858ddfb3910238659f79a28e5e6cc9f76e05967ad7d8c4e27b0b5e6ea0551b2ceac DIST spyder-docs-fa91f0e9c8c2da33e7ec974e6b0e2a5ed6f04b10.gh.tar.gz 93358798 BLAKE2B 81f4d1d7b1244cb05df621e764c57e856952d9ec1b923a0d6529280651f8e15c586be0c7fe1dc65eed3792033cf0f1e5e8813d79706dbbfca0dcff29cb476831 SHA512 39d0a2d6ef45ebfd3e656916bad18adb7b4f3981e619dcb16fc6160b445cf80a264c4fd8d82f61a51a55774bf2f2a08ac0b1fb4201b2cce9046a0ddd1062daa5 diff --git a/dev-python/spyder/files/spyder-6.0.3-no-dep-on-importlib.patch b/dev-python/spyder/files/spyder-6.0.3-no-dep-on-importlib.patch new file mode 100644 index 000000000000..5523b40bdf07 --- /dev/null +++ b/dev-python/spyder/files/spyder-6.0.3-no-dep-on-importlib.patch @@ -0,0 +1,50 @@ +diff --git a/requirements/main.yml b/requirements/main.yml +index 7371c0ecd..74b3b55ac 100644 +--- a/requirements/main.yml ++++ b/requirements/main.yml +@@ -14,8 +14,6 @@ dependencies: + - cookiecutter >=1.6.0 + - diff-match-patch >=20181111 + - fzf >=0.42.0 +- # Need at least some compatibility with python 3.10 features +- - importlib-metadata >=4.6.0 + - intervaltree >=3.0.2 + - ipython >=8.13.0,<9.0.0,!=8.17.1 + - jedi >=0.17.2,<0.20.0 +diff --git a/setup.py b/setup.py +index bde2452a4..36ba50ff5 100644 +--- a/setup.py ++++ b/setup.py +@@ -260,9 +260,6 @@ def run(self): + 'cloudpickle>=0.5.0', + 'cookiecutter>=1.6.0', + 'diff-match-patch>=20181111', +- # While this is only required for python <3.10, it is safe enough to +- # install in all cases and helps the tests to pass. +- 'importlib-metadata>=4.6.0', + 'intervaltree>=3.0.2', + 'ipython>=8.12.2,<8.13.0; python_version=="3.8"', + 'ipython>=8.13.0,<9.0.0,!=8.17.1; python_version>"3.8"', +diff --git a/spyder/dependencies.py b/spyder/dependencies.py +index 67eea346d..e1026f8e5 100644 +--- a/spyder/dependencies.py ++++ b/spyder/dependencies.py +@@ -42,7 +42,6 @@ + CLOUDPICKLE_REQVER = '>=0.5.0' + COOKIECUTTER_REQVER = '>=1.6.0' + DIFF_MATCH_PATCH_REQVER = '>=20181111' +-IMPORTLIB_METADATA_REQVER = '>=4.6.0' + INTERVALTREE_REQVER = '>=3.0.2' + IPYTHON_REQVER = ">=8.12.2,<8.13.0" if PY38 else ">=8.13.0,<9.0.0,!=8.17.1" + JEDI_REQVER = '>=0.17.2,<0.20.0' +@@ -130,10 +129,6 @@ + 'package_name': "diff-match-patch", + 'features': _("Compute text file diff changes during edition"), + 'required_version': DIFF_MATCH_PATCH_REQVER}, +- {'modname': 'importlib_metadata', +- 'package_name': 'importlib-metadata', +- 'features': _('Access the metadata for a Python package'), +- 'required_version': IMPORTLIB_METADATA_REQVER}, + {'modname': "intervaltree", + 'package_name': "intervaltree", + 'features': _("Compute folding range nesting levels"), diff --git a/dev-python/spyder/spyder-6.0.3.ebuild b/dev-python/spyder/spyder-6.0.3.ebuild new file mode 100644 index 000000000000..18f16ca34939 --- /dev/null +++ b/dev-python/spyder/spyder-6.0.3.ebuild @@ -0,0 +1,198 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature xdg #virtualx + +# Commit of documentation to fetch +DOCS_PV="fa91f0e9c8c2da33e7ec974e6b0e2a5ed6f04b10" + +DESCRIPTION="The Scientific Python Development Environment" +HOMEPAGE=" + https://www.spyder-ide.org/ + https://github.com/spyder-ide/spyder/ + https://pypi.org/project/spyder/ +" +SRC_URI=" + https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/aiohttp-3.9.3[${PYTHON_USEDEP}] + >=dev-python/asyncssh-2.14.0[${PYTHON_USEDEP}] + <dev-python/asyncssh-3.0.0[${PYTHON_USEDEP}] + >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] + >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] + >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}] + >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}] + >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}] + >=dev-python/jellyfish-0.7[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}] + >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}] + >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}] + >=dev-python/psutil-5.3[${PYTHON_USEDEP}] + >=dev-python/pygithub-2.3.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pylint-venv-3.0.2[${PYTHON_USEDEP}] + >=dev-python/python-lsp-black-2.0.0[${PYTHON_USEDEP}] + <dev-python/python-lsp-black-3.0.0[${PYTHON_USEDEP}] + >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}] + >=dev-python/pyuca-1.2[${PYTHON_USEDEP}] + >=dev-python/qdarkstyle-3.2.0[${PYTHON_USEDEP}] + <dev-python/qdarkstyle-3.3.0[${PYTHON_USEDEP}] + >=dev-python/qstylizer-0.2.2[${PYTHON_USEDEP}] + >=dev-python/qtawesome-1.3.1[${PYTHON_USEDEP}] + <dev-python/qtawesome-1.4.0[${PYTHON_USEDEP}] + >=dev-python/qtconsole-5.6.1[${PYTHON_USEDEP}] + <dev-python/qtconsole-5.7.0[${PYTHON_USEDEP}] + >=dev-python/qtpy-2.4.0[${PYTHON_USEDEP},quick,svg,webengine] + >=dev-python/rtree-0.9.7[${PYTHON_USEDEP}] + >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] + >=dev-python/spyder-kernels-3.0.2[${PYTHON_USEDEP}] + <dev-python/spyder-kernels-3.1.0[${PYTHON_USEDEP}] + >=dev-python/superqt-0.6.2[${PYTHON_USEDEP}] + <dev-python/superqt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}] + >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}] + >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}] + >=dev-python/yarl-1.9.4[${PYTHON_USEDEP}] +" + +# BDEPEND=" +# test? ( +# dev-python/cython[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/matplotlib[tk,${PYTHON_USEDEP}] +# dev-python/pandas[${PYTHON_USEDEP}] +# dev-python/pillow[${PYTHON_USEDEP}] +# dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] +# dev-python/pytest-mock[${PYTHON_USEDEP}] +# dev-python/pytest-order[${PYTHON_USEDEP}] +# dev-python/pytest-qt[${PYTHON_USEDEP}] +# dev-python/pytest-timeout[${PYTHON_USEDEP}] +# dev-python/pyyaml[${PYTHON_USEDEP}] +# dev-python/qtpy[${PYTHON_USEDEP}] +# dev-python/scipy[${PYTHON_USEDEP}] +# dev-python/sympy[${PYTHON_USEDEP}] +# )" + +# Based on the courtesy of Arfrever +# This patch removes a call to update-desktop-database during build +# This fails because access is denied to this command during build +PATCHES=( + "${FILESDIR}/${PN}-5.0.0-build.patch" + "${FILESDIR}/${PN}-6.0.3-no-dep-on-importlib.patch" +) + +DOCS=( + "AUTHORS.txt" + "Announcements.md" + "CHANGELOG.md" + "CODE_OF_CONDUCT.md" + "CONTRIBUTING.md" + "NOTICE.txt" + "README.md" + "RELEASE.md" +) + +# distutils_enable_tests pytest +# TODO: Package sphinx-design +# distutils_enable_sphinx docs/doc \ +# dev-python/sphinx-panels \ +# dev-python/pydata-sphinx-theme \ +# dev-python/sphinx-multiversion + +python_prepare_all() { + # move docs into workdir + mv ../spyder-docs-${DOCS_PV}* docs || die + + # these dependencies are packaged separately: + # dev-python/spyder-kernels, + # dev-python/python-lsp-server, + # dev-python/qdarkstyle + rm -r external-deps/* || die + # runs against things packaged in external-deps dir + rm conftest.py || die + + # Do not depend on pyqt5<5.16, this dependency is carried by QtPy[pyqt5] + # Do not depend on pyqtwebengine<5.16, this dependency is carried by QtPy[webengine] + # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server + # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder + # Do not depend on ipython, this dependency is carried in spyder-kernels + # The explicit version requirements only make things more complicated, if e.g. + # pyls-spyder gains compatibility with a newer version of python-lsp-server + # in a new release it will take time for this information to propagate into + # the next spyder release. So just remove the dependency and let the other + # ebuilds handle the version requirements to speed things up and prevent + # issues such as Bug 803269. + sed -i \ + -e "/'pyqt5[ 0-9<=>.,]*',/d" \ + -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \ + -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \ + -e "/'parso[ 0-9<=>.,]*',/d" \ + -e "/'jedi[ 0-9<=>.,]*',/d" \ + -e "/'pylint[ 0-9<=>.,]*',/d" \ + setup.py || die + # -e "/'ipython[ 0-9<=>.,]*',/d" \ + sed -i \ + -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \ + -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \ + -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \ + -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \ + -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \ + spyder/dependencies.py || die + # -e "/^IPYTHON_REQVER/c\IPYTHON_REQVER = '>=0.0.1'" \ + + # do not check deps, fails because we removed dependencies above + sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \ + spyder/tests/test_dependencies_in_sync.py || die + + # skip online test + rm spyder/widgets/github/tests/test_github_backend.py || die + + export SPYDER_QT_BINDING=pyqt6 + + distutils-r1_python_prepare_all +} + +# Calling pytest directly somehow passes the pytest arguments to spyder +# causing an invalid argument error +# python_test() { +# virtx "${EPYTHON}" runtests.py +# } + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib + optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas + optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy + optfeature "Symbolic mathematics in the IPython console" dev-python/sympy + optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy + optfeature "Run Cython files in the IPython console" dev-python/cython + optfeature "The hdf5/h5py plugin" dev-python/h5py + optfeature "The line profiler plugin" dev-python/spyder-line-profiler + optfeature "Vim key bindings" dev-python/spyder-vim + optfeature "Unittest support" dev-python/spyder-unittest + optfeature "System terminal inside spyder" dev-python/spyder-terminal + optfeature "Jupyter notebook support" dev-python/spyder-notebook + # spyder-memory-profiler is not compatible with spyder-5.2+ yet + # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler + # spyder-reports not yet updated to >=spyder-4.0.0 + # optfeature "Markdown reports using Pweave" dev-python/spyder-reports + # Plugins with no release yet: + # optfeature "Manage virtual environments and packages" dev-python/spyder-env-manager + # optfeature "VCS (e.g. git) integration" dev-python/spyder-vcs +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 722bd1ad7499..efecaf897ebb 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -13,9 +13,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 quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 -DIST sqlglot-25.33.0.tar.gz 19759713 BLAKE2B 238af5c257d9eff2efb6c785134c3f3c42d31d1ec6c289e2bd7b2948ed898c2f44ecd7ce185042d006ce8032e6be75933bebef75741115365589a43e330c7a4b SHA512 e9d21abc3d05d69c6f4b25be83c996bad06115847ec389b76d036b8f1f81debf6c14cf2432019a91dfd87188ad03f457047f17ba1854278192980d565fe94b18 -DIST sqlglot-25.34.0.tar.gz 19770469 BLAKE2B 764ef90d3b446c854e18a73a08559201a52a365f5565cd700ea1e9f006eab2ec50c0eacefb18c8221958ab6b8aa6f5174e78f3243a7817837af510e388b17fa1 SHA512 8c97ebcf0082dcd05ab588ec94e47cb324f670a02ad25db770637e76b412c1616dbf4298dd0923b4e237149ed6556a46859e64ca605fa566a9792ce1f7726ef0 DIST sqlglot-25.34.1.tar.gz 19772522 BLAKE2B 70ec20f25436858df7ae116d7c5cb68439b28601384a94e82343d45d3a3ebdd5bf2cae7f1455f9bb37144923eaf0ca0d4d5aa8a4b28ff36c767c0a38a3443d56 SHA512 62580df95d3984c8967e0c883156ba6bb089ce2180b24cb09d53d2e84c5ed2462808f7ce6858e3a91243a7ce25f5157dca5a0efe161afab0ccdb1428d9b918bb +DIST sqlglot-26.0.0.tar.gz 19775305 BLAKE2B 8c727ff5d8dee15acadd870171cf430cf10403fc50c40420df4f31d31e501ea1a1dc43c3e450fa1a2a372e815adc205539cf97124a419a7df0342d2e2c0f8e98 SHA512 6f1f9300af5c183aa19cbbb337a6bd47a7e512e583d33279484e7fac447c52ba45c89afe1ca6dd1a3dbeb7193de234f1f0f568c3cb061cdbf0987705ea389875 DIST syn-2.0.87.crate 278076 BLAKE2B 93385f64103fdb482bec34c7912474ae7a5935948715e6eb9a54907e0db5c39f089f6cd393bab33c935c59a1bbb0f4099431f206343811c1a450554d96a35756 SHA512 bcfff545d6dfefd81e09f8f30a86bdd85759b3a7d4093ef3365ed02718e10dbd604c52b94c9d7fa955d339fdc5b6c079940c6f345b5a48c52b5c8607794ca6f2 DIST target-lexicon-0.12.16.crate 26488 BLAKE2B e7950e4a302059a1bfc9bc15618a3c1b971a17cffae117a6e8f5f63a0d82fd2bd02680301d15338612d5426d349dd24cfee30ee787a15a7d3187f2a6825e69ce SHA512 092639957c4a0391560b6442b31c47159c04d12e971010f730a6ec9cb5389e4be903ef3d7daa06db95e64dc78b6970731fb647179ebaad2b12e9ed5e9b24da27 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 diff --git a/dev-python/sqlglot/sqlglot-25.34.0.ebuild b/dev-python/sqlglot/sqlglot-25.34.0.ebuild deleted file mode 100644 index d48438a800cd..000000000000 --- a/dev-python/sqlglot/sqlglot-25.34.0.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - cfg-if@1.0.0 - heck@0.5.0 - indoc@2.0.4 - libc@0.2.150 - memoffset@0.9.0 - once_cell@1.19.0 - portable-atomic@1.9.0 - proc-macro2@1.0.89 - pyo3-build-config@0.22.6 - pyo3-ffi@0.22.6 - pyo3-macros-backend@0.22.6 - pyo3-macros@0.22.6 - pyo3@0.22.6 - quote@1.0.37 - syn@2.0.87 - target-lexicon@0.12.16 - unicode-ident@1.0.12 - unindent@0.2.3 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) - test? ( - dev-python/pytz[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -pkg_setup() { - use native-extensions && rust_pkg_setup -} - -src_unpack() { - cargo_src_unpack -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # timing, sigh - # https://github.com/tobymao/sqlglot/issues/3961 - tests/test_generator.py::TestGenerator::test_generate_nested_binary - ) - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-25.33.0.ebuild b/dev-python/sqlglot/sqlglot-26.0.0.ebuild index d48438a800cd..d48438a800cd 100644 --- a/dev-python/sqlglot/sqlglot-25.33.0.ebuild +++ b/dev-python/sqlglot/sqlglot-26.0.0.ebuild diff --git a/dev-python/sqlparse/Manifest b/dev-python/sqlparse/Manifest index 8a28c7bdcaca..a51597243640 100644 --- a/dev-python/sqlparse/Manifest +++ b/dev-python/sqlparse/Manifest @@ -1 +1,2 @@ DIST sqlparse-0.5.2.tar.gz 84951 BLAKE2B a270c94bc54de65f7c18549c262e40348cf7961cdd44c33dbcccdc7da59fe89ae1e746982b5f70cf859a2e16ca7721537f976ebce31f9664873c7182ebdf205d SHA512 d674996be8ef89309d73ae924904e3dbe09cfe6d9f2278d5aec43425571a8300785de96efd0936be82e49ec725668c234fd8a4a99b387832c4acce45ef0c8c62 +DIST sqlparse-0.5.3.tar.gz 84999 BLAKE2B 034c19eb1bb057c755a61248dc74c6e114d2bf2633f33d15b4a012ec4734c0374276f0bc8347706f6e48ef13d130c6769ceb9df04f09fabde2cb82bdb819e9a4 SHA512 219c4a3874606b6b3270fb507d89822412b51d8d120d50682fa683ab127fe05538256a575b5b29ee1a9f88be51ad46999e7c2ad2bb84a39e96ae6d2401eaffcd diff --git a/dev-python/sqlparse/sqlparse-0.5.3.ebuild b/dev-python/sqlparse/sqlparse-0.5.3.ebuild new file mode 100644 index 000000000000..325462cec3dd --- /dev/null +++ b/dev-python/sqlparse/sqlparse-0.5.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2024 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="A non-validating SQL parser module for Python" +HOMEPAGE=" + https://github.com/andialbrecht/sqlparse/ + https://pypi.org/project/sqlparse/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_sphinx docs/source +distutils_enable_tests pytest diff --git a/dev-python/sympy/sympy-1.13.3.ebuild b/dev-python/sympy/sympy-1.13.3.ebuild index 4ca660e72447..ac4aea1b6251 100644 --- a/dev-python/sympy/sympy-1.13.3.ebuild +++ b/dev-python/sympy/sympy-1.13.3.ebuild @@ -67,7 +67,7 @@ python_test() { # require old version of antlr4 sympy/parsing/tests/test_autolev.py sympy/parsing/tests/test_latex.py - # crash due to assertions in sys-devel/llvm[debug] + # crash due to assertions in llvm-core/llvm[debug] sympy/parsing/tests/test_c_parser.py # TODO: pytest? diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index abbc12805c89..7eee49759675 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -30,15 +30,21 @@ DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST pyo3-0.22.2.crate 538342 BLAKE2B faf347695117f9fe0ebe5cd7f6aa1b0dcfe718343875d6c06438046deccc1075f104d2a2413dcda41ae9827bc363aa147057b45968f6634f577a6a4510a4bb8e SHA512 e8bae09059f50ffe477dad44499cedeaf3a734665f0fd8e8bd4b44f48578d21e4bdb8d55ceea00c5a27da750761842ddf89cfcecdecb2e7a4a17ab192259be9c DIST pyo3-0.23.1.crate 1072552 BLAKE2B 1d83f3d853eada9d10e7502c76ba665ccd75afe51ad8f09e6b72d076aba4eab5da535bcd9f0d636d9a5a120dd632d67bf89b65fc4372511b042a74bb697be56b SHA512 6f0f457669c0d5d54196e4d7f10a78c8ef1f576ffaf01e11fd142634949e9b1e12c8e4dcf041f9bbe21f7e9b4779ff7ac1b625b3d0ecaf8e448b468aaef7b3f5 +DIST pyo3-0.23.3.crate 1073838 BLAKE2B 5e1ce6a5c5232ebf0399b1b969e737cca12f978f445efec9408ea80b8bc6ac1047125dbefa36149c8a904882d6a64dd24a9bd50f1e8de7afe3a3271e1a0f2d6f SHA512 c80377e8673de8b8e51e2423d102dbcc46605a783c13127215916d69fc600efd67ba5f9cca420cb6859124165ec97fde40eb0a0566d8b4b60708e20b8e6e9b6d DIST pyo3-build-config-0.22.2.crate 31225 BLAKE2B c2e6a3d3d23b7f2f51bcbf1214ab20a298a1e62f85c9af3dab1e77b09f20b657b576feefffb18eb49d438f0ffab525b6bcd1086d500601c327ffd4fd24a719ee SHA512 644c82d30bb27051557efcc9789a81380a64e29bc62abf97de88f42c3791dac74228c7a7d09e0d46d14f07c0475f0bc03fac6ed1367b9a616153e8820b94cbc8 DIST pyo3-build-config-0.23.1.crate 31755 BLAKE2B 7cac76855763159f61c26bf401545d12a95d8d0970ce4a0ae90e5b7ad1d67747af5414c02b8848042b4e2c2aa773d8cfe3b3db077895d12305097457dbd0ea60 SHA512 ec7b47db39e910760373adf3c035d7bef0cf48595562bf8c70d6ecf98ae3a676f19c94302bcf29dae60797b0dcd180498bf41faa65d6a6a268a0e2b14a309e42 +DIST pyo3-build-config-0.23.3.crate 32509 BLAKE2B 9e77701712589dec4ad74b3d0e66ae82c7a01b6f29ed36231d999aaf909f80def59d17916e1900bfff10b1d36a0a48ed4bf9757c817eb6c6269549f3d04bd6d4 SHA512 db8b0aa86e96eeb30a8ab36a8a1ba917b7b9e6918c2193d7466841ef38e689908f7719a5390d35fb9a156aa6bd84348fa99ea8d5a784faf5c5cc4635d9a3fac9 DIST pyo3-ffi-0.22.2.crate 67749 BLAKE2B 0a4357d5f4fbcab9717d58b7a80b63a63bc329267d4725136c4eac7c0101095a50e5f840638dde79034e5df99c4f46664cfdc2ad437837643db5d475c5705cb3 SHA512 bf8b83b4790832d99de8c6a61a15a43fc189505dd843011933305f7f93c4f5f4849fb00cc2a6fa410b788645f8ed8c0df61799cf801966a925abb9756b1ab579 DIST pyo3-ffi-0.23.1.crate 73993 BLAKE2B 4b16d423f6aec1a4b99aad79976dd17a8039e9a37ec35badb50cbd12001f12b88b7223e2dc6bb67257e821ffc935a3f23876f93941f2495e63ac88e631be51d9 SHA512 7533fdd016afb71a482cec07a61b04b0eaee10eb131e11d9c6d650e090a575896fb5ea243880341a2500b0b8442c36ac7792cb6ed39a2f9bd29645556cdc807e +DIST pyo3-ffi-0.23.3.crate 74064 BLAKE2B ec3cc59e047f780041a05e2bf9fac9d65a6f8ccfb5a3e1c35d7c7918da6ded7e65676888a743d3b4d0fe7b0996e441b722c159eed67360c1e3c5b598160a46cc SHA512 fe4678d4cfe81f065554f0d454345f5f8fde927af1afec9212bb49a67be5080dcc9be84e088612208b7732d2283c2c9168a31b0b6fbd32496520d500e372e161 DIST pyo3-macros-0.22.2.crate 8136 BLAKE2B 9dc97d2f60581db1b8ddb562dac917069525f297fe2cbb9aff3ed34d5a08ea43c112c9c7a450539da3536d753778b5ca506dd1b18e1d6b8a3649fc098e7af439 SHA512 f4f4f6af8dc3aa4bcc1698661990ab2112391ef9502e9f71d86e35bd10dc4e1be309102ebb1b7b32751817a6033168dc0486fdb16b35c626101e69f0de807a4a DIST pyo3-macros-0.23.1.crate 8064 BLAKE2B 26f0c07d230c6a749848094e84e1cd86d151b1d7639aa17debef73a49c9d15210a6f5ddf20d832f1175ba9fca690edc2be3244aef286112d2d097677558348e2 SHA512 2897b64b1e6695526a74822adc2e6bd6fccd0185918ab5e87561341c5e37382e77094a9e102bd6c817cddc919ed45c1a133cdc1e947ecab2c851328fecf14508 +DIST pyo3-macros-0.23.3.crate 8085 BLAKE2B bf9ea45a8afe7c663da4f3f5c09c23039bbcf9a9ae350eac2b6581a227864d259b1e5c5ea36f9d6f302c26cd957bb4564562b98785eac49233515d7d54453fdf SHA512 23bfcff285db1276f2dcca9895f7672ec6e5aec118039e2cef3cabca0a85eb97f138391cea4da26eb887dff09c65947b165ca83392edcc8640cb283df2929901 DIST pyo3-macros-backend-0.22.2.crate 65620 BLAKE2B 37fba9ff384373418d3a7341acafb8e33308a64e30026f828693a37c32ab4a74d058f2db84d00467a20f9f267c96fe54c0f154d1ebbae92490e8dfc0d29c042f SHA512 0517080c0d5d4ed8136521fd37aa3a192c2eb8cab58545d8543ee4df9cd0dcea19fe0678d5ab90f05fe3eb0f4a86fc2f07b76f2e12ac1fcf7e7c195c2ffa4fd8 DIST pyo3-macros-backend-0.23.1.crate 70118 BLAKE2B df6e7db9f88bc0fd039c2b0553c3371fcde654bad4528320e0e8cb8ee5ae98b541bf7fe800a872fb5ee43562e07a5b0cd9543f4b5c66b482818107a53e6e49ea SHA512 bb6df78ad712ab6c85535c60d3d5d8aa1b012b175845c6e073ca7b174c558e4a546fed5e62453bc3ce7f46dfaf3b016c01b88e13c8516b18d5024565464c1bf8 +DIST pyo3-macros-backend-0.23.3.crate 70098 BLAKE2B f8ee9c39f743960fc8093bfd53c043fca03b973192e1ab24b48066634e57ea7e74b3ba825ae72380e10569855eec9cb4f0d54f5f8c88dc60e67793257bef8d43 SHA512 9b22e975480f9afc2037587ba85889868a1b543069c2280c65f4cf98e5537708d098bb4885e881c1c9427740c8259988d82176b974900551a4e51097cefb8708 DIST python3-dll-a-0.2.10.crate 74573 BLAKE2B 770c5b070f4dd1b9639b8aff59bb733575eb1117ae8e510818b6e13bdc69b22bcad395bb5cf0d1931de3562775a56e1404bb7fca7384b62e5e782e6284fa1494 SHA512 c1171c29f6914ff809950a9f6c330638e72c58c7c691bf4d9e765dee47166915cc91131b494b65aeb3a812543690c5072f2f5ff32cdebb76ba588330f9c74cdb +DIST python3-dll-a-0.2.11.crate 83622 BLAKE2B 4bb801097422fc59be57b64edebeaee851dbad6ccb334d2fb672d279458d8925a08ae5a00c8603c8ab51e4210753483dba81bde189724ec47d1019bd9c4f4dee SHA512 3a5bee1eaec72650fc093105a4139f14c1f65012903a1311aa4ab754fbf7104936f743f0e7c69ee6d7b8d344ec25746c1fd415bdcd0a959c3828a28f9b63ce52 DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e @@ -52,6 +58,7 @@ DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032 DIST watchfiles-0.23.0.gh.tar.gz 45634 BLAKE2B c413955207007cd461e8bc420a00a624c132216ff13599d342f20c10e0ba60a45a723758d8669c216054cc7d7a4057750ad11b919026849f943cab67fcf93d96 SHA512 a36ff033e4493f262a7e0a0eca2d193548d21a647668379bbbfbcb30352d6498f86e9cb27743d852657d02d1cd8bc57bb28b1055f81a76e1c9995310375c3ccc DIST watchfiles-0.24.0.gh.tar.gz 46019 BLAKE2B 96d8707327d41e3a9410c291c557641e111d91ca90ec945fc05d4ec2ebab9290a65044024a324bbb1e92f99900e9bd7098933061ddc95369c33226c8aed7924b SHA512 28490350806ca5115ff026223b9ff4f72f2abb9fa2e148ce0ce3f2ffdaa2758b4af5522ec8786bf729560478010260a2fde25c2565aa5a7c2d40594fd5096331 DIST watchfiles-1.0.0.gh.tar.gz 45936 BLAKE2B cf162cb7a3d3449d476a2553b027f74f3e3a090242ef8185d8ba4b384f5256bbfeac706f361fbfdcf742fcec8ce457476199248e1a5989bc488f4da45c9b9501 SHA512 2815c8cc7eeded0abab2b77edd753581c5fc6dff52d4f983fd02276d60a979c1caa4f18b790bccd1c7af9a56f164181133982be1ea0ae0447910831f52f79a01 +DIST watchfiles-1.0.3.gh.tar.gz 47675 BLAKE2B d10b8f0a9db435939e08ab700a7b29e08bcc5fb2d7b1ff255d18aaa125b6bfb7474a9737f22de52947d3a281201dd347ff07b9a5f21989f94c14a9470412ebca SHA512 7e5864a53c28ee4a5486394bad05b1d3c09851dd4b921b364b648170e5eec4ca853f5cf4a1d60dac93b037837e56fffb5f45572d9a13875f4745fa2417a94d2f DIST winapi-util-0.1.8.crate 12416 BLAKE2B 5b48c27dfbb5db5c332f7e248138327b35ceec0909788b940168e7f6fe1402800da5e7690b2b1654da6c510b5c720330a92da16dff53ef15821f37fef6f335e3 SHA512 e186111398f9f0f0686e791ad0d72c39205e5f246b6e020df413e477ee07f32e91d09405c61dc92752f061f54fd7533435545c1a151477b40e2d68acc94a57fd DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST windows-sys-0.48.0.crate 2628884 BLAKE2B 551e900de4f67187ef034b60df9fd0e0d8f82a3100ef28e1eabd543ac129d882dc86ffcc1714071aba09e4cb2ae2d2f07ace1a32b99fd989ce525cf05991edab SHA512 bdf534bcf3face31e9ebe11427a911a53f89f4ff5eaea8cccd094e139bfe14b2aec602b1cab1df774794d999477439d9adc6b627a8e33c20334fc348ba2c47ed diff --git a/dev-python/watchfiles/watchfiles-1.0.3.ebuild b/dev-python/watchfiles/watchfiles-1.0.3.ebuild new file mode 100644 index 000000000000..0daca7eee6df --- /dev/null +++ b/dev-python/watchfiles/watchfiles-1.0.3.ebuild @@ -0,0 +1,132 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +CRATES=" + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.6.0 + cc@1.0.96 + cfg-if@1.0.0 + crossbeam-channel@0.5.12 + crossbeam-utils@0.8.19 + filetime@0.2.24 + fsevent-sys@4.1.0 + heck@0.5.0 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.10.2 + instant@0.1.13 + kqueue-sys@1.0.4 + kqueue@1.0.8 + libc@0.2.154 + libredox@0.1.3 + log@0.4.22 + memoffset@0.9.1 + mio@0.8.11 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + pyo3-build-config@0.23.3 + pyo3-ffi@0.23.3 + pyo3-macros-backend@0.23.3 + pyo3-macros@0.23.3 + pyo3@0.23.3 + python3-dll-a@0.2.11 + quote@1.0.36 + redox_syscall@0.5.3 + same-file@1.0.6 + syn@2.0.60 + target-lexicon@0.12.14 + unicode-ident@1.0.12 + unindent@0.2.3 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 +" + +declare -A GIT_CRATES=( + [notify-types]='https://github.com/samuelcolvin/notify;0f87ab12707d231fa44180454d59478d3992eb59;notify-%commit%/notify-types' + [notify]='https://github.com/samuelcolvin/notify;0f87ab12707d231fa44180454d59478d3992eb59;notify-%commit%/notify' +) + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # fix version number + sed -i -e "/^version/s:0\.0\.0:${PV}:" Cargo.toml || die + + export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 +} + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +} diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest index abf72671d6ad..edf44932dd3e 100644 --- a/dev-python/weasyprint/Manifest +++ b/dev-python/weasyprint/Manifest @@ -1 +1,2 @@ DIST weasyprint-63.0.tar.gz 491295 BLAKE2B f25a777a5057502f5a056417037411325c7600db2f1609c854c43ade98a1d7bda6a5c4663e7221e3b8002dfa763aff1b104541ee4cb55b0079cf973f256efe6d SHA512 79384ead532dbcfc561d2c490fbc04d7d0d11ed3c589fe375e9b2bb43e57a28c5bcfeaa7a6fb8daa1b031ce56720775e7b558c0a6ac5d195dee4310a3a3cab8d +DIST weasyprint-63.1.tar.gz 491880 BLAKE2B 564c52abe3299aa2c51733c883c59ea0581953e067c003377cf0456412bd0cc49f38a03ea46f9cc6e3a3eb4c8df4daa1359996e0525bd9420b1720a26a393877 SHA512 1fda3126dd5c028b42515819f58153092d1607ea5a327a8668cd11ce44aa2b73d7340c04825ce80486881ac1b0dcfe789ffaec277f7a81465efc9067b9b9c87c diff --git a/dev-python/weasyprint/weasyprint-63.1.ebuild b/dev-python/weasyprint/weasyprint-63.1.ebuild new file mode 100644 index 000000000000..b738a0b80ce9 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-63.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF" +HOMEPAGE=" + https://weasyprint.org/ + https://github.com/Kozea/WeasyPrint/ + https://pypi.org/project/weasyprint/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/cffi-0.6:=[${PYTHON_USEDEP}] + >=dev-python/cssselect2-0.1[${PYTHON_USEDEP}] + >=dev-python/fonttools-4.0.0[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[jpeg,jpeg2k,${PYTHON_USEDEP}] + >=dev-python/pydyf-0.11.0[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] + >=dev-python/tinycss2-1.4.0[${PYTHON_USEDEP}] + >=dev-python/tinyhtml5-2.0.0[${PYTHON_USEDEP}] + media-fonts/dejavu + x11-libs/pango +" + +BDEPEND=" + test? ( + >=app-text/ghostscript-gpl-9.56.1-r3 + media-fonts/ahem + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
