Revision
102527
Author
sean@macports.org
Date
2013-02-04 09:16:18 -0800 (Mon, 04 Feb 2013)

Log Message

offlineimap: use unified python portgroup

Modified Paths

Diff

Modified: trunk/dports/mail/offlineimap/Portfile (102526 => 102527)


--- 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 \