summaryrefslogtreecommitdiff
path: root/dev-python/pyxDamerauLevenshtein
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
commit7f3fecbb5b871825fe9632f46659869cab6a3769 (patch)
treedd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /dev-python/pyxDamerauLevenshtein
parenta98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff)
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'dev-python/pyxDamerauLevenshtein')
-rw-r--r--dev-python/pyxDamerauLevenshtein/Manifest2
-rw-r--r--dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pyxDamerauLevenshtein/Manifest b/dev-python/pyxDamerauLevenshtein/Manifest
index 908b21f9d371..6b2caf09f9e1 100644
--- a/dev-python/pyxDamerauLevenshtein/Manifest
+++ b/dev-python/pyxDamerauLevenshtein/Manifest
@@ -1,3 +1,5 @@
DIST pyxDamerauLevenshtein-1.7.1.gh.tar.gz 43690 BLAKE2B 52950fa10667775828ee57ae9f68ea06bf8cf4e794c3cf27189fbc1affe877ee2537a5dfc3173a58a8b9ccfae664190e4eac250ddbc7cbeda748af033dd3fbbb SHA512 d16be05305ac8cdabecae90353e68cc51ac99ea88338fafe8379f6969434a9e3e3ac95ba58f71d15ccfcadfb3a9fbe30af563ec848e54115c64c83c69596e116
+DIST pyxDamerauLevenshtein-1.8.0.gh.tar.gz 9175 BLAKE2B 2c17ee794153071081cb463597a85d1428eb0620f4f30966a0deb257eb03efb34f95c45fc7d90a22bfd5034283ba7ba08ab1338278f0d81024e45d6ab8d19b05 SHA512 87429f8c106b31c024893313645d9f7af04f855c01009a461a59c506ac778be717c3052af47e9dce53a28c00ed4ee47347e975e9f8ccb50eb504c97b7d580206
EBUILD pyxDamerauLevenshtein-1.7.1.ebuild 808 BLAKE2B 89303a8afea0863370303ba51c299c5563a8b505a2434c1e07c4177ece52432de098c357193a63316ae382841e4b01b0100a2e0b560f6a2343d40c56b746747b SHA512 9f474828beaa727108320e5707b8689b9e8b90a5a294bd9aaed046d9c6e4e1419e761f1667e3a70ab9b9b915d25ee85c95e37daffcda8b119cc1bf3e3f55b8e1
+EBUILD pyxDamerauLevenshtein-1.8.0.ebuild 837 BLAKE2B e351158c42d34cae2254fbfaec4804bd729c105dba99b8eb77e97fcf52998d8cc8cb1704c64239f01512233767a068aa87f01b4618a643b87ce2eccc5646b493 SHA512 c42c3781e9bcc003804db0fd513876af98a8a807a99ecb5c23e00e2fc5f886dec8837eefa0bcf74b691521d9bdac6097da8a5a99428629c4e88698de8560dee0
MISC metadata.xml 391 BLAKE2B c4cb09d3d351d586dfd6b7636135e7cdcaf14dd019147641429c6179d703774e9ba757302abe813cf28473bbb0d978bb81788942e115c0fa2d667a4c7effd022 SHA512 beea80f190eeb9747d4d3c04b18cd342db11637232a36ebb593e10b2e6394863fbd2c5835e15065f8031804da9a7422ca1922cd316964b08d4d1d4f3e9c486a9
diff --git a/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild
new file mode 100644
index 000000000000..ba5134da1eae
--- /dev/null
+++ b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.8.0.ebuild
@@ -0,0 +1,41 @@
+# 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..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Implements the Damerau-Levenshtein edit distance algorithm for Python in Cython"
+HOMEPAGE="
+ https://github.com/lanl/pyxDamerauLevenshtein/
+ https://pypi.org/project/pyxDamerauLevenshtein/
+"
+SRC_URI="
+ https://github.com/lanl/pyxDamerauLevenshtein/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_configure() {
+ # recythonize
+ cd pyxdameraulevenshtein || die
+ cython -3 -f *.pyx || die
+}
+
+src_test() {
+ rm -r pyxdameraulevenshtein || die
+ distutils-r1_src_test
+}