28 lines
797 B
Text
28 lines
797 B
Text
# Template file for 'python-pbr'
|
|
pkgname=python-pbr
|
|
version=0.10.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="pbr-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python python-pip"
|
|
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/pbr/pbr-${version}.tar.gz"
|
|
checksum=52a61a863566fafa45507a9aa40e6c88edc1e09d96cde5f5a6aa3b4d26c913ce
|
|
|
|
python3.4-pbr_package() {
|
|
noarch=yes
|
|
depends="python3.4 python3.4-pip"
|
|
pycompile_version="3.4"
|
|
pycompile_module="pbr"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|