aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-19 19:46:18 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-19 19:46:18 +0000
commitfb4e195644081adaac689269236ff161ad051027 (patch)
treea972cf980a49d087774b2f463197aec7538e8c48
parentefb3572275de1c6e1a25a8e13b8731b963a0dfda (diff)
downloadports-fb4e195644081adaac689269236ff161ad051027.tar.gz
ports-fb4e195644081adaac689269236ff161ad051027.zip
www/py-aiohttp-jinja2: New port: template renderer for aiohttp.web (http server for asyncio)
jinja2 template renderer for aiohttp.web
-rw-r--r--www/Makefile1
-rw-r--r--www/py-aiohttp-jinja2/Makefile20
-rw-r--r--www/py-aiohttp-jinja2/distinfo3
-rw-r--r--www/py-aiohttp-jinja2/pkg-descr1
4 files changed, 25 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 2f982fb7d20d..0e4ab62610c4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1421,6 +1421,7 @@
SUBDIR += py-adblock
SUBDIR += py-aioh2
SUBDIR += py-aiohttp
+ SUBDIR += py-aiohttp-jinja2
SUBDIR += py-aiohttp-middlewares
SUBDIR += py-aiohttp-oauthlib
SUBDIR += py-aiohttp-session
diff --git a/www/py-aiohttp-jinja2/Makefile b/www/py-aiohttp-jinja2/Makefile
new file mode 100644
index 000000000000..8edbcb3732de
--- /dev/null
+++ b/www/py-aiohttp-jinja2/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= aiohttp-jinja2
+DISTVERSION= 1.5.1
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= template renderer for aiohttp.web (http server for asyncio)
+WWW= https://github.com/aio-libs/aiohttp-jinja2
+
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}
+
+USES= cpe python:3.8+
+CPE_VENDOR= ${PORTNAME}_project
+USE_PYTHON= autoplist distutils cython
+
+.include <bsd.port.mk>
diff --git a/www/py-aiohttp-jinja2/distinfo b/www/py-aiohttp-jinja2/distinfo
new file mode 100644
index 000000000000..4f66f127ee02
--- /dev/null
+++ b/www/py-aiohttp-jinja2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681932939
+SHA256 (aiohttp-jinja2-1.5.1.tar.gz) = 8d149b2a57d91f794b33a394ea5bc66b567f38c74a5a6a9477afc2450f105c01
+SIZE (aiohttp-jinja2-1.5.1.tar.gz) = 52741
diff --git a/www/py-aiohttp-jinja2/pkg-descr b/www/py-aiohttp-jinja2/pkg-descr
new file mode 100644
index 000000000000..e3aca0df1a8c
--- /dev/null
+++ b/www/py-aiohttp-jinja2/pkg-descr
@@ -0,0 +1 @@
+jinja2 template renderer for aiohttp.web