void-packages/srcpkgs/python-pbr/template

20 lines
575 B
Bash

# Template file for 'python-pbr'
pkgname=python-pbr
version=5.6.0
revision=2
build_style=python2-module
pycompile_module="pbr"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 build reasonableness"
maintainer="Orphaned <orphan@voidlinux.org>"
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"
post_install() {
mv ${DESTDIR}/usr/bin/pbr{,2}
}