28 lines
753 B
Text
28 lines
753 B
Text
# Template file for 'python-pbr'
|
|
pkgname=python-pbr
|
|
version=0.10.2
|
|
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-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="${PYPI_SITE}/p/pbr/pbr-${version}.tar.gz"
|
|
checksum=f16f31839b293b3cf48ed3b34768b647743c3435e218c90d59ca9d1d27455bf8
|
|
|
|
python3.4-pbr_package() {
|
|
noarch=yes
|
|
depends="python3.4-pip"
|
|
pycompile_version="3.4"
|
|
pycompile_module="pbr"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
}
|
|
}
|