[102510] trunk/dports/python/py-hggit/Portfile

sean at macports.org sean at macports.org
Mon Feb 4 09:14:06 PST 2013


Revision: 102510
          https://trac.macports.org/changeset/102510
Author:   sean at macports.org
Date:     2013-02-04 09:14:06 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
py-hggit: fix python portgroup nuances

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

Modified: trunk/dports/python/py-hggit/Portfile
===================================================================
--- trunk/dports/python/py-hggit/Portfile	2013-02-04 17:13:58 UTC (rev 102509)
+++ trunk/dports/python/py-hggit/Portfile	2013-02-04 17:14:06 UTC (rev 102510)
@@ -38,14 +38,16 @@
 checksums           rmd160  5ba97111225745997d4113ad066b2aa5b57084d5 \
                     sha256  51fb0cbe0364e3515f498b428466adddf5423b77e4882b6663320cb4fbd8d20f
 
-depends_lib             port:mercurial \
+python.versions         27
+
+if {$subport != $name} {
+    depends_lib         port:mercurial \
                         port:py27-dulwich
 
-python.default_version  27
-
-notes "
+    notes               "
 To use this extension, add the following to your ~/.hgrc:
 
 \[extensions\]   
 hggit=${python.prefix}/lib/python2.7/site-packages/hggit
 "
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/ebb90600/attachment.html>


More information about the macports-changes mailing list