[140531] trunk/dports/lang

eborisch at macports.org eborisch at macports.org
Mon Sep 21 16:39:34 PDT 2015


Revision: 140531
          https://trac.macports.org/changeset/140531
Author:   eborisch at macports.org
Date:     2015-09-21 16:39:33 -0700 (Mon, 21 Sep 2015)
Log Message:
-----------
python{26,27,34,35}: Add readline variant. Not currently in default_variants. See #48807.

Modified Paths:
--------------
    trunk/dports/lang/python26/Portfile
    trunk/dports/lang/python27/Portfile
    trunk/dports/lang/python34/Portfile
    trunk/dports/lang/python35/Portfile

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2015-09-21 22:49:20 UTC (rev 140530)
+++ trunk/dports/lang/python26/Portfile	2015-09-21 23:39:33 UTC (rev 140531)
@@ -151,6 +151,12 @@
    }
 }
 
+variant readline description {Use readline instead of libedit} {
+    patchfiles-delete       patch-libedit.diff
+    depends_lib-append      port:readline
+    depends_lib-delete      port:libedit
+}
+
 variant universal {
    post-patch {
       set universal_arch_flags {}

Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile	2015-09-21 22:49:20 UTC (rev 140530)
+++ trunk/dports/lang/python27/Portfile	2015-09-21 23:39:33 UTC (rev 140531)
@@ -133,6 +133,12 @@
     }
 }
 
+variant readline description {Use readline instead of libedit} {
+    patchfiles-delete       patch-libedit.diff
+    depends_lib-append      port:readline
+    depends_lib-delete      port:libedit
+}
+
 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.

Modified: trunk/dports/lang/python34/Portfile
===================================================================
--- trunk/dports/lang/python34/Portfile	2015-09-21 22:49:20 UTC (rev 140530)
+++ trunk/dports/lang/python34/Portfile	2015-09-21 23:39:33 UTC (rev 140531)
@@ -139,6 +139,12 @@
    }
 }
 
+variant readline description {Use readline instead of libedit} {
+    patchfiles-delete       patch-libedit.diff
+    depends_lib-append      port:readline
+    depends_lib-delete      port:libedit
+}
+
 variant universal {
    post-patch {
       set universal_arch_flags {}

Modified: trunk/dports/lang/python35/Portfile
===================================================================
--- trunk/dports/lang/python35/Portfile	2015-09-21 22:49:20 UTC (rev 140530)
+++ trunk/dports/lang/python35/Portfile	2015-09-21 23:39:33 UTC (rev 140531)
@@ -139,6 +139,12 @@
    }
 }
 
+variant readline description {Use readline instead of libedit} {
+    patchfiles-delete       patch-libedit.diff
+    depends_lib-append      port:readline
+    depends_lib-delete      port:libedit
+}
+
 variant universal {
     post-patch {
         set universal_arch_flags {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150921/d48cadb7/attachment.html>


More information about the macports-changes mailing list