void-packages/srcpkgs/python-Levenshtein/template

23 lines
796 B
Bash
Raw Normal View History

2018-07-09 21:49:41 +02:00
# Template file for 'python-Levenshtein'
pkgname=python-Levenshtein
version=0.12.0
revision=1
build_style=python-module
pycompile_module="Levenshtein"
hostmakedepends="python-devel python3-devel python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Functions for computation of distance and string similarity (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2.0-or-later"
homepage="https://pypi.org/project/python-Levenshtein/"
distfiles="${PYPI_SITE}/p/python-Levenshtein/${pkgname}-${version}.tar.gz"
checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
python3-Levenshtein_package() {
short_desc="${short_desc/Python2/Python3}"
pycompile_module="Levenshtein"
pkg_install() {
vmove usr/lib/python3*
}
}