[arch-commits] Commit in python-ipywidgets/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Nov 6 20:35:29 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:35:28
  Author: arojas
Revision: 402128

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  111 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:35:15 UTC (rev 402127)
+++ PKGBUILD	2018-11-06 20:35:28 UTC (rev 402128)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-ipywidgets
-pkgname=(python-ipywidgets python2-ipywidgets)
-pkgver=7.2.1
-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' 'python2-setuptools' 'npm' 'git')
-
-source=("$pkgname-$pkgver.tgz::https://github.com/ipython/ipywidgets/archive/$pkgver.tar.gz")
-md5sums=('ab7e48f3d4065a51796e99ec85f71a93')
-
-prepare() {
-  cp -r "ipywidgets-$pkgver" "py2-ipywidgets-$pkgver"
-}
-
-build() {
-  cd "$srcdir/ipywidgets-$pkgver"
-  # needs node, downloads a lot of stuff
-  python3 setup.py build
-  #cd widgetsnbextension
-  #python3 setup.py build
-  #cd ..
-
-  cd "$srcdir/py2-ipywidgets-$pkgver"
-  python2 setup.py build
-  #cd widgetsnbextension
-  #python2 setup.py build
-}
-
-package_python-ipywidgets() {
-  cd "$srcdir/ipywidgets-$pkgver"
-  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  #cd widgetsnbextension
-  #python3 setup.py install --prefix=/usr --root="$pkgdir"
-}
-
-package_python2-ipywidgets() {
-  depends=('python2' 'jupyter-widgetsnbextension')
-  # weird depends because of shared files
-  cd "$srcdir/py2-ipywidgets-$pkgver"
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  #cd widgetsnbextension
-  #python2 setup.py install --prefix=/usr --root="$pkgdir"
-
-  # remove shared files
-  #rm "$pkgdir/usr/share/jupyter/nbextensions/jupyter-js-widgets/extension.js"{,.map}
-}
-

Copied: python-ipywidgets/repos/community-any/PKGBUILD (from rev 402127, python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-06 20:35:28 UTC (rev 402128)
@@ -0,0 +1,55 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-ipywidgets
+pkgname=(python-ipywidgets python2-ipywidgets)
+pkgver=7.4.2
+pkgrel=1
+pkgdesc="IPython widgets for the Jupyter Notebook"
+arch=('any')
+url="https://github.com/ipython/ipywidgets"
+license=('BSD')
+depends=('python' 'jupyter-widgetsnbextension')
+makedepends=('python-setuptools' 'python2-setuptools' 'npm' 'git')
+
+source=("$pkgname-$pkgver.tgz::https://github.com/ipython/ipywidgets/archive/$pkgver.tar.gz")
+md5sums=('7d490598bdc3bf766b83854d285d9102')
+
+prepare() {
+  cp -r "ipywidgets-$pkgver" "py2-ipywidgets-$pkgver"
+}
+
+build() {
+  cd "$srcdir/ipywidgets-$pkgver"
+  # needs node, downloads a lot of stuff
+  python3 setup.py build
+  #cd widgetsnbextension
+  #python3 setup.py build
+  #cd ..
+
+  cd "$srcdir/py2-ipywidgets-$pkgver"
+  python2 setup.py build
+  #cd widgetsnbextension
+  #python2 setup.py build
+}
+
+package_python-ipywidgets() {
+  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"
+}
+
+package_python2-ipywidgets() {
+  depends=('python2' 'jupyter-widgetsnbextension')
+  # weird depends because of shared files
+  cd "$srcdir/py2-ipywidgets-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  #cd widgetsnbextension
+  #python2 setup.py install --prefix=/usr --root="$pkgdir"
+
+  # remove shared files
+  #rm "$pkgdir/usr/share/jupyter/nbextensions/jupyter-js-widgets/extension.js"{,.map}
+}
+


More information about the arch-commits mailing list