From 289cf8d5252130fcc59873da8273d313594992ac Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 16 Jul 2014 13:03:49 +0000 Subject: python-pycurl: Upgrade 7.19.3 -> 7.19.3.1 License text just moved within the README.rst (same checksum) (From OE-Core rev: 2d7566c7b564facb4ada5b29f7a77bfb203ebcb0) Signed-off-by: Richard Purdie --- .../python/python-pycurl/no-static-link.patch | 24 +++++++-------- .../python/python-pycurl_7.19.3.1.bb | 34 ++++++++++++++++++++++ .../python/python-pycurl_7.19.3.bb | 34 ---------------------- 3 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 meta/recipes-devtools/python/python-pycurl_7.19.3.1.bb delete mode 100644 meta/recipes-devtools/python/python-pycurl_7.19.3.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/python/python-pycurl/no-static-link.patch b/meta/recipes-devtools/python/python-pycurl/no-static-link.patch index 907380f..c5349ee 100644 --- a/meta/recipes-devtools/python/python-pycurl/no-static-link.patch +++ b/meta/recipes-devtools/python/python-pycurl/no-static-link.patch @@ -2,16 +2,16 @@ Upstream-Status: Pending Signed-off-by: Laurentiu Palcu -Index: pycurl-7.19.3/setup.py +Index: pycurl-7.19.3.1/setup.py =================================================================== ---- pycurl-7.19.3.orig/setup.py 2014-01-10 08:04:40.000000000 +0200 -+++ pycurl-7.19.3/setup.py 2014-02-04 15:09:08.411552887 +0200 -@@ -211,7 +211,7 @@ - # If neither --libs nor --static-libs work, fail. - optbuf = "" - errtext = '' -- for option in ["--libs", "--static-libs"]: -+ for option in ["--libs"]: - p = subprocess.Popen((CURL_CONFIG, option), - stdout=subprocess.PIPE, stderr=subprocess.PIPE) - stdout, stderr = p.communicate() +--- pycurl-7.19.3.1.orig/setup.py 2014-07-16 12:57:24.065346887 +0000 ++++ pycurl-7.19.3.1/setup.py 2014-07-16 12:57:53.057347678 +0000 +@@ -147,7 +147,7 @@ + optbuf = '' + sslhintbuf = '' + errtext = '' +- for option in ["--libs", "--static-libs"]: ++ for option in ["--libs"]: + p = subprocess.Popen((CURL_CONFIG, option), + stdout=subprocess.PIPE, stderr=subprocess.PIPE) + stdout, stderr = p.communicate() diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.3.1.bb b/meta/recipes-devtools/python/python-pycurl_7.19.3.1.bb new file mode 100644 index 0000000..02d0ae9 --- /dev/null +++ b/meta/recipes-devtools/python/python-pycurl_7.19.3.1.bb @@ -0,0 +1,34 @@ +SUMMARY = "Python bindings for libcurl" +HOMEPAGE = "http://pycurl.sourceforge.net/" +SECTION = "devel/python" +LICENSE = "LGPLv2.1+ | MIT" +LIC_FILES_CHKSUM = "file://README.rst;beginline=148;endline=163;md5=57e5ab0c0f964533fc59d93dec5695bb \ + file://COPYING-LGPL;md5=3579a9fd0221d49a237aaa33492f988c \ + file://COPYING-MIT;md5=e8200955c773b2a0fd6cea36ea5e87be" + +DEPENDS = "curl python" +RDEPENDS_${PN} = "python-core curl" +SRCNAME = "pycurl" + +SRC_URI = "\ + http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \ + file://no-static-link.patch \ +" + +SRC_URI[archive.md5sum] = "6df8fa7fe8b680d93248da1f8d4fcd12" +SRC_URI[archive.sha256sum] = "c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +# need to export these variables for python-config to work +export BUILD_SYS +export HOST_SYS +export STAGING_INCDIR +export STAGING_LIBDIR + +BBCLASSEXTEND = "native" + +do_install_append() { + rm -rf ${D}${datadir}/share +} diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.3.bb b/meta/recipes-devtools/python/python-pycurl_7.19.3.bb deleted file mode 100644 index aee6cdd..0000000 --- a/meta/recipes-devtools/python/python-pycurl_7.19.3.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "Python bindings for libcurl" -HOMEPAGE = "http://pycurl.sourceforge.net/" -SECTION = "devel/python" -LICENSE = "LGPLv2.1+ | MIT" -LIC_FILES_CHKSUM = "file://README.rst;beginline=204;endline=219;md5=57e5ab0c0f964533fc59d93dec5695bb \ - file://COPYING-LGPL;md5=3579a9fd0221d49a237aaa33492f988c \ - file://COPYING-MIT;md5=e8200955c773b2a0fd6cea36ea5e87be" - -DEPENDS = "curl python" -RDEPENDS_${PN} = "python-core curl" -SRCNAME = "pycurl" - -SRC_URI = "\ - http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \ - file://no-static-link.patch \ -" - -SRC_URI[archive.md5sum] = "b9091b7438d3de1552e28862d2971cd1" -SRC_URI[archive.sha256sum] = "05e48835fe445ff327dcd373f49d9970e0b828a07cd4d08a23264507a742d616" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils - -# need to export these variables for python-config to work -export BUILD_SYS -export HOST_SYS -export STAGING_INCDIR -export STAGING_LIBDIR - -BBCLASSEXTEND = "native" - -do_install_append() { - rm -rf ${D}${datadir}/share -} -- cgit v1.1