libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest
PATCH 1/13 libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest
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
---
...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%)meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb renamed from meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb +12 -5
@@ -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
Signature · 1 line
2.20.1
PATCH 2/13 libtest-deep-perl: add recipe for v1.128
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.
--- .../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
meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb new file +56 -0
@@ -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"
Signature · 1 line
2.20.1
PATCH 3/13 libcgi-perl: upgrade 4.38 -> 4.43; enable ptest
In reply to Tim Orling* 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)
--- .../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
meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb deleted +0 -25
@@ -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"
meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
2.20.1
PATCH 4/13 libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; enable ptest
In reply to Tim OrlingWe follow Debian naming and this module snuck in misnamed.
Add PROVIDES "libcrypt-openssl-guess" for backwards compatibility.
Add runtime and ptest dependencies.
---
...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%)meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb renamed from meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb +18 -2
@@ -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 \ +"
Signature · 1 line
2.20.1
PATCH 5/13 libcrypt-openssl-rsa-perl: upgrade 0.30 -> 0.31; enable ptest
In reply to Tim Orling* 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()
--- .../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
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb deleted +0 -24
@@ -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 -}
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb new file +38 -0
@@ -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 \ +"
Signature · 1 line
2.20.1
PATCH 6/13 libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; enable ptest
In reply to Tim Orling* 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)
--- .../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
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb deleted +0 -15
@@ -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
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb new file +34 -0
@@ -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"
Signature · 1 line
2.20.1
PATCH 7/13 libextutils-installpaths-perl: upgrade 0.011 -> 0.012; enable ptest
In reply to Tim Orling* 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
---
...=> 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%)meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb renamed from meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb +16 -7
@@ -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"
Signature · 1 line
2.20.1
PATCH 8/13 libexutils-config-perl: enable ptest
In reply to Tim OrlingAdd runtime and ptest dependencies.
--- .../recipes-perl/libextutils/libextutils-config-perl_0.008.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb +2 -1
@@ -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 \ "
Signature · 1 line
2.20.1
PATCH 9/13 libhtml-tagset-perl: add recipe for v3.20
In reply to Tim OrlingThis module contains data tables useful in dealing with HTML. It provides no functions or methods.
This is a dependency for libhtml-paser-perl.
--- .../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
meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb new file +29 -0
@@ -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"
Signature · 1 line
2.20.1
PATCH 10/13 libhtml-parser-perl: enable ptest
In reply to Tim OrlingAdd runtime and ptest dependencies
--- .../libhtml/libhtml-parser-perl_3.72.bb | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-)
meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb +21 -1
@@ -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"
Signature · 1 line
2.20.1
PATCH 11/13 libstrictures-perl: upgrade 2.000003 -> 2.000006; enable ptest
In reply to Tim OrlingAdd 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)
---
...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%)meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb renamed from meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb +10 -7
@@ -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"
Signature · 1 line
2.20.1
PATCH 12/13 libxml-libxml-perl: enable ptest
In reply to Tim OrlingEnable ptest and add ptest dependencies
--- .../libxml/libxml-libxml-perl_2.0134.bb | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb +25 -1
@@ -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} +}
Signature · 1 line
2.20.1
PATCH 13/13 libcapture-tiny-perl: upgrade 0.46 -> 0.48; enable ptest
In reply to Tim Orling* 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.
---
...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%)meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb renamed from meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb +22 -14
@@ -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"
Signature · 1 line
2.20.1
Quoted 7 lines · Tim Orling
Upstream release notes:
"""
2.38 - 2019-01-05
* Bundle up various changes including:
* Indexing improvements
*Makefileimprovements for some make utils
* Various code cleanups and modernizations
bug fix only? ie appropriate possible backport to warrior?
- armin
Quoted 58 lines
"""
* Add
UPSTREAM_CHECK_REGEX
* AddUPSTREAM_CHECK_URI
* inherit ptest-perl; all tests pass
* ptest RDEPENDS on perl-module-test-moreSigned-off-by Tim Orling <[email protected]>--- ...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%)meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb renamed from meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb +12
-5@@ -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