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

Kyle Keen kkeen at archlinux.org
Tue Jun 25 03:37:10 UTC 2019


    Date: Tuesday, June 25, 2019 @ 03:37:09
  Author: kkeen
Revision: 483723

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  107 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 51 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-25 03:36:53 UTC (rev 483722)
+++ PKGBUILD	2019-06-25 03:37:09 UTC (rev 483723)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-jupyter_core
-pkgname=(python-jupyter_core python2-jupyter_core)
-pkgver=4.4.0
-pkgrel=4
-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"
-        "https://github.com/jupyter/jupyter_core/commit/812e613b.diff")
-md5sums=('f2bdb8be2959d3043b77508dd6498687'
-         'd83097f1ed2655f93dadad873508eb2b')
-
-prepare() {
-  cd "$srcdir/jupyter_core-$pkgver"
-
-  # FS#59768, remove on 4.4.1
-  patch -Np1 -i ../812e613b.diff
-
-  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
-  rmdir bin
-}

Copied: python-jupyter_core/repos/community-any/PKGBUILD (from rev 483722, python-jupyter_core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-25 03:37:09 UTC (rev 483723)
@@ -0,0 +1,51 @@
+# 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
+}


More information about the arch-commits mailing list