a5ee30cafc
- Update to 1.8.2 - Simplify DISTNAME - Switch to standard `python setup.py test` for regression-test Changes: https://github.com/fabric/fabric/blob/1.8.2/docs/changelog.rst
34 lines
893 B
Makefile
34 lines
893 B
Makefile
# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fabric
|
|
PORTVERSION= 1.8.2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:C/f/F/}-${DISTVERSION}
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Simple pythonic remote deployment tool
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.10.0:${PORTSDIR}/security/py-paramiko
|
|
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}Jinja2>=0.6:${PORTSDIR}/devel/py-Jinja2 \
|
|
${PYTHON_PKGNAMEPREFIX}fudge>0:${PORTSDIR}/devel/py-fudge \
|
|
nosetests:${PORTSDIR}/devel/py-nose
|
|
|
|
OPTIONS_DEFINE= TESTS
|
|
TESTS_DESC= Install nose for test suite
|
|
|
|
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|