git: 8875ce7ae3e8 - main - www/py-rfc3987-syntax: Add py-rfc3987-syntax 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 23 Jul 2025 07:26:33 UTC
The branch main has been updated by sunpoet:

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

commit 8875ce7ae3e8d3e2b31d25f8cf25ca0f9ed18a2c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-07-23 07:11:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-07-23 07:23:06 +0000

    www/py-rfc3987-syntax: Add py-rfc3987-syntax 1.1.0
    
    rfc3987-syntax provides helper functions to parse and validate the syntax of
    terms defined in RFC 3987 -- the IETF standard for Internationalized Resource
    Identifiers (IRIs).
    
    The goal of rfc3987-syntax is to provide a lightweight, permissively licensed
    Python module for validating that strings conform to the ABNF grammar defined in
    RFC 3987. These helpers are:
    - Strictly aligned with the syntax rules of RFC 3987
    - Built using a permissive MIT license
    - Designed for both open source and proprietary use
    - Powered by Lark, a fast, EBNF-based parser
---
 www/Makefile                    |  1 +
 www/py-rfc3987-syntax/Makefile  | 23 +++++++++++++++++++++++
 www/py-rfc3987-syntax/distinfo  |  3 +++
 www/py-rfc3987-syntax/pkg-descr | 11 +++++++++++
 4 files changed, 38 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 1446c2b57c5b..434570735c04 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1908,6 +1908,7 @@
     SUBDIR += py-restclient
     SUBDIR += py-rfc3986
     SUBDIR += py-rfc3987
+    SUBDIR += py-rfc3987-syntax
     SUBDIR += py-rollbar
     SUBDIR += py-routes
     SUBDIR += py-rules
diff --git a/www/py-rfc3987-syntax/Makefile b/www/py-rfc3987-syntax/Makefile
new file mode 100644
index 000000000000..ce164ab080b1
--- /dev/null
+++ b/www/py-rfc3987-syntax/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	rfc3987-syntax
+PORTVERSION=	1.1.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	rfc3987_syntax-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Helper functions to syntactically validate strings according to RFC 3987
+WWW=		https://github.com/willynilly/rfc3987-syntax
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lark>=1.2.2:devel/py-lark@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-rfc3987-syntax/distinfo b/www/py-rfc3987-syntax/distinfo
new file mode 100644
index 000000000000..84e591b5d264
--- /dev/null
+++ b/www/py-rfc3987-syntax/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1753213880
+SHA256 (rfc3987_syntax-1.1.0.tar.gz) = 717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d
+SIZE (rfc3987_syntax-1.1.0.tar.gz) = 14239
diff --git a/www/py-rfc3987-syntax/pkg-descr b/www/py-rfc3987-syntax/pkg-descr
new file mode 100644
index 000000000000..afc27d822cbc
--- /dev/null
+++ b/www/py-rfc3987-syntax/pkg-descr
@@ -0,0 +1,11 @@
+rfc3987-syntax provides helper functions to parse and validate the syntax of
+terms defined in RFC 3987 -- the IETF standard for Internationalized Resource
+Identifiers (IRIs).
+
+The goal of rfc3987-syntax is to provide a lightweight, permissively licensed
+Python module for validating that strings conform to the ABNF grammar defined in
+RFC 3987. These helpers are:
+- Strictly aligned with the syntax rules of RFC 3987
+- Built using a permissive MIT license
+- Designed for both open source and proprietary use
+- Powered by Lark, a fast, EBNF-based parser