Created
May 16, 2014 11:17
-
-
Save davidovitch/c37e36b8af28ecd8f607 to your computer and use it in GitHub Desktop.
AUR PKGBUILD for python2-jedi-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=python2-jedi-git | |
_gitname=jedi | |
pkgver=1 | |
pkgrel=1 | |
pkgdesc="Jedi is an autocompletion tool for Python that can be used in IDEs/editors" | |
arch=(any) | |
url="https://github.com/davidhalter/jedi" | |
license=('MIT') | |
depends=('python2') | |
makedepends=('git' 'python2-distribute') | |
provides=() | |
conflicts=() | |
replaces=() | |
backup=() | |
options=(!emptydirs) | |
source=('git://github.com/davidhalter/jedi.git') | |
# Because the sources are not static, skip Git checksum: | |
md5sums=('SKIP') | |
pkgver() { | |
cd $_gitname | |
# Use the tag of the last commit | |
#git describe --always | sed 's|-|.|g' | |
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) | |
} | |
package() { | |
cd $_gitname | |
python2 setup.py install --root="${pkgdir}" --optimize=1 || exit 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment