2014-08-31 12:39:53 +02:00
|
|
|
# Template file for 'python-polib'
|
|
|
|
pkgname=python-polib
|
2015-01-05 12:18:36 +01:00
|
|
|
version=1.0.6
|
2014-08-31 12:39:53 +02:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2014-11-28 17:50:17 +01:00
|
|
|
wrksrc="polib-${version}"
|
2014-08-31 12:39:53 +02:00
|
|
|
build_style=python-module
|
2014-11-28 17:50:17 +01:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2014-08-31 12:39:53 +02:00
|
|
|
depends="python"
|
2014-11-28 17:50:17 +01:00
|
|
|
pycompile_module="polib.py"
|
|
|
|
short_desc="Python2 library to manipulate gettext files"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-11-28 17:50:17 +01:00
|
|
|
homepage="http://bitbucket.org/izi/polib/"
|
2014-08-31 12:39:53 +02:00
|
|
|
license="MIT"
|
2014-11-28 17:50:17 +01:00
|
|
|
distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz"
|
2015-01-05 12:18:36 +01:00
|
|
|
checksum=20d2a0d589a692c11df549bd7cda83c665eef2a83e017b843fecdf956edbad74
|
2014-11-28 17:50:17 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|