[arch-commits] Commit in python-jupyter_core/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Mon Oct 21 21:29:27 UTC 2019
Date: Monday, October 21, 2019 @ 21:29:27
Author: kkeen
Revision: 518171
archrelease: copy trunk to community-any
Added:
python-jupyter_core/repos/community-any/PKGBUILD
(from rev 518170, python-jupyter_core/trunk/PKGBUILD)
Deleted:
python-jupyter_core/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-21 21:29:04 UTC (rev 518170)
+++ PKGBUILD 2019-10-21 21:29:27 UTC (rev 518171)
@@ -1,51 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-jupyter_core
-pkgname=(python-jupyter_core python2-jupyter_core)
-pkgver=4.5.0
-pkgrel=1
-pkgdesc="Jupyter core package. A base package on which Jupyter projects rely."
-arch=('any')
-url="https://pypi.python.org/pypi/jupyter_core"
-license=('BSD')
-depends=('python-traitlets')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz")
-md5sums=('e7e4037f0ffe135c807bff371bff8f9c')
-
-prepare() {
- cd "$srcdir/jupyter_core-$pkgver"
-
- cd "$srcdir"
- cp -r jupyter_core-$pkgver python2-jupyter_core-$pkgver
-
- cd python2-jupyter_core-$pkgver
- sed -i 's/env python$/&2/' jupyter_core/troubleshoot.py
-}
-
-build() {
- cd "$srcdir"
-}
-
-package_python-jupyter_core() {
- cd "$srcdir/jupyter_core-$pkgver"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 examples/jupyter-completion.bash "$pkgdir/usr/share/bash-completion/completions/jupyter"
- install -Dm644 examples/completions-zsh "$pkgdir/usr/share/zsh/site-functions/_jupyter"
-}
-
-package_python2-jupyter_core() {
- # todo: figure out how to remove this, it probably shouldn't be used
- depends=('python2-traitlets')
-
- cd "$srcdir/python2-jupyter_core-$pkgver"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- cd "$pkgdir/usr"
- rm bin/jupyter
- rm bin/jupyter-migrate
- rm bin/jupyter-troubleshoot
- rmdir bin
-}
Copied: python-jupyter_core/repos/community-any/PKGBUILD (from rev 518170, python-jupyter_core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-21 21:29:27 UTC (rev 518171)
@@ -0,0 +1,51 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-jupyter_core
+pkgname=(python-jupyter_core python2-jupyter_core)
+pkgver=4.6.0
+pkgrel=1
+pkgdesc="Jupyter core package. A base package on which Jupyter projects rely."
+arch=('any')
+url="https://pypi.python.org/pypi/jupyter_core"
+license=('BSD')
+depends=('python-traitlets')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/jupyter_core/archive/$pkgver.tar.gz")
+md5sums=('b86b19c993707378e96aca57935ba180')
+
+prepare() {
+ cd "$srcdir/jupyter_core-$pkgver"
+
+ cd "$srcdir"
+ cp -r jupyter_core-$pkgver python2-jupyter_core-$pkgver
+
+ cd python2-jupyter_core-$pkgver
+ sed -i 's/env python$/&2/' jupyter_core/troubleshoot.py
+}
+
+build() {
+ cd "$srcdir"
+}
+
+package_python-jupyter_core() {
+ cd "$srcdir/jupyter_core-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 examples/jupyter-completion.bash "$pkgdir/usr/share/bash-completion/completions/jupyter"
+ install -Dm644 examples/completions-zsh "$pkgdir/usr/share/zsh/site-functions/_jupyter"
+}
+
+package_python2-jupyter_core() {
+ # todo: figure out how to remove this, it probably shouldn't be used
+ depends=('python2-traitlets')
+
+ cd "$srcdir/python2-jupyter_core-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd "$pkgdir/usr"
+ rm bin/jupyter
+ rm bin/jupyter-migrate
+ rm bin/jupyter-troubleshoot
+ rmdir bin
+}
More information about the arch-commits
mailing list