Date: Sat, 26 Oct 2013 08:46:13 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331662 - head/devel/py-gevent Message-ID: <201310260846.r9Q8kDR1082012@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Oct 26 08:46:12 2013 New Revision: 331662 URL: http://svnweb.freebsd.org/changeset/ports/331662 Log: - Convert to new LIB_DEPENDS format: it also avoids build failure when libevent2 is installed - Add TEST_DEPENDS - Add regression-test: - Support STAGEDIR - While I'm here, strip shared library and bump PORTREVISION for package change PR: ports/183319 (based on) Submitted by: koobs Modified: head/devel/py-gevent/Makefile Modified: head/devel/py-gevent/Makefile ============================================================================== --- head/devel/py-gevent/Makefile Sat Oct 26 08:46:05 2013 (r331661) +++ head/devel/py-gevent/Makefile Sat Oct 26 08:46:12 2013 (r331662) @@ -3,6 +3,7 @@ PORTNAME= gevent PORTVERSION= 0.13.8 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,18 @@ COMMENT= Python co-routine networking li LICENSE= MIT -LIB_DEPENDS= event:${PORTSDIR}/devel/libevent +LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 USE_PYTHON= -2.7 USE_PYDISTUTILS=yes PYDISTUTILS_BUILDARGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib -NO_STAGE= yes +post-build: + @${STRIP_CMD} ${WRKSRC}/gevent/core.so + +regression-test test: build + cd ${WRKSRC}/greentest/ && ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} testrunner.py + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310260846.r9Q8kDR1082012>