# Contributor (Arch): Renato Garcia <fgarcia.renato@gmail.com>
# Contributor (Arch): Nicolás de la Torre <ndelatorre@gmail.com>
# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>

pkgname=python2-ropemode
_pkgname=ropemode
pkgver=0.2
pkgrel=1
pkgdesc="A helper for using rope refactoring library in IDEs"
url='http://bitbucket.org/agr/ropemode'
arch=('any')
license=('GPL')
depends=('python2-rope')
source=("http://bitbucket.org/agr/${_pkgname}/get/${pkgver}.tar.bz2")
md5sums=('6c1cb705e360251ac4bccc33b74ae892')

package() {
  cd "${srcdir}/agr-ropemode-61c99582317d"
  python2 ./setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
}