mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-21 20:19:33 +00:00
Build.PL writes MYMETA.json through CPAN::Meta, which opens it with an :encoding() layer. Without PerlIO::encoding installed this fails: Unknown PerlIO layer "encoding" at .../CPAN/Meta.pm line 412. Error opening 'MYMETA.json' for writing: No such file or directory and t/simple fails. meta-perl-image-ptest-libmodule-build-tiny-perl on qemux86-64 now passes. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
68 lines
2.2 KiB
BlitzBasic
68 lines
2.2 KiB
BlitzBasic
SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
|
|
DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \
|
|
Makefile.PL file to drive distribution configuration, build, test and \
|
|
installation. Traditionally, Build.PL uses Module::Build as the underlying \
|
|
build system. This module provides a simple, lightweight, drop-in replacement. \
|
|
Whereas Module::Build has over 6,700 lines of code; this module has less than \
|
|
120, yet supports the features needed by most distributions."
|
|
SECTION = "libs"
|
|
|
|
HOMEPAGE = "https://metacpan.org/release/LEONT/Module-Build-Tiny-0.048"
|
|
|
|
LICENSE = "Artistic-1.0 OR GPL-1.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3eab9a3cd580096821fd1e657e2f31d5"
|
|
|
|
DEPENDS = "libextutils-config-perl-native libextutils-helpers-perl-native libextutils-installpaths-perl-native"
|
|
|
|
SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz"
|
|
SRC_URI[sha256sum] = "3726d622da6f655e88fdf89e4fd597709c44970b47de65082003e8d86b5e193a"
|
|
|
|
S = "${UNPACKDIR}/Module-Build-Tiny-${PV}"
|
|
|
|
inherit cpan_build ptest-perl
|
|
|
|
RDEPENDS:${PN} += " \
|
|
libextutils-config-perl \
|
|
libextutils-helpers-perl \
|
|
libextutils-installpaths-perl \
|
|
perl-module-carp \
|
|
perl-module-cpan \
|
|
perl-module-data-dumper \
|
|
perl-module-encode-encoding \
|
|
perl-module-exporter \
|
|
perl-module-extutils-cbuilder \
|
|
perl-module-extutils-cbuilder-base \
|
|
perl-module-extutils-install \
|
|
perl-module-extutils-makemaker \
|
|
perl-module-extutils-parsexs \
|
|
perl-module-file-path \
|
|
perl-module-file-spec \
|
|
perl-module-file-temp \
|
|
perl-module-getopt-long \
|
|
perl-module-io-handle \
|
|
perl-module-ipc-cmd \
|
|
perl-module-json-pp \
|
|
perl-module-load \
|
|
perl-module-metadata \
|
|
perl-module-parse-cpan-meta \
|
|
perl-module-perl-ostype \
|
|
perl-module-perlio-encoding \
|
|
perl-module-pod-man \
|
|
perl-module-tap-harness-env \
|
|
perl-module-test-more \
|
|
perl-module-text-parsewords \
|
|
perl-module-xsloader \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
cpan-requirements-dynamic \
|
|
packagegroup-core-buildessential \
|
|
perl-dev \
|
|
perl-module-blib \
|
|
perl-module-ipc-open2 \
|
|
"
|
|
|
|
INSANE_SKIP:${PN}-ptest += "dev-deps"
|
|
|
|
BBCLASSEXTEND = "native"
|