[arch-commits] Commit in python-jedi/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Feb 19 19:23:29 UTC 2015
Date: Thursday, February 19, 2015 @ 20:23:28
Author: jelle
Revision: 127995
upgpkg: python-jedi 0.8.1-2
remove empty build() function, package 0.8.1 and not final0
Modified:
python-jedi/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-19 17:46:15 UTC (rev 127994)
+++ PKGBUILD 2015-02-19 19:23:28 UTC (rev 127995)
@@ -5,22 +5,17 @@
pkgbase=python-jedi
pkgname=('python2-jedi' 'python-jedi')
pkgver=0.8.1
-_pkgver="${pkgver}-final0"
-pkgrel=1
+pkgrel=2
arch=('any')
url="https://github.com/davidhalter/jedi"
license=('MIT')
depends=('python2')
makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://pypi.python.org/packages/source/j/jedi/jedi-${_pkgver}.tar.gz")
-md5sums=('e4db996421a640d50f559587e805412b')
+source=("https://pypi.python.org/packages/source/j/jedi/jedi-${pkgver}.tar.gz")
+md5sums=('0e4b205e05290b00ebabe19f351cddf7')
-build() {
- cd "$srcdir/jedi-${_pkgver}"
-}
-
check() {
- cd "$srcdir/jedi-${_pkgver}"
+ cd "$srcdir/jedi-${pkgver}"
python3 setup.py test
python2 setup.py test
}
@@ -29,10 +24,10 @@
pkgdesc="Awesome autocompletion for python"
depends=('python')
conflicts=('python3-jedi-git')
- cd "$srcdir/jedi-${_pkgver}"
+ cd "$srcdir/jedi-${pkgver}"
python3 setup.py install --root="$pkgdir/" --optimize=1
- install -D -m644 "$srcdir/jedi-${_pkgver}/LICENSE.txt" $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 "$srcdir/jedi-${pkgver}/LICENSE.txt" $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
package_python2-jedi() {
@@ -39,10 +34,10 @@
pkgdesc="Awesome autocompletion for python2"
depends=('python2')
conflicts=('jedi-git' 'python2-jedi-git')
- cd "$srcdir/jedi-${_pkgver}"
+ cd "$srcdir/jedi-${pkgver}"
python2 setup.py install --root="$pkgdir/" --optimize=1
- install -D -m644 "$srcdir/jedi-${_pkgver}/LICENSE.txt" $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -D -m644 "$srcdir/jedi-${pkgver}/LICENSE.txt" $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et
More information about the arch-commits
mailing list