From f85858c81a721c7fc89c1ab8df19e3a213dc27cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 18 Jul 2024 12:29:02 +0100 Subject: gentoo auto-resync : 18:07:2024 - 12:29:01 --- dev-python/Manifest.gz | Bin 270615 -> 270664 bytes dev-python/backports-strenum/Manifest | 2 +- .../backports-strenum-1.3.1.ebuild | 2 +- dev-python/blurb/Manifest | 2 + dev-python/blurb/blurb-1.2.1.ebuild | 27 +++ dev-python/cfn-lint/Manifest | 6 + dev-python/cfn-lint/cfn-lint-1.7.1.ebuild | 70 +++++++ dev-python/cfn-lint/cfn-lint-1.7.2.ebuild | 70 +++++++ dev-python/cfn-lint/cfn-lint-1.8.0.ebuild | 70 +++++++ dev-python/griffe/Manifest | 2 +- dev-python/griffe/griffe-0.48.0.ebuild | 2 +- dev-python/jupyterlab-server/Manifest | 2 + .../jupyterlab-server-2.27.3.ebuild | 64 +++++++ dev-python/openstacksdk/Manifest | 2 + dev-python/openstacksdk/openstacksdk-3.3.0.ebuild | 91 +++++++++ dev-python/pyarrow/Manifest | 2 + dev-python/pyarrow/pyarrow-17.0.0.ebuild | 102 ++++++++++ dev-python/pydot/Manifest | 2 + dev-python/pydot/pydot-3.0.1.ebuild | 38 ++++ dev-python/pygobject/Manifest | 7 +- .../pygobject/files/pygobject-3.44.1-py312.patch | 48 ----- .../files/pygobject-3.48.2-egg-info.patch | 39 ++++ dev-python/pygobject/pygobject-3.44.1.ebuild | 86 --------- dev-python/pygobject/pygobject-3.48.2-r1.ebuild | 82 +++++++++ dev-python/pygobject/pygobject-3.48.2.ebuild | 80 ++++++++ dev-python/pymongo/Manifest | 2 + dev-python/pymongo/pymongo-4.8.0.ebuild | 205 +++++++++++++++++++++ dev-python/pytest-asyncio/Manifest | 2 + .../pytest-asyncio/pytest-asyncio-0.23.8.ebuild | 51 +++++ dev-python/pytest-import-check/Manifest | 2 + .../pytest-import-check-0.0.3.ebuild | 37 ++++ dev-python/pytest-lazy-fixtures/Manifest | 2 + .../pytest-lazy-fixtures-1.1.0.ebuild | 31 ++++ dev-python/pytools/Manifest | 2 + dev-python/pytools/pytools-2024.1.10.ebuild | 34 ++++ dev-python/sabctools/Manifest | 2 + dev-python/sabctools/sabctools-8.2.4.ebuild | 39 ++++ dev-python/sphinx-argparse/Manifest | 2 + .../sphinx-argparse/sphinx-argparse-0.5.2.ebuild | 32 ++++ dev-python/sphinx-autodoc-typehints/Manifest | 2 + .../sphinx-autodoc-typehints-2.2.3.ebuild | 44 +++++ dev-python/sphinx/Manifest | 2 + dev-python/sphinx/sphinx-7.4.5.ebuild | 141 ++++++++++++++ dev-python/sqlglot/Manifest | 8 +- dev-python/sqlglot/sqlglot-25.4.0.ebuild | 121 ------------ dev-python/sqlglot/sqlglot-25.4.1.ebuild | 121 ------------ dev-python/sqlglot/sqlglot-25.5.0.ebuild | 121 ------------ dev-python/sqlglot/sqlglot-25.6.0.ebuild | 121 ++++++++++++ dev-python/structlog/Manifest | 2 + dev-python/structlog/structlog-24.4.0.ebuild | 31 ++++ dev-python/textdistance/Manifest | 2 + dev-python/textdistance/textdistance-4.6.3.ebuild | 36 ++++ dev-python/uv/Manifest | 2 + dev-python/uv/uv-0.2.26.ebuild | 109 +++++++++++ 54 files changed, 1694 insertions(+), 510 deletions(-) create mode 100644 dev-python/blurb/blurb-1.2.1.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.7.1.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.7.2.ebuild create mode 100644 dev-python/cfn-lint/cfn-lint-1.8.0.ebuild create mode 100644 dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild create mode 100644 dev-python/openstacksdk/openstacksdk-3.3.0.ebuild create mode 100644 dev-python/pyarrow/pyarrow-17.0.0.ebuild create mode 100644 dev-python/pydot/pydot-3.0.1.ebuild delete mode 100644 dev-python/pygobject/files/pygobject-3.44.1-py312.patch create mode 100644 dev-python/pygobject/files/pygobject-3.48.2-egg-info.patch delete mode 100644 dev-python/pygobject/pygobject-3.44.1.ebuild create mode 100644 dev-python/pygobject/pygobject-3.48.2-r1.ebuild create mode 100644 dev-python/pygobject/pygobject-3.48.2.ebuild create mode 100644 dev-python/pymongo/pymongo-4.8.0.ebuild create mode 100644 dev-python/pytest-asyncio/pytest-asyncio-0.23.8.ebuild create mode 100644 dev-python/pytest-import-check/pytest-import-check-0.0.3.ebuild create mode 100644 dev-python/pytest-lazy-fixtures/pytest-lazy-fixtures-1.1.0.ebuild create mode 100644 dev-python/pytools/pytools-2024.1.10.ebuild create mode 100644 dev-python/sabctools/sabctools-8.2.4.ebuild create mode 100644 dev-python/sphinx-argparse/sphinx-argparse-0.5.2.ebuild create mode 100644 dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-2.2.3.ebuild create mode 100644 dev-python/sphinx/sphinx-7.4.5.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-25.4.0.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-25.4.1.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-25.5.0.ebuild create mode 100644 dev-python/sqlglot/sqlglot-25.6.0.ebuild create mode 100644 dev-python/structlog/structlog-24.4.0.ebuild create mode 100644 dev-python/textdistance/textdistance-4.6.3.ebuild create mode 100644 dev-python/uv/uv-0.2.26.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 3d36c8884682..865e561149e9 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/backports-strenum/Manifest b/dev-python/backports-strenum/Manifest index 9fa498fa0f86..83ab9057ba69 100644 --- a/dev-python/backports-strenum/Manifest +++ b/dev-python/backports-strenum/Manifest @@ -1,3 +1,3 @@ DIST backports.strenum-1.3.1.gh.tar.gz 15064 BLAKE2B 749e319c9bdbec9eb1f3beab32355f015469336d688a3672380238f44694ce82747d7515330587821a60c92e1be0c7d8afc24ed70e3fa6ece368f6e74956958a SHA512 6a285bc63e6e3cb93e67da09eac9a1546af663d80e26448eed502494910db7850437bc13b6bee8f50e5debdea3335950c2f7c612238ecfbbfb454d5216c9513e -EBUILD backports-strenum-1.3.1.ebuild 608 BLAKE2B 4feda0bd77a9ead10cf465ae985e09003f307f8f40e6c21ee867153a9d2e254fca4832d0a841c1229a9d49ebd2954b2ddfbad87f0b1cd3de1acfbb3f237972dd SHA512 a0ecd604ff84d68f12ea5519f13de86b0dd96e95d11282dcf499fe69e820e830bfb74ebaa94cd0b6e071000ac96081cb2cda8e61422fefc207ee5c3b7aa0a380 +EBUILD backports-strenum-1.3.1.ebuild 615 BLAKE2B 32df88b7f49d0c92ba423a55b9a2356e9688390b7a6058f0a43fc4c209d85a11fdd7a886e18014ed3e8e2dc96d81e117b5caad7439d264196271db9cb2935d25 SHA512 08e1cc2c3fae4f75e8458e59d4f4061011bd7ad8e5defc76d89549b017072c6a340495f9156f1967bd56edcb5b3477d9c8db1857db27da827eb262d4ed7426a2 MISC metadata.xml 389 BLAKE2B bae738e0aa6ad4d3228376132556dbb0785a16b811f3ee30fcff101cf4ced629217ccd88d6bdcd713b83693b9a22a1f2188c43beb72c870da0e61bbc880211ae SHA512 1f54af1c691ea52e5ab18b48800ea24e885c8404ca6a3147295ec0f711c9303afc6b4839afb5546de199902cf5797c5985a6f81e1455b2798c25ac8ea85725bb diff --git a/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild b/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild index caa2ac65dff3..e01a89c0a899 100644 --- a/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild +++ b/dev-python/backports-strenum/backports-strenum-1.3.1.ebuild @@ -23,6 +23,6 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" distutils_enable_tests pytest diff --git a/dev-python/blurb/Manifest b/dev-python/blurb/Manifest index 970a12603484..6e0063798f5d 100644 --- a/dev-python/blurb/Manifest +++ b/dev-python/blurb/Manifest @@ -1,5 +1,7 @@ DIST blurb-1.1.0.tar.gz 25064 BLAKE2B 4fbdd0d068cc7abb1ffa78dff70bd83feccc1bcfbf8ebb085c9f7e77e0f330d3759f10a94a5ca024b465c01f9d659496ae55162a52b7158a06caf2d114d36806 SHA512 9397173e7bf5babf02c96df27983462e7dd2a729e9eb0cacdf23ca3778336902d5c611ab5e2432bbc877344426d7c62ea8ae77719aa08da98f9b44365583b7ee DIST blurb-1.2.0.tar.gz 23573 BLAKE2B a7a15fed82fca3f13eb840379b186210d6b8a039f61d48c65dce33ab80e970791add63efe9986adb54e7bedd452a3a867791237e250c1949b5b90f06bfac28ae SHA512 ebfe4c84d1f813822d7a583b337460a840235b61257428a47b7b61eb43b4b38fffc84f0fe758c6f61e9ae4b8c9c1affd9038077ddf846f17032e4497f87b78ad +DIST blurb-1.2.1.tar.gz 23333 BLAKE2B 57374a3c787845a867c77480f1826cc82eae8cbdb659eeff9871cb3cf69f8e040d616cf40f051b63160b209b443dc26113b0d319f810cfe78842a759a139881b SHA512 f2bec26dacaa5f3c2016a4712a693ff483c0765b93f61900e7fa69765908b1c16318791e51778b71ffc222d339b5454603e7baec4a1bdfdd4c0e7b41a095f49c EBUILD blurb-1.1.0.ebuild 643 BLAKE2B 7933fe8028c99614fb98c75ad18876aad23428d69c45ab653d068c29c10e97aa2f8a254d36cb270a8daf6e35d4a177ac0dc3f36134ea3d2b54f1092f17f97c03 SHA512 6c8a29408116e72ab975bdde211517e1f0c14980fec9ec5b5b9e0b6197ece5f6c98f3abd6a436cde7bbc660097ba72e41eadb1d829df85b814ae0c27fa255dab EBUILD blurb-1.2.0.ebuild 526 BLAKE2B e52a48b2265e435d058ca21437b000c4bb305c3e2ed4df95a5121459c6859c7a338234481372148982e32a9348bc336d596cbe71ab9924a9cf68d034c14ed227 SHA512 95d0c07226b9a35118c05e270d7bb8de6662de3216b87d6e4c7170b6d68da00a4df568f61707749b09c2b4f5997499c74a950c76219b9c5d4979612df2be331a +EBUILD blurb-1.2.1.ebuild 526 BLAKE2B e52a48b2265e435d058ca21437b000c4bb305c3e2ed4df95a5121459c6859c7a338234481372148982e32a9348bc336d596cbe71ab9924a9cf68d034c14ed227 SHA512 95d0c07226b9a35118c05e270d7bb8de6662de3216b87d6e4c7170b6d68da00a4df568f61707749b09c2b4f5997499c74a950c76219b9c5d4979612df2be331a MISC metadata.xml 1099 BLAKE2B 6c28398a79e4badbe4e2625c07e2a0741b5b78063505201be4be56a29d1e5251d2a3f0c43644d29dfa14fd170b2b5992c4f0bb719fe5719dcd13e3688774bb80 SHA512 b463282283cbca3d728ec3a6eabb6d25c84d4db7cc3dd6a3f462e82f1335ee9c089c60af8e3cf55d6e9fc0eba21ca724a5b36b34b200b38d73b98bf8b375ffd1 diff --git a/dev-python/blurb/blurb-1.2.1.ebuild b/dev-python/blurb/blurb-1.2.1.ebuild new file mode 100644 index 000000000000..ed8b87d5b515 --- /dev/null +++ b/dev-python/blurb/blurb-1.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tool to create and manage NEWS blurbs for CPython" +HOMEPAGE=" + https://github.com/python/core-workflow/tree/master/blurb + https://pypi.org/project/blurb/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + test? ( + dev-python/pyfakefs[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index a45de67ef362..412cf64b18e5 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,7 +1,13 @@ DIST cfn_lint-1.4.2.tar.gz 2485843 BLAKE2B c2e64721b537ab38cad3c3f6d40c509741fb03f61202d7dace4023f4b5b3a7840b7deb88892d9d282d223756a1e3908680ed166cdf216b0c76abdc29d0749967 SHA512 c9761e253ba77198264eabdd9c4e6a290bb9010533628958853c8d5a0f5f7317338f271588b5cef2ac1667f6ed5e1a6e43a3192aa9ff7202b0ca6db061284818 DIST cfn_lint-1.5.3.tar.gz 2354279 BLAKE2B b8c836db35453efbb27fd050a4cb3090ca99fb050256c4e0b8cd5b634320d677f2ed325894a700127891b614ab70cd436e7af06759f9dbcf58ad45f4b50ee779 SHA512 38ce749f21e6118f129d98d21ecc01bc4f828efce8af9f597f624eff9a062dbceb8c670cfbaa0cf581c14d187094ffe90ada4293679c1e0f77cb3baff3308b26 DIST cfn_lint-1.6.1.tar.gz 2366313 BLAKE2B af7b3e8d5145f3368d4c7b2e86b0ffe441c1f6633de34024e8c10d8cd04625673a25e847c15f30a6778bee8196096ffca58241e3a6f21a750094a3b2845f5493 SHA512 f354fa40677f8b601dabfb12b8715f4eb49f8e8aec72d3b9eeb4a63fabe278c36629f404b193f557b193280d6ecd224f0f0a494f9dfc61a04ebb24d0fe953d67 +DIST cfn_lint-1.7.1.tar.gz 2412588 BLAKE2B 259b548e7fc7704c12ca0191d27dd82ce2a75e33c7462520becf218261ac693308f600719850a357d9948f5d2700846b6bc35781491cc4c0598cc494d1090e3f SHA512 ce4933a1c3cdf25b3911b0e057d60a6ff0753937dbb6a5cdf6a1e0afae3fc1532302ac2572191781337cb6a5f0ae1743409714317f79fb9da55295875bd56b27 +DIST cfn_lint-1.7.2.tar.gz 2412586 BLAKE2B 5ec2034dce3c347411408723ebd1e00143c8b2428364cd33591c260fddb1911d595398121dba356d5179737400ac56fa4077ce8458d0b061c886284e152052b8 SHA512 7c9f785ecb08e937f21be47dea736719b1c7afac2b2989e65f84745e220657a0e3ac3427fa53ece4c5fe51b7880fb9da04c9eac7bd509f43978255ec5706f434 +DIST cfn_lint-1.8.0.tar.gz 2376789 BLAKE2B 927a7e789167d5adf04f6a76b309b62b4a2b128db6b1db6a46a771289bc8e6826d021c44209b7dcd711feded2836d10db7727c61daa9f8ef2254a7080c3f30d7 SHA512 e55b24a6e60b4d96317f541787f7828205d04c51816dc5684c37a129b6ff0240e8a0616f15d7fd6917ea18f90d5892c0221fad53fa916cea7a3cd689c1a3c7c2 EBUILD cfn-lint-1.4.2.ebuild 2173 BLAKE2B ba593561e9e98b1bcb348db13747619379e3d79d80231c43d62b71216b6a5ada6cae1f83a080f2bd503c845bd8b3d04f2398dcdf6a34f3fe798187939929a8e1 SHA512 53e045faf285b309669a61c5d5654ae7a7e229588f5ef9ed2bb1d0afccfbb4005ab0464e8950b55009108fb7a56c5e1dfc5dfd74b7072f223221769bd913b60c EBUILD cfn-lint-1.5.3.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 EBUILD cfn-lint-1.6.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.7.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.7.2.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.8.0.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.7.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.7.1.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.7.1.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_{10..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.89.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${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/cfn-lint/cfn-lint-1.7.2.ebuild b/dev-python/cfn-lint/cfn-lint-1.7.2.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.7.2.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_{10..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.89.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${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/cfn-lint/cfn-lint-1.8.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.8.0.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.8.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_{10..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.89.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + =dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${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/griffe/Manifest b/dev-python/griffe/Manifest index d7e15062d40c..714ffd583f9d 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1,5 +1,5 @@ DIST griffe-0.47.0.gh.tar.gz 233418 BLAKE2B cb31882f9ddd7210ac36eb400d182395b0da3cd37e38458f23582117aae4c83e9cd62a3dfb16067ec518a42ed6b4f6d9d77d6927be2ca462297c6420bcd25cd8 SHA512 d1d0603a81a8c859c67791ceeaf3c03a134ae221d7554b2a1133ed60a3ca85d157980b26c6930c282c50d9d46a02f26a44dffcfe0c1bd844a3f0ba58f2a1c52c DIST griffe-0.48.0.gh.tar.gz 370711 BLAKE2B 197da160c0e20d9669a5347fbf256db58c5a3e5e33094ddd104ae02ac9112d2daa17778ba64bc6611117a7d20af42b1b3e4101b3ec56ef8cc0dc2297d6d38a3a SHA512 3b999fbd05b206c973fe5dc7c89500f2fbfe9376529d0b5cc1714dee30f2a17985e4ed6903e638e0b96600e546747f105cab11620190185c133c53dd1df9a364 EBUILD griffe-0.47.0.ebuild 963 BLAKE2B 403cbc3eb4d110952b7ca2e2790bec315e4aa6d8e0e619f5b8d97726493f884b8cef8d10dcba6ca2935b898e445c9901f6b2dac69624e030cab5d11e78356b88 SHA512 ba07e97607261ca1a9258d85871b279157a74bc508cc425368261b475adc60ef6e6b3c2ba69fa6b01cddbd5beee404dc4015036c570b1713b8167b43ddf5154b -EBUILD griffe-0.48.0.ebuild 1082 BLAKE2B 44994f1d0f25a287de36fe290c82cbab8e99a2ca86c5317063563cc74c97571059cc1f71f176a7a82164f5709c2571c471ff344fd0c981374ebeaf8cb79663c2 SHA512 2a924a40345c080bb8faf4f6d247df9d02395372e6671b55a852730f37acd1f12f1236398786a6cac9444a368fdc0d095fe6fc1d13802dd9083979d1c7673afc +EBUILD griffe-0.48.0.ebuild 1089 BLAKE2B 7f937d0297d15780359b71a3a417739657ad148ab94c1e6c9e42c479be3e08d31f86db9bfbffa071d86edb9a16f645a43e71b448ccf5ebbd8bd54ca8f4ef8055 SHA512 2f28eaccd2f51da4889f255bfba1ccdb90b898a2fc0960d3f12f85341fd9280af21da2b5b3d8a6ef471700be467bd679c21a9782948392beb2a185022111180b MISC metadata.xml 393 BLAKE2B f207ed2887879f849db9133aac5b82d507a5c6fc3fed0b931dd0aec5ec8d48991731a15825c7b51d82f1f148c2f6818e3102e963d3342aa248bd475d4b29a692 SHA512 b541674c9f9bf9e356d46de91673e384f50ade9b6f19b0218f03b6e307dde88df2d0078f202bc0a77e18b0d91e89cb6d36ffdac23689ef35306167619404dc01 diff --git a/dev-python/griffe/griffe-0.48.0.ebuild b/dev-python/griffe/griffe-0.48.0.ebuild index b1bdc003e9cd..97705a5b02ee 100644 --- a/dev-python/griffe/griffe-0.48.0.ebuild +++ b/dev-python/griffe/griffe-0.48.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND=" >=dev-python/colorama-0.4[${PYTHON_USEDEP}] diff --git a/dev-python/jupyterlab-server/Manifest b/dev-python/jupyterlab-server/Manifest index edc40920dbff..d9c440f0e7cc 100644 --- a/dev-python/jupyterlab-server/Manifest +++ b/dev-python/jupyterlab-server/Manifest @@ -1,3 +1,5 @@ DIST jupyterlab_server-2.27.2.tar.gz 75817 BLAKE2B fff1e7e274d500c8a0dc9c7c7edd6630c9587b758ad40184917e9bf3d32ba95d0e4b3b8ea5b47a359100e09779f846f97bf197d0094d148c8431c9fc8c839329 SHA512 621e1d4816301fc7c9276b5c2a2448803f79c43775cd9559399a38c9c24020ccaa2adf680cf769f769f87dbcc185bc28753c9f5130e08429b9866f32ce32dc8c +DIST jupyterlab_server-2.27.3.tar.gz 76173 BLAKE2B 628947c066f432148e52726439743379f36c78da29d0b7596402f3ea619bc8c03a36017c130cf4700c1659a6e2ba25c28b02aaf529fc071291252dbbee3615fc SHA512 b4d2e91da8c92896958bb2adcb844d8a48f1b8df1ab8c3ff81511d0f3488c27f70f67c9f8731181fbc27836652e805efa869123ccb4d59d1098cd283a4fbcd10 EBUILD jupyterlab-server-2.27.2.ebuild 1805 BLAKE2B 44d9ed6f1906a953234dfab6e5dde0d16be25a79170dd076e1b10d6acbadd45ed64287113c5ee71d7c2ae9a5c21f0d02657f203cde6fca5f6b550a30aab4ce5e SHA512 6a3021e4ff07cbd29205ff63a3088f19cbaa4de0363d88d5877e2020bc1cadb9846bd6694ef369024af60fc395f8595e5b78aef79be5ee4f233a390eeec8c93a +EBUILD jupyterlab-server-2.27.3.ebuild 1810 BLAKE2B dd8176f23cf858461253a648b561447cd3da13c35c0d64c1df3728ea62ac8b30bc7c47567f2ea77dc84a3642c67a5260955c530ed5cca899ba6bfaaa8edae765 SHA512 b04c62b0d4bfbd1f5209b45d1ba408ee969cd0c930dcbdae51757c58e906104e2fb3d136fc6dc58cfdb431b83f56c1995cd003ff3d8519ec937074cc1b37b520 MISC metadata.xml 426 BLAKE2B 98083ff6255b6c5b4ebe7eb67f4e9716f52397646df275cce4cae2f78b0fbb5dda8d6240e1546b4bac6f13ef3f3f1e6f176b2062e066070d595e5cd93c02708e SHA512 9755e74547fb74a4720c9b755449d913dbfd949bad920ecd3903df91182236ad46712c358b3db8180ddf478a6cc6c2a57c6d1a939a9911ffc7ccb39672f5868e diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild b/dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild new file mode 100644 index 000000000000..0b24f00e45da --- /dev/null +++ b/dev-python/jupyterlab-server/jupyterlab-server-2.27.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab_server/ + https://pypi.org/project/jupyterlab-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.18.0[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.31[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] + -Date: Wed, 7 Jun 2023 22:27:55 +0200 -Subject: [PATCH] tests: fix test_gvalue_flat_array_in_item_marshal_failure for - Python 3.12 - -See https://gitlab.gnome.org/GNOME/pygobject/-/issues/582 - -_PyGI_ERROR_PREFIX() no longer works with 3.12 since we only get normalized -exceptions in there and can't add a prefix like "Item X: " to the message. - -Until we figure out how to add this back for 3.12, align the tests with the -new behaviour (the new exception notes API would be an option, see the -linked issue) ---- - tests/test_gi.py | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/tests/test_gi.py b/tests/test_gi.py -index 25a3b659..261d8b2b 100644 ---- a/tests/test_gi.py -+++ b/tests/test_gi.py -@@ -1573,9 +1573,12 @@ class TestGValue(unittest.TestCase): - self.assertRaises(OverflowError, GIMarshallingTests.gvalue_flat_array, - [GLib.MININT - 1, "42", True]) - -+ # FIXME: https://gitlab.gnome.org/GNOME/pygobject/-/issues/582#note_1764164 -+ exc_prefix = "Item 0: " if sys.version_info[:2] < (3, 12) else "" -+ - with pytest.raises( - OverflowError, -- match='Item 0: %d not in range %d to %d' % ( -+ match=exc_prefix + '%d not in range %d to %d' % ( - GLib.MAXINT + 1, GLib.MININT, GLib.MAXINT)): - GIMarshallingTests.gvalue_flat_array([GLib.MAXINT + 1, "42", True]) - -@@ -1583,7 +1586,7 @@ class TestGValue(unittest.TestCase): - - with pytest.raises( - OverflowError, -- match='Item 0: %d not in range %d to %d' % ( -+ match=exc_prefix + '%d not in range %d to %d' % ( - GLib.MAXUINT64 * 2, min_, max_)): - GIMarshallingTests.gvalue_flat_array([GLib.MAXUINT64 * 2, "42", True]) - --- -GitLab - diff --git a/dev-python/pygobject/files/pygobject-3.48.2-egg-info.patch b/dev-python/pygobject/files/pygobject-3.48.2-egg-info.patch new file mode 100644 index 000000000000..0da834216f34 --- /dev/null +++ b/dev-python/pygobject/files/pygobject-3.48.2-egg-info.patch @@ -0,0 +1,39 @@ +From 2aa50b8841c26eb892f4666508ba72ebb8179f26 Mon Sep 17 00:00:00 2001 +From: Chris Mayo +Date: Mon, 25 Mar 2024 19:21:21 +0000 +Subject: [PATCH] Replace non-standard .egg-info file + +Installing a .dist-info directory containing just METADATA is compliant: + +https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-dist-info-directory +--- + PKG-INFO.in => METADATA.in | 0 + meson.build | 6 +++--- + 2 files changed, 3 insertions(+), 3 deletions(-) + rename PKG-INFO.in => METADATA.in (100%) + +diff --git a/PKG-INFO.in b/METADATA.in +similarity index 100% +rename from PKG-INFO.in +rename to METADATA.in +diff --git a/meson.build b/meson.build +index b8d69c3a..32204ad5 100644 +--- a/meson.build ++++ b/meson.build +@@ -194,10 +194,10 @@ if not for_wheel + + pkginfo_conf = configuration_data() + pkginfo_conf.set('VERSION', py_version) +- configure_file(input : 'PKG-INFO.in', +- output : 'PyGObject-@0@.egg-info'.format(py_version), ++ configure_file(input : 'METADATA.in', ++ output : 'METADATA', + configuration : pkginfo_conf, +- install_dir : python.get_install_dir(pure : false)) ++ install_dir : python.get_install_dir(pure : false) / 'PyGObject-@0@.dist-info'.format(py_version)) + endif + + pygobject_dep = declare_dependency( +-- +GitLab + diff --git a/dev-python/pygobject/pygobject-3.44.1.ebuild b/dev-python/pygobject/pygobject-3.44.1.ebuild deleted file mode 100644 index 713c63dc4584..000000000000 --- a/dev-python/pygobject/pygobject-3.44.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit gnome.org meson virtualx xdg distutils-r1 - -DESCRIPTION="Python bindings for GObject Introspection" -HOMEPAGE=" - https://pygobject.readthedocs.io/ - https://gitlab.gnome.org/GNOME/pygobject/ -" - -LICENSE="LGPL-2.1+" -SLOT="3" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+cairo examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/glib-2.56:2 - >=dev-libs/gobject-introspection-1.56:= - dev-libs/libffi:= - cairo? ( - >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] - x11-libs/cairo[glib] - ) -" -DEPEND=" - ${RDEPEND} - test? ( - >=app-accessibility/at-spi2-core-2.46.0[introspection] - dev-python/pytest[${PYTHON_USEDEP}] - x11-libs/gdk-pixbuf:2[introspection,jpeg] - x11-libs/gtk+:3[introspection] - x11-libs/pango[introspection] - ) -" -BDEPEND=" - virtual/pkgconfig -" - -PATCHES=( - # fix test failure on py3.12 - # https://gitlab.gnome.org/GNOME/pygobject/-/commit/fe6aedd8eebd92844b873f72e99dc4023316c6f3 - "${FILESDIR}/${P}-py312.patch" -) - -python_configure() { - local emesonargs=( - $(meson_feature cairo pycairo) - $(meson_use test tests) - -Dpython="${EPYTHON}" - ) - meson_src_configure -} - -python_compile() { - meson_src_compile -} - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs - local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x XDG_CACHE_HOME="${T}/${EPYTHON}" - meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}" -} - -python_install() { - meson_src_install - python_optimize -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygobject/pygobject-3.48.2-r1.ebuild b/dev-python/pygobject/pygobject-3.48.2-r1.ebuild new file mode 100644 index 000000000000..08a08ac159f8 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.48.2-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{11..13} pypy3 ) + +inherit gnome.org meson virtualx xdg distutils-r1 + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE=" + https://pygobject.gnome.org/ + https://gitlab.gnome.org/GNOME/pygobject/ +" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+cairo examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.64:2 + >=dev-libs/gobject-introspection-1.64:= + dev-libs/libffi:= + cairo? ( + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + x11-libs/cairo[glib] + ) +" +DEPEND=" + ${RDEPEND} + test? ( + >=app-accessibility/at-spi2-core-2.46.0[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${P}-egg-info.patch" ) + +python_configure() { + local emesonargs=( + $(meson_feature cairo pycairo) + $(meson_use test tests) + -Dpython="${EPYTHON}" + ) + meson_src_configure +} + +python_compile() { + meson_src_compile +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}" +} + +python_install() { + meson_src_install + python_optimize +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/pygobject/pygobject-3.48.2.ebuild b/dev-python/pygobject/pygobject-3.48.2.ebuild new file mode 100644 index 000000000000..8427e19554a5 --- /dev/null +++ b/dev-python/pygobject/pygobject-3.48.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=no +PYTHON_COMPAT=( python3_{11..13} pypy3 ) + +inherit gnome.org meson virtualx xdg distutils-r1 + +DESCRIPTION="Python bindings for GObject Introspection" +HOMEPAGE=" + https://pygobject.gnome.org/ + https://gitlab.gnome.org/GNOME/pygobject/ +" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="+cairo examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.64:2 + >=dev-libs/gobject-introspection-1.64:= + dev-libs/libffi:= + cairo? ( + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + x11-libs/cairo[glib] + ) +" +DEPEND=" + ${RDEPEND} + test? ( + >=app-accessibility/at-spi2-core-2.46.0[introspection] + dev-python/pytest[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection,jpeg] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +python_configure() { + local emesonargs=( + $(meson_feature cairo pycairo) + $(meson_use test tests) + -Dpython="${EPYTHON}" + ) + meson_src_configure +} + +python_compile() { + meson_src_compile +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs + local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x XDG_CACHE_HOME="${T}/${EPYTHON}" + meson_src_test --timeout-multiplier 3 || die "test failed for ${EPYTHON}" +} + +python_install() { + meson_src_install + python_optimize +} + +python_install_all() { + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index 2fe51114198f..b83215c52870 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,3 +1,5 @@ DIST mongo-python-driver-4.7.2.gh.tar.gz 1548375 BLAKE2B a40dbe153f36cdf2836583aa0116f447d08376ce7980a09d0f21cea37a34ab318e5ff0b34b7fe1721cf7fc5d5443a1dbe0982d59cb941b0da8a4a99abdc7b19d SHA512 1de8bd14301e365eb53252dedaaaf8c9056dd534662543e2a500511e5f5f67a69e1f11a8a8575efdbd8852bb47b632d59762f66024d32973d20dc17c4448b9be +DIST mongo-python-driver-4.8.0.gh.tar.gz 1550149 BLAKE2B 9462480b17f3da54918883fbcb28a4324e6a00a9c2c34b16267ebcd378170f7fd34ec7290f7a0e3c4c38a5f1f803428cb6a0c64a562d956b3a19c37130697012 SHA512 17513a278187424fea1876d288651e385be759f23eebceca8d04a15182b15ffd64956193bb53e4a90e8b2197c2ebbade274737091f5d2e5fb4398539674c41df EBUILD pymongo-4.7.2.ebuild 5273 BLAKE2B 744a546bd65aeade14cb29ed09c7819eb626fd9a951f6f7436ae71a51542d0485915e68d42d561937e4214a7395a40fd367fe938a1f2d04b32cfd5acdcf94357 SHA512 446fea553ce9072735563be260aa2288567853442a8bec4439c11fb3d4a093de3e751b67ff82154a1e01d4ead1ba46af76392ec28004b07c49d61fe357c003a6 +EBUILD pymongo-4.8.0.ebuild 5851 BLAKE2B 7cb50ac6e97a9bf7ab94be642ec18461f084b49876618927583c017f5b1922e52be92b7201c566af730186d139187dd118dab52f54d97f5020544a5884ff2e15 SHA512 b30250bdeb5cec166ede7f9eb729d2a53245e2ba977c980216e9c6e025f517e166bbc720d46f2188c9a124b9d388ad49708c88fd2ac8caa9b60cbc7990d9515f MISC metadata.xml 880 BLAKE2B 024d83cdf3d8cf94cdc98153a6b429550579d494b053becfe5cda0a7a7f3852632d7155e71116a9ab751e6542fe63985755f4eeb147914bc8dbb1e9fac560434 SHA512 c6110fd18fa7f7819299b5de919bfc0ce407d653115d34d297513ce3a4acd2e16399d6f327c61bc5d4ef8aa6776f84750cff37798415ca4bd59c6fd19961d891 diff --git a/dev-python/pymongo/pymongo-4.8.0.ebuild b/dev-python/pymongo/pymongo-4.8.0.ebuild new file mode 100644 index 000000000000..fed0a4c95185 --- /dev/null +++ b/dev-python/pymongo/pymongo-4.8.0.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + /dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-25.4.1.ebuild b/dev-python/sqlglot/sqlglot-25.4.1.ebuild deleted file mode 100644 index 3ecfcc322a3e..000000000000 --- a/dev-python/sqlglot/sqlglot-25.4.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-25.5.0.ebuild b/dev-python/sqlglot/sqlglot-25.5.0.ebuild deleted file mode 100644 index 3ecfcc322a3e..000000000000 --- a/dev-python/sqlglot/sqlglot-25.5.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-25.6.0.ebuild b/dev-python/sqlglot/sqlglot-25.6.0.ebuild new file mode 100644 index 000000000000..3ecfcc322a3e --- /dev/null +++ b/dev-python/sqlglot/sqlglot-25.6.0.ebuild @@ -0,0 +1,121 @@ +# 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_{10..13} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/structlog/Manifest b/dev-python/structlog/Manifest index e324c837111f..6e0df5b06503 100644 --- a/dev-python/structlog/Manifest +++ b/dev-python/structlog/Manifest @@ -1,3 +1,5 @@ DIST structlog-24.2.0.tar.gz 1346958 BLAKE2B d47e78ec3c55048460a32a860ac2e5ebed9e49f546277e562104fec66e73e25702b61c2b8a250a9729c0c774e7c0c1492733957a9a551328267533187e63972e SHA512 df470f292bbf1de6a4a509f034c3bccb87e21afc31cf31a0ef998485a4b69e5bf6ec46d90236d556c876aa96e5a3dcb323d0bfe9bd8ac63a47b527a747af73c8 +DIST structlog-24.4.0.tar.gz 1348634 BLAKE2B 29b35ad7471e6e681c86363880397869b5a149ff06bd1e5c68c7587ff2da6663ded7d278788b77fbc6d945cadda89073dbb3f43fbd4b0e21a71380a6d361593a SHA512 0dedb73caa9cd8f288267f129b9b61ae7db542fec1c92a38d785e1606d56a1272fb9fb5dd23c04a8fd0ce0a3c41f430d51230475bde4eab1919998187fbe680b EBUILD structlog-24.2.0.ebuild 749 BLAKE2B 4e5d4b7d06e1eb80f02902c9bb6954c54c7629a3a3453c43dcc275e49d20938767ca9abd4e003a232f4fdeffcc4afc5157f3e8de2bcbf7c6dfe618a73d23afee SHA512 57f9a7dc7b6fb5ae3302d2a0b9e32175b4acee80db89fa45517833094f1e6909a76867ef908c0d0ec0df7fd375bd4443e00fb62d703811e80eb760a79608eb4e +EBUILD structlog-24.4.0.ebuild 755 BLAKE2B e3d47b4e8ae8795f4258eaf331625112888bcaef9363a7233f99864e2126e88e1902488ae6e0409b4c74d56c65ff92d8e128ad88b04dd355b04a116ef14ddd02 SHA512 3f965c42be7fe56f0d829eebb5d9b6d25f8f77629b3122c4a7d0e575e9d66796800edf13cd4e66cfd299004a59f2ae1eec078d7000efbf53d87afdc6be316669 MISC metadata.xml 499 BLAKE2B 3fd4b395c6312a21c1db3ad187013d4fafe64725d00fc7e0c1b7db7b1be3cdae014c0688f9bfc867af791cc806d4212d88b7f5f7e8446d32262e1f7d77aa7964 SHA512 87195f8f65e6892029749b08fe428f2d2bad0d261c562caebed9e6052f932d9f73d57227acdc456601bb9ed48f313d9ba8f2581f6d7949a2fd9b7ff3d9f03e57 diff --git a/dev-python/structlog/structlog-24.4.0.ebuild b/dev-python/structlog/structlog-24.4.0.ebuild new file mode 100644 index 000000000000..a523146cc838 --- /dev/null +++ b/dev-python/structlog/structlog-24.4.0.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_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Structured Logging for Python" +HOMEPAGE=" + https://github.com/hynek/structlog/ + https://pypi.org/project/structlog/ +" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/textdistance/Manifest b/dev-python/textdistance/Manifest index 339beeb8dffd..ba7579f4304b 100644 --- a/dev-python/textdistance/Manifest +++ b/dev-python/textdistance/Manifest @@ -1,3 +1,5 @@ DIST textdistance-4.6.2.gh.tar.gz 46619 BLAKE2B 0a205bd5615f252f4ab832597b26cd81f3a817fa9544675b947b2ba8a9d8c128ad261a09fb1ee118e0ca807ff7721f3594de5da11f5df59c90c2d9b7110b84ff SHA512 4e5ec7ef76cfd45b05f5813d624d934a6aa90c326b8bc1af50fdde51c4fda141d5aa826e7a145f4cf59f7d7cbcdcf775746eeb197a2adef3c62ad8570d699890 +DIST textdistance-4.6.3.gh.tar.gz 46631 BLAKE2B 9d4c2172934ba14326fe8ecdf7e955cd664196e58d8cc0c58f712525e6ea3aaa267879c09ba5a67ab015f6abd37593af959f02262c5a4a2fa08a859fe38a52b4 SHA512 ad9b8e031a8ae11dd2cd0f8ee8ee42f15e14eccc05910a45b4b5bf2f2048c4895da354832f88957502998b423616a54e64b94a093e4ddb7be2744c19e7f283e9 EBUILD textdistance-4.6.2.ebuild 691 BLAKE2B 4c67d2fbbe0adc1c02ae5fe505e8573be0e342fe4b6d8e6237715871ff9885dab3367454a94c1a39609adfcfa6636014634d696ea985266e318a7695a30ef0ca SHA512 8e9de580203a53041c2b82fa48cf6efe0cd4003e80c9975fd093538fc65c4d1149468f551da014a8d92f82043a90af37539017af69ab98c7117321ff8f514550 +EBUILD textdistance-4.6.3.ebuild 694 BLAKE2B 3604dff0b26ac6d1d14c442170b1229f2b8bdcf5c36d4b73bf38e8cc2278d5410677f8f1184968a19f992b020480a3081a184892a94b757b7627d45cd8e6c508 SHA512 cd8dac499dfa8a3568d3c16957914b490b35d08eef5ede59141e00b8dcdb4e14f136897c366bce0052a6e841ee5151b401304123c0a15a36e1b90817efa6251b MISC metadata.xml 517 BLAKE2B a429684151f5700f148c5350b16026e797fdedc80b950d3c79c050a4d7418763918a05936eaeeed07b9756d9ec39602128570cd8c27049234bbda27e006ff00f SHA512 be445c2c21f5fd0bee241f8f76094b51c2fcbd7fe0d2175f7455beb881c3b83e8070c8a14817695d2b7a7dfabcdb856e12d7749aadc91ca31f7af8187e9a409e diff --git a/dev-python/textdistance/textdistance-4.6.3.ebuild b/dev-python/textdistance/textdistance-4.6.3.ebuild new file mode 100644 index 000000000000..cbe654456441 --- /dev/null +++ b/dev-python/textdistance/textdistance-4.6.3.ebuild @@ -0,0 +1,36 @@ +# 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_{10..13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Compute distance between the two texts" +HOMEPAGE=" + https://github.com/life4/textdistance/ + https://pypi.org/project/textdistance/ +" +SRC_URI=" + https://github.com/life4/textdistance/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/test_external.py +) diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 80ae847cf308..39eb56cd8bdf 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -7,6 +7,8 @@ DIST uv-0.2.23-crates.tar.xz 63724280 BLAKE2B 32f66ef8a6580d1dd0b7369656784c40da DIST uv-0.2.23.gh.tar.gz 1314282 BLAKE2B 0d662a513b77a4da73945c3eedfa381cd65ad615975b22790ccde2eb467b356a70eacff20a15d37fff6f7b41b155824b0fda9f715d3a45f02c37c5f992f6fe0b SHA512 6b0c8f65e51dc8bf0654976b8866cb225784d91f44af935b243507a404ac4f297697ea22df29da43038eb335938be04e42fda39cbb292fe02715841c9f818380 DIST uv-0.2.25-crates.tar.xz 63731168 BLAKE2B 5693f7db28756e74ad619f1ed0ad9f1c7a14b385da65b71abd0989ef8cce3f961d5e6edb9b8318a495b76ba8352ef0c6b557bbdec2741ff35073b407756cbd90 SHA512 40813d91c90b949f0666f4734717abc6430be293c3fe7336ed907e75a809fc51fc79d520d308fc8d8ddb8f11251137f9219b755b5e3711bf3b9f55fcecac10c0 DIST uv-0.2.25.gh.tar.gz 1377235 BLAKE2B c8c3a68b16c82d51de31700973e52e6745c26a5349696065e9b140f2304ca5cfc30e8a0922178c4630ed6a4823141a82bf0cd8a6631b1a4de1e77a733b70251a SHA512 c78a4bf66ac1140767d0fb7af35ba3f3cd044d04447862a9374b9491742a627e7a27df04689ee64f9dcb6445619a419022e0ae0da4a0fdedf531db9f902583e0 +DIST uv-0.2.26.gh.tar.gz 1401835 BLAKE2B 24d4fdb7f332635293235602ba117167432aa9d9ca196dc835b444a55f0c16fa19aaefb883282c08299aedce1e586dfd8d1f90a889c7ff0c907c366c9391865a SHA512 a630c4c7e8e306336f49d16eebe0bbb20ccbcb0401c495b2c3ab273d04df736737167ad6d368193f39d4bc7ad0e7475cb0e42d81fd2c420fd4f8ef000b820002 EBUILD uv-0.2.23.ebuild 2732 BLAKE2B 04a2e7cc7e8cddcee20be38d133ccd2facc7f1f994f84e09157f9499306374e044c89abe8f98c720bed16ac40f15ef5e5d6a65c2d3c4a7962c2dd3afaabdf9ff SHA512 34cf34422fb6180d10e4d977c398dcc437e270783ed2115689bcb9c5f9fb04e8d15b3f880cad92041da1bcfe2549cca3174c6de66ccadc7b8d25b99b5234ac3f EBUILD uv-0.2.25.ebuild 2753 BLAKE2B 628824cde80b966bfcb5cdf05189addfec329b6bbee50030f8c27acce1863cc764d067a9fb4362e9494765a36616b0500a9a246168f89a41b03a121c74f2fa77 SHA512 e49892970a12eb115b2e35c559dfcb3e76422399a0ed22f67ee018458dda7535e2b692c5204ebbcd20895774abcb8b4376d7a74b50f1f5999b83279cde63eb4e +EBUILD uv-0.2.26.ebuild 2754 BLAKE2B 26ee5e8052e740a3cb973b8e0a1f4bc6b41d216e520e21c93510a1b36b47f830b3a15a578bc1e14cdd0124da3c499b1db588471333bdee7e85ec092a405f95f9 SHA512 36b80a5fee6c7f092365c71c15b32b58db31acb9c853f227849fab8e4713acb43ae4d219a6f58024f122830f836ddf4933b8a4ec486f6a7680d42e4f0ef46759 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.2.26.ebuild b/dev-python/uv/uv-0.2.26.ebuild new file mode 100644 index 000000000000..735538f84a08 --- /dev/null +++ b/dev-python/uv/uv-0.2.26.ebuild @@ -0,0 +1,109 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" + +declare -A GIT_CRATES=( + [async_zip]='https://github.com/charliermarsh/rs-async-zip;1dcb40cfe1bf5325a6fd4bfcf9894db40241f585;rs-async-zip-%commit%' + [pubgrub]='https://github.com/astral-sh/pubgrub;3f0ba760951ab0deeac874b98bb18fc90103fcf7;pubgrub-%commit%' + [reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe;reqwest-middleware-%commit%/reqwest-middleware' + [reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe;reqwest-middleware-%commit%/reqwest-retry' +) + +inherit cargo check-reqs + +CRATE_PV=0.2.25 +DESCRIPTION="A Python package installer and resolver, written in Rust" +HOMEPAGE=" + https://github.com/astral-sh/uv/ + https://pypi.org/project/uv/ +" +# pypi sdist misses scripts/, needed for tests +SRC_URI=" + https://github.com/astral-sh/uv/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/uv-${CRATE_PV}-crates.tar.xz + " +fi + +# most of the code +LICENSE="|| ( Apache-2.0 MIT )" +# crates/pep508-rs is || ( Apache-2.0 BSD-2 ) which is covered below +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT + MPL-2.0 Unicode-DFS-2016 +" +# ring crate +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="test" +PROPERTIES="test_network" + +BDEPEND=" + >=virtual/rust-1.77 + test? ( + dev-lang/python:3.8 + dev-lang/python:3.9 + dev-lang/python:3.10 + dev-lang/python:3.11 + dev-lang/python:3.12 + ) +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +check_space() { + local CHECKREQS_DISK_BUILD=3G + use debug && CHECKREQS_DISK_BUILD=9G + check-reqs_pkg_setup +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_prepare() { + default + + # remove patch.* that breaks GIT_CRATES + sed -i -e "/^\[patch/,\$s@^\(reqwest-middleware = \).*@\1 { path = \"${WORKDIR}/reqwest-middleware-21ceec9a5fd2e8d6f71c3ea2999078fecbd13cbe/reqwest-middleware\" }@" Cargo.toml || die + + # https://github.com/vorot93/tokio-tar/pull/23 + # (fortunately uv already depends on portable-atomic, so we don't + # have to fight Cargo.lock) + cd "${ECARGO_VENDOR}/tokio-tar-0.3.1" || die + eapply "${FILESDIR}/tokio-tar-0.3.1-ppc.patch" +} + +src_compile() { + cd crates/uv || die + cargo_src_compile +} + +src_test() { + # work around https://github.com/astral-sh/uv/issues/4376 + local -x PATH=${BROOT}/usr/lib/python-exec/python3.12:${PATH} + local -x COLUMNS=100 + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} -- cgit v1.2.3