Updating bzr to 2.5.1.

This commit is contained in:
Daniele 2012-10-10 23:55:20 +02:00
parent 3e11f125b4
commit f895f4bc91

View File

@ -6,23 +6,23 @@
# Contributer: Joshua L. Blocher <verbalshadow@gmail.com>
pkgname=bzr
pkgver=2.4.2
pkgver=2.5.1
pkgrel=1
pkgdesc="A decentralized revision control system (bazaar)"
pkgdesc="Bazaar is a version control system that helps you track project history over time and to collaborate easily with others."
arch=('i686' 'x86_64')
url="http://bazaar.canonical.com/en/"
license=('GPL')
depends=('python2')
optdepends=('python-paramiko: for sftp support')
source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig})
md5sums=('cfc06fddd348445c65a247c0b33a05db'
'90294e34a45df20b16be47a32c800c89')
md5sums=('ac5079858364a046071000d5cdccb67b'
'c83dd08dd2c3e27edbab873500d7d6eb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|man/man1|share/man/man1|' setup.py
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py}
sed -e 's|/usr/bin/env python|/usr/bin/env python2|' \
-i bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py}
python2 setup.py build
}
@ -33,3 +33,5 @@ package() {
# bash-completion
install -D -m644 contrib/bash/bzr "${pkgdir}/etc/bash_completion.d/bzr"
}
# vim:set ts=2 sw=2 et: