aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-09 10:10:27 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-09 10:10:27 +0000
commitd40e9759a6fdd93d2aaaac603d6e6188de72c6ef (patch)
treeca2b3f4f960183908ef6672eb3540e233121ef7e
parent63d7ebb671a6a18d59ca0eb5166e4f5afa27a1b7 (diff)
devel/py-referencing: Add py-referencing 0.29.0
referencing is an implementation-agnostic implementation of JSON reference resolution. In other words, a way for e.g. JSON Schema tooling to resolve the $ref keyword across all drafts without needing to implement support themselves.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-referencing/Makefile24
-rw-r--r--devel/py-referencing/distinfo3
-rw-r--r--devel/py-referencing/pkg-descr5
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0e2547c91e57..8b52d18b73a7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5455,6 +5455,7 @@
SUBDIR += py-recurring-ical-events
SUBDIR += py-rednose
SUBDIR += py-reedsolo
+ SUBDIR += py-referencing
SUBDIR += py-remote-pdb
SUBDIR += py-repoze.lru
SUBDIR += py-repoze.sphinx.autointerface
diff --git a/devel/py-referencing/Makefile b/devel/py-referencing/Makefile
new file mode 100644
index 000000000000..bc6efae6a40c
--- /dev/null
+++ b/devel/py-referencing/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= referencing
+PORTVERSION= 0.29.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= JSON Referencing + Python
+WWW= https://github.com/python-jsonschema/referencing
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}rpds-py>=0.7.0:devel/py-rpds-py@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-referencing/distinfo b/devel/py-referencing/distinfo
new file mode 100644
index 000000000000..ff4615652056
--- /dev/null
+++ b/devel/py-referencing/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688166020
+SHA256 (referencing-0.29.0.tar.gz) = 54b64ae36b91827f9f50d05a5af27570a5ca9ba6a1be49809215419d5ab32253
+SIZE (referencing-0.29.0.tar.gz) = 34963
diff --git a/devel/py-referencing/pkg-descr b/devel/py-referencing/pkg-descr
new file mode 100644
index 000000000000..ca15acb13998
--- /dev/null
+++ b/devel/py-referencing/pkg-descr
@@ -0,0 +1,5 @@
+referencing is an implementation-agnostic implementation of JSON reference
+resolution.
+
+In other words, a way for e.g. JSON Schema tooling to resolve the $ref keyword
+across all drafts without needing to implement support themselves.