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

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


Revision: 102512
          https://trac.macports.org/changeset/102512
Author:   sean at macports.org
Date:     2013-02-04 09:14:25 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
py-hggit-devel: add new subports for devel version

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:14:16 UTC (rev 102511)
+++ trunk/dports/python/py-hggit/Portfile	2013-02-04 17:14:25 UTC (rev 102512)
@@ -8,10 +8,7 @@
 epoch                   20130201
 
 set realname            hggit
-bitbucket.setup         durin42 hg-git 96e75caaf900
-name                    py-${realname}
-version                 0.3.4
-
+name                    py-hggit
 categories              python devel
 platforms               darwin
 maintainers             easieste sean openmaintainer
@@ -26,10 +23,31 @@
                         or use a Git server as a collaboration point for a team with \
                         developers using both Git and Mercurial.
 
-checksums               rmd160  ab2c30dc305d6d8f77744aae7317b92ed73c71cd \
+# can't set python.versions before adding custom subports
+set pversions           27
+
+foreach pv $pversions {
+    subport py$pv-$realname-devel {
+    }
+}
+
+if {[string match "*-devel" $subport]} {
+    bitbucket.setup     durin42 hg-git 2320ab6ada36
+    name                py-$realname-devel
+    version             0.3.4.99
+
+    checksums           rmd160  315ca5157e1ae60afeee466565b2819ab23f7e8a \
+                        sha256  9ff07f05349beb2d6bbed89ac44d67b0100a8eaacf576342e0dddbfe2b793c41
+} else {
+    bitbucket.setup     durin42 hg-git 96e75caaf900
+    name                py-${realname}
+    version             0.3.4
+
+    checksums           rmd160  ab2c30dc305d6d8f77744aae7317b92ed73c71cd \
                         sha256  93db33c95e115e8f6973836db4ff9785db3fb651d61321707b9b1e7c842baf1a
+}
 
-python.versions         27
+set python.versions    $pversions
 
 if {$subport != $name} {
     depends_lib         path:bin/hg:mercurial \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/0b181d98/attachment.html>


More information about the macports-changes mailing list