27 lines
766 B
Bash
27 lines
766 B
Bash
# Template file for 'python-pbr'
|
|
pkgname=python-pbr
|
|
version=5.4.3
|
|
revision=3
|
|
wrksrc="pbr-${version}"
|
|
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=2c8e420cd4ed4cec4e7999ee47409e876af575d4c35a45840d59e8b5f3155ab8
|
|
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*
|
|
}
|
|
}
|