void-packages/srcpkgs/python-Unidecode/template

30 lines
884 B
Plaintext

# Template file for 'python-Unidecode'
pkgname=python-Unidecode
version=0.04.16
revision=1
noarch=yes
wrksrc="Unidecode-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python>=2.7"
pycompile_module="unidecode"
short_desc="Python2 ASCII transliterations of Unicode text"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://pypi.python.org/pypi/Unidecode/"
license="GPL-2"
distfiles="https://pypi.python.org/packages/source/U/Unidecode/Unidecode-${version}.tar.gz"
checksum=4cd218737d1a807bbaba9a6534fc3c80d129cff76cf7d7fdbd71e744d836657b
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
}
}