diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-12-10 06:50:47 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-12-10 06:50:47 +0000 |
| commit | e27f408d1ebde72d9e7c835def1843850260afb8 (patch) | |
| tree | 9ae1060778c07531f6fa287250f817173e80c509 /dev-python | |
| parent | 3aa0c3429efed570dcfcc291043919da3a69ec14 (diff) | |
| download | baldeagleos-repo-e27f408d1ebde72d9e7c835def1843850260afb8.tar.gz baldeagleos-repo-e27f408d1ebde72d9e7c835def1843850260afb8.tar.xz baldeagleos-repo-e27f408d1ebde72d9e7c835def1843850260afb8.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
32 files changed, 718 insertions, 116 deletions
diff --git a/dev-python/aiohttp/metadata.xml b/dev-python/aiohttp/metadata.xml index c11f27c96478..8bbfbc21bd6b 100644 --- a/dev-python/aiohttp/metadata.xml +++ b/dev-python/aiohttp/metadata.xml @@ -1,10 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>zmedico@gentoo.org</email> - <name>Zac Medico</name> - </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> diff --git a/dev-python/bcrypt/bcrypt-4.2.1.ebuild b/dev-python/bcrypt/bcrypt-4.2.1.ebuild index 8e8624fd81ce..2d265b8fa91f 100644 --- a/dev-python/bcrypt/bcrypt-4.2.1.ebuild +++ b/dev-python/bcrypt/bcrypt-4.2.1.ebuild @@ -64,7 +64,7 @@ LICENSE="Apache-2.0" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016" SLOT="0" -KEYWORDS="~amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" BDEPEND=" >=dev-python/setuptools-rust-1.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index c9409b8ace6d..d5d98f72f451 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,3 +1,4 @@ DIST boto3-1.35.68.gh.tar.gz 901189 BLAKE2B f7449998af169c873319d7b8748035db72c3af7be6499453c9fe61f40cbfd724dce7cf003fe700f6046f43c887768f4c26dd52e491f5734a5ec55c5b54e360c0 SHA512 24582ed20764870e2491a2dc48869089ebc4371a279eff68827ce3a6a962568fc1738e52285fa89a3a846385b498bb233460c1d0ae3177d735ad20b2cef7fea2 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 diff --git a/dev-python/boto3/boto3-1.35.77.ebuild b/dev-python/boto3/boto3-1.35.77.ebuild new file mode 100644 index 000000000000..d91ce27598cf --- /dev/null +++ b/dev-python/boto3/boto3-1.35.77.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 6cbb79819555..6dfa8294904e 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,3 +1,4 @@ DIST botocore-1.35.68.gh.tar.gz 13887015 BLAKE2B f49ea77be07628c9c0a471a76b87bc2b2e0371afdfdaf6da2ad39fdc828376dff14681167a2989b440f37fc5754dae12c7160cb14fb82187acbcf07e34647fc3 SHA512 e31ff9022f29e4cacd9c6085e9c8741d799986746e34965c37e12d8ecfc3a5f4fed8e14045e9ce4f2f552f31d07641ffe8a0209d9d220b942e1b54c2e0d0f848 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 diff --git a/dev-python/botocore/botocore-1.35.77.ebuild b/dev-python/botocore/botocore-1.35.77.ebuild new file mode 100644 index 000000000000..7816e9efeb52 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.77.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 a9c868dc478c..617f8b8697f2 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/cfn-lint/cfn-lint-1.21.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.21.0.ebuild new file mode 100644 index 000000000000..2481db200741 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.21.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/google-api-core/Manifest b/dev-python/google-api-core/Manifest index 2b2c9d9602ba..d22b120879f9 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,2 @@ DIST python-api-core-2.23.0.gh.tar.gz 207393 BLAKE2B 7a179f4778c7bb38328f1621a072cd7f627cfa16ff0cbdb9e4e625c3d97e10f85b717b0fd458bc6a2137390dc18d6dd8a6d7c8bbacd256d897cc41411fc27392 SHA512 64554cd39038b85ed4d9f84394282b296a1889031c7ddcc8f6c1789dfff89c6179b9eb4cfbf2ad1707913f13054cfd01a959af4ba676aa84d2efb6901e4c6c8e +DIST python-api-core-2.24.0.gh.tar.gz 210006 BLAKE2B 816b4dbde52d5246feccea95ccdadea700d4fa803faad70f3801a9a66daf4d02dd8dfab5ec372d44b03caf8e250a9c8ebc44c671bac83313354867144ad17faa SHA512 6c279303dcfb05ff655aa5bb9426d0a28fcef9300bab542b1ec4100aecf7d236f05f6889433f8b8ab7d2abcc9084a5879af8357c2d5098db67e4231919e8bc17 diff --git a/dev-python/google-api-core/google-api-core-2.24.0.ebuild b/dev-python/google-api-core/google-api-core-2.24.0.ebuild new file mode 100644 index 000000000000..36c0ecc76be4 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.24.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2020-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 + +MY_P=python-api-core-${PV} +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/python-api-core/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" +SRC_URI=" + https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-3.19.5[${PYTHON_USEDEP}] + >=dev-python/requests-2.18.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio tests +} diff --git a/dev-python/libcst/libcst-1.5.1.ebuild b/dev-python/libcst/libcst-1.5.1.ebuild index 852d3ef2ee98..650dd6cef899 100644 --- a/dev-python/libcst/libcst-1.5.1.ebuild +++ b/dev-python/libcst/libcst-1.5.1.ebuild @@ -142,7 +142,7 @@ LICENSE="MIT Apache-2.0 PSF-2" # Dependent crate licenses LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" RDEPEND=" >=dev-python/pyyaml-5.2[${PYTHON_USEDEP}] diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 31040a292ad8..8ada86ffdcb2 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1,3 @@ DIST pdm-2.20.1.tar.gz 2642376 BLAKE2B d24d889d75b06deb7595a7a0691ba21e9af15013372481147ddf1c6a19a13bb398af786cbc38877b29380f162a7923848aaf9d9b6f258dcd22ad80a96ad96ab8 SHA512 f9a164c521f943a89c8eb4792d249b06114b26e5c87022feb0d1bc24ca8ef56085da07e8b0dd9033b3c6e7d0e0ff1d3cb52bf8a69a2ef1e211cdb3c29eeb24b8 DIST pdm-2.21.0.tar.gz 2643561 BLAKE2B 3fc921c5863749c762163b290a4c9db8593145f509309dfe3437444e509e11c4727510d862e5f8676755191429c0b5cd73afd98104056497a3095acb6d0ee488 SHA512 2e83eab81d85c91249841add97a1d985ac91a0fba42b7b695a23afa785d67c04879a2513a686243fd68e5eec642175b97ef7e36fccbe8d8a160a6d42b8c5318b +DIST pdm-2.22.0.tar.gz 2645896 BLAKE2B 96cb47299ac52f374bc3e6e22f28d79b3cd0536055292e68f2f76c2f6ef855abbc4840c1a500c43dca02d10fa964bf3595512536855792175817ddf0d4f9ed14 SHA512 5f27a070fce875b3fd9af30ee9cfab1c31f4310bb9e299a11d00beba77e02dfd6346496ac385aaf5ae3f43b96cae91ef97f46766071696834c8a8714fff5bb4f diff --git a/dev-python/pdm/pdm-2.22.0.ebuild b/dev-python/pdm/pdm-2.22.0.ebuild new file mode 100644 index 000000000000..3be473629b2c --- /dev/null +++ b/dev-python/pdm/pdm-2.22.0.ebuild @@ -0,0 +1,132 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.4.4[${PYTHON_USEDEP}] + <dev-python/findpython-1[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.1[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/uv + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + 'tests/resolver/test_resolve.py::test_resolve_local_artifacts[sdist]' + 'tests/resolver/test_resolve.py::test_resolve_two_extras_from_the_same_package' + 'tests/resolver/test_resolve.py::test_resolve_file_req_with_prerelease' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + # i guess doesn't expect some dep to be present + tests/cli/test_build.py::test_build_with_no_isolation + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +} diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest index bf1657d7c143..78a3376f7122 100644 --- a/dev-python/portalocker/Manifest +++ b/dev-python/portalocker/Manifest @@ -1,2 +1 @@ -DIST portalocker-2.10.1.gh.tar.gz 34084 BLAKE2B c4b8b0f42e25c28dd73f73459f2425a355c1be7fb6d9e601c8f829b76a421b66981c96d948513a92b0d9746f0d4b4c9423eb671e160629d421b6720bb3c81883 SHA512 cdb5db6eab2974a8fef5628656b9e66bd1907d3010e28071c5a308d52a7ad28f838f3cb90e8bc258b2f258b8b999438e90972751e4d29b1769056db4f9ab9f8b DIST portalocker-3.0.0.gh.tar.gz 35104 BLAKE2B b96591c56f8f894eaf012bfa89dd4e5cf7ee300176f4ea861e29dbf6f2a3cade061605b2d0a5796010369caebc3b032d77b77bddff165959bd464e9d9e8b4ebc SHA512 b3417bc0b4f726129b6625a778d7d828ab8401422ee1847b20ee79019fc029acb0cebbe539495e071cdf8dcd628d5764f39036059b19718b5ba2d0702388ac9c diff --git a/dev-python/portalocker/portalocker-2.10.1.ebuild b/dev-python/portalocker/portalocker-2.10.1.ebuild deleted file mode 100644 index 8f4481833d53..000000000000 --- a/dev-python/portalocker/portalocker-2.10.1.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 optfeature - -DESCRIPTION="A library for Python file locking" -HOMEPAGE=" - https://github.com/WoLpH/portalocker/ - https://portalocker.readthedocs.io/ - https://pypi.org/project/portalocker/ -" -SRC_URI=" - https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64" - -BDEPEND=" - test? ( - dev-python/redis[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] - >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - default - - # Disable code coverage in tests. - sed -i '/^ *--cov.*$/d' pytest.ini || die -} - -pkg_postinst() { - optfeature "redis support" dev-python/redis -} diff --git a/dev-python/portalocker/portalocker-3.0.0.ebuild b/dev-python/portalocker/portalocker-3.0.0.ebuild index 856db7845ac8..8f4481833d53 100644 --- a/dev-python/portalocker/portalocker-3.0.0.ebuild +++ b/dev-python/portalocker/portalocker-3.0.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" BDEPEND=" test? ( diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild index f35eec1f7d0d..9c3c2baa1a12 100644 --- a/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.5.0-r1.ebuild @@ -134,7 +134,7 @@ LICENSE+=" || ( Apache-2.0 Boost-1.0 ) " SLOT="0" -KEYWORDS="~amd64 arm arm64 ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND=" ~dev-python/toml-fmt-common-1.0.1[${PYTHON_USEDEP}] diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest index 9e7d4a367aeb..21b014265ae4 100644 --- a/dev-python/pytest-subtests/Manifest +++ b/dev-python/pytest-subtests/Manifest @@ -1,2 +1,3 @@ DIST pytest_subtests-0.13.1.tar.gz 15936 BLAKE2B 6301c0dae6eccd9f20acf6c08e0b1b77c7e80a64e4558628cc85e0d6c202d0b2bb0d7be27f930d7bf68ab8c4c2076e7fe68ab24b9b45cb22fbb3a4b31fd7b4e7 SHA512 c1c92a7a608710fd75a3a67cfd620ec257d7b1fa191fc4788a747ffebdf3973dde9407ed85e1842f15947558f6ec7c15e5c13ad84ce59489398386d6578f1caf DIST pytest_subtests-0.14.0.tar.gz 17363 BLAKE2B 3b0ebe86b0acd1e2f00c75f11a2d04f8269774ca44f2b55b337a2c1d68da9d1636e5c159e4e554c21f27f8a80adc91dd36bee7d8f2ec359340e9cc5de0edd702 SHA512 53306f887fdd500226991394624fac06c60dd1339e8689f041f5b14ee6ad75470a08cca48230dab774f04d75f5ae5a63c2f3f08231e5ae61a7d928f6e23781b6 +DIST pytest_subtests-0.14.1.tar.gz 17632 BLAKE2B 5a9013e1126ce921b1cc5932e2e743827f382f2566fb573c75bc040e806dd64e196a1c49ad1e4eabf13925ed82e68749e6d842f0d03098ab6bce4857134c581e SHA512 f79afa0747334ad885e4e592b2b4ff1381d00fb282ab24c785afe681120e2a9670dbcd7627bd9041cd24922a96146d8be30f0e221b4a6ee8bef8aa7b52038544 diff --git a/dev-python/pytest-subtests/pytest-subtests-0.14.1.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.14.1.ebuild new file mode 100644 index 000000000000..f91ee1b59cf8 --- /dev/null +++ b/dev-python/pytest-subtests/pytest-subtests-0.14.1.ebuild @@ -0,0 +1,39 @@ +# 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 pypi + +DESCRIPTION="Unittest subTest() support and subtests fixture" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-subtests/ + https://pypi.org/project/pytest-subtests/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-7.4[${PYTHON_USEDEP}] +" +# pytest-xdist is used to test compatibility +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=xdist.plugin,pytest_subtests.plugin + epytest +} diff --git a/dev-python/python-box/Manifest b/dev-python/python-box/Manifest index 15512ddd708f..68a38a593fec 100644 --- a/dev-python/python-box/Manifest +++ b/dev-python/python-box/Manifest @@ -1 +1,2 @@ DIST Box-7.2.0.gh.tar.gz 87699 BLAKE2B d6f033919e5451adfdcb0c14c28a47e25b619eb531280a39b68912179ad3a21638d4fadd6dbee2b09bc445b1adc2dd31e042d1e816dc5fc36098ea5eadab8a30 SHA512 8f2ec95a0539c8000d08353eccd66dd9de4049408b0cef9095f3bf98486424214e1d47ef5c408e425c5c2958652624efa512701138d91d51356f07795c508b9f +DIST Box-7.3.0.gh.tar.gz 87791 BLAKE2B eba82f4fa083f2f7725547254143d86d034d1dbf0ad540eb4cef8eb387846053a44a7b7dc6b94878a124f98336cade4c6a64c89beb779e5db6008393b721ecc9 SHA512 9425dc339abac6649f9e78b279720ce191559e1629eb4451fc1a63495df1d5c64bf20a339407bbfc6f8e64d9def4accf312087958880a5300c83369ee9d6ceb4 diff --git a/dev-python/python-box/python-box-7.3.0.ebuild b/dev-python/python-box/python-box-7.3.0.ebuild new file mode 100644 index 000000000000..72cca346e81e --- /dev/null +++ b/dev-python/python-box/python-box-7.3.0.ebuild @@ -0,0 +1,58 @@ +# 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} ) + +inherit distutils-r1 + +MY_P=Box-${PV} +DESCRIPTION="Python dictionaries with advanced dot notation access" +HOMEPAGE=" + https://github.com/cdgriffith/Box/ + https://pypi.org/project/python-box/ +" +SRC_URI=" + https://github.com/cdgriffith/Box/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+native-extensions" + +RDEPEND=" + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + if ! use native-extensions; then + # a cheap hack, extensions are auto-disabled if Cython.Build + # is not importable + > Cython.py || die + fi + + distutils-r1_src_prepare +} + +python_test() { + rm -rf box || die + epytest +} diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest index e075eb90e542..23ed3b50c0ea 100644 --- a/dev-python/pytools/Manifest +++ b/dev-python/pytools/Manifest @@ -2,4 +2,5 @@ DIST pytools-2024.1.15.tar.gz 77565 BLAKE2B 3f17e86ff07d52b7f749846a9da7ed176aed DIST pytools-2024.1.17.tar.gz 78163 BLAKE2B eac043f8f53fe82f76f21a3019e2fba4474345379ae9772023f40da5d284b2d146a7da2652c152d3d5990dab2ae1a6365713a325bdb469f54ef7bee2ed0cf69b SHA512 de15035ca129c5425a54c151d6be5fe8ec906e06c43cb40c09c86105441b328ff537b154f95d3bfb84289b4357fb67d2b0df027aeb80e1b9c8a9d197a37d8f11 DIST pytools-2024.1.18.tar.gz 78666 BLAKE2B 0f572243e97ecfc6c7fdf18a951f48b0515490dd63580d56ee4c22f897047d7bb683da12a47e1856d584b76a832ac0054a2864b96b2a2c195da5c1ba89a5bd7c SHA512 573087445cdee84a34cddabb071d70a6f537c87557ab5c21ce4c1251a3e272d29719d2dc1d53ae02aa0587d14ba377213272a55c99422fb89130cee992b8e9b1 DIST pytools-2024.1.19.tar.gz 79674 BLAKE2B 8a6018e2d57f5c51481e96719c50c6a388c65346b937d8b12812315937c57dfec780f1b9a7f8a0b293336e013bcc38c1537a920e30916d5f54d4e8ba9a8d2f73 SHA512 a62b234f279001458428a0cba6d7a0ddcc04e631037ac5fd425eb6adb6675ce5e47c296ab1b20dcf63f25573f84ab9e92f806b221574fd81773968cbf2ab7033 +DIST pytools-2024.1.20.tar.gz 79684 BLAKE2B cf51a61cf385098bb3b26415fd19fc33310397464327b91bdf8c41f1b5e2e473ba541982218568a671bbe5b0dd9934bf7c0917dea1f732de9fd3d3296bb6def1 SHA512 b0f3fde6d6a5847fca4cb7be32ba34c1c495779383ee18a2cb33c8e1e04fa8b22101bf91f336a9ff0dd2def0e5c40cfa2e070a24028b1c058fc539a28577262c DIST pytools-2024.1.6.tar.gz 81344 BLAKE2B ff68e2606170bf54e3f609ee7f4cfe58e063f43dcfb2706d5ed7659ea2fde863e6315d0d81dff2e62a3378f195413561a927b0c1e7bedc06388cf4893c07b873 SHA512 a9e934f1cbaf0ace32420f9b74224a06ce8421ee291b837292133969c6788c4cc8bea01446cd4d1505aca9fa81e8ae0d3eacf60d3285186e66d67d5abe10ce3e diff --git a/dev-python/pytools/pytools-2024.1.20.ebuild b/dev-python/pytools/pytools-2024.1.20.ebuild new file mode 100644 index 000000000000..863cfd5562a4 --- /dev/null +++ b/dev-python/pytools/pytools-2024.1.20.ebuild @@ -0,0 +1,31 @@ +# 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} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of tools missing from the Python standard library" +HOMEPAGE=" + https://mathema.tician.de/software/pytools/ + https://github.com/inducer/pytools/ + https://pypi.org/project/pytools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +# NB: numpy & siphash24 are an "extra" (optional) deps +RDEPEND=" + >=dev-python/numpy-1.6[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2[${PYTHON_USEDEP}] + >=dev-python/siphash24-1.6[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index bad4768bab61..53753e11c066 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1 +1,2 @@ DIST scikit-learn-1.5.2.gh.tar.gz 6982418 BLAKE2B f1fdc37cdbc7625f5240b565b37b8213e1f6a21cb04886efaa2f9dad598eaa3c9bf567000cb51bcb78057172131ab3534134bb7382ed0b1df5037919d45fd65e SHA512 ed014858a9dd75765b761df03782048035228f012773d70ca3355d049d096707286b8b3d0139b88268266e8f0a6b4d430968495a87636975d094b161b9f0d712 +DIST scikit-learn-1.6.0.gh.tar.gz 7058791 BLAKE2B 57a81223d4cd2ac60cf00829f0e9b3fc404341428ec5ebbdf187f6c69213d90bf541ee6bf69a7dbe6e68225d34cf393302b098cc62e44068515b22d9e6462549 SHA512 7301503d581f908d7d70c708c44d5ec39567628c9f05a4135d69864a6bff6252fe1af6aac9c87c4c829c7e98008bab6fe964bcab6a3bb617996dc8368bb4fa60 diff --git a/dev-python/scikit-learn/scikit-learn-1.6.0.ebuild b/dev-python/scikit-learn/scikit-learn-1.6.0.ebuild new file mode 100644 index 000000000000..c40a4af5b1fd --- /dev/null +++ b/dev-python/scikit-learn/scikit-learn-1.6.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Machine learning library for Python" +HOMEPAGE=" + https://scikit-learn.org/stable/ + https://github.com/scikit-learn/scikit-learn/ + https://pypi.org/project/scikit-learn/ +" +SRC_URI=" + https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + virtual/blas:= + virtual/cblas:= + >=dev-python/numpy-1.19.5:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] + >=dev-python/threadpoolctl-3.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +# For some reason this wants to use urllib to fetch things from the internet +# distutils_enable_sphinx doc \ +# dev-python/matplotlib \ +# dev-python/memory-profiler \ +# dev-python/numpydoc \ +# dev-python/pandas \ +# dev-python/pillow \ +# dev-python/seaborn \ +# dev-python/sphinx-gallery \ +# dev-python/sphinx-prompt \ +# dev-python/scikit-image + +python_test() { + local EPYTEST_DESELECT=( + # TODO: floating-point problems + gaussian_process/kernels.py::sklearn.gaussian_process.kernels.ExpSineSquared + # doctest failing on extra shape= in repr, probably numpy version + cluster/_hdbscan/hdbscan.py::sklearn.cluster._hdbscan.hdbscan.HDBSCAN + ) + + rm -rf sklearn || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs sklearn +} + +python_install_all() { + find "${S}" -name \*LICENSE.txt -delete || die + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index e37a34acdbb4..722bd1ad7499 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -15,6 +15,7 @@ DIST pyo3-macros-backend-0.22.6.crate 66312 BLAKE2B ec0b11bee1ad2192e8d95cebab00 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 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.1.ebuild b/dev-python/sqlglot/sqlglot-25.34.1.ebuild new file mode 100644 index 000000000000..d48438a800cd --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.34.1.ebuild @@ -0,0 +1,113 @@ +# 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/toml-fmt-common/toml-fmt-common-1.0.1.ebuild b/dev-python/toml-fmt-common/toml-fmt-common-1.0.1.ebuild index 06055f57fba3..9e9f55d34f3f 100644 --- a/dev-python/toml-fmt-common/toml-fmt-common-1.0.1.ebuild +++ b/dev-python/toml-fmt-common/toml-fmt-common-1.0.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm arm64 ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv ~s390 sparc x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/yarl/metadata.xml b/dev-python/yarl/metadata.xml index 3b39e33fc13c..853174b8f2ab 100644 --- a/dev-python/yarl/metadata.xml +++ b/dev-python/yarl/metadata.xml @@ -1,9 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>zmedico@gentoo.org</email> - </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> diff --git a/dev-python/zeroconf/Manifest b/dev-python/zeroconf/Manifest index f7104c1a5ad3..40b30d38ded3 100644 --- a/dev-python/zeroconf/Manifest +++ b/dev-python/zeroconf/Manifest @@ -1,2 +1 @@ -DIST zeroconf-0.136.0.tar.gz 238635 BLAKE2B 265dac1aed041d86f81264b5449952695f316cdfd9ff8e594631cd5c5eebad917d32537920308ae62feee7927307a667fdfd3cfd5c182fff08120cba19bbc60e SHA512 835f1e22a92e62efaba055816c962fdea12b80e3a875883da28919e952363ce14dea6b60738a2c199d6e4718c016c00a7dfaa86ee4b20347c69a771515240be3 DIST zeroconf-0.136.2.tar.gz 238720 BLAKE2B c47bd38a75f01c1e4268c6567a13e664638c05efa1a45ff1593b3d1347e369acd7a284580a02d34f398710f5faf319150c9eca151667dbb6a184bad35f24d4ce SHA512 30e352cfa2c3b7e7c3b9e38d6d1db0471d1f2c7dcd6785b0aab63a1027da21e966565803d4b2bfde6a89d4362039165f19b5c179117128a992f4960af2ac031d diff --git a/dev-python/zeroconf/zeroconf-0.136.0.ebuild b/dev-python/zeroconf/zeroconf-0.136.0.ebuild deleted file mode 100644 index 0866401eeed5..000000000000 --- a/dev-python/zeroconf/zeroconf-0.136.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)" -HOMEPAGE=" - https://github.com/python-zeroconf/python-zeroconf/ - https://pypi.org/project/zeroconf/ -" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/async-timeout-3.0.0[${PYTHON_USEDEP}] - ' 3.10) -" -# the build system uses custom build script that uses distutils to build -# C extensions, sigh -BDEPEND=" - >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] - >=dev-python/setuptools-65.6.3[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export REQUIRE_CYTHON=1 - -python_test() { - local -x SKIP_IPV6=1 - local EPYTEST_DESELECT=( - # network - tests/test_core.py::Framework::test_close_multiple_times - tests/test_core.py::Framework::test_launch_and_close - tests/test_core.py::Framework::test_launch_and_close_context_manager - - # fragile to timeouts (?) - tests/services/test_browser.py::test_service_browser_expire_callbacks - tests/utils/test_asyncio.py::test_run_coro_with_timeout - ) - - epytest -o addopts= -} diff --git a/dev-python/zeroconf/zeroconf-0.136.2.ebuild b/dev-python/zeroconf/zeroconf-0.136.2.ebuild index afcf4b535bf3..0866401eeed5 100644 --- a/dev-python/zeroconf/zeroconf-0.136.2.ebuild +++ b/dev-python/zeroconf/zeroconf-0.136.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/ifaddr-0.1.7[${PYTHON_USEDEP}] |
