void-packages/srcpkgs/python-polib/template

29 lines
779 B
Text
Raw Normal View History

2014-08-31 10:39:53 +00:00
# Template file for 'python-polib'
pkgname=python-polib
version=1.0.5
2014-08-31 10:39:53 +00:00
revision=1
noarch=yes
wrksrc="polib-${version}"
2014-08-31 10:39:53 +00:00
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
2014-08-31 10:39:53 +00:00
depends="python"
pycompile_module="polib.py"
short_desc="Python2 library to manipulate gettext files"
2014-08-31 10:39:53 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://bitbucket.org/izi/polib/"
2014-08-31 10:39:53 +00:00
license="MIT"
update_pkgname="polib"
distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz"
checksum=c44236823eb6227b2fab8bd9e56632a649e67a80211f85a4a2e3c85c65c8acd9
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
}
}