All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH] libfile-slurper-perl: add recipe
@ 2020-01-02 13:34 Jens Rehsack
  2020-01-18 19:05 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Rehsack @ 2020-01-02 13:34 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Jens Rehsack

Since File::Slurp is broken since ages and File::Slurp::Tiny discouraged
for some years, newer perl5 module distributions often rely on File::Slurper.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
---
 .../libfile/libfile-slurper-perl_0.012.bb     | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb

diff --git a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
new file mode 100644
index 000000000..b684abd4b
--- /dev/null
+++ b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
@@ -0,0 +1,36 @@
+SUMMARY = "A simple, sane and efficient module to slurp a file"
+DESCRIPTION = "This module provides functions for fast and correct slurping and spewing. \
+All functions are optionally exported. All functions throw exceptions on \
+errors, write functions don't return any meaningful value."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+HOMEPAGE=       "https://metacpan.org/release/File-Slurper"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/File-Slurper-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "5742c63096392dfee50b8db314bcca18"
+SRC_URI[sha256sum] = "4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578"
+RDEPENDS_${PN} = " \
+    perl-module-carp \
+    perl-module-encode \
+    perl-module-exporter \
+    perl-module-perlio \
+    perl-module-perlio-encoding \
+    perl-module-strict \
+    perl-module-warnings \
+"
+
+RDEPENDS_${PN}-ptest += "libtest-warnings-perl \
+    perl-module-test-more \
+    "
+
+S = "${WORKDIR}/File-Slurper-${PV}"
+
+inherit cpan allarch ptest-perl
+
+BBCLASSEXTEND = "native"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-perl][PATCH] libfile-slurper-perl: add recipe
  2020-01-02 13:34 [meta-perl][PATCH] libfile-slurper-perl: add recipe Jens Rehsack
@ 2020-01-18 19:05 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2020-01-18 19:05 UTC (permalink / raw)
  To: Jens Rehsack; +Cc: openembeded-devel

ERROR: libtest-warnings-perl different signature for task
do_configure.sigdata between qemux86copy and qemuarm
NOTE: Starting bitbake server...
NOTE: Started PRServer with DBfile:
/home/jenkins/oe/world/yoe/cache/prserv.sqlite3, IP: 127.0.0.1, PORT:
37963, PID: 21473
Hash for dependent task
libtest/libtest-warnings-perl_0.028.bb:do_prepare_recipe_sysroot
changed from 75b4ffd1e226558df85fafa277dd429c1c03bfa308cf955164bde7feb343a8b6
to 97d353c4d2c068a6fb1282aeac614e93ffdb17390ac20eb4115fd811ed2c2c58
Unable to find matching sigdata for
/home/jenkins/oe/world/yoe/sources/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb:do_prepare_recipe_sysroot
with hashes 75b4ffd1e226558df85fafa277dd429c1c03bfa308cf955164bde7feb343a8b6
or 97d353c4d2c068a6fb1282aeac614e93ffdb17390ac20eb4115fd811ed2c2c58

On Thu, Jan 2, 2020 at 5:34 AM Jens Rehsack <sno@netbsd.org> wrote:
>
> Since File::Slurp is broken since ages and File::Slurp::Tiny discouraged
> for some years, newer perl5 module distributions often rely on File::Slurper.
>
> Signed-off-by: Jens Rehsack <sno@netbsd.org>
> ---
>  .../libfile/libfile-slurper-perl_0.012.bb     | 36 +++++++++++++++++++
>  1 file changed, 36 insertions(+)
>  create mode 100644 meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
>
> diff --git a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
> new file mode 100644
> index 000000000..b684abd4b
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.012.bb
> @@ -0,0 +1,36 @@
> +SUMMARY = "A simple, sane and efficient module to slurp a file"
> +DESCRIPTION = "This module provides functions for fast and correct slurping and spewing. \
> +All functions are optionally exported. All functions throw exceptions on \
> +errors, write functions don't return any meaningful value."
> +
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +
> +HOMEPAGE=       "https://metacpan.org/release/File-Slurper"
> +
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
> +file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
> +
> +SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/File-Slurper-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "5742c63096392dfee50b8db314bcca18"
> +SRC_URI[sha256sum] = "4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578"
> +RDEPENDS_${PN} = " \
> +    perl-module-carp \
> +    perl-module-encode \
> +    perl-module-exporter \
> +    perl-module-perlio \
> +    perl-module-perlio-encoding \
> +    perl-module-strict \
> +    perl-module-warnings \
> +"
> +
> +RDEPENDS_${PN}-ptest += "libtest-warnings-perl \
> +    perl-module-test-more \
> +    "
> +
> +S = "${WORKDIR}/File-Slurper-${PV}"
> +
> +inherit cpan allarch ptest-perl
> +
> +BBCLASSEXTEND = "native"
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-18 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-02 13:34 [meta-perl][PATCH] libfile-slurper-perl: add recipe Jens Rehsack
2020-01-18 19:05 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.