[arch-commits] Commit in python-ipywidgets/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 16 08:19:55 UTC 2022
Date: Wednesday, March 16, 2022 @ 08:19:55
Author: arojas
Revision: 1155318
archrelease: copy trunk to community-any
Added:
python-ipywidgets/repos/community-any/PKGBUILD
(from rev 1155317, python-ipywidgets/trunk/PKGBUILD)
Deleted:
python-ipywidgets/repos/community-any/PKGBUILD
----------+
PKGBUILD | 56 +++++++++++++++++++++++++++++++-------------------------
1 file changed, 31 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-16 08:19:41 UTC (rev 1155317)
+++ PKGBUILD 2022-03-16 08:19:55 UTC (rev 1155318)
@@ -1,25 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-ipywidgets
-_pipname=ipywidgets
-pkgver=7.7.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-build' 'python-installer' 'python-wheel')
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-md5sums=('61deb9024c3de1848812b97c2560d0cf')
-
-build() {
- cd ipywidgets-$pkgver
- python -m build --wheel --no-isolation
-}
-
-package() {
- cd ipywidgets-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}
Copied: python-ipywidgets/repos/community-any/PKGBUILD (from rev 1155317, python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-16 08:19:55 UTC (rev 1155318)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ipywidgets
+_pipname=ipywidgets
+pkgver=7.7.0
+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-build' 'python-installer' 'python-wheel')
+checkdepends=('python-pytest')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+md5sums=('61deb9024c3de1848812b97c2560d0cf')
+
+build() {
+ cd ipywidgets-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd ipywidgets-$pkgver
+ pytest -vv
+}
+
+package() {
+ cd ipywidgets-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list