freebsd-ports/devel/py-fabric/Makefile
Kubilay Kocak 8c07ade50a devel/py-fabric: Update to 1.9.0
- Update to 1.9.0
- Add LICENSE_FILE
- Tweak COMMENT
- Tweak py-nose dependency prefix
- Limit Fabric to Python 2.x (*not* Python 3.x compatible)
- Wrap `test` command in setuptools bits using PYDISTUTILS_SETUP
- Patch setup.py to accept any version of fudge (even though its not
  compatible and causes 2 test failures)

Changes:

  http://www.fabfile.org/changelog.html
2014-07-28 12:29:24 +00:00

36 lines
965 B
Makefile

# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= fabric
PORTVERSION= 1.9.0
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 execution and deployment
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.10:${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 \
${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install nose for test suite
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>