Skip to contentSkip to conversation

lz4: fix upstream version check

PATCH New Jan Siegmund 1 participant 2 messages Jan 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 lz4: fix upstream version check

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-support/lz4/lz4_1.7.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/lz4/lz4_1.7.4.bb +1 -0
index 1e98c1b..9e86985 100644
@@ -14,6 +14,7 @@ SRC_URI = "git://github.com/lz4/lz4.git \
            file://0001-tests-Makefile-don-t-use-LIBDIR-as-variable.patch \
            file://run-ptest \
 "
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
 
 S = "${WORKDIR}/git"
 inherit ptest
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 lz4: remove ptest changes

From: Ross Burton <[email protected]>

This recipe installs the test suite by copying the entire build tree into /usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then gets renamed by debian.bbclass to liblz4.

---
 meta/recipes-support/lz4/lz4_1.7.4.bb | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
meta/recipes-support/lz4/lz4_1.7.4.bb +1 -9
index 9e86985..86a1ab9 100644
@@ -17,19 +17,11 @@ SRC_URI = "git://github.com/lz4/lz4.git \
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
 
 S = "${WORKDIR}/git"
-inherit ptest
 
-EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}" 
+EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
 
 do_install() {
 	oe_runmake install
 }
 
-do_install_ptest () {
-	install -d ${D}${PTEST_PATH}/testsuite
-	cp -rf ${S}/* ${D}${PTEST_PATH}/testsuite
-}
-
-RDEPENDS_${PN}-ptest += "make python3"
-
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.7.4