[arch-commits] Commit in jupyter-nbformat/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 11:18:28 UTC 2021
Date: Wednesday, December 1, 2021 @ 11:18:28
Author: felixonmars
Revision: 1059166
archrelease: copy trunk to community-staging-any
Added:
jupyter-nbformat/repos/community-staging-any/
jupyter-nbformat/repos/community-staging-any/PKGBUILD
(from rev 1059163, jupyter-nbformat/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: jupyter-nbformat/repos/community-staging-any/PKGBUILD (from rev 1059163, jupyter-nbformat/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 11:18:28 UTC (rev 1059166)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-nbformat
+pkgver=5.1.3
+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"
+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"
+ nbformat-install-data.patch::"https://github.com/jupyter/nbformat/commit/657a7ab5.patch")
+md5sums=('dd2a7d13ef6c6661bdc5b94db3255d0a'
+ 'f21e8726512cee276a50b91e3f0f2885')
+
+prepare() {
+ cd nbformat-$pkgver
+ #patch -p1 -i ../nbformat-install-data.patch # Fix data install
+}
+
+build() {
+ cd nbformat-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/nbformat-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list