[arch-commits] Commit in jupyter/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Oct 21 18:21:06 UTC 2021


    Date: Thursday, October 21, 2021 @ 18:21:06
  Author: dvzrv
Revision: 1032015

upgpkg: jupyter 4.6.3-3: Rebuild to switch python-mistune dependency to python-mistune1.

List dependencies more clearly as jupyter introduces a circular dependency on
itself via jupyter-nbformat.
Install required BSD license file.

Modified:
  jupyter/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-21 18:20:49 UTC (rev 1032014)
+++ PKGBUILD	2021-10-21 18:21:06 UTC (rev 1032015)
@@ -2,18 +2,26 @@
 
 pkgname=jupyter
 pkgver=4.6.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A language-agnostic web-based interactive shell/notebook server."
 arch=('any')
 url="https://jupyter.org/"
 license=('BSD')
-depends=('python-jinja' 'python-mistune'
-         'ipython' 'python-ipykernel' 'python-jupyter_core'
-         'python-ipywidgets' 'jupyter-nbformat' 'jupyter_console'
-         'python-jupyter_client')
+depends=(
+  'ipython'
+  'jupyter_console'
+  'jupyter-nbformat'
+  'python-ipykernel'
+  'python-ipywidgets'
+  'python-jinja'
+  'python-jupyter_client'
+  'python-jupyter_core'
+  'python-mistune1'
+)
 optdepends=('jupyter-nbconvert: notebook conversion')
-source=()
-md5sums=()
+source=("${pkgname}-${pkgver}-license::https://github.com/jupyter/jupyter/blob/b0cc1245aed40284f1994cf5179a5e288c5eaf1b/LICENSE")
+sha256sums=('281932867c40720217329199aa4af3570fb340dbab942f7ed713f23655bb74c5')
+b2sums=('541ce48711f4b483c70d17d85b523f646197c1071aaca5f4706441fa972278265b8fc16253e7cf0a49b0390a71120a9e2ef86454256e212a3c11a6e2159c8ce8')
 
 # and now with everything split out, nothing is left
 # todo: packages depending on jupyter don't have to
@@ -24,10 +32,10 @@
 # honorable mention for python{,2}-qtconsole somewhere?
 
 build() {
-  cd "$srcdir"
+  true
 }
 
 package() {
-  cd "$srcdir"
+  install -vDm 644 "${pkgname}-${pkgver}-license" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 



More information about the arch-commits mailing list