[130360] trunk/dports/python/py-curl/Portfile

larryv at macports.org larryv at macports.org
Mon Dec 29 20:17:15 PST 2014


Revision: 130360
          https://trac.macports.org/changeset/130360
Author:   larryv at macports.org
Date:     2014-12-29 20:17:15 -0800 (Mon, 29 Dec 2014)
Log Message:
-----------
py-curl: Add modeline, rearrange, reformat

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

Modified: trunk/dports/python/py-curl/Portfile
===================================================================
--- trunk/dports/python/py-curl/Portfile	2014-12-30 04:17:13 UTC (rev 130359)
+++ trunk/dports/python/py-curl/Portfile	2014-12-30 04:17:15 UTC (rev 130360)
@@ -1,38 +1,41 @@
+# -*- 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-curl
-version			7.19.0
-categories-append	net devel
-license			{MIT LGPL}
-maintainers		nomaintainer
-description		python interface to libcurl
-long_description	Python module interface to the cURL library which is \
-				a tool for transferring files with URL syntax, \
-				supporting many protocols.
-platforms		darwin
-homepage		http://pycurl.sourceforge.net/
-master_sites	${homepage}/download
-distname		pycurl-${version}
-checksums       md5 919d58fe37e69fe87ce4534d8b6a1c7b \
-                sha1 3fb59eca1461331bb9e9e8d6fe3b23eda961a416 \
-                rmd160 dab547b3db67ed30cafb556a1a383f567064de49
+name                py-curl
+version             7.19.0
+categories-append   net devel
+platforms           darwin
+license             {MIT LGPL}
+maintainers         nomaintainer
 
-python.versions	24 25 26 27
+description         python interface to libcurl
+long_description    Python module interface to the cURL library which \
+                    is a tool for transferring files with URL syntax, \
+                    supporting many protocols.
+homepage            http://pycurl.sourceforge.net/
 
+master_sites        ${homepage}/download
+distname            pycurl-${version}
+checksums           md5     919d58fe37e69fe87ce4534d8b6a1c7b \
+                    sha1    3fb59eca1461331bb9e9e8d6fe3b23eda961a416 \
+                    rmd160  dab547b3db67ed30cafb556a1a383f567064de49
+
+python.versions     24 25 26 27
+
 if {${name} ne ${subport}} {
-    depends_lib-append	port:curl
+    depends_lib-append  port:curl
 
-    build.args		--curl-config=${prefix}/bin/curl-config
+    build.args      --curl-config=${prefix}/bin/curl-config
 
-    test.run		yes
+    test.run        yes
     test.target
-    test.env		PYTHONPATH=./build/lib*
-    test.cmd		${python.bin} tests/test_internals.py tests/test_memleak.py
+    test.env        PYTHONPATH=./build/lib*
+    test.cmd        ${python.bin} tests/test_internals.py tests/test_memleak.py
 
-    destroot.args	${build.args}
+    destroot.args   ${build.args}
 
     if {${python.version} <= 25} {
         post-destroot {
@@ -42,9 +45,9 @@
         }
     }
 
-    livecheck.type	none
+    livecheck.type  none
 } else {
-    livecheck.type	regex
-    livecheck.url	${homepage}
-    livecheck.regex	PYCURL (\[0-9\\.\]+)
+    livecheck.type  regex
+    livecheck.url   ${homepage}
+    livecheck.regex PYCURL (\[0-9\.\]+)
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141229/40ff2e4f/attachment.html>


More information about the macports-changes mailing list