[oe] [meta-python][master][PATCH] python-requests-oauthlib: Recipes to provide support for Requests-Oauthlib libraries

Sai Hari Chandana Kalluri chandana.kalluri at xilinx.com
Wed Feb 6 00:03:44 UTC 2019


Yocto recipes for Python Requests and Oauthlib libraries to provide
easy-to-use Python 2 and Python 3 interfaces for building OAuth1 and
OAuth2 clients.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri at xilinx.com>
---
 meta-python/recipes-devtools/python/python-requests-oauthlib.inc   | 7 +++++++
 .../recipes-devtools/python/python-requests-oauthlib_0.8.0.bb      | 3 +++
 .../recipes-devtools/python/python3-requests-oauthlib_0.8.0.bb     | 3 +++
 3 files changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-requests-oauthlib.inc
 create mode 100644 meta-python/recipes-devtools/python/python-requests-oauthlib_0.8.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-requests-oauthlib_0.8.0.bb

diff --git a/meta-python/recipes-devtools/python/python-requests-oauthlib.inc b/meta-python/recipes-devtools/python/python-requests-oauthlib.inc
new file mode 100644
index 0000000..4bc6a36
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-requests-oauthlib.inc
@@ -0,0 +1,7 @@
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=22d117a849df10d047ed9b792838e863"
+
+SRC_URI[md5sum] = "4358a879a4377393bcfd37d0f9ae6d4d"
+SRC_URI[sha256sum] = "883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-requests"
diff --git a/meta-python/recipes-devtools/python/python-requests-oauthlib_0.8.0.bb b/meta-python/recipes-devtools/python/python-requests-oauthlib_0.8.0.bb
new file mode 100644
index 0000000..4318915
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-requests-oauthlib_0.8.0.bb
@@ -0,0 +1,3 @@
+require python-requests-oauthlib.inc
+inherit pypi setuptools
+
diff --git a/meta-python/recipes-devtools/python/python3-requests-oauthlib_0.8.0.bb b/meta-python/recipes-devtools/python/python3-requests-oauthlib_0.8.0.bb
new file mode 100644
index 0000000..1294661
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-requests-oauthlib_0.8.0.bb
@@ -0,0 +1,3 @@
+require python-requests-oauthlib.inc
+inherit pypi setuptools3
+
-- 
2.7.4



More information about the Openembedded-devel mailing list