git: 0ce140dfe96a - main - devel/py-jsonschema-path: Add py-jsonschema-path 0.3.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 16:00:28 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0ce140dfe96a64cbba55f130292bdf938685fc7a
commit 0ce140dfe96a64cbba55f130292bdf938685fc7a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-16 15:11:18 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 15:59:38 +0000
devel/py-jsonschema-path: Add py-jsonschema-path 0.3.1
JSONSchema Path provides object-oriented JSONSchema.
Key features:
- Traverse schema like paths
- Access schema on demand with separate dereferencing accessor layer
---
devel/Makefile | 1 +
devel/py-jsonschema-path/Makefile | 26 ++++++++++++++++++++++++++
devel/py-jsonschema-path/distinfo | 3 +++
devel/py-jsonschema-path/pkg-descr | 5 +++++
4 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 73a48ad28bc1..02369adbc432 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4886,6 +4886,7 @@
SUBDIR += py-jsonref
SUBDIR += py-jsonrpclib-pelix
SUBDIR += py-jsonschema
+ SUBDIR += py-jsonschema-path
SUBDIR += py-jsonschema-spec
SUBDIR += py-jsonschema-specifications
SUBDIR += py-jsonschema3
diff --git a/devel/py-jsonschema-path/Makefile b/devel/py-jsonschema-path/Makefile
new file mode 100644
index 000000000000..a7a9c38405b2
--- /dev/null
+++ b/devel/py-jsonschema-path/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= jsonschema-path
+PORTVERSION= 0.3.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= jsonschema_path-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= JSONSchema Spec with object-oriented paths
+WWW= https://github.com/p1c2u/jsonschema-path
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathable>=0.4.1<0.5:devel/py-pathable@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}referencing>=0.28.0<0.31.0:devel/py-referencing@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0<3:www/py-requests@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jsonschema-path/distinfo b/devel/py-jsonschema-path/distinfo
new file mode 100644
index 000000000000..f16525f45edf
--- /dev/null
+++ b/devel/py-jsonschema-path/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697463032
+SHA256 (jsonschema_path-0.3.1.tar.gz) = 07ea584b5c9b41a614b4d011c5575955676f48d0abbfd93d9ea8e933018d716d
+SIZE (jsonschema_path-0.3.1.tar.gz) = 11588
diff --git a/devel/py-jsonschema-path/pkg-descr b/devel/py-jsonschema-path/pkg-descr
new file mode 100644
index 000000000000..d62e291153da
--- /dev/null
+++ b/devel/py-jsonschema-path/pkg-descr
@@ -0,0 +1,5 @@
+JSONSchema Path provides object-oriented JSONSchema.
+
+Key features:
+- Traverse schema like paths
+- Access schema on demand with separate dereferencing accessor layer