From 7428e0249aaa24dfa5321590a4849bd27c27f5b8 Mon Sep 17 00:00:00 2001
From: Ilya Dmitrichenko <ilya.dmitrichenko@cosm.com>
Date: Wed, 24 Apr 2013 19:36:05 +0100
Subject: [PATCH] python-requests: add version 1.2.0

---
 .../python/python-requests_1.2.0.bb                |   31 ++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-requests_1.2.0.bb

diff --git a/meta-oe/recipes-devtools/python/python-requests_1.2.0.bb b/meta-oe/recipes-devtools/python/python-requests_1.2.0.bb
new file mode 100644
index 0000000..1624884
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-requests_1.2.0.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Requests: HTTP for Humans"
+HOMEPAGE = "http://docs.python-requests.org/en/latest/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+
+RDEPENDS_${PN} = "python"
+PR = "r0"
+
+SRC_URI = "git://github.com/kennethreitz/requests;protocol=git"
+
+S = "${WORKDIR}/git/"
+
+SRCREV = "v${PV}"
+
+LIC_FILES_CHKSUM = "file://README.rst;md5=74c75b1ca7932ffb54dc2d3d185d8803 \
+                    file://NOTICE;md5=a7fcf1dc2d13f4c1e901564711244fb4 \
+                    file://LICENSE;md5=c858703330162aa799141655a10fe120"
+
+inherit setuptools
+
+# 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 -f ${D}${libdir}/python*/site-packages/site.py*
+}
-- 
1.7.5.4

