28 lines
859 B
Text
28 lines
859 B
Text
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
|
pkgname=py3-pylev
|
|
_realname=pylev
|
|
pkgver=1.4.0
|
|
pkgrel=0
|
|
pkgdesc="Pure Python3 Levenshtein implementation"
|
|
options="!check" # No tests on pypi, no tags on github
|
|
url="https://github.com/toastdriven/pylev"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_realname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
9e11c7b27bce4a12889173658be03549f39bc0a02e4d1b8e82d12a8f07376438a3d735befbd2d4da4a291eeacfd757fcb62ceb0d8557f34d0bf7041b228e404a pylev-1.4.0.tar.gz
|
|
"
|