[110073] trunk/dports/python/py-logilab-constraint/Portfile

stromnov at macports.org stromnov at macports.org
Sun Aug 25 14:58:10 PDT 2013


Revision: 110073
          https://trac.macports.org/changeset/110073
Author:   stromnov at macports.org
Date:     2013-08-25 14:58:10 -0700 (Sun, 25 Aug 2013)
Log Message:
-----------
py-logilab-constraint: reformat

Modified Paths:
--------------
    trunk/dports/python/py-logilab-constraint/Portfile

Modified: trunk/dports/python/py-logilab-constraint/Portfile
===================================================================
--- trunk/dports/python/py-logilab-constraint/Portfile	2013-08-25 21:48:51 UTC (rev 110072)
+++ trunk/dports/python/py-logilab-constraint/Portfile	2013-08-25 21:58:10 UTC (rev 110073)
@@ -1,34 +1,42 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
-PortGroup           python  1.0
+PortGroup           python 1.0
 
-name			    py-logilab-constraint
-version		    	0.4.0
-license		    	GPL-2+
-platforms		    darwin
-supported_archs	    noarch
-maintainers		    nomaintainer
-description		    python module for solving constraint satisfaction problems
-long_description	The constraint package is a constraint satisfaction \
-			    	problem solver written in 100% pure Python, using \
-				    constraint propagation algorithms. So far, facilities \
-				    are provided to work with finite domains only.
+name                py-logilab-constraint
+version             0.4.0
+revision            0
+categories-append   devel
+platforms           darwin
+license             GPL-2+
+supported_archs     noarch
 
-homepage	    	http://www.logilab.org/projects/constraint/
-master_sites    	http://ftp.logilab.org/pub/constraint
-distname	    	logilab-constraint-${version}
+python.versions     25 26 27
+
+maintainers         stromnov openmaintainer
+
+description         python module for solving constraint satisfaction problems
+
+long_description    The constraint package is a constraint satisfaction \
+                    problem solver written in 100% pure Python, using \
+                    constraint propagation algorithms. So far, facilities \
+                    are provided to work with finite domains only.
+
+homepage            http://www.logilab.org/projects/constraint/
+master_sites        http://ftp.logilab.org/pub/constraint
+
+distname            logilab-constraint-${version}
+
 worksrcdir          constraint-${version}
-checksums           md5     b31028dba355c91f0b98a503ef12103b \
-                    sha1    534b68324ca0e6b469d204048f3efd8f9f8e1dfd \
-                    rmd160  d0155cf34407938d1d6fb27e4052cd26e267869f
 
-python.versions		25 26
+checksums           rmd160  d0155cf34407938d1d6fb27e4052cd26e267869f \
+                    sha256  f6cec011064f0a1d079bf3248a3be693a3b4f6b9da84a77381a1419658fdfc0e
 
 if {$subport != $name} {
-    depends_lib         port:py${python.version}-logilab-common
+    depends_lib-append  port:py${python.version}-logilab-common
 
-    post-destroot	{
+    post-destroot   {
         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
         xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
 
@@ -41,4 +49,10 @@
 
         file delete ${destroot}${python.pkgd}/logilab/__init__.py
     }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       http://ftp.logilab.org/pub/constraint/
+    livecheck.regex     {logilab-constraint-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130825/f99b234f/attachment-0001.html>


More information about the macports-changes mailing list