ayaports/backports/py3-fuzzywuzzy/APKBUILD

33 lines
915 B
Text
Raw Normal View History

2021-11-30 21:44:44 +00:00
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-fuzzywuzzy
_pyname=fuzzywuzzy
pkgver=0.18.0
pkgrel=5
2021-11-30 21:44:44 +00:00
pkgdesc="Fuzzy string matching in python"
url="https://github.com/seatgeek/fuzzywuzzy"
2023-11-24 18:27:21 +00:00
arch="noarch"
2021-11-30 21:44:44 +00:00
license="GPL-2.0-only"
depends="python3 py3-levenshtein"
2021-11-30 21:44:44 +00:00
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pycodestyle py3-hypothesis"
subpackages="$pkgname-pyc"
2021-11-30 21:44:44 +00:00
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" pytest -v
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
2021-11-30 21:44:44 +00:00
}
sha512sums="
4a21ea67278fa525842d48fed8db666d00eae6d13254e8844d11f63b47c3a305b3cac760f28c24c6347aebcf73e96180e0a7cfba29c75f01ece2f7751e0398c5 fuzzywuzzy-0.18.0.tar.gz
"