Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2012 01:28:29 +0000 (UTC)
From:      Wesley Shields <wxs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308084 - head/devel/py-fabric
Message-ID:  <201212020128.qB21STnq042566@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wxs
Date: Sun Dec  2 01:28:29 2012
New Revision: 308084
URL: http://svnweb.freebsd.org/changeset/ports/308084

Log:
  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

Modified:
  head/devel/py-fabric/Makefile
  head/devel/py-fabric/distinfo
  head/devel/py-fabric/pkg-descr   (contents, props changed)
  head/devel/py-fabric/pkg-plist   (contents, props changed)

Modified: head/devel/py-fabric/Makefile
==============================================================================
--- head/devel/py-fabric/Makefile	Sun Dec  2 01:16:05 2012	(r308083)
+++ head/devel/py-fabric/Makefile	Sun Dec  2 01:28:29 2012	(r308084)
@@ -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 deploy
 
 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>

Modified: head/devel/py-fabric/distinfo
==============================================================================
--- head/devel/py-fabric/distinfo	Sun Dec  2 01:16:05 2012	(r308083)
+++ head/devel/py-fabric/distinfo	Sun Dec  2 01:28:29 2012	(r308084)
@@ -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

Modified: head/devel/py-fabric/pkg-descr
==============================================================================
--- head/devel/py-fabric/pkg-descr	Sun Dec  2 01:16:05 2012	(r308083)
+++ head/devel/py-fabric/pkg-descr	Sun Dec  2 01:28:29 2012	(r308084)
@@ -7,4 +7,4 @@ of servers in parallel or serially. Thes
 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/

Modified: head/devel/py-fabric/pkg-plist
==============================================================================
--- head/devel/py-fabric/pkg-plist	Sun Dec  2 01:16:05 2012	(r308083)
+++ head/devel/py-fabric/pkg-plist	Sun Dec  2 01:28:29 2012	(r308084)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212020128.qB21STnq042566>