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

Kyle Keen kkeen at archlinux.org
Tue Oct 11 13:46:35 UTC 2016


    Date: Tuesday, October 11, 2016 @ 13:46:35
  Author: kkeen
Revision: 191928

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-11 13:46:20 UTC (rev 191927)
+++ PKGBUILD	2016-10-11 13:46:35 UTC (rev 191928)
@@ -1,45 +0,0 @@
-# $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"
-}
-

Copied: python-ipykernel/repos/community-any/PKGBUILD (from rev 191927, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-11 13:46:35 UTC (rev 191928)
@@ -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=4
+pkgdesc="The ipython kernel for Jupyter"
+arch=('any')
+url="https://pypi.python.org/pypi/ipykernel"
+license=('BSD')
+depends=('python-traitlets' 'python-tornado' 'ipython')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/ipython/ipykernel/archive/$pkgver.tar.gz")
+md5sums=('ea6aaf431b100452905aaca208edac72')
+
+# jupyter -> python-jupyter_client  (add once dep cycle is resolved)
+# ipython2-notebook -> python2-jupyter_client (add once dep cycle is resolved)
+
+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')
+
+  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