summaryrefslogtreecommitdiff
path: root/dev-python/rapidfuzz
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/rapidfuzz')
-rw-r--r--dev-python/rapidfuzz/Manifest16
-rw-r--r--dev-python/rapidfuzz/metadata.xml2
-rw-r--r--dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild (renamed from dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild)27
-rw-r--r--dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild59
-rw-r--r--dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild (renamed from dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild)9
-rw-r--r--dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild (renamed from dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild)9
6 files changed, 89 insertions, 33 deletions
diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest
index 67ec6ad77d01..df5101b5042c 100644
--- a/dev-python/rapidfuzz/Manifest
+++ b/dev-python/rapidfuzz/Manifest
@@ -1,7 +1,9 @@
-DIST rapidfuzz-3.8.1.tar.gz 1592462 BLAKE2B 79062be1bdd2e5aa1c364f2426a8b3cb4fc03e44b7548e475abd60827821414ce4ebcbe90377c0d19eb2c8c741e2e171c73e4672fd8126bf99856ea095e9b85b SHA512 fbebdf804220841257075af51186cde5cf8b0ea71bc4ce208bc64853fd1b1aebf97bfb86d1db058c3fb72a60268e5297fe3691b042d52263c66f8da6ae37f90a
-DIST rapidfuzz-3.9.0.tar.gz 1591028 BLAKE2B 84b8e4572a596c291d6579cfdffd0d624e00ca1f93a38337ba6ad543d346fea0b9a636cd3814724073588b3cd2e61dea9b8c0527b1630f8f06ea6593537bbde6 SHA512 bfd0d399dc75c6654d5e66522a057298d3914f8b74955e873034b314926127971f1bf4ddca0c2c92e81ba5bae79caf249303b169805d48ef3d6c64fb706c9547
-DIST rapidfuzz-3.9.1.tar.gz 1595099 BLAKE2B 491eb1dd3ea64f361e15e6f828d162b383f2cbe068331c6001fb112966b599199870013bc2e10b5e8dfe1d7c6f676a6d577d9d43b6054874a3b721233d17ba77 SHA512 f8efcc271a823c957b2a00f78ab7bf37133a87027fcb75d9e24cf1629b776d3f970ebe4f596e6685013408637e2e2b3713680c7716e9adb505241b61decee18b
-EBUILD rapidfuzz-3.8.1.ebuild 1537 BLAKE2B e0bd309839f8cfff82184988ff50d0e5c06bf232770b6cdf4c2118688ba583119259ce7f86ca4a8f64a330db2cd15043f2556ed87dfc0fa4a6a8bd5f9ec0b24e SHA512 806ef90dbe55021782b8124c5dde122fd299c868ba27744b6dd1cda707f7137340f08a8ebc5cab9c66072c637526dde710ebf43a1043e5388e9b7b56d16e9a4b
-EBUILD rapidfuzz-3.9.0.ebuild 1538 BLAKE2B 6ca8184539287d5817edc7981e458e646c9b28071dfbe8e6b85db2a3b96442062d61c85da9fd3ec0c75553fd6769bb8f115d9259c6d7055fbedbae071e8896f3 SHA512 6c06eb404b2b8f931e773155f33c74cd0bcc5965a9b576ca6dc2d3e0ce9462d71f3451cfbec5d6a2a73519b50d7777ab15f3ca036ccc02323cc3b9a4ecb51b26
-EBUILD rapidfuzz-3.9.1.ebuild 1544 BLAKE2B 27dc0ffb0f0af8988899a34f0c151ef3a4c56630d50518533c668cdfd28399064e52cc27331cf4d600265e136d3e7860ec2a72d29f1881a76f64dcd0b64018de SHA512 1e97a9071b4c517cef15e0ed2efffaaf95cd5c8d15107775b3d120dfef8b8d09d9dc30ead8d35aa7194ce3e7f575bd323759bb3574dc755f18cc5cdf9cb59cab
-MISC metadata.xml 372 BLAKE2B 79ce98b986a4193ec72cfc1ef0a1e1970e2e6333da3dc0abdc24de4148932c4f81e68a4d85cedf308d79ee5fe61c1d2573889fe4f89025b7b4848caf4380596c SHA512 014b2de4c7eb3976799f76ca01c59585be12ff0718cb8378ce0aabf40113d8fd402e0a8ef26fd8924ee0840fa7e99677e5e31698180a0537a0627c464c29e34e
+DIST rapidfuzz-3.10.0.tar.gz 57942780 BLAKE2B 3510ef495e9eb2a158eae73526e109809a9487ce48a70189b0c6f25957e46a6a640f1d0f9ef00203ea7730a2ba2b1086db9faf20434c92afb6b7205057aa5c22 SHA512 88e92ac4bfd72288546265c4d3957ce672f314f08f39b11ba21c267b07797eec45315af788f94152a4704e0782df77fbcb40ef6773be7d3a5d3684fd7230e437
+DIST rapidfuzz-3.10.1.tar.gz 57982250 BLAKE2B 7b0c5f4a940b46bcc340eb8bf32cec3389b243368c36caa92e39e62f18c7ebb1f56d439bf8609825b4b64d743dc0ae041b4660b89cd03af0016944620ab99648 SHA512 f72a9ed6e3fd64640a877d50ab25c90d1969adfd93ff0029526a94ff1e62aa4fd8e9b4ce63ee8a5b37cfb68d2966051e76d78b26ef502a8c0b28fe5f462c8462
+DIST rapidfuzz-3.9.6.tar.gz 1596107 BLAKE2B e108320e05ad3ad194b1ffa05d5fddc5bb6080e73ecb031117a0552d5685734870af4a87503022fceadf3fd38b31e71f85c05483b4aaaf4a9d7358d4566699b4 SHA512 015b947dcfd12ee48c7592ac2fc204833d8aa8e43110dab12dff7650e9f309a9a2017d2faf89b3c154cead23d9dc7fc1658f0ff5d2f8b5b3c73b2c97f021c7d9
+DIST rapidfuzz-3.9.7.tar.gz 1596228 BLAKE2B ba3188748dc408cbe91718e890fd67e9ee47feacfe2b307038d7bfc6ffdb7aebb016b2276b591a1fd3a5c59df29a1b55a9555505f938638907d11deec9575f98 SHA512 b1a50f3ff0af044e0aa57a053bcefb3227dce2ed17b94ed82afe72203c6e858221c5ca955e4f190a0cb7adaeada11fab7fa5958e1c439deec60d96899207269d
+EBUILD rapidfuzz-3.10.0.ebuild 1429 BLAKE2B f233742a883aad3e1cc9c132a83a11d945268c0f802d4b1a747526e76e2c6aa9cdded42a9b4ffa1f213711a46613acc2aeac1118f6f83775c2769284945f93c1 SHA512 a19ca5b1fab9fc8c36fa75d0a9eede440e97d27e86604ac2d1deb2352df3b03938087f36f93ebc3818351bb7bdd00cac4aebf1bc6fcdca8b2bb69c5bc4d261de
+EBUILD rapidfuzz-3.10.1.ebuild 1435 BLAKE2B d0748e9c81bb4811ccba53c7935cdb61287c09ae3803bd833c5fc2e35d1e220be60013ec8892dd23257258c382f0d38a625dd4fe0c95e431984ed976470eb895 SHA512 61c98ae9a9fdcd34036dfea99a146a590f8f12792d46fb6e4a3ac2e21f530108d211f6bf6b55ac14c97086c8b7cadb07025f1f861779c4819ecab74b58dbdf2c
+EBUILD rapidfuzz-3.9.6.ebuild 1584 BLAKE2B a82d3c988cf3b83f5b1cd9955d3effa17723e49544c7f1b7aced89df52b62a0e0662f96c5b6c338209b60d669b429ac26c3793c700637b4bec23e6b5c71f4d36 SHA512 38b2451743ffb00568ee7fc3113573f74c56a3799a6941342cb8712c844f720ab62e870bb244d2dd5e91fb8f023928f1425ec9e52192df447f40278699a55574
+EBUILD rapidfuzz-3.9.7.ebuild 1586 BLAKE2B 96fd075fd2f43c1b62391d4a545ab6c667fb3ddfc5cdff0056f0ca9eb896aff59d52f3243ba82128f892b21e8daf9026d0660e6bd6efd8194056dc1317508015 SHA512 5956eb6f3a55d392cfbff6c829f6ff45f16c2330ba1d5b430623f1754b84682307290dcf4722a8ff1d2fb0434761bbc2d0bf87932015f44637a33490a7a9cec2
+MISC metadata.xml 372 BLAKE2B 813733515163b827652c103af137a7adb5c126ee46ad654306e35e958bd5e5d5f9711c388ac0731203b29b441f075cf23d5090388aa4bc454f824697d2c8302e SHA512 a3e13245f49647e164df0554168f45861556a931963776457fa64c0f690c76da302b8a32dadd145dc70887bc1b927f71b06db196ec2b15e89e3702208b85fa59
diff --git a/dev-python/rapidfuzz/metadata.xml b/dev-python/rapidfuzz/metadata.xml
index e69b40da9b2f..b9e1b20ae859 100644
--- a/dev-python/rapidfuzz/metadata.xml
+++ b/dev-python/rapidfuzz/metadata.xml
@@ -7,6 +7,6 @@
</maintainer>
<upstream>
<remote-id type="github">rapidfuzz/RapidFuzz</remote-id>
- <remote-id type="pypi">rapidfuzz</remote-id>
+ <remote-id type="pypi">RapidFuzz</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild
index 9bf96f9f14b7..c6d946fc7b35 100644
--- a/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild
+++ b/dev-python/rapidfuzz/rapidfuzz-3.10.0.ebuild
@@ -4,33 +4,30 @@
EAPI=8
DISTUTILS_EXT=1
-# custom wrapper over setuptools
-DISTUTILS_USE_PEP517=standalone
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+DISTUTILS_USE_PEP517=scikit-build-core
+PYPI_PN=RapidFuzz
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics"
HOMEPAGE="
https://github.com/rapidfuzz/RapidFuzz/
- https://pypi.org/project/rapidfuzz/
+ https://pypi.org/project/RapidFuzz/
"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
# all these are header-only libraries
DEPEND="
>=dev-cpp/taskflow-3.0.0
- >=dev-cpp/rapidfuzz-cpp-3.0.4
+ >=dev-cpp/rapidfuzz-cpp-3.0.5
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/cython-3[${PYTHON_USEDEP}]
- dev-python/rapidfuzz-capi[${PYTHON_USEDEP}]
- >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
)
@@ -46,20 +43,16 @@ src_prepare() {
rm -r extern || die
# force recythonization
find src -name '*.cxx' -delete || die
+ # do not require exact taskflow version
+ sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die
+ # https://github.com/scikit-build/scikit-build-core/issues/912
+ sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die
distutils-r1_src_prepare
export RAPIDFUZZ_BUILD_EXTENSION=1
}
-python_compile() {
- distutils-r1_python_compile
-
- # scikit-build is broken and reuses the same build
- # https://github.com/scikit-build/scikit-build/issues/633
- rm -r _skbuild || die
-}
-
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
diff --git a/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild
new file mode 100644
index 000000000000..e97d242a28e1
--- /dev/null
+++ b/dev-python/rapidfuzz/rapidfuzz-3.10.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=scikit-build-core
+PYPI_PN=RapidFuzz
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics"
+HOMEPAGE="
+ https://github.com/rapidfuzz/RapidFuzz/
+ https://pypi.org/project/RapidFuzz/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+# all these are header-only libraries
+DEPEND="
+ >=dev-cpp/taskflow-3.0.0
+ >=dev-cpp/rapidfuzz-cpp-3.1.1
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/cython-3[${PYTHON_USEDEP}]
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ # sterilize build flags
+ sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
+ # remove bundled libraries
+ rm -r extern || die
+ # force recythonization
+ find src -name '*.cxx' -delete || die
+ # do not require exact taskflow version
+ sed -i -e '/Taskflow/s:3\.8\.0::' CMakeLists.txt || die
+ # https://github.com/scikit-build/scikit-build-core/issues/912
+ sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die
+
+ distutils-r1_src_prepare
+
+ export RAPIDFUZZ_BUILD_EXTENSION=1
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}
diff --git a/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild
index 9605ba31909f..35a2e0c93f7e 100644
--- a/dev-python/rapidfuzz/rapidfuzz-3.8.1.ebuild
+++ b/dev-python/rapidfuzz/rapidfuzz-3.9.6.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
# custom wrapper over setuptools
DISTUTILS_USE_PEP517=standalone
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
@@ -18,17 +18,16 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
# all these are header-only libraries
DEPEND="
>=dev-cpp/taskflow-3.0.0
- >=dev-cpp/rapidfuzz-cpp-3.0.4
+ >=dev-cpp/rapidfuzz-cpp-3.0.5
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/cython-3[${PYTHON_USEDEP}]
- dev-python/rapidfuzz-capi[${PYTHON_USEDEP}]
>=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@@ -46,6 +45,8 @@ src_prepare() {
rm -r extern || die
# force recythonization
find src -name '*.cxx' -delete || die
+ # do not require exact taskflow version
+ sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die
distutils-r1_src_prepare
diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild
index 45785abbea64..54534f44e80f 100644
--- a/dev-python/rapidfuzz/rapidfuzz-3.9.0.ebuild
+++ b/dev-python/rapidfuzz/rapidfuzz-3.9.7.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
# custom wrapper over setuptools
DISTUTILS_USE_PEP517=standalone
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
inherit distutils-r1 pypi
@@ -18,17 +18,16 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
# all these are header-only libraries
DEPEND="
>=dev-cpp/taskflow-3.0.0
- >=dev-cpp/rapidfuzz-cpp-3.0.4
+ >=dev-cpp/rapidfuzz-cpp-3.0.5
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="
>=dev-python/cython-3[${PYTHON_USEDEP}]
- dev-python/rapidfuzz-capi[${PYTHON_USEDEP}]
>=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@@ -46,6 +45,8 @@ src_prepare() {
rm -r extern || die
# force recythonization
find src -name '*.cxx' -delete || die
+ # do not require exact taskflow version
+ sed -i -e '/Taskflow/s:3\.7\.0::' CMakeLists.txt || die
distutils-r1_src_prepare