mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
python-pbr: split python3-pbr
This commit is contained in:
parent
a3363dbb8e
commit
a9afd6cbf0
3 changed files with 21 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=python-pbr
|
||||
version=5.6.0
|
||||
revision=2
|
||||
build_style=python-module
|
||||
build_style=python2-module
|
||||
pycompile_module="pbr"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
|
@ -14,13 +14,6 @@ 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*
|
||||
}
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/bin/pbr{,2}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
python-pbr
|
18
srcpkgs/python3-pbr/template
Normal file
18
srcpkgs/python3-pbr/template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'python3-pbr'
|
||||
pkgname=python3-pbr
|
||||
version=5.6.0
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Python3 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/pbr3"
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/bin/pbr{,3}
|
||||
}
|
Loading…
Add table
Reference in a new issue