Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-nbdime


Commits:
989bd251 by Antonio Rojas at 2024-10-20T17:41:22+02:00
upgpkg: 4.0.2-1: Update to 4.0.2

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- − jupyter-server-2.13.diff


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-nbdime
        pkgdesc = Diff and merge of Jupyter Notebooks
-       pkgver = 4.0.1
-       pkgrel = 3
+       pkgver = 4.0.2
+       pkgrel = 1
        url = https://github.com/jupyter/nbdime
        arch = any
        license = BSD-3-Clause
@@ -36,9 +36,7 @@ pkgbase = python-nbdime
        optdepends = python-packaging: support for notebook 6
        provides = jupyterlab-extension-nbdime
        provides = jupyter-nbdime
-       source = 
https://github.com/jupyter/nbdime/archive/4.0.1/nbdime-4.0.1.tar.gz
-       source = jupyter-server-2.13.diff
-       sha256sums = 
e211c7ccc3e4e3026306efa3c1283326b08a0958ec0e2b894a95606bfaed8982
-       sha256sums = 
c70b0842e79379d69c02bbe42c6f7a462bd580ee42fbb74b5b90aa7aac9d998a
+       source = 
https://github.com/jupyter/nbdime/archive/v4.0.2/nbdime-4.0.2.tar.gz
+       sha256sums = 
30cbcb70f575d9d74d94c7bbb363930f8557588b143609bcc276472accf9a7fb
 
 pkgname = python-nbdime


=====================================
PKGBUILD
=====================================
@@ -4,8 +4,8 @@
 # Contributor: Dominik Stańczak <stanczakdominik at gmail dot com>
 
 pkgname=python-nbdime
-pkgver=4.0.1
-pkgrel=3
+pkgver=4.0.2
+pkgrel=1
 pkgdesc='Diff and merge of Jupyter Notebooks'
 url='https://github.com/jupyter/nbdime'
 makedepends=(python-build python-installer
@@ -34,10 +34,8 @@ provides=(jupyterlab-extension-nbdime jupyter-nbdime)
 # https://github.com/jupyter/nbdime/blob/4.0.1/LICENSE.md
 license=(BSD-3-Clause)
 arch=(any)
-source=(https://github.com/jupyter/nbdime/archive/$pkgver/nbdime-$pkgver.tar.gz
-        jupyter-server-2.13.diff)
-sha256sums=('e211c7ccc3e4e3026306efa3c1283326b08a0958ec0e2b894a95606bfaed8982'
-            'c70b0842e79379d69c02bbe42c6f7a462bd580ee42fbb74b5b90aa7aac9d998a')
+source=(https://github.com/jupyter/nbdime/archive/v$pkgver/nbdime-$pkgver.tar.gz)
+sha256sums=('30cbcb70f575d9d74d94c7bbb363930f8557588b143609bcc276472accf9a7fb')
 
 prepare() {
   cd nbdime-$pkgver
@@ -48,9 +46,6 @@ prepare() {
     name = builduser
     email = builduser@archlinux
 EOF
-
-  # Work-around https://github.com/jupyter/nbdime/issues/749
-  patch -Np1 -i ../jupyter-server-2.13.diff
 }
 
 build() {


=====================================
jupyter-server-2.13.diff deleted
=====================================
@@ -1,12 +0,0 @@
-diff --git a/nbdime/webapp/nbdimeserver.py b/nbdime/webapp/nbdimeserver.py
-index e4d98b6..4c35c7f 100644
---- a/nbdime/webapp/nbdimeserver.py
-+++ b/nbdime/webapp/nbdimeserver.py
-@@ -388,6 +388,7 @@ def make_app(**params):
-         'jinja2_env': env,
-         'local_hostnames': ['localhost', '127.0.0.1'],
-         'cookie_secret': base64.encodebytes(os.urandom(32)), # Needed even 
for an unsecured server.
-+        'allow_unauthenticated_access': True,
-     }
- 
-     try:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-nbdime/-/commit/989bd251d34e2e86c76bfb55bc885ca89ce9e231

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-nbdime/-/commit/989bd251d34e2e86c76bfb55bc885ca89ce9e231
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to