[arch-commits] Commit in python-ipywidgets/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 14:47:08 UTC 2021
Date: Tuesday, November 30, 2021 @ 14:47:08
Author: foutrelis
Revision: 1057728
archrelease: copy trunk to community-staging-any
Added:
python-ipywidgets/repos/community-staging-any/
python-ipywidgets/repos/community-staging-any/PKGBUILD
(from rev 1057726, python-ipywidgets/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-ipywidgets/repos/community-staging-any/PKGBUILD (from rev 1057726, python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 14:47:08 UTC (rev 1057728)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipywidgets
+pkgver=7.6.5
+pkgrel=3
+pkgdesc="IPython widgets for the Jupyter Notebook"
+arch=('any')
+url="https://github.com/ipython/ipywidgets"
+license=('BSD')
+depends=('python' 'jupyter-widgetsnbextension')
+makedepends=('python-setuptools' 'npm' 'git')
+
+source=("$pkgname-$pkgver.tgz::https://github.com/ipython/ipywidgets/archive/$pkgver.tar.gz")
+md5sums=('cd931c16b33b275434f513bbd073cf2c')
+
+build() {
+ cd "$srcdir/ipywidgets-$pkgver"
+ # needs node, downloads a lot of stuff, probably not reproducible
+ python3 setup.py build
+ #cd widgetsnbextension
+ #python3 setup.py build
+ #cd ..
+}
+
+package() {
+ cd "$srcdir/ipywidgets-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ #cd widgetsnbextension
+ #python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
More information about the arch-commits
mailing list