changeset 62:d88a803c3b1e

Build "greenlet" plugins for Python3 and Python3.6
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 10 Mar 2019 16:13:45 +0100
parents 759ad8bcc89d
children 21b29894c66b
files uwsginl-plugin-greenlet3/Makefile uwsginl-plugin-greenlet3/pkg-descr uwsginl-plugin-greenlet36/Makefile uwsginl-plugin-greenlet36/pkg-descr
diffstat 4 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-greenlet3/Makefile	Sun Mar 10 16:13:45 2019 +0100
@@ -0,0 +1,16 @@
+# Created by: Franz Glasner <freebsd-dev-@dom66.de>
+# $FreeBSD$
+
+PORTNAME=	${UWSGI_NAME}-plugin-${PLUGIN_NAME}
+
+COMMENT=	Python3 greenlet plugin for ${UWSGI_NAME}
+
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
+
+PLUGIN_NAME=	greenlet3
+PLUGIN_SOURCE=	plugins/greenlet
+
+MASTERDIR=	${.CURDIR}/../uwsginl-plugin-lang-py3
+
+.include	"${MASTERDIR}/Makefile"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-greenlet3/pkg-descr	Sun Mar 10 16:13:45 2019 +0100
@@ -0,0 +1,4 @@
+Python3 greenlet plugin for uwsginl.
+Links to the default Python3 version on the system.
+
+WWW: https://projects.unbit.it/uwsgi/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-greenlet36/Makefile	Sun Mar 10 16:13:45 2019 +0100
@@ -0,0 +1,18 @@
+# Created by: Franz Glasner <freebsd-dev-@dom66.de>
+# $FreeBSD$
+
+PORTNAME=	${UWSGI_NAME}-plugin-${PLUGIN_NAME}
+
+COMMENT=	Python3.6 gevent plugin for ${UWSGI_NAME}
+
+USES=		python:3.6 gettext-runtime
+
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4:devel/py-greenlet@${PY_FLAVOR}
+
+PLUGIN_NAME=	greenlet36
+PLUGIN_SOURCE=	plugins/greenlet
+
+MASTERDIR=	${.CURDIR}/../uwsginl-plugin-lang-py3
+
+.include	"${MASTERDIR}/Makefile"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-greenlet36/pkg-descr	Sun Mar 10 16:13:45 2019 +0100
@@ -0,0 +1,4 @@
+Python3.6 greenlet plugin for uwsginl.
+Links to Python 3.6.
+
+WWW: https://projects.unbit.it/uwsgi/