[107556] trunk/dports/python/py-fabric

sean at macports.org sean at macports.org
Tue Jul 2 17:39:10 PDT 2013


Revision: 107556
          https://trac.macports.org/changeset/107556
Author:   sean at macports.org
Date:     2013-07-02 17:39:10 -0700 (Tue, 02 Jul 2013)
Log Message:
-----------
py-fabric: add fabric_select dependency

Modified Paths:
--------------
    trunk/dports/python/py-fabric/Portfile

Added Paths:
-----------
    trunk/dports/python/py-fabric/files/
    trunk/dports/python/py-fabric/files/fabric25
    trunk/dports/python/py-fabric/files/fabric26
    trunk/dports/python/py-fabric/files/fabric27

Modified: trunk/dports/python/py-fabric/Portfile
===================================================================
--- trunk/dports/python/py-fabric/Portfile	2013-07-03 00:39:01 UTC (rev 107555)
+++ trunk/dports/python/py-fabric/Portfile	2013-07-03 00:39:10 UTC (rev 107556)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           select 1.0
 PortGroup           github 1.0
 
 github.setup        fabric fabric 1.6.1
@@ -32,6 +33,15 @@
 
 if {$subport != $name} {
     depends_lib-append  port:py${python.version}-setuptools \
-                        port:py${python.version}-paramiko
+                        port:py${python.version}-paramiko \
+                        port:fabric_select
     livecheck.type      none
+    select.group        fabric
+    select.file         ${filespath}/fabric${python.version}
+    notes "
+To make the Python ${python.branch} version of fabric the one that is run\
+when you execute the commands without a version suffix, e.g. 'fab', run:
+
+port select --set ${select.group} [file tail ${select.file}]
+"
 }

Added: trunk/dports/python/py-fabric/files/fabric25
===================================================================
--- trunk/dports/python/py-fabric/files/fabric25	                        (rev 0)
+++ trunk/dports/python/py-fabric/files/fabric25	2013-07-03 00:39:10 UTC (rev 107556)
@@ -0,0 +1 @@
+bin/fab-2.5

Added: trunk/dports/python/py-fabric/files/fabric26
===================================================================
--- trunk/dports/python/py-fabric/files/fabric26	                        (rev 0)
+++ trunk/dports/python/py-fabric/files/fabric26	2013-07-03 00:39:10 UTC (rev 107556)
@@ -0,0 +1 @@
+bin/fab-2.6

Added: trunk/dports/python/py-fabric/files/fabric27
===================================================================
--- trunk/dports/python/py-fabric/files/fabric27	                        (rev 0)
+++ trunk/dports/python/py-fabric/files/fabric27	2013-07-03 00:39:10 UTC (rev 107556)
@@ -0,0 +1 @@
+bin/fab-2.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130702/1de3d449/attachment.html>


More information about the macports-changes mailing list