27 lines
759 B
Bash
27 lines
759 B
Bash
# Template file for 'python-polib'
|
|
pkgname=python-polib
|
|
version=1.0.7
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="polib-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
pycompile_module="polib.py"
|
|
short_desc="Python2 library to manipulate gettext files"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://bitbucket.org/izi/polib/"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz"
|
|
checksum=43ce60d05ffa442ba9d3c5722193aadb93c38174b9fb471c8ea7ccbf8349bbca
|
|
|
|
python3.4-polib_package() {
|
|
depends="python3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="polib.py"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|