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

Kyle Keen kkeen at nymeria.archlinux.org
Wed Apr 2 19:15:34 UTC 2014


    Date: Wednesday, April 2, 2014 @ 21:15:33
  Author: kkeen
Revision: 108747

upgpkg: ipython 2.0.0-1

Modified:
  ipython/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++-----------------
 1 file changed, 6 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-02 16:57:10 UTC (rev 108746)
+++ PKGBUILD	2014-04-02 19:15:33 UTC (rev 108747)
@@ -7,8 +7,8 @@
 
 pkgbase=ipython 
 pkgname=(ipython ipython2)
-pkgver=1.2.1
-pkgrel=2
+pkgver=2.0.0
+pkgrel=1
 pkgdesc="An enhanced Interactive Python shell."
 arch=('any')
 url="http://ipython.org"
@@ -26,11 +26,9 @@
             "haskell-pandoc: ipython notebook conversion")
 #source=("http://archive.ipython.org/release/$pkgver/ipython-$pkgver.tar.gz")
 source=("https://pypi.python.org/packages/source/i/ipython/$pkgbase-$pkgver.tar.gz")
-md5sums=('70d69c78122923879232567ac3c47cef')
-md5sums=('4ffb36697f7ca8cb4a2de0f5b30bc89c')
+md5sums=('dd209ff8c7b08565478e4fc04bdf33ee')
 
 build() {
-  # feels hacky
   cd "$srcdir"
   cp -r ipython-$pkgver ipython2-$pkgver
 }
@@ -48,13 +46,7 @@
 
   install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython/LICENSE"
 
-  # binary3 -> binary
-  cd "$pkgdir/usr/bin/"
-  for i in *; do
-    mv $i ${i%3}
-  done
-
-  cd "$srcdir/ipython-$pkgver/examples/core"
+  cd "$srcdir/ipython-$pkgver/examples/IPython Kernel/"
   install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython.desktop"
   install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython-qtconsole.desktop"
 }
@@ -91,12 +83,9 @@
   for i in *; do
     mv $i ${i/%.1/2.1}
   done
-  cd "$pkgdir/usr/bin/"
-  for i in *; do
-    mv $i ${i}2
-  done
+  find "$pkgdir/usr/bin/" -type f -regex '.*[^2]$' -delete
 
-  cd "$srcdir/ipython2-$pkgver/examples/core"
+  cd "$srcdir/ipython-$pkgver/examples/IPython Kernel/"
   sed -i 's/ython/ython2/g' *.desktop
   install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython2.desktop"
   install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython2-qtconsole.desktop"




More information about the arch-commits mailing list