public
Last active

bzr-fastimport PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# Contributor: Kambus
# Contributor: Mario Danic <mario.danic>
 
pkgname=bzr-fastimport
pkgver=0.13.0
pkgrel=1
pkgdesc="Bazaar Fast Import is a plugin providing fast loading of revision control data into Bazaar."
arch=(i686 x86_64)
url="https://launchpad.net/${pkgname}"
license=('GPLv2' 'MIT')
groups=(bzr)
depends=('python2' 'setuptools' 'bzr' 'python2-fastimport-bzr')
makedepends=('bzr')
conflicts=(bzr-fastimport-bzr bzr-fastimport-russo79-bzr bzr-fastimport-deleted-entries-fix)
source=(http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
 
md5sums=('e47115774d44ae0c3b027ae0374aa52e')
 
build() {
cd ${srcdir}/${pkgname}-${pkgver}
 
for _file in $(grep '#!/usr/bin/.*python' -r . | cut -d: -f1); do
sed -i 's/python/python2/' "$_file"
done
#sed -i "s/actual_args = \['python', /actual_args = \['python2', /" ./exporters/__init__.py
 
python2 setup.py install --prefix'=/usr' --root=$pkgdir || return 1
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.