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'
|
||||
pkgname=python-polib
|
||||
version=1.0.4
|
||||
version=1.0.5
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
wrksrc="polib-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="polib.py"
|
||||
hostmakedepends="python-devel"
|
||||
makedepends="python-devel"
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
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>"
|
||||
homepage="http://polib.readthedocs.org/en/latest/index.html"
|
||||
homepage="http://bitbucket.org/izi/polib/"
|
||||
license="MIT"
|
||||
update_pkgname="${pkgname#*-}"
|
||||
distfiles="https://bitbucket.org/izi/polib/downloads/polib-${version}.tar.gz"
|
||||
checksum=8b3276f75ce2fce9442e27db3ae63d842416e17f0e2095f39ff52dc735e5749a
|
||||
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
|
||||
}
|
||||
}
|
||||
|
1
srcpkgs/python3.4-polib
Symbolic link
1
srcpkgs/python3.4-polib
Symbolic link
@ -0,0 +1 @@
|
||||
python-polib
|
Loading…
x
Reference in New Issue
Block a user