diff options
Diffstat (limited to 'dev-python')
21 files changed, 458 insertions, 131 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 06a49c66ef06..0eda114036fb 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/asteval/Manifest b/dev-python/asteval/Manifest index 390137bcbe06..15195d2a4a29 100644 --- a/dev-python/asteval/Manifest +++ b/dev-python/asteval/Manifest @@ -1,7 +1,5 @@ -DIST asteval-1.0.2.gh.tar.gz 45578 BLAKE2B 87bf6c9eaf4cb8f202bf78f8eb8b670fa7c4619384b8b07dd0b46fbba3f39508d16f69237a0798a705d5077fbe71930d7aa946e637668d5b41ec43d7b5802837 SHA512 6e7ae98e96c359852db46c3c2ba0fa9796375eea84b6f213fe59cf91fb3d9862effa759051e962daf6fc072579b907233166cd12ff4e9a2d04b62a519a8f9af8 -DIST asteval-1.0.3.gh.tar.gz 46346 BLAKE2B 1f0985030d9684db2fbb7f112e32e6d4434f3600a4825c50366aafd9d3a0f1c9a87143e09d6017c69e5ba0987f256162c9b516f2042f872e27469eeb82250214 SHA512 b7dcb52ebb56b114167b05dd743656b427db1bd416c7842fd5ee2ad5c81ff1c62cadcf94b29b218985e4bfbc2111f2ab0b0a6bca172b1092a50edce011fc5e31 DIST asteval-1.0.4.gh.tar.gz 46374 BLAKE2B 4a3133457a752bc99a68fc4bffeb8aab8b4340ef21f8bae75d9131a5bcaa7eb4d081cacdfa7d9396565cc744a4d997e33516ba9cb0ae290392b06bfbcc608f27 SHA512 cf29562a2792013ed8fc7c14aaa261650b05037ee92ab75f8c79a1a235c59e8ee4768955c03ed615798666bfb62bf2ca37105dc93c1a4f56bcf446a0e4ba01f6 -EBUILD asteval-1.0.2.ebuild 685 BLAKE2B ba482d23d1399de20354f3306e126dc3c2f378e426fb40b45920bb43b9217b2bb5cbb278124d6b19987c2876202d3141bf1245372dd0c159e662cbb716342e3c SHA512 bd7859bbe4b4d6aff03e0d0107bcb4a0fcfd36242c840f08c8b363d2e2d57850ef5a5064c430dfa900cc09ef464198f9401852358df73ff485a197397886135f -EBUILD asteval-1.0.3.ebuild 685 BLAKE2B ba482d23d1399de20354f3306e126dc3c2f378e426fb40b45920bb43b9217b2bb5cbb278124d6b19987c2876202d3141bf1245372dd0c159e662cbb716342e3c SHA512 bd7859bbe4b4d6aff03e0d0107bcb4a0fcfd36242c840f08c8b363d2e2d57850ef5a5064c430dfa900cc09ef464198f9401852358df73ff485a197397886135f +DIST asteval-1.0.5.gh.tar.gz 46599 BLAKE2B 159076d1cdcac9ee6d9bf319ccb6ffcdb775fea7a930dce85d1171ede4f3e2b6acf1e9293cfe9d44e8da2762f20507c0781492fa5e6054a4f28fe836581af958 SHA512 a85cfde94e9f8d224d83b434d028bb91f2eec415090a14c2e8ceeecaba76c8e29c795bd54d9cfabc070dc9ee27cc492cfd533f35c272bf0649e284375b84ba7e EBUILD asteval-1.0.4.ebuild 685 BLAKE2B ba482d23d1399de20354f3306e126dc3c2f378e426fb40b45920bb43b9217b2bb5cbb278124d6b19987c2876202d3141bf1245372dd0c159e662cbb716342e3c SHA512 bd7859bbe4b4d6aff03e0d0107bcb4a0fcfd36242c840f08c8b363d2e2d57850ef5a5064c430dfa900cc09ef464198f9401852358df73ff485a197397886135f +EBUILD asteval-1.0.5.ebuild 685 BLAKE2B ba482d23d1399de20354f3306e126dc3c2f378e426fb40b45920bb43b9217b2bb5cbb278124d6b19987c2876202d3141bf1245372dd0c159e662cbb716342e3c SHA512 bd7859bbe4b4d6aff03e0d0107bcb4a0fcfd36242c840f08c8b363d2e2d57850ef5a5064c430dfa900cc09ef464198f9401852358df73ff485a197397886135f MISC metadata.xml 364 BLAKE2B 80f2b5eb32f8318ba159dad79e648fbb4b48b0047bd6e325206d1c33aa139861adb41c524cf6ec4105cf43406b007ffed278270b59501ee7d3c8b53677c450da SHA512 9a85a30211972755b060243b5f244a992431cde577fde0548518d2c0172be504787077acc2709e7f72d5c2918d8045496b67bd83121d297504a10e9a5a5edf5e diff --git a/dev-python/asteval/asteval-1.0.3.ebuild b/dev-python/asteval/asteval-1.0.3.ebuild deleted file mode 100644 index 5162e3ac4666..000000000000 --- a/dev-python/asteval/asteval-1.0.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 - -DESCRIPTION="Evaluator of Python expression using ast module" -HOMEPAGE=" - https://lmfit.github.io/asteval/ - https://github.com/lmfit/asteval/ - https://pypi.org/project/asteval/ -" -SRC_URI=" - https://github.com/lmfit/asteval/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - epytest -o addopts= -} diff --git a/dev-python/asteval/asteval-1.0.2.ebuild b/dev-python/asteval/asteval-1.0.5.ebuild index 5162e3ac4666..5162e3ac4666 100644 --- a/dev-python/asteval/asteval-1.0.2.ebuild +++ b/dev-python/asteval/asteval-1.0.5.ebuild diff --git a/dev-python/executing/Manifest b/dev-python/executing/Manifest index 9dc461a563f8..631ad28de0d5 100644 --- a/dev-python/executing/Manifest +++ b/dev-python/executing/Manifest @@ -1,8 +1,10 @@ AUX executing-2.0.1-additional-slow-tests.patch 1244 BLAKE2B 9f490c63925a3eabc13d39cb552fb29b9f7514ef5069662fab22290f086cdd4074f6f2f83b32ddd3feaa7313a249a6d335d0c12ad942cb1b44106366cdd407b9 SHA512 6fb2f329946fb2697922b8dce0de1be82f4f958889c44e346db8894fbf4a6e0a418849218a2daafcc228ef11f291c75c37ac7fa9b3defd516459d4486765396b +AUX executing-2.1.0-py3126.patch 7029 BLAKE2B d72ed951833ae2f3587c465eb6d862d899c55e289e68b204f135c24c3e18852c2f12289ed220310ca8f6cba3113b7db6f9a1ad11634aa45c410a5861de651c77 SHA512 6612efffc63fd72039c46dd9ca34d54ad84af170c5154040b57b7ac0aba7b70845278f77a5c5daf4c3134135f0749a6cd6b6dced7bc9891896c864f342cf75dc DIST executing-2.0.1.gh.tar.gz 837355 BLAKE2B 7d38890eb322809c2b705f51731fe7537f81a0775d99bebb4b4ae67453930daedd947b249385babbc2373969344b643f288441fc28f3588264e4ebc23e1c389d SHA512 8a753aab42ea2d3b61764ee77de3bb52ea7fcc2818298281180ffc47c7b22ee84974ee98b2137250f722ad559be92e72e8fc01d7b2d38ab6a01512618b65d4f3 DIST executing-2.1.0.gh.tar.gz 980727 BLAKE2B 0d7a3f0a7e83a1607fdc5bd618b7484bd2eb27443568ee6542d7caad050ff7f5a2ddf71518d434059bdc5f17bff81badf393b91628754b5d6b8ec5a4dbe8146a SHA512 0918ed3eca37d55a1c19b20a959538c46d65688979e0808270b7060a25d3db44bb593d2f8de202740af9f008f273e1e7565ba5b20b90c678e070b52a12bed4cd DIST executing-b3821ddf99132b61d8d32adfdae450e2418610ca.gh.tar.gz 983168 BLAKE2B 6f305aff1ff027efc5dc18288a1373623dc8e87f0a66f35ad6c92954fa1e6fc2422d50aaec128216efd1e090f1f69428447700b0adc8d4b61f40a777b3768c29 SHA512 049f95e363660052538b9d4c07123705663680d1c415ee43895678e4b740b3b2697c62c78e150fd14f75836727512e138c312ece7a48b2d3d11393f522b2ce60 EBUILD executing-2.0.1.ebuild 1637 BLAKE2B e7ca09365d343090e3d0b5a7ae5f026d672014e7b21049b4cbf121ccc2a8eca61573ce673c02088cd1b7344fdb283f751f1dd6b7f9f54d22485a7a085552d96e SHA512 049153057d52f111bcba17b1bcbab1d7e053b841b2e72d5ff632e1d02931f6422f68c4c53ffe20e8d1a03bd1c639f1835945ff1b5db01a0272fac6c46eae010e EBUILD executing-2.0.2_pre20240626.ebuild 1668 BLAKE2B ac61b4dcab54ec0d25528a117c14460ad4360646782e306477aab4d0541033a99c513811f4f72fb625146dace10ed915a79e1cff4f7383400f362069e09eec1f SHA512 a79ef357a4351e3c415ab6372af76d7b35d7a0e0fc452266d857588e822eea01090d2736b2e631d79ef2c8dda51cf814044e816573f385405c24e4e982e2cb65 +EBUILD executing-2.1.0-r1.ebuild 1584 BLAKE2B 049092e8056773e8718327658ed6ceeb27dd47a4500bd38c4dc608e0b23b5adeadba5eff334732a87954becbc0139d0da349196a904fd55100ab10d54532886a SHA512 b8bc753821df6282cce6991af11df3ae15f845bd490f4d72a8b594f7e6eae0f34e4acd47ff34c27d2f43e8e103403c7a390f6cb8dfa1396f3fa3b368bb8e7b9f EBUILD executing-2.1.0.ebuild 1486 BLAKE2B 1f1c6b71726dd37a659cd33fbba4bbee75c8428267b5139041ba382c9b7bd76dc1d8ee86321b9b007fe4ec8e10f6383c8672ce482120734dc105caa9f741cb9f SHA512 04f4a8287194e3a19fc33adf390b18316ebc79c30e4354f24ea8d97951cb55f6e6e92b719d365fde9051f21e439ee6b15cef4ae01dad3230f89f2658552e8159 MISC metadata.xml 351 BLAKE2B 3e64042e3da09377bd27bcf09b9984eef77bbbc18e84f1e849571ff628cd15068fa680560cfc6c3650bf545e5869c6e3d6be0b4d2fc00f35c5fc58dcc3194eb1 SHA512 de199443767adf299da6c7d857c182071746b2ccf7b84015e9649675451ff336fdb7ac1df2d15951ae708ddf0529f2f1c9c19a2959f45c0dc30db1f341fb8d0f diff --git a/dev-python/executing/executing-2.1.0-r1.ebuild b/dev-python/executing/executing-2.1.0-r1.ebuild new file mode 100644 index 000000000000..36658d7db6e3 --- /dev/null +++ b/dev-python/executing/executing-2.1.0-r1.ebuild @@ -0,0 +1,65 @@ +# 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..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Get information about what a Python frame is currently doing" +HOMEPAGE=" + https://github.com/alexmojaki/executing/ + https://pypi.org/project/executing/ +" +SRC_URI=" + https://github.com/alexmojaki/executing/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] + dev-python/littleutils[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +PATCHES=( + # https://github.com/alexmojaki/executing/pull/86 + "${FILESDIR}/${P}-py3126.patch" +) + +python_test() { + local EPYTEST_DESELECT=() + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + "tests/test_main.py::test_small_samples[22bc344a43584c051d8962116e8fd149d72e7e68bcb54caf201ee6e78986b167.py]" + "tests/test_main.py::test_small_samples[46597f8f896f11c5d7f432236344cc7e5645c2a39836eb6abdd2437c0422f0f4.py]" + ) + ;; + esac + if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_ipython.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + optfeature "getting node's source code" dev-python/asttokens +} diff --git a/dev-python/executing/files/executing-2.1.0-py3126.patch b/dev-python/executing/files/executing-2.1.0-py3126.patch new file mode 100644 index 000000000000..7c3b96d0b568 --- /dev/null +++ b/dev-python/executing/files/executing-2.1.0-py3126.patch @@ -0,0 +1,178 @@ +From 4acebfaa89196785ccc893d56b97ac8598c30e71 Mon Sep 17 00:00:00 2001 +From: Frank Hoffmann <15r10nk-git@polarbit.de> +Date: Mon, 26 Aug 2024 21:43:13 +0200 +Subject: [PATCH 1/2] fix: backward compatibility fix for changed source + positions in 3.12.6 (#85) + +--- + executing/_position_node_finder.py | 15 +++++++++++++++ + tests/generate_small_sample.py | 9 ++++++--- + tests/test_main.py | 5 +++++ + 3 files changed, 26 insertions(+), 3 deletions(-) + +diff --git a/executing/_position_node_finder.py b/executing/_position_node_finder.py +index 7a81415..c923822 100644 +--- a/executing/_position_node_finder.py ++++ b/executing/_position_node_finder.py +@@ -242,6 +242,21 @@ def fix_result( + # keeping the old behaviour makes it possible to distinguish both cases. + + return node.parent ++ ++ if ( ++ sys.version_info >= (3, 12, 6) ++ and instruction.opname in ("GET_ITER", "FOR_ITER") ++ and isinstance( ++ node.parent.parent, ++ (ast.ListComp, ast.SetComp, ast.DictComp, ast.GeneratorExp), ++ ) ++ and isinstance(node.parent,ast.comprehension) ++ and node is node.parent.iter ++ ): ++ # same as above but only for comprehensions, see: ++ # https://github.com/python/cpython/issues/123142 ++ ++ return node.parent.parent + return node + + def known_issues(self, node: EnhancedAST, instruction: dis.Instruction) -> None: +diff --git a/tests/generate_small_sample.py b/tests/generate_small_sample.py +index 89c7477..573d17a 100644 +--- a/tests/generate_small_sample.py ++++ b/tests/generate_small_sample.py +@@ -18,6 +18,7 @@ + from rich.syntax import Syntax + from rich.console import Console + import argparse ++import ast + + last_samples_dir = Path(__file__).parent / "last_samples" + last_samples_dir.mkdir(exist_ok=True) +@@ -63,6 +64,11 @@ def test_file(filename: Path): + delattr(Source, cache_name) + + test = TestFiles() ++ try: ++ ast.parse(code) ++ except (RecursionError,SyntaxError): ++ return True ++ + try: + with open(os.devnull, "w") as dev_null: + with contextlib.redirect_stderr(dev_null): +@@ -122,9 +128,6 @@ def main(): + break_file.unlink() + sys.exit(0) + +- if time.time() > end_time: +- print("Timeout") +- sys.exit(0) + + if not result: + print(f"{filename} is failing the tests -> minimize\n") +diff --git a/tests/test_main.py b/tests/test_main.py +index 5d4f83b..a3f92ee 100644 +--- a/tests/test_main.py ++++ b/tests/test_main.py +@@ -609,6 +609,11 @@ def __next__(self): + assert {i: i for i in iter_test(ast.DictComp)} == {1: 1, 2: 2} + assert list(i for i in iter_test(ast.GeneratorExp)) == [1, 2] + ++ assert [i for j in [0] for i in iter_test(ast.ListComp)] == [1, 2] ++ assert {i for j in [0] for i in iter_test(ast.SetComp)} == {1, 2} ++ assert {i: i for j in [0] for i in iter_test(ast.DictComp)} == {1: 1, 2: 2} ++ assert list(i for j in [0] for i in iter_test(ast.GeneratorExp)) == [1, 2] ++ + for i in iter_test(ast.For): + assert i in (1, 2) + + +From 6a6925e691681aa5bc05b42bf1f1f06adeb25722 Mon Sep 17 00:00:00 2001 +From: Frank Hoffmann <15r10nk-git@polarbit.de> +Date: Sun, 15 Sep 2024 14:24:10 +0200 +Subject: [PATCH 2/2] fix: handle changed positions for __exit__ of ast.With + +--- + executing/_position_node_finder.py | 50 +++++++++++++++++++ + ...3cd3a42b54914d66f7a67f8b2ade36f89ed761b.py | 3 ++ + 2 files changed, 53 insertions(+) + create mode 100644 tests/small_samples/3e40f2921fbaf6ccbabb2fa5c3cd3a42b54914d66f7a67f8b2ade36f89ed761b.py + +diff --git a/executing/_position_node_finder.py b/executing/_position_node_finder.py +index c923822..0f83441 100644 +--- a/executing/_position_node_finder.py ++++ b/executing/_position_node_finder.py +@@ -257,6 +257,51 @@ def fix_result( + # https://github.com/python/cpython/issues/123142 + + return node.parent.parent ++ ++ if sys.version_info >= (3, 12,6) and instruction.opname == "CALL": ++ before = self.instruction_before(instruction) ++ if ( ++ before is not None ++ and before.opname == "LOAD_CONST" ++ and before.positions == instruction.positions ++ and isinstance(node.parent, ast.withitem) ++ and node is node.parent.context_expr ++ ): ++ # node positions for with-statements have change ++ # and is now equal to the expression which created the context-manager ++ # https://github.com/python/cpython/pull/120763 ++ ++ # with context_manager: ++ # ... ++ ++ # but there is one problem to distinguish call-expressions from __exit__() ++ ++ # with context_manager(): ++ # ... ++ ++ # the call for __exit__ ++ ++ # 20 1:5 1:22 LOAD_CONST(None) ++ # 22 1:5 1:22 LOAD_CONST(None) ++ # 24 1:5 1:22 LOAD_CONST(None) ++ # 26 1:5 1:22 CALL() # <-- same source range as context_manager() ++ ++ # but we can use the fact that the previous load for None ++ # has the same source range as the call, wich can not happen for normal calls ++ ++ # we return the same ast.With statement at the and to preserve backward compatibility ++ ++ return node.parent.parent ++ ++ if ( ++ sys.version_info >= (3, 12,6) ++ and instruction.opname == "BEFORE_WITH" ++ and isinstance(node.parent, ast.withitem) ++ and node is node.parent.context_expr ++ ): ++ # handle positions changes for __enter__ ++ return node.parent.parent ++ + return node + + def known_issues(self, node: EnhancedAST, instruction: dis.Instruction) -> None: +@@ -895,6 +940,11 @@ def node_match(node_type: Union[Type, Tuple[Type, ...]], **kwargs: Any) -> bool: + def instruction(self, index: int) -> Optional[dis.Instruction]: + return self.bc_dict.get(index,None) + ++ def instruction_before( ++ self, instruction: dis.Instruction ++ ) -> Optional[dis.Instruction]: ++ return self.bc_dict.get(instruction.offset - 2, None) ++ + def opname(self, index: int) -> str: + i=self.instruction(index) + if i is None: +diff --git a/tests/small_samples/3e40f2921fbaf6ccbabb2fa5c3cd3a42b54914d66f7a67f8b2ade36f89ed761b.py b/tests/small_samples/3e40f2921fbaf6ccbabb2fa5c3cd3a42b54914d66f7a67f8b2ade36f89ed761b.py +new file mode 100644 +index 0000000..bfffc14 +--- /dev/null ++++ b/tests/small_samples/3e40f2921fbaf6ccbabb2fa5c3cd3a42b54914d66f7a67f8b2ade36f89ed761b.py +@@ -0,0 +1,3 @@ ++async def wait(): ++ async with something: ++ pass +\ No newline at end of file diff --git a/dev-python/iniparse/Manifest b/dev-python/iniparse/Manifest index 0a5f487081fe..3509c3216c3f 100644 --- a/dev-python/iniparse/Manifest +++ b/dev-python/iniparse/Manifest @@ -1,4 +1,4 @@ AUX iniparse-0.5_p20221102-py3.11.7.patch 930 BLAKE2B e214e94d64e3177143c38d97bd6fdfa94c8708fba9f8a1de28b4237e5e53fc67b5578137b23976888e5d03134400526c33d89a289295cfc630a842d414121b18 SHA512 44821a9a064c28299a4ef30b37f84735317a716b0a2702f6b78991c56e0a7056cb92722c03bd882cc372b82f4e0a096f729cfcd1d5653ad1d324dfd82d80206e DIST python-iniparse-ab623b0e287a9303bdb0c5213c485110e68dac12.tar.gz 33680 BLAKE2B 66ff134b1df28ae9c3e86110e7f8ad8dc0e24ed48f09db0c7554464e8d919aca49a7e43156c4acb8602af134c2f9d6c046d05cf1764f29285d8586329708a65a SHA512 57c43f7e0d28eab0e41bb819f7c06821d77f9bc5f3d0986f85dd4852b2edd468bb7b2737733e2f00faeac2e1211998d2e99b54ec92959eaf6d7d10897b176eaf -EBUILD iniparse-0.5_p20221102.ebuild 1237 BLAKE2B 2aff502816352e4a535729222eab85550adc3042d6b72f5de58ec38d9b1f85c1b7dab33aabb940ee68ffad753f3633bf3cf904ca5a0578392bfbd60c49542d8d SHA512 3424becc99c2ffbd7be50858b2d0ba5fd2ceabbba609dd931eb8daf1b5fbf2b4bfdedc8f5cceed436517e8110ac0003b50c1bac2ab8c85a53adeaf943f74ee54 +EBUILD iniparse-0.5_p20221102.ebuild 1324 BLAKE2B a25d593742f0487e4628b07d6a5b2068cf25165271981f90046f5bb787c8704d9211cd16c527b42f09ea3d6d73589ae1f40b38545655302fb7959d8764e0c78f SHA512 ca61891acf5d191f483141c8c18b1041d7ad8c5bcc6c6434e98413e109cc07ac8070cce74c4fc28b4cd1252d4c1f6ef2f358fec73c499f0b16ff77fbf9d7cb48 MISC metadata.xml 401 BLAKE2B 6dad247b348f1fcf83bc9fc4cb14375004abd1e6c0bfb904925ab085ebd43876cab70dc8e0162ac881d6c16749266fc9fed4196ad9bb5aca0948a018f129f2a5 SHA512 5cc6e050fd3914dbb8206dd8b410b976f4aff0a75cec075554c27ff4af492517fef177663e532dc8a8ced6890710c6cbcc088163113e85d491d07d62812d1bee diff --git a/dev-python/iniparse/iniparse-0.5_p20221102.ebuild b/dev-python/iniparse/iniparse-0.5_p20221102.ebuild index fdf3b827d469..09339f421733 100644 --- a/dev-python/iniparse/iniparse-0.5_p20221102.ebuild +++ b/dev-python/iniparse/iniparse-0.5_p20221102.ebuild @@ -25,12 +25,17 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT PSF-2" SLOT="0" KEYWORDS="amd64 arm64 ~riscv x86" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/six-1.10.0[${PYTHON_USEDEP}] " BDEPEND=" ${RDEPEND} + test? ( + dev-python/test[${PYTHON_USEDEP}] + ) " src_prepare() { diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest index 8e8ab6699d4b..df55af6565fe 100644 --- a/dev-python/psycopg/Manifest +++ b/dev-python/psycopg/Manifest @@ -2,6 +2,7 @@ DIST psycopg-3.1.19.gh.tar.gz 507073 BLAKE2B c10e2ba83f4a3bb0646d86c0f1311ae43e3 DIST psycopg-3.2.0.gh.tar.gz 549161 BLAKE2B 33997b5ee2f4f814561f83f92e9db4b61664f0ac84f6ff3bfd057d1cf9039a5e169478c8f40deb97e07433cf1481bfa7f4f79765158ec968ff6ab74b5aa6d14e SHA512 4466390a33f55eca73e1d490aca98ad7bb0e4c55b166d8956e1c940f5ea71c7cb07ba5602276f7510b2368d6c0c0e6eacac8d4ae67f465fd07afc4c75283f3c1 DIST psycopg-3.2.1.gh.tar.gz 549277 BLAKE2B badea79ca48b99ae363ffa1d04de922add9456662e0909a2761f61f1a5d03e2afc01ee188814495029551d9521aff95caa7ef3123d96dfcfbb3c0d0a14597e3c SHA512 ecaeee67493ce849a2d7477d0373061ab3b329d228e3c0dd482d7ee8c7eea07c59127db2e6afc0233a78f073306d4adef915aba5f3fc6378c0335c3155350294 DIST psycopg-3.2.2.gh.tar.gz 550226 BLAKE2B 2731190da5b044f16eb0f90fb5417244e46fc0906dde6ee9bd1ee4d91613f59ef1943da6662ad1f3db1487b8cc2b4ccb4e0a79ecc056a8f72c7e2b7b70e39abd SHA512 48686101c9d568003ffbf90cf07bc4496fb161f599b60a2b2df41ac120f338bee7edbeae3786071969d6bbb9acdbe868fa568b9cfa3b7a17dec2d47e5d54f002 +DIST psycopg-3.2.3.gh.tar.gz 550802 BLAKE2B 1f748fc2dc915fd82b2bc557ae4263ecf1070d5ba08681cb6ae21570acf601b03a2bde7e4324cd506e0146c86db976b003c57e99cd1948a930c074f0674d6ba8 SHA512 cf543652cfd27cf1cad3b1e3b8b50802562cc49f8fbd9ae5bd85ffdf26e30dc470f1f3380261c8cad418945ade8dc4f199ebcba08968cb87fd0b6c241fd8040d DIST psycopg2-2.9.4.tar.gz 384017 BLAKE2B 4bc0afcc890c8a257c1ccd5c6e4e5301857a80f8b1428aa46c1473c9e18f5d2914a2e592c13336b06106217bb334d9b0321835bdd123f1627cbeb29dedf97bf7 SHA512 259088e42e0ab0d8a1a0ccf04f5e560f32c6179b4a0a0059e91bcf269baa8f4b0f1f949c332c640a2438c927a29b2c144078a861f8e18ba9c764da7c93c73b8d DIST psycopg2-2.9.9.tar.gz 384926 BLAKE2B 8418fca1329703cedfc86be74d85cae5133a0604bb8a21fa43e5359a46626d38ef227d0cd8fbbeb497e2db517a469d7f3e86b74ef9163617a547e999073a6b4c SHA512 a691fd09762221e854861dedce37b05e5354e0701feea470a6d5046960056ef02a8c9ecfa751adeba485271ea7d5834643b7d3a3c3f3270087f5ed9c68509f5f EBUILD psycopg-2.9.4.ebuild 1242 BLAKE2B 07e9efdc89a8f67b4058eb60aefdb2c5e59498c2a54b9ac93445d7ddd08e6663fb3ee6fc97549b0f8c4a83877250042be0d2f5427d0ae6d836f6fb91521770af SHA512 46ce7e2d0422a9f696c3b04275250e6c11af4a4c2ffce74bc8b9fa26ced9c666a921de56c0efb22fd11730befd27658535a0cc8ca65b83609dfa8aa45b5a3e88 @@ -11,4 +12,5 @@ EBUILD psycopg-3.1.19.ebuild 2699 BLAKE2B 4811b1892ad611f109358ebb9ba5f0d2bac235 EBUILD psycopg-3.2.0.ebuild 2755 BLAKE2B cdeff6c0e4c1e2f43a091d524e81ca0d657cb76aa5f4e1db0c1f4814c5499ebb3a680eefb1b962e0e317dd46c8b9e3041f55ca96b06f3bc14fdb908d24edebe4 SHA512 acb9954deb2464913fa0a664c4ae3d7fb0f27af05c884f16c2ff013ff40d4867cec259b17644c245fb56ee162643d98d5e70b7716b063ed86e555e3786ed3d1c EBUILD psycopg-3.2.1.ebuild 2751 BLAKE2B 01f7cd273a98a18c5ae2ce3d20a1a1eda9a58f10490181095382e4135d3f10981c4b0e44e6298d5e08c1ea3bd73e4dff1823794f43fe6cc0e7e3231808fa7569 SHA512 43cccf04b4e282393981e3ca86c4fa3778b2ae84f49cff282372cca6d0a6ee8da895de6b88ddc037174e1331f2e84ae74e04c3ff02269851e8f08f3e640dd0e9 EBUILD psycopg-3.2.2.ebuild 2755 BLAKE2B cdeff6c0e4c1e2f43a091d524e81ca0d657cb76aa5f4e1db0c1f4814c5499ebb3a680eefb1b962e0e317dd46c8b9e3041f55ca96b06f3bc14fdb908d24edebe4 SHA512 acb9954deb2464913fa0a664c4ae3d7fb0f27af05c884f16c2ff013ff40d4867cec259b17644c245fb56ee162643d98d5e70b7716b063ed86e555e3786ed3d1c +EBUILD psycopg-3.2.3.ebuild 2755 BLAKE2B cdeff6c0e4c1e2f43a091d524e81ca0d657cb76aa5f4e1db0c1f4814c5499ebb3a680eefb1b962e0e317dd46c8b9e3041f55ca96b06f3bc14fdb908d24edebe4 SHA512 acb9954deb2464913fa0a664c4ae3d7fb0f27af05c884f16c2ff013ff40d4867cec259b17644c245fb56ee162643d98d5e70b7716b063ed86e555e3786ed3d1c MISC metadata.xml 426 BLAKE2B a573dbbef89ba2c3c7e7aa11e87005879fa823daa8d7e2080ce82dab7196429769b5e2ed0c4ffb363443469dfa47524d900fae75c4d7c8c9da901389e746838f SHA512 e3059428d8c00113696bfd232b2ad3fd4efccc304a31ff45801f30bb07c03acd58aafcab187fd85e4d89eff4db6c18a1395744eb1fd5cf8f11e43aca0f4e60cc diff --git a/dev-python/psycopg/psycopg-3.2.3.ebuild b/dev-python/psycopg/psycopg-3.2.3.ebuild new file mode 100644 index 000000000000..7b5d1e032245 --- /dev/null +++ b/dev-python/psycopg/psycopg-3.2.3.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="PostgreSQL database adapter for Python" +HOMEPAGE=" + https://www.psycopg.org/psycopg3/ + https://github.com/psycopg/psycopg/ + https://pypi.org/project/psycopg/ +" +SRC_URI=" + https://github.com/psycopg/psycopg/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="+native-extensions" + +DEPEND=" + native-extensions? ( + >=dev-db/postgresql-8.1:= + ) + !native-extensions? ( + >=dev-db/postgresql-8.1:* + ) +" +RDEPEND=" + ${DEPEND} + >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] +" +BDEPEND=" + native-extensions? ( + dev-python/cython[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + ) + test? ( + >=dev-db/postgresql-8.1[server] + >=dev-python/anyio-4.0[${PYTHON_USEDEP}] + >=dev-python/dnspython-2.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/935401 + # https://github.com/psycopg/psycopg/issues/867 + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + + # Python code + ctypes backend + cd psycopg || die + distutils-r1_python_compile + + # optional C backend + if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then + local DISTUTILS_USE_PEP517=standalone + cd ../psycopg_c || die + distutils-r1_python_compile + fi + cd .. || die +} + +src_test() { + rm -r psycopg{,_c} || die + + initdb -D "${T}"/pgsql || die + # TODO: random port + pg_ctl -w -D "${T}"/pgsql start \ + -o "-h '' -k '${T}'" || die + createdb -h "${T}" test || die + + local -x PSYCOPG_TEST_DSN="host=${T} dbname=test" + distutils-r1_src_test + + pg_ctl -w -D "${T}"/pgsql stop || die +} + +python_test() { + local EPYTEST_DESELECT=( + # tests for the psycopg_pool package + tests/pool + # some broken mypy magic + tests/test_module.py::test_version + tests/test_module.py::test_version_c + tests/test_typing.py + tests/crdb/test_typing.py + # TODO, relying on undefined ordering in Python? + tests/test_dns_srv.py::test_srv + ) + + local impls=( python ) + if use native-extensions && [[ ${EPYTHON} != pypy3 ]]; then + impls+=( c ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PSYCOPG_IMPL + for PSYCOPG_IMPL in "${impls[@]}"; do + einfo "Testing with ${PSYCOPG_IMPL} implementation ..." + # leak and timing tests are fragile whereas slow tests are slow + epytest -p anyio -k "not leak" \ + -m "not timing and not slow and not flakey" + done +} diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest index 54ae4ba0efcf..3900bc4eea6d 100644 --- a/dev-python/pygraphviz/Manifest +++ b/dev-python/pygraphviz/Manifest @@ -1,3 +1,5 @@ DIST pygraphviz-1.13.tar.gz 104642 BLAKE2B 6111c1b811d5359da673f9c43719d21e86e93e7e82e5819872fed6f87ebb74efb87dba40b5dac737b93bffcd51683f143528a135a76e3d6f62615593fdc22b88 SHA512 3159fd9fb1226974c3a6289ebc437eed394021a7fc41669e29879fa6fd5e5cb809c808a4016cfb1afaf30dc10e467e8b0fe5c3b71fb9a1f889efcf5ae6ff3597 +DIST pygraphviz-1.14.tar.gz 106003 BLAKE2B d56b16c6cc0fefeb258f6071424e20e38277bf76a8750ecbc1d9e2e8af5737ff79c78436bdf0d09c0e785e3b1bf90519b9bfd7014cf8373280c58e7057e2ba19 SHA512 867346303d560be21a37080e6d3ce0afe42119ee373f8cd872e853fee611d2c4cb56cc057023230fcf8ffbf03053ea92b9fc2ec6d5e682d6c6667b6727d87899 EBUILD pygraphviz-1.13.ebuild 953 BLAKE2B 50b118295e392e02bb3431a1ee592ff1b677c85ee79b4ed6325aa55ccdbd81b74177a2f21275bc4a5bb509ff3d0ac060869d14ae185af0e196debbac69a645f2 SHA512 958afbf873fb43f61164e77825a2edfbb566633aa7e9d7412a33577e080c71227465307ffa4813c896257efeb1739bc36f7b0fdd53716bf40aff3e80073d8ff5 +EBUILD pygraphviz-1.14.ebuild 955 BLAKE2B b6a5f4921b2f72fbafb7bb4cb36fc12871e7799e090de4c4159b6ae7f4c887d96d73eda730b035d520c709fc1e7e7fe076c41a640a083bff722e33c4c6431287 SHA512 2df45ea783116e86d506c01345269a08617896adc1df67f2729c32f1e49adca08c84125616732bfe3adfda9199d03dd8274c22c0d3f664ffc8db59acd0a8b4ec MISC metadata.xml 682 BLAKE2B 50dc3c55cac525fce3a396c94bdb48eb6e2c0b43636ae53c8ddbce2c9d3f82d8a080d881d4e6ac61ee71f88779c560d38fba3e10424fcd30af0dc80f979df081 SHA512 87e124765948529b7444fb1ad1ae655e18478ca46631a11a6613b289e2ac39600cdc00cc7af82b40694fb1e90c0ccad98be2fb457c5d7f74d5b087a6b3319aff diff --git a/dev-python/pygraphviz/pygraphviz-1.14.ebuild b/dev-python/pygraphviz/pygraphviz-1.14.ebuild new file mode 100644 index 000000000000..5a9b1b4ec3c2 --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-1.14.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" +HOMEPAGE=" + https://pygraphviz.github.io/ + https://github.com/pygraphviz/pygraphviz/ + https://pypi.org/project/pygraphviz/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x86-linux ~ppc-macos ~x64-macos" + +# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. +DEPEND=" + media-gfx/graphviz +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig:0 +" + +distutils_enable_tests pytest + +src_configure() { + swig -python pygraphviz/graphviz.i || die +} + +python_test() { + cd "${BUILD_DIR}"/install || die + epytest +} + +python_install_all() { + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + + distutils-r1_python_install_all +} diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index 44302765ba01..eb8a8faed9ae 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,11 +1,9 @@ -DIST pymdown_extensions-10.10.1.tar.gz 828448 BLAKE2B 6db04e72229e53c01f358679025ad94905553aa0eefec37887dd91c83ed4e24efc2be41ac533a981880ff7527b2d592dd7958ea7b49ce623b31b94aff69a63f1 SHA512 731cc26e225af87c75d743abc422e27f93fc0fdf2059411580e63b8344e6ede731e57f20b6679c15a3b84f45432273dce6ad63cacbbeed63ab9c31d8338ccdaa DIST pymdown_extensions-10.10.2.tar.gz 829801 BLAKE2B 8da4c0afba79a4736621ce8b644a42b4918c04685c1c0312f6a184007c456f92e106fdfd9ae9be64a32bba1d907b6a528fdc49267d1153c0393a8c20c4ded527 SHA512 5885a8f9ea774a5718647a9d546dc5285186d19761441cd1ef39d5f8be40ee13f8fb6cf8791f890001affa6fe051962a45f8cfe8c1d0c549eb4bfeab956494f9 -DIST pymdown_extensions-10.10.tar.gz 828386 BLAKE2B feca952ef46e405215a9ad3365c9afb24bc042590a3ddd87dae7d38a2ba24236463c3ffd7348446c563259246763b969b2c51986a3843d4645ffa530a44cbfb4 SHA512 09aaf7b4ee54bea055816a9f30da04f2cd7e342aa37163805f2eda19554ef93e33c6ef2853ca6b59ae9ae00f5347742c7ea2ba2abe3b5a2de503ec3106320465 +DIST pymdown_extensions-10.11.1.tar.gz 830215 BLAKE2B b32f11d7c3ee3c680b6a225ec44e7eaab4bd23cc95dd96fff29a037938384ac348ef0405a3fabf9dfb2bccc705e2cc2293d04dec7e323a47612c9a1d2ca7188c SHA512 cb04fef9cf6e2c2371287f0cc914b892a519392bb573b04eb547f96c7167cbd93da5848324c5693fc3e9cbec61c9a6d45b22d12d5164db4a09621d8de1d44999 DIST pymdown_extensions-10.11.tar.gz 829898 BLAKE2B ed0acbfa6ec4b8a61e1a05817aff8abc94545fe9c6da9c43000a696a25c7f3ec7a27b9398079c2cdecad397fff6ddd8716ea07d36c00272ae7ae144a513e39f3 SHA512 a06c00e64635fa6223a7e764e3f5f4604cc7d8ae4c2a8f6e47f6f799e877a213eab5398e67d7bb6586142ad03b2c155897b559bbb66d50e343405d15c53fe7c0 DIST pymdown_extensions-10.9.tar.gz 812128 BLAKE2B 2427c41b8587e8b0c4d9bedc4e7c413959545f6c1a12b2c9453861bdb349cbd5bb70327384821f6423718296f56efa17aae21db79bdd038f330246555bcd538b SHA512 3642ccf18a85ffe6ac03dcb132f4b64009490e2a6d0cc70c322ef7640de2a5895a321f755f2d6e16f9c9e84b112c12ded2db18ff73d3201f7b9e0a10c8cd78b5 -EBUILD pymdown-extensions-10.10.1.ebuild 719 BLAKE2B ae1ad392f5db068b381c94da4d2f347d5f5e42530e27c7417ac6443a8961c890a5fba8f32fae1ea314d5e036523813791b051721106bc4e76d3abeb770451286 SHA512 0aa712ee104fe3f72d072bdfe49f4544f0549c0f978bfa0cec5388cbb4b05d4fe7dce19f5fa7e6c015ed3795b90f2977c66f03332350b1dd7f3dd8b10b1cf68e EBUILD pymdown-extensions-10.10.2.ebuild 719 BLAKE2B ae1ad392f5db068b381c94da4d2f347d5f5e42530e27c7417ac6443a8961c890a5fba8f32fae1ea314d5e036523813791b051721106bc4e76d3abeb770451286 SHA512 0aa712ee104fe3f72d072bdfe49f4544f0549c0f978bfa0cec5388cbb4b05d4fe7dce19f5fa7e6c015ed3795b90f2977c66f03332350b1dd7f3dd8b10b1cf68e -EBUILD pymdown-extensions-10.10.ebuild 719 BLAKE2B ae1ad392f5db068b381c94da4d2f347d5f5e42530e27c7417ac6443a8961c890a5fba8f32fae1ea314d5e036523813791b051721106bc4e76d3abeb770451286 SHA512 0aa712ee104fe3f72d072bdfe49f4544f0549c0f978bfa0cec5388cbb4b05d4fe7dce19f5fa7e6c015ed3795b90f2977c66f03332350b1dd7f3dd8b10b1cf68e +EBUILD pymdown-extensions-10.11.1.ebuild 719 BLAKE2B ae1ad392f5db068b381c94da4d2f347d5f5e42530e27c7417ac6443a8961c890a5fba8f32fae1ea314d5e036523813791b051721106bc4e76d3abeb770451286 SHA512 0aa712ee104fe3f72d072bdfe49f4544f0549c0f978bfa0cec5388cbb4b05d4fe7dce19f5fa7e6c015ed3795b90f2977c66f03332350b1dd7f3dd8b10b1cf68e EBUILD pymdown-extensions-10.11.ebuild 719 BLAKE2B ae1ad392f5db068b381c94da4d2f347d5f5e42530e27c7417ac6443a8961c890a5fba8f32fae1ea314d5e036523813791b051721106bc4e76d3abeb770451286 SHA512 0aa712ee104fe3f72d072bdfe49f4544f0549c0f978bfa0cec5388cbb4b05d4fe7dce19f5fa7e6c015ed3795b90f2977c66f03332350b1dd7f3dd8b10b1cf68e EBUILD pymdown-extensions-10.9.ebuild 716 BLAKE2B 27275e4a6432d8f8c4d682c5ce0bec5ffec05f9768b39d3e74652aa092056fc1e39100799150e4346f5a23a14e8dedd5690041098123dca668987c637764f262 SHA512 3d170cc203987a3d7f2513a96323769f5eca4991706555d8a93cf22d087d6854e357eb885a1e5089c1853a32eb936607e442f2d27a6e83024a682748c477fd0f MISC metadata.xml 536 BLAKE2B f417ab2132b06eadbf1785654080084c4ef694f983e223ade83d5c77213e4443203a498a168efd68e4a3b1cccbe019c5b88716ac851719b9197deba9d2fd5411 SHA512 51304b48f9e296abea376be300053e041ea331f93e1ec7a2a3cdf10eea0ed6e9b8f04cdcbbed7920b46c60d5f6ce9337e3e25635516871d7b080eb54bfa16f57 diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.10.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.10.ebuild deleted file mode 100644 index 8447dcb9ba40..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.10.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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="Extensions for Python Markdown" -HOMEPAGE=" - https://github.com/facelessuser/pymdown-extensions/ - https://pypi.org/project/pymdown-extensions/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/markdown-3.6[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.10.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.11.1.ebuild index 8447dcb9ba40..8447dcb9ba40 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.10.1.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.11.1.ebuild diff --git a/dev-python/recurring-ical-events/Manifest b/dev-python/recurring-ical-events/Manifest index c9af8c585202..462ab1aa73ab 100644 --- a/dev-python/recurring-ical-events/Manifest +++ b/dev-python/recurring-ical-events/Manifest @@ -1,7 +1,5 @@ -DIST python-recurring-ical-events-3.1.1.gh.tar.gz 438998 BLAKE2B 9a141e697444278fd5f41e94e3ab2b12308b38f9c7aaca264e65ffccf9328a36cb67a0e2ed4dbf7dd3abccabf400762184570b62185d39428b0d6c11682d7305 SHA512 3ea995bd56430f9322d888559567dc809552cb6752f4a2acc4e33e385d730b91aa4a2d2389f3ab1ac9dfb5c7eb09327cfc9e858dd06671f7a1c30d39a30e7767 -DIST python-recurring-ical-events-3.2.0.gh.tar.gz 439359 BLAKE2B 10b72e24d97dff1b7d0883a2da632facf1d89945447540acbb64e1f61c490870458bd5c9d389484fbc1be562a88232baf9817dce5be3adc5628e7367b5bef5c5 SHA512 27b9e4e5ed84ad94a1ca12c03995a17ff9db933d98c38f9c34c9cd33fe524e80b55a1507f0e2800b9d027e8030904a06ce05aee596d6d93d2d69ed8ab1ea9046 DIST python-recurring-ical-events-3.3.0.gh.tar.gz 472075 BLAKE2B 70f531550a8d766e027fb9416883880385731c8b72a4115e2311024bfc4eac8fc7e8b06dc079309430e8d9da6d725c3e2efce8ce7e1ae93ca7f1d1cd288ff41b SHA512 d414d2b035c80d46fa7ea63c9df995edf632841b4f2bd9072d9004a2aaf8a9468de276330c5f939f172a93121577bfd1402606b9fab525af9aa662cd49c16501 -EBUILD recurring-ical-events-3.1.1.ebuild 1057 BLAKE2B e96f600f7e031826bc691cda6a9b00947b1b72acb119b5469471cfcec45cc3c308394c2c42b05bffce131dce411da50cdf1e8693b035b0d1402a2f5d59adf1b8 SHA512 ce91f1daa472dc13d5f3023eb8bfdcd90715dd277296d14743e342a7ff368372a798ca27ccc11034d2de834476d403f4f181737fb09b6fd6594ccc3fa1a0a1e2 -EBUILD recurring-ical-events-3.2.0.ebuild 1057 BLAKE2B e96f600f7e031826bc691cda6a9b00947b1b72acb119b5469471cfcec45cc3c308394c2c42b05bffce131dce411da50cdf1e8693b035b0d1402a2f5d59adf1b8 SHA512 ce91f1daa472dc13d5f3023eb8bfdcd90715dd277296d14743e342a7ff368372a798ca27ccc11034d2de834476d403f4f181737fb09b6fd6594ccc3fa1a0a1e2 +DIST python-recurring-ical-events-3.3.1.gh.tar.gz 478584 BLAKE2B 79728b5a1aed1495e468cf0ad86ee1a130b6f5100576ecae93ad2d278ae998fb4a89825c046800c6064eda674499bd5ca2cc29a2031c41486f23155de6d67522 SHA512 dd2b4de334ef48efaf201b833cf21cc25be3a39f9c06466a6a25a0f8402d01d7262c4030ba0878d74efb6b3011bdcf5c7fcea5b114ab908c7fa30a37c3ba6f88 EBUILD recurring-ical-events-3.3.0.ebuild 1057 BLAKE2B e96f600f7e031826bc691cda6a9b00947b1b72acb119b5469471cfcec45cc3c308394c2c42b05bffce131dce411da50cdf1e8693b035b0d1402a2f5d59adf1b8 SHA512 ce91f1daa472dc13d5f3023eb8bfdcd90715dd277296d14743e342a7ff368372a798ca27ccc11034d2de834476d403f4f181737fb09b6fd6594ccc3fa1a0a1e2 +EBUILD recurring-ical-events-3.3.1.ebuild 1057 BLAKE2B e96f600f7e031826bc691cda6a9b00947b1b72acb119b5469471cfcec45cc3c308394c2c42b05bffce131dce411da50cdf1e8693b035b0d1402a2f5d59adf1b8 SHA512 ce91f1daa472dc13d5f3023eb8bfdcd90715dd277296d14743e342a7ff368372a798ca27ccc11034d2de834476d403f4f181737fb09b6fd6594ccc3fa1a0a1e2 MISC metadata.xml 431 BLAKE2B 19ac0f0a385fb9b0524bf641831fbe3c02f35f3ada35922b297563f871cb8e745404e04d18d9f7428ef5b3cca27f5205f4a7f99e85e2a3da18542a19574f04de SHA512 35283cfbd447b3ec9d0d97ec7c11580db012ee60076b12ba733962d58896203a162ece04a9015eca8cc556f28fac307fc9ddeb27c3ea9cb9c8b2d6df0cf93a50 diff --git a/dev-python/recurring-ical-events/recurring-ical-events-3.2.0.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-3.2.0.ebuild deleted file mode 100644 index 6c85248725e5..000000000000 --- a/dev-python/recurring-ical-events/recurring-ical-events-3.2.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2023-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 - -MY_P=python-${P} -DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" -HOMEPAGE=" - https://github.com/niccokunzmann/python-recurring-ical-events/ - https://pypi.org/project/recurring-ical-events/ -" -SRC_URI=" - https://github.com/niccokunzmann/python-recurring-ical-events/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - <dev-python/icalendar-7[${PYTHON_USEDEP}] - >=dev-python/icalendar-5.0.9[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - <dev-python/x-wr-timezone-1.0.0[${PYTHON_USEDEP}] - >=dev-python/x-wr-timezone-0.0.5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/icalendar-6[${PYTHON_USEDEP}] - >=dev-python/pytz-2023.3[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - test/test_readme.py -) diff --git a/dev-python/recurring-ical-events/recurring-ical-events-3.1.1.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-3.3.1.ebuild index 6c85248725e5..6c85248725e5 100644 --- a/dev-python/recurring-ical-events/recurring-ical-events-3.1.1.ebuild +++ b/dev-python/recurring-ical-events/recurring-ical-events-3.3.1.ebuild diff --git a/dev-python/yaxmldiff/Manifest b/dev-python/yaxmldiff/Manifest index 975f33eca2a8..20066f24f481 100644 --- a/dev-python/yaxmldiff/Manifest +++ b/dev-python/yaxmldiff/Manifest @@ -1,3 +1,5 @@ DIST yaxmldiff-0.1.0.gh.tar.gz 8938 BLAKE2B 9fd9b9ede1d5c28c7d5a47967748de411dbc56b0191c4bcb7f2ee6270093523172497d470c6b99e87ccf50c8a70310500b103ecc3d28a49046f09c70055564b0 SHA512 3b853edd13a95f92d82f563d784d30df4f2876d0a9bf89ad67b3e53228a908fe32407386c221725b30668ac2b98be98623a2fb6da8e268380ee586b49e5ae78e +DIST yaxmldiff-0.2.0.tar.gz 30530 BLAKE2B 011e2ae06d8348c4c45dd6f6f58f61c1ade4a371a5b2f1b6e2cd9970016e96494ac08783551d964731553868c16a8084c96a8143f6338a29ced1eefb8533d060 SHA512 d8a00565d9ec084c9d6ab482317abe65dc44cf80641085fdcbf3464461b7066d56e7153c09198649222c29d9a8a4311d9d7fbf9a1b85ec428e86637601584aa2 EBUILD yaxmldiff-0.1.0.ebuild 705 BLAKE2B f702bff5886f2b175059c3543b87e27dd65b3a45713a96225713af4addaf27699ab76cf409d01119d5b1c815846dc6ef7bb0da355fcc265a89fe3cb12a4c87c7 SHA512 74566186f6284e4e1b16766e8c99c44af0b7057e5fe156998d9644903235fe1b6b21fc893f5538ad3ac2c998b0b41b615e6918f0d731df84cbf21a49d13598d3 +EBUILD yaxmldiff-0.2.0.ebuild 522 BLAKE2B bb298ec4360e6d119b6429b17fea2cdeedf499a10d74aeb6c548007bb9ffa0ad2c2e1235b20ab716d89695ebc365047a96a473f7a6c5c41d782bfb4efd52e646 SHA512 31dfd10d679085bbff13d202542670c81046871d1ce053ba1515cdb1075634612f4901c05cf51ce8463ef9a6f31c8598baff29c494527a9b8acecca1cf6c58b4 MISC metadata.xml 379 BLAKE2B 87ae57ffa686f5ac9f6db0bcaa5f38d12861baba90ec7da784d3de52afa4dad2fff3150b9b89a3a927ff826e4c120cdec92349af74c0e4b39574311c676d4c38 SHA512 7ee3eaf6cd1f697f3f2fb7ffc499f55e5015527f16c17d8b4d8a2b412c65a9c13ca03dac59ab7d9f470415d25e968573df246799046abadb7205b37dd55507d2 diff --git a/dev-python/yaxmldiff/yaxmldiff-0.2.0.ebuild b/dev-python/yaxmldiff/yaxmldiff-0.2.0.ebuild new file mode 100644 index 000000000000..42833a99d693 --- /dev/null +++ b/dev-python/yaxmldiff/yaxmldiff-0.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2022-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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Yet Another XML Differ" +HOMEPAGE=" + https://pypi.org/project/yaxmldiff/ + https://github.com/latk/yaxmldiff.py +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" + +RDEPEND=" + dev-python/lxml[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-24.1.0[${PYTHON_USEDEP}] +" |