Date: Thursday, April 6, 2023 @ 14:48:49
Author: felixonmars
Revision: 1439338
archrelease: copy trunk to community-staging-any
Added:
jupyter-widgetsnbextension/repos/community-staging-any/
jupyter-widgetsnbextension/repos/community-staging-any/PKGBUILD
(from rev 1439337, jupyter-widgetsnbextension/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: jupyter-widgetsnbextension/repos/community-staging-any/PKGBUILD (from
rev 1439337, jupyter-widgetsnbextension/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 14:48:49 UTC (rev 1439338)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+
+pkgname=jupyter-widgetsnbextension
+pkgver=4.0.7
+pkgrel=2
+epoch=1
+pkgdesc='Interactive HTML widgets for Jupyter notebooks'
+arch=(any)
+url='https://pypi.python.org/pypi/widgetsnbextension'
+license=(BSD)
+depends=(jupyter-notebook python-ipywidgets)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+source=(https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-$pkgver.tar.gz)
+sha256sums=('ea67c17a7cd4ae358f8f46c3b304c40698bc0423732e3f273321ee141232c8be')
+
+build() {
+ cd widgetsnbextension-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd widgetsnbextension-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ mv "$pkgdir/usr/etc" "$pkgdir/etc"
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}