[arch-commits] Commit in python-jedi/trunk (PKGBUILD update_requires.patch)

Jelle van der Waa jelle at archlinux.org
Sun Nov 26 20:02:50 UTC 2017


    Date: Sunday, November 26, 2017 @ 20:02:49
  Author: jelle
Revision: 269075

upgpkg: python-jedi 0.11.0-2

FS#56396 python-parso dependency update requires.txt

Added:
  python-jedi/trunk/update_requires.patch
Modified:
  python-jedi/trunk/PKGBUILD

-----------------------+
 PKGBUILD              |   13 ++++++++++---
 update_requires.patch |   16 ++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-26 19:50:27 UTC (rev 269074)
+++ PKGBUILD	2017-11-26 20:02:49 UTC (rev 269075)
@@ -5,7 +5,7 @@
 pkgbase=python-jedi
 pkgname=('python2-jedi' 'python-jedi')
 pkgver=0.11.0
-pkgrel=1
+pkgrel=2
 arch=('any')
 url="https://github.com/davidhalter/jedi"
 license=('MIT')
@@ -12,9 +12,16 @@
 depends=('python2')
 makedepends=('python2-setuptools' 'python-setuptools')
 checkdepends=('python-pytest' 'python2-pytest' 'python-parso' 'python2-parso')
-source=(https://github.com/davidhalter/jedi/archive/v$pkgver.tar.gz)
-md5sums=('26298afee07465d72dc1fe1091d8ec61')
+source=(https://github.com/davidhalter/jedi/archive/v$pkgver.tar.gz update_requires.patch)
+md5sums=('26298afee07465d72dc1fe1091d8ec61'
+         'f346f6c86f539492f9eab172e91026f3')
 
+prepare() {
+   cd "$srcdir/jedi-${pkgver}"
+   # FS#56396
+   patch -Np1 -i "${srcdir}/update_requires.patch"
+}
+
 check() {
    cd "$srcdir/jedi-${pkgver}"
    pytest test

Added: update_requires.patch
===================================================================
--- update_requires.patch	                        (rev 0)
+++ update_requires.patch	2017-11-26 20:02:49 UTC (rev 269075)
@@ -0,0 +1,16 @@
+From fc0397732ea87c2d641f2d2fdef0b13096d945b8 Mon Sep 17 00:00:00 2001
+From: Dave Halter <davidhalter88 at gmail.com>
+Date: Sun, 5 Nov 2017 15:05:09 +0100
+Subject: [PATCH] Update the parso dependency
+
+---
+ requirements.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/requirements.txt b/requirements.txt
+index 2c72b5f42..2af26c8c8 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1 +1 @@
+-parso==0.1.0
++parso==0.1.1



More information about the arch-commits mailing list