[arch-commits] Commit in jupyterlab-widgets/trunk (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Mar 16 08:30:53 UTC 2022
Date: Wednesday, March 16, 2022 @ 08:30:53
Author: arojas
Revision: 1155319
Update to 1.1.0
Added:
jupyterlab-widgets/trunk/drop-version-constraints.patch
Modified:
jupyterlab-widgets/trunk/PKGBUILD
Deleted:
jupyterlab-widgets/trunk/drop-ensure_python.patch
--------------------------------+
PKGBUILD | 15 +++++++--------
drop-ensure_python.patch | 22 ----------------------
drop-version-constraints.patch | 8 ++++++++
3 files changed, 15 insertions(+), 30 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-16 08:19:55 UTC (rev 1155318)
+++ PKGBUILD 2022-03-16 08:30:53 UTC (rev 1155319)
@@ -2,8 +2,8 @@
_pipname=jupyterlab_widgets
pkgname=${_pipname/_/-}
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
pkgdesc='JupyterLab extension to use ipywidgets'
arch=(any)
url='https://jupyter.org/'
@@ -11,13 +11,12 @@
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-ensure_python.patch)
-sha256sums=('7885092b2b96bf189c3a705cc3c412a4472ec5e8382d0b47219a66cccae73cfa'
- '444045fbd2ac725d78936cb6e7d1306ad0e160a8c7e81b95c7e4419e0d10fa3b')
+ drop-version-constraints.patch)
+sha256sums=('d5f41bc1713795385f718d44dcba47e1e1473c6289f28a95aa6b2c0782ee372a'
+ '1e465155b135e86a66bcb0b112025f9a4be3fd0d28afa31ca5cf954e4d0dd4bc')
prepare() {
- cd $_pipname-$pkgver
- patch -Np1 -i ../drop-ensure_python.patch
+ patch -d $_pipname-$pkgver -p1 < drop-version-constraints.patch
}
build() {
@@ -33,5 +32,5 @@
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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
Deleted: drop-ensure_python.patch
===================================================================
--- drop-ensure_python.patch 2022-03-16 08:19:55 UTC (rev 1155318)
+++ drop-ensure_python.patch 2022-03-16 08:30:53 UTC (rev 1155319)
@@ -1,22 +0,0 @@
-diff -upr jupyterlab_widgets-1.0.2.orig/setup.py jupyterlab_widgets-1.0.2/setup.py
---- jupyterlab_widgets-1.0.2.orig/setup.py 2021-09-14 02:30:14.000000000 +0300
-+++ jupyterlab_widgets-1.0.2/setup.py 2021-12-03 19:44:10.702567429 +0200
-@@ -5,7 +5,7 @@ import os
-
- from jupyter_packaging import (
- create_cmdclass, install_npm, ensure_targets,
-- combine_commands, ensure_python, get_version,
-+ combine_commands, get_version,
- )
- import setuptools
-
-@@ -14,9 +14,6 @@ HERE = os.path.abspath(os.path.dirname(_
- # The name of the project
- name = "jupyterlab_widgets"
-
--# Ensure a valid python version
--ensure_python(">=3.6")
--
- # Get our version
- version = get_version(os.path.join(name, "_version.py"))
-
Added: drop-version-constraints.patch
===================================================================
--- drop-version-constraints.patch (rev 0)
+++ drop-version-constraints.patch 2022-03-16 08:30:53 UTC (rev 1155319)
@@ -0,0 +1,8 @@
+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