[arch-commits] Commit in python-ipykernel/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Mon Oct 10 06:03:14 UTC 2016
Date: Monday, October 10, 2016 @ 06:03:13
Author: kkeen
Revision: 191782
archrelease: copy trunk to community-any
Added:
python-ipykernel/repos/community-any/PKGBUILD
(from rev 191781, python-ipykernel/trunk/PKGBUILD)
Deleted:
python-ipykernel/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-10 06:02:14 UTC (rev 191781)
+++ PKGBUILD 2016-10-10 06:03:13 UTC (rev 191782)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-ipykernel
-pkgname=(python-ipykernel python2-ipykernel)
-pkgver=4.3.1
-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=('971eee85d630eb4bafcd52531c79673f')
-
-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", "-c", "from IPython.kernel.zmq.kernelapp import main; main()", "-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 191781, python-ipykernel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-10 06:03:13 UTC (rev 191782)
@@ -0,0 +1,42 @@
+# $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"
+}
+
More information about the arch-commits
mailing list