Date: Thu, 29 Oct 2015 09:36:52 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400449 - in head/www/uwsgi: . files Message-ID: <201510290936.t9T9aqKv037271@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Thu Oct 29 09:36:52 2015 New Revision: 400449 URL: https://svnweb.freebsd.org/changeset/ports/400449 Log: www/uwsgi: Use distutils, Add DEBUG option - Use distutils over Makefile for building - Allow concurrent (multiple Python version) installation - Add DEBUG option - Build verbose by default - Add support for MAKE_JOBS - Remove post-patch REINPLACE_CMD (no longer needed) - Make patches makepatch compatible (portlint) Approved by: demon (maintainer) Differential Revision: https://reviews.freebsd.org/D4022 Modified: head/www/uwsgi/Makefile head/www/uwsgi/files/patch-buildconf-base.ini head/www/uwsgi/files/patch-uwsgiconfig.py Modified: head/www/uwsgi/Makefile ============================================================================== --- head/www/uwsgi/Makefile Thu Oct 29 09:34:05 2015 (r400448) +++ head/www/uwsgi/Makefile Thu Oct 29 09:36:52 2015 (r400449) @@ -3,7 +3,7 @@ PORTNAME= uwsgi PORTVERSION= 2.0.11.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= http://projects.unbit.it/downloads/ @@ -14,16 +14,26 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= python +USE_PYTHON= concurrent distutils USE_RC_SUBR= uwsgi +OPTIONS_DEFINE= DEBUG + +DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug + LDFLAGS+= "-L${LOCALBASE}/lib" +MAKE_ENV+= CPUCOUNT=${MAKE_JOBS_NUMBER} MAKE_ARGS+= UWSGI_EMBED_PLUGINS=cgi +PYSETUP= uwsgiconfig.py +PYDISTUTILS_BUILD_TARGET= --build +PYDISTUTILS_BUILDARGS= --verbose + PLIST_FILES= bin/uwsgi \ %%PYTHON_SITELIBDIR%%/uwsgidecorators.py -post-patch: - ${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/Makefile +do-configure: + @${DO_NADA} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ Modified: head/www/uwsgi/files/patch-buildconf-base.ini ============================================================================== --- head/www/uwsgi/files/patch-buildconf-base.ini Thu Oct 29 09:34:05 2015 (r400448) +++ head/www/uwsgi/files/patch-buildconf-base.ini Thu Oct 29 09:36:52 2015 (r400449) @@ -1,5 +1,5 @@ ---- buildconf/base.ini.bak 2013-12-12 06:57:30.000000000 +0400 -+++ buildconf/base.ini 2013-12-12 14:54:32.000000000 +0400 +--- buildconf/base.ini.orig 2015-10-07 04:34:01 UTC ++++ buildconf/base.ini @@ -1,9 +1,9 @@ [uwsgi] -xml = auto Modified: head/www/uwsgi/files/patch-uwsgiconfig.py ============================================================================== --- head/www/uwsgi/files/patch-uwsgiconfig.py Thu Oct 29 09:34:05 2015 (r400448) +++ head/www/uwsgi/files/patch-uwsgiconfig.py Thu Oct 29 09:36:52 2015 (r400449) @@ -1,6 +1,6 @@ ---- uwsgiconfig.py.bak 2013-10-11 07:59:20.000000000 +0400 -+++ uwsgiconfig.py 2013-10-11 15:06:52.000000000 +0400 -@@ -694,15 +694,6 @@ +--- uwsgiconfig.py.orig 2015-10-07 04:34:01 UTC ++++ uwsgiconfig.py +@@ -784,15 +784,6 @@ class uConf(object): self.cflags.append('-DUWSGI_HAS_IFADDRS') report['ifaddrs'] = True
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510290936.t9T9aqKv037271>