[meta-perl,04/13] libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; enable ptest

Submitted by Tim Orling on June 2, 2019, 6:43 p.m. | Patch ID: 161894

Details

Message ID 20190602184318.71277-4-timothy.t.orling@linux.intel.com
State Accepted
Commit 30da5aa95934fae265a8c442ad9568bdedda28a1
Headers show

Commit Message

Tim Orling June 2, 2019, 6:43 p.m.
We follow Debian naming and this module snuck in misnamed.

Add PROVIDES "libcrypt-openssl-guess" for backwards compatibility.

Add runtime and ptest dependencies.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...bb => libcrypt-openssl-guess-perl_0.11.bb} | 20 +++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)
 rename meta-perl/recipes-perl/libcrypt/{libcrypt-openssl-guess_0.11.bb => libcrypt-openssl-guess-perl_0.11.bb} (60%)

Patch hide | download patch | download mbox

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb
similarity index 60%
rename from meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb
rename to meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb
index 21be047206..57df78b4e1 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb
@@ -10,12 +10,28 @@  SRC_URI[sha256sum] = "aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e770314909
 
 DEPENDS += "openssl"
 
-RDEPENDS_${PN}="perl-module-config perl-module-exporter perl-module-symbol perl-module-file-spec"
+RDEPENDS_${PN} = "\
+    perl-module-config \
+    perl-module-exporter \
+    perl-module-extutils-mm \
+    perl-module-extutils-mm-unix \
+    perl-module-file-spec \
+    perl-module-symbol \
+    perl-module-strict \
+    perl-module-warnings \
+"
 
 EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
 
 S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 BBCLASSEXTEND = "native"
+
+# for backwards compatibility
+PROVIDES_${PN} += "libcrypt-openssl-guess"
+
+RDEPENDS_${PN}-ptest += "\
+    perl-module-test-more \
+"