ec373bbc2f
Notified by: koobs, wg
28 lines
855 B
Makefile
28 lines
855 B
Makefile
# Created by: Peter Schuller <peter.schuller@infidyne.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gevent
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Python co-routine networking library based on greenlet
|
|
|
|
LICENSE= MIT
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0:${PORTSDIR}/devel/py-greenlet \
|
|
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
USES= python:2
|
|
|
|
post-build:
|
|
@${STRIP_CMD} ${WRKSRC}/gevent/_semaphore.so ${WRKSRC}/gevent/_util.so ${WRKSRC}/gevent/ares.so ${WRKSRC}/gevent/core.so
|
|
|
|
regression-test test: build
|
|
cd ${WRKSRC}/greentest/ && ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} testrunner.py
|
|
|
|
.include <bsd.port.mk>
|