[oe] [meta-python][PATCH 1/2] python-blinker: move core recipe code to .inc file

Bill Randle bill.randle at gmail.com
Sat Dec 2 05:11:53 UTC 2017


Signed-off-by: Bill Randle <bill.randle at gmail.com>
---
 meta-python/recipes-devtools/python/python-blinker.inc    | 7 +++++++
 meta-python/recipes-devtools/python/python-blinker_1.4.bb | 8 +-------
 2 files changed, 8 insertions(+), 7 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-blinker.inc

diff --git a/meta-python/recipes-devtools/python/python-blinker.inc b/meta-python/recipes-devtools/python/python-blinker.inc
new file mode 100644
index 0000000..eaf3908
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-blinker.inc
@@ -0,0 +1,7 @@
+DESCRIPTION = "Fast, simple object-to-object and broadcast signaling."
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=946d7e89af6f7733aeaebed5635d2682"
+
+SRC_URI[md5sum] = "8b3722381f83c2813c52de3016b68d33"
+SRC_URI[sha256sum] = "471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6"
+
diff --git a/meta-python/recipes-devtools/python/python-blinker_1.4.bb b/meta-python/recipes-devtools/python/python-blinker_1.4.bb
index 0ce141f..bc4164e 100644
--- a/meta-python/recipes-devtools/python/python-blinker_1.4.bb
+++ b/meta-python/recipes-devtools/python/python-blinker_1.4.bb
@@ -1,8 +1,2 @@
-DESCRIPTION = "Fast, simple object-to-object and broadcast signaling."
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=946d7e89af6f7733aeaebed5635d2682"
-
-SRC_URI[md5sum] = "8b3722381f83c2813c52de3016b68d33"
-SRC_URI[sha256sum] = "471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6"
-
 inherit pypi setuptools
+require python-blinker.inc
-- 
2.7.4




More information about the Openembedded-devel mailing list