013e10fbc7
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
33 lines
926 B
Bash
33 lines
926 B
Bash
# Template file for 'python-polib'
|
|
pkgname=python-polib
|
|
version=1.0.7
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="polib-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-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-polib_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="polib.py"
|
|
replaces="python3.4-polib>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|
|
python3.4-polib_package() {
|
|
noarch=yes
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-polib>=${version}_${revision}"
|
|
}
|