python-pbr: update to 0.10.7
This commit is contained in:
parent
0219953925
commit
bc11098e29
1 changed files with 10 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-pbr'
|
||||
pkgname=python-pbr
|
||||
version=0.10.5
|
||||
version=0.10.7
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="pbr-${version}"
|
||||
|
@ -13,32 +13,32 @@ 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=e956bf32f40f408e223824ad819e260ba68f40bc626c1dc07c181bc17bb8b696
|
||||
checksum=3219912992192c68d21885409ff853ab97b19559c6b5f9f76fd84f06b00f7a27
|
||||
|
||||
post_extract() {
|
||||
cp -a ${wrksrc} /tmp/python2.7-build
|
||||
cp -a ${wrksrc} /tmp/python3.4-build
|
||||
mv /tmp/python{2.7,3.4}-build ${wrksrc}
|
||||
cp -a ${wrksrc} /tmp/pbr-2.7
|
||||
cp -a ${wrksrc} /tmp/pbr-3.4
|
||||
mv /tmp/pbr-{2.7,3.4} ${wrksrc}
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
cd ${wrksrc}/python3.4-build
|
||||
cd ${wrksrc}/pbr-3.4
|
||||
sed -i 's,pbr =,pbr3 =,' setup.cfg
|
||||
}
|
||||
|
||||
do_build() {
|
||||
cd ${wrksrc}/python2.7-build
|
||||
cd ${wrksrc}/pbr-2.7
|
||||
python setup.py build
|
||||
|
||||
cd ${wrksrc}/python3.4-build
|
||||
cd ${wrksrc}/pbr-3.4
|
||||
python3.4 setup.py build
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${wrksrc}/python2.7-build
|
||||
cd ${wrksrc}/pbr-2.7
|
||||
python setup.py install --root=${DESTDIR}
|
||||
|
||||
cd ${wrksrc}/python3.4-build
|
||||
cd ${wrksrc}/pbr-3.4
|
||||
python3.4 setup.py install --root=${DESTDIR}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue