Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 10:33:36 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d40e9759a6fd - main - devel/py-referencing: Add py-referencing 0.29.0
Message-ID:  <202307091033.369AXaZA055271@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d40e9759a6fdd93d2aaaac603d6e6188de72c6ef

commit d40e9759a6fdd93d2aaaac603d6e6188de72c6ef
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:10:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:10:27 +0000

    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.
---
 devel/Makefile                 |  1 +
 devel/py-referencing/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-referencing/distinfo  |  3 +++
 devel/py-referencing/pkg-descr |  5 +++++
 4 files changed, 33 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307091033.369AXaZA055271>