libdigest-sha1-perl: add recipe
PATCH 1/6 libdigest-sha1-perl: add recipe
Add recipe for libdigest-sha1-perl and enable create -ptest sub-package.
--- meta-perl/recipes-perl/libdigest/files/run-ptest | 16 ++++++++++++++ .../libdigest/libdigest-sha1-perl_2.13.bb | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 meta-perl/recipes-perl/libdigest/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
meta-perl/recipes-perl/libdigest/files/run-ptest new file +16 -0
@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done
meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +25 -0
@@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"
Signature · 1 line
1.9.1
PATCH 2/6 libdigest-hmac-perl: add recipe
Add recipe for libdigest-hmac-perl and enable to create -ptest sub-package.
--- .../libdigest/libdigest-hmac-perl_1.03.bb | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb
meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb new file +26 -0
@@ -0,0 +1,26 @@ +SUMMARY = "Keyed-Hashing for Message Authentication" +DESCRIPTION = "Keyed-Hashing for Message Authentication" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6" + +RDEPENDS_${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "e6a5d6f552da16eacb5157ea4369ff9d" +SRC_URI[sha256sum] = "3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59" + +S = "${WORKDIR}/Digest-HMAC-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +PACKAGE_ARCH = "all" +BBCLASSEXTEND = "native"
Signature · 1 line
1.9.1
PATCH 3/6 libauthen-sasl-perl: add recipe
In reply to Kai KangAdd recipe for libauthen-sasl-perl. Inherit ptest to enable build -ptest sub-package and add file 'run-ptest'.
--- meta-perl/recipes-perl/libauthen/files/run-ptest | 16 ++++++++++++ .../libauthen/libauthen-sasl-perl_2.16.bb | 30 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 meta-perl/recipes-perl/libauthen/files/run-ptest create mode 100644 meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb
meta-perl/recipes-perl/libauthen/files/run-ptest new file +16 -0
@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done
meta-perl/recipes-perl/libauthen/libauthen-sasl-perl_2.16.bb new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "SASL Authentication framework for Perl" +DESCRIPTION = "SASL is a generic mechanism for authentication used by several network \ +protocols. Authen::SASL provides an implementation framework that all \ +protocols should be able to share." +HOMEPAGE = "http://search.cpan.org/dist/Authen-SASL/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPL-1.0+" +LIC_FILES_CHKSUM = "file://lib/Authen/SASL/Perl.pm;beginline=1;endline=3;md5=17123315bbcda19f484c07227594a609" + +DEPENDS = "perl" +RDEPENDS_${PN} = "libdigest-hmac-perl" + +SRC_URI = "http://www.cpan.org/authors/id/G/GB/GBARR/Authen-SASL-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "7c03a689d4c689e5a9e2f18a1c586b2f" +SRC_URI[sha256sum] = "6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09" + +S = "${WORKDIR}/Authen-SASL-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +PACKAGE_ARCH = "all" +BBCLASSEXTEND = "native" +
Signature · 1 line
1.9.1
PATCH 4/6 libnet-ssleay-perl: add recipe
In reply to Kai KangAdd recipe for libnet-ssleay-perl. Inherit ptest to enable build -ptest sub-package and add file 'run-ptest'.
--- meta-perl/recipes-perl/libnet/files/run-ptest | 16 ++++++++ .../recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 43 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 meta-perl/recipes-perl/libnet/files/run-ptest create mode 100644 meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb
meta-perl/recipes-perl/libnet/files/run-ptest new file +16 -0
@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done
meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 5/6 libio-socket-ssl-perl: add recipe
In reply to Kai KangAdd recipe for libio-socket-ssl-perl. Inherit ptest to enable build -ptest sub-package and add file 'run-ptest'.
--- meta-perl/recipes-perl/libio/files/run-ptest | 16 ++++++++ .../libio/libio-socket-ssl-perl_1.997.bb | 45 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 meta-perl/recipes-perl/libio/files/run-ptest create mode 100644 meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb
meta-perl/recipes-perl/libio/files/run-ptest new file +16 -0
@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done
meta-perl/recipes-perl/libio/libio-socket-ssl-perl_1.997.bb new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH 6/6 libmime-types-perl: add recipe
In reply to Kai KangAdd recipe for libmime-types-perl. Enable to create ptest sub-package at same time.
--- meta-perl/recipes-perl/libmime/files/run-ptest | 16 +++++++++++++ .../libmime/libmime-types-perl_2.04.bb | 26 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 meta-perl/recipes-perl/libmime/files/run-ptest create mode 100644 meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb
meta-perl/recipes-perl/libmime/files/run-ptest new file +16 -0
@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +done
meta-perl/recipes-perl/libmime/libmime-types-perl_2.04.bb new file +26 -0
@@ -0,0 +1,26 @@ +SUMMARY = "MIME::Types - Definition of MIME types" +DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ +as part of e-mail and HTTP traffic, to indicate the type of content which \ +is transmitted. Sometimes real knowledge about a mime-type is need.\ +\n\ +This module maintains a set of MIME::Type objects, which each describe \ +one known mime type." +HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" +SECTION = "libraries" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "e292bbf7756bb4999407f3f660697168" +SRC_URI[sha256sum] = "22b6069d372d587b1f2ecc6d0aaf50fb5c64920caed8c214b9884e64538acc8f" + +S = "${WORKDIR}/MIME-Types-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +}
Signature · 1 line
1.9.1
This series of commits is for layer *meta-perl*, and I add it in cover letter created by 'git send-email --compose', but it seems doesn't work.
Regards,
Kai
Quoted 63 lines · Kai Kang
Add recipe for libdigest-sha1-perl and enable create -ptest sub-package.
Signed-off-by Kai Kang <[email protected]>--- meta-perl/recipes-perl/libdigest/files/run-ptest | 16 ++++++++++++++ .../libdigest/libdigest-sha1-perl_2.13.bb | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta-perl/recipes-perl/libdigest/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
meta-perl/recipes-perl/libdigest/files/run-ptest new file +16
-0@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +donemeta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +25
-0@@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 2 lines · Kang Kai
This series of commits is for layer *meta-perl*, and I add it in cover letter created by 'git send-email --compose', but it seems doesn't work.
Please update indentation in them, you're using mix of tabs and spaces -> use 4 spaces everywhere.
Quoted 77 lines · Kai Kang
Quoted 65 lines
Add recipe for libdigest-sha1-perl and enable create -ptest sub-package.
Signed-off-by Kai Kang <[email protected]>--- meta-perl/recipes-perl/libdigest/files/run-ptest | 16 ++++++++++++++ .../libdigest/libdigest-sha1-perl_2.13.bb | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta-perl/recipes-perl/libdigest/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
meta-perl/recipes-perl/libdigest/files/run-ptest new file +16
-0@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +donemeta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +25
-0@@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"Signature · 8 lines
Regards, Neil | Kai Kang -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 5 lines · Martin Jansa
Quoted 2 lines · Kang Kai
This series of commits is for layer *meta-perl*, and I add it in cover letter created by 'git send-email --compose', but it seems doesn't work.
Please update indentation in them, you're using mix of tabs and spaces -> use 4 spaces everywhere.
Even in the shell function, such as
+do_install_ptest () {
+ cp -r ${B}/t ${D}${PTEST_PATH}
+}
I just thought it should be indented with tab.
If so, I'll update them and send V2.
Thanks,
Kai
Quoted 79 lines
Quoted 77 lines · Kai Kang
Quoted 65 lines
Add recipe for libdigest-sha1-perl and enable create -ptest sub-package.
Signed-off-by Kai Kang <[email protected]>--- meta-perl/recipes-perl/libdigest/files/run-ptest | 16 ++++++++++++++ .../libdigest/libdigest-sha1-perl_2.13.bb | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta-perl/recipes-perl/libdigest/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
meta-perl/recipes-perl/libdigest/files/run-ptest new file +16
-0@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +donemeta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +25
-0@@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"Signature · 8 lines
Regards, Neil | Kai Kang -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 14 lines · Kang Kai
Quoted 5 lines · Martin Jansa
Quoted 2 lines · Kang Kai
This series of commits is for layer *meta-perl*, and I add it in cover letter created by 'git send-email --compose', but it seems doesn't work.
Please update indentation in them, you're using mix of tabs and spaces -> use 4 spaces everywhere.
Even in the shell function, such as
meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +3
-0+do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +}
Quoted 1 line
I just thought it should be indented with tab.
Yes, tabs in shell tasks are used only by oe-core, meta-oe, meta-smartphone, meta-qt5, meta-webos, .. are using consistent styleguide with 4 spaces everywhere.
Quoted 95 lines
If so, I'll update them and send V2.
Thanks,
KaiQuoted 79 lines
Quoted 77 lines · Kai Kang
Quoted 65 lines
Add recipe for libdigest-sha1-perl and enable create -ptest sub-package.
Signed-off-by Kai Kang <[email protected]>--- meta-perl/recipes-perl/libdigest/files/run-ptest | 16 ++++++++++++++ .../libdigest/libdigest-sha1-perl_2.13.bb | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta-perl/recipes-perl/libdigest/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
meta-perl/recipes-perl/libdigest/files/run-ptest new file +16
-0@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +donemeta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +25
-0@@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"Signature · 8 lines
Regards, Neil | Kai Kang -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 8 lines
Regards, Neil | Kai Kang -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Kang Kai
Quoted 5 lines · Martin Jansa
Quoted 2 lines · Kang Kai
This series of commits is for layer *meta-perl*, and I add it in cover letter created by 'git send-email --compose', but it seems doesn't work.
Please update indentation in them, you're using mix of tabs and spaces -> use 4 spaces everywhere.
Even in the shell function, such as
Quoted 8 lines
Quoted 6 lines
meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +3
-0+do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +}I just thought it should be indented with tab.
Yes, tabs in shell tasks are used only by oe-core, meta-oe, meta-smartphone, meta-qt5, meta-webos, .. are using consistent styleguide with 4 spaces everywhere.
OK. I'll sent V2.
Thanks a lot.
--Kai
Quoted 94 lines
Quoted 92 lines
If so, I'll update them and send V2.
Thanks,
KaiQuoted 76 lines
Quoted 75 lines · Kai Kang
Quoted 65 lines
Add recipe for libdigest-sha1-perl and enable create -ptest sub-package.
Signed-off-by Kai Kang <[email protected]>--- meta-perl/recipes-perl/libdigest/files/run-ptest | 16 ++++++++++++++ .../libdigest/libdigest-sha1-perl_2.13.bb | 25 ++++++++++++++++++++++ 2 files changed, 41 insertions(+)create mode 100644 meta-perl/recipes-perl/libdigest/files/run-ptest create mode 100644 meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb
meta-perl/recipes-perl/libdigest/files/run-ptest new file +16
-0@@ -0,0 +1,16 @@ +#!/bin/sh + +for case in `find t -type f -name '*.t'`; do + perl $case >$case.output 2>&1 + ret=$? + cat $case.output + if [ $ret -ne 0 ]; then + echo "FAIL: ${case%.t}" + elif grep -i 'SKIP' $case.output; then + echo "SKIP: ${case%.t}" + else + echo "PASS: ${case%.t}" + fi + + rm -f $case.output +donemeta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb new file +25
-0@@ -0,0 +1,25 @@ +SUMMARY = "Perl interface to the SHA-1 algorithm " +DESCRIPTION = "Digest::SHA1 - Perl interface to the SHA-1 algorithm" +HOMEPAGE = "http://search.cpan.org/~gaas/Digest-SHA1-2.13/" +SECTION = "libs" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://README;beginline=10;endline=14;md5=ff5867ebb4bc1103a7a416aef2fce00a" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "bd22388f268434f2b24f64e28bf1aa35" +SRC_URI[sha256sum] = "68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc" + +S = "${WORKDIR}/Digest-SHA1-${PV}" + +inherit cpan ptest + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} + +BBCLASSEXTEND="native" + +FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"Signature · 8 lines
Regards, Neil | Kai Kang -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 8 lines
Regards, Neil | Kai Kang -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 2 lines
Regards, Neil | Kai Kang