Date: Thursday, December 24, 2020 @ 09:19:06 Author: arojas Revision: 786890
archrelease: copy trunk to community-any Added: jupyter-nbclassic/repos/ jupyter-nbclassic/repos/community-any/ jupyter-nbclassic/repos/community-any/PKGBUILD (from rev 786889, jupyter-nbclassic/trunk/PKGBUILD) ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Copied: jupyter-nbclassic/repos/community-any/PKGBUILD (from rev 786889, jupyter-nbclassic/trunk/PKGBUILD) =================================================================== --- repos/community-any/PKGBUILD (rev 0) +++ repos/community-any/PKGBUILD 2020-12-24 09:19:06 UTC (rev 786890) @@ -0,0 +1,26 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +_pipname=nbclassic +pkgname=jupyter-$_pipname +pkgver=0.2.5 +pkgrel=1 +pkgdesc="Jupyter Notebook as a Jupyter Server Extension" +arch=(any) +url="https://jupyter.org/" +license=(custom) +depends=(jupyter-server) +makedepends=(python-setuptools) +source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz) +sha256sums=('e6da2116ab76a63de62f42cf8ea93c9a0c564aaf8315834f7c52efb85b4640ab') + +build() { + cd $_pipname-$pkgver + python setup.py build +} + +package() { + cd $_pipname-$pkgver + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}