Skip to contentSkip to conversation

libevent: merge duplicate inherit statements

PATCH In review Pratik Farkase 2 participants 2 messages Feb 9 – Feb 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libevent: merge duplicate inherit statements

Merge the separate inherit statements into a single one for improved readability and consistency with OE style.

No functional change intended.

---
 meta/recipes-support/libevent/libevent_2.1.12.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-support/libevent/libevent_2.1.12.bb +1 -3
index 25388fb4d7..58502edc32 100644
@@ -28,13 +28,11 @@ S = "${WORKDIR}/${BPN}-${PV}-stable"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
 
-inherit autotools github-releases
+inherit autotools github-releases ptest multilib_header
 
 # Needed for Debian packaging
 LEAD_SONAME = "libevent-2.1.so"
 
-inherit ptest multilib_header
-
 DEPENDS = "zlib"
 
 PACKAGES_DYNAMIC = "^${PN}-.*$"
Signature · 1 line
2.43.0
#1 lore raw

Hello,

Quoted 6 lines · Pratik Farkase via lists.openembedded.org

Merge the separate inherit statements into a single one for improved readability and consistency with OE style.

No functional change intended.

Sorry, but we ultimately did not take this patch for stable inclusion:
This is only a cleanup and there is little to no advantage to merge this.

Regards,

Quoted 23 lines
---
 meta/recipes-support/libevent/libevent_2.1.12.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-support/libevent/libevent_2.1.12.bb +1 -3
index 25388fb4d7..58502edc32 100644
@@ -28,13 +28,11 @@ S = "${WORKDIR}/${BPN}-${PV}-stable"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
 
-inherit autotools github-releases
+inherit autotools github-releases ptest multilib_header
 
 # Needed for Debian packaging
 LEAD_SONAME = "libevent-2.1.so"
 
-inherit ptest multilib_header
-
 DEPENDS = "zlib"
 
 PACKAGES_DYNAMIC = "^${PN}-.*$"
Signature · 2 lines
Yoann Congal
Smile ECS