diff options
Diffstat (limited to 'dev-python')
19 files changed, 211 insertions, 49 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 97f79732b0ec..08ec48ae421a 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/jarowinkler/Manifest b/dev-python/jarowinkler/Manifest index 03d430929f9a..f166384ebd35 100644 --- a/dev-python/jarowinkler/Manifest +++ b/dev-python/jarowinkler/Manifest @@ -1,3 +1,3 @@ DIST jarowinkler-1.2.1.tar.gz 85696 BLAKE2B 4e9c4dd4160a80fa600ae57c7cc97abd794bb0a49881137ed3f69c03549268bbf71dc410b86f8bd782b92df4eac63738ebd32dd716d682a0ce8aaaf039a38f61 SHA512 1337a5f67e54a0c0990dde7fc631c263b63c64c7dbefae82579842a639a85ea7214185489d56b6e2be5a6362773fbaea29a958f62dbfa270beefba516c325654 -EBUILD jarowinkler-1.2.1.ebuild 419 BLAKE2B 7063c9bbd412368b7bf992d6760032e4d02273f2776aedefc39d6b2aba37974f4625b43ac8b1938a64a1a5850d1dc9dd32fa7e701f37da48881d5eaae915a75a SHA512 e3f9682bd5c0774fd8a48a22637f9e041f4fe8f1f8913d99f5e16e1eea549f2d87eb1c0921e7d11d73fed53f13eb97bf8cf9b462dec995227ada31c16aa5a5c9 -MISC metadata.xml 217 BLAKE2B f8189b02494f180dac078dcd5c275d3c795f20f360f8b172c66065a2d937e396b24b8631bba4cd8567d60285ce89fc77b9539f2233bf33899c820613c48c33ba SHA512 f0c9e5b3d281fecd21b1e23a6f44c94c1c0b3220de46a177d35932111b7f1ab4399061c42833ac1ee9bd0324b139fc8db66e0d2890224d607bd3be38ae469be9 +EBUILD jarowinkler-1.2.1.ebuild 813 BLAKE2B 897d354dba6889e38ad14d68c23b5396f58188651998c7def84b530702e549f3c4aac97273e246f47973bcfa2226f93ef2a2e49949f6c10307adb56c1a466c5d SHA512 684e08ca81311c12cd3c9d5ec9943cc15b426ac3e2a4306e13213580215287d56ee05c56730d95f6688505212476b37219aa7bc6a73b1ecfe57c997467261a7e +MISC metadata.xml 378 BLAKE2B cab755442b4916aff192b1510608c613e7b9e71258c5fa5d4beeee509384d83ebb798b4149db2458b7449942502c9bb45bd286a252fb9501251f92334f8b70c9 SHA512 334c4fe6aa31d180a227c828ffda309a9c1892eca69f414f5e6dbb8ba33a496e319701e3c8c72e955c0a1401b8e9d49bf44702537447282e683789138e170ba1 diff --git a/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild b/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild index 47752e66cc05..3aaf6a9b002b 100644 --- a/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild +++ b/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild @@ -1,17 +1,39 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) + +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 -DESCRIPTION="String matching in Python using various string metrics" -HOMEPAGE="https://github.com/maxbachmann/JaroWinkler" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +DESCRIPTION="Fast fuzzy string matching using Jaro and Jaro-Winkler similarity" +HOMEPAGE=" + https://github.com/maxbachmann/JaroWinkler/ + https://pypi.org/project/jarowinkler/ +" +SRC_URI=" + mirror://pypi/${PN::1}/${PN}/${P}.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -distutils_enable_tests setup.py +DEPEND=" + dev-cpp/jarowinkler-cpp +" +BDEPEND=" + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export JAROWINKLER_BUILD_EXTENSION=1 diff --git a/dev-python/jarowinkler/metadata.xml b/dev-python/jarowinkler/metadata.xml index 572c7daf2ccf..8e8cec6dbf6f 100644 --- a/dev-python/jarowinkler/metadata.xml +++ b/dev-python/jarowinkler/metadata.xml @@ -1,7 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>pacho@gentoo.org</email> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> + <upstream> + <remote-id type="github">maxbachmann/JaroWinkler</remote-id> + <remote-id type="pypi">jarowinkler</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/pendulum/Manifest b/dev-python/pendulum/Manifest index 65dd6f2f32ac..ae9a22038a64 100644 --- a/dev-python/pendulum/Manifest +++ b/dev-python/pendulum/Manifest @@ -1,3 +1,3 @@ -DIST pendulum-2.1.2.tar.gz 159885 BLAKE2B c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738 SHA512 c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2 -EBUILD pendulum-2.1.2-r1.ebuild 763 BLAKE2B 73f364e9cac88250bbfe2bde5d66d0b3dbad909d82e5915659bb08ce3740e3429c39afb5e9aceb59b90a0cc2d213caa9d5176e7864a4f8cde2d7dcc1ac1793ef SHA512 6ebfeb1132d9978f70a1070a5adeb1077f185019e0509349dc39741639df01ee1669748ee08560aaf84aaac6e78db7149f04a8a284f4bac23e2f8865b797e1df +DIST pendulum-2.1.2.gh.tar.gz 159885 BLAKE2B c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738 SHA512 c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2 +EBUILD pendulum-2.1.2-r2.ebuild 805 BLAKE2B 86286f59300cf275049b6c001b6eb7a47f6365f5fa1f5ba8644614361176dff3fabfcae91602396f59b847b9a9d1063ef2df0cb9f1edddaecadc087dd9676ab7 SHA512 ea465f79250be6b91b1341e0d7d66b851802bdd53f2457d265f4f7fac76905639094aa52413d601b5b7a5ba29b99e80ed2ec66622e49c4ee53dc1de349360e19 MISC metadata.xml 414 BLAKE2B 5f77b163192f5fd8ec655fe630948c160f8e31017cc78527fa379b7e6afab44fe51ed6b0acf2188d82cc4804f6377872646076e3bfb3362e4a5a46ca62acb058 SHA512 32aa44b3f154c7bf634244963e28d196fc629ba2415bd60ed66339a664075a0db8c31f093f13ac268b551d260e6c05220eceacff8d0f784b52e1fa62e71cacaf diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 602bea9a4764..8ed0456d4293 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -3,13 +3,21 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{8..10} ) + inherit distutils-r1 DESCRIPTION="Drop-in replacement for the standard datetime class" -HOMEPAGE="https://pendulum.eustace.io/ https://github.com/sdispater/pendulum" -SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://pendulum.eustace.io/ + https://github.com/sdispater/pendulum/ + https://pypi.org/project/pendulum/ +" +SRC_URI=" + https://github.com/sdispater/pendulum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -19,12 +27,15 @@ DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/pytzdata[${PYTHON_USEDEP}] " -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} +" BDEPEND=" test? ( dev-python/Babel[${PYTHON_USEDEP}] dev-python/freezegun[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest diff --git a/dev-python/pytzdata/Manifest b/dev-python/pytzdata/Manifest index 5e1f5d050f13..a8e9306ec2b2 100644 --- a/dev-python/pytzdata/Manifest +++ b/dev-python/pytzdata/Manifest @@ -1,4 +1,4 @@ AUX pytzdata-2020.1-system-zoneinfo.patch 3482 BLAKE2B 26c62593303e02d4037aba6e7b4ec7645610f3e73eadef9fcf483db5567e31d407efe92859d4157e672ce9683d135c2fcf2e63d427898d8bab1b0ead8db09299 SHA512 707afdd4bff5fb70f3bc4e20c88a1962f3fd56c15b3ff3e5896446d1eff55aaceefd53509fef1b4941d797e2c2aea41b72a87276fa64e562ad71609fa717a78e -DIST pytzdata-2020.1.tar.gz 249045 BLAKE2B 6f07a7577edc87030fd70e720b32146e9044a8c6f74d0bafb9239ad666d0d6fd0ac7c3cca070914701af301b1a3368ace2985f8169b9747937fa6ed066be7302 SHA512 fd154bfbe90ce07a90f769063b772234036d2627c1e6d78a465d9ddbc894e50cb9d821c04ebff1a7cc6a327266f7843fe54e5592d37c41db023329d6e0f668c2 -EBUILD pytzdata-2020.1-r1.ebuild 597 BLAKE2B 95aff29b6e118ea5d7b4b01258ed43e16077768beabe3852253218d2ecedf353674a1acf8fe48560088ac61028645bd3e76092e8a962fef3ca18152e6bef8b65 SHA512 792134adf5178151260f68bc4469a2ea45472d7007ea41cf452e81dc9b857b42a90e67150409120e0a683a066853e094e1a6377953c53224781b8d696d7c06a1 +DIST pytzdata-2020.1.gh.tar.gz 249045 BLAKE2B 6f07a7577edc87030fd70e720b32146e9044a8c6f74d0bafb9239ad666d0d6fd0ac7c3cca070914701af301b1a3368ace2985f8169b9747937fa6ed066be7302 SHA512 fd154bfbe90ce07a90f769063b772234036d2627c1e6d78a465d9ddbc894e50cb9d821c04ebff1a7cc6a327266f7843fe54e5592d37c41db023329d6e0f668c2 +EBUILD pytzdata-2020.1-r2.ebuild 637 BLAKE2B 71a4cbcf1a12837e8a9c3a197ab855e689015784be36d54910c4a7e258bcee6adebb0e38c5c5041144700f90b9038e044872dd3b5f56cad98aaf85e68d95ad26 SHA512 05755f3f15467684cd75f21a30c2d90f52af8c5184b506ad3a9af5a4734cd01213258df3e3f6f8b970c7b2c2cf7daddaccd016aa4f378c73d4c9aa043c99e88d MISC metadata.xml 414 BLAKE2B 4b6e7f935a42ed815b92d7fec75b4db6fd3fa46386b5055462bb317bb6ac8526e3a965c803d6e207382ec396bc132d514ef083af91c9ac45ad2eaf67998b0b9e SHA512 80c0e415716770a0f18bd237e9039f72bdab0056c11e98ad2359431b14d0b239ae7a88840d774aa6d3b390fbc86bcf30e42a4981e52acda8e99666219982f445 diff --git a/dev-python/pytzdata/pytzdata-2020.1-r1.ebuild b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild index 56781a4e3dd0..b6682c88963b 100644 --- a/dev-python/pytzdata/pytzdata-2020.1-r1.ebuild +++ b/dev-python/pytzdata/pytzdata-2020.1-r2.ebuild @@ -3,19 +3,28 @@ EAPI=8 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{8..10} ) + inherit distutils-r1 DESCRIPTION="The Olson timezone database for Python" -HOMEPAGE="https://github.com/sdispater/pytzdata" -SRC_URI="https://github.com/sdispater/pytzdata/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://github.com/sdispater/pytzdata/ + https://pypi.org/project/pytzdata/ +" +SRC_URI=" + https://github.com/sdispater/pytzdata/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" -RDEPEND="dev-python/cleo[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/cleo[${PYTHON_USEDEP}] +" distutils_enable_tests pytest diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 67a6178a7fc4..623547bf1b7d 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,3 +1,4 @@ +AUX rapidfuzz-2.9.0-test-pandas.patch 1153 BLAKE2B a4f707ed63fc73199c29e9b9f63d9e02a4eb2b4ebefe3a40b72ce4133221f19f0b0b0eed59f07fa15996bda16a826df042eed3399681ed3efe7dde63bb3aaceb SHA512 1bf18ba7fad414c31a254429b47a2a2ac84fb63a7f3898f376bff4396dd1c6fba0eb8c408b735e869f8cd34e9fedaec37056171408a5904f272cb5147dd20b5e DIST rapidfuzz-2.9.0.tar.gz 780939 BLAKE2B c43dfd89d18dc1f5b4738930f1d0d9c4956f66479217b4400844b50636e2b0bb13f15d8b9a6edc0ce30fc943f35a44dad802ecf90107556ed2dee7f70fcc16ac SHA512 b8f83cc35e84a4ed95e2086eb7bfbc6e7e2e25a05accc965092b8b51012c79e86e2af15397577bb91aadfa9a257a62d6f3d6bb9bf928a9c767d53468904a12be -EBUILD rapidfuzz-2.9.0.ebuild 529 BLAKE2B 6cded32992abdbfe9d50d1497ed654af473eb9edf46653276896d8e4454d4e14bd93cede44337c62066b9414b6ac8545326b3c44382d4b429f196996198f8d0f SHA512 6bdcf73f21d54da39940ae7f6d45fdb9d724e33f27a26996084d35b7511b8931ff00d4d5a166908459fa0ad29550a7bd88ed52f428112e38152cdbb37d75d623 -MISC metadata.xml 217 BLAKE2B f8189b02494f180dac078dcd5c275d3c795f20f360f8b172c66065a2d937e396b24b8631bba4cd8567d60285ce89fc77b9539f2233bf33899c820613c48c33ba SHA512 f0c9e5b3d281fecd21b1e23a6f44c94c1c0b3220de46a177d35932111b7f1ab4399061c42833ac1ee9bd0324b139fc8db66e0d2890224d607bd3be38ae469be9 +EBUILD rapidfuzz-2.9.0.ebuild 1001 BLAKE2B 7cc7a0f50c4b2daac35dd56bf79eeccd7e008a078c59a8602a833c9a9444488248008368a9a12290d40d3ccbac15b6d9a7518ce438b24e87cf11c16aa305f692 SHA512 402e8462fe135782d7e1090c5baff84b1a42688fb1a154781f99dcc25fc78df79533c7a84afa60731ed7f5b2859b4adacf388c4e5838105f265594d236fbf68f +MISC metadata.xml 374 BLAKE2B e6ee89a9850276b8c22c9bc851ebea2cde2ea696d122d70c6465e09a9371c59f81d1976b3253e8ee90afae5e3e30e993481b402058bac0c58ec01f71a0b7c3b4 SHA512 9a39c4bcf8e8de0a6d6a356a9aeb415f8f49667caf5716eee50bf251f1fd53bb076e817fac0b15bf64e65c1b9625c78810da61a5d96b273a20b2669a18084d6e diff --git a/dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch b/dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch new file mode 100644 index 000000000000..fa73c8f3ef3b --- /dev/null +++ b/dev-python/rapidfuzz/files/rapidfuzz-2.9.0-test-pandas.patch @@ -0,0 +1,35 @@ +From 1df09fb54c466efddfc62ed630fddd5fb34cab3f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sun, 18 Sep 2022 15:37:39 +0200 +Subject: [PATCH] tests: handle missing pandas gracefully + +Pandas is not yet ready for Python 3.11. Use pytest.importorskip() +to skip that one regression test that requires it when it's not +available to unblock rapidfuzz on py3.11 on Gentoo. +--- + tests/test_process.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_process.py b/tests/test_process.py +index ca5afee..b786d2d 100644 +--- a/tests/test_process.py ++++ b/tests/test_process.py +@@ -5,7 +5,6 @@ import unittest + import pytest + + from rapidfuzz import process_py, process_cpp, fuzz +-import pandas as pd + + + class process: +@@ -298,6 +297,7 @@ class ProcessTest(unittest.TestCase): + + def testIssue81(self): + # this mostly tests whether this segfaults due to incorrect ref counting ++ pd = pytest.importorskip("pandas") + choices = pd.Series( + ["test color brightness", "test lemon", "test lavender"], + index=[67478, 67479, 67480], +-- +2.37.3 + diff --git a/dev-python/rapidfuzz/metadata.xml b/dev-python/rapidfuzz/metadata.xml index 572c7daf2ccf..91cac0023d89 100644 --- a/dev-python/rapidfuzz/metadata.xml +++ b/dev-python/rapidfuzz/metadata.xml @@ -1,7 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>pacho@gentoo.org</email> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> </maintainer> + <upstream> + <remote-id type="github">maxbachmann/RapidFuzz</remote-id> + <remote-id type="pypi">rapidfuzz</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/rapidfuzz/rapidfuzz-2.9.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.9.0.ebuild index 22ed8a87143e..d61dc5c429e4 100644 --- a/dev-python/rapidfuzz/rapidfuzz-2.9.0.ebuild +++ b/dev-python/rapidfuzz/rapidfuzz-2.9.0.ebuild @@ -1,22 +1,47 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) + +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 -DESCRIPTION="String matching in Python using various string metrics" -HOMEPAGE="https://github.com/maxbachmann/rapidfuzz" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/maxbachmann/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" +SRC_URI=" + mirror://pypi/${PN::1}/${PN}/${P}.tar.gz +" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +RDEPEND=" + <dev-python/jarowinkler-2[${PYTHON_USEDEP}] +" +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/jarowinkler-cpp-1.0.0 + >=dev-cpp/rapidfuzz-cpp-1.0.1 + dev-python/numpy[${PYTHON_USEDEP}] +" BDEPEND=" - >=dev-python/jarowinkler-1.2.0[${PYTHON_USEDEP}] + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] " -RESTRICT="test" # Tests need network connection -#distutils_enable_tests setup.py +distutils_enable_tests pytest + +export RAPIDFUZZ_BUILD_EXTENSION=1 + +PATCHES=( + "${FILESDIR}"/${P}-test-pandas.patch +) diff --git a/dev-python/rapidfuzz_capi/Manifest b/dev-python/rapidfuzz_capi/Manifest new file mode 100644 index 000000000000..5211743d9082 --- /dev/null +++ b/dev-python/rapidfuzz_capi/Manifest @@ -0,0 +1,3 @@ +DIST rapidfuzz_capi-1.0.5.gh.tar.gz 5908 BLAKE2B a5f3c27c2292800527f0e0558e0f25525c2865a6348fbbe36da8d5a96e5524c68154bfba8dbfc3c174f759dde14a95c64e47dd6669166beb035bd1126741569b SHA512 b62c6fdd0e5d0804f7c1ef6f6b5e007afd8439720071fbdf1440232c62925e794a6ae33774a33ef745ebbd4ef956a85d2bf60934a7d568d39d1e590467f26bcf +EBUILD rapidfuzz_capi-1.0.5.ebuild 515 BLAKE2B 18abe0ac4cf47616c8bc46f4a9b26f26764301a4378082884727f6c828f3f43d32c741c5a80c3953b2fd9c45dd3eec8f690cdf69293e96d8545b4abf3134900e SHA512 dc24ce1bbd8e262f8d6bbfa6dd91212c5008f3ee4a90b758bb1f49bb41ab575c042f42e19fa89183dfaec8d2281d1001178d428df43632e57ea568af99260464 +MISC metadata.xml 408 BLAKE2B ef5cb671e756eccc17d4bbbd4aa4c3fc0ac5931994750659ee9a6746bfbcbe5e3d283764749531fa2d7e46afc8eb14acc234f15f539ad0d1b7186b56ccff0a84 SHA512 fa723a5d815999bb2f0e12369aeb64726164adda4c89f2ed8b1136985f3843a9cb62a6250f7fea811e45c1ee1a3aae3d7911954955b8f32bda3af9f976bc6650 diff --git a/dev-python/rapidfuzz_capi/metadata.xml b/dev-python/rapidfuzz_capi/metadata.xml new file mode 100644 index 000000000000..43ddd18c41eb --- /dev/null +++ b/dev-python/rapidfuzz_capi/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <stabilize-allarches/> + <upstream> + <remote-id type="github">maxbachmann/rapidfuzz_capi</remote-id> + <remote-id type="pypi">rapidfuzz-capi</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/rapidfuzz_capi/rapidfuzz_capi-1.0.5.ebuild b/dev-python/rapidfuzz_capi/rapidfuzz_capi-1.0.5.ebuild new file mode 100644 index 000000000000..89c0f91f964c --- /dev/null +++ b/dev-python/rapidfuzz_capi/rapidfuzz_capi-1.0.5.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="C-API of RapidFuzz, which can be used to extend RapidFuzz" +HOMEPAGE=" + https://github.com/maxbachmann/rapidfuzz_capi/ + https://pypi.org/project/rapidfuzz-capi/ +" +SRC_URI=" + https://github.com/maxbachmann/rapidfuzz_capi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/simpleeval/Manifest b/dev-python/simpleeval/Manifest index e3668785d313..87351bf97ef8 100644 --- a/dev-python/simpleeval/Manifest +++ b/dev-python/simpleeval/Manifest @@ -1,3 +1,3 @@ DIST simpleeval-0.9.12.tar.gz 22693 BLAKE2B 6c0b08859df8b7b55970d0d2a96d2b58a98c9bf43efed4952c7f0220594b1aa531398e881b9fa41caf40d2bd8d5d2e615c4da724a2850ddc05f9bfbda52c8841 SHA512 9b00bfd13a7c7bd05c1c68c43dcd2b52abe0ea648d640780a05499c95ff96bb4366add1d92086ec7e840075fcbff692e133ddbf4c2b8497dd80e115c24367641 -EBUILD simpleeval-0.9.12.ebuild 451 BLAKE2B db904a3f3e2f3ec44966220cf2144956ffd421f9f1a9cbc7a943e347b33a45c679b187b28a2babb4b0a0c47aebdab1023e6e9d96cd791b3451ebcc8faa383d2c SHA512 59e34834f9e968172a3706447ad2679e696fd71e91fe3bc7a93e051d2d08b54a814398e7d8ce89fb18a54257c017e1b2e6e38cfadd826be0b010d852ce039742 +EBUILD simpleeval-0.9.12-r1.ebuild 492 BLAKE2B 21ca7c387b64e239d24bbd265c4593d8412b7ad6d5e1127ab5e386620820324a19e8dc44e59e89be6a495fb7fa6bbaa2c22c3ec62dc5bf264b1078a91b8f2c0f SHA512 1945b34bd333741c454f7d6e23383c31d039ab943b6ac76606c9b92cfa54dd3a2fc2d97e85b4573110bb42c46b5bda6dd23082eb87fa70903169b7a59bc05ba5 MISC metadata.xml 506 BLAKE2B 697e9acab14f80458e539abe119b70a47f4b97ff3e8e88cfc5b071a4403d80ed637976a2428512bcd6570ee37aad12cbf853b87988262548c09670c31dd7c970 SHA512 be74df1cba2c5c7684d767a229eed2f641747abee58f421ad437c33d40ebd55b360e7bee162a9464ea4443afc4de03c7dbc9c7db35c832f6cd531dcd151aa796 diff --git a/dev-python/simpleeval/simpleeval-0.9.12.ebuild b/dev-python/simpleeval/simpleeval-0.9.12-r1.ebuild index 3d8806ea1a9f..1d313bbbaa4d 100644 --- a/dev-python/simpleeval/simpleeval-0.9.12.ebuild +++ b/dev-python/simpleeval/simpleeval-0.9.12-r1.ebuild @@ -3,14 +3,17 @@ EAPI=8 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 DESCRIPTION="A simple, safe single expression evaluator library" -HOMEPAGE="https://github.com/danthedeckie/simpleeval" -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" +HOMEPAGE=" + https://github.com/danthedeckie/simpleeval/ + https://pypi.org/project/simpleeval/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/sphinxcontrib-github-alt/Manifest b/dev-python/sphinxcontrib-github-alt/Manifest index 7e741209015b..e96cbb43f985 100644 --- a/dev-python/sphinxcontrib-github-alt/Manifest +++ b/dev-python/sphinxcontrib-github-alt/Manifest @@ -1,3 +1,3 @@ -DIST sphinxcontrib-github-alt-1.2.tar.gz 3680 BLAKE2B afd5a20d073e58bcb657fbf100b28fab9d8cda2e1ae7e488dab42e8d4b12e4668185657673a56e9c410aa81cb65dbf4b706740511a8ed9d6c49482ea014c2fc0 SHA512 08f6738206232a5f37446ecac7b804178a57173efee58886623c7d2b43678c8acfd5a7527bacfe7c8f004fd531be9606f24a99c5665b78f97a5676398d2d2857 -EBUILD sphinxcontrib-github-alt-1.2-r1.ebuild 757 BLAKE2B 5cc25b663872cd2d74b8d25504ce9d7a0eec29b2ffb24fdefbcecec1937148d881fbc9e6bcddce9562c028fba87953c4ca7d874153e4da30ee2e274a76462abe SHA512 ebd737976cefa96e0d7015e0cc9d1b94f4fab0e2a6374fe3e162c675a9c5588bbeae603f040bef1114b88ba50ca228f07faf8387fbdc65f63220e00f6ffa6dbd +DIST sphinxcontrib_github_alt-1.2.gh.tar.gz 3680 BLAKE2B afd5a20d073e58bcb657fbf100b28fab9d8cda2e1ae7e488dab42e8d4b12e4668185657673a56e9c410aa81cb65dbf4b706740511a8ed9d6c49482ea014c2fc0 SHA512 08f6738206232a5f37446ecac7b804178a57173efee58886623c7d2b43678c8acfd5a7527bacfe7c8f004fd531be9606f24a99c5665b78f97a5676398d2d2857 +EBUILD sphinxcontrib-github-alt-1.2-r2.ebuild 822 BLAKE2B d7780641b8bbecc33526fc9accc19e6e913809cf1de91993aeed5f3e17d97cc460445367d48585ff74c2bc456899f6d8287960fc43d406b0d2bf3e73c16a37fe SHA512 48195125f3a2c2be2b7a6703d19f1efde3aaffd3862f68bd497950049a79e8a9e7e3796bfa5dee6fe50fa8ead95bbb1b1040a2e57be62f13613c843f5a15b3c4 MISC metadata.xml 437 BLAKE2B 74c212e371aeaf70f1ad5d4b4a2afb0cb6cb1f3ecd5f45934675d711e4b01a878656ad154f517bd4100663ec7da232443625c8dfb79a6b0779a00abce35528b1 SHA512 5fafca03639f467b05a5f7cf1ab5a019817b505504b3d4e4fbc711ddd0cd679f9416e5773f032760b089398e8518291d179e8146c405e5e189e9c26f0a2de642 diff --git a/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r1.ebuild b/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r2.ebuild index 9fe7b806baf5..6b653bee52cb 100644 --- a/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r1.ebuild +++ b/dev-python/sphinxcontrib-github-alt/sphinxcontrib-github-alt-1.2-r2.ebuild @@ -3,17 +3,22 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml +DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 -MY_PN="sphinxcontrib_github_alt" - +MY_P=sphinxcontrib_github_alt-${PV} DESCRIPTION="Link to GitHub issues, pull requests, commits and users from Sphinx docs" -HOMEPAGE="https://github.com/jupyter/sphinxcontrib_github_alt" -SRC_URI="https://github.com/jupyter/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" +HOMEPAGE=" + https://github.com/jupyter/sphinxcontrib_github_alt/ + https://pypi.org/project/sphinxcontrib_github_alt/ +" +SRC_URI=" + https://github.com/jupyter/sphinxcontrib_github_alt/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} LICENSE="BSD-2" SLOT="0" @@ -23,4 +28,6 @@ RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] !dev-python/sphinxcontrib_github_alt " -BDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}] +" |