[106486] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon May 27 20:22:50 PDT 2013


Revision: 106486
          https://trac.macports.org/changeset/106486
Author:   jmr at macports.org
Date:     2013-05-27 20:22:50 -0700 (Mon, 27 May 2013)
Log Message:
-----------
py*-clonedigger: unify, license, noarch

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

Added Paths:
-----------
    trunk/dports/python/py-clonedigger/

Removed Paths:
-------------
    trunk/dports/python/py25-clonedigger/
    trunk/dports/python/py26-clonedigger/

Modified: trunk/dports/python/py-clonedigger/Portfile
===================================================================
--- trunk/dports/python/py26-clonedigger/Portfile	2013-05-27 22:13:05 UTC (rev 106483)
+++ trunk/dports/python/py-clonedigger/Portfile	2013-05-28 03:22:50 UTC (rev 106486)
@@ -2,16 +2,18 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-clonedigger
+name                py-clonedigger
 version             1.0.3-beta
+license             GPL-3+
 maintainers         nomaintainer
 description         Clone Digger aimed to detect similar code in Python programs
 long_description    Clone Digger is the tool for finding software clones. \
                     Currently only Python language is supported, \
                     Java support will be added soon.
 platforms           darwin
+supported_archs     noarch
 homepage            http://clonedigger.sourceforge.net/
 master_sites        http://pypi.python.org/packages/source/c/clonedigger/
 distname            clonedigger-${version}
@@ -19,6 +21,12 @@
                     sha1 f5a3854d2f5f0f0b997459d1b0f529e216fecb55 \
                     rmd160 deaf039ca347181959fe54da1b88f6e932b15340
 
-livecheck.type      regex
-livecheck.url       http://pypi.python.org/pypi/clonedigger
-livecheck.regex     "clonedigger-(.+?).tar.gz"
+python.versions     25 26
+
+if {$subport == $name} {
+    livecheck.type      regex
+    livecheck.url       http://pypi.python.org/pypi/clonedigger
+    livecheck.regex     "clonedigger-(.+?).tar.gz"
+} else {
+    livecheck.type      none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130527/5ecf4a15/attachment.html>


More information about the macports-changes mailing list