[arch-commits] Commit in jupyterlab-widgets/repos/community-any (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jun 22 18:33:19 UTC 2022
Date: Wednesday, June 22, 2022 @ 18:33:19
Author: arojas
Revision: 1239000
archrelease: copy trunk to community-any
Added:
jupyterlab-widgets/repos/community-any/PKGBUILD
(from rev 1238999, jupyterlab-widgets/trunk/PKGBUILD)
jupyterlab-widgets/repos/community-any/drop-version-constraints.patch
(from rev 1238999, jupyterlab-widgets/trunk/drop-version-constraints.patch)
Deleted:
jupyterlab-widgets/repos/community-any/PKGBUILD
jupyterlab-widgets/repos/community-any/drop-ensure_python.patch
--------------------------------+
PKGBUILD | 73 +++++++++++++++++++--------------------
drop-ensure_python.patch | 22 -----------
drop-version-constraints.patch | 8 ++++
3 files changed, 44 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-22 18:33:07 UTC (rev 1238999)
+++ PKGBUILD 2022-06-22 18:33:19 UTC (rev 1239000)
@@ -1,37 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-_pipname=jupyterlab_widgets
-pkgname=${_pipname/_/-}
-pkgver=1.0.2
-pkgrel=2
-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-ensure_python.patch)
-sha256sums=('7885092b2b96bf189c3a705cc3c412a4472ec5e8382d0b47219a66cccae73cfa'
- '444045fbd2ac725d78936cb6e7d1306ad0e160a8c7e81b95c7e4419e0d10fa3b')
-
-prepare() {
- cd $_pipname-$pkgver
- patch -Np1 -i ../drop-ensure_python.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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: jupyterlab-widgets/repos/community-any/PKGBUILD (from rev 1238999, jupyterlab-widgets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-22 18:33:19 UTC (rev 1239000)
@@ -0,0 +1,36 @@
+# 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
+}
Deleted: drop-ensure_python.patch
===================================================================
--- drop-ensure_python.patch 2022-06-22 18:33:07 UTC (rev 1238999)
+++ drop-ensure_python.patch 2022-06-22 18:33:19 UTC (rev 1239000)
@@ -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"))
-
Copied: jupyterlab-widgets/repos/community-any/drop-version-constraints.patch (from rev 1238999, jupyterlab-widgets/trunk/drop-version-constraints.patch)
===================================================================
--- drop-version-constraints.patch (rev 0)
+++ drop-version-constraints.patch 2022-06-22 18:33:19 UTC (rev 1239000)
@@ -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