25 lines
860 B
Text
25 lines
860 B
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-levenshtein
|
|
_pyname=python-Levenshtein
|
|
pkgver=0.12.2
|
|
pkgrel=2
|
|
pkgdesc="Python extension for computing string edit distances and similarities"
|
|
url="https://github.com/ztane/python-Levenshtein"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
options="!check" # no tests
|
|
depends="python3"
|
|
makedepends="py3-setuptools python3-dev"
|
|
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb python-Levenshtein-0.12.2.tar.gz"
|