summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-10-27 09:27:46 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-10-27 09:27:57 +0200
commitade769cfd105783882eaaca3d56d26b76b77b8d8 (patch)
treef72bce678ac755308db04fa09daa6bc0b0db724a /dev-python/jellyfish
parentgames-strategy/warzone2100: add 4.2.0 (diff)
downloadgentoo-ade769cfd105783882eaaca3d56d26b76b77b8d8.tar.gz
gentoo-ade769cfd105783882eaaca3d56d26b76b77b8d8.tar.bz2
gentoo-ade769cfd105783882eaaca3d56d26b76b77b8d8.zip
dev-python/jellyfish: bump to 0.8.9
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-python/jellyfish')
-rw-r--r--dev-python/jellyfish/Manifest1
-rw-r--r--dev-python/jellyfish/jellyfish-0.8.9.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/jellyfish/Manifest b/dev-python/jellyfish/Manifest
index 351298c13df6..8a821d969373 100644
--- a/dev-python/jellyfish/Manifest
+++ b/dev-python/jellyfish/Manifest
@@ -1 +1,2 @@
DIST jellyfish-0.8.8.tar.gz 134461 BLAKE2B 29a4da13d248ab7916a4c9a6bd16da28bb9b4409bbc2e14660ac2a2bfad2563c7ddafb51c58968f5cac56c238de2786a5e1e64ee8d47cc668b0ab83e881b15f5 SHA512 d78f997a12ea2531e2621b3858f89a00c6c0620974a141fea6fdf6695860fa50ff4b5c21799de898944474563e6043e4d391448061501fbec078923dae21ae7c
+DIST jellyfish-0.8.9.tar.gz 137296 BLAKE2B 7f71f6e683021f3062c0ca529f3cd0488ab52cb9aea0d87766aa6b08d19d6b480f482a7385758ceba1a203247431d0362814f388f6a242f1ea928c32a385325f SHA512 d7d30573ebe552370a191eb755b4d27417e31eb66e7f57c2abb414e3d4075854a51f231c1d76001b7c0ff8b112a82dbe5e72be224425bd7a569a6b12455113d8
diff --git a/dev-python/jellyfish/jellyfish-0.8.9.ebuild b/dev-python/jellyfish/jellyfish-0.8.9.ebuild
new file mode 100644
index 000000000000..837b3652da80
--- /dev/null
+++ b/dev-python/jellyfish/jellyfish-0.8.9.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Python module for doing approximate and phonetic matching of strings"
+HOMEPAGE="https://github.com/jamesturk/jellyfish https://pypi.org/project/jellyfish/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/unicodecsv[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs --no-autodoc
+distutils_enable_tests pytest
+
+python_test() {
+ cp -r testdata "${BUILD_DIR}" || die
+ cd "${BUILD_DIR}" || die
+ epytest lib/jellyfish/test.py
+}