Date: Tuesday, December 13, 2022 @ 23:35:25
Author: arojas
Revision: 1358991
archrelease: copy trunk to community-any
Added:
python-ipywidgets/repos/community-any/PKGBUILD
(from rev 1358990, python-ipywidgets/trunk/PKGBUILD)
Deleted:
python-ipywidgets/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 39 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-13 23:35:15 UTC (rev 1358990)
+++ PKGBUILD 2022-12-13 23:35:25 UTC (rev 1358991)
@@ -1,32 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-
-pkgname=python-ipywidgets
-_pipname=ipywidgets
-pkgver=8.0.3
-pkgrel=1
-pkgdesc="IPython HTML widgets for Jupyter"
-arch=('any')
-url="https://github.com/ipython/ipywidgets"
-license=('BSD')
-depends=('python-ipykernel' 'python-jsonschema' 'python-ipython-genutils')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-optdepends=('jupyterlab-widgets: widgets for Jupyter lab'
'jupyter-widgetsnbextension: widgets for the legacy notebook')
-checkdepends=('python-pytest' 'python-pytz')
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
-sha256sums=('2ec50df8538a1d4ddd5d454830d010922ad1015e81ac23efb27c0908bbc1eece')
-
-build() {
- cd ipywidgets-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd ipywidgets-$pkgver
- pytest -v
-}
-
-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 1358990,
python-ipywidgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-13 23:35:25 UTC (rev 1358991)
@@ -0,0 +1,39 @@
+# Maintainer: Kyle Keen <[email protected]>
+
+pkgname=python-ipywidgets
+_pipname=ipywidgets
+pkgver=8.0.3
+pkgrel=2
+pkgdesc="IPython HTML widgets for Jupyter"
+arch=('any')
+url="https://github.com/ipython/ipywidgets"
+license=('BSD')
+depends=('python-ipykernel' 'python-jsonschema' 'python-ipython-genutils')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+optdepends=('jupyterlab-widgets: widgets for Jupyter lab'
'jupyter-widgetsnbextension: widgets for the legacy notebook')
+checkdepends=('python-pytest' 'python-pytz')
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz
+ https://github.com/jupyter-widgets/ipywidgets/commit/56a39f74.patch)
+sha256sums=('2ec50df8538a1d4ddd5d454830d010922ad1015e81ac23efb27c0908bbc1eece'
+ '0cb7a44c8a391a892caf7980aff798c063d0e37ade991472696d41d7ae4a7e6b')
+
+prepare() {
+ cd ipywidgets-$pkgver
+ patch -p3 < ../56a39f74.patch # Fix deprecation warnings
+}
+
+build() {
+ cd ipywidgets-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd ipywidgets-$pkgver
+ pytest -v
+}
+
+package() {
+ cd ipywidgets-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}