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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 11:37:40 UTC 2020


    Date: Monday, November 9, 2020 @ 11:37:40
  Author: felixonmars
Revision: 746846

archrelease: copy trunk to community-staging-any

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

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

Copied: python-ipywidgets/repos/community-staging-any/PKGBUILD (from rev 746845, python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 11:37:40 UTC (rev 746846)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipywidgets
+pkgver=7.5.1
+pkgrel=5
+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=('fd7d28cfd8a1206e95e5161a1b924a91')
+
+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