[oe-commits] org.oe.dev python-pycurl 7.16.4 update to 7.18.2; use dynamic linking

mickeyl commit oe at amethyst.openembedded.net
Mon Sep 1 18:02:29 UTC 2008


python-pycurl 7.16.4 update to 7.18.2; use dynamic linking

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 046d0038a1fd8f7ac2c8212c49c4d8ea242ec29c
ViewMTN: http://monotone.openembedded.org/revision/info/046d0038a1fd8f7ac2c8212c49c4d8ea242ec29c
Files:
1
packages/python/python-pycurl_7.16.4.bb
packages/python/python-pycurl_7.18.2.bb
packages/python/python-pycurl
packages/python/python-pycurl/no-static-link.patch
Diffs:

#
# mt diff -ra730d13ad30d0565b6b3304e5c7f2c19059c0148 -r046d0038a1fd8f7ac2c8212c49c4d8ea242ec29c
#
#
#
# rename "packages/python/python-pycurl_7.16.4.bb"
#     to "packages/python/python-pycurl_7.18.2.bb"
# 
# add_dir "packages/python/python-pycurl"
# 
# add_file "packages/python/python-pycurl/no-static-link.patch"
#  content [7928a57c457d9a17352409341462617d3d4350c7]
# 
# patch "packages/python/python-pycurl_7.18.2.bb"
#  from [1e039ddae712ee23260a05c12ac59c53d4eb34ad]
#    to [7db92bdac12d531b715b196cf184c7eafec79dbe]
#
============================================================
--- packages/python/python-pycurl/no-static-link.patch	7928a57c457d9a17352409341462617d3d4350c7
+++ packages/python/python-pycurl/no-static-link.patch	7928a57c457d9a17352409341462617d3d4350c7
@@ -0,0 +1,14 @@
+Index: pycurl-7.18.2/setup.py
+===================================================================
+--- pycurl-7.18.2.orig/setup.py
++++ pycurl-7.18.2/setup.py
+@@ -97,8 +97,7 @@ else:
+         else:
+             extra_compile_args.append(e)
+     libs = split_quoted(
+-        os.popen("'%s' --libs" % CURL_CONFIG).read()+\
+-        os.popen("'%s' --static-libs" % CURL_CONFIG).read())
++        os.popen("'%s' --libs" % CURL_CONFIG).read())
+     for e in libs:
+         if e[:2] == "-l":
+             libraries.append(e[2:])
============================================================
--- packages/python/python-pycurl_7.16.4.bb	1e039ddae712ee23260a05c12ac59c53d4eb34ad
+++ packages/python/python-pycurl_7.18.2.bb	7db92bdac12d531b715b196cf184c7eafec79dbe
@@ -2,11 +2,20 @@ LICENSE = "LGPL"
 SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "LGPL"
-RDEPENDS = "python-core curl (>=${PV})"
 DEPENDS = "curl-${PV}"
 SRCNAME = "pycurl"
+PR = "ml0"
 
-SRC_URI = "http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz"
+SRC_URI = "\
+  http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz \
+  file://no-static-link.patch;patch=1 \
+"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
+
+do_install_append() {
+	mv -f ${D}${datadir}/share/* ${D}${datadir}/
+}
+
+RDEPENDS = "python-core curl (>=${PV})"






More information about the Openembedded-commits mailing list