diff options
Diffstat (limited to 'dev-python')
21 files changed, 458 insertions, 3 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 52cf725542c4..1104db3e7900 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index f88fbd625f90..50268fbb58d2 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,8 +1,10 @@ DIST boto3-1.28.78.gh.tar.gz 724185 BLAKE2B 5089a7d1eab11c23bd65699c41c3c6687f0666f10ebcc7fc4813f96225ceee5a10a008ae6969cd7927f43f09e0988178ea40386bcd91c473ac5fba1dedeeeef1 SHA512 e74f7348d369580e8d26f7c1f084276ec339d4bdd3ee628bdbe56cc6e4b1c0b22a759bb4ffe1075f0cb0d6f1692864db85a73d3cb884358dc97d6428f3fd9b0a DIST boto3-1.28.84.gh.tar.gz 728124 BLAKE2B 2fcc553a4a109b0bc92cdf0b08fe77fcef54792ee606b6b9ed7cde1ae92accabb9f9ce005d9ccd391601efac31eec407345471542c5b7298689ab1037ed8f41f SHA512 1b7f1fe951a9f3655a71bd51e9328f4474f9b320df82914b9ad0d64a32043aacf16fc5df1989304fd4d35430ddf6f58d0676fdb3985944d955c169a0ec58ce7b DIST boto3-1.28.85.gh.tar.gz 728751 BLAKE2B bfbc9b26b45e034949f13492987fdd43476d428d84da8b15e1ac67647acb410823bcc5e8710126a062a40779357ea49b5b4e1038831d38239515a793c6601dd4 SHA512 96165e6e5bd5673a364be445ab21916115e4f58c9e499f58bf0098d37fb7ba6ef28d5a6046f452e26618a305eb9713f5b5e5f10fd0c22868c499a9870fea4bef +DIST boto3-1.29.0.gh.tar.gz 730038 BLAKE2B 3f6f853eaa18d66ffef1e159fb641e6e3d069b1cb8ca9df457a714b1682a210ccf52aca4900172812b195309a4cd1a179c4ff2dff2f0a3c519e73c1eb9380908 SHA512 d826bda41fcab62b9e868ad96e405d538f1af1b7bc31c96349330fce493c8efef282c1da1c47a45a4a0e0e3051c0ddb0847af1efc9e7e9a87419f3995db2a5ca EBUILD boto3-1.28.78.ebuild 1581 BLAKE2B 3321baf451888ad370e81162c39222de8ad2ea4217f54a1a4f3cd9818c7b612305ef84c795eff5e7f6d53991c0fee83de67b5a2edf1be8c084f69882920acac8 SHA512 c76202b2ee7ffc4810d03a1702a15829cf66816e372fd0d1acfe3cdc0415d26431a03e4e252549d6e546ab21a161af8740d915a87a2ae328814194af97f8ad8a EBUILD boto3-1.28.84.ebuild 1492 BLAKE2B b917bb04deee77e6b65688e46eb6a2a0bf4c4550311821f0e1ec4fe1031430d56c7052b322ad1ed8bda21caf84d18770ed0aa44357870687af79fc8795ca999b SHA512 d72328e959f9a4567bc5aab853ed06f353d5248cb4158f02fbc49684f6065c9108101d7cc3a541e6d292014c2ffd142b00b3a729a0c82ed8fb9d28b1f5d68ba0 EBUILD boto3-1.28.85.ebuild 1492 BLAKE2B b917bb04deee77e6b65688e46eb6a2a0bf4c4550311821f0e1ec4fe1031430d56c7052b322ad1ed8bda21caf84d18770ed0aa44357870687af79fc8795ca999b SHA512 d72328e959f9a4567bc5aab853ed06f353d5248cb4158f02fbc49684f6065c9108101d7cc3a541e6d292014c2ffd142b00b3a729a0c82ed8fb9d28b1f5d68ba0 +EBUILD boto3-1.29.0.ebuild 1492 BLAKE2B b917bb04deee77e6b65688e46eb6a2a0bf4c4550311821f0e1ec4fe1031430d56c7052b322ad1ed8bda21caf84d18770ed0aa44357870687af79fc8795ca999b SHA512 d72328e959f9a4567bc5aab853ed06f353d5248cb4158f02fbc49684f6065c9108101d7cc3a541e6d292014c2ffd142b00b3a729a0c82ed8fb9d28b1f5d68ba0 EBUILD boto3-9999.ebuild 1588 BLAKE2B bfcf68e1a1dffa36c71f030ad8743b59c9170c34a425a7982ee81d1fb0df1c29fdecefa7b55f373557b735d60ab51d510ca398edd4045def5fffb6d4d4d9d579 SHA512 1bca684f585a51d8b58a594c71974b36b145912550f051d6d4c84ba28bce949ec10c112a6f7bfa8f60fa362d9126d9a830243ab36595754bef02f19e02161bb8 MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.29.0.ebuild b/dev-python/boto3/boto3-1.29.0.ebuild new file mode 100644 index 000000000000..0604e0996a82 --- /dev/null +++ b/dev-python/boto3/boto3-1.29.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 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 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${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 f63867582e21..fe3fe4b1ef14 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,8 +1,10 @@ DIST botocore-1.31.78.gh.tar.gz 12035206 BLAKE2B 0dd1109d34a8cf99af76f1f615095776e75c0042717a573da3714d1e20efce5cf67bf38d5421c3c5558112821adb4307f7ca0791efc8e62c9ea2e9ba8c2ddc7a SHA512 68c0f68b699ff0c0276cc70f4d4843259a953511c9c2813a3101d7dc43c36a0a3bda68df66a7ab2c206977a96ce0d933830b4004898f03febf478c710beb5261 DIST botocore-1.31.84.gh.tar.gz 12065719 BLAKE2B 2098241de47aa1f59c45287c2be66fa3562c2e549da081b1cd86626f1df5f3f175eebea1197396f39045aaebda241d37b1d47ebb378a0fb17e43c16215f89680 SHA512 097a25b4450513cf9c2722d7582cdfb969da8c083c05603f6a28eb65d1d69920106c745cb4f5e5b3bee1989eee64c89fe69c379f01df938edf2a92946c614cdf DIST botocore-1.31.85.gh.tar.gz 12070341 BLAKE2B b4867e351d209511db263654873f5a804f941c44d10af563eec656b041830c8543f2ec1f8d831a0aec2cce4d9b7dfc80bd3e73fd5fc456cf5e3ca00ab193b11d SHA512 0e26b6ad06e1075ec90f04d653873592fcc2ae4bdbec5bbbe4b38e368824bf000724551ac2598938b827ce81e3b327ffa9d5d23da0ccb915686a70e0f37ba161 +DIST botocore-1.32.0.gh.tar.gz 12086167 BLAKE2B 54e580c4d034b437d1e2e7748f1dd4785354db87459116565bc15d60bd73fe5d46cade212fd44fabd243614f3be55d9eeaef575ea6d6312ad83c0b6c1e741515 SHA512 9aba3cc3f823ba47ee7964517189d1227e5934c63ecdf1631ade59524594fb7cc20b9cfc7060dd8a69648d48e2d1ede0a377f204124d06ef843dd98a4cd1b11f EBUILD botocore-1.31.78.ebuild 1592 BLAKE2B c5a131514206b9f7ef98aaed462ec767d932eeea538773e42ca99947021c1041dbffcd6e2f46d892031cc069e60a9a0ca607d9550ac1c5aeed89d1054e00a1b2 SHA512 056d3df23d41a7a44604241a9cad27b7052f065f5e4cf9fc335cc0228ff6e27cdc744cc9e1a33f5b77414dc598467ac436588e6f1e1375464b8ea5961dbec73f EBUILD botocore-1.31.84.ebuild 1524 BLAKE2B 8a2471391e1a0e596e0b8d72ee09df50c3763a3d03db51169f45b1b571ba3df97eef93a43374b196ced5e1dc978bc2f3de52099675a6b19c1d5fe933922466b3 SHA512 bdde6ff5fcea64cad2e42bf6b2e8cb49f096ed5b17c321246651936878ff07347f4fea7805bb7083053aab2014c3e4a50fefcb727e89ccee3aa6a5860d71b249 EBUILD botocore-1.31.85.ebuild 1524 BLAKE2B 8a2471391e1a0e596e0b8d72ee09df50c3763a3d03db51169f45b1b571ba3df97eef93a43374b196ced5e1dc978bc2f3de52099675a6b19c1d5fe933922466b3 SHA512 bdde6ff5fcea64cad2e42bf6b2e8cb49f096ed5b17c321246651936878ff07347f4fea7805bb7083053aab2014c3e4a50fefcb727e89ccee3aa6a5860d71b249 +EBUILD botocore-1.32.0.ebuild 1524 BLAKE2B 8a2471391e1a0e596e0b8d72ee09df50c3763a3d03db51169f45b1b571ba3df97eef93a43374b196ced5e1dc978bc2f3de52099675a6b19c1d5fe933922466b3 SHA512 bdde6ff5fcea64cad2e42bf6b2e8cb49f096ed5b17c321246651936878ff07347f4fea7805bb7083053aab2014c3e4a50fefcb727e89ccee3aa6a5860d71b249 EBUILD botocore-9999.ebuild 1599 BLAKE2B 8325845842cef976827216365bd3f88b7865bb4ce82764b121a42bb99d98952042223281fa66e6e31ec83e39c4fc585672fbab6426a7df79aa945df720d42a1b SHA512 ade15b4567ae00f08a0f5895d967ad3f37af15c24b3169e9319fd7d3c3a3316f34d989b225a928c8c72c2656e4c8f79d61e8b7ddd17e179adf7ff67bcbac6efb MISC metadata.xml 499 BLAKE2B e5aaa7da26f200c09adfdf38b68f656bbccbec627cb5d966b280ac2165334e7eec659c89075bcace748f58e2ec3e7d2998e54a688d56ecea2d30653c67dfd35a SHA512 103c554d5dbd967bf9b6e418b3913d9235e7e910d012160909ce0715134ed2e37b06e6a345395f9d16ce08d1cf51f3ce458bce93c6a978fd3dca6610f2acdbd0 diff --git a/dev-python/botocore/botocore-1.32.0.ebuild b/dev-python/botocore/botocore-1.32.0.ebuild new file mode 100644 index 000000000000..05766e84276c --- /dev/null +++ b/dev-python/botocore/botocore-1.32.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 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 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/contourpy/Manifest b/dev-python/contourpy/Manifest index 0c9cf777327d..b7e7fa685794 100644 --- a/dev-python/contourpy/Manifest +++ b/dev-python/contourpy/Manifest @@ -1,5 +1,6 @@ +AUX contourpy-1.2.0-unicore.patch 3169 BLAKE2B 436bd8b179be7bb695694de4254be53fc0915a1ce362966ec6c9c718da735155ac045ba8fd5c34b696b3700aa9e7646fa8ac65466172e8a466629151cbf06a27 SHA512 cbfc980b3bc300a36e4c11e7b59b06ec85a36930ae8a95e7f05e69747da4ee0425a5b684c1e22e0e40c534ff1e2dedee1f99d8e60af2e8d71a1daa68115132c2 DIST contourpy-1.1.1.gh.tar.gz 13417093 BLAKE2B 217b99a1000575d362ca60327f39d39fd5f241f1e0f94ac3f049e2bf195388424f10bfd33c2a007da32eb939c1a04e96942ce0092c091533166c54da906b68af SHA512 7d135f18fa28ecd5d6c715650fc5672291c6f46e96cfcf8d2571c401d5bae0d27fa6a2e9f80e4f735af3016c7ced92552f26e8c5519e725e1bf6fe54c7603a03 DIST contourpy-1.2.0.gh.tar.gz 13440145 BLAKE2B c8082f69c3c8ad2b9a2d7a8e68941f1b741b0527161df371b501a32b8f0572a012aa2184b9f3ea943f45143f218f910180e31371683826d2b9b9431537c72cbd SHA512 91084ca659f796fb49f34840fb08a1a8f2a78ce8264668f5729550b1c46f316933c1d76ed87797bf58a059f0cf63e6efc58c92e44c57787fc8ad1ca16a21aa6e EBUILD contourpy-1.1.1.ebuild 1060 BLAKE2B 47d65894caf62c757a248827c707ce4c5542fd650d49c94bbe70bd2f0f0b0befcb67c4673bb0b29f5364a19975bd9e5ab6d2ed7f0630c4fadd4ed82bcc81cb3a SHA512 88032aaa6f108f938fdd4b10aca5caef5a214fd1a041cffc973b46dd37ec5cf3a3e3d6fd7351b4165a48989b2aad5e7b3f4db19b3ec829b39d4a9d3ab60a8419 -EBUILD contourpy-1.2.0.ebuild 1176 BLAKE2B 8ecfc663813c7bb0170243fdf3c8f33fa23ee4f39682341c4d8c4bccf4fd5e319592b51713b151ddc16221089bc60fd1c227d33fd34f11be279eb36cbb4091f1 SHA512 b13bf3bb8bd1f6b76fcb7abbf8ab4f39bdde2ce2cc49f2be15112809142bcc49b3e508d3fa7f0358f60e6de2c1e52e3a718847df99b303d88d02f867c5f66985 +EBUILD contourpy-1.2.0.ebuild 1274 BLAKE2B e1ccdd5c2f605e7cc4c67c499a3b52f5a6f0646f68d0dc074ee939fd4c6442b33878d4ac6a5089efadbff8a5ac7a2e9bd3b1aaa662b338f8f8c89c6da48a127a SHA512 1f3015f9618e114280a891a925a805901f6f4dfcd825914f59c214faf9f71eba167c5552ceb238c4f1ee12d1d462d0ebeb6ee62b0ad19c2663051815d9289fc6 MISC metadata.xml 372 BLAKE2B de3d6cc9d8727bf43be63fdbb8aa2ad375667d189019e189be262e39d028acab98a21e200798c2d5c5c72521aa7d38202e3e235dd44de9b43a7dc9e045d50c47 SHA512 e692f94d805d7f56fc895a4c76dfbacf2f068d687b9191482b946445baa3bd0a685eda7a1b0aec2aaf9a02e6f23d87f0bf22d90f42e3c21d930724c635ff859a diff --git a/dev-python/contourpy/contourpy-1.2.0.ebuild b/dev-python/contourpy/contourpy-1.2.0.ebuild index dd6add3e91a1..22e5a6586da3 100644 --- a/dev-python/contourpy/contourpy-1.2.0.ebuild +++ b/dev-python/contourpy/contourpy-1.2.0.ebuild @@ -42,6 +42,11 @@ DISTUTILS_ARGS=( distutils_enable_tests pytest +PATCHES=( + # https://github.com/contourpy/contourpy/pull/327 + "${FILESDIR}/${P}-unicore.patch" +) + python_test() { local EPYTEST_IGNORE=( # linters diff --git a/dev-python/contourpy/files/contourpy-1.2.0-unicore.patch b/dev-python/contourpy/files/contourpy-1.2.0-unicore.patch new file mode 100644 index 000000000000..c25a1807dcd4 --- /dev/null +++ b/dev-python/contourpy/files/contourpy-1.2.0-unicore.patch @@ -0,0 +1,83 @@ +From f948f821c705329a98bbcdcba5b642fe6c6f0b74 Mon Sep 17 00:00:00 2001 +From: matoro <matoro@users.noreply.github.com> +Date: Wed, 15 Nov 2023 02:18:49 -0500 +Subject: [PATCH] Support running tests on unicore hosts + +All tests pass except those explicitly asserting that they are on a +multicore system. Adds a conditional skip to those which are only +useful on multicore hosts. +--- + tests/test_filled.py | 7 +++++-- + tests/test_lines.py | 7 +++++-- + tests/test_misc.py | 8 +------- + 3 files changed, 11 insertions(+), 11 deletions(-) + +diff --git a/tests/test_filled.py b/tests/test_filled.py +index b239f3b..c41e0d1 100644 +--- a/tests/test_filled.py ++++ b/tests/test_filled.py +@@ -8,7 +8,7 @@ + from numpy.testing import assert_allclose, assert_array_equal + import pytest + +-from contourpy import FillType, contour_generator ++from contourpy import FillType, contour_generator, max_threads + from contourpy.util.data import random, simple + + from . import util_test +@@ -734,7 +734,10 @@ def assert_chunk_offsets(offsets_or_none: list[cpy.OffsetArray | None]) -> None: + @pytest.mark.threads + @pytest.mark.parametrize("fill_type", FillType.__members__.values()) + @pytest.mark.parametrize("name, thread_count", +- [("serial", 1), ("threaded", 1), ("threaded", 2)]) ++ [("serial", 1), ("threaded", 1), ++ pytest.param("threaded", 2, ++ marks = pytest.mark.skipif( ++ max_threads() <= 1, reason = "executing on unicore host"))]) + def test_return_by_fill_type_chunk( + xyz_chunk_test: tuple[cpy.CoordinateArray, ...], + name: str, +diff --git a/tests/test_lines.py b/tests/test_lines.py +index 9608591..0b0833b 100644 +--- a/tests/test_lines.py ++++ b/tests/test_lines.py +@@ -6,7 +6,7 @@ + from numpy.testing import assert_allclose, assert_array_equal + import pytest + +-from contourpy import LineType, contour_generator ++from contourpy import LineType, contour_generator, max_threads + from contourpy.util.data import random, simple + + from . import util_test +@@ -707,7 +707,10 @@ def test_return_by_line_type( + @pytest.mark.threads + @pytest.mark.parametrize("line_type", LineType.__members__.values()) + @pytest.mark.parametrize("name, thread_count", +- [("serial", 1), ("threaded", 1), ("threaded", 2)]) ++ [("serial", 1), ("threaded", 1), ++ pytest.param("threaded", 2, ++ marks = pytest.mark.skipif( ++ max_threads() <= 1, reason = "executing on unicore host"))]) + def test_return_by_line_type_chunk( + xyz_chunk_test: tuple[cpy.CoordinateArray, ...], + name: str, +diff --git a/tests/test_misc.py b/tests/test_misc.py +index 5e46e3f..acd558a 100644 +--- a/tests/test_misc.py ++++ b/tests/test_misc.py +@@ -2,13 +2,7 @@ + + import numpy as np + +-from contourpy import _remove_z_mask, contour_generator, max_threads +- +- +-def test_max_threads() -> None: +- n = max_threads() +- # Assume testing on machine with 2 or more cores. +- assert n > 1 ++from contourpy import _remove_z_mask, contour_generator + + + def test_nan() -> None: diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest index 5725cb9f75f0..9c8fc39040d9 100644 --- a/dev-python/fastjsonschema/Manifest +++ b/dev-python/fastjsonschema/Manifest @@ -1,3 +1,5 @@ DIST fastjsonschema-2.18.1.tar.gz 371060 BLAKE2B fc77683215e9080d3a6f162336a7ed55550a310c9921f0e669d90bfaea659dd77ad27ed0c623b0355d5efafa3ca2e83f72edf228c42cca0fc4fa16f4f474aa6b SHA512 a08fce64a67c67a06a7c3c637047648e1b2cfa749291794b8accc6dcc1ccf744eb50c8db773734017b79612b2dc4e19730a5956807b2459928fb0b996b59711e +DIST fastjsonschema-2.19.0.tar.gz 371202 BLAKE2B 56103ae94d52a337ceb830b7dfe68b3e1c3d5bdfbe46c8c042b5bc1a6d4e36201176a274135779cbf50a9ce939d95f5bd3c5bd88b7a6483db4cc438bff1d986a SHA512 d26c7f44acfeb4210fad188e3fe5486231a516fb0a4fa7d756dd9d1378b22afd7b4acb6b34085cabcfe31dac44a605de6f90a158a3af69de97f8926d59b3a105 EBUILD fastjsonschema-2.18.1.ebuild 563 BLAKE2B 132b93c04da9eaa4e9f79435043d737551067d241a78396e2f08d428d568442319990d653fae79caafc93dab41d5579da0a865a8fd9c8199040f0d6fb7e29494 SHA512 d081fe6f4a33c22e708641f86e8c651a257405b48d52fef2664dc6a339b515f7db1639232aa45330161bdf935269f2c793134ae6cefdd8e0db2571d9750098dc +EBUILD fastjsonschema-2.19.0.ebuild 571 BLAKE2B 86c6218edf87095ed229020476d82c86aaa779be4a013128d3dadf6832dd1e96a9628ada9fdd2e693442d5b2b178cb7976b6ed68bcd99036d28d147d18cf8643 SHA512 4de99c48a1a5c5ac1e238c3ed74dcb72ddef9c53b797f6ba5c4cb7881ee1010dcab516fd11af89e1af6c6e57f31c25142aa26c8cfcb7a35b24d2b1309c7034fe MISC metadata.xml 390 BLAKE2B d29071ddcb0aea8db343c2924de51e8fdbf9295898c687ca0f474e007007407c9a402cd2fa74f0f2142dfb2f14a2cfd0c51c05f5fad6891734328a003283821f SHA512 db3339aaba0218ebea0ea4cd5b950dbf74572b18341f595fbbbe1f67c0c9c23413f4a98aeec5b49b036533cfea46e8f2a74f5f999c3b4c472a66297346139b05 diff --git a/dev-python/fastjsonschema/fastjsonschema-2.19.0.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.19.0.ebuild new file mode 100644 index 000000000000..e1529c815ca6 --- /dev/null +++ b/dev-python/fastjsonschema/fastjsonschema-2.19.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2020-2023 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast JSON schema validator for Python" +HOMEPAGE=" + https://github.com/horejsek/python-fastjsonschema/ + https://pypi.org/project/fastjsonschema/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + tests/benchmarks +) diff --git a/dev-python/jsonschema-specifications/Manifest b/dev-python/jsonschema-specifications/Manifest index 4dfc01369847..987c00081057 100644 --- a/dev-python/jsonschema-specifications/Manifest +++ b/dev-python/jsonschema-specifications/Manifest @@ -1,3 +1,5 @@ +DIST jsonschema_specifications-2023.11.1.tar.gz 12935 BLAKE2B 317c6c937f0939ec59e25f2d84a6eea30ae4d8f14c4787e282dc9d6d4b74d84ab4985fde8f78f0cffa0fc61efe44493afe9d79182f4c02b0d6caff18f15dfd08 SHA512 a917226f5341c2a8913fa87a9640e1a5fdb34c857a8be1a0618db15cd09de0d45e82b294f759177de5fbe002f1ad9a04196c1c0976cc99ec685764b30e648b8d DIST jsonschema_specifications-2023.7.1.tar.gz 12689 BLAKE2B 421b0e94161c84c658a9af1ddef74fb98ca18332a2977e1ca983b04995bc0a65b3399edd4a2a52c741a4ffdbeeb4a0796371448f283ba328c72c1899f3f0b55a SHA512 78275fe6595151c611baeeebc17f08287f50a3636c3de515abfe8dc45075136874740dfa169aa3ebda004b5ead66ba93bc22b963ded14e4aa906e4b454356f7c +EBUILD jsonschema-specifications-2023.11.1.ebuild 667 BLAKE2B c407d3077a9b80d4eca3262f99290212d047216f9327dbc83502d88c2e8e31b7b3a25b900275c0a365e4daeb3e1e838add5bf53bff56a6862551c901a394520c SHA512 031e7704c3a5f289956e7ee1ee9729e58f407b9997f118362994c779b55c64a04af7ae9a2311c4f6abd80b7f1e8c3570adb4975e2b5c0bd5773435e68596844e EBUILD jsonschema-specifications-2023.7.1.ebuild 660 BLAKE2B e500e23d108ee01b93a40ac00287a6684671ea6604125f2003af7aa9fa8863478e4ff970069ae3ce876c444d92ada7d60369b798f47c38f943f8f276fb691f09 SHA512 704a07112e3c91aa3cea36621c10eac26627044098acb210090ec1343c85e16bf3382af19d3d02ad7f4e40d9236c70d6d8654e95e807e4ba939e2983fc0f8dbd MISC metadata.xml 414 BLAKE2B bc0046f51a008fe67f4937f8e9eb2663c868a41fed9371301575f74fb10c38f10b21a380d865981b317189f8c25e3ef6fe18423a169cda92b1d2b1a14dab8948 SHA512 e50f0eed8995fce7e207cb5c15106f3980ebb9c3d9d0042d33c4843be231f90aa652e59e1f83335f336d9b906a38252a229c1562f25142604048497608d29794 diff --git a/dev-python/jsonschema-specifications/jsonschema-specifications-2023.11.1.ebuild b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.11.1.ebuild new file mode 100644 index 000000000000..e6366d1acc50 --- /dev/null +++ b/dev-python/jsonschema-specifications/jsonschema-specifications-2023.11.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 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="The JSON Schema meta-schemas and vocabularies, exposed as a Registry" +HOMEPAGE=" + https://github.com/python-jsonschema/jsonschema-specifications/ + https://pypi.org/project/jsonschema-specifications/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/referencing-0.31.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 7f0b93efbbaa..2486f66f9f1f 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -2,5 +2,5 @@ AUX numpy-1.26.1-alpha.patch 973 BLAKE2B 5ee4565f83c37f5f1c9f3ad26b8616c93c5d047 DIST numpy-1.26.1.tar.gz 15651806 BLAKE2B 2b7fe13675b6f11b8f19c2dc671c84418fa959f403ff32c15ae6da37ae8137d062bb47db0180031c90f54451d69d640ec4ebfad0a4eefb32afc55df45c6824ab SHA512 abe5919029fc66961e8f44fdd503b54c291ce75b0d95e3f8bb61ee39a25d62142fbece5734fd7e9cbf65511f9d746fa61796f0d68e6dc2816c0e7747e286e505 DIST numpy-1.26.2.tar.gz 15664248 BLAKE2B 006e511e27c009f27bf4bf6c8c30c84a4bf0e8b1ff53f4e031089f28c1cfd168ec0d037952fe8f377f9a1d6e1ab642a84c095edeee5696b18053fd5cb7550586 SHA512 9986cd34dda921fbc152c3be0e39f003035787ea1e055452b9259d02c423d413080a0c7e4e19fd38d9e28f66d428719d6ebe784c24ae17249ff56494950daf4b EBUILD numpy-1.26.1.ebuild 4478 BLAKE2B 27adc1f7189f545eadf0070fa930b501c8785d61f3b952440da3d6046a6e1c83b7a30bc8ba2ea6d08452a83557fe5c8a8f7b084d5676355f202a26a4a1aa367c SHA512 d84e724ac604b56d04500f819db2c893d5c004a31b27d7c97c0c94455565bc09040fa652aa266f297587023260cd14e8bcc4ffb5db2e1c32b99174e769f69111 -EBUILD numpy-1.26.2.ebuild 4751 BLAKE2B 9f450dd166246db7f2caf8f5c3d9a6f145b085b200130b9607f830a5781b1e92521b8efd4b84703a05ff8f55741156b02c0122c32ba5ebaee9b5a867ae0ed92c SHA512 8ab5da3093d0188ae9d6d45edd6f474cc4d637a6d414c3803c5e87a2bae4e3d0299326020c810f99a94a37a8b662e3fc7c642c9e63b80ccd95c507800aa30bf2 +EBUILD numpy-1.26.2.ebuild 4754 BLAKE2B 8a4e0dd64899a18de6902b4ad17e66d7079991d0af7b10b46b01ba97797cf4e78d313dbc8dfcba2407db454823569e035696c2f178e43ede87be9a6266865131 SHA512 8106c48eea600b92f634aa364afa8fbfb25e9aecad55b4cf94900f3ac244da1d0053dff8cd70b68e0e37590ccfd9b7a385257ae6945923fd37ad89783e70b0d8 MISC metadata.xml 932 BLAKE2B 7a4af31f613bab05ff542da48bf6ff1484d9df2459f559516e71329451dd739d3df0fead507c8033d94ab9ed516b68efe7f21819a8cd6ca303643d8c8bc34e86 SHA512 32cb8c1ab61521a02cbec38f6ea383f074e50d46aa3462ddcb85710f9d348e8e628cf2a5725e3cd921cc32f02885a1b5f02125639f0ec885384eeeff7f468a06 diff --git a/dev-python/numpy/numpy-1.26.2.ebuild b/dev-python/numpy/numpy-1.26.2.ebuild index a8f371c9752f..d3278dffb1e5 100644 --- a/dev-python/numpy/numpy-1.26.2.ebuild +++ b/dev-python/numpy/numpy-1.26.2.ebuild @@ -95,7 +95,7 @@ python_test() { # flaky f2py/tests/test_crackfortran.py - f2py/tests/test_data.py::TestDataF77::test_crackedlines + f2py/tests/test_data.py::TestData{,F77}::test_crackedlines ) if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest index f16b1f7ebb58..ada17a23ba4d 100644 --- a/dev-python/oslo-i18n/Manifest +++ b/dev-python/oslo-i18n/Manifest @@ -1,4 +1,7 @@ AUX oslo-i18n-5.1.0-fix-py3.11.patch 1196 BLAKE2B 08d78934986b45d23095e73cd1f465c371372de3fe3f2681bd087a00556fda60b719a40471638423df109be55929c34602bdc589c256421bc89d5c2a0dfcbcfd SHA512 214f367932692c4910b4285df1c05ceb7389bdbf9821e6287df33c9a07e81990a00ce9514e6b53e9f562ae3647aa198247808a2e10f1a746ebdeff169b6c4749 +AUX oslo-i18n-6.2.0-test.patch 1413 BLAKE2B 9a4fd035cc9c9b286adc7a0d8642aae11d7db22f3f0707820975de21b6746c5d12b774f4ba2fe018e16b54dd771498d0cac3d9f3d1ef3e161b6bf78c6caa085d SHA512 86b98eccf476bfeb32cd5b38eae797f74a4359da5033db22299e0182a13dc08c985e91ede04513c77f555b925b1f977ce3ec99d31c7ab11a7595cda9aee97558 DIST oslo.i18n-6.1.0.tar.gz 48031 BLAKE2B da2a03eb382154be31dfc09636395cc5f1c816972e81829181b7745b5f35693069fbe68b6b6223d9188d08a0e1ba277a137290810da9aebf3af49a9b4f2069ea SHA512 6ac6a4c7ea5e43d57c04765f0b0ae90047042ead81c086aa3229d8ffe5402a836e82238f6689d6f6d1a503d8abf147605dc1aab8b8bb4d738e575fb7948fd7e3 +DIST oslo.i18n-6.2.0.tar.gz 48228 BLAKE2B bb65caff703e2bbc82f4fecd4b0d491f64ec7d863f848f8f79497df9471257dec25a77ad7f084c6d88ac14a4b1a1f44fd302297e1e13919e69ebaf27c5491d6f SHA512 725d814c7db35250e8ffe06c0021fc9147bcdaa300791f1d50b0eef2897abe609b415a12b6aa58d50925516fd9e6a1ad54e141f77e11856de3ab765b4e06939b EBUILD oslo-i18n-6.1.0.ebuild 761 BLAKE2B 7cab1ada992dc451adb90d773d7b1271ef061218cdd37cdc65efcb57892db868b690644f98ff35c2183ac3c9509d46a8f2e26a4edf047aa30d792b38e9bde4c4 SHA512 9df372087171183a8993cb59b949f78f7b7e6896c9503d6b138df1c1a44066a805e382a3d72acc1dd22f60d84a6a693ba648e236c8385a69001b0c7a6d180a4f +EBUILD oslo-i18n-6.2.0.ebuild 812 BLAKE2B 73157aa2079c0ed8d1bba391a82a0c8cdb80664aed97ad9b46bed0f3bd2918601e2540878fa938b1c79dbf0bdd7db21cddf25c22ec52f2290f399a42abc26edd SHA512 dbb085e8fe528208269bd89ec22370d27d911619b1e4c1c54f008f099eb80164d289d32434dccf6bf10b352b2f76ccd74acd550493e95cb4accdf66e729b74b9 MISC metadata.xml 665 BLAKE2B 8890b37ab4cb0fce66a2e6f8be6da304a0c28d75d203a4413d6c8062a984a52b4c6004145992d3e00dd156ffd64a2bbb6b75eba85954de9fabcd88d24e925cc6 SHA512 b4a5778815e857a638e0ca9c9d228e9c941f9b541d667c7e4fcf6ef4814c8b24cbf0c8d24317ffbc7e65e25326f5043a546f42b7982f355551d1b0d0351472b0 diff --git a/dev-python/oslo-i18n/files/oslo-i18n-6.2.0-test.patch b/dev-python/oslo-i18n/files/oslo-i18n-6.2.0-test.patch new file mode 100644 index 000000000000..6c3c19be0644 --- /dev/null +++ b/dev-python/oslo-i18n/files/oslo-i18n-6.2.0-test.patch @@ -0,0 +1,34 @@ +From 151fa09cf0248b2dfc8bb9e960e0383583985781 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Wed, 15 Nov 2023 09:16:21 +0100 +Subject: [PATCH] Fix leftover `locale.getdefaultlocale` mock +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Replace the remaining `locale.getdefaultlocale` mock with +`locale.getlocale`. 77a994a99385d33b1b2e626094cbd09fd0d85873 has +replaced the `locale.getdefaultlocale()` call and updated all other +mocks but this one remained, causing test failures on non-en_US locales. + +Closes-Bug: 2043539 +Change-Id: I5ab36a0ead05fa7a83fc1c64e440482f2cc8e675 +Signed-off-by: Michał Górny <mgorny@gentoo.org> +--- + oslo_i18n/fixture.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/oslo_i18n/fixture.py b/oslo_i18n/fixture.py +index 5c5fddc..7a69aff 100644 +--- a/oslo_i18n/fixture.py ++++ b/oslo_i18n/fixture.py +@@ -160,5 +160,5 @@ class PrefixLazyTranslation(fixtures.Fixture): + lambda *x, **y: self.languages)) + self.useFixture(fixtures.MonkeyPatch('gettext.translation', + _prefix_translations)) +- self.useFixture(fixtures.MonkeyPatch('locale.getdefaultlocale', ++ self.useFixture(fixtures.MonkeyPatch('locale.getlocale', + lambda *x, **y: self.locale)) +-- +2.42.1 + diff --git a/dev-python/oslo-i18n/oslo-i18n-6.2.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.2.0.ebuild new file mode 100644 index 000000000000..dfb65f41a2d8 --- /dev/null +++ b/dev-python/oslo-i18n/oslo-i18n-6.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Oslo i18n library" +HOMEPAGE=" + https://opendev.org/openstack/oslo.i18n/ + https://github.com/openstack/oslo.i18n/ + https://pypi.org/project/oslo.i18n/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +PATCHES=( + # https://review.opendev.org/c/openstack/oslo.i18n/+/901002 + "${FILESDIR}/${P}-test.patch" +) + +RDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index 562535989817..c3e88e471e2f 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1,3 +1,5 @@ DIST responses-0.23.3.tar.gz 73737 BLAKE2B e246dc09832f996b085f84b4b90d58709dc283a51e6de6f67a50096f1550b9e11f2e8f809043e366d7dc1140511bc9be16aeeaa5218da6fc05b1b60a1c924800 SHA512 334beb4a0cdabce2bedd1e336c4af04a38818b8b90c9d0ffbbf3445f72f8c57cc03278e832c6442f9ecfec24723c567bfba76ad25c45cf2924e42d5108c51c7a +DIST responses-0.24.1.tar.gz 77530 BLAKE2B 6f4482a0b7f7388506782286e35e716b4fcb746f6d562cba3e5b095163e380e0921f71f808c4729c2c6fb03c3efa1005ae6dbab9d3b61275af720b215b4e4181 SHA512 fd97f56055da4e31fc9866e4fdb7d68b2273cac25c6d882811268daf5f474d21897454b790122ed4c12e18032b9ae2c032b958402c6840b46ec38fdd7306033f EBUILD responses-0.23.3.ebuild 1250 BLAKE2B 873b806f579dbf4458f26ce8dfdf29e1c9f3f62d3ca3b74cc184a8a3b6064116302ae64cad01745770ca28c583da145c669253ca64bb02e381384d928cbc6059 SHA512 9ade379ddd52ed5cc726a0b5269c8938670b60fb3bfef4bb48255c21b508ae7a8d532ec0c9ab4d2718f39c9000b041e6c4ac693fc32819e1a82aa8b1748211a5 +EBUILD responses-0.24.1.ebuild 1174 BLAKE2B 1d83f8bd63604c731577c6df0535136d9a7d2110593398d6eb560b258c7a87ccbf74c11181254399aa7f9b8ca00b76b809bd1f8cbe9786c0ab271acf49aaebf1 SHA512 3b9aba1c88ff657a0357c56a5b8b4c22de33c3da8303daf2773ef4d56a1e1b7a4173cb27dfd3625af8ffd86b38e6cbce9ba36a83ef7578a4fad0d59d1a527dfa MISC metadata.xml 463 BLAKE2B 64d3c7be57863ae6088ce746fbfcc68a8eefc37c6d8fbe1bc6866d4c24ad18e75215158d89217d13f0e5b9db2e82d1aab86fa2ff664098239440bfd3fa3e7cd1 SHA512 546de31e1cde62b866673aedb4d3c1278213b36cc75fe86a8e759eaf16471cdefe91d6b0005b4ec4caf4316f8449717d672ede4181f1c1912f5647d50557eca9 diff --git a/dev-python/responses/responses-0.24.1.ebuild b/dev-python/responses/responses-0.24.1.ebuild new file mode 100644 index 000000000000..80fb7a77fc3d --- /dev/null +++ b/dev-python/responses/responses-0.24.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE=" + https://pypi.org/project/responses/ + https://github.com/getsentry/responses/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# tomli backend is optional now, with pyyaml being the new default. +# However, keeping it unconditional here for backwards compatibility. +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.30.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) + dev-python/tomli-w[${PYTHON_USEDEP}] + <dev-python/urllib3-3[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.10[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_httpserver +} diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index a203396e6fe5..c5b0983c17ac 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,5 +1,7 @@ DIST tomlkit-0.12.1.tar.gz 190535 BLAKE2B 461891b5f5dad93488d466560439e19865fcb315792418e24483c96f4c9387c67d9c322bcc4ba842861109ff3297e064cd38737769d97ad1f99dadd9c11f7b33 SHA512 1f82023cbb8168f847bfa0211ee5c4d6870973ee1f51f4b60deb34ae6e0e930fe299c939b6c157811d16a73c68225a468e8312ca2731e1bbdcc5541fde2e2360 DIST tomlkit-0.12.2.tar.gz 190725 BLAKE2B f168f42e99cbd8ed5d958ec471fc824d3a89f72d0d68b8881c5c935d888f1b0464e6ca34e65741a9de9d98c093a1e23073378006693bbd6c85870f368291760a SHA512 c36405e95ab42e1e728b4344dd71d183c2e8c174b3524d3337af2456e141f5a54fed82c1f613d5493efef50170f2985f74b1e5859790e865379fab7f90f03c65 +DIST tomlkit-0.12.3.tar.gz 190967 BLAKE2B 82205c8e012d4584c60ce8d53a995a01fccd50e35330b8aaecd84dd348b79be1ec7cd9bbaf84dbdbcd904102b7dc4216551298657553606d4da8457f565e8945 SHA512 f89b1fdcbefcd511bbc5e22a1cc57d8c4593fc1353e901de31c69ac99ed3c685f042d71205c747bd5d20df246dd19b5402393df81231f12d18414d85c0a0000c EBUILD tomlkit-0.12.1.ebuild 971 BLAKE2B 75e6cfba124a94757c2e10ca5ea406535393020a86d114771abc29569061954af6430963c94b4fec11f312d7ca5143ca5b4d3ee0ad2e1a47af41370473b99c11 SHA512 d8ed481c1fd001814da2a3ea0a400d4e9fddf2d7aa3ddb7cdb45410e90b6b793ba98a365296a9b5b67f3bc7f0dd0c6e2fa466d8d553ea623c958699a4af1f094 EBUILD tomlkit-0.12.2.ebuild 979 BLAKE2B 8bfd98336a91660b29f03e6d2d8fda98ef6085ec4c4994d5712c96b464a53d3e94ec505cb83df6eae9213e404e595ae0335de23dbd79b6d2e33f04c1e4875cf5 SHA512 53d1e9d302fc479da61aefedb6991b15ddf5f1545ad87bb7d0d6391825fbd644a44fda1bf8c902c410b03c1ac96f070251b0e89074c8fbed1c2451ea445f281c +EBUILD tomlkit-0.12.3.ebuild 979 BLAKE2B 8bfd98336a91660b29f03e6d2d8fda98ef6085ec4c4994d5712c96b464a53d3e94ec505cb83df6eae9213e404e595ae0335de23dbd79b6d2e33f04c1e4875cf5 SHA512 53d1e9d302fc479da61aefedb6991b15ddf5f1545ad87bb7d0d6391825fbd644a44fda1bf8c902c410b03c1ac96f070251b0e89074c8fbed1c2451ea445f281c MISC metadata.xml 525 BLAKE2B 663169c851817eb7368c49d678119f1f2dfebe642325d3dbc59498f60b452710a257ca5cd5173a4fc8391d33038cce079b3fba112ad7e9c0caf0c1872ee43f13 SHA512 5a6cf412fc06854557d001ae4a6f654b36d351c8c0b4bc08c1a7c40f49d8dceba931598f5eed6c75e1d7797570fcf8fb7799f5f035931f80d05b1e9bd0d258c0 diff --git a/dev-python/tomlkit/tomlkit-0.12.3.ebuild b/dev-python/tomlkit/tomlkit-0.12.3.ebuild new file mode 100644 index 000000000000..b8055655dd0a --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.12.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/sdispater/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF +} |