[104686] trunk/dports/python/py-futures/Portfile

stromnov at macports.org stromnov at macports.org
Sun Mar 31 08:04:36 PDT 2013


Revision: 104686
          https://trac.macports.org/changeset/104686
Author:   stromnov at macports.org
Date:     2013-03-31 08:04:36 -0700 (Sun, 31 Mar 2013)
Log Message:
-----------
py-futures: fix whitespaces

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

Modified: trunk/dports/python/py-futures/Portfile
===================================================================
--- trunk/dports/python/py-futures/Portfile	2013-03-31 14:56:20 UTC (rev 104685)
+++ trunk/dports/python/py-futures/Portfile	2013-03-31 15:04:36 UTC (rev 104686)
@@ -1,31 +1,36 @@
 # -*- 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
+PortSystem          1.0
+PortGroup           python 1.0
 
-name			py-futures
-version	        2.1.3
-revision        2
-python.versions 26 27 31 32
-platforms		darwin
-supported_archs noarch
-license         BSD
-maintainers		phw openmaintainer
-description	    A Java-style futures package for Python
-long_description	${description}
+name                py-futures
+version             2.1.3
+revision            2
+categories-append   devel
+python.versions     26 27 31 32
+platforms           darwin
+license             BSD
+supported_archs     noarch
 
+maintainers         phw openmaintainer
 
-homepage		http://code.google.com/p/pythonfutures/
+description         A Java-style futures package for Python
+long_description    ${description}
 
+homepage            http://code.google.com/p/pythonfutures/
+master_sites        https://pypi.python.org/packages/source/f/futures/
+
+distname            futures-${version}
+
 if {$subport != $name} {
-    fetch.type      svn
-    svn.url         https://pythonfutures.googlecode.com/svn/tags/${version}/
-    svn.revision    106
-    worksrcdir      ${version}
-    livecheck.type  none
+    fetch.type          svn
+    svn.url             https://pythonfutures.googlecode.com/svn/tags/${version}/
+    svn.revision        106
+    worksrcdir          ${version}
+    livecheck.type      none
 } else {
-    livecheck.type  regex
-    livecheck.url   http://pypi.python.org/pypi/futures
-    livecheck.regex "futures (\\d+(?:\\.\\d+)*)"
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "futures-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130331/f2fb770d/attachment-0001.html>


More information about the macports-changes mailing list