From 248316fd60de06f2cae38ce6092dbd1b112d7f4b Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Sat, 4 Apr 2020 09:28:46 -0400 Subject: python-twitter: consolidate inc and bb files into a single bb file Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-twitter.inc | 17 ----------------- .../recipes-devtools/python/python3-twitter_3.8.0.bb | 18 +++++++++++++++++- 2 files changed, 17 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-twitter.inc (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-twitter.inc b/meta-python/recipes-devtools/python/python-twitter.inc deleted file mode 100644 index ac3f65279a..0000000000 --- a/meta-python/recipes-devtools/python/python-twitter.inc +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "Twitter for Python" -DESCRIPTION = "Python module to support twitter API" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=8f702b489acb6863cec8b261a55931d8" - -SRC_URI[md5sum] = "8aeff278b7cefcd384c65929bc921e2c" -SRC_URI[sha256sum] = "8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b" - -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/python3-twitter_3.8.0.bb b/meta-python/recipes-devtools/python/python3-twitter_3.8.0.bb index c2e4d2ebd3..78f66a4435 100644 --- a/meta-python/recipes-devtools/python/python3-twitter_3.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-twitter_3.8.0.bb @@ -1,3 +1,19 @@ -require python-twitter.inc +SUMMARY = "Twitter for Python" +DESCRIPTION = "Python module to support twitter API" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=8f702b489acb6863cec8b261a55931d8" + +SRC_URI[md5sum] = "8aeff278b7cefcd384c65929bc921e2c" +SRC_URI[sha256sum] = "8abd828ba51a85a2b5bb7373715d6d3bb32d18ac624e3a4db02e4ef8ab48316b" + +PYPI_PACKAGE = "tweepy" + inherit pypi setuptools3 +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-pip \ + ${PYTHON_PN}-pysocks \ + ${PYTHON_PN}-requests \ + ${PYTHON_PN}-six \ +" -- cgit v1.2.3-54-g00ecf