changeset 30:cb20e897a53c

Prepare for a common repo: move all files into an extra subdirectory uwsginl-plugin-lang-py3
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 09 Mar 2019 13:23:13 +0100
parents 3ee3540aa2b0
children 3847d23cd66a
files .hgignore Makefile distinfo pkg-descr uwsginl-plugin-lang-py3/Makefile uwsginl-plugin-lang-py3/distinfo uwsginl-plugin-lang-py3/pkg-descr
diffstat 7 files changed, 66 insertions(+), 69 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Feb 21 22:38:14 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-syntax: regexp
-
-^work/
--- a/Makefile	Wed Feb 21 22:38:14 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-# Created by: Franz Glasner <freebsd-dev@dom66.de>
-# $FreeBSD$
-
-PORTNAME?=	${UWSGI_NAME}-plugin-lang-py3
-DISTVERSION=	2.0.16
-PORTREVISION?=	0
-CATEGORIES?=	www python
-MASTER_SITES=	http://projects.unbit.it/downloads/
-DISTNAME=	uwsgi-${DISTVERSION}
-
-MAINTAINER?=	freebsd-dev@dom66.de
-COMMENT?=	Language plugin for Python 3 (OS default)
-
-LICENSE=	GPLv2-WITH-LINKING-EXCEPTION
-LICENSE_GROUPS=	FSF GPL OSI
-LICENSE_NAME=	GPLv2 with linking exception
-LICENSE_FILE=	${WRKSRC}/LICENSE
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-BUILD_DEPENDS+=	${UWSGI_NAME}==${PORTVERSION}:www/uwsginl
-RUN_DEPENDS+=	${UWSGI_NAME}==${PORTVERSION}:www/uwsginl
-
-# This specific python version is built
-USES?=		python:3 gettext-runtime
-# Some python version is needed when building
-USES+=		python:build pkgconfig
-
-PLIST_FILES=	${PLUGIN_DIR}/${PLUGIN_FILENAME}
-
-MAKE_ENV+=	UWSGI_PROFILE_OVERRIDE=plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR} PYTHON=${PYTHON_CMD}
-
-UWSGI_NAME=	uwsginl
-UWSGI_PATH=	${LOCALBASE}/bin/${UWSGI_NAME}
-PLUGIN_DIR=	lib/${UWSGI_NAME}/plugins
-
-# The name of the plugin to be created (to eventually  distingush py2 and py3)
-PLUGIN_NAME?=	python3
-# Where to find the sources for the plugin (defaults to plugins/${PLUGIN_NAME})
-.if defined(MASTERDIR)
-.if !defined(PLUGIN_SOURCE) || empty(PLUGIN_SOURCE)
-PLUGIN_SOURCE=	plugins/${PLUGIN_NAME}
-.endif
-.else
-PLUGIN_SOURCE=	plugins/python
-.endif
-# The complete basename of the plugin
-PLUGIN_FILENAME=	${PLUGIN_NAME}_plugin.so
-
-do-configure:
-	@${DO_NADA}
-
-do-build:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
-	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${UWSGI_PATH} --build-plugin "${PLUGIN_SOURCE} ${PLUGIN_NAME}")
-
-do-install:
-	${INSTALL_LIB} ${BUILD_WRKSRC}/${PLUGIN_FILENAME} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
-
-.include <bsd.port.mk>
--- a/distinfo	Wed Feb 21 22:38:14 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-TIMESTAMP = 1518267669
-SHA256 (uwsgi-2.0.16.tar.gz) = a911f48f3cc51ac82fdabc4e001f18a32569128680beb5a833ebc3ff6edcc1f4
-SIZE (uwsgi-2.0.16.tar.gz) = 798509
--- a/pkg-descr	Wed Feb 21 22:38:14 2018 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-Python3 language plugin for uwsginl.
-Links to the default Python3 version on the system.
-
-WWW: http://projects.unbit.it/uwsgi/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-lang-py3/Makefile	Sat Mar 09 13:23:13 2019 +0100
@@ -0,0 +1,59 @@
+# Created by: Franz Glasner <freebsd-dev@dom66.de>
+# $FreeBSD$
+
+PORTNAME?=	${UWSGI_NAME}-plugin-lang-py3
+DISTVERSION=	2.0.16
+PORTREVISION?=	0
+CATEGORIES?=	www python
+MASTER_SITES=	http://projects.unbit.it/downloads/
+DISTNAME=	uwsgi-${DISTVERSION}
+
+MAINTAINER?=	freebsd-dev@dom66.de
+COMMENT?=	Language plugin for Python 3 (OS default)
+
+LICENSE=	GPLv2-WITH-LINKING-EXCEPTION
+LICENSE_GROUPS=	FSF GPL OSI
+LICENSE_NAME=	GPLv2 with linking exception
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+BUILD_DEPENDS+=	${UWSGI_NAME}==${PORTVERSION}:www/uwsginl
+RUN_DEPENDS+=	${UWSGI_NAME}==${PORTVERSION}:www/uwsginl
+
+# This specific python version is built
+USES?=		python:3 gettext-runtime
+# Some python version is needed when building
+USES+=		python:build pkgconfig
+
+PLIST_FILES=	${PLUGIN_DIR}/${PLUGIN_FILENAME}
+
+MAKE_ENV+=	UWSGI_PROFILE_OVERRIDE=plugin_build_dir=${STAGEDIR}${PREFIX}/${PLUGIN_DIR};plugin_dir=${PREFIX}/${PLUGIN_DIR} PYTHON=${PYTHON_CMD}
+
+UWSGI_NAME=	uwsginl
+UWSGI_PATH=	${LOCALBASE}/bin/${UWSGI_NAME}
+PLUGIN_DIR=	lib/${UWSGI_NAME}/plugins
+
+# The name of the plugin to be created (to eventually  distingush py2 and py3)
+PLUGIN_NAME?=	python3
+# Where to find the sources for the plugin (defaults to plugins/${PLUGIN_NAME})
+.if defined(MASTERDIR)
+.if !defined(PLUGIN_SOURCE) || empty(PLUGIN_SOURCE)
+PLUGIN_SOURCE=	plugins/${PLUGIN_NAME}
+.endif
+.else
+PLUGIN_SOURCE=	plugins/python
+.endif
+# The complete basename of the plugin
+PLUGIN_FILENAME=	${PLUGIN_NAME}_plugin.so
+
+do-configure:
+	@${DO_NADA}
+
+do-build:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
+	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${UWSGI_PATH} --build-plugin "${PLUGIN_SOURCE} ${PLUGIN_NAME}")
+
+do-install:
+	${INSTALL_LIB} ${BUILD_WRKSRC}/${PLUGIN_FILENAME} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
+
+.include <bsd.port.mk>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-lang-py3/distinfo	Sat Mar 09 13:23:13 2019 +0100
@@ -0,0 +1,3 @@
+TIMESTAMP = 1518267669
+SHA256 (uwsgi-2.0.16.tar.gz) = a911f48f3cc51ac82fdabc4e001f18a32569128680beb5a833ebc3ff6edcc1f4
+SIZE (uwsgi-2.0.16.tar.gz) = 798509
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uwsginl-plugin-lang-py3/pkg-descr	Sat Mar 09 13:23:13 2019 +0100
@@ -0,0 +1,4 @@
+Python3 language plugin for uwsginl.
+Links to the default Python3 version on the system.
+
+WWW: http://projects.unbit.it/uwsgi/