freebsd-ports/devel/py-fabric/Makefile
Kubilay Kocak a5ee30cafc devel/py-fabric: Update to 1.8.2
- 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
2014-02-16 12:05:59 +00:00

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>