summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-08-17 07:45:25 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-08-17 07:45:41 +0200
commitaa254cedd78b0208205675d1d7112ad55421cf70 (patch)
treebfc3cdfb965b6650d4800604a937a624d36b7a0e /dev-python/jellyfish
parentdev-python/fakeredis: add missing test dep on dev-db/redis (diff)
downloadgentoo-aa254cedd78b0208205675d1d7112ad55421cf70.tar.gz
gentoo-aa254cedd78b0208205675d1d7112ad55421cf70.tar.bz2
gentoo-aa254cedd78b0208205675d1d7112ad55421cf70.zip
dev-python/jellyfish: bump to 0.8.7
Package-Manager: Portage-3.0.20, 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.7.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/jellyfish/Manifest b/dev-python/jellyfish/Manifest
index c45d21d0222a..bf57f156c191 100644
--- a/dev-python/jellyfish/Manifest
+++ b/dev-python/jellyfish/Manifest
@@ -1,2 +1,3 @@
DIST jellyfish-0.8.2.tar.gz 134200 BLAKE2B f765047414e4c1de4588d51598583c49767dde07fe2b94cdb40674bf90f4af8b5b3fa59d0ddf1e0bae3793e531426ccc941dde3fbdaa25839dd13da8b19386c4 SHA512 c4cc2b22df37497ed1ee595f03ec10b7ffe6b8441accaea77ca1b6018df07d23bbe9f2ed72d0c3e06792d6e1229b7e56f77f1758396d83120236d018ce2328da
DIST jellyfish-0.8.4.tar.gz 137001 BLAKE2B 55ffa7b7b931bf5bd0a2bee9a378fac10212d757d0e28492aac989a836c14106d37591a63a048db16b22c11e3964ad08325fe759e9ac2841722ac491a075feea SHA512 301fed3d4ba7228738b85310272970d2c666dd120a92a61b9870918ca3778bfead2b83437aced7933459f60079efcde863425a4a86077e8a0182db7d6d6c92cf
+DIST jellyfish-0.8.7.tar.gz 134456 BLAKE2B d6e14de100ca0f992ef9e576748043c7e3acc4a2b27e8e5541d0979562d8b56b3275ee956f7bcb3c4a88de181e00fb26a64276bb7d037e7f98f80eb07ba14d17 SHA512 9543f9187879b7a4c26d58f4b3d17067265ad8742577bd7e33305967083dcce12dbc9d3e5ded3525463bb4ff5946d26868ed0408fb120fe26566e8a58f623683
diff --git a/dev-python/jellyfish/jellyfish-0.8.7.ebuild b/dev-python/jellyfish/jellyfish-0.8.7.ebuild
new file mode 100644
index 000000000000..837b3652da80
--- /dev/null
+++ b/dev-python/jellyfish/jellyfish-0.8.7.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
+}