Date: Sunday, March 28, 2021 @ 00:51:48 Author: arojas Revision: 905864
archrelease: copy trunk to community-any Added: jupyter-nbformat/repos/community-any/PKGBUILD (from rev 905863, jupyter-nbformat/trunk/PKGBUILD) Deleted: jupyter-nbformat/repos/community-any/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-28 00:51:37 UTC (rev 905863) +++ PKGBUILD 2021-03-28 00:51:48 UTC (rev 905864) @@ -1,23 +0,0 @@ -# Maintainer: Kyle Keen <keen...@gmail.com> - -pkgname=jupyter-nbformat -pkgver=5.1.2 -pkgrel=1 -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") -md5sums=('53e2e458ef25569eaf68f4fc73796567') - -build() { - cd "$srcdir" -} - -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" -} Copied: jupyter-nbformat/repos/community-any/PKGBUILD (from rev 905863, jupyter-nbformat/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-28 00:51:48 UTC (rev 905864) @@ -0,0 +1,31 @@ +# Maintainer: Kyle Keen <keen...@gmail.com> + +pkgname=jupyter-nbformat +pkgver=5.1.2 +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=('53e2e458ef25569eaf68f4fc73796567' + '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" +}