head	1.10;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3;
locks; strict;
comment	@# @;


1.10
date	2013.02.09.15.59.54;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.12.01.21.27.31;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.17.06.03.00;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2012.10.19.14.26.05;	author rm;	state Exp;
branches;
next	1.6;

1.6
date	2012.07.18.17.18.25;	author olivierd;	state Exp;
branches;
next	1.5;

1.5
date	2012.04.23.06.59.52;	author culot;	state Exp;
branches;
next	1.4;

1.4
date	2012.04.10.17.05.20;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2011.11.19.10.51.55;	author sunpoet;	state Exp;
branches;
next	1.2;

1.2
date	2011.06.08.08.31.43;	author wen;	state Exp;
branches;
next	1.1;

1.1
date	2011.03.17.13.15.29;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311983
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Kristaps Kulis <kristaps.kulis@@gmail.com>
# $FreeBSD: head/www/py-gunicorn/Makefile 311983 2013-02-09 14:50:27Z koobs $

PORTNAME=	gunicorn
PORTVERSION=	0.16.1
CATEGORIES=	www python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@@FreeBSD.org
COMMENT=	Python WSGI server for unix

LICENSE=	MIT

USE_GITHUB=	yes
GH_ACCOUNT=	benoitc
GH_TAGNAME=	0.16.1
GH_COMMIT=	0d91a51

# Python3 Ready
USE_PYTHON=		yes
USE_PYDISTUTILS=	easy_install

OPTIONS_DEFINE=	EVENTLET GEVENT TORNADO SETPROC TESTS
EVENTLET_DESC=	Add Eventlet async worker
GEVENT_DESC=	Add Gevent async worker
TORNADO_DESC=	Add Tornado async worker
SETPROC_DESC=	Support changing process title (setproctitle)
TESTS_DESC=	Install tools for running unittests

OPTIONSFILE?=		${PORT_DBDIR}/py-${PORTNAME}/options
NO_OPTIONS_SORT=	yes

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MEVENTLET}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}eventlet>=0.9:${PORTSDIR}/net/py-eventlet
.endif

.if ${PORT_OPTIONS:MGEVENT}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}gevent>0:${PORTSDIR}/devel/py-gevent
.endif

.if ${PORT_OPTIONS:MTORNADO}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}tornado>=2.2:${PORTSDIR}/www/py-tornado
.endif

.if ${PORT_OPTIONS:MSETPROC}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setproctitle>0:${PORTSDIR}/devel/py-setproctitle
.endif

.if ${PORT_OPTIONS:MTESTS}
BUILD_DEPENDS:=	${TEST_DEPENDS} \
		${RUN_DEPENDS}
.endif

TEST_DEPENDS:=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest

regression-test: build
	@@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.if ${PYTHON_REL} >= 320
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
.endif

.include <bsd.port.post.mk>
@


1.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/308081
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r308081 | rm | 2012-12-01 21:22:44 +0000 (Sat, 01 Dec 2012) | 15 lines
## SVN ##
## SVN ## - update to 0.16.1
## SVN ## - Use GITHUB mastersite instead of CHEESESHOP
## SVN ## - remove USE_PYTHON version limit (Python3 Ready)
## SVN ## - tweak TESTS_DESC
## SVN ## - allow OPTIONSFILE to be overridden
## SVN ## - re-order TEST_DEPENDS and replace py-nose with py-test in it
## SVN ## - add {TEST,RUN}_DEPENDS to BUILD_DEPENDS when TESTS option is selected
## SVN ## - patch out pytest-cov from requirements_dev.txt
## SVN ## - update regression-test target bits
## SVN ## - fix plist for python >= 3.2, while here
## SVN ##
## SVN ## PR:		173901
## SVN ## Submitted by:	Kubilay Kocak <koobs.freebsd@@gmail.com> (maintainer)
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/py-gunicorn/Makefile 308081 2012-12-01 21:22:44Z rm $
d9 1
a9 1
MAINTAINER=	koobs.freebsd@@gmail.com
@


1.8
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/www/py-gunicorn/Makefile 306124 2012-10-19 14:26:05Z rm $
d5 1
a5 1
PORTVERSION=	0.15.0
a6 1
MASTER_SITES=	CHEESESHOP
d14 4
a17 1
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
d19 2
a20 1
USE_PYTHON=		-2.7
d28 1
a28 1
TESTS_DESC=	Install nose for running unittests
d30 1
a30 1
OPTIONSFILE=		${PORT_DBDIR}/py-${PORTNAME}/options
d33 1
a33 1
.include <bsd.port.options.mk>
d52 2
a53 1
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
d56 2
d59 5
a63 1
	@@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} nosetests
d65 1
a65 1
.include <bsd.port.mk>
@


1.7
log
@SVN rev 306124 on 2012-10-19 14:26:05Z by rm

- Update to 0.15.0
- Tweak USE_PYTHON version
- Add TEST_DEPENDS and regression-test: target
- Add LICENSE
- Add TORNADO and TESTS
- Add NO_OPTIONS_SORT
- Tweak OPTIONS descriptions
- Trim Makefile header
- Whitespace alignment

PR:		172875
Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com> (maintainer)
Tested by:	redports
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.6
log
@SVN rev 301105 on 2012-07-18 17:18:25Z by olivierd

- Update to 0.14.5
- Change maintainer address
- Convert to new options framework

PR:	169375 (update to 0.14.4)
Submitted by: koobs <koobs.freebsd@@gmail.com>
Approved by:	miwi, rene (mentors)
@
text
@d1 1
a1 4
# New ports collection makefile for:	py-gunicorn
# Date created:		2010-03-03
# Whom:	Kristaps Kulis <kristaps.kulis@@gmail.com>
#
a2 1
#
d5 1
a5 1
PORTVERSION=	0.14.5
d13 5
a17 1
USE_PYTHON=	2.5-2.7
d20 6
a25 4
OPTIONS_DEFINE= EVENTLET GEVENT SETPROC
EVENTLET_DESC=  Add Eventlet asynchronous worker
GEVENT_DESC=    Add Gevent asynchronous worker
SETPROC_DESC=   Change process name support
d27 2
a28 1
OPTIONSFILE?=   ${PORT_DBDIR}/py-${PORTNAME}/options
d37 5
a41 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gevent/__init__.py:${PORTSDIR}/devel/py-gevent
d45 1
a45 1
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/setproctitle.so:${PORTSDIR}/devel/py-setproctitle
d48 7
@


1.5
log
@- Update to 0.14.2

PR:		ports/166709
Submitted by:	Mirko Zinn <mail@@derzinn.de>
Approved by:	maintainer timeout (>14 days)
@
text
@d9 1
a9 1
PORTVERSION=	0.14.2
d14 1
a14 1
MAINTAINER=	kristaps.kulis@@gmail.com
d20 6
a25 3
OPTIONS=	EVENTLET "Add asynchronous worker Eventlet" off \
		GEVENT "Add asynchronous worker Gevent" off \
		SETPROC "Add support to change process name" off
d29 1
a29 1
.if defined(WITH_EVENTLET)
d33 1
a33 1
.if defined(WITH_GEVENT)
d37 1
a37 1
.if defined(WITH_SETPROC)
@


1.4
log
@- Update to 0.14.1

PR:		165686
Submitted by:	Olivier Duchateau <duchateau.olivier@@gmail.com>
Approved by:	maintainer timeout
@
text
@d9 1
a9 1
PORTVERSION=	0.14.1
@


1.3
log
@- Update to 0.13.4
- Add OPTIONS: EVENTLET, GEVENT, SETPROC
  - asynchronous workers: used in CLI with -k/--worker-class option [1]
  - setproctitle: used in CLI with --name option [2]
- While I'm here, restrict USE_PYTHON range to 2.5-2.7

[1] http://gunicorn.org/configure.html#worker-class
[2] http://gunicorn.org/configure.html#proc-name

Changes:	http://gunicorn.org/news.html
PR:		ports/162194
Submitted by:	Olivier Duchateau <duchateau.olivier@@gmail.com>
Approved by:	maintainer (timeout, 19 days)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.13.4
@


1.2
log
@- Update to 0.12.2

PR:		ports/157296
Submitted by:	Mirko Zinn <mail@@derzinn.de>
Approved by:	maintainer(timeout, >14 days)
@
text
@d9 1
a9 1
PORTVERSION=	0.12.2
d17 1
a17 1
USE_PYTHON=	2.5+
d20 18
@


1.1
log
@Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for UNIX.
It's a pre-fork worker model ported from Ruby's Unicorn project.
The Gunicorn server is broadly compatible with various web frameworks,
simply implemented, light on server resource usage, and fairly speedy.

WWW:    http://gunicorn.org/

PR:		ports/155226
Submitted by:	Kristaps Kulis <kristaps.kulis at gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.12.0
@

