30 lines
845 B
Text
30 lines
845 B
Text
|
# 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
|
||
|
}
|
||
|
}
|