New package: python-pbr-0.8.2 with 3.4 subpkg

Python build reasonableness.
This commit is contained in:
Alessio Sergi 2014-07-06 00:24:23 +02:00
parent ea0578ed83
commit 5e021fc2e9
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,29 @@
# Template file for 'python-pbr'
pkgname=python-pbr
version=0.8.2
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
python_versions="2.7 3.4"
build_style=python-module
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
pycompile_module="pbr"
short_desc="Python2 build reasonableness"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://pypi.python.org/pypi/pbr"
license="Apache-2.0"
distfiles="https://pypi.python.org/packages/source/p/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
checksum=eef2ace8d65d5902582cbc9ad3b2ecff0e86a6f90ad4837d8b17d568dd9dd20e
python3.4-pbr_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="pbr"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-pbr Symbolic link
View file

@ -0,0 +1 @@
python-pbr