pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

www/unit-python: add NGINX Unit's python module.



Module Name:	pkgsrc-wip
Committed By:	Sergey A. Osokin <osa%FreeBSD.org@localhost>
Pushed By:	osa
Date:		Tue Nov 17 17:03:34 2020 -0500
Changeset:	22343fc70166d301a4576903234392ae88071458

Added Files:
	unit-python/DESCR
	unit-python/Makefile

Log Message:
www/unit-python: add NGINX Unit's python module.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=22343fc70166d301a4576903234392ae88071458

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unit-python/DESCR    |  1 +
 unit-python/Makefile | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diffs:
diff --git a/unit-python/DESCR b/unit-python/DESCR
new file mode 100644
index 0000000000..16a9ccf931
--- /dev/null
+++ b/unit-python/DESCR
@@ -0,0 +1 @@
+Perl module for NGINX Unit.
diff --git a/unit-python/Makefile b/unit-python/Makefile
new file mode 100644
index 0000000000..c2c0818c5a
--- /dev/null
+++ b/unit-python/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+PKGNAME=	unit-${LANG}-${UNIT_VERSION}
+COMMENT=	Python module for NGINX Unit
+
+LANG=		python
+MODNAME=	${LANG}
+
+MAINTAINER=	osa%FreeBSD.org@localhost
+
+USE_LANGUAGES+=	c
+
+post-configure:
+	cd ${WRKSRC} && \
+	./configure ${LANG} --module=${MODNAME} \
+		--config=${LANG}${PYVERSSUFFIX}-config
+
+.include "../../lang/${LANG}/application.mk"
+.include "../../www/unit/ext.mk"
+.include "../../www/unit/Makefile.common"
+.include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index