[102527] trunk/dports/mail/offlineimap/Portfile

sean at macports.org sean at macports.org
Mon Feb 4 09:16:18 PST 2013


Revision: 102527
          https://trac.macports.org/changeset/102527
Author:   sean at macports.org
Date:     2013-02-04 09:16:18 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
offlineimap: use unified python portgroup

Modified Paths:
--------------
    trunk/dports/mail/offlineimap/Portfile

Modified: trunk/dports/mail/offlineimap/Portfile
===================================================================
--- trunk/dports/mail/offlineimap/Portfile	2013-02-04 17:16:08 UTC (rev 102526)
+++ trunk/dports/mail/offlineimap/Portfile	2013-02-04 17:16:18 UTC (rev 102527)
@@ -3,7 +3,7 @@
 
 PortSystem          1.0
 PortGroup           github 1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
 github.setup        spaetz offlineimap 6.5.2.1 v
 categories          mail python
@@ -36,19 +36,20 @@
                     how YOU want to.
 
 homepage            http://offlineimap.org/
-dist_subdir         ${name}
 
 checksums           rmd160  5097245e5d5470747aab0b79d96f1674e8dab65b \
                     sha256  046a4625459dbd4930cc8849149ef4c4db660415f6610c081c7804d419ba3131
 
-depends_build-append port:py27-docutils port:py27-sphinx
+python.default_version 27
+python.link_binaries_suffix
 
+depends_build       port:py${python.version}-docutils \
+                    port:py${python.version}-sphinx
+
 post-build {
     system -W ${worksrcpath} "PATH='${python.prefix}/bin:$env(PATH)' make doc man"
 }
 
-python.link_binaries_suffix
-
 post-destroot {
     xinstall -m 644 -W ${worksrcpath} \
         COPYING \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/f2b0f7a8/attachment.html>


More information about the macports-changes mailing list