@@ -32,6 +32,7 @@ PTESTS_FAST_META_PERL = "\
libnet-ldap-perl \
libnet-ssleay-perl \
libstrictures-perl \
+ libsub-quote-perl \
libsub-uplevel-perl \
libterm-readkey-perl \
libtest-deep-perl \
new file mode 100644
@@ -0,0 +1,34 @@
+SUMMARY = "Sub::Quote - Efficient generation of subroutines via string eval"
+DESCRIPTION = "Sub::Quote provides an efficient way to generate subroutines \
+from strings of code, and Sub::Defer allows deferring the generation of a \
+subroutine until it is first called. Moo uses both to generate accessors \
+and constructors."
+HOMEPAGE = "https://metacpan.org/dist/Sub-Quote"
+SECTION = "libs"
+
+LICENSE = "Artistic-1.0 OR GPL-1.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cbfad6e324ce5ceae2608874ddea0133"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/Sub-Quote-${PV}.tar.gz"
+SRC_URI[sha256sum] = "94bebd500af55762e83ea2f2bc594d87af828072370c7110c60c238a800d15b2"
+
+S = "${UNPACKDIR}/Sub-Quote-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+ perl-module-b \
+ perl-module-carp \
+ perl-module-exporter \
+ perl-module-scalar-util \
+ perl-module-sub-util \
+"
+
+RDEPENDS:${PN}-ptest += "\
+ perl-module-lib \
+ perl-module-test-more \
+ perl-module-threads \
+ perl-module-utf8 \
+"
+
+BBCLASSEXTEND = "native"
Sub::Quote and Sub::Defer were split out of Moo into the Sub-Quote distribution, and Moo needs them to generate accessors and constructors. Add a recipe for Sub-Quote 2.006008, with a ptest. The ptest passes on qemux86-64 (15 pass), so add it to PTESTS_FAST_META_PERL. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- .../include/ptest-packagelists-meta-perl.inc | 1 + .../libsub/libsub-quote-perl_2.006008.bb | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-perl/recipes-perl/libsub/libsub-quote-perl_2.006008.bb