[arch-commits] Commit in jupyterlab-widgets/repos/community-any (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Sat Aug 27 10:29:23 UTC 2022


    Date: Saturday, August 27, 2022 @ 10:29:23
  Author: arojas
Revision: 1284673

archrelease: copy trunk to community-any

Added:
  jupyterlab-widgets/repos/community-any/PKGBUILD
    (from rev 1284672, jupyterlab-widgets/trunk/PKGBUILD)
Deleted:
  jupyterlab-widgets/repos/community-any/PKGBUILD
  jupyterlab-widgets/repos/community-any/drop-version-constraints.patch

--------------------------------+
 PKGBUILD                       |   62 ++++++++++++++++-----------------------
 drop-version-constraints.patch |    8 -----
 2 files changed, 26 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-27 10:29:13 UTC (rev 1284672)
+++ PKGBUILD	2022-08-27 10:29:23 UTC (rev 1284673)
@@ -1,36 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-_pipname=jupyterlab_widgets
-pkgname=${_pipname/_/-}
-pkgver=1.1.1
-pkgrel=1
-pkgdesc='JupyterLab extension to use ipywidgets'
-arch=(any)
-url='https://jupyter.org/'
-license=(custom)
-depends=(jupyterlab python-ipywidgets)
-makedepends=(python-setuptools python-jupyter_packaging)
-source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz
-        drop-version-constraints.patch)
-sha256sums=('67d0ef1e407e0c42c8ab60b9d901cd7a4c68923650763f75bf17fb06c1943b79'
-            '1e465155b135e86a66bcb0b112025f9a4be3fd0d28afa31ca5cf954e4d0dd4bc')
-
-prepare() {
-  patch -d $_pipname-$pkgver -p1 < drop-version-constraints.patch
-}
-
-build() {
-  cd $_pipname-$pkgver
-  python setup.py build 
-}
-
-package() {
-  cd $_pipname-$pkgver
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-# These should be installed by setup.py, but they are not
-  mkdir -p "$pkgdir"/usr/share/jupyter/labextensions/@jupyter-widgets/
-  cp -r jupyterlab_widgets/labextension "$pkgdir"/usr/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: jupyterlab-widgets/repos/community-any/PKGBUILD (from rev 1284672, jupyterlab-widgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-27 10:29:23 UTC (rev 1284673)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+_pipname=jupyterlab_widgets
+pkgname=${_pipname/_/-}
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='JupyterLab extension to use ipywidgets'
+arch=(any)
+url='https://jupyter.org/'
+license=(custom)
+depends=(jupyterlab python-ipywidgets)
+makedepends=(python-build python-installer python-setuptools python-jupyter_packaging)
+source=(https://pypi.io/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz)
+sha256sums=('47ab54cd165aa0cb3bcef1232d77471580cd2c36bbe2153fc5ba31e26ad87320')
+
+build() {
+  cd $_pipname-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd $_pipname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Deleted: drop-version-constraints.patch
===================================================================
--- drop-version-constraints.patch	2022-08-27 10:29:13 UTC (rev 1284672)
+++ drop-version-constraints.patch	2022-08-27 10:29:23 UTC (rev 1284673)
@@ -1,8 +0,0 @@
-diff -ru jupyterlab_widgets-1.1.0.orig/pyproject.toml jupyterlab_widgets-1.1.0/pyproject.toml
---- jupyterlab_widgets-1.1.0.orig/pyproject.toml	2022-03-16 08:53:32.364140285 +0100
-+++ jupyterlab_widgets-1.1.0/pyproject.toml	2022-03-16 08:54:00.704173882 +0100
-@@ -1,3 +1,3 @@
- [build-system]
--requires = ["jupyter_packaging~=0.7.9", "jupyterlab~=3.0", "setuptools>=40.8.0", "wheel"]
-+requires = ["jupyter_packaging", "jupyterlab", "setuptools>=40.8.0", "wheel"]
- build-backend = "setuptools.build_meta"



More information about the arch-commits mailing list