updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ropemode-hg / PKGBUILD
blob984432dd32b71194876f85b10649fbef077b8dd0
1 # Contributor: Fabián Ezequiel Gallina <fabian@anue.biz>
3 _pkgname=ropemode
4 pkgname=${_pkgname}-hg
5 pkgver=0.1
6 pkgrel=3
7 _hgrel=584d3eba7ca6
8 pkgdesc='Common parts of ropemacs and ropevim.'
9 arch=('any')
10 url='http://rope.sourceforge.net/ropemacs.html'
11 license=('GPL2')
12 depends=('python2' 'python2-rope')
13 makedepends=()
14 source=("https://bitbucket.org/agr/ropemode/get/${_hgrel}.tar.gz")
15 md5sums=('2eec442197a8f1bf0ed3cfe1480baf08')
16 install=$pkgname.install
17 provides=('python-ropemode')
18 conflicts=('python-ropemode')
20 build() {
21   cd ${srcdir}/agr-${_pkgname}-${_hgrel}
22   python2 ./setup.py build
25 package() {
26   cd ${srcdir}/agr-${_pkgname}-${_hgrel}
27   python2 setup.py install --root=${pkgdir} --optimize=1