[141435] trunk/dports/devel/dbus-python/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Dec 12 01:31:12 PST 2015


Revision: 141435
          https://trac.macports.org/changeset/141435
Author:   mcalhoun at macports.org
Date:     2015-10-18 10:01:26 -0700 (Sun, 18 Oct 2015)
Log Message:
-----------
dbus-python: whitespace changes

Modified Paths:
--------------
    trunk/dports/devel/dbus-python/Portfile

Modified: trunk/dports/devel/dbus-python/Portfile
===================================================================
--- trunk/dports/devel/dbus-python/Portfile	2015-10-18 16:55:01 UTC (rev 141434)
+++ trunk/dports/devel/dbus-python/Portfile	2015-10-18 17:01:26 UTC (rev 141435)
@@ -29,9 +29,9 @@
     checksum {}
     extract {}
     supported_archs noarch
-    
+
     depends_lib port:${name}${python_default_version}
-    
+
     patch {}
     use_configure no
     build {}
@@ -44,22 +44,22 @@
 foreach python_version ${python_versions} {
 
     set python_branch [string range ${python_version} 0 end-1].[string index ${python_version} end]
-    
+
     subport ${name}${python_version} {
-        
+
         master_sites    http://dbus.freedesktop.org/releases/dbus-python/
-        
+
         checksums           rmd160  cba09a1ca259bfa49c943142110a968241f40360 \
                             sha256  e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df
-        
+
         livecheck.type  regex
         livecheck.url   ${master_sites}?C=M&O=D
         livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-        
+
         distname        ${name}-${version}
 
         depends_build   port:pkgconfig
-        
+
         depends_lib                               \
             path:bin/dbus-daemon:dbus             \
             port:dbus-glib                        \
@@ -67,11 +67,11 @@
             path:lib/pkgconfig/glib-2.0.pc:glib2  \
             port:libiconv \
             port:python${python_version}
-        
+
         set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_branch}
 
         configure.pre_args-replace --prefix=${prefix} --prefix=${python_prefix}
-        
+
         configure.args                                                    \
             --docdir=${prefix}/share/doc/${subport}                       \
             --disable-html-docs                                           \
@@ -90,16 +90,16 @@
         }
 
         configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
-        
+
         configure.python    ${prefix}/bin/python${python_branch}
-        
+
         variant html description {Enable HTML documentation building} {}
-        
+
         # pyXY-epydoc, which is required to build the api, is only supported on certain versions of python
         if { [lsearch -exact {27} ${python_version}] != -1 } {
             variant doc description {Enable API documentation building} {}
         }
-        
+
         variant examples description {Install examples} {
             post-destroot {
                 set docdir ${prefix}/share/doc/${subport}
@@ -108,15 +108,15 @@
                 eval xinstall -m 644 [glob ${worksrcpath}/examples/*] ${destroot}${exdir}
             }
         }
-        
+
         # pyXY-gobject, which is required to test, is only supported on certain versions of python
         if { [lsearch -exact {27 34} ${python_version}] != -1 } {
             variant test {}
-            
+
             test.run yes
             test.target check
         }
-        
+
         # ${python_version} and ${python_branch} do not have the right value inside variant block,
         #    so put it here.
         if { [variant_isset html] || ([variant_exists doc] && [variant_isset doc]) } {
@@ -134,7 +134,7 @@
             depends_build-append port:py${python_version}-epydoc
             configure.args-replace --disable-api-docs --enable-api-docs
             configure.env-append EPYDOC=${prefix}/bin/epydoc-${python_branch}
-            
+
             post-destroot {
                 set docdir ${prefix}/share/doc/${subport}
                 set apidir ${docdir}/api
@@ -142,7 +142,7 @@
                 eval xinstall -m 644 [glob ${worksrcpath}/api/*] ${destroot}${apidir}
             }
         }
-        
+
         # ${python_version} and ${python_branch} do not have the right value inside variant block,
         #    so put it here.
         if { [variant_exists test] } {
@@ -155,7 +155,7 @@
                 }
             }
         }
-        
+
         platform darwin 9 {
             post-patch {
                 reinplace "s| -export-symbols-regex.*| \\\\|g" \
@@ -170,7 +170,7 @@
 # See https://lists.macosforge.org/pipermail/macports-dev/2014-September/thread.html (Retiring Python 2.4 and 2.5)
 foreach python_version { 24 25 26 31 32 33 } {
     set python_branch [string range ${python_version} 0 end-1].[string index ${python_version} end]
-    
+
     if { "${name}${python_version}" eq ${subport}} {
         unset maintainers
         unset license
@@ -182,7 +182,7 @@
         depends_build
         depends_lib
     }
-    
+
     subport ${name}${python_version} {
         if { [vercmp ${python_branch} 3.0] < 0 } {
             replaced_by  ${name}27
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/241435b7/attachment.html>


More information about the macports-changes mailing list