Skip to contentSkip to conversation

python-pbr: merge bb and inc files

PATCH New Tim Orling 1 participant 1 message Apr 27, 2020

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python-pbr: merge bb and inc files

Merge the contents of the inc file from oe-core to prevent collisions and getting out of sync.

---
 recipes-devtools/python/python-pbr_5.4.4.bb | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
recipes-devtools/python/python-pbr_5.4.4.bb +11 -3
index 9d7d8d7b..fb0949eb 100644
@@ -1,13 +1,21 @@
-inherit setuptools
-# The inc file is in oe-core
-require recipes-devtools/python/python-pbr.inc
+SUMMARY = "Python Build Reasonableness"
+DESCRIPTION = "PBR is a library that injects some useful and sensible default behaviors into your setuptools run"
+HOMEPAGE = "https://pypi.python.org/pypi/pbr"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 
 SRC_URI[md5sum] = "65cdc32e1a1ff56d481fc15aa8caf988"
 SRC_URI[sha256sum] = "139d2625547dbfa5fb0b81daebb39601c478c21956dc57e2e07b74450a8c506b"
 
+inherit pypi setuptools
+
+RDEPENDS_${PN} += "${PYTHON_PN}-pip"
+
 do_install_append() {
         if [ -f ${D}${bindir}/pbr ]; then
                 mv ${D}${bindir}/pbr ${D}${bindir}/pbr-2
         fi
 }
 
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.0