void-packages/srcpkgs/python-Unidecode/template
maxice8 6c18534598 python-Unidecode: update to 1.0.22.
Closes: #10513 [via git-merge-pr]
2018-01-07 20:54:33 +01:00

29 lines
911 B
Bash

# Template file for 'python-Unidecode'
pkgname=python-Unidecode
version=1.0.22
revision=1
noarch=yes
wrksrc="Unidecode-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
pycompile_module="unidecode"
short_desc="Python2 ASCII transliterations of Unicode text"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://pypi.python.org/pypi/Unidecode/"
license="GPL-2"
distfiles="${PYPI_SITE}/U/Unidecode/Unidecode-${version}.tar.gz"
checksum=8c33dd588e0c9bc22a76eaa0c715a5434851f726131bd44a6c26471746efabf5
alternatives="unidecode:unidecode:/usr/bin/unidecode2"
python3-Unidecode_package() {
noarch=yes
depends="python3-setuptools"
pycompile_module="unidecode"
short_desc="${short_desc/Python2/Python3}"
alternatives="unidecode:unidecode:/usr/bin/unidecode3"
pkg_install() {
vmove usr/bin/unidecode3
vmove usr/lib/python3*
}
}