[arch-commits] Commit in (4 files)

Kyle Keen kkeen at archlinux.org
Tue Oct 11 01:53:18 UTC 2016


    Date: Tuesday, October 11, 2016 @ 01:53:17
  Author: kkeen
Revision: 191904

pkginit: python-ipywidgets-4.1.1-1

Added:
  python-ipywidgets/
  python-ipywidgets/repos/
  python-ipywidgets/trunk/
  python-ipywidgets/trunk/PKGBUILD

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

Added: python-ipywidgets/trunk/PKGBUILD
===================================================================
--- python-ipywidgets/trunk/PKGBUILD	                        (rev 0)
+++ python-ipywidgets/trunk/PKGBUILD	2016-10-11 01:53:17 UTC (rev 191904)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipywidgets
+pkgver=4.1.1
+pkgrel=1
+pkgdesc="IPython widgets for the Jupyter Notebook"
+arch=('any')
+url="https://github.com/ipython/ipywidgets"
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools' 'npm' 'git')
+
+# ipywidgets 5.2.X may be a joke, based on speed of releases
+# and it seems to be because it doesn't do npm correctly
+
+source=("https://github.com/ipython/ipywidgets/archive/$pkgver.tar.gz")
+md5sums=('099e9b76c52839dc33604aad7a2f1a42')
+
+build() {
+  cd "$srcdir/ipywidgets-$pkgver"
+  # needs node, downloads a lot of stuff
+  python3 setup.py build
+  # as of 5.something it doesn't automatically npm?
+  # npm install seems very broken for tarball builds
+  #cd jupyter-js-widgets
+  #npm install
+  #cd ..
+  #cd widgetsnbextension
+  #npm install
+  #cd ..
+}
+
+package() {
+  cd "$srcdir/ipywidgets-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+


Property changes on: python-ipywidgets/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list