[arch-commits] Commit in python-jedi/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:41:38 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:41:38
  Author: foutrelis
Revision: 140974

archrelease: copy trunk to community-staging-any

Added:
  python-jedi/repos/community-staging-any/
  python-jedi/repos/community-staging-any/PKGBUILD
    (from rev 140973, python-jedi/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: python-jedi/repos/community-staging-any/PKGBUILD (from rev 140973, python-jedi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 16:41:38 UTC (rev 140974)
@@ -0,0 +1,43 @@
+# Submitter: Simon Conseil <contact+aur at saimon dot org>
+# Submitter: Jesus Alvarez
+# Maintainer: Danilo Bargen <gezuru at gmail.com>
+
+pkgbase=python-jedi
+pkgname=('python2-jedi' 'python-jedi')
+pkgver=0.9.0
+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=('2fee93d273622527ef8c97ac736e92bd')
+
+check() {
+   cd "$srcdir/jedi-${pkgver}"
+    python3 setup.py test
+    python2 setup.py test
+}
+
+package_python-jedi() {
+    pkgdesc="Awesome autocompletion for python"
+    depends=('python')
+    conflicts=('python3-jedi-git')
+    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
+}
+
+package_python2-jedi() {
+    pkgdesc="Awesome autocompletion for python2"
+    depends=('python2')
+    conflicts=('jedi-git' 'python2-jedi-git')
+    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
+}
+
+# vim:set ts=2 sw=2 et



More information about the arch-commits mailing list