[89760] trunk/dports/python/py-clint/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Feb 9 13:28:26 PST 2012


Revision: 89760
          http://trac.macports.org/changeset/89760
Author:   ryandesign at macports.org
Date:     2012-02-09 13:28:26 -0800 (Thu, 09 Feb 2012)
Log Message:
-----------
py-clint: simplify by using github portgroup (#32915); disable livecheck in subports

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

Modified: trunk/dports/python/py-clint/Portfile
===================================================================
--- trunk/dports/python/py-clint/Portfile	2012-02-09 21:17:14 UTC (rev 89759)
+++ trunk/dports/python/py-clint/Portfile	2012-02-09 21:28:26 UTC (rev 89760)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       github 1.0
 PortGroup       python 1.0
 
+github.setup    kennethreitz clint 0.3.1 v
 name            py-clint
-version         0.3.1
 python.versions 26 27 31 32
 python.default_version 27
 revision        2
@@ -25,14 +26,13 @@
                     All with a single function call.\
                     The world's easiest to use implicit argument system w/ chaining methods for filtering. Seriously.
 
-homepage        https://github.com/kennethreitz/clint/
-master_sites    http://github.com/kennethreitz/clint/tarball/
-worksrcdir      kennethreitz-clint-4336c35
+# Remove these two lines simultaneously with updating to the next version of clint.
 distname        v${version}
 extract.suffix  
 
 checksums           rmd160  225e0b50b56948bf74963da79e4a751140dd8b5c \
                     sha256  9c974ee8d5bc7fe4f62de1cc48eb85f50c10b17aa712ffa4f15b7e77209f8f35
-livecheck.type  regex
-livecheck.url   ${homepage}
-livecheck.regex {"v([0-9\.]+)"}
+
+if {${name} != ${subport}} {
+    livecheck.type  none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120209/4ebb2ba5/attachment.html>


More information about the macports-changes mailing list