[arch-commits] Commit in jupyter-widgetsnbextension/repos/community-any (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 16 07:48:51 UTC 2022
Date: Wednesday, March 16, 2022 @ 07:48:49
Author: arojas
Revision: 1155305
archrelease: copy trunk to community-any
Added:
jupyter-widgetsnbextension/repos/community-any/PKGBUILD
(from rev 1155304, jupyter-widgetsnbextension/trunk/PKGBUILD)
Deleted:
jupyter-widgetsnbextension/repos/community-any/PKGBUILD
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-16 07:48:30 UTC (rev 1155304)
+++ PKGBUILD 2022-03-16 07:48:49 UTC (rev 1155305)
@@ -1,26 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=jupyter-widgetsnbextension
-pkgver=3.5.2
-pkgrel=1
-epoch=1
-pkgdesc="Interactive HTML widgets for Jupyter notebooks"
-arch=('any')
-url="https://pypi.python.org/pypi/widgetsnbextension"
-license=('BSD')
-depends=('jupyter-notebook')
-source=("https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-$pkgver.tar.gz")
-md5sums=('c126a06559afe658e285bcd483790710')
-
-build() {
- cd "widgetsnbextension-$pkgver"
- python setup.py build
-}
-
-package() {
- cd "widgetsnbextension-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- mv "$pkgdir/usr/etc" "$pkgdir/etc"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: jupyter-widgetsnbextension/repos/community-any/PKGBUILD (from rev 1155304, jupyter-widgetsnbextension/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-16 07:48:49 UTC (rev 1155305)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=jupyter-widgetsnbextension
+pkgver=3.6.0
+pkgrel=1
+epoch=1
+pkgdesc="Interactive HTML widgets for Jupyter notebooks"
+arch=('any')
+url="https://pypi.python.org/pypi/widgetsnbextension"
+license=('BSD')
+depends=('jupyter-notebook')
+makedepends=('python-build' 'python-installer' 'python-wheel')
+source=("https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-$pkgver.tar.gz")
+md5sums=('60c9ddbc7a04ff3c92c5570ec063f9b0')
+
+build() {
+ cd widgetsnbextension-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd widgetsnbextension-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ mv "$pkgdir/usr/etc" "$pkgdir/etc"
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list