aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 18:35:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 19:19:53 +0000
commit5dfd9de053b882abcc33f6befc25b16ca49239bb (patch)
tree388ab8c94d526c45c29a293eea92ec94e451cb36
parentc42e6ba699fc665c610fcf075a1d927bd300b8c2 (diff)
net/py-uri-template: Add py-uri-template 1.2.0
uri_template implements URI Template expansion in strict adherence to RFC 6570, but adds a few extensions.
-rw-r--r--net/Makefile1
-rw-r--r--net/py-uri-template/Makefile20
-rw-r--r--net/py-uri-template/distinfo3
-rw-r--r--net/py-uri-template/pkg-descr2
4 files changed, 26 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index d20865669d0d..0a62af3e6f18 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1155,6 +1155,7 @@
SUBDIR += py-twitter-tools
SUBDIR += py-txamqp
SUBDIR += py-txrestapi
+ SUBDIR += py-uri-template
SUBDIR += py-uritemplate
SUBDIR += py-uritools
SUBDIR += py-url-normalize
diff --git a/net/py-uri-template/Makefile b/net/py-uri-template/Makefile
new file mode 100644
index 000000000000..ee9631620ca5
--- /dev/null
+++ b/net/py-uri-template/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= uri-template
+PORTVERSION= 1.2.0
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= uri_template-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= RFC 6570 URI Template Processor
+WWW= https://github.com/plinss/uri_template
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/net/py-uri-template/distinfo b/net/py-uri-template/distinfo
new file mode 100644
index 000000000000..22bec7b8de0a
--- /dev/null
+++ b/net/py-uri-template/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770947
+SHA256 (uri_template-1.2.0.tar.gz) = 934e4d09d108b70eb8a24410af8615294d09d279ce0e7cbcdaef1bd21f932b06
+SIZE (uri_template-1.2.0.tar.gz) = 8975
diff --git a/net/py-uri-template/pkg-descr b/net/py-uri-template/pkg-descr
new file mode 100644
index 000000000000..db9ec85cee82
--- /dev/null
+++ b/net/py-uri-template/pkg-descr
@@ -0,0 +1,2 @@
+uri_template implements URI Template expansion in strict adherence to RFC 6570,
+but adds a few extensions.