git: f9dd5cffd255 - main - devel/py-nbclassic: Do not install jupyter-{bundler,nb,server}extension
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Jul 2022 06:02:10 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f9dd5cffd2551bdc6e2553a6ecdd8729a578a545
commit f9dd5cffd2551bdc6e2553a6ecdd8729a578a545
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-30 05:57:56 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-30 05:57:56 +0000
devel/py-nbclassic: Do not install jupyter-{bundler,nb,server}extension
- Bump PORTREVISION for package change
It avoids conflicts with py-notebook.
---
devel/py-nbclassic/Makefile | 1 +
devel/py-nbclassic/files/patch-setup.py | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/devel/py-nbclassic/Makefile b/devel/py-nbclassic/Makefile
index 8998aa0e2adc..8e21407ddb63 100644
--- a/devel/py-nbclassic/Makefile
+++ b/devel/py-nbclassic/Makefile
@@ -1,5 +1,6 @@
PORTNAME= nbclassic
PORTVERSION= 0.4.3
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
https://github.com/jupyter/nbclassic/releases/download/v${PORTVERSION}/
diff --git a/devel/py-nbclassic/files/patch-setup.py b/devel/py-nbclassic/files/patch-setup.py
new file mode 100644
index 000000000000..77dd72da70b4
--- /dev/null
+++ b/devel/py-nbclassic/files/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig 2022-07-12 06:33:06 UTC
++++ setup.py
+@@ -133,9 +133,6 @@ for more information.
+ entry_points = {
+ 'console_scripts': [
+ 'jupyter-nbclassic = nbclassic.notebookapp:main',
+- 'jupyter-nbextension = nbclassic.nbextensions:main',
+- 'jupyter-serverextension = nbclassic.serverextensions:main',
+- 'jupyter-bundlerextension = nbclassic.bundler.bundlerextensions:main',
+ ]
+ },
+ )