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

Felix Yan felixonmars at archlinux.org
Mon Dec 26 09:30:39 UTC 2016


    Date: Monday, December 26, 2016 @ 09:30:39
  Author: felixonmars
Revision: 202609

archrelease: copy trunk to community-staging-any

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

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

Copied: python-jedi/repos/community-staging-any/PKGBUILD (from rev 202608, python-jedi/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-26 09:30:39 UTC (rev 202609)
@@ -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=3
+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