[arch-commits] Commit in python-ipykernel/repos/community-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Tue Oct 11 00:08:42 UTC 2016


    Date: Tuesday, October 11, 2016 @ 00:08:41
  Author: kkeen
Revision: 191903

archrelease: copy trunk to community-any

Added:
  python-ipykernel/repos/community-any/PKGBUILD
    (from rev 191902, python-ipykernel/trunk/PKGBUILD)
Deleted:
  python-ipykernel/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   87 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 45 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-11 00:06:53 UTC (rev 191902)
+++ PKGBUILD	2016-10-11 00:08:41 UTC (rev 191903)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-ipykernel
-pkgname=(python-ipykernel python2-ipykernel)
-pkgver=4.5.0
-pkgrel=1
-pkgdesc="The ipython kernel for Jupyter"
-arch=('any')
-url="https://pypi.python.org/pypi/ipykernel"
-license=('BSD')
-depends=('python')
-makedepends=('python' 'python2')
-source=("ipykernel-$pkgver.tgz::https://github.com/ipython/ipykernel/archive/$pkgver.tar.gz")
-md5sums=('ea6aaf431b100452905aaca208edac72')
-
-prepare() {
-  cd "$srcdir"
-  cp -r ipykernel-$pkgver python2-ipykernel-$pkgver
-}
-
-package_python-ipykernel() {
-  cd "$srcdir/ipykernel-$pkgver"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir"
-  install -Dm644 "ipykernel-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-ipykernel() {
-  depends=('python2')
-
-  cd "$srcdir/python2-ipykernel-$pkgver"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
-  cd "$srcdir"
-  install -d "$pkgdir/usr/share/jupyter/kernels/python2"
-  echo '{"display_name": "Python 2", "language": "python2", "argv": ["python2", "-m", "ipykernel", "-f", "{connection_file}"],"codemirror_mode": {"version": 2, "name": "ipython2"}}' > "$pkgdir/usr/share/jupyter/kernels/python2/kernel.json"
-
-  install -Dm644 "ipykernel-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-

Copied: python-ipykernel/repos/community-any/PKGBUILD (from rev 191902, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-11 00:08:41 UTC (rev 191903)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-ipykernel
+pkgname=(python-ipykernel python2-ipykernel)
+pkgver=4.5.0
+pkgrel=3
+pkgdesc="The ipython kernel for Jupyter"
+arch=('any')
+url="https://pypi.python.org/pypi/ipykernel"
+license=('BSD')
+depends=('python-traitlets' 'python-tornado' 'jupyter' 'ipython')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/ipython/ipykernel/archive/$pkgver.tar.gz")
+md5sums=('ea6aaf431b100452905aaca208edac72')
+
+# jupyter -> python-jupyter_client
+# ipython2-notebook -> python2-jupyter_client
+
+prepare() {
+  cd "$srcdir"
+  cp -r ipykernel-$pkgver python2-ipykernel-$pkgver
+}
+
+package_python-ipykernel() {
+  cd "$srcdir/ipykernel-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir"
+  install -Dm644 "ipykernel-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-ipykernel() {
+  depends=('python2-traitlets' 'python2-tornado' 'ipython2-notebook' 'ipython2')
+
+  cd "$srcdir/python2-ipykernel-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir"
+  install -d "$pkgdir/usr/share/jupyter/kernels/python2"
+  echo '{"display_name": "Python 2", "language": "python2", "argv": ["python2", "-m", "ipykernel", "-f", "{connection_file}"],"codemirror_mode": {"version": 2, "name": "ipython2"}}' > "$pkgdir/usr/share/jupyter/kernels/python2/kernel.json"
+
+  install -Dm644 "ipykernel-$pkgver/COPYING.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list