svn commit: r331662 - head/devel/py-gevent
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Oct 26 08:46:13 UTC 2013
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>
More information about the svn-ports-head
mailing list