fbb171b1fc
- Update to 1.3.1 - Add TEST_DEPENDS and regression-test target
33 lines
864 B
Makefile
33 lines
864 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= amqp
|
|
PORTVERSION= 1.3.1
|
|
CATEGORIES= net python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Low-level AMQP client for Python (fork of amqplib)
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0.4.0:${PORTSDIR}/devel/py-unittest2 \
|
|
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
|
|
${PYTHON_PKGNAMEPREFIX}coverage>0:${PORTSDIR}/devel/py-coverage \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
|
|
|
|
LICENSE= LGPL21
|
|
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
GH_ACCOUNT= celery
|
|
GH_PROJECT= py-${PORTNAME}
|
|
GH_COMMIT= c92b683
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC}/funtests && ${SETENV} PYTHONPATH=../ ${PYTHON_CMD} run_all.py
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.mk>
|