On 6/19/20 4:10 AM, Leon Anavi wrote:
Consolidate inc and bb files into a single bb file.
Signed-off-by: Leon Anavi <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
---
.../python/python-prompt-toolkit.inc | 18 ------------------
.../python/python3-prompt-toolkit_2.0.10.bb | 17 ++++++++++++++++-
2 files changed, 16 insertions(+), 19 deletions(-)
delete mode 100644
meta-python/recipes-devtools/python/python-prompt-toolkit.inc
diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
deleted file mode 100644
index 91aa7bb19..000000000
--- a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Library for building powerful interactive command lines in Python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
-
-SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
-SRC_URI[sha256sum] =
"f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
-
-PYPI_PACKAGE = "prompt_toolkit"
-
-RDEPENDS_${PN} += " \
- ${PYTHON_PN}-core \
- ${PYTHON_PN}-six \
- ${PYTHON_PN}-terminal \
- ${PYTHON_PN}-threading \
- ${PYTHON_PN}-wcwidth \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git
a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
b/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
index 0e99917c2..d9ece8dab 100644
--- a/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_2.0.10.bb
@@ -1,7 +1,22 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
+
+SRC_URI[md5sum] = "5016c523e603cd7119644fbc0f00ce53"
+SRC_URI[sha256sum] =
"f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"
+
inherit pypi setuptools3
-require python-prompt-toolkit.inc
+
+PYPI_PACKAGE = "prompt_toolkit"
RDEPENDS_${PN} += " \
+ ${PYTHON_PN}-core \
+ ${PYTHON_PN}-six \
+ ${PYTHON_PN}-terminal \
+ ${PYTHON_PN}-threading \
+ ${PYTHON_PN}-wcwidth \
${PYTHON_PN}-datetime \
${PYTHON_PN}-shell \
"
+
+BBCLASSEXTEND = "native nativesdk"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#85266):
https://lists.openembedded.org/g/openembedded-devel/message/85266
Mute This Topic: https://lists.openembedded.org/mt/74975637/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-