Date: Tuesday, November 30, 2021 @ 14:49:05 Author: felixonmars Revision: 1057738
archrelease: copy trunk to community-staging-any Added: jupyter-widgetsnbextension/repos/community-staging-any/ jupyter-widgetsnbextension/repos/community-staging-any/PKGBUILD (from rev 1057737, jupyter-widgetsnbextension/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: jupyter-widgetsnbextension/repos/community-staging-any/PKGBUILD (from rev 1057737, jupyter-widgetsnbextension/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 14:49:05 UTC (rev 1057738) @@ -0,0 +1,25 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Kyle Keen <keen...@gmail.com> +pkgname=jupyter-widgetsnbextension +pkgver=3.5.1 +pkgrel=4 +epoch=1 +pkgdesc="Interactive HTML widgets for Jupyter notebooks" +arch=('any') +url="https://pypi.python.org/pypi/widgetsnbextension" +license=('BSD') +depends=('jupyter-notebook') +source=("https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-$pkgver.tar.gz") +md5sums=('3dc5f96919c032a885950e3819bdee7b') + +build() { + cd "widgetsnbextension-$pkgver" + python setup.py build +} + +package() { + cd "widgetsnbextension-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + mv "$pkgdir/usr/etc" "$pkgdir/etc" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}