python-polib: update to 1.0.5; add python3.4 subpkg
This commit is contained in:
parent
cce5ca31c8
commit
5811f1a172
|
@ -1,18 +1,28 @@
|
||||||
# Template file for 'python-polib'
|
# Template file for 'python-polib'
|
||||||
pkgname=python-polib
|
pkgname=python-polib
|
||||||
version=1.0.4
|
version=1.0.5
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="polib-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="polib.py"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-devel"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
makedepends="python-devel"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="A python2 library to manipulate gettext files"
|
pycompile_module="polib.py"
|
||||||
|
short_desc="Python2 library to manipulate gettext files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://polib.readthedocs.org/en/latest/index.html"
|
homepage="http://bitbucket.org/izi/polib/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
update_pkgname="${pkgname#*-}"
|
update_pkgname="polib"
|
||||||
distfiles="https://bitbucket.org/izi/polib/downloads/polib-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz"
|
||||||
checksum=8b3276f75ce2fce9442e27db3ae63d842416e17f0e2095f39ff52dc735e5749a
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-polib
|
Loading…
Reference in New Issue