* Re: [meta-python][PATCH] python-pbr: Add python3 version
2019-08-07 16:33 [meta-python][PATCH] python-pbr: Add python3 version Zheng Ruoqin
@ 2019-08-07 7:59 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2019-08-07 7:59 UTC (permalink / raw)
To: Zheng Ruoqin; +Cc: openembedded-devel
On Thu, Aug 08, 2019 at 12:33:05AM +0800, Zheng Ruoqin wrote:
> Providing a python3 version of python-pbr.
>...
python3-pbr is already in oe-core.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 2+ messages in thread
* [meta-python][PATCH] python-pbr: Add python3 version
@ 2019-08-07 16:33 Zheng Ruoqin
2019-08-07 7:59 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Ruoqin @ 2019-08-07 16:33 UTC (permalink / raw)
To: openembedded-devel
Providing a python3 version of python-pbr.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
---
meta-python/recipes-devtools/python/python-pbr.inc | 12 ++++++++++++
.../recipes-devtools/python/python-pbr_5.4.2.bb | 13 +------------
.../recipes-devtools/python/python3-pbr_5.4.2.bb | 2 ++
3 files changed, 15 insertions(+), 12 deletions(-)
create mode 100644 meta-python/recipes-devtools/python/python-pbr.inc
create mode 100644 meta-python/recipes-devtools/python/python3-pbr_5.4.2.bb
diff --git a/meta-python/recipes-devtools/python/python-pbr.inc b/meta-python/recipes-devtools/python/python-pbr.inc
new file mode 100644
index 000000000..6c5d4b1cc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pbr.inc
@@ -0,0 +1,12 @@
+# The inc file is in oe-core
+require recipes-devtools/python/python-pbr.inc
+
+SRC_URI[md5sum] = "ea90e1118a0132da752d45e68d10b2b8"
+SRC_URI[sha256sum] = "9b321c204a88d8ab5082699469f52cc94c5da45c51f114113d01b3d993c24cdf"
+
+do_install_append() {
+ if [ -f ${D}${bindir}/pbr ]; then
+ mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2
+ fi
+}
+
diff --git a/meta-python/recipes-devtools/python/python-pbr_5.4.2.bb b/meta-python/recipes-devtools/python/python-pbr_5.4.2.bb
index 1023b2031..8f7f924da 100644
--- a/meta-python/recipes-devtools/python/python-pbr_5.4.2.bb
+++ b/meta-python/recipes-devtools/python/python-pbr_5.4.2.bb
@@ -1,13 +1,2 @@
inherit setuptools
-# The inc file is in oe-core
-require recipes-devtools/python/python-pbr.inc
-
-SRC_URI[md5sum] = "ea90e1118a0132da752d45e68d10b2b8"
-SRC_URI[sha256sum] = "9b321c204a88d8ab5082699469f52cc94c5da45c51f114113d01b3d993c24cdf"
-
-do_install_append() {
- if [ -f ${D}${bindir}/pbr ]; then
- mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2
- fi
-}
-
+require python-pbr.inc
diff --git a/meta-python/recipes-devtools/python/python3-pbr_5.4.2.bb b/meta-python/recipes-devtools/python/python3-pbr_5.4.2.bb
new file mode 100644
index 000000000..97e7361b1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pbr_5.4.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-pbr.inc
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-07 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-07 16:33 [meta-python][PATCH] python-pbr: Add python3 version Zheng Ruoqin
2019-08-07 7:59 ` Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.