summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-fabric/Makefile27
-rw-r--r--devel/py-fabric/distinfo3
-rw-r--r--devel/py-fabric/files/patch-setup.py11
-rw-r--r--devel/py-fabric/pkg-descr10
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1bf3e509a66b..fedb5dae3c26 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2253,6 +2253,7 @@
SUBDIR += py-extremes
SUBDIR += py-ez_xml
SUBDIR += py-ezpyinline
+ SUBDIR += py-fabric
SUBDIR += py-fam
SUBDIR += py-fileutils
SUBDIR += py-flakes
diff --git a/devel/py-fabric/Makefile b/devel/py-fabric/Makefile
new file mode 100644
index 000000000000..cb3e2ab6f122
--- /dev/null
+++ b/devel/py-fabric/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: py-fabric
+# Date created: 2009-03-15
+# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fabric
+PORTVERSION= 0.1.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Fabric-${PORTVERSION}
+
+MAINTAINER= yzlin@cs.nctu.edu.tw
+COMMENT= A simple pythonic remote deployment tool
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.6:${PORTSDIR}/security/py-paramiko
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= Fabric
+
+PLIST_FILES= bin/fab \
+ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+.include <bsd.port.mk>
diff --git a/devel/py-fabric/distinfo b/devel/py-fabric/distinfo
new file mode 100644
index 000000000000..ba285c3b54dc
--- /dev/null
+++ b/devel/py-fabric/distinfo
@@ -0,0 +1,3 @@
+MD5 (Fabric-0.1.0.tar.gz) = 82bbaef1f59486a591de5b536629b504
+SHA256 (Fabric-0.1.0.tar.gz) = e67cd48f8e4d2a35ad1ee39bb876789bae3ec19f1001a1b7ec4f6a4d974628c1
+SIZE (Fabric-0.1.0.tar.gz) = 17005
diff --git a/devel/py-fabric/files/patch-setup.py b/devel/py-fabric/files/patch-setup.py
new file mode 100644
index 000000000000..89340328de0f
--- /dev/null
+++ b/devel/py-fabric/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig
++++ setup.py
+@@ -23,7 +23,7 @@
+ author = 'Christian Vest Hansen',
+ author_email = 'karmazilla@gmail.com',
+ url = 'http://www.nongnu.org/fab/',
+- install_requires = ['paramiko >=1.6, <2.0'],
++ #install_requires = ['paramiko >=1.6, <2.0'],
+ py_modules = ['fabric'],
+ entry_points = {
+ 'console_scripts': [
diff --git a/devel/py-fabric/pkg-descr b/devel/py-fabric/pkg-descr
new file mode 100644
index 000000000000..d32806d25f86
--- /dev/null
+++ b/devel/py-fabric/pkg-descr
@@ -0,0 +1,10 @@
+Fabric is a simple pythonic remote deployment tool.
+
+It is designed to upload files to, and run shell commands on, a number
+of servers in parallel or serially. These commands are grouped in tasks
+(regular python functions) and specified in a 'fabfile.'
+
+This is called remote automation, and the primary use case is deploying
+applications to multiple similar hosts.
+
+WWW: http://www.nongnu.org/fab/