ayaports/user/py3-levenshtein/APKBUILD
2022-07-29 15:47:03 +00:00

22 lines
879 B
Text

# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Thomas S Hatch <thatch45@gmail.com>
# Contributor: shamrok <szamrok@gmail.com>
# Contributor: scj <scj archlinux us>
pkgname=py3-levenshtein
pkgver=0.12.0
pkgrel=0
pkgdesc="Python extension for computing string edit distances and similarities"
url="https://pypi.python.org/pypi/python-Levenshtein/"
license='GPL'
arch='x86_64'
depends='python3'
makedepends='py3-setuptools python3-dev'
source="https://files.pythonhosted.org/packages/source/p/python-Levenshtein/python-Levenshtein-$pkgver.tar.gz"
options=!check
package() {
cd $srcdir/python-Levenshtein-$pkgver
python3 setup.py build install -O1 --prefix=/usr --root="$pkgdir"
}
sha512sums="95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5 python-Levenshtein-0.12.0.tar.gz"