summaryrefslogtreecommitdiff
path: root/www/py-rfc3987-syntax
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-rfc3987-syntax')
-rw-r--r--www/py-rfc3987-syntax/Makefile23
-rw-r--r--www/py-rfc3987-syntax/distinfo3
-rw-r--r--www/py-rfc3987-syntax/pkg-descr11
3 files changed, 37 insertions, 0 deletions
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