diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-09 12:24:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-09 12:24:59 +0100 |
commit | c218398bbbe70a616790cf146c28c1066b9284bf (patch) | |
tree | a598e8c85afbc52bb7eca18ae415ef4971e65c8f /dev-python | |
parent | a5442e2318cb4df55867389654e322dbac82067e (diff) |
gentoo auto-resync : 09:07:2024 - 12:24:58
Diffstat (limited to 'dev-python')
76 files changed, 1923 insertions, 34 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 0f32ac240268..d4db95cd5362 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 0e0ec68f758a..de11d1ce7759 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,3 +1,5 @@ +AUX astroid-3.2.2-py313.patch 6670 BLAKE2B cb969f85e7810a2d1ef8088a9d35bc086df001589bd0de58be204db762e59aa145f930d275a02f49868277514a5ec492020d1537b323582b79733a5aebb6ba28 SHA512 d2800eab3ba1c54048a24758c9fbfb911a5af0add7a24d0c00f3b245a1a7fb5efbed9614ed5e0032fbf619a473192ba8039047bffdf33fdcdc027a22db2a5643 DIST astroid-3.2.2.gh.tar.gz 465306 BLAKE2B f5bda1377eb825f4166804473eab592d07c6353295dca01517c3facf783ec71f281a27f6344699097784dde7315f794a62cbfae86879b2bbe446fb1191d40995 SHA512 1330f557664b5066309879b8bf05e29102000a6e08c63d94a7e7033f1e2295a3a9c3114f3587b9867f71b49e11428036438e4f22352498494f914f7c9f60d4ea +EBUILD astroid-3.2.2-r1.ebuild 2884 BLAKE2B 418099d6daa3b214708730fffe4e8f9ba2d3e38189846b4faef3e3c9a0944ff9baa7ff9eca5a3f7bd7777967e9017b5a525bcc63ed596f9b2eba40669a254358 SHA512 b9e2768c60f64b83770c2aa900f6e8244fd48b25fe66c22e983c80ef0a8bba83c3a6be20dbf3c7f2e7cb79b874817f59b904af0524aff9f056b9c8e3568bdea1 EBUILD astroid-3.2.2.ebuild 2828 BLAKE2B c8aaa4f72bbc0c815046df90a2f2a3de627cf8817ca74819b7d2497d3903c0f7aaf8b5943406c4e346e4b382d25ddd188482e37c86a00b2b4b64e82acf3bd3d2 SHA512 0d90cec90fc0fc409cb081152da353032088340a8cf7488080c3c92162aa697eb45adf661d39f58269f671b96c4fdadc1a7ec3ae5de7ef32c541d5941ed92236 MISC metadata.xml 1148 BLAKE2B 29a6cfc0c292117920be154d37ed4770f1fb1679186576fe6151cc02d1d6be766045e0231e2fceb87cbd250dbed3888c99b7ca7dc0182cc700a11961d9cd6d9e SHA512 6821d13f5e82bd73ee4fd165c0b4c94f40cd6af536dee1658cccb4175e67da2611c4d1478cdef1607535f23224116ad482197e0b0eef8f0a94d596bf250b3074 diff --git a/dev-python/astroid/astroid-3.2.2-r1.ebuild b/dev-python/astroid/astroid-3.2.2-r1.ebuild new file mode 100644 index 000000000000..a3d9b680035d --- /dev/null +++ b/dev-python/astroid/astroid-3.2.2-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" +SRC_URI=" + https://github.com/pylint-dev/astroid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +PATCHES=( + # https://github.com/pylint-dev/astroid/pull/2424 (rebased) + "${FILESDIR}/${P}-py313.patch" +) + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # pydantic-2? + tests/brain/test_dataclasses.py::test_pydantic_field + # requires urllib3 with bundled six (skipped with urllib3>=2) + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + # hangs + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) + tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/test_transforms.py::TestTransforms::test_transform_aborted_if_recursion_limited + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/astroid/files/astroid-3.2.2-py313.patch b/dev-python/astroid/files/astroid-3.2.2-py313.patch new file mode 100644 index 000000000000..f8addfe9ef7c --- /dev/null +++ b/dev-python/astroid/files/astroid-3.2.2-py313.patch @@ -0,0 +1,177 @@ +diff --git a/astroid/brain/brain_dataclasses.py b/astroid/brain/brain_dataclasses.py +index 88a4385f..743dfe96 100644 +--- a/astroid/brain/brain_dataclasses.py ++++ b/astroid/brain/brain_dataclasses.py +@@ -19,7 +19,7 @@ from typing import Literal, Tuple, Union + + from astroid import bases, context, nodes + from astroid.builder import parse +-from astroid.const import PY39_PLUS, PY310_PLUS ++from astroid.const import PY39_PLUS, PY310_PLUS, PY313_PLUS + from astroid.exceptions import AstroidSyntaxError, InferenceError, UseInferenceDefault + from astroid.inference_tip import inference_tip + from astroid.manager import AstroidManager +@@ -503,6 +503,15 @@ def _looks_like_dataclass_field_call( + return inferred.name == FIELD_NAME and inferred.root().name in DATACLASS_MODULES + + ++def _looks_like_dataclasses(node: nodes.Module) -> bool: ++ return node.qname() == "dataclasses" ++ ++ ++def _resolve_private_replace_to_public(node: nodes.Module) -> None: ++ if "_replace" in node.locals: ++ node.locals["replace"] = node.locals["_replace"] ++ ++ + def _get_field_default(field_call: nodes.Call) -> _FieldDefaultReturn: + """Return a the default value of a field call, and the corresponding keyword + argument name. +@@ -618,6 +627,13 @@ def _infer_instance_from_annotation( + + + def register(manager: AstroidManager) -> None: ++ if PY313_PLUS: ++ manager.register_transform( ++ nodes.Module, ++ _resolve_private_replace_to_public, ++ _looks_like_dataclasses, ++ ) ++ + manager.register_transform( + nodes.ClassDef, dataclass_transform, is_decorated_with_dataclass + ) +diff --git a/astroid/brain/brain_pathlib.py b/astroid/brain/brain_pathlib.py +index 116cd2ee..d0f53132 100644 +--- a/astroid/brain/brain_pathlib.py ++++ b/astroid/brain/brain_pathlib.py +@@ -8,6 +8,7 @@ from collections.abc import Iterator + + from astroid import bases, context, inference_tip, nodes + from astroid.builder import _extract_single_node ++from astroid.const import PY313_PLUS + from astroid.exceptions import InferenceError, UseInferenceDefault + from astroid.manager import AstroidManager + +@@ -27,10 +28,11 @@ def _looks_like_parents_subscript(node: nodes.Subscript) -> bool: + value = next(node.value.infer()) + except (InferenceError, StopIteration): + return False ++ parents = "builtins.tuple" if PY313_PLUS else "pathlib._PathParents" + return ( + isinstance(value, bases.Instance) + and isinstance(value._proxied, nodes.ClassDef) +- and value.qname() == "pathlib._PathParents" ++ and value.qname() == parents + ) + + +diff --git a/astroid/brain/brain_typing.py b/astroid/brain/brain_typing.py +index 9965abc2..7a7c7183 100644 +--- a/astroid/brain/brain_typing.py ++++ b/astroid/brain/brain_typing.py +@@ -15,7 +15,7 @@ from typing import Final + from astroid import context, extract_node, inference_tip + from astroid.brain.helpers import register_module_extender + from astroid.builder import AstroidBuilder, _extract_single_node +-from astroid.const import PY39_PLUS, PY312_PLUS ++from astroid.const import PY39_PLUS, PY312_PLUS, PY313_PLUS + from astroid.exceptions import ( + AstroidSyntaxError, + AttributeInferenceError, +@@ -168,6 +168,15 @@ def infer_typing_attr( + # If typing subscript belongs to an alias handle it separately. + raise UseInferenceDefault + ++ if ( ++ PY313_PLUS ++ and isinstance(value, FunctionDef) ++ and value.qname() == "typing.Annotated" ++ ): ++ # typing.Annotated is a FunctionDef on 3.13+ ++ node._explicit_inference = lambda node, context: iter([value]) ++ return iter([value]) ++ + if isinstance(value, ClassDef) and value.qname() in { + "typing.Generic", + "typing.Annotated", +diff --git a/tests/brain/test_brain.py b/tests/brain/test_brain.py +index b8bc84e3..78b6f8b3 100644 +--- a/tests/brain/test_brain.py ++++ b/tests/brain/test_brain.py +@@ -647,7 +647,7 @@ class TypingBrain(unittest.TestCase): + + @test_utils.require_version(minver="3.9") + def test_typing_annotated_subscriptable(self): +- """Test typing.Annotated is subscriptable with __class_getitem__""" ++ """typing.Annotated is subscriptable with __class_getitem__ below 3.13.""" + node = builder.extract_node( + """ + import typing +@@ -655,8 +655,13 @@ class TypingBrain(unittest.TestCase): + """ + ) + inferred = next(node.infer()) +- assert isinstance(inferred, nodes.ClassDef) +- assert isinstance(inferred.getattr("__class_getitem__")[0], nodes.FunctionDef) ++ if PY313_PLUS: ++ assert isinstance(inferred, nodes.FunctionDef) ++ else: ++ assert isinstance(inferred, nodes.ClassDef) ++ assert isinstance( ++ inferred.getattr("__class_getitem__")[0], nodes.FunctionDef ++ ) + + def test_typing_generic_slots(self): + """Test slots for Generic subclass.""" +diff --git a/tests/brain/test_pathlib.py b/tests/brain/test_pathlib.py +index d935d964..5aea8d37 100644 +--- a/tests/brain/test_pathlib.py ++++ b/tests/brain/test_pathlib.py +@@ -5,7 +5,7 @@ + + import astroid + from astroid import bases +-from astroid.const import PY310_PLUS ++from astroid.const import PY310_PLUS, PY313_PLUS + from astroid.util import Uninferable + + +@@ -23,7 +23,10 @@ def test_inference_parents() -> None: + inferred = name_node.inferred() + assert len(inferred) == 1 + assert isinstance(inferred[0], bases.Instance) +- assert inferred[0].qname() == "pathlib._PathParents" ++ if PY313_PLUS: ++ assert inferred[0].qname() == "builtins.tuple" ++ else: ++ assert inferred[0].qname() == "pathlib._PathParents" + + + def test_inference_parents_subscript_index() -> None: +@@ -40,7 +43,10 @@ def test_inference_parents_subscript_index() -> None: + inferred = path.inferred() + assert len(inferred) == 1 + assert isinstance(inferred[0], bases.Instance) +- assert inferred[0].qname() == "pathlib.Path" ++ if PY313_PLUS: ++ assert inferred[0].qname() == "pathlib._local.Path" ++ else: ++ assert inferred[0].qname() == "pathlib.Path" + + + def test_inference_parents_subscript_slice() -> None: +diff --git a/tests/test_inference.py b/tests/test_inference.py +index ec8fc71b..95f00821 100644 +--- a/tests/test_inference.py ++++ b/tests/test_inference.py +@@ -4458,8 +4458,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase): + # and reraise it as a TypeError in Class.getitem + node = extract_node( + """ +- def test(): +- yield ++ def test(): ... + test() + """ + ) diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest index 76e0ab683196..5db2d42b6ad5 100644 --- a/dev-python/asttokens/Manifest +++ b/dev-python/asttokens/Manifest @@ -1,3 +1,3 @@ DIST asttokens-2.4.1.gh.tar.gz 57358 BLAKE2B dff2bdbbb62ed0c99f620284e4ad4abe418c315356caee26988ed7722a9aec77be4fe79b877e350cf632e076cd7c421f6ec824e7ffdda1d6684b03fffb15e7b2 SHA512 62263e50e14953e98236cdcbd75121ff5f6a3dc949170412a97f17af9b2572415373971d2286c4821b03249404b5a4c53ef5c7f1ec37aa9e2bf4a743d16de1da -EBUILD asttokens-2.4.1.ebuild 1082 BLAKE2B 65006534852fc95a2fe7ec0e1f34370717a542d12f179fc75b0a303a85478457e2217b4cb28f1f92b83c5a9be109918cef56aa3ab350bf17c6f944950984c23c SHA512 77ead6c783e7f261469ff3176f09a1fe1d1657fa221f7aa675626d152c0a040f9ad855fb77cd0d5d0dcd522d4c25a2542da08b1ac03fbb4561a7de4147df00c0 +EBUILD asttokens-2.4.1.ebuild 1082 BLAKE2B 30b68a1ff7b2e12c1edb6a52d85c4a0ce8bb409b08409d398686bddc91119cf6db7aae04dd7f80ff1c09bf374b1229ac7620ce97a81834af10e4248ffd5bf3ba SHA512 4bb0618d57a34dd43f4083a33e18c4ab7cad91fa50bb4b37a9c60073ff67b67ada3d8e2c179792c48a9979c7de1ff99a8b91f7ca5acba8f64be9eb7739b76c38 MISC metadata.xml 350 BLAKE2B c05dcff93454660cb741def5cb0ca82e56f0cba84bddb9604153b6d70625e4dfc9e15743c3448a0cb68d9b5ccf0778f8126390872bd8689df0e0ab2bed7e6582 SHA512 521762b1e8a542c5f3156014884c3d845b6fe882e819c924aa8023f8dff32a94490e64a1d1f700f5127bd867c60c4f0f7c4aed5c39f78e52bd8ebabd113403cf diff --git a/dev-python/asttokens/asttokens-2.4.1.ebuild b/dev-python/asttokens/asttokens-2.4.1.ebuild index beb877005411..37639c55462b 100644 --- a/dev-python/asttokens/asttokens-2.4.1.ebuild +++ b/dev-python/asttokens/asttokens-2.4.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 12779c71d1e6..29b32577be32 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,7 +1,9 @@ DIST boto3-1.34.131.gh.tar.gz 822851 BLAKE2B cc4b06ca1785e62314308efb7d9ffa6e10a40fe48bdd3e31f9f12490a57843ad528685d04ea9ec40cf2203acc0ee0a9fb58ee272837c9a637f44c2716f60de7a SHA512 79cd8718c6d84cdcdcadfcde80368addc095770624806eb8cfa981852c2a8ebcc8074533ec8f8e24b01a3aed241afccb6f49fdce250ae07f630d8596931778e3 DIST boto3-1.34.136.gh.tar.gz 826543 BLAKE2B 307705ba777d155772a2dafad775e55d94e17a9e4c2986e48bd8a691c3bc4e433f212e1a59053222927bda42584b2d1d266bc2489f94fd3e4463416c56531d54 SHA512 f2307db517b393164028c17a8073c5baf7f7e3be36c988a90d455cad98a55b7a7e1a6e44584038141047237e81cb495bffaf70747de421ce316bb457e2d168e8 DIST boto3-1.34.140.gh.tar.gz 828290 BLAKE2B 129c0f791ddc07f90d2b9ae2972839a0bcaa393e3a8f843a9bca9ebf699f36290b95d17c3f906f49ae5c9ee8cd15c5de7f9de96572573f12d40c7ada778c7679 SHA512 b052ac336e68577140017b5a45f1787eec985e42d86e25cdafc15c6eadf8652b75bb006cf86ce0a3e0d9f3b657ae2afee41a75f624fb5e277a49f1653a83f64f +DIST boto3-1.34.141.gh.tar.gz 838371 BLAKE2B cf89956f3441e5936ff389fcb81527dc025d064d098ebc035474a7d079daba61972d9cf2a6bcdcbe163187f4f39313fc791dbc2ed3482091d7c27e1d7908cf1b SHA512 fc8d484d8cb7528b7f821f1cf8b22bf6df9be546fd2ac02a3ed697c75c9cc8c31c03c930e4f3a5edc4023b47121ded85df46510ec1f6a7b5e6076dd57641626a EBUILD boto3-1.34.131.ebuild 1198 BLAKE2B c863be0c9348383129a919e79acbc6962b7c3973f77f68c85df6944a7658a2b39a44a91d904b7fee34ffb849e904e7bf6a503ca35a56085f2b04f40cbb70d4d4 SHA512 10a7f8345e1dc13766f1a15a127a885a42f7750f15c53b25fcba2ef033083192b7381cb53cd7be6c8c876bc1422f615578f730efca83c71ece042593282043a6 EBUILD boto3-1.34.136.ebuild 1205 BLAKE2B 27d096dc4f88c8351e0857e9f8b4195060f3f1218e1734c699a832246cc59e081cda9ee7369e3b44706e7ce8ef390e8792e273aff7f6e92a75c69461fc1136d6 SHA512 cca4aef410e4fb2ef71181a15233da830df39d8b7f1e779b5d6a8df74eb602afee11b8965e0ca9254cb87155a8514b43fcc0de09f681ecec9a384a904f3fe0b2 EBUILD boto3-1.34.140.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af +EBUILD boto3-1.34.141.ebuild 1205 BLAKE2B f1dce08bbfa9b103deaf3f8fcc34e0ff6e7aaa8a7be0ea69727c268ff7da0a1ddfcddc24bde5c654fc3f0f09d3c5a801a23e19c37ae05c3ebcf3bf26ec909b73 SHA512 94863e2208e36b66149792688378242b66b5546735fde1c3ccea6ad4883ab08046a9fd566d9016d5fd9612c035a7af4d5af599b0c18bad7137bdd1db5e6848af MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.34.141.ebuild b/dev-python/boto3/boto3-1.34.141.ebuild new file mode 100644 index 000000000000..8cba6d95740e --- /dev/null +++ b/dev-python/boto3/boto3-1.34.141.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_{10..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 0e4e25cb7ecd..33767a7b0bf1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,7 +1,9 @@ DIST botocore-1.34.131.gh.tar.gz 13129943 BLAKE2B 916360c6a9526edcfd338718f80556e59d54692aac13f38490e49457edd59016d264a5acbfeb6298af494f09f9c385e16347a9bf7f144c5a11afda2df188aeed SHA512 9bb788ac8e8a2ec7be999acafef88ccbb4e693ccb315efe5655b80cf3f6629eebccbdac6f201550d2f75e476d83c5a800f1add6c71e2fe5b3d503da313f6d3d3 DIST botocore-1.34.136.gh.tar.gz 13151618 BLAKE2B 800b800ff2481335f0defb79c10a4216c8bb107a3369e6a45a9c0a6d8f703209a9e44560ebf859f7fc616498c68e9b0de331478a8b5e2d3b36788bdedb597a0b SHA512 e9a31f6e8e241964fa34df65c8a9f8acaa1e33865eeb8257bf6da16982a3704b8ab66b6f424952ff100944471bb8f40cbdbcc26f72120da2d6033319948de81e DIST botocore-1.34.140.gh.tar.gz 13156596 BLAKE2B 4a264fe767c35dcc65ddbe1eb29529d2576553e4d6f9a3d6c28f249aaa0eab5a0fd150fdbdc1dbd1b83cc1fb6fce8f58c68de43f5dc338cb3feb5b9f76c8f973 SHA512 36c90da9670639ccc10e65ced501a2b16e50b664f11be2686f6fcfc56fa81271f160b27b7ffac513446afe09ef6ed4768818ad8b8ca540571737c47fdf980443 +DIST botocore-1.34.141.gh.tar.gz 13177346 BLAKE2B f62ffb736687cb016d0aa3c00b74c8ffbddadc0f7e47bfed9087872f930fcb85a03da9c3f9c494f21a405afc7c0d5f8e9d50d7c3cefa9c1ea17a97d5f184feff SHA512 91b0f6007e7f030f9ab0c83276884ea993cdaa1f395c51ff4ff3a43e4a8b6f80eed4a93f4f5248984f00b51a44cfe37d51cce70147ed5a578cc0e006c2d0b4dd EBUILD botocore-1.34.131.ebuild 1477 BLAKE2B 784b43f060f0702808a3894fdab7a15dd4b4feeffc3c1ab2fe24cca762b2dc1310f40ae5b2941db5c4aa9c4ff8b69d858520826027a50ce975d25150132b4d56 SHA512 e86970ec900929641794d61e02f26bc7e7c8af803095dcc5c8fbedac9d79275c596176f2b492061289056c7d29ebbaa6e64344148f22b6349ac4420ab5038dca EBUILD botocore-1.34.136.ebuild 1484 BLAKE2B 30f7e11da3d7c36574e721023e7a0dba6ffe87172afec095dec711b929274a58d6a1352d131df44cd36598f11dda34df8d2e51e723b62e8ac096437360526aa6 SHA512 699735f1b1feb67c3b03d3e3787b45bfa3bc2ac6f639881b9414cdfc4aea5bb022d2e701d09061de5a237dcf3f32be4668b7ebc3f12cd950765b439d1ea4d88c EBUILD botocore-1.34.140.ebuild 1833 BLAKE2B 5609eba12164e385a3a24c3dc8b4d723a2785c3580605580091de3b6e59005dea40fcb341cfe05ff4ba5b82f01428eeb687443cbdf59f13409938e71b6c31a4f SHA512 2ebd7e0d81ade32081d6ea0360434eadf6234ef16956de82659401bbdbab6977b5a082bac7cb6be8fb867527f1ae5c94049f011117a6881c7b57c2a7045622fb +EBUILD botocore-1.34.141.ebuild 1833 BLAKE2B 5609eba12164e385a3a24c3dc8b4d723a2785c3580605580091de3b6e59005dea40fcb341cfe05ff4ba5b82f01428eeb687443cbdf59f13409938e71b6c31a4f SHA512 2ebd7e0d81ade32081d6ea0360434eadf6234ef16956de82659401bbdbab6977b5a082bac7cb6be8fb867527f1ae5c94049f011117a6881c7b57c2a7045622fb MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.34.141.ebuild b/dev-python/botocore/botocore-1.34.141.ebuild new file mode 100644 index 000000000000..a485364722b9 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.141.ebuild @@ -0,0 +1,77 @@ +# 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 + +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 + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_paginator_memory_constant + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory::test_create_single_waiter_memory_constant + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/btrfsutil/Manifest b/dev-python/btrfsutil/Manifest index 590ffa52d0f4..d0727d824539 100644 --- a/dev-python/btrfsutil/Manifest +++ b/dev-python/btrfsutil/Manifest @@ -1,7 +1,10 @@ DIST btrfs-progs-v6.8.1.tar.sign 566 BLAKE2B 843eada2b00a2370522edc95d79bcfed88bd24233e647946d4807322550593e4d5f5bb5efa6652c754dd0965dc3e389bc97698a0bd8fc5d0e850bea94de98e72 SHA512 84ebaa6ec27aa5bc87a323f5c6cc82a860fada7311ab8319127de3592294c1076d25959e412f8387d54bad3b8ff838ce39c4db4b04a658b2de2eaa7c976e2b09 DIST btrfs-progs-v6.8.1.tar.xz 2652968 BLAKE2B 34406dedc6d97bd94a498c3bbb424d34a59b8251b37f9a40a87740f96db77780a4cd76c88055b4d9e4f673b4a3621503a6bedb67ceaf20870fb26c10f49b74e0 SHA512 b5f0694e56eecf1956313b3406610c2e22658ace51a636d79efe996780bb0b03fed95e68a8c9a11dd8649958c0e7dbc7417bb479859365d47b52e478f6830d46 +DIST btrfs-progs-v6.9.2.tar.sign 566 BLAKE2B 4cd95496d355444c7d3e582a7e6c05fbb55683008b1585a26f38aef6cceb1afd5e80c9611518d6bd92dc1167798d4012c4bcab2f9bda752c459d94cfa6f3c477 SHA512 3fb04e1894e231abde388a39d2f0c90f43c1a1494622c2158fab9b94bb340e064404bcf96e24d913c60aaf5e06ade42fbb91a479949109b329682bb089f66bf2 +DIST btrfs-progs-v6.9.2.tar.xz 2661684 BLAKE2B 38ab189ac8271ba8d68b74e82569159c671cca1cb946f56ccab28b6b206cb6ee5b330d83afc3536b7e0d7399da3fb01e368809c1ef4a64b843ea88796ebd28bd SHA512 1df9d5456d07a035c38c17795996a4fc621eeaa244ef54383d4387205826d2a6e971910e55031d20bb1baf23193efa7439e110312ffd8471f07aaf8c0baca20a DIST btrfs-progs-v6.9.tar.sign 566 BLAKE2B a2e26047775bcc407b8f5aa8b08b0708a01c84a8cd649e50a935e15d04e2ee917010fc98df0dfb80320ee25a8dbfbbbabbb1f155489f32391544100956ba9636 SHA512 1e8304b3df013a841e82a8656361946914d35f680b5bc547c1599fdd98a75b66e2b1f869c8b043d7532182318c2183e699a9d6101ab4b1544618d2c8a25362e1 DIST btrfs-progs-v6.9.tar.xz 2663052 BLAKE2B 9fad691327b6290b3ba0e1a638576b65e4e4d6c8f32549ea0f10188fdb40028315abf5e330976ff7a5efb6a258d0008e7602ae81ba0339888f474dc056791798 SHA512 e97907b377040371f4742a45345ec720e0cb8e0cf9ee5fdc60618ce2bc76f572725ec32e1a178fd57534f73affd3eeb5e6cfebf23734f04583bbbef858d913b2 -EBUILD btrfsutil-6.8.1.ebuild 1114 BLAKE2B 5d5971d8c54b2e7b7505377f20b55fdee23d62f912331a65080f368e6f5217107a1a69743c8dcf993990223f240e5bde8dbd06f16d0782e4ad09f6b5f51872cb SHA512 1bcb812baae60803bc00b2084d32635e83c8c235959455e8716a34555b105a4d688a9200f440248774dbcb1d370eb5db329854cf772c4126dbbdd671453eb78a -EBUILD btrfsutil-6.9.ebuild 1238 BLAKE2B 1904eaec33f42d219dd58c5b51f7089e3e8c576d8115ccfdf1f56f961b8b9a5aeb83d04bb56085feb0888d8485f47e8281366bbec1021de7edb38027a971d73b SHA512 2246a860eaa1de64d17d76cfb27243c914211d1473573be9540883c6eae55cdf2545cb2d56624685c2a75a045bae302baa010cb68bab180584ef38bb6791b9cb +EBUILD btrfsutil-6.8.1.ebuild 1172 BLAKE2B 8257e99ae21fc7c9bca15380f56b02b0e5e88e70cc3b5c4f2dbb35f2d2ce01b6dc938bb490cc149201a6953c344ad8572c86e7c86ad805a07ad807935eafc90b SHA512 a8b0ac33f2c866234bf4275ef815e8198e9a1fab4d588538d7944ae792d45f10ed4b6573f5881cc7d20c96e0ea74a75029eb3dcb2a4df3b13f6ec8d51b7e7b0b +EBUILD btrfsutil-6.9.2.ebuild 1296 BLAKE2B dded62236c18d26a163d898136c19bb3d8be688d1d6c87ed713c05bfe60cec84475fd36f17868ecbe6ee761c96fe3e545992a4364a6b25da8ee877848e6c7479 SHA512 e7b7ee702f67837cf0b4630e34a416b89c3f027b4666d1455b5be1f759c610135dbdb93bc87edd53a800960d2e601749077d8cb81c37fdd2e9579d2ed0c62179 +EBUILD btrfsutil-6.9.ebuild 1296 BLAKE2B dded62236c18d26a163d898136c19bb3d8be688d1d6c87ed713c05bfe60cec84475fd36f17868ecbe6ee761c96fe3e545992a4364a6b25da8ee877848e6c7479 SHA512 e7b7ee702f67837cf0b4630e34a416b89c3f027b4666d1455b5be1f759c610135dbdb93bc87edd53a800960d2e601749077d8cb81c37fdd2e9579d2ed0c62179 MISC metadata.xml 306 BLAKE2B 94f20c2598ad4740c885d13b50ea0fed283f2272b3be78bdf31dc69fe536350d6ae709065164a3a4509b0e622f8f9e38723f874a7241312c6a21edfa4f8376b8 SHA512 e86e1320edf5688903321fff7a483de794a5cb4ced4197a8ccecd0cd09a0c5da2a33b73c06d40422f192de2a643b51ff3331d2e83dcf3ebe33bd613377311b9d diff --git a/dev-python/btrfsutil/btrfsutil-6.8.1.ebuild b/dev-python/btrfsutil/btrfsutil-6.8.1.ebuild index 6da2d87766a8..29bf098bb9e0 100644 --- a/dev-python/btrfsutil/btrfsutil-6.8.1.ebuild +++ b/dev-python/btrfsutil/btrfsutil-6.8.1.ebuild @@ -5,7 +5,8 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +# py3.13: https://github.com/kdave/btrfs-progs/issues/838 +PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc inherit distutils-r1 verify-sig diff --git a/dev-python/btrfsutil/btrfsutil-6.9.2.ebuild b/dev-python/btrfsutil/btrfsutil-6.9.2.ebuild new file mode 100644 index 000000000000..ea175591c6b1 --- /dev/null +++ b/dev-python/btrfsutil/btrfsutil-6.9.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# py3.13: https://github.com/kdave/btrfs-progs/issues/838 +PYTHON_COMPAT=( python3_{10..12} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc + +inherit distutils-r1 verify-sig + +DESCRIPTION="Library for managing Btrfs filesystems" +HOMEPAGE="https://github.com/kdave/btrfs-progs" + +MY_PN="btrfs-progs" +MY_PV="v${PV/_/-}" +MY_P="${MY_PN}-${MY_PV}" +SRC_URI=" + https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.xz + verify-sig? ( https://mirrors.edge.kernel.org/pub/linux/kernel/people/kdave/${MY_PN}/${MY_P}.tar.sign ) +" +S="${WORKDIR}/${MY_P}/libbtrfsutil/python" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +DEPEND="~sys-fs/btrfs-progs-${PV}" +RDEPEND="${DEPEND}" + +distutils_enable_tests unittest + +RDEPEND+=" !sys-fs/btrfs-progs[python(-)]" + +src_unpack() { + # Upstream sign the decompressed .tar + if use verify-sig; then + einfo "Unpacking ${MY_P}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ + < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + else + default + fi +} diff --git a/dev-python/btrfsutil/btrfsutil-6.9.ebuild b/dev-python/btrfsutil/btrfsutil-6.9.ebuild index 15d87b143716..ea175591c6b1 100644 --- a/dev-python/btrfsutil/btrfsutil-6.9.ebuild +++ b/dev-python/btrfsutil/btrfsutil-6.9.ebuild @@ -5,7 +5,8 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +# py3.13: https://github.com/kdave/btrfs-progs/issues/838 +PYTHON_COMPAT=( python3_{10..12} ) VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dsterba.asc inherit distutils-r1 verify-sig diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 7c46c21e3bb1..4bbbb45da243 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -4,10 +4,12 @@ DIST cfn_lint-1.3.7.tar.gz 2469769 BLAKE2B aa059688cee5dfc35ea76a0d771e3c3d37078 DIST cfn_lint-1.4.0.tar.gz 2428307 BLAKE2B 43987652c8f12dd24f62f9122b4aebb19edd2573e01d28ba121cc3681b3e04f5a5a3c15fd70f57b6ef9b715e686d191fab0cae11554c3c185ea756d89bce624d SHA512 d07b29794443a5df7465052ab1836a67212f5b6801ba1784e054aef26c1d4f2c923aa82032f7df18b22993334e5a957f8db7d7d9aa600edab91da7d92816339b DIST cfn_lint-1.4.2.tar.gz 2485843 BLAKE2B c2e64721b537ab38cad3c3f6d40c509741fb03f61202d7dace4023f4b5b3a7840b7deb88892d9d282d223756a1e3908680ed166cdf216b0c76abdc29d0749967 SHA512 c9761e253ba77198264eabdd9c4e6a290bb9010533628958853c8d5a0f5f7317338f271588b5cef2ac1667f6ed5e1a6e43a3192aa9ff7202b0ca6db061284818 DIST cfn_lint-1.5.0.tar.gz 2404325 BLAKE2B ba8b87334693da5b55365d47403a51922bc4230abe7b4179941c77e02cea6fff0934539cb83438830d71213ee7b8c6d73c6a49bd4ae6c2fb8093d0a2365b8aee SHA512 76513cebaf4e1d04c5846f40aca4be4ca6838c0f06948c8ce38739ef8d4b310c233f2d0a260ec7db8346ae56f0a5a0d1ab8ed618efdc4e03829840e66f3479f8 +DIST cfn_lint-1.5.1.tar.gz 2341772 BLAKE2B 00c1801a4f632febaf7a63f3a4b75b1cf21411584672096db56cfe497b83c64991aa049764e9be3bfba593d6ec8c5150f1f06e831de52df68ccc5b74fbe1cf46 SHA512 68acff7ad0532c4b3385ee620506c1391b7e9581663c04d5e763d67d265e05cf96f689dd4cfa9bfebdb0f3ac890835d02d1367900d64fa424ba7bc8bf1fb37a8 EBUILD cfn-lint-0.87.8.ebuild 2040 BLAKE2B 3433bdc70808b67fabab42d70ead74e6e024f9dbf09e2a8aaf6814789edada5ff4508b580a0284facc6e4fdf8a7b3e3700a17edec42dfe72fb38fa955c67ff47 SHA512 eea1fd48f1012633408f84512a87d856461ffd1fa7710687a2db2e5fb715fbfd36c53e73dd92c3c8cff37d322c8367554e65c802342d18a7b241a1d4b073397e EBUILD cfn-lint-0.87.9.ebuild 2043 BLAKE2B 02f4a43649563ef965302d40bff0f6b8bed6acffdd2f3aa54670816062f1b5dc3cf26112d8ca31d002acc00f850cf3d19c8b75f948b4bfdeb46bd1d8f45ea568 SHA512 f24a5e9e4fbb1bf94117513d19ff04f2e26cf4da1cc57aebc6ae3da509ec5e4bc3c01ecfc254a1f1b7b1cad6a2aa16ca6c8e0fcb3d33af8fa6e359c1eda60932 EBUILD cfn-lint-1.3.7.ebuild 2110 BLAKE2B ac9b693bc6097b01441e4b90e8112b26b5773a6ffd11c97177b5672250bb3f0755eca45b2943f119e565bcaaf1b64ab179d59157470538b0d350dd96799e978b SHA512 1cb9bb4e70ffbcbac8de8e0a0af9d265553f179e38b303eb3ed848c679e3a47fb6015458dd9746f5328876a715b1bc7f32a38697d9e6433a6909a38c97dbdec4 EBUILD cfn-lint-1.4.0.ebuild 2176 BLAKE2B ca7307bebcdfb8816a3fd6b24f034b1f3a392260aa88686dff25265e47308c31ecbf065f2a092367414b9f5ca6338239e1ab5629d07014b561c50f8be9ccbdb8 SHA512 08c06da07cc919f2694222f5c11844375301fe4cf5b1d5e148bd6a308140f4043c48a412bfb2fc3798b6d3c6ecaf7b2c247059f85e06aa943ffe0d523e9493c6 EBUILD cfn-lint-1.4.2.ebuild 2176 BLAKE2B ca7307bebcdfb8816a3fd6b24f034b1f3a392260aa88686dff25265e47308c31ecbf065f2a092367414b9f5ca6338239e1ab5629d07014b561c50f8be9ccbdb8 SHA512 08c06da07cc919f2694222f5c11844375301fe4cf5b1d5e148bd6a308140f4043c48a412bfb2fc3798b6d3c6ecaf7b2c247059f85e06aa943ffe0d523e9493c6 EBUILD cfn-lint-1.5.0.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 +EBUILD cfn-lint-1.5.1.ebuild 2176 BLAKE2B 07cacdbe24678c647596829bbfba09e70569c2b1f575c318581364c7e6cfe505cc12c0e4fe4174073e51aa123d2d5066189ff5058a008591b68b707cf36ca841 SHA512 97011ea77add065c2ff78d5cc6ced93c9e1251ee5da063afb7c957e2dde3639421e331ab31ef20571409f7f167bb4102bdbda8a4d463363c7ea34b1130ebfca6 MISC metadata.xml 583 BLAKE2B 9f73e2b92e5cfa2ad59f5c8e5d91bdd3aa9eba3fa722b93b388cffea42020db7e7441bab5749432812934a4514d3e9104e6d897e1d115afa5ed237757bd48c03 SHA512 1866a349855ae4e248498b7aabd6ce4c4e10ea58731df4bfa13500f61dc041da6dbd7420e7d6a78fad46d5cf00bd7ef2d0c4c7d6819a21b3a5031b0d49588a19 diff --git a/dev-python/cfn-lint/cfn-lint-1.5.1.ebuild b/dev-python/cfn-lint/cfn-lint-1.5.1.ebuild new file mode 100644 index 000000000000..4ec420c8b216 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.5.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-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/dill/Manifest b/dev-python/dill/Manifest index 0c926107aaba..a054c5bc7f79 100644 --- a/dev-python/dill/Manifest +++ b/dev-python/dill/Manifest @@ -1,3 +1,4 @@ DIST dill-0.3.8.tar.gz 184847 BLAKE2B 6a0eb76526d5bc4afa003f34454c3a93b2b53e2d5bd362749bfcc22c6fe294dff3af9d52e83b288e999d7074d82a2671b3d271b3b423030f4cfd57cd70acdc6f SHA512 478d83af69dc0639a08e011e46127d9485dc998df54622e7fbb9ce4b004640d1b23aad57717d791cc609cd9d7071ea7300bce4be982488e4d21c5986e67ce586 -EBUILD dill-0.3.8.ebuild 602 BLAKE2B 78ad2e7eb079272c74b8ac45d758f1f5bd47e83b8516d056d30a8b344a25e42c46f37679f98321572425d8b513de0066b4e2b0c19795849c6a844fa2ae44bb31 SHA512 87dcfbf03607027a29649586891d9a65edb6eec2174f47fcafacce76666f3fc90c4961a1c35883b147ab1503af50b57b8ac79100b12316af2d3aa5c375e11e9d +EBUILD dill-0.3.8-r1.ebuild 657 BLAKE2B af8e4413ff72fbe0358e44e102be579288e46c6c692954faede91edb0daeab958031e43b305a31ca13f9b62bb1ef39ec7bc19bc8d4f83ece3c7d47b02dcc1462 SHA512 a6f538221d4b405bf0dada92b45a4a35579669f94faf2c3e7b3dcf34372bdcddf9a5e52da00a9404abe847b9609ed8aa1d02d7bb76fed372b496acfac3b144f2 +EBUILD dill-0.3.8-r2.ebuild 856 BLAKE2B 2a21a045cfd1edf2f549c7faab0beb20ea78e64a0f3899a8af79eb021fc68554a40fee0f6a4033f12a879e466823087a428a1910c736fa43c1c5e1f903ee0c54 SHA512 2dc6dd92bdc08a444dbab60d976fa1fec4e8610b01cf26c2baddbec31e590eef2c80fe3793a766e4f6ddc2ae81215c55ac779b2eae6047cea27bd1a7e223d946 MISC metadata.xml 997 BLAKE2B ae32cd96d7a4967a9886d4903e21720459c0a963a675d301c2bb651fdb15877d845100822c1e7a7b6184ccaa666cbb6dc58f939616de9c1c22554670d841bd19 SHA512 e3dc363382bea8ed76343b62377c139ad84011a6b804f64b65d93941a7c192c268c0da273c73d5ec1cece7320b15fa88bf5a2f20a628d8845efddab24f3acc5b diff --git a/dev-python/dill/dill-0.3.8.ebuild b/dev-python/dill/dill-0.3.8-r1.ebuild index 301fe58978d6..46438895e551 100644 --- a/dev-python/dill/dill-0.3.8.ebuild +++ b/dev-python/dill/dill-0.3.8-r1.ebuild @@ -19,6 +19,10 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +RDEPEND=" + !!>=dev-python/numpy-2[${PYTHON_USEDEP}] +" + python_test() { "${EPYTHON}" -m dill.tests || die } diff --git a/dev-python/dill/dill-0.3.8-r2.ebuild b/dev-python/dill/dill-0.3.8-r2.ebuild new file mode 100644 index 000000000000..94ced8edf7b9 --- /dev/null +++ b/dev-python/dill/dill-0.3.8-r2.ebuild @@ -0,0 +1,33 @@ +# 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 pypi + +DESCRIPTION="Serialize all of Python (almost)" +HOMEPAGE=" + https://github.com/uqfoundation/dill/ + https://pypi.org/project/dill/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +src_prepare() { + distutils-r1_src_prepare + + # numpy support broken: https://github.com/uqfoundation/dill/issues/667 + sed -i -e 's:import numpy:raise ImportError:' dill/__diff.py || die +} + +python_test() { + # disables a test broken under Python 3.13 + # https://github.com/uqfoundation/dill/issues/668 + local -x COVERAGE=1 + "${EPYTHON}" -m dill.tests || die +} diff --git a/dev-python/dissononce/Manifest b/dev-python/dissononce/Manifest index 9934b735a8e5..92874efb575b 100644 --- a/dev-python/dissononce/Manifest +++ b/dev-python/dissononce/Manifest @@ -1,4 +1,4 @@ AUX dissononce-0.34.3-fix-test-requirements.patch 1099 BLAKE2B 9bd65c18b440181187dbce8f8d6c3c97902d127e904efd9514fd7d2c987b16c4f82ea10e7182ef3a72b73998d3cb76c3a3ee4838f4f3b3d83dfd40b1ad748273 SHA512 e875717877881372e3b446e5a1eee4f3aa0deaf5381e16c54992ecc0c0b8e36e44419dcda3a8603bbbed1cb3bcb8710f8cafc086a016a6c49267b10b443023b8 DIST dissononce-0.34.3.gh.tar.gz 594227 BLAKE2B e37ce7a41aa71f36a60b14b3da50df5c387aa64c472a48fe76d66f05ee495673b2719fb0ca0fab196992c4920eeba72701d47defceb70c2d85f5f894d13d40dd SHA512 f192c3f6abc3943fa8fffe959d3db74e810483c9f5868cc128a851ffc42069d084c0d935ca74fd45d5bcce3fe2cfeeb788094dc34f0567ed709ddfb57275fa18 -EBUILD dissononce-0.34.3-r3.ebuild 769 BLAKE2B ab28caf1282e4fc43a5f0bab46bf9676c509170c79d24c3452452d243768b52f4fae8212729ca1a9ea5aabfcccc2924e8c01abb099a89b371fc12a3620292dc3 SHA512 f021d5c5b9cebcadc6bebb05dee3c5798790f04e0562641aec496f65749d929ff746104b976be49dd979eea20ff264b2a98730744136dc089fac95e679b2ddc0 +EBUILD dissononce-0.34.3-r3.ebuild 825 BLAKE2B 806d71770959d0551d941338af4efec9ea08c84407055363d43e65421670751c48dde64d50ea244a523977c1208092dca3374a84962888e37a483276b2db167a SHA512 7f3564e2cf6f38f11b2597f1403a3b43462074ab8fb5d146771edcbc6133d4b9e54d8f6c70bc2b3cf1ca3260be7f4faf6829eaae16e5032c7a8d537bfb91681f MISC metadata.xml 708 BLAKE2B c253697f563be13fa4cc0468569189643d9749c4a61542deb477a30200bc3ee7245bd1f1260479c3263b025cbd9c8fe58c8f213a1629f0a45df1f7ac6258176a SHA512 7355075878255364697f1007f204d3416dbac14b9bf9a9575457f124c5edea3491301ba0e9deb625fc99d2afdcc75ce89f6c8b4fcbedf62ba1bf7195e98e0e87 diff --git a/dev-python/dissononce/dissononce-0.34.3-r3.ebuild b/dev-python/dissononce/dissononce-0.34.3-r3.ebuild index 572f8f4c5e0e..cfe8c24a6af6 100644 --- a/dev-python/dissononce/dissononce-0.34.3-r3.ebuild +++ b/dev-python/dissononce/dissononce-0.34.3-r3.ebuild @@ -4,13 +4,19 @@ EAPI=8 DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="A python implementation for Noise Protocol Framework" -HOMEPAGE="https://github.com/tgalal/dissononce" -SRC_URI="https://github.com/tgalal/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +HOMEPAGE=" + https://github.com/tgalal/dissononce/ + https://pypi.org/project/dissononce/ +" +SRC_URI=" + https://github.com/tgalal/dissononce/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -21,10 +27,13 @@ RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] dev-python/transitions[${PYTHON_USEDEP}] " +BDEPEND=" + ${RDEPEND} +" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/${P}-fix-test-requirements.patch" ) +PATCHES=( + "${FILESDIR}/${P}-fix-test-requirements.patch" +) distutils_enable_tests pytest diff --git a/dev-python/django-cacheops/Manifest b/dev-python/django-cacheops/Manifest index e6e3bbfa3425..7b23933cfb95 100644 --- a/dev-python/django-cacheops/Manifest +++ b/dev-python/django-cacheops/Manifest @@ -1,3 +1,3 @@ DIST django-cacheops-7.0.2.tar.gz 71747 BLAKE2B ceb5a536b1ee25c2b25beb9bac4b193325d74b58f7abc6f8edf62a9327eeb25fe8fd68292d5887aa02655f14290e7430d18747ccd487a4f44cdad7fa991f458c SHA512 cd6ea11c54d0c49c52a912033b0ef5d1940c9f061b5a248b4238bf22efa17aefdc48c10a3724613401e9972226e0ad20cbd607b4b63812efc5ae78c35968b767 -EBUILD django-cacheops-7.0.2.ebuild 1541 BLAKE2B 55de941b713ae57fd9fdcea2bfc4b30095ef2c18fbc43f47710aee5d55e37af97d1c844241b5d45c9bc66506fdfe5bad5de5a995a2c2e11cf46e761e9ebec19e SHA512 51389a00907521955d7e72cc0b0b6a25c2e0912d00618d8e0a52419d75b939688b28013418931e1a5b394cffe18273999e7c6b654445b7fe03bde544e7b9fa8f +EBUILD django-cacheops-7.0.2.ebuild 1541 BLAKE2B ce6326e795d3df4d99ad6020adbe48b76e91e7ce75e7c6bf31e5add893cdc6b28a25058c977422ddfe575e5b3537c0b318ed2848eaf5adeecd5e768a1ec07dce SHA512 7cb9528dd6d77f51349324f90edabfd3c1889ae91107c702d4844cdffddc94a6d903abb09eed96ec189b70dd6dbbc502d289b45ed6e14f0dd103b0ebda856ffa MISC metadata.xml 381 BLAKE2B b8bf138d65b463c15b22be44750822bf6d49f1e651ecc6884dc008b9f1c93ff314967d8d3793825e129c8ac5d98348ac2726ec36ad43b8ec5d0829a78a16a26b SHA512 ad1f2ac5abcfc3705d70cc717bc076115d299a3b973852a542a7d41fabccc695b79ada0297a48cbe8f04815d66e696b437eca896e291c7da9682a85542d3e469 diff --git a/dev-python/django-cacheops/django-cacheops-7.0.2.ebuild b/dev-python/django-cacheops/django-cacheops-7.0.2.ebuild index 06d5a9db3a7c..18874405b4db 100644 --- a/dev-python/django-cacheops/django-cacheops-7.0.2.ebuild +++ b/dev-python/django-cacheops/django-cacheops-7.0.2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/ensurepip-pip/Manifest b/dev-python/ensurepip-pip/Manifest index 97ff6c9410a9..bf91100408e2 100644 --- a/dev-python/ensurepip-pip/Manifest +++ b/dev-python/ensurepip-pip/Manifest @@ -1,7 +1,9 @@ DIST pip-24.0-py3-none-any.whl 2110226 BLAKE2B 6a0c8c9796cd574ef1d709de40a8530a15e50158143e332b79e5ad3edceda6ce93c5ef4df49b169062598618dcc6967c2115ac2c10b05abf345318204f1eeffc SHA512 5d7462a584105bccaa9cf376f5a8c5827ead099c813c8af7392d478a4398f373d9e8cac7bbad2db51b335411ab966b21e119b1b1234c9a7ab70c6ddfc9306da6 DIST pip-24.1-py3-none-any.whl 1823006 BLAKE2B ca5282b1100243cc4e391ce30d5ae7d4978987e46323b7e151c87457c4ab762f909c88ae3cb72015d09bf7c1243ddb6ad791e991093713431961962fc6fdde83 SHA512 84e8318896294e5750f30a3fa55833e5e5c802066091802e05ff94fe139c825f3fe0fb5014b899f0afd844ad1129e8d04b9fedd74a7f46a1c248dac546ab16f8 DIST pip-24.1.1-py3-none-any.whl 1824282 BLAKE2B dc8b4938002bc8ededf5f3fb5f47492b529cb846f145308d5392c04778417f7e85527064e791c4dec4bfe6fc407bcc4d7ad26ff84e0f4c436dce5db8d9ec1f25 SHA512 591c0862ca7469a00a4a0220ca9acbd4834394abb0abcd44bd071a1b392b46029d618c2219e327cd43bacdd5d62f0f47d88454d60d4028f0ba7cd02ce3e648bf +DIST pip-24.1.2-py3-none-any.whl 1824406 BLAKE2B b3e951f444bc93cf64a35acbef5363f7e44607f567f73eff886f5a14bd97fe5b18aa5a8de01b899601847bccee24318843b41c35cd484e758ffb4c11460b458f SHA512 bc8ed36bc9e618b7e299d412d07472b46968ba6485dd1d7eee4e8583996aa29cb268ff5d3114a6e5efeae9f6407c9f9066a0e4f5c2a0be76e6cd234b85cc2bec EBUILD ensurepip-pip-24.0.ebuild 645 BLAKE2B d761664589da3ba0fb44ca1b2561916feb7a8b9b29478eff1f5fd2b0eaef46e1543f5bb9d11b56d8eb6a9a01a3bbbe0b51020e9adc6fd0a0149a9e249b4cf87a SHA512 84d9e6a945940cd614b9a458555f55e5fefafdb746587a33161359e4cf72813bb23885069745196fc6476b0331c7c5e1280f5979f985790dedb71bab2139f9d7 EBUILD ensurepip-pip-24.1.1.ebuild 653 BLAKE2B 480b6e624b9f00f1863dba43ff47a53d454b570b2715301c560e66380b658129a5bd630a40746aca173f4813b4227eac96f1076c3fc6e5fdcad8aacd6bc39f86 SHA512 168c500efb22504acbae0923000e822a4ae5bcf10157b60088649e952838017050e452b784d97f774b3e7c739d5c8a30c23593f8e8519500878af069b6ffd7b7 +EBUILD ensurepip-pip-24.1.2.ebuild 653 BLAKE2B 480b6e624b9f00f1863dba43ff47a53d454b570b2715301c560e66380b658129a5bd630a40746aca173f4813b4227eac96f1076c3fc6e5fdcad8aacd6bc39f86 SHA512 168c500efb22504acbae0923000e822a4ae5bcf10157b60088649e952838017050e452b784d97f774b3e7c739d5c8a30c23593f8e8519500878af069b6ffd7b7 EBUILD ensurepip-pip-24.1.ebuild 653 BLAKE2B 480b6e624b9f00f1863dba43ff47a53d454b570b2715301c560e66380b658129a5bd630a40746aca173f4813b4227eac96f1076c3fc6e5fdcad8aacd6bc39f86 SHA512 168c500efb22504acbae0923000e822a4ae5bcf10157b60088649e952838017050e452b784d97f774b3e7c739d5c8a30c23593f8e8519500878af069b6ffd7b7 MISC metadata.xml 309 BLAKE2B 197e5620aab85ff590270ae6838c9188cd699943af4c9c3eeb7de92c2e9390c082eec603e63bc2bba39477586f19e58da2e5fe2d5ffe9b59b87ae5386c939df1 SHA512 c678bc8fb62f6e6850939ebff56962503bb03393572cfff7e5f7d38e8cf5ca71d8e38e402355c5f963fb718eed24bca463d7c63fede5cbb550f6f32a9c06af9e diff --git a/dev-python/ensurepip-pip/ensurepip-pip-24.1.2.ebuild b/dev-python/ensurepip-pip/ensurepip-pip-24.1.2.ebuild new file mode 100644 index 000000000000..85e9351f85b0 --- /dev/null +++ b/dev-python/ensurepip-pip/ensurepip-pip-24.1.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared pip wheel for ensurepip Python module" +HOMEPAGE="https://pypi.org/project/pip/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + !<dev-python/ensurepip-wheels-100 +" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/google-auth-oauthlib/Manifest b/dev-python/google-auth-oauthlib/Manifest index 2d6337ccf17f..2f71878439a8 100644 --- a/dev-python/google-auth-oauthlib/Manifest +++ b/dev-python/google-auth-oauthlib/Manifest @@ -1,4 +1,6 @@ AUX google-auth-oauthlib-1.2.0-setup-exclude.patch 863 BLAKE2B 9ac621f5693a52627bdcda558a6b260ddb4c48f98d518f69285923ddbf74179a55fe825e984363d69f5d561b6fe886721f442b7b1a1defa92330e83efc9257cc SHA512 f5f1c138c94855f2a93ac61e5379d8dea971db6d245b99daab4325a2c8604123c2a8895d46f5f31618143f5920cf2ca175955ec6249287470b787f46cad31bbb DIST google-auth-library-python-oauthlib-1.2.0.gh.tar.gz 72990 BLAKE2B 28b828a2a6b4de9deda8eef08f6780cd6f8d3a4df2f63d31c76b72afca12233d79edae46300d773301f7e9d6374e9dbcb5a89b59049a5c01ea5a84ac92285b82 SHA512 2f77d35f76ec12bfdc72dafe9cb33d23c2713985140930766a75377231dc94c32ffa84161251b23244dcf76fe71384421a5d6d8ae11a84b3876d35b5ba393f5a +DIST google-auth-library-python-oauthlib-1.2.1.gh.tar.gz 74582 BLAKE2B 668f4c7c6640e6fd71d9c6135f5cdfe822f4170c8640b574e8fa7eb4e29b9645b95c002d9df2a595d465daceea2c4eeb111811729915bcb508ae5dc911e2f738 SHA512 d4b53eeb72f25128230c94d909fac1814727ee09e2133e9481f8c608ecf18003d571504215dceb7ec6450b289efb8b393cd33d9cbed12072a228644cc48539b5 EBUILD google-auth-oauthlib-1.2.0-r1.ebuild 1016 BLAKE2B 8378db50bddb39b5b3e6839f1958bd170bb1c7786ceb26ae9a2d7da0299c94ce1a39f45460b2e16cf950cdc42c82ae2ed34a26b803737a9a1662722c1be395b6 SHA512 4fbb335826937402ce007347319c394347e0a5708ea45be1e077dea38dfab79a86fbb551ee2c8f041779f24cf28501e89602fcb624a8f4e095c48db85ea4c6cc +EBUILD google-auth-oauthlib-1.2.1.ebuild 1023 BLAKE2B 0c7fab73911cd006179a498c1d18613c1c1af049eb6e8dc0dcb95f367ad66ee4e9335ea8c4b347d50ca65cb18a3d036211f8e470b9fb4129a699bfb9c36aa966 SHA512 53165da828a83fca28641a62f49d6bc3ea33135a685c331d335df81293dc47bbd856d30ba7134f453ff3660c1ea071c85433cf2f486a64bc2baed41c0ae8c45a MISC metadata.xml 410 BLAKE2B 23af42a2aa614f119e10cf5d57c3c37abb69ad8d9b1e16445fb92c9f00bdd78f6b1a6a51dff4ebb98bbb03e0002e73eb68cffcf857372dd94848187637c60219 SHA512 c19dd3af098644d5068ec677be51615885bb1267ba9bfb867609725e2a824a74934e2fe25909ea7406c91ca405d44e4c7191a14d3d1bc7b3a60c29445456d3d1 diff --git a/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.1.ebuild b/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.1.ebuild new file mode 100644 index 000000000000..bac0bbd22d17 --- /dev/null +++ b/dev-python/google-auth-oauthlib/google-auth-oauthlib-1.2.1.ebuild @@ -0,0 +1,44 @@ +# 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..12} ) + +inherit distutils-r1 + +MY_P=google-auth-library-python-oauthlib-${PV} +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python-oauthlib/ + https://pypi.org/project/google-auth-oauthlib/ +" +SRC_URI=" + https://github.com/googleapis/google-auth-library-python-oauthlib/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/click-6.0.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-2.15.0[${PYTHON_USEDEP}] + >=dev-python/requests-oauthlib-0.7.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/googleapis/google-auth-library-python-oauthlib/pull/328 + "${FILESDIR}/${PN}-1.2.0-setup-exclude.patch" +) diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index e1290e01d9b7..e6f52ceacb53 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,5 +1,7 @@ DIST google-auth-2.30.0.tar.gz 251462 BLAKE2B 63deab7b36e79a590348f6e0cfa5c1c0e0715468d35dfcb0e7227932d4d543953668ec4c4b78a087ee1fc22a37bfbc913f07c428f02fa894d28228fae68d0942 SHA512 23ebaf17c12d745214405867661b85eb628dafbc06b87f101ad10d4c4ea8e2cea04a4c9b0c0037ba8f0d8cc12c2221bd4199613fe3c3e3987c72525cb94a5bd3 DIST google-auth-2.31.0.tar.gz 252986 BLAKE2B 50e7554feadaa19644a2f41152d0d255729d19fbd9b6e1967233f9bfdb79968f45e2179effd73b0ab513b25255371b43aab946668aeb7155c827b536e4005afb SHA512 2a2eec2f3638ab855d20827068d64a9adb856d341fc70bdb6401813543f73631d998c38f8350e9ed2a85897b7f0ed7401fc973b066ee2b77ac7ff746dcd7315f +DIST google_auth-2.32.0.tar.gz 254614 BLAKE2B fc419f1d751cf99497fb00c4cc5b8ff25380a3341970aa31bebadc5f0a84efd8b9d806f939c9137fd872063d6b3cd06eff0629beab8194e0bf6f7323124f8f90 SHA512 d72d9c367a47b3496dcaae9deec29315c65e43ddf9b3ee2838232ed2ac8aabdf5c91978a6d66700b5e9e77a0de8820ecf12b798fb65383600e08d47b732d1981 EBUILD google-auth-2.30.0.ebuild 1434 BLAKE2B c1488cdcb44a04d4a1c81159a7ffba29e03694e19fee921f157c02fe851e278db54757699a27c4b9c6d60e4479de58b26013090429aa6ea553ea2913b4c84831 SHA512 4b28cdd4a5091a0c2331dcea6f94aae2a487d672a8c02e80b9af61c92007a547f838c93c3a2c5362c11911d76abdfeb67bdaae205db1dab863f7b1ba88b6cb42 EBUILD google-auth-2.31.0.ebuild 1437 BLAKE2B 90d5fd083e3cfb70a04ee5981b99a46b4d919f3656311be56e2af141062f75dfa5b53916b2a5b8bab1bd888f2fd7f8bcfbe1695dc9a26d7fd74c6727b37503c2 SHA512 ba1e381aeab08d6d3f6442c1d2abebbf98a8ef37fabc3665944c9dab496dd7137d3f42f68fca107558fed21bca7529aeaad1d73528ddaa6f95fc654c2b50f48c +EBUILD google-auth-2.32.0.ebuild 1417 BLAKE2B 57621fcbf53799caa2cd8c656460edcd83fd27f2191ac68a92562110512bb8189eaaca1f2b7600f944d6a116f5063e279222fafe3ede7beca14ad7529b84b82e SHA512 fb61d56bf9c205a025807a3e6fd76f015ddb0c72462c8d5049c52a2c43da46edca3996235b6d4c9cde099c721f3f47b61ec72ee89fbccf937242925e792a9a95 MISC metadata.xml 521 BLAKE2B 784282f6a173e7746a408556d77e1277f65a41eae545b6b26054c1e506642e683c1c7d91798f3b7b690bc4f9d2f642a51c1395593177eebf1770d2a0c0ba589e SHA512 c2624ebca3dc42961e61531db4724b2b354a722f71cd7f2c194680fee50125d2251f4b94cc7e31b008a2792e74b0f55f407a1230d3f59572df9cf32ee49d2fb7 diff --git a/dev-python/google-auth/google-auth-2.32.0.ebuild b/dev-python/google-auth/google-auth-2.32.0.ebuild new file mode 100644 index 000000000000..58bd56b3ea38 --- /dev/null +++ b/dev-python/google-auth/google-auth-2.32.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_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} diff --git a/dev-python/humanize/Manifest b/dev-python/humanize/Manifest index 193830a756d1..12b47e9b85a2 100644 --- a/dev-python/humanize/Manifest +++ b/dev-python/humanize/Manifest @@ -1,3 +1,5 @@ +DIST humanize-4.10.0.tar.gz 79192 BLAKE2B 398fe1eb3b39cfc93096f7e12f057959f3e336721fe05be4bfe0bf16d3470a04a33b978c6e4ffb73c58bfb1032f9ec48b29397ef51073aa881b036427e73eb10 SHA512 973fe7aecffcc7c9b56426b5a143402a97833122e63362115ae50318c909188bbe872fbfdfaa3015298ecd44c6ebc4223d9abd202c47622066b730908a6dda44 DIST humanize-4.9.0.tar.gz 78465 BLAKE2B bb13199f7ed9b833891e1e5f166dce33e167224c5fb75ab33130a551680e802aa347f5e19cd1162caa79917af6e0acbbb36226d5051a9d4eef07bc554ba0e19e SHA512 64238f6717302cec4cac853fd2813647132eb4f6cd73cc61fd43346577cd42bbc2cf5a7345910393cd9a4e9c2b5e949a50c6259b0bd8254a05e08d0d8d70a5d5 +EBUILD humanize-4.10.0.ebuild 635 BLAKE2B a4938f8e24826a8469dd21c91a83f6624763c978ea5acd21dd1bd6ae3ce7354d88807c8cdafe3c0179c6381729a266c77f1ea50d7214cda6a71643d67ada6f68 SHA512 262ac5eca5df2eb542c9bd6482b5e3d589155311560ae2ac84c413a2a854ec403f2835a4439b5b865e2b9024d55073285b2bcb7d838860f1b1e433be67a50ec8 EBUILD humanize-4.9.0.ebuild 540 BLAKE2B 9b0413ac16b710a166a63639bd084f00d79f82a8f66c67e5d685e290a7de3c7f86ac6cda4530c27e0a609d1ece20da136888c72d0c035abc6f4d8f39ff85a0db SHA512 581c241d937e24635fd7a007a7211b2b808bc5a4319ee920f5c26b3a8179fb190d18db1938d6111153c7fcf8d903582897b0587e8f4fac133c6bcc0fc6025f7f MISC metadata.xml 506 BLAKE2B c00c304481f8bd5d2309a1fa72a19bd8405d2f8d55e68a9e688435dec5410db728537362d6fc090f448738fa462ad62d03cfdb82fda8702b91aced4ecd6c05d5 SHA512 71905cfb331f60723b2b3dc02b1a5cbc2712ea9a411692d8ce12e62ea90a4ebef41bb4806b90f9bc0706d8dfb6a3ebb69d23ef16f0177eaddcfbdf07612d8614 diff --git a/dev-python/humanize/humanize-4.10.0.ebuild b/dev-python/humanize/humanize-4.10.0.ebuild new file mode 100644 index 000000000000..5d18d9873a5a --- /dev/null +++ b/dev-python/humanize/humanize-4.10.0.ebuild @@ -0,0 +1,33 @@ +# 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="Common humanization utilities" +HOMEPAGE=" + https://github.com/python-humanize/humanize/ + https://pypi.org/project/humanize/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/coverage/d' -i pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/jsonschema/Manifest b/dev-python/jsonschema/Manifest index e08cff83cb5b..e7e4acd3bd30 100644 --- a/dev-python/jsonschema/Manifest +++ b/dev-python/jsonschema/Manifest @@ -1,3 +1,5 @@ DIST jsonschema-4.22.0.tar.gz 325490 BLAKE2B aa0fcd9cb35ffe93d9e7ae940f9fbfc6e20656b09bdec91163ee7120b3495210522c2354dd3e74b33274f61bd9364b6b33f9e6482bac58b2ee0c6dd4bba3658e SHA512 72c9ffd1edf8820696d831062cfae2d38729935b32d12b7fa5171fefa3d38d495b588152c07224a5c9d1f4b9f97bd9b2aa7919d3d4ecdae0ba396e60e954b1c5 +DIST jsonschema-4.23.0.tar.gz 325778 BLAKE2B ccfcfa2b8f27e1d1f3a7d282f4701b04e3711bb57853f5f252ea286bb240395814c33219fff1b2bea661f462d1fc20fcf7d919fe85593d2e1dd89ac289f18ced SHA512 3bc3f7c4bb22dc0233bf99ca5cb8e22002cc3b097c7ae8a78c83ae106e4791dcaca228a6830074b1c42312889374b66c1f5390932768110a1e453babd7302bf9 EBUILD jsonschema-4.22.0.ebuild 1571 BLAKE2B e3d2f6da4b3293a1d85a98039335182935bdff8ddc9a70e59f3b6f591efff10f19915ce4886e82cd9d3d29f38acc7e4df41442c1ad148b44875684bac10d838f SHA512 c8fb06da3562887db2aee20da5456c1dc10ff2ba3f40546f99b872b4bf1892c764cc94ad48cc0fac9a9aba900094c5ec9e50f6b78e46cc04b0451a2584aaedef +EBUILD jsonschema-4.23.0.ebuild 1580 BLAKE2B 7d96b0d60e8e00a42e94b5ed0aff3794fcddfba7fecfa2a03bd74d299e2ecde63581da00dc01c8db3b7a9ba9f976b84627f0cbdd10721b12febf0aa0912b3dee SHA512 903f4a3316bb0f72da856f87e2b323f049e4edf5c0b20be81b7b3f7be44e0275a50c11c281352c28337b6c610249d42ce948ec7289a83b0ae3eaafde6db03604 MISC metadata.xml 705 BLAKE2B 731159cc340e6cbb15fe5a8d374188c8df685e8f8294d19af54ca3d209beb8c273b6e901b6b7fe75401324b8512ffb7f1870aefa8d4a139d1e3b84147d993af6 SHA512 1069fb33b2cf47d3dfd5e825b23ba1efa7d764d0d23aa009db522d04bc08362f5ca646411ec405cd33152a65ea8de2ea90d3dd6d4d4bf1a947ae7943e9d4c727 diff --git a/dev-python/jsonschema/jsonschema-4.23.0.ebuild b/dev-python/jsonschema/jsonschema-4.23.0.ebuild new file mode 100644 index 000000000000..6c03f86de51f --- /dev/null +++ b/dev-python/jsonschema/jsonschema-4.23.0.ebuild @@ -0,0 +1,57 @@ +# 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="An implementation of JSON-Schema validation for Python" +HOMEPAGE=" + https://pypi.org/project/jsonschema/ + https://github.com/python-jsonschema/jsonschema/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2023.03.6[${PYTHON_USEDEP}] + >=dev-python/referencing-0.28.4[${PYTHON_USEDEP}] + >=dev-python/rpds-py-0.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + !!dev-python/shiboken6 + ) +" + +# formatter deps +RDEPEND+=" + dev-python/fqdn[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/isoduration[${PYTHON_USEDEP}] + >=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] + dev-python/rfc3986-validator[${PYTHON_USEDEP}] + dev-python/rfc3987[${PYTHON_USEDEP}] + dev-python/uri-template[${PYTHON_USEDEP}] + >=dev-python/webcolors-24.6.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires pip, does not make much sense for the users + jsonschema/tests/test_cli.py::TestCLIIntegration::test_license + # fragile warning tests + jsonschema/tests/test_deprecations.py + # wtf? + jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug +) diff --git a/dev-python/lmfit/Manifest b/dev-python/lmfit/Manifest index 76ee43af2865..4670f7f29219 100644 --- a/dev-python/lmfit/Manifest +++ b/dev-python/lmfit/Manifest @@ -1,3 +1,5 @@ +AUX lmfit-1.3.1-np2.patch 1640 BLAKE2B ea8ce33787c91225a85342f8d98f0b517120110bf317e27f883b2fe945586d67eb46002f94fa7f1ebcecaa453381590170072e68c66128e6805c65c4fa5f50de SHA512 70203c877f516657f784ddcd4851594d69a8e5d0c4120a3e3c55ef50fd1cca3f3121095affa1459234eae9afc62041030036727feabade1234b8b52f7e650044 DIST lmfit-1.3.1.tar.gz 629917 BLAKE2B 6cb5f478bf0b31ce6fe6ccfc97d216fae63f8efa159b30151896254352d3d0e1667d276101f93d357a0dabc39462bd110f115ff6e89c18739c1728f089f54d89 SHA512 b6766224ecd4c75e09a935ab86041852f22491870191c6b6b8cc0e5a873e7c69cb6f11517afa987289c63fb249a8ceef7c336e1c7c4e19d33a2e1bc04fbe6aa6 +EBUILD lmfit-1.3.1-r1.ebuild 910 BLAKE2B a4df3fc01f2096179c7ff5d848bf97f37bcc053c0503c681557eb10e838cd28ad92696ab42d0c4722aebdd50320c6415d65ab93adf9a3be61476b54077947a76 SHA512 d85666c1ce2eaee47963767e9a2d4356eedda3f57a7e3b2e79c0bc51506ddad478a627c9ac3afe60502e9feb6d96ec6168b5ad51c6bba1d75282d3924637dc36 EBUILD lmfit-1.3.1.ebuild 822 BLAKE2B 7a43236ff8b3c37e5a8aed44162369cd12c70814ec450b8096866908cfb7bb76c6b63341719cfcd2ca1d193ff6e107c01d00976e053a78df7199acf83f0114ad SHA512 4cd965210d51f91f3814970347e2be6e932cbb2d70bc03852f255df05421289f5e2a51783677945e5c0eb6cea357d4ad303d6d8461a02c55a5f94d4b916772eb MISC metadata.xml 440 BLAKE2B 8ccc51be7b30a71352ab62c8b6ffecb643b23f6c8dcd0626b94528f069d2be19ebdafcf77267f16b96d5e03fae056ed7be847c6da7ef87a46237e9746e2a3458 SHA512 1a870a9bbeecca5d7c0078cf36873f02e7dfce5ab0fd67d42a37d57ce6c5326b5184101a0d6342107e991b86f7cbff5f1563a41c271d88f92819c01ff9940fcc diff --git a/dev-python/lmfit/files/lmfit-1.3.1-np2.patch b/dev-python/lmfit/files/lmfit-1.3.1-np2.patch new file mode 100644 index 000000000000..6b6bbb2308cf --- /dev/null +++ b/dev-python/lmfit/files/lmfit-1.3.1-np2.patch @@ -0,0 +1,39 @@ +diff --git a/lmfit/parameter.py b/lmfit/parameter.py +index ca9ccc72..a7ec9a65 100644 +--- a/lmfit/parameter.py ++++ b/lmfit/parameter.py +@@ -181,9 +181,8 @@ def __reduce__(self): + params = [self[k] for k in self] + + # find the symbols from _asteval.symtable, that need to be remembered. +- sym_unique = self._asteval.user_defined_symbols() + unique_symbols = {key: deepcopy(self._asteval.symtable[key]) +- for key in sym_unique} ++ for key in self._asteval.user_defined_symbols()} + + return self.__class__, (), {'unique_symbols': unique_symbols, + 'params': params} +@@ -567,9 +566,8 @@ def dumps(self, **kws): + + """ + params = [p.__getstate__() for p in self.values()] +- sym_unique = self._asteval.user_defined_symbols() + unique_symbols = {key: encode4js(deepcopy(self._asteval.symtable[key])) +- for key in sym_unique} ++ for key in self._asteval.user_defined_symbols()} + return json.dumps({'unique_symbols': unique_symbols, + 'params': params}, **kws) + +diff --git a/tests/test_model.py b/tests/test_model.py +index 396ea0b1..24dfbfcd 100644 +--- a/tests/test_model.py ++++ b/tests/test_model.py +@@ -900,7 +900,7 @@ def test_independent_var_parsing(self): + yatan = stepmod2.eval(pars, x=x) + + assert (yatan-yline).std() > 0.1 +- assert (yatan-yline).ptp() > 1.0 ++ assert np.ptp(yatan-yline) > 1.0 + + voigtmod = Model(voigt) + assert 'x' in voigtmod.independent_vars diff --git a/dev-python/lmfit/lmfit-1.3.1-r1.ebuild b/dev-python/lmfit/lmfit-1.3.1-r1.ebuild new file mode 100644 index 000000000000..7f6e86d4ee69 --- /dev/null +++ b/dev-python/lmfit/lmfit-1.3.1-r1.ebuild @@ -0,0 +1,42 @@ +# 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="Non-Linear Least-Squares Minimization and Curve-Fitting for Python" +HOMEPAGE=" + https://lmfit.github.io/lmfit-py/ + https://github.com/lmfit/lmfit-py/ + https://pypi.org/project/lmfit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/asteval-1.0.0[${PYTHON_USEDEP}] + >=dev-python/dill-0.3.4[${PYTHON_USEDEP}] + >=dev-python/numpy-1.19[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6[${PYTHON_USEDEP}] + >=dev-python/uncertainties-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +PATCHES=( + # https://github.com/lmfit/lmfit-py/pull/959 + "${FILESDIR}/${P}-np2.patch" +) + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/nanobind/Manifest b/dev-python/nanobind/Manifest new file mode 100644 index 000000000000..bf9659b4b25b --- /dev/null +++ b/dev-python/nanobind/Manifest @@ -0,0 +1,3 @@ +DIST nanobind-2.0.0.gh.tar.gz 842956 BLAKE2B 82a2b44d904a2bfc88538d3bac6d5d96b473bcca2ff98647f9edd656a1d20fae324fcf334b848f861723aae666690b6b17ee626dede89bac6b140e9ef8cd01fe SHA512 1bafbf6b18c9b65b5ecb3bbf23a164b17ee52ef4f053a00de986a35e17e662422b54cea1c145f83ee8a3973bba383a949b3c305dcfecfbf139ab90006d42935e +EBUILD nanobind-2.0.0-r1.ebuild 1562 BLAKE2B 4d4ed9d53947ee90c67badf1eb536d172982d678432f2b1dce8981cff34f653a4dd229af115f62a8b52a029199e4b737ea2714ae30d5cce3fea78effce37f215 SHA512 5bca31efc9880d1455598a54567218027b16dc99a0d522734aa3a043b8473702135fcb0a878d2b7c183bfb8d39fbf3e65736e83643ec1975639b2ad336a49dfa +MISC metadata.xml 367 BLAKE2B 915d33ed8f2b0e38faec001e256fc86d393b23b94bae31f2648948339be7c3d6a2b1b2a18063193c9d190cabfdc4c744d6b664c63534b88dc7afc2a2f1ccc688 SHA512 b60a701257bad827d63af141fbc9b4cadadbb397bca054db97c63eba9e174a902afc7785c3f868b6e86ec62f007f7e822d3c5b6dacb107083559b31202cef7a2 diff --git a/dev-python/nanobind/metadata.xml b/dev-python/nanobind/metadata.xml new file mode 100644 index 000000000000..aa352e9fc755 --- /dev/null +++ b/dev-python/nanobind/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">wjakob/nanobind</remote-id> + <remote-id type="pypi">nanobind</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/nanobind/nanobind-2.0.0-r1.ebuild b/dev-python/nanobind/nanobind-2.0.0-r1.ebuild new file mode 100644 index 000000000000..29c33ed44567 --- /dev/null +++ b/dev-python/nanobind/nanobind-2.0.0-r1.ebuild @@ -0,0 +1,71 @@ +# 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 cmake distutils-r1 + +DESCRIPTION="Tiny and efficient C++/Python bindings" +HOMEPAGE=" + https://github.com/wjakob/nanobind + https://pypi.org/project/nanobind/ +" +SRC_URI=" + https://github.com/wjakob/nanobind/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-cpp/robin-map-1.3.0" +DEPEND="${RDEPEND}" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # This test assumes in-source build for the .pyi stubs. + # (Hack because EPYTEST_IGNORE doesn't work with the paths it collects(?)) + echo > tests/test_stubs.py || die + + cmake_src_prepare + distutils-r1_python_prepare_all +} + +python_configure() { + # XXX: nanobind installs a CMake config file which by default passes -Os + # We currently patch around it in dev-python/pyopencl. In future, we + # may want to add some override with Gentoo specific environment vars. + local mycmakeargs=( + -DNB_CREATE_INSTALL_RULES=ON + -DNB_USE_SUBMODULE_DEPS=OFF + -DNB_TEST=$(usex test) + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + cmake_src_compile +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/tests" || die + epytest "${S}/tests" +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/os-client-config/Manifest b/dev-python/os-client-config/Manifest index 277ee6282688..96f341b5e3ed 100644 --- a/dev-python/os-client-config/Manifest +++ b/dev-python/os-client-config/Manifest @@ -1,4 +1,4 @@ AUX test_get_all_clouds.patch 662 BLAKE2B 33ae4a1400073519cb41bf048b274dcec6a0182260e60a126adbee68d39b2fc031114432b966ee6ae96661a0487fb9846edaac1c032a767cf7ede1be25d53a33 SHA512 614e0bd874ec282b9b90d5cfe7d3693056fc5811d0fbb8f436f57a9f9a55abf4609fc6a647313c3d83ba733f7f57e69b3eb5df4ab8b0664a730f6e9197502cd3 DIST os-client-config-2.1.0.tar.gz 48257 BLAKE2B c88d2c9c34103abfa60c3d983ed50309a2a552cf275f48e3c1dde9837b98849d09062546c5bc096d978a059afbae54eed9eadb8aa53375aae67f409bf3cf3e05 SHA512 31f53e5bafced1d7d57ac8818a7b889506b45347655ee41db6d5d9c0a6f2ead2a6d820553aec4a6ad9fd817abf9d6b666938a24ba85ab3745e06bb10b312e33a -EBUILD os-client-config-2.1.0-r2.ebuild 1252 BLAKE2B 4064931a277482cc5ef4604f353525e689ba9de52295ccdcb441c4a20978148b4e6a555185b8b6bfc0fa7d81aab5fd1e64d6b5034d73270d88d9913554db2ecc SHA512 826581d08cdb804182c60fdf7911c0a8dfbd0accb34da1e686d7491ffe4e836fe0891552f0e9ca55663da96f4479e1a2918457f7c7198f107b046214916641e9 +EBUILD os-client-config-2.1.0-r2.ebuild 1252 BLAKE2B a8a9f2f5e7365a033259ae949916be8293dbe02c96d9eff40ad61699b776fca4214035045ab9c21538fee4fae7a6239f1bd803b58e37131e5ddcce7261f3b194 SHA512 a71a810c15fd6ac614a23341b8e417a48b3024a89a7b159a331a1fbcfce4d3cf3e4fb7ccfbfd016ae8e662481d82f4b7c01c894712aa879824a9ba60f400c227 MISC metadata.xml 544 BLAKE2B ba0ff7d8ede835641882c221f96ee42ec87dd559bf8fe732d4b2bdbd5c582a7606b7c6f05c62e6e80ca83beafc1a1531878bb884e7338fd258af477b9634f2c9 SHA512 c0cfeacfef17f2abc58ac5691600d5942a184fe225f6660dc6282474032ed7f7668ad93426e98e93d18d2a10a839bb42f8183c4e32c674824a3f139e17b94852 diff --git a/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild b/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild index 0210f0ccd7de..b992e082002c 100644 --- a/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild +++ b/dev-python/os-client-config/os-client-config-2.1.0-r2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest index 3410915f4b1d..e98effa9a88d 100644 --- a/dev-python/pip/Manifest +++ b/dev-python/pip/Manifest @@ -4,9 +4,11 @@ AUX pip-24.1-test-offline.patch 2995 BLAKE2B bbaa9b6410b350cecfaf1422c252c166ac9 AUX pip-24.1-unbundle.patch 8156 BLAKE2B 014d05bd6e5bb39a4b8a591948bba0760878b28fc757d3d091f226aca0bfc663de558d7b75651907d47951205d5804a7e3986c8631b805926a025658cd34895a SHA512 d78f521a27d1cb12012c622f1d13da7b19a2406204cba6a1ce149feb988a94421bc9883caaeda48e71bc26bb7c4845aef7c90aeb6f39bc474bf5f1ab1d694e43 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6 SHA512 0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df DIST pip-24.1.1.gh.tar.gz 9190972 BLAKE2B 1ce876d2767c1c36bac3237c17a3aced9dd5a335a7b522c70cee1e155bc0b47256db74c6835aab5f58133ebcde0daeb8e6eb217b06f76418c355034cbe736cf6 SHA512 523e7273134b68252693ba7a032e7992c72075aebd2bcd895fbd90ad28d76f98b13ea1a7df0b6da1802650782ae977868177f740dc6f0a2eaccb95915c27b318 +DIST pip-24.1.2.gh.tar.gz 9192691 BLAKE2B 9b5a07e9f10b5787d668766423d8b3a9dfcc62564673155b80c7bc95ffe79daafa8788d8141f67c76d4098c21922e62fcb2164f72bf580bbeec136786c48d512 SHA512 222a957030e9c51defa6f741f8e176f2a19bd54f0ef664d2e218d3d2c2b5a335c9b7ce4bd1c804133d6116b3fbf37648453cd85f7a2bcf86a5aeb43e22db4b0f DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92 SHA512 c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1 EBUILD pip-24.0.ebuild 4559 BLAKE2B 6f34aa0dcd0c78b53d63c0dd523ec1b397186e8d9efc90781812d94e96138630653a896636931d2095c59065065b9140d104ebb9cf178858de0e5985aca4e05b SHA512 587b9eb40e71ee078d74853dfb0694ae2733fed6f54fb4ce48f410113179f15c55d17efc47e8ad0dc70d704302d731240ba0aad77c40450daecffc522d6f0320 EBUILD pip-24.1-r1.ebuild 5839 BLAKE2B d70aa1453b8f7394294ca5fdbf3f97c53baf0aee7946f842b638416b0b6a6beb553dff60faf6ba3484684d04d82aca0b823ab6c5645e420b324aaefed13a2505 SHA512 faa9cfec1984eef2d942632b4fc643ff79c668610c5b31ad05f905ae520eaa3f5a4e77674a60b52dedfa88610b5b13113a0c3d4a202420fe1453059f0d9b52a9 EBUILD pip-24.1.1.ebuild 5863 BLAKE2B c09575ddae4c8c71465a0b15e792c68094050e14afcb98fc34525d1dbbbadcfeb0eec0513e33c8b11feb04a6afe6490a47876fe915bcb86afd75491c2793ed81 SHA512 7ed4bf47589b599e2d13b54e4d6ba07a4f0d5b8faf7e56e9ac54c559be89007b168f8aac2cdd15b3d3a9b1c2a69a70977661414cb68496abdb25fd5b7218b10f +EBUILD pip-24.1.2.ebuild 5890 BLAKE2B cd9afedc3faa6450146b78afe3be35048a8761e9a5e99140075010db1a518c70fd2cfd8ab6531af7bf1d21226768f30267fc7d80ba6d1db69e14a76682788a26 SHA512 b6c8ad19fb5edb4053719af3dc7835fe0008defc2a4e847e7b92097c94646ada86b8a12aac1ad07f888de7d51a3e1826f20d89df2ad80191e0d7fe0022200883 EBUILD pip-24.1.ebuild 4075 BLAKE2B 6cb7c20cfdd759fa1dcc80fa25421db1e0d2e885228a0eec231d4ef138a8ae9c91b418fe4fcb7f7e32a2804b22972bd41ecc025aad4b689f80753d8cacf83f9f SHA512 85f2640255282b964deab13ee3a59ce5856f90459a8271e52726322477cf5f98b632dda49eadf39b1dfc22a2a4740e2191a97515f7503d7484839b5f43d5fe1e MISC metadata.xml 392 BLAKE2B 94ea3de1220cb9ca64ae1186597789cc83a54adfe44695932c07dd5065df0e5f9ee5078a495e3a12563b36809d781d8ab86bb6c92c485c023199d92547b74f27 SHA512 603199f6547105f3bb64f4fcaf004e9ef62fa2e0f8ec6eab56078119684b0f5119161e0f164fe02b2cf6dd6b115588c9ef77d727eeb6d138e281f1cb0bcb5de9 diff --git a/dev-python/pip/pip-24.1.2.ebuild b/dev-python/pip/pip-24.1.2.ebuild new file mode 100644 index 000000000000..b9d4a8f363a9 --- /dev/null +++ b/dev-python/pip/pip-24.1.2.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# please bump dev-python/ensurepip-pip along with this package! + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( python3_{10..13} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) +PYTHON_REQ_USE="ssl(+),threads(+)" + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="The PyPA recommended tool for installing Python packages" +HOMEPAGE=" + https://pip.pypa.io/en/stable/ + https://pypi.org/project/pip/ + https://github.com/pypa/pip/ +" +SRC_URI=" + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +# bundled deps +LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86" +IUSE="test-rust" + +# see src/pip/_vendor/vendor.txt +RDEPEND=" + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/distlib-0.3.8[${PYTHON_USEDEP}] + >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.8[${PYTHON_USEDEP}] + >=dev-python/packaging-24.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.2.1[${PYTHON_USEDEP}] + >=dev-python/pyproject-hooks-1.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.32.0[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + >=dev-python/setuptools-69.5.1[${PYTHON_USEDEP}] + >=dev-python/tenacity-8.2.3[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9.1[${PYTHON_USEDEP}] + + >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/scripttest[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test-rust? ( + dev-python/cryptography[${PYTHON_USEDEP}] + ) + dev-vcs/git + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/pip-23.1-no-coverage.patch" + # prepare to unbundle dependencies + "${FILESDIR}/pip-24.1-unbundle.patch" + ) + + distutils-r1_python_prepare_all + + # unbundle dependencies + rm -r src/pip/_vendor || die + find -name '*.py' -exec sed -i \ + -e 's:from pip\._vendor import:import:g' \ + -e 's:from pip\._vendor\.:from :g' \ + {} + || die + + if use test; then + local wheels=( + "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl + ) + mkdir tests/data/common_wheels/ || die + cp "${wheels[@]}" tests/data/common_wheels/ || die + fi +} + +python_compile_all() { + # 'pip completion' command embeds full $0 into completion script, which confuses + # 'complete' and causes QA warning when running as "${PYTHON} -m pip". + # This trick sets correct $0 while still calling just installed pip. + local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())' + "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die + "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return 0 + fi + + local EPYTEST_DESELECT=( + tests/functional/test_inspect.py::test_inspect_basic + # Internet + tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist + tests/functional/test_install.py::test_double_install_fail + tests/functional/test_install.py::test_install_sdist_links + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + # broken by system site-packages use + tests/functional/test_check.py::test_basic_check_clean + tests/functional/test_check.py::test_check_skip_work_dir_pkg + tests/functional/test_check.py::test_check_complicated_name_clean + tests/functional/test_check.py::test_check_development_versions_are_also_considered + tests/functional/test_freeze.py::test_freeze_with_setuptools + tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip + tests/functional/test_uninstall.py::test_basic_uninstall_distutils + tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup + tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers + # broken by unbundling + "tests/functional/test_debug.py::test_debug[vendored library versions:]" + tests/functional/test_debug.py::test_debug__library_versions + tests/functional/test_python_option.py::test_python_interpreter + tests/functional/test_uninstall.py::test_uninstall_non_local_distutils + ) + local EPYTEST_IGNORE=( + # requires proxy.py + tests/functional/test_proxy.py + ) + + if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/functional/test_install.py::test_install_sends_client_cert + tests/functional/test_install_config.py::test_do_not_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_authentication + tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed + ) + fi + + local -x PIP_DISABLE_PIP_VERSION_CHECK=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_XDIST=1 + # rerunfailures because test suite breaks if packages are installed + # in parallel + epytest -m "not network" -o tmp_path_retention_policy=all \ + -p rerunfailures --reruns=5 +} + +python_install_all() { + local DOCS=( AUTHORS.txt docs/html/**/*.rst ) + distutils-r1_python_install_all + + newbashcomp completion.bash pip + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pip +} diff --git a/dev-python/progressbar2/Manifest b/dev-python/progressbar2/Manifest index 5d5425f0fcbc..7d1e3c093789 100644 --- a/dev-python/progressbar2/Manifest +++ b/dev-python/progressbar2/Manifest @@ -1,3 +1,3 @@ DIST progressbar2-4.4.2.tar.gz 101342 BLAKE2B 67625a794bd19a4ed78be25789980038c69a6590277f085befeef805397972ff1160543814523c425218e019647f1c1641451198e2dd08a5f8eacd9e507a04af SHA512 705383badb3943d3d339854d02ee4114f0e76261373deb8f9aff00fe6aae7f37bacccbbc673c2cb36114c7f8ebbafa96a06408ce6e90c3d26a2e2c65ece86958 -EBUILD progressbar2-4.4.2.ebuild 871 BLAKE2B 3d0ae31569c458c2d112fe941680642a48cc401b31c3b9213c8e1d8e30622078b7301b6de067cc678879eda8aeb59b8db8649a55a5ec6eceab43624b95abd4b5 SHA512 17999a347c93aa21321c8753f7f8b4c9c74629ddacf760824d948a33847269f27f25d0edaa4176934463ab370e2d131713625cf547962b84cb2858a6e5ab37a5 +EBUILD progressbar2-4.4.2.ebuild 871 BLAKE2B d100ecffcecd8b569da36c4788185744f79db887f06e065eaa62d0163ffaa4c2e68f6bfd9670907462a16a04772b2926796ecfbd18a959e5064c15bf6a437f0c SHA512 f59490131baa6dcd41bff7f068afdf1166f8df4c75f2169d68fe4630cdb5094584942fe43a9c0ecd2ce0cdec109e6d958c8d4f043d26fa83d16b8d3821a144e4 MISC metadata.xml 404 BLAKE2B 774a579e397ff18f4196eaf238847e52062742b1ff00999e6b970c4a0f5e032d6caf57e2f64903882269738bdeefa3b3533711d36c68694989ffe6b508c9c467 SHA512 95bd7c3ad0f1addc6d6dd57aa89f04b20ad7019b35468aa44cb5077a819c4658cf64196c5443a671d8beb339f5bdbf40e544807b21c7e2bc11b39da5e0e8dc99 diff --git a/dev-python/progressbar2/progressbar2-4.4.2.ebuild b/dev-python/progressbar2/progressbar2-4.4.2.ebuild index 9a9daf81e626..31edc8ce4b9e 100644 --- a/dev-python/progressbar2/progressbar2-4.4.2.ebuild +++ b/dev-python/progressbar2/progressbar2-4.4.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest index ac1fcac6e93c..7b4d8128884b 100644 --- a/dev-python/pybind11/Manifest +++ b/dev-python/pybind11/Manifest @@ -1,7 +1,9 @@ +AUX pybind11-2.13.1-gcc14-fix.patch 712 BLAKE2B a01e3ec1858e708a1170512abe13636f50a50f9ea77612094773e6db9857f11c050c261e15ffaa61bacba84d9c72b0248bb6b780802396ceee5a797a61ba493e SHA512 9dfebd622e69adf873987ee7c8c97e68c335a5720141e901e809fa30b9cdcae03f8b59dfb159e37d3850c7d8ba62878800d53f7ae3abf69249ef6afa37ed7df7 DIST pybind11-2.11.1.gh.tar.gz 756445 BLAKE2B 66ad933ffcd7fd475121f0b7488e13b914cb090d0ed511b96070e2849dcc537fb55e865b72fe06da6c5d1e3ed8e438799c5b0b60cbdc71e5713530174bff3be9 SHA512 ed1512ff0bca3bc0a45edc2eb8c77f8286ab9389f6ff1d5cb309be24bc608abbe0df6a7f5cb18c8f80a3bfa509058547c13551c3cd6a759af708fd0cdcdd9e95 DIST pybind11-2.12.0.gh.tar.gz 771004 BLAKE2B df95d12cd005c85434ba8a4d80740f437f3f9433b0fbc9e6e1e5bf840281d5cb8295500b6510474a91b45201323b19079743ca927f7d1be2c1dc0dca89833e9c SHA512 c20247a4dccec310307174a26a79f9a98dd7ae7c84a48ad61c61589b02ef74caac26c2945de602cbe38b0bea65fc9985f1cc37f9e2322cae2f824dee98d602f1 DIST pybind11-2.13.1.gh.tar.gz 789821 BLAKE2B b1634878a9a772d1200c79a5e7554a16a9ec76a57cbe4fc6fa86c70f9e383ebeb2b2ced7006392dbb1196144fb02f2415ff511e2b041a6fa3fe63b7c511c98f9 SHA512 97d7a2892af67adad16b6ff0fb3e6324c88d1dd931dfa0d34cf6d181baec05ed791f0980abf2174db22aabaa382fd5b5f00cb287cf6477a4786c999f29719717 EBUILD pybind11-2.11.1.ebuild 1305 BLAKE2B 60bdb063e9efb295ac3d49497b199cd9b9dedd23e3891ec9c96c6e2867e89c1cee9c16f3a34a4772813a850c74484fefd9c2dd53a072a84025b894546a0b237c SHA512 524695d724d859ea333de8975c392792c4ed685212204ecf72020af767d1cff6fdc307ecbd8e433af3627a76b2c7a5a41e83b13e313041fdd474df73880fb19c EBUILD pybind11-2.12.0.ebuild 1458 BLAKE2B 59b0a968da4155d2450df3b609101e431a70f2f958d7bfdf7a2be64dbb1aa50416fabe41d7dc06b882cda0ddd23dceac47d7c0700a0466bb6b02a1dce9d2da98 SHA512 b5a7bb5ae2eefcc144b337241eb14316d292fc975ab20a0166b159ec43828dc613498a568517f663f835a18e26da9f25410d07fe1a197874e4e6f9e7c36e5ee9 +EBUILD pybind11-2.13.1-r1.ebuild 1513 BLAKE2B a478e2ee389aac5d47d4c175bdba94ff0fc2ae529fc1b8e3278ddacd06901a86c85e3978eb7a9a5f76e6f6db7d68f630d0a355c48666d1644d4f999414ae4633 SHA512 705baf40071072de7fa7dc212bdc9c7e907f79108bd803cb23646728d5a260711fe620b18fd8bb7f0e9ac0849202b3c0b2e10a92a104b779e3da8c0f96390d5f EBUILD pybind11-2.13.1.ebuild 1465 BLAKE2B 855356abbdfb0b99d5b41e5b21872fb9454676c244e19169d78d5b74fb35ccbef0b440978e0a775558515da16832d0b09396dba04811e4478910ddbfacb14bc8 SHA512 5b52bc54e96b30787adc8b45bba2f05442a1a3e5cbe62dc9050ce99b64a32377f1c344ae71852e9c927de31fa962aeb77bc036314a52f230586179242e238966 MISC metadata.xml 475 BLAKE2B faf317a1197850acb0d16546a303bd50ee1bfe6fc3aaf592e6c147c6612fd20b809f1c911d79ca9a356cfa0c4166d2b155fcbd593f8b55e0d7dd75ff6444073b SHA512 5779adcc9f25c15fd999aa6c91d3144fc14535270e57925bfb8ac67f45448c144a142af2ea9a321ec6ffbf568713f663cef85a0be3d4a056e58b1782a5fc9a41 diff --git a/dev-python/pybind11/files/pybind11-2.13.1-gcc14-fix.patch b/dev-python/pybind11/files/pybind11-2.13.1-gcc14-fix.patch new file mode 100644 index 000000000000..878ede4a14f6 --- /dev/null +++ b/dev-python/pybind11/files/pybind11-2.13.1-gcc14-fix.patch @@ -0,0 +1,23 @@ +Patch source: https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e +From 51c2aa16de5b50fe4be6a0016d6090d4a831899e Mon Sep 17 00:00:00 2001 +From: wenqing <wenqing.wang@ufz.de> +Date: Fri, 28 Jun 2024 16:12:32 +0200 +Subject: [PATCH] Fixed a compilation error with gcc 14 (#5208) + +--- + include/pybind11/typing.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h +index c8ba18d499..b0feb9464a 100644 +--- a/include/pybind11/typing.h ++++ b/include/pybind11/typing.h +@@ -14,6 +14,8 @@ + #include "cast.h" + #include "pytypes.h" + ++#include <algorithm> ++ + PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) + PYBIND11_NAMESPACE_BEGIN(typing) + diff --git a/dev-python/pybind11/pybind11-2.13.1-r1.ebuild b/dev-python/pybind11/pybind11-2.13.1-r1.ebuild new file mode 100644 index 000000000000..75b8a7930304 --- /dev/null +++ b/dev-python/pybind11/pybind11-2.13.1-r1.ebuild @@ -0,0 +1,76 @@ +# 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 cmake distutils-r1 + +DESCRIPTION="AST-based Python refactoring library" +HOMEPAGE=" + https://pybind11.readthedocs.io/en/stable/ + https://github.com/pybind/pybind11/ + https://pypi.org/project/pybind11/ +" +SRC_URI=" + https://github.com/pybind/pybind11/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + dev-cpp/eigen:3 +" +BDEPEND=" + test? ( + <dev-cpp/catch-3:0 + >=dev-cpp/catch-2.13.9:0 + dev-libs/boost + ) +" + +PATCHES=( "${FILESDIR}/${P}-gcc14-fix.patch" ) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + cmake_src_prepare + distutils-r1_python_prepare_all +} + +python_configure() { + local mycmakeargs=( + # disable forced lto + -DHAS_FLTO=OFF + # https://github.com/pybind/pybind11/issues/5087 + -DPYBIND11_FINDPYTHON=OFF + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=$(usex test) + ) + cmake_src_configure +} + +python_compile() { + distutils-r1_python_compile + # Compilation only does anything for tests + use test && cmake_src_compile +} + +python_test() { + cmake_build cpptest test_cmake_build + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + cd "${BUILD_DIR}/tests" || die + epytest "${S}/tests" +} + +python_install() { + distutils-r1_python_install + cmake_src_install +} diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 2104f6cedb18..8870e5e79570 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,3 +1,6 @@ +AUX pyopencl-2024.2.7-nanobind-flags.patch 478 BLAKE2B 2e928f54d7275ea04ca5635f281f06e26690155299024939dc398a37858c6cb07193ab81f90a7a33602e69b0912ab4268349428ed7748e720d1033a18bdbae48 SHA512 6a71b6bcea720e1ce0b0c08682c1301176ba0286fc90bcb16757c2acef955b3fb2cea04f25193ff18583067e6640d8a35ae5980bd19995d9947ec83936a519ef DIST pyopencl-2024.1.tar.gz 473860 BLAKE2B 803c92418a609f3ad9249c81e93af0bd2e9125ee56dc88af8ee6ae9c4a275c7ab37befddd575914eb9f0b295aaef4f135358669e384a55c04b3938b02572724d SHA512 abf27d67f8c3633c71e662938a919c88a34b0b66cc3c213644f92a8733aed3c9b7593542dd9b45a080941976dadeb4f49a23a986482110824b554e3a0d317176 +DIST pyopencl-2024.2.7.tar.gz 470964 BLAKE2B 6c61d91735667dd63fec0375defe98fb681eb448780f86b0129769d30714adb51832955d8c2e838970f17187e5027f794cd21affc870910d23ec46126049d4ed SHA512 5c9982f5dcaeb3faeb6ac6b88940b5baff43b7580fc5d466a596d9c180e45725cbf9971ba6ae4981202900b06cee3be7fa88fdf7227befee874a8f203a3a3267 EBUILD pyopencl-2024.1.ebuild 2023 BLAKE2B 6088a13394451d8ce78f521fb3dfde49ae96df2be6444c60d176203a252e5220b9d23b855adbd552606c1f6a612541eb49f1d85b313baa96814b202e74ec6c60 SHA512 84fa66010684576ea2c62f2d72f85d64a9ca561b90aa3ed9c51fce39e605bbf71d9532d45b3c6dfbc199ad9e245c4a14223947aff3235608511c83d1ccdde27a +EBUILD pyopencl-2024.2.7.ebuild 2028 BLAKE2B e2ceda78c66a37303c3e33aa9ea7e0441b1502ae384807d94601b2718d0a1c89094c5d37ea5c50a1655f6def2e319f31258ab73703338c84bdbe7be187bc3a21 SHA512 c8c6c586d033750613f59f14fcbf674839424ba3df8755c6bf3be2e7aeb0c39dccf4ee6a07495d9caac18959ec9758845f7e3d0236acdcd7cffbc8300f7ef8e5 MISC metadata.xml 295 BLAKE2B ebe147867a9ecd3559e288e4fda56c04def2b224d87d6561d9065b13b251182f871b510acfd5034e63fc034d507837c241a6d1c639deda94faba05d3d020a285 SHA512 28117a5f3351192d7d3a58cdf47e8403155e027fd85ccbf5af32e5df9df59909d89ea94b18351354c312c323aa5e217da3b4a99e17cfbf59f307ddb4a38bc707 diff --git a/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch b/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch new file mode 100644 index 000000000000..e5816b924773 --- /dev/null +++ b/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch @@ -0,0 +1,13 @@ +nanobind defaults to adding -Os and friends: https://github.com/wjakob/nanobind/blob/b0136fe6ac1967cb2399456adc346a1af06a3b88/docs/api_cmake.rst#L80. +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -167,6 +167,9 @@ find_package(OpenCL REQUIRED) + nanobind_add_module( + _cl + NB_STATIC # Build static libnanobind (the extension module itself remains a shared library) ++ PROTECT_STACK ++ NOMINSIZE ++ NOSTRIP + src/wrap_constants.cpp + src/wrap_cl.cpp + src/wrap_cl_part_1.cpp diff --git a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild new file mode 100644 index 000000000000..33db2359adeb --- /dev/null +++ b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=scikit-build-core + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Python wrapper for OpenCL" +HOMEPAGE=" + https://mathema.tician.de/software/pyopencl/ + https://pypi.org/project/pyopencl/ +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples opengl" + +# Running tests on GPUs requires both appropriate hardware and additional permissions +# having been granted to the user running them. Testing on CPUs with dev-libs/pocl +# is in theory possible but has been found to be very fragile, see e.g. Bug #872308. +RESTRICT="test" + +COMMON=">=virtual/opencl-2" +# libglvnd is only needed for the headers +DEPEND=" + ${COMMON} + opengl? ( media-libs/libglvnd ) +" +RDEPEND=" + ${COMMON} + >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytools-2024.1.5[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/nanobind[${PYTHON_USEDEP}] + test? ( dev-libs/pocl ) +" + +PATCHES=( + "${FILESDIR}"/pyopencl-2024.2.7-nanobind-flags.patch +) + +distutils_enable_tests pytest + +python_configure_all() { + DISTUTILS_ARGS=( + -DPYOPENCL_ENABLE_GL=$(usex opengl) + ) +} + +python_test() { + # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present + local -x PYOPENCL_TEST="portable:pthread" + # Set the number of threads to match MAKEOPTS + local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) + # Change to the 'test' directory so that python does not try to import pyopencl from the source directory + # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) + pushd test >/dev/null || die + epytest + popd >/dev/null || die +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/python-glanceclient/Manifest b/dev-python/python-glanceclient/Manifest index d9d7c0c12c9a..d5737890cea4 100644 --- a/dev-python/python-glanceclient/Manifest +++ b/dev-python/python-glanceclient/Manifest @@ -1,4 +1,5 @@ +AUX python-glanceclient-4.6.0-test-py3.13.patch 3309 BLAKE2B 10d1b031f0cc4014cb4a7027b4d7af5f3f271cc3bf7e7dc8222a9e81cb93e2e2351e1812d3a371da9eba09ae7eac39b9492005b2ca341849cb8820591c7abc7d SHA512 cd699eacd600df4aabdb67ec7017419023d48bbdef25909326bd722c0b8a8b4291edc71090ae32b2207e8fb1f2b0a2dd2c6de46dda50ddad11e40c510d1dd87e AUX python-glanceclient-4.6.0-test.patch 4172 BLAKE2B 3b2d7c7e132cb3a71e1be0f9a6306915ab757d83e814b88acec0a45f8bb44d0c22e428094c03dd6bdf786c12276883412cd979560fa33129039631429ae4aaa9 SHA512 75b5f8a1f85ae68f330d4c8370b06ac3be5f09285df4c608469b00f815332ec38de337075ad4053c64044bc2d2fe6e0d1ebf461aae81385888a344c24fc82bbc DIST python-glanceclient-4.6.0.tar.gz 206480 BLAKE2B 302414b0fcf85ec9a8e53e9bf43c5801df82826524780249e9c4b46b44ca2e53c1c5d63f6e80c73dee2a59009a3e0aa1df591ecb2a4d000b74ee078b4810de2c SHA512 ed9d554d40a03134bc8871fbf712dd4bb2aab5e18854fd9c07df0d20dead1a9f3473bc4253ba4dd8c87cf7227148c637718461d45cd01bd9aaf673f7fc7ee9fc -EBUILD python-glanceclient-4.6.0.ebuild 1632 BLAKE2B b9d8adb43d349522f0c37e31d6fd21884296453553c60a242c2f0937422f59fc68c387bfd2d963b82b2371644e5d6b4fda2cd2032e0579823a83743618a1016a SHA512 beaa52e032052131752ae7133cf65bccb06fa4dcb8b33dd2d38abe66db4260eaefdf775426fd4cd3617c9348233231c1879d4fe31766c524c1918d1a3c16d505 +EBUILD python-glanceclient-4.6.0.ebuild 1785 BLAKE2B 19c84066ca8e55d86f03b7985d7edba8baa5dabc165d937dfecceb884931794ac246886aa2f15d00c47b80eccd3a5485af37696e370478a131c462ddde489185 SHA512 0aa7dbfd4704294b5ed1bfc5b60732bfbc7438a8c5cc7b801c7641f48583f6d9852a90e769418f64d5ed1ee4da40175bad0b20549eb47d8d339f7e319d819abd MISC metadata.xml 663 BLAKE2B 642540f3f4d577797725731f2374b5801ec2d4ad799ee4ccfaa4e29d955bd93a8ade0e6c9ec7712ee27d9f1f93186854472d301016a732020575b8f7bc1c5138 SHA512 fa9b88dce5a10824dd0d6987698587666343c95d8b6c607e466f14883c34fb0ebc846b683ae7d8bb65efe88007e6db0d2b1b41ba389c3b656a24f1839d03d9e2 diff --git a/dev-python/python-glanceclient/files/python-glanceclient-4.6.0-test-py3.13.patch b/dev-python/python-glanceclient/files/python-glanceclient-4.6.0-test-py3.13.patch new file mode 100644 index 000000000000..b1760f8b87af --- /dev/null +++ b/dev-python/python-glanceclient/files/python-glanceclient-4.6.0-test-py3.13.patch @@ -0,0 +1,66 @@ +From 6aa007080e1db0f95b04824f42a6b52cbd5ff886 Mon Sep 17 00:00:00 2001 +From: Petr Vaněk <arkamar@atlas.cz> +Date: Mon, 08 Jul 2024 12:01:15 +0200 +Subject: [PATCH] Python 3.13 test fixes + +Python 3.13 newly calls close in mock_open [1], which makes two +_cache_schemas related tests fail because they expect different amount +of mock_calls. This fix makes the expected check results conditional +based on python version. + +[1] https://github.com/python/cpython/commit/3f7c0810f6158a7ff37be432f8d7f9511427489f + +Change-Id: I8b019f73fe3a9f28f114c95321a1da0feadf750f + +Upstream-PR: https://review.opendev.org/c/openstack/python-glanceclient/+/923628 + +diff --git a/glanceclient/tests/unit/test_shell.py b/glanceclient/tests/unit/test_shell.py +index 4a123ab..ea835c4 100644 +--- a/glanceclient/tests/unit/test_shell.py ++++ b/glanceclient/tests/unit/test_shell.py +@@ -786,14 +786,19 @@ class ShellCacheSchemaTest(testutils.TestCase): + client = self.shell._get_versioned_client('2', args) + self.shell._cache_schemas(args, client, home_dir=self.cache_dir) + +- self.assertEqual(12, open.mock_calls.__len__()) ++ # see https://github.com/python/cpython/commit/3f7c0810f6158a7ff37be432f8d7f9511427489f ++ expected_count = 12 if sys.version_info < (3, 13) else 15 ++ open_idx = 4 if sys.version_info < (3, 13) else 5 ++ write_idx = 6 if sys.version_info < (3, 13) else 7 ++ ++ self.assertEqual(expected_count, open.mock_calls.__len__()) + self.assertEqual(mock.call(self.cache_files[0], 'w'), + open.mock_calls[0]) + self.assertEqual(mock.call(self.cache_files[1], 'w'), +- open.mock_calls[4]) ++ open.mock_calls[open_idx]) + actual = json.loads(open.mock_calls[2][1][0]) + self.assertEqual(schema_odict, actual) +- actual = json.loads(open.mock_calls[6][1][0]) ++ actual = json.loads(open.mock_calls[write_idx][1][0]) + self.assertEqual(schema_odict, actual) + + @mock.patch('builtins.open', new=mock.mock_open(), create=True) +@@ -809,14 +814,19 @@ class ShellCacheSchemaTest(testutils.TestCase): + client = self.shell._get_versioned_client('2', args) + self.shell._cache_schemas(args, client, home_dir=self.cache_dir) + +- self.assertEqual(12, open.mock_calls.__len__()) ++ # see https://github.com/python/cpython/commit/3f7c0810f6158a7ff37be432f8d7f9511427489f ++ expected_count = 12 if sys.version_info < (3, 13) else 15 ++ open_idx = 4 if sys.version_info < (3, 13) else 5 ++ write_idx = 6 if sys.version_info < (3, 13) else 7 ++ ++ self.assertEqual(expected_count, open.mock_calls.__len__()) + self.assertEqual(mock.call(self.cache_files[0], 'w'), + open.mock_calls[0]) + self.assertEqual(mock.call(self.cache_files[1], 'w'), +- open.mock_calls[4]) ++ open.mock_calls[open_idx]) + actual = json.loads(open.mock_calls[2][1][0]) + self.assertEqual(schema_odict, actual) +- actual = json.loads(open.mock_calls[6][1][0]) ++ actual = json.loads(open.mock_calls[write_idx][1][0]) + self.assertEqual(schema_odict, actual) + + @mock.patch('builtins.open', new=mock.mock_open(), create=True) diff --git a/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild b/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild index d1666fba6eca..b1ca97d43703 100644 --- a/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild +++ b/dev-python/python-glanceclient/python-glanceclient-4.6.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -50,6 +50,10 @@ PATCHES=( # https://bugs.launchpad.net/python-glanceclient/+bug/2069684 # https://bugs.launchpad.net/python-glanceclient/+bug/2069682 "${FILESDIR}/${P}-test.patch" + + # py3.13 added close() to mock_open calls + # https://review.opendev.org/c/openstack/python-glanceclient/+/923628 + "${FILESDIR}/${P}-test-py3.13.patch" ) python_test() { diff --git a/dev-python/python-keystoneclient/Manifest b/dev-python/python-keystoneclient/Manifest index e46476bf06d4..eb85327c8c3c 100644 --- a/dev-python/python-keystoneclient/Manifest +++ b/dev-python/python-keystoneclient/Manifest @@ -1,3 +1,3 @@ DIST python-keystoneclient-5.4.0.tar.gz 324151 BLAKE2B a086432c7fe81e6b39661f2e582e5c81efde88f04ba9e8e4fca17d4d217cb67a9a7cc38087e41a2b47e5b4540245a2586436c31e9596a2c520ad3e3219ff9b0f SHA512 496c321cc68efc3f7eaacfcef39ce3a4e669ab816245e6d4afb8e06a97490eafa6f16135a2c957bfdaecf9fe12577f0ecb6a97185844d376e41d22beee190475 -EBUILD python-keystoneclient-5.4.0.ebuild 1727 BLAKE2B 65036f522b9370e472fc452cd2b3ac571978ec6eb6e2fe0cd6e3d78d53dac5d4fa66947ed8744f26be3919b99d16cb0de0001d4581977b16cd8b14762b5930e7 SHA512 6495ad72eecc9a466517a916f89ab0ba311c331662c72242407dfcf95492d7b183374c2c4adf926090f83ad6e6771b87fb38a05ed68a8c7c0a38936959b073de +EBUILD python-keystoneclient-5.4.0.ebuild 1727 BLAKE2B 34815b309d26ff0d09039da237bc9c74df1edda7ed75530a922feb41a8055746c7901a672cc5b69bb23d664c1694e79db50038c0673ddb02ed57f2f6538e9338 SHA512 2a5bcc338bf32f9e1e5a5227e529faa09cd44b191b7f45cd173b6b78b80cc09079b070c095400bb54fb3c9ce99f08d351a27e7122d3f0da16886349e59228f3e MISC metadata.xml 667 BLAKE2B 47026519bc6a282a39e2503fc0fe2ebb54902ddf8cefac20f36e13c5dbe6589bd245588e461ff958d8b6e16c58e4d07f0937484da0fe438e4ac5367c9957efdd SHA512 df9d8fc8aebd726b4dbc63548a573352206dc92cf2db1520e558ce8bf1635ecab36589e7fae0bd38e34a62b16369ae890855b0f0390a0182e20a28ca8b48a635 diff --git a/dev-python/python-keystoneclient/python-keystoneclient-5.4.0.ebuild b/dev-python/python-keystoneclient/python-keystoneclient-5.4.0.ebuild index ffcc645258ff..0fccc15d7ace 100644 --- a/dev-python/python-keystoneclient/python-keystoneclient-5.4.0.ebuild +++ b/dev-python/python-keystoneclient/python-keystoneclient-5.4.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1, -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/python-swiftclient/Manifest b/dev-python/python-swiftclient/Manifest index 36121ca084b8..c0b51d114102 100644 --- a/dev-python/python-swiftclient/Manifest +++ b/dev-python/python-swiftclient/Manifest @@ -1,3 +1,3 @@ DIST python-swiftclient-4.6.0.tar.gz 209473 BLAKE2B e35516c4e05c889af5e9e794179b2c5a5fe364bcc85492639dd58c45ffc756d86942038d683e685c9f33d876043c0953c6b0cf69db16abdf57c057cf24ab97ed SHA512 19883c2640cf6071752e09261c7d8499e01b749100e6d79cc3a83e08bffc7392ee852351b11d549001d23898d4c34e8309fdadb8e0241e301bf03300db80eef7 -EBUILD python-swiftclient-4.6.0.ebuild 960 BLAKE2B 3925a93444ee00ae6991c4b675bb277d927afce5bcd29d0067b94805f19f1688338fa114ec04ca7e5b647cd8dd2a6b5832edc5cad67a22fd3f2df9362fbf25e5 SHA512 fce88a580af82ae5947853639904f89dc14913de500f2e6df1e7a946075fd7a41ea24d8734eadf376278aa180c32bb1c72c50ee9519351b92399c77ae73e97b5 +EBUILD python-swiftclient-4.6.0.ebuild 960 BLAKE2B 6a80bc2d71647be573edac85c4651a952a7e1ec92f809507ace17438cc999ee1f7ade471b9a555f24657dca684d5f5fc59fa2ae3012bf370bb24e98cf0778400 SHA512 30a862a3d0abeb44044310f3fa02d14e2fca5ebdae11e1fd3b542288ce7a03f2d31219ac378f443144514230cdfc6ab577d47645b7ace1d07c02210f1bbc84a3 MISC metadata.xml 668 BLAKE2B 299614e07d6b3f2d4acbc301cfddff8c1699acf3dac104de483e9dafdbf4cb34c8b933fdf7d91de3c26e73f34165338f68b46a44f3a113eb68b9b0270b9819c2 SHA512 f8b012262d487c873552beffe7107c8799bff52b6c61da575a9b2fa82d899d4e30d3a57f0885a119d8aebe87d5be61ea846d0766a409396acaa5fdb2b632e248 diff --git a/dev-python/python-swiftclient/python-swiftclient-4.6.0.ebuild b/dev-python/python-swiftclient/python-swiftclient-4.6.0.ebuild index 75b4410608c7..bb6756e38ebb 100644 --- a/dev-python/python-swiftclient/python-swiftclient-4.6.0.ebuild +++ b/dev-python/python-swiftclient/python-swiftclient-4.6.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/readme-renderer/Manifest b/dev-python/readme-renderer/Manifest index e284b00fbc1e..516d00b5e182 100644 --- a/dev-python/readme-renderer/Manifest +++ b/dev-python/readme-renderer/Manifest @@ -1,5 +1,7 @@ AUX readme-renderer-43.0-docutils-0.21.patch 4433 BLAKE2B ad0cb33d0ccbd833670ae57cef94e213bd31132e6f4a70bfaf0a0c149cee459e2edb2d76237b405000142cbd9f5f97f6b850c5f1c321f2c959f741cac5947350 SHA512 77a1048b4fe87353a18c7fbf309fe062d84584bfe868ea584f4cb52abf6382a0e373ac69d81c5cdac5e46ef0f08c2c34d70b4eaa350c1b339fa02ab0a3eb648e DIST readme_renderer-43.0.tar.gz 31768 BLAKE2B 0f0c3fbac8a1358d5271ee6805e051225bee53a33098d60f8fb54b2bed04de77dc5986759669bf3e14d5fac449b5f6c712aca66400320666958533a406b1ae3b SHA512 505cca08179c0eb35a7248d6bcfea24a968ad749365bec6bb65bbe4ba64ac78ef971ee63422796fdcc462210b199c9df126c8424bfc078ed1a9d1149b2d874e2 +DIST readme_renderer-44.0.tar.gz 32056 BLAKE2B d496f0ee8e0ddca1fbca0ccd8185b63169c23d2bd071b0e34aa3b1382052b3ef882737d361249597c42d8897f4188cf5cc1035d1b1115a242db3a6ce326bad7d SHA512 f68b1d9f7352ce07537d82a096e0d31000b7395a5809e7d160083071dfb8fdae38dc7a3460f42abb7aec5d932866a20bbe2b2fc09480cf4505add1bc403c34c8 EBUILD readme-renderer-43.0-r1.ebuild 872 BLAKE2B e2e9093391e3bad34b23af19cc3e8dad03f5542436a3e8ab7a44af874f9db9a9a873b3294ffa34ab35fb5d26e3335422b47222d38a2c2ba6656afc1d91278b9b SHA512 bbdaf836653442d8866bb6155bf417f4f00dff349187f02c571d3ba9a531aebaf0b04ce2b1f7090d46430f8f8fab39facdfb32eb7d398dd4b14fb13504531fec EBUILD readme-renderer-43.0.ebuild 758 BLAKE2B 62697be78e40d64003aa0bbe808b5a7c6bd056cdb90c5e61abe1c56a9fbee1f8b3d9ae5319959d1fa29b740d97bffb8a7dade46ecfc85f420c2f511621a2821d SHA512 a61b85c015d44e5f65a111a6d3cd1a5f63ff97c3e1a6cffcbaa309e4085aded9119ff7622c5757ba91a6b49e8e4db67d2f368d66d002916f930e817b755d171c +EBUILD readme-renderer-44.0.ebuild 694 BLAKE2B 6b47a1fcfba9891e0900a165dbe53f4f461ede2be1b2cd1f6944e933d29c251ba01a74d9ae7992e357efbbdbd9886320105046afc90c5dbb39dcb67e7ffc8b54 SHA512 6192b52cbfe7fe8c26f02116eba8db7efcfbca125d694e9b81b80449ddeef509276090882b7941405879531331f6c0efe53408f8795f4dc7deac93ff07a124fc MISC metadata.xml 416 BLAKE2B 1441314990a3eca464ea227d76e458a42b3c9bf44076f64a59d22cdddaace1fdbe219b3e6f8fb963cc40174aaf473852698facbc8816f55278821df0f452a1ed SHA512 50abec4287629f7982049959696e8f21e0a773618c40b42815d53e709d080ff6051235453a4659c50bd4cf856829d0489cdd0f4e1f56cc65f28d5de45d849b86 diff --git a/dev-python/readme-renderer/readme-renderer-44.0.ebuild b/dev-python/readme-renderer/readme-renderer-44.0.ebuild new file mode 100644 index 000000000000..e311393ba51c --- /dev/null +++ b/dev-python/readme-renderer/readme-renderer-44.0.ebuild @@ -0,0 +1,29 @@ +# 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 pypi + +DESCRIPTION="A library for rendering 'readme' descriptions for Warehouse" +HOMEPAGE=" + https://github.com/pypa/readme_renderer/ + https://pypi.org/project/readme-renderer/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.21.2[${PYTHON_USEDEP}] + >=dev-python/nh3-0.2.14[${PYTHON_USEDEP}] + >=dev-python/pygments-2.5.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +DOCS=( README.rst ) diff --git a/dev-python/rpds-py/Manifest b/dev-python/rpds-py/Manifest index 3fccd492c9ad..86a94560dfde 100644 --- a/dev-python/rpds-py/Manifest +++ b/dev-python/rpds-py/Manifest @@ -1,33 +1,51 @@ DIST archery-1.2.0.crate 22842 BLAKE2B 018539188a76836c35834d948f64e51888083021a90bfd56229e3cf9cba2f12db289a248d2602a71431a04a09c4a9194d11530ec769fa85eaeff239388d00a44 SHA512 82c51b29984ebf611597ef530af2b04aa4046f7e532276612f7ad8485d79cea675f70a7ca60ce65f87114abb72ad6984b2c48c2f257957ba53a05a61537531ea DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST autocfg-1.3.0.crate 16524 BLAKE2B 7d5a03853d6b4f0da08d8e139fb200da21e47fa7e50d1956270d0ff0cc496f660f8f800122c95eee9ba98d9210ab200c3010b782097483d12d6be4ac0df0e7c9 SHA512 a5570b955d57a7183ba148b335837dc5af24b202e80681027536d33fe2822509ba644fc70c29f018c893285ced2bf6774f44ca6c59f7c7e2226d5349cf7c3635 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62 DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff DIST heck-0.4.1.crate 11567 BLAKE2B 520aeea740cfa30b0cca12f73594ffa655f32959673b1c9caaca1ea0162e455546ae3033881394c0ba0516bcd5c9a997da02162e1585522d665813b9096eabd9 SHA512 8c80e959d2f10a2893f9a71994720f90747742bb5b61fc0a539eed3ea5679b140c48fd7f7690d7122cd6af5f7f20a19d412e3569fe741c6d31f6b2ce1e0b80e8 +DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 DIST indoc-2.0.4.crate 14311 BLAKE2B 8d604e20825ae64530014081c627abe4ecec6447e1e214408743aca79ed217531baad4bd7021137ae6628555d769a248f06acc556cc3254d2626074aab110a44 SHA512 ef1b8d19d89d848c1133f2865247e0ce23cbe5552454805910ed0478ac4acb11b11629aa4a5ce8756d0ed5cbc0644abedeac0246f433166c68f47cf58cf4487a +DIST indoc-2.0.5.crate 14396 BLAKE2B fe838c6a855d6ff7396675a3fe9b2e0b06a93cfd4013b0b843d24d2fb81f6566528bfd1753c649646f06cb7e59262bd6ec3ed79d4e6f01d740cf0682355f2e5a SHA512 095fb56a3d87946c42a63065a8b276c2d4b9b835800014b400bb987593bf56701bad9f55d947f090740fdb7641a4f3c87fe8bfa5724709e95254d1e8e2e3616f DIST libc-0.2.147.crate 686772 BLAKE2B ab2f0c65d071d46b8b88149add1c8429237ef6d9e0563d56ee1adbf23e6147dbb57fb68fbd02498f8ec75327693237a47e5e5259615ce8b0d5ed7a03bbf4fffb SHA512 bfb3c230b59d623b98726f92b7c3f897b47ba3d22fe9834c15f5b4c1b662289aba35a0ae3acfc704ad74696db8c691ee007b9cc6fa03ae65a18eb6bedc81931e +DIST libc-0.2.155.crate 743539 BLAKE2B 42cdcf8d4a187383548b1f09d404474f168916d626d614463fe10a1fd886e972e1caf6297e75445214af3f31fe631d0927e54ec1cdc63e20082b3587e38dce16 SHA512 05354bba532b8338bda1f88f12c7f3893429734a06e33925fca2b99d49548ae5216e2cd84e782d2368a2dfef20b0e035e2dcad8dd13ede7119462a8c639b2807 DIST lock_api-0.4.10.crate 26713 BLAKE2B 113adf8554c65e9782e8fd0360d0398567dfbfddb1fea4928cc152fbab98dbe086e42b81170f6f5c333d61dd3261e8a1ebfbaed786e6bf6378e6afde6d7f9e5c SHA512 ffe8cad8099bc382832181c1ff95e0935993491f247114604201be7d4ddf8402fd4db8fd6499c611f95fbce7d57dc3d3738eddfab31c52f50ab8709e549697db DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 +DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 +DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ece2194118618a96fa14871813c91798f93181ab0f768d3e1f3d60805508f216724013afb7e3da95678d0d951a42d4 SHA512 07327d3b737a913508dffb66023766348ce7f9d555c224a099cabb05baefd16a28e15fec638e3a148a5169dbd980c4541b0f8820ae9d06dfe0704482838fbd5c DIST parking_lot_core-0.9.8.crate 32383 BLAKE2B 2f9666872894d1c85895437d1353f9e15be2bc8d004ffc8f0e5be95e9dd4b274797db3752eba1c0b5b6071c1b8a71e4857cae0b2aff1afdaa39e92e70be2e6fd SHA512 8d6dfdf661b0f7d0774cb9f61121f2daefd182ac8a2a0d24eab451febfbe1a664c815c163d34a7f3d15a54915a8e22e6c6cd10e89cb7d7598d48d81ad6a3c256 DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.66.crate 43575 BLAKE2B 9eb3e816b00fcf625c280ba14ad269f5893d0523473a24de07c21945f6f932fbd08efb3c339b35d903245510e3f065e1478439b024a325f2bb9f97bc7bcbb18d SHA512 85f5a762f9411142e5ac28144bd380f07f0633ed2e44d8a2545be9fb8f42abaca6b5d45631b4be83b8e8b9beca7438bc52f25615c3a410a3a1249474b1aca407 +DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 DIST pyo3-0.20.3.crate 434673 BLAKE2B 1dcb881fd1fe5c76e9b4951f4d95fcd1daa1845c226a4ab1db4283cabe67bda822ff03e3cc85d797fe4665a1614229e7406dea65ec5e99ce4aac96b973a7f55d SHA512 77cce558fa60bbd8d9981ff5e62fdfa9bac94bd650b287fbf14ac93ef1c326c8ae7fda82d744e3582df03cab8adf490e0f2752fabd9ae3de044e7d80984e0350 +DIST pyo3-0.22.1.crate 536682 BLAKE2B 5c30834d5d30c2745d9133993039f9f88cf969ecee1119a4a82c8b5b5afa4b4d677c940666d250ac6769efb0d6bd767d2717d7eb6b65a93aee7c58e8e6cad88d SHA512 184829a31dad378d9d2e73e0cb3242d2113935e80f7f5289c89029f55c6b41d707b9e8ae631a5f04287f74b211a302d745003afe4e59c6cd027ffac5baf652ef DIST pyo3-build-config-0.20.3.crate 30060 BLAKE2B ef122b0b7d840d5362928bac76e1299b333775ec5c49a3bf23a19eccec074917931356bbf719c6d700999941bb6a396948ee7f8761e685c8e9251af07ba0cadc SHA512 70685415bba443787dabb9c61ca3702aefbcacb0705471b496b4f01efe34291735321d91243355b4be9aed8b243e393c09fb65556f1b926ac7f22f64560bd927 +DIST pyo3-build-config-0.22.1.crate 31205 BLAKE2B 5f2f09cd97643c0b3af372b24c07b65860eb3d502978fdd066c58641af207ed7e26a2a6b1b7855490dc7bf39920c990a17f260f1d91addcc8020df67cac4ea70 SHA512 4033d54c6ebe1ecd685bb4cf6b8440b56d700c7714296001129278c590cdb8007709558443863bfbd5a633df6d1d8997e4b643e92bf42fa2650e547c8f818108 DIST pyo3-ffi-0.20.3.crate 65024 BLAKE2B 33e79a02c7ab85f4767e02a39d8553ddc015c80d13bea674885ad8a18d89bd90f866cc39d81ecbf56270ebe87d29bca48f635c4e73ec99df02ce425f1427cb31 SHA512 3d1ced58e243be7cee4a3ca831dc08a1631fcd511c707dd3bada87d7662807dea2d88393d76e56ff19a6d1c2804d93b5b6b7b5efd36b9c275d66fa1bb1bfc384 +DIST pyo3-ffi-0.22.1.crate 67422 BLAKE2B 5dae443139a2223dbb4c29357ece0f730b9b01f92b0da61acf3993b840e410fcc0a8bf4384953283536e9174c52240ab12a2a6537ef3ddc613aa7cef0aaf5756 SHA512 ea77aa12d0d2d96c25c260bef26ec1ef38bd22a30a513f10b2bd95f27cbce50f21b46b7c1ecee7874d2fedd79607283c6798ec17ada5de009ec64c07f0e7ac95 DIST pyo3-macros-0.20.3.crate 7920 BLAKE2B 0510accf51cd83390cbb7b6ba4ec9f4610e3dbb7448d1213994013487ae81bb087df1ba0076a3862e5ecfd172b7846f9439a2d86950a93b016aae565ced4f03b SHA512 454f3c0c054aa131ffe955e4be1af061005b9c81b4d80702827e19b983224c118dfea474da515d5fc2c79cfd3fa21204ed4af2d9e81427123e0a78bd246a23f8 +DIST pyo3-macros-0.22.1.crate 8029 BLAKE2B 5ecd6f26cea60539134e2ad29620227cdf3a189566518020b00e7d362f87754a5ce793359e770f09532f7c4bdf65cd53d05b9fb488cfc320ffa89dbd3e7b0757 SHA512 230a1440e89f0fc9413515f5552495c94576c3cd6d243bf3a304a476d6a24843a18bd37bcff9d1f3569c733c1e3663829c2a8a92a5b19b691cbd049a2beb8d8c DIST pyo3-macros-backend-0.20.3.crate 49797 BLAKE2B 59c55d482577ce105db3e19a1db794eaab8221d7de01197716b75d5d2602e0f27c86aaae527eae7098eafad311144550bd597efe8cd6560c82dc435021f3428f SHA512 e177ee0d6a538a555fbe9108e3e2c20102622b2c9b9696ae309189e5c4d068efad2132afd4a97d734ebabb4d7146980a26cb68dc05d5eb88f338be2ad0cd651f +DIST pyo3-macros-backend-0.22.1.crate 65589 BLAKE2B 9cd0bcf4e30a60a00a8645c6b3deedd9cd3202dbfc783940993c9af5b4e21eaa04747bbe7a7647dd707c48c14d255b07e961121486f8c5ee84c4ce134229ac47 SHA512 4d79a4edae12e73fb22e66100be0d7774279515ff5b3de43c4301162fb697bc8ef11fa035f5da6d4363b08e61d6da7382bac6a6b455b4295e5b8d0fca332db70 DIST quote-1.0.31.crate 27881 BLAKE2B 47c8ac1051f7fa03d002420ade3cb18bf2aedc6ba922d13b117c016ee89c3326bea5cad32ec2f0e5ac1afcce68982f20b3f973914c205e6d6f426487989c6ec4 SHA512 8b2ec131937ce53f3fa01e68fb9261ed6442222e513cbe86f62b6da3cf3051cda0d134dc8028bc6c992fa63735ef3507490a169f8b4af1d6fc17058c6d2faaab +DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST redox_syscall-0.3.5.crate 23404 BLAKE2B 85aa4299d9816666bf576f523da5cdeae87b3c8fbb2af103e82258d23f73303c068a4b6c3ef4117ad67958cb31e41f836a9f59f2ce1bc52c23605e34399afcf1 SHA512 16f8f4766932bb54e4740cfdb4f0802f76246c0bf88c1d76c69c115949b124b625d8c3b85d8947073c2e9544f425aa16c10f71fabe3c03d29e424c47fe4ccdde DIST rpds-1.1.0.crate 69493 BLAKE2B f2d02c758de1abd46ff133965e0491a0276e4a95be5b64b6c83947bf8b3718896781eb96cf96d4abac84aba0c7caaa5e95abf1364ab2ffd65d573d0af212e058 SHA512 b24640e34c2f88ecfff5efb1581941eb02987bb7b342dc439513e8d7c8ee0afa63949f8dee09bf8f445ec6f3b3ec22d2927d3d03be05fee3c651b29c924a6b3e DIST rpds_py-0.18.1.tar.gz 25388 BLAKE2B 9f843e7530062c0564a67bae8d8ec15155f0a68cd53b69a52906ba3176d97fc1388d599fddc7bb804a88c77bd5b57fd0f54ed718558355a59100ce3b85b851fe SHA512 3ad144fe399eab121fe6b6ac4fa0a711dc1cc63763705534606d125c66f0e1b68955e53789ec885d217848d1a0c52c8a069905abdcc24d207d16ee65f4050886 +DIST rpds_py-0.19.0.tar.gz 24613 BLAKE2B 9c6e06a4e68747b58d623d17379c2bbe4210f66735b3b39f5c7163491c86ad6125d4134c4227b85add9a52a785378196814cd3994af0e7d4c77a463db68da82d SHA512 fccdf7a43c6319ec950ae3f58eb8c7c45f0fb838607512f6724ecc0b9ca2a6c5c97239af67fbd18980d926b636b3514fa1d2bd7b4cfd009aacd1596d91b4ce23 DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST smallvec-1.11.0.crate 34680 BLAKE2B e54d56f6bbffbfa7ce5fe5f04e325b2e5cf19d290e4be278bc00a136e26284625b9c18c7c2b10b7fb8fad0ea7e3770f3cdbcfbaa913f5ac08d0a2f8b4e0de188 SHA512 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee DIST syn-2.0.32.crate 242504 BLAKE2B 2c2938c0d711c684c9baf95538e2e76220418646590474b2b654d9242d2818aa7c3e5990208fe231ef64903df17edbbf6cc930e6224c964cad4eae5aeaeae781 SHA512 609f125f8138d17b1185760b1a63f3713079f5214fb56c23012229a56d10ac1c12654466c9ad1ecd6b2aff1126d125abfb0a42bd7f669635e5024b962b0cb0af +DIST syn-2.0.69.crate 265441 BLAKE2B b01576c2c86426d2bbb2c9553dc1dce6a309d9922c35167ee6a718ad08cf3d0a22f0aed4d4c547cdbed85b47283e5b60a128fd1bbb230a6687f0c28af3a9c228 SHA512 fddc0f1ffa3e68ce57833c6ff18382296838287dd98f9f77f679ced471c3f801af30376363a870232f337bda27b3ba6ea93074f8e3c05ee390bcc024e3690bea +DIST target-lexicon-0.12.14.crate 25508 BLAKE2B 5ebb6b49e5c3b0057959557651287d4bf5ffe5b499340019ff64d5fc3b64e780e344982e358c94b1b25a20bf0f526a584aeecc704695b50a55cc268dd65edb97 SHA512 3410ecc0faf854f49c41c99f83972960e67065b1e0e78557a7c4996d996109bfd167d2121a019f5256f996c896cd45af032038ab7918fdcc6ee6311693ce951a DIST target-lexicon-0.12.9.crate 24532 BLAKE2B 7f09be1827a5f9563b842c38aff659432ec61b66b814ebf4cc8a963daf6c93e7dc453a6966aa02d3a886007506d2b993e16ceb047bd34f6d206de76a39d08dfe SHA512 62033617d4587fb9d4b3159c78dbb628041d7ba6c5849c27a5755f173a7279aa4a03e56d31e03f87adfae50cef49eb6f0bc5eea1f6a131b87c618330d19d61d5 +DIST triomphe-0.1.13.crate 29568 BLAKE2B f0450292e3a4c2df6b400621bada57c099e5779cd3659c6171e452b552d2acaedbb2c0cd074c8f2144fbba9dc095648ba1c43a3fdcfe6fe3e01efe2561f6971d SHA512 e8364bf262d41aaf23de5c519c0303fd6ad928d8691843c7e0eda26b530c746c458837b08421559c50edf1cb8b9a2a216d7c32f5ea50be1543a2dec2cc60dd6a DIST triomphe-0.1.9.crate 26674 BLAKE2B 5c553d84da71c8a6fd6c65d1c0736864a2e8ad3842878402c7cc6023f88e72b849921d9337d5edf12d9f080b4f4d6e993e2f0f80f36683e51e293f6c26648adc SHA512 9dc43f449352944479dd147ab07f22fb185f713f1b81437ae55363870b0aa86cb9c250e132f16d4f60603f55e3388855a1dac3b80f6012aeea8cbce13cfd6756 DIST unicode-ident-1.0.11.crate 42067 BLAKE2B 3c7cac3d2bf1cbf1cf04716a482f130123e8e6940f7a90a17bc62fca44ac0069688165538f5329b95a72f735b594cfb85e3250738393ffd1b53cb0cd95077d89 SHA512 9682bbee339fb987c9d0bb6a54406d37b28b5c3587372d406402e4341900fec97e3234cd03b5c98b90b6378fd533dc452cac3de90d3ade19c4b09657e4abf6df +DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 DIST windows-targets-0.48.1.crate 6902 BLAKE2B 8e6cd47dea52131c66983cbf4982e88f7bd30416dfae4e380f7afb39f67ee0ac88d40769668dd5aba40d4415f9f00cbc2ac98d598506fed26029f5ec4df3a2c5 SHA512 e48179620cce528292167f1d5ee2deea0659569c996dc90eb4ab62b9ea8baee6c0bea3ab739e06d8793c9690bfc895545ed0039cb633ca39293de79c42ea9de2 DIST windows_aarch64_gnullvm-0.48.0.crate 366543 BLAKE2B 9b10f65089fe6da3ff38a1061783f635644ae84f567f891eaced280af68f7ff3919b34289e8850aa34554bb0346903273ff0a7fa743ca8794c2d23a9f1b0185f SHA512 80c5aa74c5669f7acff3882a8e7575f15e8d7cc58c11a1cb731ff423eb9cc9ba43cc6b80e52803c0d44e6a9001655ba87de6f43a9fe858da6d6e3a5c983a2711 @@ -38,4 +56,5 @@ DIST windows_x86_64_gnu-0.48.0.crate 703595 BLAKE2B b227efb78a99c43d0538cceadada DIST windows_x86_64_gnullvm-0.48.0.crate 366536 BLAKE2B 295dc3aef18c604d1579978045f4058b1a315083a8ab842bddf5800ec3460b1530ad88c3464acab712a229290aca235810de8a3b6a253859a354d9fa97277e58 SHA512 8d82fad4c8445030844708aa026a62f1ca43362b8e15f14b0d226c7e9cda04ffa0715087b6a025dbb738e8891de24fcc4a2df071a532917cf03c4a46f934f396 DIST windows_x86_64_msvc-0.48.0.crate 671422 BLAKE2B abb063610dcc38581657133182b7d9efeed5553df67bd2bd6f30f1668a645186e4824f9ef556a5abc84ace10b1b437b6325bbda6df5a64ce880d7dcb743ac786 SHA512 6e598b8e3ac54912a8ebac01b0dd2c58fd282072527d7fedc7f6ebecdfb7dcb09ae46c22293bc0117849437f8b053db5e90406e7a38276f0f0afd06be3966795 EBUILD rpds-py-0.18.1.ebuild 1529 BLAKE2B 5f136777f29cd5a7d8a2d274afd44ecdb200b02cf6951757a915d26be0f5648994fb79d7fd1d6de9e606e72b2a645864ed7444adf5b4455b9198a5e7d43fecb8 SHA512 cb3097f3792f4bf56c54e1c27645dcbdf18c5e4418a243dadebd241f572da0bf3e07a1efda7f5e354dfe92521979fd089ebaa018be50c4b90732f2c4334af78a +EBUILD rpds-py-0.19.0.ebuild 1183 BLAKE2B 28a2349b488b2784f99ea74d438fbbb69a3ec8f2ac4f7d285381eb71c046763528cc6b2d07b5001e3ed2748119930b8da8a03b4915d4a2ae6d8b7ecf3321cedc SHA512 9fb9d354ad806ee7de702d48708b422cbb39bb8149e9aa102b7bfef9bf4279dcb2cb0fd4fa7148faf90e6e04bb3e7ae472460cd0234596da112319989e144133 MISC metadata.xml 364 BLAKE2B 33dc27885605ddf91618cb855a4039c3d978dda6ef80fc1ccbf810d354ad9a8eac78ae5854a3897de0058d63b79ae5075c47f7111150237390f863aa6be67d19 SHA512 5757331989615512c24c0a9276a525a9e5d718ab474f22ff9e81d93568b0be5c95265898ce16442dafcbc3d9a76c83407d1bd460190ba04ace9b45259d19019c diff --git a/dev-python/rpds-py/rpds-py-0.19.0.ebuild b/dev-python/rpds-py/rpds-py-0.19.0.ebuild new file mode 100644 index 000000000000..f1c00942c9d0 --- /dev/null +++ b/dev-python/rpds-py/rpds-py-0.19.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +CRATES=" + archery@1.2.0 + autocfg@1.3.0 + cfg-if@1.0.0 + heck@0.5.0 + indoc@2.0.5 + libc@0.2.155 + memoffset@0.9.1 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.22.1 + pyo3-ffi@0.22.1 + pyo3-macros-backend@0.22.1 + pyo3-macros@0.22.1 + pyo3@0.22.1 + quote@1.0.36 + rpds@1.1.0 + static_assertions@1.1.0 + syn@2.0.69 + target-lexicon@0.12.14 + triomphe@0.1.13 + unicode-ident@1.0.12 + unindent@0.2.3 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Python bindings to Rust's persistent data structures (rpds)" +HOMEPAGE=" + https://github.com/crate-py/rpds/ + https://pypi.org/project/rpds-py/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" + +distutils_enable_tests pytest + +export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 diff --git a/dev-python/sentry-sdk/Manifest b/dev-python/sentry-sdk/Manifest index dc5ac21e60ce..16a4392a7e00 100644 --- a/dev-python/sentry-sdk/Manifest +++ b/dev-python/sentry-sdk/Manifest @@ -2,7 +2,9 @@ AUX sentry-sdk-1.21.0-ignore-warnings.patch 329 BLAKE2B cdb4295e600d868feb11b4a0 DIST sentry-python-1.45.0.gh.tar.gz 475425 BLAKE2B 8dc46154dfc1c7c9104a706be032b5269d407dee6845da252f1c603ea4f9486d02d1d3c6bec314064b821dee31b503d07a9c17935ca1f4dd6cc4d7b9c3165094 SHA512 dad23a3f6a8e6ef5fe78e1d38a61977d8974edf306d5688537f331801d8fa0f60743d18cc3dadf6e9a9666c55a01c98b9ff8d8808ece7d8f95ee68a69b6cb9be DIST sentry-python-2.6.0.gh.tar.gz 519912 BLAKE2B 065aa2a633c24f163e483fe6ace9696b3bb088caae2eedaff7bbfc09213bec593f1db5a70b41f9771db602ece77d7107f51945683799de35ad59aa2c10f0a47f SHA512 f69ccc15154ea10302610329bc9d80fb9cf249a9996b99b34268468b010a24e90ca46e62b223b3331518a2ee57c6e3e028e6d6b2d1e0c9bbac4f11176403c790 DIST sentry-python-2.7.1.gh.tar.gz 528495 BLAKE2B 7846e726aaca3d916a5b901aa1cde6ac04e79c32f71a631955a354143fc9937ba8881ccf1e3ed387ec12afcd4e6734ea4eee0614512447bcd58d8875fe97cd35 SHA512 afe034553ddb5eeefa00db26e13cebe82d946f990eb62f8cfde670ad5d9d5c93c0ffb2d0ed5f01f55ac533dca66ab6f53553e5b8f011e08705213cb515146516 +DIST sentry-python-2.8.0.gh.tar.gz 529314 BLAKE2B b5017cd8f7cb17174e16902f8fa8c18dfeabb807a85eb9bd2e7ac0009328b3b4a3d49b7a32d81abe4315204e416599d8a518dedd3cf6abfc7761a5df30da8857 SHA512 cd67efd18fa140032da4d1cf1aecb7025b0fece980daf1c6a21c4dbeb459c3bd6ba2c29f80a8e26325dc3f211c6d5cbc9d769e5a1098871058cec6e3e9c0ef03 EBUILD sentry-sdk-1.45.0.ebuild 5762 BLAKE2B 293cc9193b547971c44392b9500900fabe5f8dd7da6a237e58a42a38f4f9804db47fa539df90e6246e7be6574733ca883621e17e57d035ebb32596a281b86566 SHA512 571b8fc9d0f0e4b5ea8b5ce3426af73e713220158c121ddf9bd833a097edc027708c11aef53d911f69d0362277996776c4c428c3af1a013766f190e8f9179adc EBUILD sentry-sdk-2.6.0.ebuild 4258 BLAKE2B 87937634da1fe484afd45c92c911b5ccc8d70fe5dfc6a49681af6c0a3ef6b8f10307c88e6d4bf00c56517d12107188c999ade4fa27388beb84eb8de61147e548 SHA512 e299b3c869118ef30a0bb9927252d05aa82b3ae0d92bef7d556b895a44348e64b254d2f5fbb3be9e51cf767d14f56352284ee0d2167d85fa1d09096529cdea45 EBUILD sentry-sdk-2.7.1.ebuild 4475 BLAKE2B cedea2584e27e8cdf82871c4fe0d70baee4cfed66197dbb03c5ce43681ee272df8952dbdc51b96dd10ebb4fc04f50ec27b6c26bf2e1fe961a9ace099bebcc573 SHA512 f114361b6966a1a62150bfa096a7c531f4d5554ce06690b80b83e98cf15f42164862f933684742b1adfd63d3be278ef318e69152d3b0b570d134f9d88eab01ea +EBUILD sentry-sdk-2.8.0.ebuild 4475 BLAKE2B cedea2584e27e8cdf82871c4fe0d70baee4cfed66197dbb03c5ce43681ee272df8952dbdc51b96dd10ebb4fc04f50ec27b6c26bf2e1fe961a9ace099bebcc573 SHA512 f114361b6966a1a62150bfa096a7c531f4d5554ce06690b80b83e98cf15f42164862f933684742b1adfd63d3be278ef318e69152d3b0b570d134f9d88eab01ea MISC metadata.xml 510 BLAKE2B e00011699ac2cc83f1923e1f6fa813ede7eab8c57f9ce9d9fca04e721b089db1c5f2bdffaa7b9856f56b433abd9189125e07ffd3f329e4fa8d098e28a4f2d7bd SHA512 bafb77a102d94fe050cb526b298fb8cfd56775cb4d07eda280f6356fbec6fbe5df5c9ebd459d9d4457cd027c2e0d7c349e053fa6070b52f0d2989f6ec600b87d diff --git a/dev-python/sentry-sdk/sentry-sdk-2.8.0.ebuild b/dev-python/sentry-sdk/sentry-sdk-2.8.0.ebuild new file mode 100644 index 000000000000..7a32e57aa0c8 --- /dev/null +++ b/dev-python/sentry-sdk/sentry-sdk-2.8.0.ebuild @@ -0,0 +1,127 @@ +# 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_{11..12} ) + +inherit distutils-r1 + +MY_P=sentry-python-${PV} +DESCRIPTION="Python client for Sentry" +HOMEPAGE=" + https://sentry.io/ + https://github.com/getsentry/sentry-python/ + https://pypi.org/project/sentry-sdk/ +" +SRC_URI=" + https://github.com/getsentry/sentry-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/asttokens[${PYTHON_USEDEP}] + dev-python/executing[${PYTHON_USEDEP}] + dev-python/fakeredis[${PYTHON_USEDEP}] + dev-python/flask-login[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pyrsistent[${PYTHON_USEDEP}] + <dev-python/pytest-8[${PYTHON_USEDEP}] + dev-python/pytest-aiohttp[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zope-event[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/sentry-sdk-1.21.0-ignore-warnings.patch" +) + +python_test() { + local EPYTEST_IGNORE=( + # tests require Internet access + tests/integrations/httpx/test_httpx.py + tests/integrations/requests/test_requests.py + tests/integrations/django/test_basic.py + tests/integrations/socket/test_socket.py + # wtf is it supposed to do?! + tests/integrations/gcp/test_gcp.py + # TODO + tests/integrations/bottle + # TODO: most of them hang + tests/integrations/starlette + # TODO + tests/integrations/tornado + # requires mockupdb + tests/integrations/pymongo + # requires AWS access + tests/integrations/aws_lambda + # requires quart_auth + tests/integrations/quart + # TODO: require opentelemetry (with py3.10) + tests/integrations/opentelemetry + # broken (incompatible rq version?) + tests/integrations/rq + ) + + local EPYTEST_DESELECT=( + # hangs + tests/integrations/threading/test_threading.py::test_propagates_threadpool_hub + # broken teardown? + tests/test_client.py::test_uwsgi_warnings + # too many dependencies installed, sigh + tests/test_new_scopes_compat_event.py + # Internet + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers + tests/integrations/stdlib/test_httplib.py::test_outgoing_trace_headers_head_sdk + tests/integrations/aiohttp/test_aiohttp.py::test_span_origin + tests/integrations/stdlib/test_httplib.py::test_span_origin + tests/integrations/stdlib/test_subprocess.py::test_subprocess_span_origin + # TODO + tests/integrations/aiohttp/test_aiohttp.py::test_basic + tests/integrations/django + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_orm_queries + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_query_source + tests/integrations/sqlalchemy/test_sqlalchemy.py::test_transactions + tests/integrations/stdlib/test_subprocess.py::test_subprocess_basic + tests/integrations/threading/test_threading.py + tests/integrations/wsgi/test_wsgi.py + tests/test_basics.py::test_auto_enabling_integrations_catches_import_error + tests/test_client.py::test_databag_breadth_stripping + tests/test_client.py::test_databag_depth_stripping + tests/test_client.py::test_databag_string_stripping + tests/test_utils.py::test_default_release + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sample_rate_enabled + tests/tracing/test_sampling.py::test_records_lost_event_only_if_traces_sampler_enabled + tests/utils/test_contextvars.py::test_leaks + # pointless, fragile to packages being installed in parallel + tests/test_utils.py::test_installed_modules + # TODO + tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_manual_stop + tests/profiler/test_continuous_profiler.py::test_continuous_profiler_manual_start_and_stop + tests/profiler/test_transaction_profiler.py::test_minimum_unique_samples_required + tests/profiler/test_transaction_profiler.py::test_profile_captured + tests/profiler/test_transaction_profiler.py::test_profiles_sample_rate + tests/profiler/test_transaction_profiler.py::test_profiles_sampler + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -p aiohttp -p pytest_forked -o addopts= +} diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index 8580a453f6b1..26907de6412d 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1,3 +1,3 @@ DIST sphinx-autoapi-3.1.2.gh.tar.gz 68260 BLAKE2B 31315fb298f7dae78c10f839e2738340eaf68d5497f22368c50f14309a564d1c5636015a715a9f99080a4f753416a10c63147e63dfcd53a27d7466ad422f95c4 SHA512 18e4a49e831446fa14278ffda4fec703f3b2c86654ce78fa7f4b89e5a41f1e6b19ea76cb64e7290a3125dc027a2de8aa052495a8bfd4bcc1828780f762e81957 -EBUILD sphinx-autoapi-3.1.2.ebuild 1200 BLAKE2B 4bbba3f93c9551951cdefb3021bf30c14d6ab17a83f6583bc958b77d6fef867ba326eb0ce064377d335a202b0a11e56019a4a2b5416d717af1009aaa02b71143 SHA512 cef1a5d729d47b94d56f535acb9bd15f0f3c6aa85dce335b10cd99c00e94bd85cede9caeb0e67aeff1283a4485de3a689af03c614cc6ebd7201e48ad85c78383 +EBUILD sphinx-autoapi-3.1.2.ebuild 1200 BLAKE2B 6d592fea773727b4882b9a746b8ccfa698cdaad175f5f5f69c4402033f421e9f11405f705159bf0fb919c344b789a2e1b04b072f10fd6ba015b72b5c998dd56e SHA512 ad99a6e142a665cfa937f9cfbb28ade0a05c769fd21ac4f574e392c59f5e73351e463ce73320809c3c6beaa14831daec3e37615828bbc99628b9dfe2b076be29 MISC metadata.xml 769 BLAKE2B 6f85e487a2d2def289bb54a6addc2338bb8af85b323ec1c95851945f9c407ec22bfadd8079ac8b6e00cfbc85caa0e2b09d82329f1f87a365fc44b69c7bcd9a20 SHA512 68f02a5f98234c2a5cb15aa04ce90077b154a7e3a7a69dc0a1d0a6b5c7b42c60624878a7e2fff1576c8b586fc15e7ef042942274d4e8473835bb3d8bfdbd8393 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild index e6ac209aa02a..cc53280450a6 100644 --- a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/sphinxcontrib-bibtex/Manifest b/dev-python/sphinxcontrib-bibtex/Manifest index d0f27ec63716..d7c45d8a03e0 100644 --- a/dev-python/sphinxcontrib-bibtex/Manifest +++ b/dev-python/sphinxcontrib-bibtex/Manifest @@ -1,3 +1,3 @@ DIST sphinxcontrib-bibtex-2.6.2.tar.gz 117459 BLAKE2B 663521602282e360525354cc5ebffdba9e039f5d523774465f0b9318b39aa6429837164fc24e60d7646d204798a7b97d9defc176248b2793e7f7bbfeffc5c56a SHA512 a2b48306078de902cfdedbcafe94ea8aefcfff5285ec651fd1d0fe2c452818f9383ba486fb64e2ef4a294782445db2854bbdd158ab2aa1a49ed4adef85e9c82b -EBUILD sphinxcontrib-bibtex-2.6.2.ebuild 1147 BLAKE2B e3fa54b2ab2a1c012ba3d794121c793b6075ee1aa29ff1fad9476c0b6084ede2532c2dcc7028f0dcfc624510ab0bb57bf64794ab3a554ce1598ba0d77d76fd2d SHA512 2a35fdb0e7f1433da21425521ed1dac9d56767e1a46fa75bd0c590e5eaa66fe53d1fee3d067d55d2fe32a1a6cb837d7d8866f9bf4244041c07d3d92c03484de1 +EBUILD sphinxcontrib-bibtex-2.6.2.ebuild 1147 BLAKE2B c3909d680f451ae5b70563de8fd3b9c0b11806c9fb23e67ca70191ab2a85a46dc0f8ec5f1f1b28cad4b20737e506f2d1c4b9cd6535b8714eb9a0f34f8bcf9958 SHA512 66f4242f27e6dd59fddec600a39f0ca8990754ad1ea0cfa0fef66c6da7fd858b4ff44a5e1ebde101b0df0f0b593f833509b570610bec5dbeb7c5f37d2aea20fb MISC metadata.xml 420 BLAKE2B d223bc2db261a665cfb0c89989462fa6fab9c2681d21d2631f1c1c4a602f4da47de5cae9fe1aca2c0ec8ab016e39a16043325cf1d69f7e965088753277fedef4 SHA512 73bd1bd6af050a30d01f6378b8c231fcc255d99839e4179e5ca9ef095c4f779062c2fbf03455d2fdd023e3c5104bf89d2281cdfbf33ef63ab49bd288174590eb diff --git a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild index 268943a49323..c612c5357db8 100644 --- a/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild +++ b/dev-python/sphinxcontrib-bibtex/sphinxcontrib-bibtex-2.6.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi diff --git a/dev-python/sympy/Manifest b/dev-python/sympy/Manifest index 9f8c99fd633a..978751b7f018 100644 --- a/dev-python/sympy/Manifest +++ b/dev-python/sympy/Manifest @@ -1,3 +1,5 @@ DIST sympy-1.12.1.gh.tar.gz 8025309 BLAKE2B 01fe3e95716b0efcf682613fb8ba6f149f4f4dc4ad3f20eb816d85f30042af1cd5860d3d157d4c26458520cc2f8e994ae6671058a7a0d5237e7f15d0e61f9e53 SHA512 9b50d2b0e8e9628c38296f8d1e25c83b1b9fa1503166b48cc344709217393b00910ad3441a1da0e81e6faf56e5db7a33bc96926918da024cafc77fb4957f94a4 +DIST sympy-1.13.0.gh.tar.gz 8124299 BLAKE2B 0aedeb4005aa7ee32470d6fd89494cfb68667b579bce33b189016347d136c6e961b0bc226bf638ba9ee5f14fa5c239af5e27de7da2a45dbf6fb16abf2d79cae9 SHA512 1a0d794d5a48d8b46cf87635753d316d807e14eb98c8c880e815168c5ac2c479608ec3c2b0ff786611736f9e68a2941a05fa31f187e83b84e1ce10d72099a6b6 EBUILD sympy-1.12.1.ebuild 3010 BLAKE2B 4f8d57b33febd7803ae5c406cf8e0f7a677aa5a6337354c4dbbb3612f14bcaf28bb0da00ac6c67e958a9465a0a08a9c412d83ee9a62fdfd69be0ce866a936cb1 SHA512 568ea31f7ffbff8ffd9fda2399ba70fefcd44cfa68681769f911915bfdc7afce03196fe25715f96b4fc5e4c4c3910b07d5e450114778323cd9bc53933d9a1906 +EBUILD sympy-1.13.0.ebuild 3021 BLAKE2B f9814ac060be8d70c0aeda4a87a8c01d555a7152116a81911be520bea767457764405fb7550d9a944e1a2bfcd6c8a36d1d1989cee869fd085c1d0046a2f06541 SHA512 f1e5565706f77028fb2ce2475d312254f46266fa193bef346199dbdc71871f3e8f46ef9a59c86226a1e8874bd79a40119797d876a2b8334581e5a6bda8cc1cd7 MISC metadata.xml 1639 BLAKE2B b539888e4658c640442db1cb6bd6561664ee6c50109926d69572f4e2cfcdbef230a56909e799b09b860a8688ce66455ae5c5ac86099893ba667feb0198f65abe SHA512 9ba4c310c759e9e7fa3a726850b342e79ed07e4ab369ad126a35b1741fd4d343ba75af457cfcd76c5539b3259e0eb198fb58ae965c231bb38a94c83c00f52e48 diff --git a/dev-python/sympy/sympy-1.13.0.ebuild b/dev-python/sympy/sympy-1.13.0.ebuild new file mode 100644 index 000000000000..e1baa3ea9005 --- /dev/null +++ b/dev-python/sympy/sympy-1.13.0.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Computer Algebra System in pure Python" +HOMEPAGE=" + https://www.sympy.org/ + https://github.com/sympy/sympy/ + https://pypi.org/project/sympy/ +" +# pypi sdist misses some files, notably top-level conftest.py, as of 1.12.1_rc1 +SRC_URI=" + https://github.com/sympy/sympy/archive/${PV/_/}.tar.gz + -> ${P/_/}.gh.tar.gz +" +S=${WORKDIR}/${P/_/} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="examples imaging ipython latex mathml opengl pdf png pyglet symengine texmacs" + +RDEPEND=" + >=dev-python/mpmath-1.1.0[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + imaging? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ipython? ( + $(python_gen_cond_dep ' + dev-python/ipython[${PYTHON_USEDEP}] + ' 3.{10..12}) + ) + latex? ( + virtual/latex-base + dev-texlive/texlive-fontsextra + png? ( app-text/dvipng ) + pdf? ( app-text/ghostscript-gpl ) + ) + mathml? ( dev-python/lxml[${PYTHON_USEDEP}] ) + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) + pyglet? ( dev-python/pyglet[${PYTHON_USEDEP}] ) + symengine? ( dev-python/symengine[${PYTHON_USEDEP}] ) + texmacs? ( app-office/texmacs ) +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=( + # require old version of antlr4 + sympy/parsing/tests/test_autolev.py + sympy/parsing/tests/test_latex.py + # crash due to assertions in sys-devel/llvm[debug] + sympy/parsing/tests/test_c_parser.py + + # TODO: pytest? + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_check + sympy/solvers/ode/tests/test_systems.py::test_linear_3eq_order1_type4_long_dsolve_dotprodsimp + + # either very slow or hanging + sympy/solvers/ode/tests/test_systems.py::test_linear_new_order1_type2_de_lorentz_slow_check + sympy/integrals/tests/test_failing_integrals.py::test_issue_15227 + sympy/matrices/tests/test_matrices.py::test_pinv_rank_deficient_when_diagonalization_fails + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type1 + sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3 + + # known broken + # https://github.com/sympy/sympy/issues/26321 + sympy/solvers/tests/test_simplex.py::test_lp + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest --veryquickcheck || + die -n "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( AUTHORS README.md ) + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all + + if use texmacs; then + exeinto /usr/libexec/TeXmacs/bin/ + doexe data/TeXmacs/bin/tm_sympy + insinto /usr/share/TeXmacs/plugins/sympy/ + doins -r data/TeXmacs/progs + fi +} diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest index 93d4a35ef88b..7d415e5c088e 100644 --- a/dev-python/transitions/Manifest +++ b/dev-python/transitions/Manifest @@ -1,3 +1,3 @@ DIST transitions-0.9.1.gh.tar.gz 1124905 BLAKE2B 6d8700c9b2b2d200c8377e698f4057caa78908ee7156daa3fce1f49d86c6bc9afd45fe7af4122c2e124681c3c581e98f657e39444595f97ed7fb3c64f57d70fd SHA512 8e946ee9b8e3ed0629381514b4af4446625de0cea7cc8780326829ad987b4c0f9402484ed98ca66b12e95c8da79f77c62aba9f000dbe42779f158529cde3f279 -EBUILD transitions-0.9.1.ebuild 1190 BLAKE2B 9a99b350f0ddce7f94564e165ec52f17840368f1e9a2b84138a5848a06f767de34c981d49cf23425c6a7b701d78b271611321869ea8bab97f95c040cd26cd826 SHA512 bb670ca12dcd62bad141fd4b54922137df16e330e90e6fc92a22bfc7cc39f3b3326d27c6ee2e23ab8d783f44315dadb5990be386fe06816b814b45f96faae277 +EBUILD transitions-0.9.1.ebuild 1190 BLAKE2B 918e57b4a1e6e7025e79676faba34d5af1665ebe7fd51464691b39021609e3407db6e3577fa7eb8a169d9d6321c3b941d96c3e09abd66a78c00dec22993036aa SHA512 470396fe635c9e31d9353aa400075159f84cfcec21ac8b37fe5e3888c986a62448adb40bf326b37aadcb06bb06da84f4e8b49244b04aa2c8448c38518c5c4480 MISC metadata.xml 863 BLAKE2B 8ab7f50602ca6a7723c10c29c0bf436beb742e389fea5d4b98acf1828fb3287af27fed05f6c9e61cb65059d51a2290e0fe69515c1a67b138cfdac4cbaa7752bb SHA512 6e440169ae4a16c53f2a451d9f32e3d4831151b3af8a5f95f157e32a01cb2fde56bbab13e438c88f10e79fe37fa5ca6b48e18bfa9aaa81b96b7c703e2125356f diff --git a/dev-python/transitions/transitions-0.9.1.ebuild b/dev-python/transitions/transitions-0.9.1.ebuild index 3951e621e04c..a353fdacea25 100644 --- a/dev-python/transitions/transitions-0.9.1.ebuild +++ b/dev-python/transitions/transitions-0.9.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/uv/Manifest b/dev-python/uv/Manifest index 02b80b4aed68..e89dac0bed58 100644 --- a/dev-python/uv/Manifest +++ b/dev-python/uv/Manifest @@ -7,7 +7,10 @@ DIST uv-0.2.18.gh.tar.gz 1303313 BLAKE2B d14280eb1d92b2c3f43dc272da66d7e3b790f62 DIST uv-0.2.20-crates.tar.xz 48761312 BLAKE2B 888ee349ef5849c0333e67d2ab2a0c80bc5bd66fdf2de3e2b9f11d62f48aa075a5b66e234800c987cbda134cd5621dc0de0ab8e9a6ab63ad4e19e7eff33c7ca9 SHA512 5b7d0d48400e90cd6cfe4d615fa9672cca08e028d5b25dca97d360729a7eec6a39bf8613d076291097a11c39851a5348e045f5ee17b27053ebfc1469bf516512 DIST uv-0.2.21.gh.tar.gz 1318725 BLAKE2B dc1cbce639a05050f7a2ca97f9ee45fab8099045970e9543174fd963b12a9a355abd69aebc37f7bc91d9884c9a882ec6f43148bdc6b20e52728675f1f3f5f5d7 SHA512 7923781117117ad5645df7792396248f8064f9107719797e5efe118b70dfd51f6e53403fe7aa87ffb7e32c9327543ba9b001ffeb95b69028695d2e75fc53e2b7 DIST uv-0.2.22.gh.tar.gz 1311461 BLAKE2B 8fa2b9fa12220995f25426c7865dd897850617bc838beaa697764ee6566ee81e7e265d57f44f792a1a87a4fcc15d1f4de3de0dda94bb5e8a1c1c03c887b589b6 SHA512 95e67e4fcbbf5712fd25574459e4f707606cdbbd3d34735a2dcdc75fa533d2dc02177b7f3ad09139bb09d5c700352670508440d639eb191142b9372c7a5f2998 +DIST uv-0.2.23-crates.tar.xz 63724280 BLAKE2B 32f66ef8a6580d1dd0b7369656784c40da7f1f060c4543b359aa4f45ce33926f56d0d02222acf888a0923317d4cc02e96e1d27b3dab84038bf3714d316399f4b SHA512 04a31a451beb68f0d884cde3a35260a71020453217cfb616703b2ea8fd7af273b850239f66b8e77b1c73f241b2a8945ff9833fd0f445f2c6f3aa3412fee3e0e8 +DIST uv-0.2.23.gh.tar.gz 1314282 BLAKE2B 0d662a513b77a4da73945c3eedfa381cd65ad615975b22790ccde2eb467b356a70eacff20a15d37fff6f7b41b155824b0fda9f715d3a45f02c37c5f992f6fe0b SHA512 6b0c8f65e51dc8bf0654976b8866cb225784d91f44af935b243507a404ac4f297697ea22df29da43038eb335938be04e42fda39cbb292fe02715841c9f818380 EBUILD uv-0.2.18.ebuild 2208 BLAKE2B 618a08927a14701b8226d1b339dd9a69e0f46c2eec04060238e231cc63b6ae6bec5d98f9c07bca166cd228cac281401c5655b4c0619e9b188344f37ea824e8f7 SHA512 9eb80c8c4760f41fecee0e2e8660d21caeb7094dc15ad564f5270642eda80d8282898dc6e35873ea23e436b572d3a0ab8f3b6d34aca6b0e33a8aa818db4e67ab EBUILD uv-0.2.21.ebuild 2744 BLAKE2B 0f79601c28bc34503829a2b5a2ade758c5927880e2dc35f3af654a5c69b4d4b7a021a9071e835afd20ae8df9d61aa1179fea31ab0ee712eca1d37f2d48bf87a4 SHA512 86c40f948f46dcd40d861e325029549e86ce6cf1735d87ea8fcc72b9b316691804a075c62f3d0cc312d6bbf8c283ce2bf62a5993a89a808b70f4aa2f88ab46af EBUILD uv-0.2.22.ebuild 2744 BLAKE2B 0f79601c28bc34503829a2b5a2ade758c5927880e2dc35f3af654a5c69b4d4b7a021a9071e835afd20ae8df9d61aa1179fea31ab0ee712eca1d37f2d48bf87a4 SHA512 86c40f948f46dcd40d861e325029549e86ce6cf1735d87ea8fcc72b9b316691804a075c62f3d0cc312d6bbf8c283ce2bf62a5993a89a808b70f4aa2f88ab46af +EBUILD uv-0.2.23.ebuild 2744 BLAKE2B 6fb94d108125f4ea63587daf4e9e13a2f4f6e4119f062747ec34e484e10d6603118d9c55c72d547752cc966e30bb799e4a3e8fe1bb7023770729674c23fcc863 SHA512 f98b4ea7642a83dd5548b28556b818d5bb35fe5a58cff5b9944c8ae08226cd8674a727765ef1f45881ffe9d3664e662ba21bf359cee973970566fae222aae2b2 MISC metadata.xml 336 BLAKE2B 4b5933e24e3e9450dde5da099185dcdf3afb5916b55cffa7c2f3f6fac77e439197cbe4ba529a87f83442d8f87d238e8abef06dc052ce9a62659060ffea9fdb47 SHA512 9910fd10ebbc395b9c330774b74798c9ffdba3bb368347658380a22e01d6dc9d1961ea50fbfb4a904c9db84b94c713c054e418a7294425b86ff41a607fd3e310 diff --git a/dev-python/uv/uv-0.2.23.ebuild b/dev-python/uv/uv-0.2.23.ebuild new file mode 100644 index 000000000000..02d0a4fb4a54 --- /dev/null +++ b/dev-python/uv/uv-0.2.23.ebuild @@ -0,0 +1,108 @@ +# 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;b4435e2f3af10dab2336a0345b35dcd622699d06;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.23 +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 "${WORKDIR}/cargo_home/gentoo/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} + + cd crates/uv || die + cargo_src_test --no-fail-fast +} + +src_install() { + cd crates/uv || die + cargo_src_install +} diff --git a/dev-python/validators/Manifest b/dev-python/validators/Manifest index 7321d8839323..3cba4572eb78 100644 --- a/dev-python/validators/Manifest +++ b/dev-python/validators/Manifest @@ -1,7 +1,9 @@ DIST validators-0.28.3.tar.gz 65129 BLAKE2B 00ff76346e46f14bc0eb986eb6fc791e43b773bbad2b1cfe9d0b6f24d0f141ff258d5bea97d5330b98307a79c0a75dba69ffe3d85c28fa2ebe509ca0e305d2aa SHA512 d5d1fe6cf250698161efaa6c4d23225f2aab250a7bbf1a1d1de2ee171fd35731905a1c8596dfbc15840a97ac684d8497cb338047db8fc8520ce2056198ccae8d DIST validators-0.29.0.tar.gz 67150 BLAKE2B 9c202b91dd8125e2d4dc62fdf0ebd5313fd49f5ed28a71c26f90c9683cab25f688e5f242432616c9a4068429ab3679eaaf518578f3cc3b97ff6894f69883697a SHA512 e8daedd2878f2e2e51c76c8df2141bf4594c5789ed803e9bec592572b7df4f0be22c3c1a948ae6137654cc3bc7a0c638100b264f05771f5b2a13ee10d62deb79 DIST validators-0.30.0.tar.gz 68553 BLAKE2B 96a59c2155fa0a33c12502e36fb517b068a56edba7c161e722cea8832190a407b4a4c81beb85845239b7e76622e4fa31ff577b5278787fd7bbe441133762731f SHA512 96247ccf9ea5db12f6b405971aac11f834f64a83b7e6efdc6d04c81a9ff2901ece786bc2ad2301c738ff0eae8031a6aa2a1fef629048e61c2f365ab172408f46 +DIST validators-0.31.0.tar.gz 69295 BLAKE2B 3bb7b9648ee434b1238df45d0adfec3ad74a8a8cbf46e66714f542288bf403464756b1a229060c07d47f01a546cc7902c794fe5b021ccab1c8eb828dd6aa965a SHA512 5c5101941b5b60722d9ef5bee993b4847fecfc926bbf8bf1bef96a21dad4f90adc1838778299bb95d3f3b891cb3ea9964d00ba1eec6f2fa16d790b4614094c8b EBUILD validators-0.28.3.ebuild 485 BLAKE2B dbccba4b4ee5c503bf1e660e38a3826c71e4d4da54c004820fffe4a8d708e53310839dad422c3a9fd3f9a0c42cb3cdd82de78f1920ec97b7910ff558ebec25da SHA512 6dc4c6f00ca4946b8896d827a02266662401728c39ed0deb9b9ee3d288939c03c56e7e60a797e5c709df253ba8d2b5d4aec2142229dff460cb3c5d92e81b9af2 EBUILD validators-0.29.0.ebuild 579 BLAKE2B 1587c72fdf4818885225f91fda0be65f18cbf7e83a6c0209e021d99f28eee751a49c61c6753b3270d46a472ad4de34f6f2805937cde70bb8b484c7492c267377 SHA512 1b70045a03eedf6f7edae3a7174e3d742ac1c542f36b6858272d9f305b211faf7543c2889da2fd334225f893ce5b942c926eb229d0fd8eefc83b13059beaa6a6 EBUILD validators-0.30.0.ebuild 579 BLAKE2B 1587c72fdf4818885225f91fda0be65f18cbf7e83a6c0209e021d99f28eee751a49c61c6753b3270d46a472ad4de34f6f2805937cde70bb8b484c7492c267377 SHA512 1b70045a03eedf6f7edae3a7174e3d742ac1c542f36b6858272d9f305b211faf7543c2889da2fd334225f893ce5b942c926eb229d0fd8eefc83b13059beaa6a6 +EBUILD validators-0.31.0.ebuild 579 BLAKE2B 1587c72fdf4818885225f91fda0be65f18cbf7e83a6c0209e021d99f28eee751a49c61c6753b3270d46a472ad4de34f6f2805937cde70bb8b484c7492c267377 SHA512 1b70045a03eedf6f7edae3a7174e3d742ac1c542f36b6858272d9f305b211faf7543c2889da2fd334225f893ce5b942c926eb229d0fd8eefc83b13059beaa6a6 MISC metadata.xml 519 BLAKE2B a590f05cb14e02149ea83eaa045973624f5b0185a828d97ba5c6d071518718dbb664b5b207a1409fac0f7e9831b8555c4ceab6b7bfc105a96ff790291e5b5482 SHA512 40473bdc0cac23032dded1a4e9cbf52659f6f1480f431fda9221cfdb5b7c5b61ae74d3621eb081c39c19771fff32eaf703462e9466985170b084d524a8cfaf0c diff --git a/dev-python/validators/validators-0.31.0.ebuild b/dev-python/validators/validators-0.31.0.ebuild new file mode 100644 index 000000000000..ee697b081282 --- /dev/null +++ b/dev-python/validators/validators-0.31.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python Data Validation for Humans" +HOMEPAGE=" + https://github.com/python-validators/validators/ + https://pypi.org/project/validators/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires eth-hash + tests/crypto_addresses/test_eth_address.py +) |