aboutsummaryrefslogtreecommitdiff
path: root/www/py-http-sf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-http-sf/Makefile')
-rw-r--r--www/py-http-sf/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/py-http-sf/Makefile b/www/py-http-sf/Makefile
new file mode 100644
index 000000000000..9951f557b626
--- /dev/null
+++ b/www/py-http-sf/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= http-sf
+DISTVERSION= 1.0.4
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library for parsing and serializing HTTP Structured Fields (RFC 9651)
+WWW= https://github.com/mnot/http-sf
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENCE.md
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>