[70766] trunk/dports/editors

raimue at macports.org raimue at macports.org
Fri Aug 20 11:21:57 PDT 2010


Revision: 70766
          http://trac.macports.org/changeset/70766
Author:   raimue at macports.org
Date:     2010-08-20 11:21:56 -0700 (Fri, 20 Aug 2010)
Log Message:
-----------
editors/vim, editors/vim-app:
Add +python27 variant, fixes #26155

Modified Paths:
--------------
    trunk/dports/editors/vim/Portfile
    trunk/dports/editors/vim-app/Portfile

Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile	2010-08-20 18:07:56 UTC (rev 70765)
+++ trunk/dports/editors/vim/Portfile	2010-08-20 18:21:56 UTC (rev 70766)
@@ -133,7 +133,7 @@
     depends_lib-append      path:bin/perl:perl5
 }
 variant python requires python25 description {Compatibility variant, requires +python25} {}
-variant python25 conflicts python26 python31 description {Enable Python scripting} {
+variant python25 conflicts python26 python27 python31 description {Enable Python scripting} {
     configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.5
     patchfiles-append       patch-python.diff
     depends_lib-append      port:python25
@@ -142,7 +142,7 @@
     # Overwriting autoconf.cmd above removes dependency, add it again
     depends_build-append port:autoconf
 }
-variant python26 conflicts python25 python31 description {Enable Python scripting} {
+variant python26 conflicts python25 python27 python31 description {Enable Python scripting} {
     configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.6
     patchfiles-append       patch-python.diff
     depends_lib-append      port:python26
@@ -151,7 +151,16 @@
     # Overwriting autoconf.cmd above removes dependency, add it again
     depends_build-append port:autoconf
 }
-variant python31 conflicts python25 python26 description {Enable Python scripting} {
+variant python27 conflicts python25 python26 python31 description {Enable Python scripting} {
+    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.7
+    patchfiles-append       patch-python.diff
+    depends_lib-append      port:python27
+
+    use_autoconf yes
+    # Overwriting autoconf.cmd above removes dependency, add it again
+    depends_build-append port:autoconf
+}
+variant python31 conflicts python25 python26 python27 description {Enable Python scripting} {
     configure.args-append   --enable-python3interp --with-python=${prefix}/bin/python3.1
     patchfiles-append       patch-python3.diff
     depends_lib-append      port:python31

Modified: trunk/dports/editors/vim-app/Portfile
===================================================================
--- trunk/dports/editors/vim-app/Portfile	2010-08-20 18:07:56 UTC (rev 70765)
+++ trunk/dports/editors/vim-app/Portfile	2010-08-20 18:21:56 UTC (rev 70766)
@@ -7,6 +7,7 @@
 set vim_version     7.3
 set vim_patchlevel  3
 version             ${vim_version}.${vim_patchlevel}
+revision            1
 categories          editors
 maintainers         raimue
 description         Vim.app is a GUI version of the famous editor vim.
@@ -56,8 +57,7 @@
     7.3.002 md5 2949cbdfe86f533c487fd144c5935c7a \
     7.3.003 md5 9059db41cf3a468935745242cb9c0514
 
-depends_build       bin:gnutar:gnutar \
-                    bin:grep:grep
+depends_build       bin:grep:grep
 depends_lib         port:ncurses \
                     port:libiconv \
                     port:ctags
@@ -148,7 +148,7 @@
     depends_lib-append      path:bin/perl:perl5
 }
 variant python requires python25 description {Compatibility variant, requires +python25} {}
-variant python25 conflicts python26 python31 description {Enable Python scripting} {
+variant python25 conflicts python26 python27 python31 description {Enable Python scripting} {
     configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.5
     patchfiles-append       patch-python.diff
     depends_lib-append      port:python25
@@ -157,7 +157,7 @@
     # Overwriting autoconf.cmd above removes dependency, add it again
     depends_build-append port:autoconf
 }
-variant python26 conflicts python25 python31 description {Enable Python scripting} {
+variant python26 conflicts python25 python27 python31 description {Enable Python scripting} {
     configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.6
     patchfiles-append       patch-python.diff
     depends_lib-append      port:python26
@@ -166,7 +166,16 @@
     # Overwriting autoconf.cmd above removes dependency, add it again
     depends_build-append port:autoconf
 }
-variant python31 conflicts python25 python26 description {Enable Python scripting} {
+variant python27 conflicts python25 python26 python31 description {Enable Python scripting} {
+    configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.7
+    patchfiles-append       patch-python.diff
+    depends_lib-append      port:python27
+
+    use_autoconf yes
+    # Overwriting autoconf.cmd above removes dependency, add it again
+    depends_build-append port:autoconf
+}
+variant python31 conflicts python25 python26 python27 description {Enable Python scripting} {
     configure.args-append   --enable-python3interp --with-python=${prefix}/bin/python3.1
     patchfiles-append       patch-python3.diff
     depends_lib-append      port:python31
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100820/e199352a/attachment.html>


More information about the macports-changes mailing list