Revision
102510
Author
sean@macports.org
Date
2013-02-04 09:14:06 -0800 (Mon, 04 Feb 2013)

Log Message

py-hggit: fix python portgroup nuances

Modified Paths

Diff

Modified: trunk/dports/python/py-hggit/Portfile (102509 => 102510)


--- 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
 "
+}