aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2022-10-13 11:57:14 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2022-10-13 11:57:14 +0000
commit235dea12c2cc162ccd3816b8ecad4db884aff510 (patch)
treef97267db653a06a4cc9419c49870a96b1b724e54
parent96e74edde06cc045cc2decbc3e1bf9cc137ec640 (diff)
downloadports-235dea12c2cc162ccd3816b8ecad4db884aff510.tar.gz
ports-235dea12c2cc162ccd3816b8ecad4db884aff510.zip
devel/py-nbformat: install schema files
This fixes jupyter runtime, as reported in PR. PR: 266855 Reported by: p5B2EA84B3@t-online.de With hat: python
-rw-r--r--devel/py-nbformat/Makefile1
-rw-r--r--devel/py-nbformat/files/setup.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/devel/py-nbformat/Makefile b/devel/py-nbformat/Makefile
index 00e2125f50fa..53c6b0fa0acb 100644
--- a/devel/py-nbformat/Makefile
+++ b/devel/py-nbformat/Makefile
@@ -1,5 +1,6 @@
PORTNAME= nbformat
PORTVERSION= 5.6.1
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-nbformat/files/setup.py b/devel/py-nbformat/files/setup.py
index cd3b8fa09126..d50fbf6e8916 100644
--- a/devel/py-nbformat/files/setup.py
+++ b/devel/py-nbformat/files/setup.py
@@ -54,4 +54,9 @@ setup(
'tests.v3',
'tests.v4',
],
+ package_data = {
+ 'nbformat' : [
+ '**/nbformat.**.schema.json',
+ ]
+ },
)