Yocto recipes for easy to use python2 and python3 libraries for accessing 
twitter APIs

Signed-off-by: Sai Hari Chandana Kalluri <[email protected]>
---
 meta-python/recipes-devtools/python/python-twitter.inc  | 17 +++++++++++++++++
 .../recipes-devtools/python/python-twitter_3.7.0.bb     |  3 +++
 .../recipes-devtools/python/python3-twitter_3.7.0.bb    |  3 +++
 3 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-twitter.inc
 create mode 100644 meta-python/recipes-devtools/python/python-twitter_3.7.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-twitter_3.7.0.bb

diff --git a/meta-python/recipes-devtools/python/python-twitter.inc 
b/meta-python/recipes-devtools/python/python-twitter.inc
new file mode 100644
index 0000000..f5657ee
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-twitter.inc
@@ -0,0 +1,17 @@
+SUMMARY = "Twitter for Python"
+DESCRIPTION = "Python module to support twitter API"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=0307fffd8c4d9946c029daa1426d26e7"
+
+SRC_URI[md5sum] = "c6dc2f315ded761aafc96bea3351c7f6"
+SRC_URI[sha256sum] = 
"fe85a79f58a01dd335968523b91c5fce760e7fe78bf25a6e71c72204fe499d0b"
+
+PYPI_PACKAGE = "tweepy"
+
+RDEPENDS_${PN} += "\
+        ${PYTHON_PN}-pip \
+        ${PYTHON_PN}-pysocks \
+        ${PYTHON_PN}-requests \
+        ${PYTHON_PN}-six \
+        "
diff --git a/meta-python/recipes-devtools/python/python-twitter_3.7.0.bb 
b/meta-python/recipes-devtools/python/python-twitter_3.7.0.bb
new file mode 100644
index 0000000..6a28b08
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-twitter_3.7.0.bb
@@ -0,0 +1,3 @@
+require python-twitter.inc
+inherit pypi setuptools
+
diff --git a/meta-python/recipes-devtools/python/python3-twitter_3.7.0.bb 
b/meta-python/recipes-devtools/python/python3-twitter_3.7.0.bb
new file mode 100644
index 0000000..c2e4d2e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-twitter_3.7.0.bb
@@ -0,0 +1,3 @@
+require python-twitter.inc
+inherit pypi setuptools3
+
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to