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

Kyle Keen kkeen at archlinux.org
Fri Jul 19 06:34:31 UTC 2019


    Date: Friday, July 19, 2019 @ 06:34:31
  Author: kkeen
Revision: 491970

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-19 06:34:11 UTC (rev 491969)
+++ PKGBUILD	2019-07-19 06:34:31 UTC (rev 491970)
@@ -1,55 +0,0 @@
-# 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}
-}
-

Copied: python-ipywidgets/repos/community-any/PKGBUILD (from rev 491969, python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-19 06:34:31 UTC (rev 491970)
@@ -0,0 +1,55 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-ipywidgets
+pkgname=(python-ipywidgets python2-ipywidgets)
+pkgver=7.5.0
+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=('303a691b36f8fea409d8a8118c61a6c2')
+
+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