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

Felix Yan felixonmars at archlinux.org
Wed Jul 18 01:36:33 UTC 2018


    Date: Wednesday, July 18, 2018 @ 01:36:33
  Author: felixonmars
Revision: 361196

archrelease: copy trunk to community-staging-any

Added:
  ipython/repos/community-staging-any/
  ipython/repos/community-staging-any/PKGBUILD
    (from rev 361195, ipython/trunk/PKGBUILD)

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

Copied: ipython/repos/community-staging-any/PKGBUILD (from rev 361195, ipython/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-18 01:36:33 UTC (rev 361196)
@@ -0,0 +1,60 @@
+# $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>
+
+pkgname=ipython
+pkgver=6.3.1
+pkgrel=2
+pkgdesc="An enhanced Interactive Python shell."
+arch=('any')
+url="https://ipython.org"
+license=('BSD')
+depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite'
+         'python-setuptools' 'python-pickleshare' 'python-prompt_toolkit'
+         'python-jedi' 'python-pygments')
+makedepends=('python-setuptools')
+optdepends=("python-nose: for IPython's test suite")
+
+# new optional thing: ipyparallel
+
+source=("ipython-$pkgver.tgz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
+        "https://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-0.8.1.zip"
+        "https://files.pythonhosted.org/packages/source/b/backcall/backcall-0.1.0.tar.gz"
+        "https://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png")
+md5sums=('48e01bd73472b5fc5ae0bd03b1d2323d'
+         'f9c1fab00fd981be588fc32759f474e3'
+         '87ce0c7839808e6a3427d57df6a792e7'
+         '2901d65f1b1fe354e72850085cd1c072')
+
+# confirm that an update does not break sage?
+
+package() {
+  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
+
+  cd "$srcdir/simplegeneric-0.8.1"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/backcall-0.1.0"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/ipython-$pkgver"
+  install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython/LICENSE"
+
+  cd "$srcdir/ipython-$pkgver/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"
+  # FS#47046
+  install -Dm644 "$srcdir/icon.png" "$pkgdir/usr/share/pixmaps/ipython.png"
+
+  #cd $srcdir/ipython-$pkgver/IPython/qt/console/resources/icon/
+  #install -Dm644 IPythonConsole.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/ipython.svg"
+}



More information about the arch-commits mailing list