[arch-commits] Commit in python-ipywidgets/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 29 22:20:51 UTC 2021


    Date: Monday, November 29, 2021 @ 22:20:51
  Author: felixonmars
Revision: 1057660

archrelease: copy trunk to community-staging-any

Added:
  python-ipywidgets/repos/community-staging-any/
  python-ipywidgets/repos/community-staging-any/PKGBUILD
    (from rev 1057659, python-ipywidgets/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-ipywidgets/repos/community-staging-any/PKGBUILD (from rev 1057659, python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-29 22:20:51 UTC (rev 1057660)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipywidgets
+pkgver=7.6.5
+pkgrel=2
+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