diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-17 11:36:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-17 11:36:49 +0100 |
commit | e2db47eaae00ec33f8971db44b68645c5d3b9590 (patch) | |
tree | 3ec0cf16ddb5854017e134fabebe14bf8cb94a34 /dev-python/jellyfish/jellyfish-0.8.7.ebuild | |
parent | 616579b5d773c50af31ee56f00105d96ce641ca2 (diff) |
gentoo resync : 17.08.2021
Diffstat (limited to 'dev-python/jellyfish/jellyfish-0.8.7.ebuild')
-rw-r--r-- | dev-python/jellyfish/jellyfish-0.8.7.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
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 +} |