diff options
author | wxs <wxs@FreeBSD.org> | 2012-12-02 09:28:29 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2012-12-02 09:28:29 +0800 |
commit | 6edf75e9139ae769164f9e2864e82e4fe6e0055b (patch) | |
tree | 3edd8663394083393eae942e760b9d0de90b76f4 | |
parent | 39e7c2f052c2e2ebf246557d5343d5de3a6f2803 (diff) | |
download | freebsd-ports-graphics-6edf75e9139ae769164f9e2864e82e4fe6e0055b.tar.gz freebsd-ports-graphics-6edf75e9139ae769164f9e2864e82e4fe6e0055b.tar.zst freebsd-ports-graphics-6edf75e9139ae769164f9e2864e82e4fe6e0055b.zip |
Update to 1.5.1.
Trim header.
Switch to depending upon py-paramiko.
Add TESTS option.
Whitespace in pkg-descr.
PR: ports/173733
Submitted by: Gasol Wu <gasol.wu@gmail.com>
Approved by: maintainer
Feature safe: yes
-rw-r--r-- | devel/py-fabric/Makefile | 23 | ||||
-rw-r--r-- | devel/py-fabric/distinfo | 4 | ||||
-rw-r--r-- | devel/py-fabric/pkg-descr | 2 | ||||
-rw-r--r-- | devel/py-fabric/pkg-plist | 3 |
4 files changed, 26 insertions, 6 deletions
diff --git a/devel/py-fabric/Makefile b/devel/py-fabric/Makefile index a129d529b5b..d2d296e29e6 100644 --- a/devel/py-fabric/Makefile +++ b/devel/py-fabric/Makefile @@ -1,8 +1,8 @@ -# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> +# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> # $FreeBSD$ PORTNAME= fabric -PORTVERSION= 1.4.3 +PORTVERSION= 1.5.1 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP @@ -14,10 +14,27 @@ COMMENT= A simple pythonic remote deployment tool LICENSE= BSD -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ssh>=1.7.14:${PORTSDIR}/security/py-ssh +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.9.0:${PORTSDIR}/security/py-paramiko + +OPTIONS_DEFINE= TESTS +TESTS_DESC= Install tools for unit testing +OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTESTS} +BUILD_DEPENDS:= ${TEST_DEPENDS} +.endif USE_PYTHON= yes USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= ${PORTNAME:C/f/F/} +TEST_DEPENDS:= ${RUN_DEPENDS} \ + ${PYTHON_PKGNAMEPREFIX}fudge>0:${PORTSDIR}/devel/py-fudge \ + nosetests>=0:${PORTSDIR}/devel/py-nose + +regression-test: build + @cd ${WRKSRC} && nosetests + .include <bsd.port.mk> diff --git a/devel/py-fabric/distinfo b/devel/py-fabric/distinfo index 20d0c9129b9..af29374aca0 100644 --- a/devel/py-fabric/distinfo +++ b/devel/py-fabric/distinfo @@ -1,2 +1,2 @@ -SHA256 (Fabric-1.4.3.tar.gz) = e81c7d510ff8d9334d0fd8993c931e3ee759883d00cf29d1eecd4c6ca6d82029 -SIZE (Fabric-1.4.3.tar.gz) = 221645 +SHA256 (Fabric-1.5.1.tar.gz) = 81b67886b539ecaa952925e2c821eff3bf95e26ae0c70d5058d3b67fc400367e +SIZE (Fabric-1.5.1.tar.gz) = 209128 diff --git a/devel/py-fabric/pkg-descr b/devel/py-fabric/pkg-descr index c3c937691d0..a17967b801b 100644 --- a/devel/py-fabric/pkg-descr +++ b/devel/py-fabric/pkg-descr @@ -7,4 +7,4 @@ of servers in parallel or serially. These commands are grouped in tasks This is called remote automation, and the primary use case is deploying applications to multiple similar hosts. -WWW: http://fabfile.org/ +WWW: http://fabfile.org/ diff --git a/devel/py-fabric/pkg-plist b/devel/py-fabric/pkg-plist index 5941a5a8e4c..44edb679fd8 100644 --- a/devel/py-fabric/pkg-plist +++ b/devel/py-fabric/pkg-plist @@ -51,6 +51,9 @@ bin/fab %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/decorators.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/decorators.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/decorators.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/docs.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/docs.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/docs.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/exceptions.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/exceptions.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fabric/exceptions.pyo |