All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest
@ 2019-06-02 18:43 Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 02/13] libtest-deep-perl: add recipe for v1.128 Tim Orling
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

Upstream release notes:
"""
2.38     - 2019-01-05
        * Bundle up various changes including:
                * Indexing improvements
                * Makefile improvements for some make utils
                * Various code cleanups and modernizations
"""

* Add UPSTREAM_CHECK_REGEX
* Add UPSTREAM_CHECK_URI
* inherit ptest-perl; all tests pass
* ptest RDEPENDS on perl-module-test-more

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...erl_2.37.bb => libterm-readkey-perl_2.38.bb} | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
 rename meta-perl/recipes-perl/libterm/{libterm-readkey-perl_2.37.bb => libterm-readkey-perl_2.38.bb} (74%)

diff --git a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
similarity index 74%
rename from meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
rename to meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
index 6b76682c68..cc1ac6ed56 100644
--- a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
+++ b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
@@ -3,8 +3,8 @@ DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to providing si
 control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
 for non-blocking reads, if the architecture allows, and some generalized \
 handy functions for working with terminals. One of the main goals is to \
-have the functions as portable as possible, so you can just plug in "use \
-Term::ReadKey" on any architecture and have a good likelihood of it \
+have the functions as portable as possible, so you can just plug in 'use \
+Term::ReadKey' on any architecture and have a good likelihood of it \
 working."
 HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}"
 SECTION = "libraries"
@@ -14,16 +14,23 @@ LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
 
 SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
-SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
+SRC_URI[md5sum] = "b2b4aab7a0e6bddb7ac3b21ba637482c"
+SRC_URI[sha256sum] = "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290"
 
 S = "${WORKDIR}/TermReadKey-${PV}"
 
+UPSTREAM_CHECK_URI = "https://metacpan.org/release/TermReadKey"
+UPSTREAM_CHECK_REGEX = "TermReadKey\-(?P<pver>(\d+\.\d+))(?!_\d+)\.tar.gz"
+
 # It needs depend on native to let dynamic loader use native modules
 # rather than target ones.
 DEPENDS = "libterm-readkey-perl-native"
 
-inherit cpan
+inherit cpan ptest-perl
+
+RDEPENDS_${PN}-ptest += " \
+    perl-module-test-more \
+"
 
 do_configure_append () {
     # Hack the dynamic module loader so that it use native modules since it can't load
-- 
2.20.1



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

* [meta-perl][PATCH 02/13] libtest-deep-perl: add recipe for v1.128
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 03/13] libcgi-perl: upgrade 4.38 -> 4.43; enable ptest Tim Orling
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

Test::Deep gives you very flexible ways to check that the result you got is
the result you were expecting. At its simplest it compares two structures
by going through each level, ensuring that the values match, that arrays and
hashes have the same elements and that references are blessed into the
correct class. It also handles circular data structures without getting
caught in an infinite loop.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../libtest/libtest-deep-perl_1.128.bb        | 56 +++++++++++++++++++
 1 file changed, 56 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb

diff --git a/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb b/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb
new file mode 100644
index 0000000000..44a915c5b7
--- /dev/null
+++ b/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb
@@ -0,0 +1,56 @@
+SUMMARY = "Test::Deep - Extremely flexible deep comparison"
+DESCRIPTION = "If you don't know anything about automated testing in Perl \
+then you should probably read about Test::Simple and Test::More before \
+preceding. Test::Deep uses the Test::Builder framework. \
+\ 
+Test::Deep gives you very flexible ways to check that the result you got is \
+the result you were expecting. At its simplest it compares two structures \
+by going through each level, ensuring that the values match, that arrays and \
+hashes have the same elements and that references are blessed into the \
+correct class. It also handles circular data structures without getting \
+caught in an infinite loop. \
+\
+Where it becomes more interesting is in allowing you to do something besides \
+simple exact comparisons. With strings, the \'eq\' operator checks that 2 \
+strings are exactly equal but sometimes that's not what you want. When you \
+don't know exactly what the string should be but you do know some things \
+about how it should look, \'eq\' is no good and you must use pattern matching \
+instead. Test::Deep provides pattern matching for complex data structures \
+distribution."
+
+SECTION = "libs"
+
+HOMEPAGE = "http://github.com/rjbs/Test-Deep/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://lib/Test/Deep.pm;beginline=1817;endline=1826;md5=aebc793c87a3d8771fe98d5d369898e7"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Deep-${PV}.tar.gz"
+SRC_URI[md5sum] = "9bc47147ea720fc01bc6b214afb884ff"
+SRC_URI[sha256sum] = "852d7e836fba8269b0b755082051a24a1a309d015a8b76838790af9e3760092f"
+
+UPSTREAM_CHECK_REGEX = "Test\-Deep\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
+
+S = "${WORKDIR}/Test-Deep-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} += " \
+    perl-module-dynaloader \
+    perl-module-exporter \
+    perl-module-fcntl \
+    perl-module-list-util \
+    perl-module-scalar-util \
+    perl-module-strict \
+    perl-module-vars \
+    perl-module-warnings \
+"
+
+RDEPENDS_${PN}-ptest += " \
+    perl-module-if \
+    perl-module-lib \
+    perl-module-test-more \
+    perl-module-test-tester \
+"
+
+BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 03/13] libcgi-perl: upgrade 4.38 -> 4.43; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 02/13] libtest-deep-perl: add recipe for v1.128 Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 04/13] libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; " Tim Orling
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

* Add libhtml-parser-perl to RDEPENDS for HTML::Entities dependency

Upstream release notes:

4.43 2019-05-01

    [ FIX / TESTING ]
    - support unquoted multipart/form-data name values (GH #234)

4.42 2019-03-26

    [ DOCUMENTATION ]
    - clarify licence also in Makefile.PL (GH #232)

4.41 2019-03-26

    [ DOCUMENTATION ]
    - clarify licence (GH #232)

4.40 2018-08-15

    [ FIX / TESTING ]
    - support perls < 5.10.1 in Makefile.PL by being more dynamic
      (GH #229, GH #230, thanks to Aristotle)

4.39 2018-08-13

    [ FIX / TESTING ]
    - specify CONFIGURE_REQUIRES in Makefile.PL so can use TEST_REQUIRES
      to build with older perls (GH #228)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../recipes-perl/libcgi/libcgi-perl_4.38.bb   | 25 ----------
 .../recipes-perl/libcgi/libcgi-perl_4.43.bb   | 50 +++++++++++++++++++
 2 files changed, 50 insertions(+), 25 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb
 create mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb

diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb
deleted file mode 100644
index db16d8307d..0000000000
--- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \
-HTTP requests and responses. Major features including processing form \
-submissions, file uploads, reading and writing cookies, query string generation \
-and manipulation, and processing and preparing HTTP headers."
-HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod"
-SECTION = "libs"
-LICENSE = "Artistic-2.0 | GPL-2.0"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2e9769f0a2613a98bc7fce15dee0c533"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "0aeb8563d533e7f83724ed068b5bfc37"
-SRC_URI[sha256sum] = "8c58f4a529bb92a914b22b7e64c5e31185c9854a4070a6dfad44fe5cc248e7d4"
-
-S = "${WORKDIR}/CGI-${PV}"
-
-inherit cpan
-
-RDEPENDS_${PN} += "\
-    perl-module-deprecate \
-    perl-module-if \
-"
-
-RPROVIDES_${PN} += "perl-module-cgi"
diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb
new file mode 100644
index 0000000000..b4571b27e6
--- /dev/null
+++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb
@@ -0,0 +1,50 @@
+DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing and preparing \
+HTTP requests and responses. Major features including processing form \
+submissions, file uploads, reading and writing cookies, query string generation \
+and manipulation, and processing and preparing HTTP headers."
+HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod"
+SECTION = "libs"
+LICENSE = "Artistic-2.0 | GPL-2.0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8c1f2cf11e4410911827ea48d58aaecc"
+SRC_URI[sha256sum] = "14b94f9df6e48fc26ebc4fa1e01a7b534cbc1611028a49028f9ac9d8ca27b734"
+
+S = "${WORKDIR}/CGI-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} += "\
+    libhtml-parser-perl \
+    perl-module-base \
+    perl-module-deprecate \
+    perl-module-if \
+"
+
+do_install_prepend() {
+    # requires "-T" (taint) command line option
+    rm -rf ${B}/t/push.t
+    rm -rf ${B}/t/utf8.t
+    # tests building of docs
+    rm -rf ${B}/t/compiles_pod.t
+}
+
+RDEPENDS_${PN}-ptest += " \
+    libtest-deep-perl \
+    perl-module-bytes \
+    perl-module-file-find \
+    perl-module-filehandle \
+    perl-module-findbin \
+    perl-module-lib \
+    perl-module-perlio \
+    perl-module-perlio-scalar \
+    perl-module-test-more \
+    perl-module-utf8 \
+"
+
+RPROVIDES_${PN} += "perl-module-cgi"
+
+BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 04/13] libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 02/13] libtest-deep-perl: add recipe for v1.128 Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 03/13] libcgi-perl: upgrade 4.38 -> 4.43; enable ptest Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 05/13] libcrypt-openssl-rsa-perl: upgrade 0.30 -> 0.31; " Tim Orling
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

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%)

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 \
+"
-- 
2.20.1



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

* [meta-perl][PATCH 05/13] libcrypt-openssl-rsa-perl: upgrade 0.30 -> 0.31; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (2 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 04/13] libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 06/13] libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; " Tim Orling
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

* Add runtime and ptest dependencies

Upstream release notes:

0.31 Mon Sep 24 2018
    - Remove default of SHA256 for RSA keys. This has caused significant
      problems with downstream modules and it has always been possible to
      do $key->use_sha256_hash()

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../libcrypt-openssl-rsa-perl_0.30.bb         | 24 ------------
 .../libcrypt-openssl-rsa-perl_0.31.bb         | 38 +++++++++++++++++++
 2 files changed, 38 insertions(+), 24 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb
 create mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb
deleted file mode 100644
index 0a2ad8aa44..0000000000
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "Crypt Openssl RSA cpan module"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346"
-
-SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
-
-SRC_URI[md5sum] = "10bca2fc6d0ba1aa329f227424ae87d5"
-SRC_URI[sha256sum] = "23e13531397af102db4fd24bcf70137add7c85c23cca697c43aa71c2959a29ac"
-
-DEPENDS += "libcrypt-openssl-guess-native openssl"
-
-RDEPENDS_${PN}="libcrypt-openssl-random-perl"
-
-EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
-
-S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
-
-inherit cpan
-
-do_compile() {
-    export OTHERLDFLAGS='-Wl,-rpath'
-    cpan_do_compile
-}
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb
new file mode 100644
index 0000000000..68d921c3ca
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Crypt Openssl RSA cpan module"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346"
+
+SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
+
+SRC_URI[md5sum] = "d33681e19d2094df7c26bc7a4509265e"
+SRC_URI[sha256sum] = "4173403ad4cf76732192099f833fbfbf3cd8104e0246b3844187ae384d2c5436"
+
+DEPENDS += "libcrypt-openssl-guess-perl-native openssl"
+
+RDEPENDS_${PN} = " \
+    libcrypt-openssl-random-perl \
+    perl-module-autoloader \
+    perl-module-carp \
+    perl-module-strict \
+    perl-module-warnings \
+    perl-module-xsloader \
+"
+
+EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
+
+S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
+
+inherit cpan ptest-perl
+
+do_compile() {
+    export OTHERLDFLAGS='-Wl,-rpath'
+    cpan_do_compile
+}
+
+RDEPENDS_${PN}-ptest = " \
+    ${PN} \
+    perl-module-file-copy \
+    perl-module-test \
+    perl-module-test-more \
+"
-- 
2.20.1



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

* [meta-perl][PATCH 06/13] libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (3 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 05/13] libcrypt-openssl-rsa-perl: upgrade 0.30 -> 0.31; " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 07/13] libextutils-installpaths-perl: upgrade 0.011 -> 0.012; " Tim Orling
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

* Add EXTRA_CPANFLAGS to fix "undefined symbol: RAND_seed"
* Add DEPENDS on libcrypt-openssl-guess-perl-native
* Add runtime and ptest dependencies

Upstream release notes:
0.15  2018-04-22 rurban
        - fix mingw hints for pkg-config support (akiym, PR #7)

0.14  2018-04-17 rurban
        - add library paths to LIBS from Crypt::OpenSSL::Guess (akiym, PR #6)

0.13  2018-04-14 rurban
        - move Crypt::OpenSSL::Guess to configure dependency. (grinnz, PR #4)

0.12  2018-04-13 rurban
        - use Crypt::OpenSSL::Guess to resolve OpenSSL include path,
          fixes MacOS's homebrew OpenSSL installation problem. (akiym, PR #3)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../libcrypt-openssl-random-perl_0.11.bb      | 15 --------
 .../libcrypt-openssl-random-perl_0.15.bb      | 34 +++++++++++++++++++
 2 files changed, 34 insertions(+), 15 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb
 create mode 100644 meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb
deleted file mode 100644
index 8456e313df..0000000000
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SUMMARY = "Crypt Openssl Random cpan module"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b"
-
-SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
-SRC_URI[md5sum] = "5d71337503e0356ce1ce1481504e5885"
-SRC_URI[sha256sum] = "bb8c81c6a39b9b13a22d818ee9a746242f136f0fadceb6b9776ae615e7524c7a"
-
-S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
-
-DEPENDS += " openssl \
-"
-inherit cpan
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb
new file mode 100644
index 0000000000..a2ebb8c7a1
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number generator access"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b"
+
+SRC_URI = "http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
+SRC_URI[md5sum] = "bcde8d5a822c91376deda3c4f0c75fbe"
+SRC_URI[sha256sum] = "f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4"
+
+S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
+
+DEPENDS += " \
+    openssl \
+    libcrypt-openssl-guess-perl-native \
+"
+
+EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -L${STAGING_BASELIBDIR} -lcrypto'"
+
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} += "\
+    perl-module-exporter \
+    perl-module-strict \
+    perl-module-vars \
+    perl-module-xsloader \
+"
+
+RDEPENDS_${PN}-ptest += "\
+    perl-module-file-copy \
+    perl-module-test-more \
+"
+
+BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 07/13] libextutils-installpaths-perl: upgrade 0.011 -> 0.012; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (4 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 06/13] libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 08/13] libexutils-config-perl: " Tim Orling
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

* Add RDEPENDS for libextutils-config-perl
* Add runtime and ptest dependencies

Upstream release notes:
0.012     2018-05-10 21:03:33+02:00 Europe/Amsterdam
          - Allow a argument to install_map with source dirs
          - Make tests prove and 5.6 friendly

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...=> libextutils-installpaths-perl_0.012.bb} | 23 +++++++++++++------
 1 file changed, 16 insertions(+), 7 deletions(-)
 rename meta-perl/recipes-perl/libextutils/{libextutils-installpaths-perl_0.011.bb => libextutils-installpaths-perl_0.012.bb} (52%)

diff --git a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
similarity index 52%
rename from meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb
rename to meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
index 6eb434a95e..2da5e3b4f4 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
@@ -9,17 +9,26 @@ LICENSE = "Artistic-1.0 | GPL-1.0+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b6fa54d873ce6bcf4809ea88bdf97769"
 
 SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz"
-SRC_URI[md5sum] = "9c75894c3c8c899ab6bfafc5eaa97999"
-SRC_URI[sha256sum] = "7609fa048cdcf1451cad5b1d7d494f30e3d5bad0672d15404f1ea60e1df0067c"
+SRC_URI[md5sum] = "9a8d66aab1ffec98ea260faf03ac612b"
+SRC_URI[sha256sum] = "84735e3037bab1fdffa3c2508567ad412a785c91599db3c12593a50a1dd434ed"
 
 S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
-RDEPENDS_${PN} = " perl-module-extutils-makemaker \
-                   perl-module-data-dumper \
-                   perl-module-test-more \
-                   perl-module-file-temp \
+RDEPENDS_${PN} = " \
+    libextutils-config-perl \
+    perl-module-bytes \
+    perl-module-data-dumper \
+    perl-module-extutils-makemaker \
+    perl-module-file-temp \
+    perl-module-test-more \
+"
+
+RDEPENDS_${PN}-ptest = " \
+    ${PN} \
+    perl-module-file-spec-functions \
+    perl-module-test-more \
 "
 
 BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 08/13] libexutils-config-perl: enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (5 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 07/13] libextutils-installpaths-perl: upgrade 0.011 -> 0.012; " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 09/13] libhtml-tagset-perl: add recipe for v3.20 Tim Orling
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

Add runtime and ptest dependencies.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../recipes-perl/libextutils/libextutils-config-perl_0.008.bb  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
index e93d388e9c..7e1418d499 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
@@ -13,10 +13,11 @@ SRC_URI[sha256sum] = "ae5104f634650dce8a79b7ed13fb59d67a39c213a6776cfdaa3ee749e6
 
 S = "${WORKDIR}/ExtUtils-Config-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 RDEPENDS_${PN} = " perl-module-extutils-makemaker \
                    perl-module-data-dumper \
+		   perl-module-ipc-open3 \
                    perl-module-test-more \
                    perl-module-file-temp \
 "
-- 
2.20.1



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

* [meta-perl][PATCH 09/13] libhtml-tagset-perl: add recipe for v3.20
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (6 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 08/13] libexutils-config-perl: " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 10/13] libhtml-parser-perl: enable ptest Tim Orling
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

This module contains data tables useful in dealing with HTML.
It provides no functions or methods.

This is a dependency for libhtml-paser-perl.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../libhtml/libhtml-tagset-perl_3.20.bb       | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb

diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
new file mode 100644
index 0000000000..d6483cc5fc
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
@@ -0,0 +1,29 @@
+SUMMARY = "HTML::Tageset -  data tables useful in parsing HTML"
+DESCRIPTION = "This module contains several data tables useful in various \
+kinds of HTML parsing operations."
+HOMEPAGE = "https://metacpan.org/release/HTML-Tagset"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = "file://README;beginline=62;endline=66;md5=aa91eed6adfe182d2af676954f06a7c9"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/P/PE/PETDANCE/HTML-Tagset-${PV}.tar.gz"
+SRC_URI[md5sum] = "d2bfa18fe1904df7f683e96611e87437"
+SRC_URI[sha256sum] = "adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2"
+
+S = "${WORKDIR}/HTML-Tagset-${PV}"
+
+
+inherit cpan ptest-perl
+
+
+RDEPENDS_${PN} += "perl-module-strict perl-module-vars"
+
+RDEPENDS_${PN}-ptest += "perl-module-test"
+
+do_install_prepend() {
+    # requires "-T" (taint) command line option
+    rm -rf ${B}/t/pod.t
+}
+
+BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 10/13] libhtml-parser-perl: enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (7 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 09/13] libhtml-tagset-perl: add recipe for v3.20 Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 11/13] libstrictures-perl: upgrade 2.000003 -> 2.000006; " Tim Orling
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

Add runtime and ptest dependencies

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../libhtml/libhtml-parser-perl_3.72.bb       | 22 ++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
index e202de05a7..a4c69c97b8 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
@@ -16,10 +16,30 @@ S = "${WORKDIR}/HTML-Parser-${PV}"
 
 EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 do_compile() {
     export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
     cpan_do_compile
 }
+
+RDEPENDS_${PN} += "\
+    perl-module-exporter \
+    perl-module-strict \
+    perl-module-vars \
+    perl-module-xsloader \
+    libhtml-tagset-perl \
+"
+
+RDEPENDS_${PN}-ptest += "\
+    liburi-perl \
+    perl-module-config \
+    perl-module-file-spec \
+    perl-module-filehandle \
+    perl-module-io-file \
+    perl-module-selectsaver \
+    perl-module-test \
+    perl-module-test-more \
+"
+
 BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 11/13] libstrictures-perl: upgrade 2.000003 -> 2.000006; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (8 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 10/13] libhtml-parser-perl: enable ptest Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 12/13] libxml-libxml-perl: " Tim Orling
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

Add runtime and ptest dependencies.

Upstream release notes:

2.000006 - 2019-03-10
  - update internal list of warnings for categories added in blead (v5.29.9)
  - fix extras test to avoid any files in the temp directory's parent
    directories interfering (RT#128751)

2.000005 - 2018-04-20
  - update internal list of warnings for categories added in 5.28.0 (no
    behaviour change)

2.000004 - 2018-04-19
  - update bundled ExtUtils::HasCompiler to 0.021
  - update internal list of warnings for categories added in 5.26.0 (no
    behavior change)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...000003.bb => libstrictures-perl_2.000006.bb} | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
 rename meta-perl/recipes-perl/libstrictures/{libstrictures-perl_2.000003.bb => libstrictures-perl_2.000006.bb} (81%)

diff --git a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb
similarity index 81%
rename from meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb
rename to meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb
index a6808d3f8e..d1a5b4787d 100644
--- a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb
+++ b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb
@@ -29,17 +29,20 @@ LICENSE = "Artistic-1.0 | GPL-1.0+"
 LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8"
 
 SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz"
-SRC_URI[md5sum] = "78244cfab6168dcf196370d1e2309536"
-SRC_URI[sha256sum] = "27f8ea096a521e9754d36ea32889c2cda28346d04e3e399e7ea118d182dbaf22"
+SRC_URI[md5sum] = "35c14fd25320f32ff40e977feae95d0d"
+SRC_URI[sha256sum] = "09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57"
 
 S = "${WORKDIR}/strictures-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
-RDEPENDS_${PN} = " perl-module-carp \
-                   perl-module-strict \
-                   perl-module-test-more \
-                   perl-module-warnings \
+RDEPENDS_${PN} += " \
+    perl-module-carp \
+    perl-module-strict \
+    perl-module-test-more \
+    perl-module-warnings \
 "
 
+RDEPENDS_${PN}-ptest += "perl-module-perlio perl-module-perlio-scalar"
+
 BBCLASSEXTEND = "native"
-- 
2.20.1



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

* [meta-perl][PATCH 12/13] libxml-libxml-perl: enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (9 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 11/13] libstrictures-perl: upgrade 2.000003 -> 2.000006; " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 18:43 ` [meta-perl][PATCH 13/13] libcapture-tiny-perl: upgrade 0.46 -> 0.48; " Tim Orling
  2019-06-02 20:22 ` [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; " akuster808
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

Enable ptest and add ptest dependencies

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 .../libxml/libxml-libxml-perl_2.0134.bb       | 26 ++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
index 9753520ae4..6fabf26840 100644
--- a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
@@ -35,7 +35,7 @@ SRC_URI[libxml.sha256sum] = "f0bca4d0c2da35d879fee4cd13f352014186cedab27ab5e191f
 
 S = "${WORKDIR}/XML-LibXML-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}"
 
@@ -45,3 +45,27 @@ CFLAGS += " -D_GNU_SOURCE "
 BUILD_CFLAGS += " -D_GNU_SOURCE "
 
 FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/"
+
+RDEPENDS_${PN}-ptest += " \
+    liburi-perl \
+    perl-module-encode-byte \
+    perl-module-encode-unicode \
+    perl-module-locale \
+    perl-module-perlio-scalar \
+    perl-module-test-more \
+"
+
+do_install_prepend() {
+	# test requires "-T" (taint) command line option
+	rm -rf ${B}/t/pod.t
+	# this only applies to author build
+	rm -rf ${B}/t/pod-files-presence.t
+}
+
+do_install_ptest() {
+	cp -r ${B}/t/data ${D}${PTEST_PATH}/t/
+	cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/
+	cp -r ${B}/example ${D}${PTEST_PATH}
+	cp -r ${B}/test ${D}${PTEST_PATH}
+	chown -R root:root ${D}${PTEST_PATH}
+}
-- 
2.20.1



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

* [meta-perl][PATCH 13/13] libcapture-tiny-perl: upgrade 0.46 -> 0.48; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (10 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 12/13] libxml-libxml-perl: " Tim Orling
@ 2019-06-02 18:43 ` Tim Orling
  2019-06-02 20:22 ` [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; " akuster808
  12 siblings, 0 replies; 14+ messages in thread
From: Tim Orling @ 2019-06-02 18:43 UTC (permalink / raw)
  To: openembedded-devel

* sort RDEPENDS in alpha order
* add missing dependencies (since perl-sanity change)

Upstream release notes:

[Fixed]

- Appends PID to random file names for tee signalling to avoid
  random name collision when used in multiple forked children.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
---
 ...l_0.46.bb => libcapture-tiny-perl_0.48.bb} | 36 +++++++++++--------
 1 file changed, 22 insertions(+), 14 deletions(-)
 rename meta-perl/recipes-perl/libcapture/{libcapture-tiny-perl_0.46.bb => libcapture-tiny-perl_0.48.bb} (58%)

diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
similarity index 58%
rename from meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb
rename to meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
index 2719811ce4..3b3e31dd97 100644
--- a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb
+++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
@@ -15,23 +15,31 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
 
 SRCNAME = "Capture-Tiny"
 SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DAGOLDEN/${SRCNAME}-${PV}.tar.gz"
-SRC_URI[md5sum] = "d718af07729d26a793949ca6ba2580a7"
-SRC_URI[sha256sum] = "5d7a6a830cf7f2b2960bf8b8afaac16a537ede64f3023827acea5bd24ca77015"
+SRC_URI[md5sum] = "f5d24083ad270f8326dd659dd83eeb54"
+SRC_URI[sha256sum] = "6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit cpan
-
-RDEPENDS_${PN} = " perl-module-scalar-util \
-                   perl-module-io-file \
-                   perl-module-extutils-makemaker \
-                   perl-module-file-spec \
-                   perl-module-exporter \
-                   perl-module-carp \
-                   perl-module-test-more \
-                   perl-module-file-temp \
-                   perl-module-lib \
-                   perl-module-overloading \
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} = " \
+    perl-module-carp \
+    perl-module-exporter \
+    perl-module-extutils-makemaker \
+    perl-module-extutils-mm-unix \
+    perl-module-file-spec \
+    perl-module-file-temp \
+    perl-module-io-handle \
+    perl-module-lib \
+    perl-module-overloading \
+    perl-module-perlio \
+    perl-module-perlio-scalar \
+    perl-module-scalar-util \
+    perl-module-strict \
+    perl-module-test-more \
+    perl-module-warnings \
 "
 
+RDEPENDS_${PN}-ptest += "perl-module-perlio"
+
 BBCLASSEXTEND = "native"
-- 
2.20.1



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

* Re: [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest
  2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
                   ` (11 preceding siblings ...)
  2019-06-02 18:43 ` [meta-perl][PATCH 13/13] libcapture-tiny-perl: upgrade 0.46 -> 0.48; " Tim Orling
@ 2019-06-02 20:22 ` akuster808
  12 siblings, 0 replies; 14+ messages in thread
From: akuster808 @ 2019-06-02 20:22 UTC (permalink / raw)
  To: Tim Orling, openembedded-devel



On 6/2/19 11:43 AM, Tim Orling wrote:
> Upstream release notes:
> """
> 2.38     - 2019-01-05
>         * Bundle up various changes including:
>                 * Indexing improvements
>                 * Makefile improvements for some make utils
>                 * Various code cleanups and modernizations

bug fix only? ie appropriate possible backport to warrior?

- armin
> """
>
> * Add UPSTREAM_CHECK_REGEX
> * Add UPSTREAM_CHECK_URI
> * inherit ptest-perl; all tests pass
> * ptest RDEPENDS on perl-module-test-more
>
> Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
> ---
>  ...erl_2.37.bb => libterm-readkey-perl_2.38.bb} | 17 ++++++++++++-----
>  1 file changed, 12 insertions(+), 5 deletions(-)
>  rename meta-perl/recipes-perl/libterm/{libterm-readkey-perl_2.37.bb => libterm-readkey-perl_2.38.bb} (74%)
>
> diff --git a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
> similarity index 74%
> rename from meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
> rename to meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
> index 6b76682c68..cc1ac6ed56 100644
> --- a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
> +++ b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
> @@ -3,8 +3,8 @@ DESCRIPTION = "Term::ReadKey is a compiled perl module dedicated to providing si
>  control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
>  for non-blocking reads, if the architecture allows, and some generalized \
>  handy functions for working with terminals. One of the main goals is to \
> -have the functions as portable as possible, so you can just plug in "use \
> -Term::ReadKey" on any architecture and have a good likelihood of it \
> +have the functions as portable as possible, so you can just plug in 'use \
> +Term::ReadKey' on any architecture and have a good likelihood of it \
>  working."
>  HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV}"
>  SECTION = "libraries"
> @@ -14,16 +14,23 @@ LIC_FILES_CHKSUM = "file://README;md5=c275db663c8489a5709ebb22b185add5"
>  
>  SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
>  
> -SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
> -SRC_URI[sha256sum] = "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
> +SRC_URI[md5sum] = "b2b4aab7a0e6bddb7ac3b21ba637482c"
> +SRC_URI[sha256sum] = "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290"
>  
>  S = "${WORKDIR}/TermReadKey-${PV}"
>  
> +UPSTREAM_CHECK_URI = "https://metacpan.org/release/TermReadKey"
> +UPSTREAM_CHECK_REGEX = "TermReadKey\-(?P<pver>(\d+\.\d+))(?!_\d+)\.tar.gz"
> +
>  # It needs depend on native to let dynamic loader use native modules
>  # rather than target ones.
>  DEPENDS = "libterm-readkey-perl-native"
>  
> -inherit cpan
> +inherit cpan ptest-perl
> +
> +RDEPENDS_${PN}-ptest += " \
> +    perl-module-test-more \
> +"
>  
>  do_configure_append () {
>      # Hack the dynamic module loader so that it use native modules since it can't load



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

end of thread, other threads:[~2019-06-02 20:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 18:43 [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 02/13] libtest-deep-perl: add recipe for v1.128 Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 03/13] libcgi-perl: upgrade 4.38 -> 4.43; enable ptest Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 04/13] libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 05/13] libcrypt-openssl-rsa-perl: upgrade 0.30 -> 0.31; " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 06/13] libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 07/13] libextutils-installpaths-perl: upgrade 0.011 -> 0.012; " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 08/13] libexutils-config-perl: " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 09/13] libhtml-tagset-perl: add recipe for v3.20 Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 10/13] libhtml-parser-perl: enable ptest Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 11/13] libstrictures-perl: upgrade 2.000003 -> 2.000006; " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 12/13] libxml-libxml-perl: " Tim Orling
2019-06-02 18:43 ` [meta-perl][PATCH 13/13] libcapture-tiny-perl: upgrade 0.46 -> 0.48; " Tim Orling
2019-06-02 20:22 ` [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; " akuster808

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.