[107021] trunk/dports/python/py-levenshtein/Portfile

jmr at macports.org jmr at macports.org
Fri Jun 14 09:03:46 PDT 2013


Revision: 107021
          https://trac.macports.org/changeset/107021
Author:   jmr at macports.org
Date:     2013-06-14 09:03:46 -0700 (Fri, 14 Jun 2013)
Log Message:
-----------
py-levenshtein: correct license, fix setuptools dep type, disable livecheck in subports

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

Modified: trunk/dports/python/py-levenshtein/Portfile
===================================================================
--- trunk/dports/python/py-levenshtein/Portfile	2013-06-14 15:38:30 UTC (rev 107020)
+++ trunk/dports/python/py-levenshtein/Portfile	2013-06-14 16:03:46 UTC (rev 107021)
@@ -8,7 +8,7 @@
 version             0.10.2
 revision            0
 categories-append   textproc
-license             GPL
+license             GPL-2+
 platforms           darwin freebsd
 
 maintainers         nomaintainer
@@ -33,7 +33,7 @@
 python.versions     24 25 26 27
 
 if {$subport != $name} {
-    depends_lib     port:py${python.version}-setuptools
+    depends_build   port:py${python.version}-setuptools
 
     post-destroot {
         set realname levenshtein
@@ -51,8 +51,9 @@
                 ${destroot}${python.prefix}/share/doc/${realname}/examples
         }
     }
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "python-Levenshtein-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "python-Levenshtein-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130614/8e9c0bb2/attachment.html>


More information about the macports-changes mailing list