mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- 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
This commit is contained in:
parent
87cb8aaf67
commit
4837ccc5c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331662
@ -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 library based on greenlet/libevent
|
||||
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user