From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [65.126.90.84] (helo=mail.multitech.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nh6nE-0002bO-Pu for openembedded-devel@lists.openembedded.org; Mon, 15 Feb 2010 20:39:43 +0100 X-Ninja-AntiSpoofing: spoofed Received: from [192.168.52.197] ([192.168.52.197]) by mail.multitech.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 15 Feb 2010 13:35:46 -0600 From: Jesse Gilles To: openembedded-devel@lists.openembedded.org Date: Mon, 15 Feb 2010 13:35:58 -0600 Message-Id: <1266262558.32499.31.camel@jjg-linux> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 X-OriginalArrivalTime: 15 Feb 2010 19:35:46.0051 (UTC) FILETIME=[11BDDD30:01CAAE76] X-SA-Exim-Connect-IP: 65.126.90.84 X-SA-Exim-Mail-From: jgilles@multitech.com X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: [PATCH 1/2] python: fix SSL for 2.6 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 19:39:44 -0000 Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi all, I am new to the mailing list and I have a couple of patches to contribute. This fixes SSL support for python 2.6. Looks like the python module for SSL was missing from the package. Thanks, Jesse * Add SSL module to build -- fixes "import ssl" diff --git a/contrib/python/generate-manifest-2.6.py b/contrib/python/generate-manifest-2.6.py index fe0e385..890d1c0 100755 --- a/contrib/python/generate-manifest-2.6.py +++ b/contrib/python/generate-manifest-2.6.py @@ -248,7 +248,7 @@ if __name__ == "__main__": m.addPackage( "python-io", "Python Low-Level I/O", "python-core python-math", "lib-dynload/_socket.so lib-dynload/_ssl.so lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so " + - "pipes.* socket.* tempfile.* StringIO.* " ) + "pipes.* socket.* ssl.* tempfile.* StringIO.* " ) m.addPackage( "python-json", "Python JSON Support", "python-core python-math python-re", "json" ) # package diff --git a/recipes/python/python-2.6-manifest.inc b/recipes/python/python-2.6-manifest.inc index cee12c8..188ee31 100644 --- a/recipes/python/python-2.6-manifest.inc +++ b/recipes/python/python-2.6-manifest.inc @@ -51,7 +51,7 @@ FILES_python-core="${libdir}/python2.6/__future__.* ${libdir}/python2.6/_abcoll. DESCRIPTION_python-io="Python Low-Level I/O" RDEPENDS_python-io="python-core python-math" -FILES_python-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* " +FILES_python-io="${libdir}/python2.6/lib-dynload/_socket.so ${libdir}/python2.6/lib-dynload/_ssl.so ${libdir}/python2.6/lib-dynload/select.so ${libdir}/python2.6/lib-dynload/termios.so ${libdir}/python2.6/lib-dynload/cStringIO.so ${libdir}/python2.6/pipes.* ${libdir}/python2.6/socket.* ${libdir}/python2.6/ssl.* ${libdir}/python2.6/tempfile.* ${libdir}/python2.6/StringIO.* " DESCRIPTION_python-compiler="Python Compiler Support" RDEPENDS_python-compiler="python-core" diff --git a/recipes/python/python.inc b/recipes/python/python.inc index 7e61f79..aff18db 100644 --- a/recipes/python/python.inc +++ b/recipes/python/python.inc @@ -4,7 +4,7 @@ LICENSE = "PSF" SECTION = "devel/python" PRIORITY = "optional" # bump this on every change in contrib/python/generate-manifest-2.6.py -INC_PR = "ml8" +INC_PR = "ml9" DEFAULT_PREFERENCE = "-26"