[149730] trunk/dports/lang/python27/Portfile

eborisch at macports.org eborisch at macports.org
Wed Jun 29 12:36:59 PDT 2016


Revision: 149730
          https://trac.macports.org/changeset/149730
Author:   eborisch at macports.org
Date:     2016-06-29 12:36:59 -0700 (Wed, 29 Jun 2016)
Log Message:
-----------
python27: Move back to libedit; message to suggest installing py27-readline remains. See #48807.

Modified Paths:
--------------
    trunk/dports/lang/python27/Portfile

Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile	2016-06-29 19:29:58 UTC (rev 149729)
+++ trunk/dports/lang/python27/Portfile	2016-06-29 19:36:59 UTC (rev 149730)
@@ -8,6 +8,7 @@
 epoch               2
 # Remember to keep py27-tkinter and py27-gdbm's versions sync'd with this
 version             2.7.12
+revision            1
 
 set major           [lindex [split $version .] 0]
 set branch          [join [lrange [split ${version} .] 0 1] .]
@@ -36,6 +37,7 @@
                     patch-Lib-cgi.py.diff \
                     patch-Lib-ctypes-macholib-dyld.py.diff \
                     patch-configure.diff \
+                    patch-libedit.diff \
                     patch-Include-pyport.h.diff \
                     omit-local-site-packages.patch
 
@@ -46,8 +48,7 @@
                     port:db48 \
                     port:ncurses \
                     port:bzip2 \
-                    port:libedit \
-                    port:readline
+                    port:libedit
 depends_run         port:python_select \
                     port:python2_select
 
@@ -140,18 +141,11 @@
 }
 
 variant readline description {Use readline instead of libedit} {
-# Building with readline by default for now. See:
-# https://trac.macports.org/ticket/48807
-#    patchfiles-delete       patch-libedit.diff
-#    depends_lib-append      port:readline
+    patchfiles-delete       patch-libedit.diff
+    depends_lib-append      port:readline
     depends_lib-delete      port:libedit
 }
 
-variant libedit description {Use libedit instead of readline} {
-    patchfiles-append       patch-libedit.diff
-    depends_lib-delete      port:readline
-}
-
 variant universal {
     # This patch will need updating when 2.7.6 is released, as ARCH_RUN_32BIT
     # will once again be used for something. See ticket #39270.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160629/a589bd58/attachment.html>


More information about the macports-changes mailing list