2013-03-06 10:02:10 +01:00
|
|
|
# Template file for 'python-Unidecode'
|
|
|
|
pkgname=python-Unidecode
|
2014-06-29 11:39:29 +02:00
|
|
|
version=0.04.16
|
2013-03-06 10:02:10 +01:00
|
|
|
revision=1
|
2014-06-29 11:39:29 +02:00
|
|
|
noarch=yes
|
2013-03-06 10:02:10 +01:00
|
|
|
wrksrc="Unidecode-${version}"
|
|
|
|
build_style=python-module
|
2014-06-29 11:39:29 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="python>=2.7"
|
2014-06-29 11:39:29 +02:00
|
|
|
pycompile_module="unidecode"
|
|
|
|
short_desc="Python2 ASCII transliterations of Unicode text"
|
2013-03-06 10:02:10 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-06-29 11:39:29 +02:00
|
|
|
homepage="https://pypi.python.org/pypi/Unidecode/"
|
|
|
|
license="GPL-2"
|
2013-08-03 23:19:50 +02:00
|
|
|
distfiles="https://pypi.python.org/packages/source/U/Unidecode/Unidecode-${version}.tar.gz"
|
2014-06-29 11:39:29 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|