On 6/11/20 5:09 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]>
---
  .../recipes-devtools/python/python-ply.inc    | 18 -----------------
  .../python/python3-ply_3.11.bb                | 20 +++++++++++++++++--
  2 files changed, 18 insertions(+), 20 deletions(-)
  delete mode 100644 meta-python/recipes-devtools/python/python-ply.inc

diff --git a/meta-python/recipes-devtools/python/python-ply.inc 
b/meta-python/recipes-devtools/python/python-ply.inc
deleted file mode 100644
index 149fe058f..000000000
--- a/meta-python/recipes-devtools/python/python-ply.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for 
Python"
-HOMEPAGE = "https://pypi.python.org/pypi/ply";
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = 
"file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
-
-SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
-SRC_URI[sha256sum] = 
"00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
-
-inherit pypi
-
-RDEPENDS_${PN}_class-target += "\
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-shell \
-"
-
-BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python3-ply_3.11.bb 
b/meta-python/recipes-devtools/python/python3-ply_3.11.bb
index 72410baeb..3aa010fac 100644
--- a/meta-python/recipes-devtools/python/python3-ply_3.11.bb
+++ b/meta-python/recipes-devtools/python/python3-ply_3.11.bb
@@ -1,2 +1,18 @@
-require python-ply.inc
-inherit setuptools3
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for 
Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply";
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
+
+SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
+SRC_URI[sha256sum] = 
"00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native"


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#85021): 
https://lists.openembedded.org/g/openembedded-devel/message/85021
Mute This Topic: https://lists.openembedded.org/mt/74814797/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to