void-packages/srcpkgs/python-Unidecode/template

28 lines
812 B
Bash

# Template file for 'python-Unidecode'
pkgname=python-Unidecode
version=0.04.17
revision=1
noarch=yes
wrksrc="Unidecode-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
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=f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef
python3.4-Unidecode_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="unidecode"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}