27 lines
742 B
Bash
27 lines
742 B
Bash
# Template file for 'python-pbr'
|
|
pkgname=python-pbr
|
|
version=5.6.0
|
|
revision=2
|
|
build_style=python-module
|
|
pycompile_module="pbr"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Python2 build reasonableness"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://docs.openstack.org/developer/pbr/"
|
|
distfiles="${PYPI_SITE}/p/pbr/pbr-${version}.tar.gz"
|
|
checksum=42df03e7797b796625b1029c0400279c7c34fd7df24a7d7818a1abb5b38710dd
|
|
alternatives="pbr:pbr:/usr/bin/pbr2"
|
|
|
|
python3-pbr_package() {
|
|
depends="python3"
|
|
pycompile_module="pbr"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="pbr:pbr:/usr/bin/pbr3"
|
|
pkg_install() {
|
|
vmove usr/bin/pbr3
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|