[130106] trunk/dports/www/mod_wsgi/Portfile

larryv at macports.org larryv at macports.org
Fri Dec 26 20:35:19 PST 2014


Revision: 130106
          https://trac.macports.org/changeset/130106
Author:   larryv at macports.org
Date:     2014-12-26 20:35:19 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
mod_wsgi: Add modeline, rearrange, reformat

Modified Paths:
--------------
    trunk/dports/www/mod_wsgi/Portfile

Modified: trunk/dports/www/mod_wsgi/Portfile
===================================================================
--- trunk/dports/www/mod_wsgi/Portfile	2014-12-27 03:36:37 UTC (rev 130105)
+++ trunk/dports/www/mod_wsgi/Portfile	2014-12-27 04:35:19 UTC (rev 130106)
@@ -1,70 +1,75 @@
+# -*- 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       github 1.0
-github.setup    GrahamDumpleton mod_wsgi 4.2.8
+PortSystem          1.0
+PortGroup           github 1.0
 
-categories      www python
-platforms       darwin
-license         Apache
-maintainers     nomaintainer
-description     Python WSGI adapter module for Apache.
-long_description The mod_wsgi module is written in C code directly against \
-the internal Apache and Python application programming interfaces. As such, \
-for hosting WSGI applications in conjunction with Apache it has a lower \
-memory overhead and performs better than existing WSGI adapters for \
-mod_python or alternative FASTCGI/SCGI/CGI based solutions.
+github.setup        GrahamDumpleton mod_wsgi 4.2.8
+categories          www python
+platforms           darwin
+license             Apache
+maintainers         nomaintainer
 
-homepage        http://www.modwsgi.org/
-checksums       rmd160  1af7c5f96a54f629fdd55c459134a56bf0e2e743 \
-                sha256  01f95e96aa5bd5cfbbbbe92fe0d6ddfe25820d1166ca4c5d67e185fb873aa44f
+description         Python WSGI adapter module for Apache.
+long_description    The mod_wsgi module is written in C code directly \
+                    against the internal Apache and Python application \
+                    programming interfaces. As such, for hosting WSGI \
+                    applications in conjunction with Apache it has \
+                    a lower memory overhead and performs better than \
+                    existing WSGI adapters for mod_python or \
+                    alternative FASTCGI/SCGI/CGI based solutions.
+homepage            http://www.modwsgi.org/
 
-depends_lib     port:apache2
+depends_lib         port:apache2
 
-configure.args  --with-apxs=${prefix}/apache2/bin/apxs \
-                --disable-framework
+checksums           rmd160  1af7c5f96a54f629fdd55c459134a56bf0e2e743 \
+                    sha256  01f95e96aa5bd5cfbbbbe92fe0d6ddfe25820d1166ca4c5d67e185fb873aa44f
 
+configure.args      --disable-framework \
+                    --with-apxs=${prefix}/apache2/bin/apxs
+
 destroot.violate_mtree yes
 pre-destroot {
     xinstall -d -m 755 ${destroot}${prefix}/apache2/modules
 }
 
-notes \
-"To enable mod_wsgi, add
-  LoadModule wsgi_module modules/mod_wsgi.so
-to your apache2 config file, located in
-  ${prefix}/apache2/conf/httpd.conf"
+notes "
+To enable mod_wsgi, add
 
+    LoadModule wsgi_module modules/mod_wsgi.so
+
+to your ${prefix}/apache2/conf/httpd.conf file.
+"
+
 if {![variant_isset python24]
-    && ![variant_isset python25]
-    && ![variant_isset python26]
-    && ![variant_isset python27]
-    && ![variant_isset python31]} {
+        && ![variant_isset python25]
+        && ![variant_isset python26]
+        && ![variant_isset python27]
+        && ![variant_isset python31]} {
     default_variants +python27
 }
 
 variant python24 conflicts python25 python26 python27 python31 description {Use Python 2.4} {
-    depends_lib-append port:python24
-    configure.args-append --with-python=${prefix}/bin/python2.4
+    depends_lib-append      port:python24
+    configure.args-append   --with-python=${prefix}/bin/python2.4
 }
 
 variant python25 conflicts python24 python26 python27 python31 description {Use Python 2.5} {
-    depends_lib-append port:python25
-    configure.args-append --with-python=${prefix}/bin/python2.5
+    depends_lib-append      port:python25
+    configure.args-append   --with-python=${prefix}/bin/python2.5
 }
 
 variant python26 conflicts python24 python25 python27 python31 description {Use Python 2.6} {
-    depends_lib-append port:python26
-    configure.args-append --with-python=${prefix}/bin/python2.6
+    depends_lib-append      port:python26
+    configure.args-append   --with-python=${prefix}/bin/python2.6
 }
 
 variant python27 conflicts python24 python25 python26 python31 description {Use Python 2.7} {
-    depends_lib-append port:python27
-    configure.args-append --with-python=${prefix}/bin/python2.7
+    depends_lib-append      port:python27
+    configure.args-append   --with-python=${prefix}/bin/python2.7
 }
 
 variant python31 conflicts python24 python25 python26 python27 description {Use Python 3.1} {
-    depends_lib-append port:python31
-    configure.args-append --with-python=${prefix}/bin/python3.1
+    depends_lib-append      port:python31
+    configure.args-append   --with-python=${prefix}/bin/python3.1
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/80596d23/attachment.html>


More information about the macports-changes mailing list