[arch-commits] Commit in ipython2/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Mon Nov 19 18:49:16 UTC 2018


    Date: Monday, November 19, 2018 @ 18:49:15
  Author: kkeen
Revision: 408956

upgpkg: ipython2 5.8.0-2  prompt_toolkit1, FS#60861

Modified:
  ipython2/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-19 18:33:31 UTC (rev 408955)
+++ PKGBUILD	2018-11-19 18:49:15 UTC (rev 408956)
@@ -9,7 +9,7 @@
 
 pkgname=ipython2
 pkgver=5.8.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An enhanced Interactive Python2 shell."
 arch=('any')
 url="http://ipython.org"
@@ -16,7 +16,7 @@
 license=('BSD')
 depends=('python2' 'python2-traitlets' 'python2-pexpect' 'sqlite'
     'python2-setuptools' 'python2-pickleshare' 'python2-pathlib'
-    'python2-backports.shutil_get_terminal_size' 'python2-prompt_toolkit')
+    'python2-backports.shutil_get_terminal_size' 'python2-prompt_toolkit1')
 optdepends=("wxpython: needed for ipython2 --gui=wx"
             "python2-nose: for IPython's test suite")
 makedepends=('python2-setuptools')
@@ -32,12 +32,16 @@
 # simplegeneric (so old that it only comes in .zip and still refers to the cheeseshop)
 # confirm that an update does not break sage?
 
+prepare() {
+  cd "$srcdir/ipython-$pkgver"
+  find ./ -type f -exec sed -i -e 's/prompt_toolkit/prompt_toolkit1/g' {} \;
+}
+
 build() {
   cd "$srcdir"
 }
 
 package() {
-  pkgdesc="An enhanced Interactive Python2 shell."
   cd "$srcdir/ipython-$pkgver"
 
   python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0



More information about the arch-commits mailing list