mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python3-nbclassic: update to 1.3.1.
This commit is contained in:
parent
fccffba7f9
commit
cfe2bc7371
3 changed files with 7 additions and 58 deletions
|
@ -1,11 +0,0 @@
|
|||
--- a/nbclassic/notebookapp.py
|
||||
+++ b/nbclassic/notebookapp.py
|
||||
@@ -324,7 +324,7 @@ class NotebookApp(
|
||||
router.add_rules(core_rules)
|
||||
router.add_rules(static_handlers)
|
||||
router.add_rules(final_rules)
|
||||
- print("""
|
||||
+ print(r"""
|
||||
_ _ _ _
|
||||
| | | |_ __ __| |__ _| |_ ___
|
||||
| |_| | '_ \/ _` / _` | _/ -_)
|
|
@ -1,41 +0,0 @@
|
|||
From 2545d900b40bbb9fa3ea266afa617e6e0be70c71 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= <lbalhar@redhat.com>
|
||||
Date: Sat, 7 Sep 2024 03:37:00 +0200
|
||||
Subject: [PATCH] Replace pipes with shlex (#286)
|
||||
|
||||
pipes module has been deprecated in Python 3.11 and removed in 3.13. https://peps.python.org/pep-0594/
|
||||
---
|
||||
setupbase.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/setupbase.py b/setupbase.py
|
||||
index 80f28b6eb..4e7a4feec 100644
|
||||
--- a/setupbase.py
|
||||
+++ b/setupbase.py
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
import os
|
||||
import re
|
||||
-import pipes
|
||||
+import shlex
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
from subprocess import list2cmdline
|
||||
else:
|
||||
def list2cmdline(cmd_list):
|
||||
- return ' '.join(map(pipes.quote, cmd_list))
|
||||
+ return ' '.join(map(shlex.quote, cmd_list))
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Useful globals and utility functions
|
||||
@@ -486,7 +486,7 @@ def run(self):
|
||||
try:
|
||||
run(['lessc',
|
||||
'--source-map',
|
||||
- '--include-path=%s' % pipes.quote(static),
|
||||
+ '--include-path=%s' % shlex.quote(static),
|
||||
src,
|
||||
dst,
|
||||
], cwd=repo_root, env=env)
|
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'python3-nbclassic'
|
||||
pkgname=python3-nbclassic
|
||||
version=1.1.0
|
||||
revision=2
|
||||
version=1.3.1
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
make_build_args="--skip-dependency-check"
|
||||
hostmakedepends="python3-jupyter_packaging python3-jupyter_server"
|
||||
depends="mathjax2 python3-notebook_shim"
|
||||
hostmakedepends="hatchling hatch-jupyter-builder python3-jupyter_server
|
||||
python3-setuptools python3-Babel yarn"
|
||||
depends="mathjax2 python3-ipython_ipykernel python3-ipython_genutils
|
||||
python3-nest_asyncio python3-notebook_shim"
|
||||
checkdepends="$depends python3-pytest-jupyter"
|
||||
short_desc="Jupyter Notebook as a Jupyter Server Extension"
|
||||
maintainer="dkwo <npiazza@disroot.org>, Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||
|
@ -13,7 +14,7 @@ license="BSD-3-Clause"
|
|||
homepage="https://github.com/jupyter/nbclassic"
|
||||
changelog="https://raw.githubusercontent.com/jupyter/nbclassic/main/CHANGELOG.md"
|
||||
distfiles="${PYPI_SITE}/n/nbclassic/nbclassic-${version}.tar.gz"
|
||||
checksum=77b77ba85f9e988f9bad85df345b514e9e64c7f0e822992ab1df4a78ac64fc1e
|
||||
checksum=4c52da8fc88f9f73ef512cc305091d5ce726bdca19f44ed697cb5ba12dcaad3c
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue