git: 235dea12c2cc - main - devel/py-nbformat: install schema files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Oct 2022 11:59:07 UTC
The branch main has been updated by rm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=235dea12c2cc162ccd3816b8ecad4db884aff510
commit 235dea12c2cc162ccd3816b8ecad4db884aff510
Author: Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2022-10-13 11:57:14 +0000
Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2022-10-13 11:57:14 +0000
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
---
devel/py-nbformat/Makefile | 1 +
devel/py-nbformat/files/setup.py | 5 +++++
2 files changed, 6 insertions(+)
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',
+ ]
+ },
)