[153800] trunk/dports/lang

larryv at macports.org larryv at macports.org
Tue Oct 11 21:38:22 CEST 2016


Revision: 153800
          https://trac.macports.org/changeset/153800
Author:   larryv at macports.org
Date:     2016-10-11 12:38:22 -0700 (Tue, 11 Oct 2016)
Log Message:
-----------
python*: Enable loadable SQLite extensions

This is disabled by default because Apple's system SQLite does not
support loadable extensions. But ours does.

Closes #49317.

Modified Paths:
--------------
    trunk/dports/lang/python27/Portfile
    trunk/dports/lang/python32/Portfile
    trunk/dports/lang/python33/Portfile
    trunk/dports/lang/python34/Portfile
    trunk/dports/lang/python35/Portfile
    trunk/dports/lang/python36/Portfile

Added Paths:
-----------
    trunk/dports/lang/python27/files/enable-loadable-sqlite-extensions.patch

Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile	2016-10-11 17:02:56 UTC (rev 153799)
+++ trunk/dports/lang/python27/Portfile	2016-10-11 19:38:22 UTC (rev 153800)
@@ -8,7 +8,7 @@
 epoch               2
 # Remember to keep py27-tkinter and py27-gdbm's versions sync'd with this
 version             2.7.12
-revision            1
+revision            2
 
 set major           [lindex [split $version .] 0]
 set branch          [join [lrange [split ${version} .] 0 1] .]
@@ -40,7 +40,8 @@
                     patch-libedit.diff \
                     patch-Include-pyport.h.diff \
                     omit-local-site-packages.patch \
-                    improve-QuickTime.h-check.patch
+                    improve-QuickTime.h-check.patch \
+                    enable-loadable-sqlite-extensions.patch
 
 depends_lib         port:gettext \
                     port:zlib \

Added: trunk/dports/lang/python27/files/enable-loadable-sqlite-extensions.patch
===================================================================
--- trunk/dports/lang/python27/files/enable-loadable-sqlite-extensions.patch	                        (rev 0)
+++ trunk/dports/lang/python27/files/enable-loadable-sqlite-extensions.patch	2016-10-11 19:38:22 UTC (rev 153800)
@@ -0,0 +1,16 @@
+https://trac.macports.org/ticket/49317
+
+Upstream-Status: Inappropriate [enable feature]
+
+Index: setup.py
+===================================================================
+--- setup.py.orig
++++ setup.py
+@@ -1158,7 +1158,6 @@ class PyBuildExt(build_ext):
+                 sqlite_defines.append(('MODULE_NAME', '\\"sqlite3\\"'))
+ 
+             # Comment this out if you want the sqlite3 module to be able to load extensions.
+-            sqlite_defines.append(("SQLITE_OMIT_LOAD_EXTENSION", "1"))
+ 
+             if host_platform == 'darwin':
+                 # In every directory on the search path search for a dynamic

Modified: trunk/dports/lang/python32/Portfile
===================================================================
--- trunk/dports/lang/python32/Portfile	2016-10-11 17:02:56 UTC (rev 153799)
+++ trunk/dports/lang/python32/Portfile	2016-10-11 19:38:22 UTC (rev 153800)
@@ -8,7 +8,7 @@
 epoch                   20120412
 # Remember to keep py32-tkinter and py32-gdbm's versions sync'd with this
 version                 3.2.6
-revision                4
+revision                5
 
 set major               [lindex [split $version .] 0]
 set branch              [join [lrange [split ${version} .] 0 1] .]
@@ -51,6 +51,7 @@
 
 configure.args          --enable-framework=${frameworks_dir} \
                         --enable-ipv6 \
+                        --enable-loadable-sqlite-extensions \
                         --with-computed-gotos
 configure.ccache        no
 

Modified: trunk/dports/lang/python33/Portfile
===================================================================
--- trunk/dports/lang/python33/Portfile	2016-10-11 17:02:56 UTC (rev 153799)
+++ trunk/dports/lang/python33/Portfile	2016-10-11 19:38:22 UTC (rev 153800)
@@ -8,7 +8,7 @@
 
 # Remember to keep py33-tkinter and py33-gdbm's versions sync'd with this
 version             3.3.6
-revision            6
+revision            7
 
 epoch               20141012
 
@@ -58,6 +58,7 @@
 
 configure.args      --enable-framework=${frameworks_dir} \
                     --enable-ipv6 \
+                    --enable-loadable-sqlite-extensions \
                     --with-computed-gotos
 configure.ccache    no
 

Modified: trunk/dports/lang/python34/Portfile
===================================================================
--- trunk/dports/lang/python34/Portfile	2016-10-11 17:02:56 UTC (rev 153799)
+++ trunk/dports/lang/python34/Portfile	2016-10-11 19:38:22 UTC (rev 153800)
@@ -8,6 +8,7 @@
 
 # Remember to keep py34-tkinter and py34-gdbm's versions sync'd with this
 version             3.4.5
+revision            1
 
 epoch               20160627
 
@@ -54,6 +55,7 @@
 # packages
 configure.args      --enable-framework=${frameworks_dir} \
                     --enable-ipv6 \
+                    --enable-loadable-sqlite-extensions \
                     --with-computed-gotos \
                     --with-ensurepip=no
 

Modified: trunk/dports/lang/python35/Portfile
===================================================================
--- trunk/dports/lang/python35/Portfile	2016-10-11 17:02:56 UTC (rev 153799)
+++ trunk/dports/lang/python35/Portfile	2016-10-11 19:38:22 UTC (rev 153800)
@@ -8,6 +8,7 @@
 
 # Remember to keep py35-tkinter and py35-gdbm's versions sync'd with this
 version             3.5.2
+revision            1
 
 epoch               20160627
 
@@ -55,6 +56,7 @@
 # packages
 configure.args      --enable-framework=${frameworks_dir} \
                     --enable-ipv6 \
+                    --enable-loadable-sqlite-extensions \
                     --with-computed-gotos \
                     --with-ensurepip=no
 

Modified: trunk/dports/lang/python36/Portfile
===================================================================
--- trunk/dports/lang/python36/Portfile	2016-10-11 17:02:56 UTC (rev 153799)
+++ trunk/dports/lang/python36/Portfile	2016-10-11 19:38:22 UTC (rev 153800)
@@ -8,6 +8,7 @@
 
 # Remember to keep py36-tkinter and py36-gdbm's versions sync'd with this
 version             3.6.0b2
+revision            1
 
 epoch               20161011
 
@@ -56,6 +57,7 @@
 # packages
 configure.args      --enable-framework=${frameworks_dir} \
                     --enable-ipv6 \
+                    --enable-loadable-sqlite-extensions \
                     --with-computed-gotos \
                     --with-ensurepip=no
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161011/95582ce5/attachment-0002.html>


More information about the macports-changes mailing list