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

Antonio Rojas arojas at archlinux.org
Sun Mar 28 00:51:38 UTC 2021


    Date: Sunday, March 28, 2021 @ 00:51:37
  Author: arojas
Revision: 905863

Fix data install (FS#70187)

Modified:
  jupyter-nbformat/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-28 00:43:10 UTC (rev 905862)
+++ PKGBUILD	2021-03-28 00:51:37 UTC (rev 905863)
@@ -2,7 +2,7 @@
 
 pkgname=jupyter-nbformat
 pkgver=5.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="The base implementation of the Jupyter Notebook format and Python APIs for working with notebooks"
 arch=('any')
 url="https://pypi.python.org/pypi/nbformat"
@@ -9,11 +9,19 @@
 license=('BSD')
 depends=('python-traitlets' 'python-jupyter_core' 'python-jsonschema')
 makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/nbformat/archive/$pkgver.tar.gz")
-md5sums=('53e2e458ef25569eaf68f4fc73796567')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/nbformat/archive/$pkgver.tar.gz"
+         nbformat-install-data.patch::"https://github.com/jupyter/nbformat/commit/657a7ab5.patch")
+md5sums=('53e2e458ef25569eaf68f4fc73796567'
+         'f21e8726512cee276a50b91e3f0f2885')
 
+prepare() {
+  cd nbformat-$pkgver
+  patch -p1 -i ../nbformat-install-data.patch # Fix data install
+}
+
 build() {
-  cd "$srcdir"
+  cd nbformat-$pkgver
+  python setup.py build
 }
 
 package() {



More information about the arch-commits mailing list