git: 5dfd9de053b8 - main - net/py-uri-template: Add py-uri-template 1.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:24:00 UTC
The branch main has been updated by sunpoet:

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

commit 5dfd9de053b882abcc33f6befc25b16ca49239bb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:53 +0000

    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.
---
 net/Makefile                  |  1 +
 net/py-uri-template/Makefile  | 20 ++++++++++++++++++++
 net/py-uri-template/distinfo  |  3 +++
 net/py-uri-template/pkg-descr |  2 ++
 4 files changed, 26 insertions(+)

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.