freebsd-ports/devel/py-gevent/Makefile
Sunpoet Po-Chuan Hsieh 109a2e4933 - Update to 1.0.2
- Regenerate patch file with makepatch:

Changes:	https://github.com/gevent/gevent/blob/master/changelog.rst
2015-06-15 19:20:18 +00:00

28 lines
863 B
Makefile

# Created by: Peter Schuller <peter.schuller@infidyne.com>
# $FreeBSD$
PORTNAME= gevent
PORTVERSION= 1.0.2
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.4.7:${PORTSDIR}/devel/py-greenlet
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=0.4.7:${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>