[arch-commits] Commit in ipython/repos/community-any (4 files)

Kyle Keen kkeen at archlinux.org
Thu Jul 16 20:56:29 UTC 2015


    Date: Thursday, July 16, 2015 @ 22:56:28
  Author: kkeen
Revision: 137025

archrelease: copy trunk to community-any

Added:
  ipython/repos/community-any/PKGBUILD
    (from rev 137024, ipython/trunk/PKGBUILD)
  ipython/repos/community-any/ipython.install
    (from rev 137024, ipython/trunk/ipython.install)
Deleted:
  ipython/repos/community-any/PKGBUILD
  ipython/repos/community-any/ipython.install

-----------------+
 PKGBUILD        |  252 +++++++++++++++++++++++++++---------------------------
 ipython.install |   24 ++---
 2 files changed, 139 insertions(+), 137 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-16 20:54:38 UTC (rev 137024)
+++ PKGBUILD	2015-07-16 20:56:28 UTC (rev 137025)
@@ -1,125 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: PepeSmith
-# Contributor: Aron Asor <aronasorman at gmail.com>
-# Contributor: Chris Brannon <chris at the-brannons.com>
-# Contributor : Douglas Soares de Andrade <dsa at aur.archlinux.org>
-
-pkgbase=ipython 
-pkgname=(ipython ipython2 ipython-notebook ipython2-notebook)
-pkgver=3.2.0
-pkgrel=2
-pkgdesc="An enhanced Interactive Python shell."
-arch=('any')
-url="http://ipython.org"
-license=('BSD')
-depends=('python' 'sqlite' 'python-setuptools')
-makedepends=('python-setuptools' 'python2-setuptools' 'sqlite')
-optdepends=("python-nose: for IPython's test suite"
-            "python-pyqt4: for ipython qtconsole"
-            "python-sip: for ipython qtconsole"
-            "python-pygments: for ipython qtconsole"
-            "python-pyzmq: for ipython qtconsole")
-install=ipython.install
-#source=("http://archive.ipython.org/release/$pkgver/ipython-$pkgver.tar.gz")
-#source=("https://github.com/ipython/ipython/archive/rel-$pkgver.tar.gz")
-source=("https://pypi.python.org/packages/source/i/ipython/$pkgbase-$pkgver.tar.gz")
-md5sums=('41aa9b34f39484861e77c46ffb29b699')
-
-# confirm that an update does not break sage?
-
-build() {
-  cd "$srcdir"
-  cp -r ipython-$pkgver ipython2-$pkgver
-}
-
-package_ipython() {
-  provides=('ipython3')
-  replaces=('ipython3')
-  cd "$srcdir/ipython-$pkgver"
-
-  # see https://github.com/ipython/ipython/issues/2057
-  #export LC_ALL=en_US.UTF-8
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  find "$pkgdir/" -name '*.pyc' -delete
-  find "$pkgdir/" -type d -empty -delete
-
-  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython/LICENSE"
-
-  pushd "examples/IPython Kernel/"
-  # FS#45120
-  sed -i 's/gnome-netstatus-idle/ipython/' *.desktop
-  install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython.desktop"
-  install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython-qtconsole.desktop"
-  popd
-  pushd IPython/qt/console/resources/icon/
-  install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython.svg"
-  popd
-}
-
-package_ipython2() {
-  pkgdesc="An enhanced Interactive Python2 shell."
-  depends=('python2' 'sqlite' 'python2-setuptools')
-  optdepends=("wxpython: needed for ipython2 --gui=wx"
-              "python2-nose: for IPython's test suite"
-              "python2-pyqt4: for ipython qtconsole"
-              "python2-sip: for ipython qtconsole"
-              "python2-pygments: for ipython qtconsole"
-              "python2-pyzmq: for ipython qtconsole")
-
-  cd "$srcdir/ipython2-$pkgver"
-
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  rm -rf "$pkgdir/usr/share/doc"
-  find "$pkgdir" -name '*.py' -print0 | xargs -0 \
-    sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
-    -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
-  find "$pkgdir/" -name '*.pyc' -delete
-
-  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython2/LICENSE"
-
-  # hack to get around ipython collision
-  pushd "$pkgdir/usr/share/man/man1/"
-  for i in *; do
-    mv $i ${i/%.1/2.1}
-  done
-  find "$pkgdir/usr/bin/" -type f -regex '.*[^2]$' -delete
-  popd
-
-  pushd "examples/IPython Kernel/"
-  sed -i 's/ython/ython2/g' *.desktop
-  sed -i 's/gnome-netstatus-idle/ipython2/' *.desktop
-  install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython2.desktop"
-  install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython2-qtconsole.desktop"
-  popd
-  pushd IPython/qt/console/resources/icon/
-  install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython2.svg"
-  popd
-
-
-}
-
-# Nothing in these packages except dependencies because five optdeps is too many
-
-package_ipython-notebook() {
-  pkgdesc="Web-based environment where you can combine code, text, math, plots and media into a single document"
-  depends=('ipython' 'python-pyzmq' 'python-tornado' 'python-terminado'
-           'python-jinja' 'python-jsonschema' 'python-mistune'
-           'python-pygments')
-  optdepends=('haskell-pandoc: ipython notebook conversion'
-              'texlive-bin: notebook pdf export')
-  cd "$srcdir/ipython-$pkgver"
-  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython-notebook/LICENSE"
-}
-
-package_ipython2-notebook() {
-  pkgdesc="Web-based environment where you can combine code, text, math, plots and media into a single document"
-  depends=('ipython2' 'python2-pyzmq' 'python2-tornado' 'python2-terminado'
-           'python2-jinja' 'python2-jsonschema' 'python2-mistune'
-           'python2-pygments')
-  optdepends=('haskell-pandoc: ipython notebook conversion'
-              'texlive-bin: notebook pdf export')
-  cd "$srcdir/ipython2-$pkgver"
-  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython2-notebook/LICENSE"
-}
-

Copied: ipython/repos/community-any/PKGBUILD (from rev 137024, ipython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-07-16 20:56:28 UTC (rev 137025)
@@ -0,0 +1,127 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: PepeSmith
+# Contributor: Aron Asor <aronasorman at gmail.com>
+# Contributor: Chris Brannon <chris at the-brannons.com>
+# Contributor : Douglas Soares de Andrade <dsa at aur.archlinux.org>
+
+pkgbase=ipython 
+pkgname=(ipython ipython2 ipython-notebook ipython2-notebook)
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="An enhanced Interactive Python shell."
+arch=('any')
+url="http://ipython.org"
+license=('BSD')
+depends=('python' 'sqlite' 'python-setuptools')
+makedepends=('python-setuptools' 'python2-setuptools' 'sqlite')
+optdepends=("python-nose: for IPython's test suite"
+            "python-pyqt4: for ipython qtconsole"
+            "python-sip: for ipython qtconsole"
+            "python-pygments: for ipython qtconsole"
+            "python-pyzmq: for ipython qtconsole"
+            "ipython-notebook: for the notebook")
+install=ipython.install
+#source=("http://archive.ipython.org/release/$pkgver/ipython-$pkgver.tar.gz")
+#source=("https://github.com/ipython/ipython/archive/rel-$pkgver.tar.gz")
+source=("https://pypi.python.org/packages/source/i/ipython/$pkgbase-$pkgver.tar.gz")
+md5sums=('61c2d5665ff1bd65eceb19fa7f1b23c7')
+
+# confirm that an update does not break sage?
+
+build() {
+  cd "$srcdir"
+  cp -r ipython-$pkgver ipython2-$pkgver
+}
+
+package_ipython() {
+  provides=('ipython3')
+  replaces=('ipython3')
+  cd "$srcdir/ipython-$pkgver"
+
+  # see https://github.com/ipython/ipython/issues/2057
+  #export LC_ALL=en_US.UTF-8
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  find "$pkgdir/" -name '*.pyc' -delete
+  find "$pkgdir/" -type d -empty -delete
+
+  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython/LICENSE"
+
+  pushd "examples/IPython Kernel/"
+  # FS#45120
+  sed -i 's/gnome-netstatus-idle/ipython/' *.desktop
+  install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython.desktop"
+  install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython-qtconsole.desktop"
+  popd
+  pushd IPython/qt/console/resources/icon/
+  install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython.svg"
+  popd
+}
+
+package_ipython2() {
+  pkgdesc="An enhanced Interactive Python2 shell."
+  depends=('python2' 'sqlite' 'python2-setuptools')
+  optdepends=("wxpython: needed for ipython2 --gui=wx"
+              "python2-nose: for IPython's test suite"
+              "python2-pyqt4: for ipython qtconsole"
+              "python2-sip: for ipython qtconsole"
+              "python2-pygments: for ipython qtconsole"
+              "python2-pyzmq: for ipython qtconsole"
+              "ipython2-notebook: for the notebook")
+
+  cd "$srcdir/ipython2-$pkgver"
+
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  rm -rf "$pkgdir/usr/share/doc"
+  find "$pkgdir" -name '*.py' -print0 | xargs -0 \
+    sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
+    -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
+  find "$pkgdir/" -name '*.pyc' -delete
+
+  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython2/LICENSE"
+
+  # hack to get around ipython collision
+  pushd "$pkgdir/usr/share/man/man1/"
+  for i in *; do
+    mv $i ${i/%.1/2.1}
+  done
+  find "$pkgdir/usr/bin/" -type f -regex '.*[^2]$' -delete
+  popd
+
+  pushd "examples/IPython Kernel/"
+  sed -i 's/ython/ython2/g' *.desktop
+  sed -i 's/gnome-netstatus-idle/ipython2/' *.desktop
+  install -Dm644 ipython.desktop "$pkgdir/usr/share/applications/ipython2.desktop"
+  install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython2-qtconsole.desktop"
+  popd
+  pushd IPython/qt/console/resources/icon/
+  install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython2.svg"
+  popd
+
+
+}
+
+# Nothing in these packages except dependencies because five optdeps is too many
+
+package_ipython-notebook() {
+  pkgdesc="Web-based environment where you can combine code, text, math, plots and media into a single document"
+  depends=('ipython' 'python-pyzmq' 'python-tornado' 'python-terminado'
+           'python-jinja' 'python-jsonschema' 'python-mistune'
+           'python-pygments')
+  optdepends=('haskell-pandoc: ipython notebook conversion'
+              'texlive-bin: notebook pdf export')
+  cd "$srcdir/ipython-$pkgver"
+  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython-notebook/LICENSE"
+}
+
+package_ipython2-notebook() {
+  pkgdesc="Web-based environment where you can combine code, text, math, plots and media into a single document"
+  depends=('ipython2' 'python2-pyzmq' 'python2-tornado' 'python2-terminado'
+           'python2-jinja' 'python2-jsonschema' 'python2-mistune'
+           'python2-pygments')
+  optdepends=('haskell-pandoc: ipython notebook conversion'
+              'texlive-bin: notebook pdf export')
+  cd "$srcdir/ipython2-$pkgver"
+  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython2-notebook/LICENSE"
+}
+

Deleted: ipython.install
===================================================================
--- ipython.install	2015-07-16 20:54:38 UTC (rev 137024)
+++ ipython.install	2015-07-16 20:56:28 UTC (rev 137025)
@@ -1,12 +0,0 @@
-post_install() {
-  [[ -x usr/bin/gtk-update-icon-cache ]] || return 0
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor	
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  post_install $1
-}

Copied: ipython/repos/community-any/ipython.install (from rev 137024, ipython/trunk/ipython.install)
===================================================================
--- ipython.install	                        (rev 0)
+++ ipython.install	2015-07-16 20:56:28 UTC (rev 137025)
@@ -0,0 +1,12 @@
+post_install() {
+  [[ -x usr/bin/gtk-update-icon-cache ]] || return 0
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor	
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}



More information about the arch-commits mailing list