libmodule-build-tiny-perl: upgrade 0.045 -> 0.046

* Drop redundant do_install
* Use four spaces for indent in RDEPENDS
* RDEPENDS:
  - += not =
  - sort alphabetically
  - Add perl-module-perl-ostype
  - Add perl-module-extutils-cbuilder-base
  - Replace perl-module-ipc-open3 with -ipc-cmd
  - Add perl-module-metadata
  - Add perl-module-parse-cpan-meta
  - Add perl-module-extutils-install
  - Add perl-module-encode-encoding
* Enable ptest
* RDEPENDS for ptest:
  - Add perl-module-ipc-open2
  - Add perl-module-blib
  - Add packagegroup-core-buildessential
  - Add perl-dev (for "EXTERN.h")
* INSANE_SKIP dev-deps for -ptest

0.046 2023-06-01 19:31:21+02:00 Europe/Amsterdam
      - Add src/ to include paths

License-Update: Updated Artistic-1.0 (Perl) text

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tim Orling
2023-08-08 18:44:20 -07:00
committed by Khem Raj
parent 6be235b5c3
commit 8d353c0491
3 changed files with 66 additions and 53 deletions
@@ -13,6 +13,7 @@ PTESTS_FAST_META_PERL = "\
libextutils-config-perl \
libhtml-tagset-perl \
libmozilla-ca-perl \
libmodule-build-tiny-perl \
libstrictures-perl \
libterm-readkey-perl \
libtest-nowarnings-perl \
@@ -1,53 +0,0 @@
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 = "http://search.cpan.org/~leont/Module-Build-Tiny/"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6374136f6774db2f51cc116f5efbf705"
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] = "d20692eee246d0b329b7f7659f36286b14ae0696fe91078a64b7078f8876d300"
S = "${WORKDIR}/Module-Build-Tiny-${PV}"
inherit cpan_build
do_install () {
cpan_build_do_install
}
RDEPENDS:${PN} = " libextutils-config-perl \
libextutils-helpers-perl \
libextutils-installpaths-perl \
perl-module-xsloader \
perl-module-file-spec \
perl-module-io-handle \
perl-module-tap-harness-env \
perl-module-ipc-open3 \
perl-module-file-path \
perl-module-cpan \
perl-module-extutils-cbuilder \
perl-module-getopt-long \
perl-module-extutils-makemaker \
perl-module-exporter \
perl-module-carp \
perl-module-test-more \
perl-module-text-parsewords \
perl-module-load \
perl-module-file-temp \
perl-module-data-dumper \
perl-module-extutils-parsexs \
perl-module-pod-man \
perl-module-json-pp \
"
BBCLASSEXTEND = "native"
@@ -0,0 +1,65 @@
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 = "http://search.cpan.org/~leont/Module-Build-Tiny/"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=147a7b891d1584d3d33e478b1f2327c5"
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] = "be193027e2debb4c9926434aaf1aa46c9fc7bf4db83dcc347eb6e359ee878289"
S = "${WORKDIR}/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-pod-man \
perl-module-tap-harness-env \
perl-module-test-more \
perl-module-text-parsewords \
perl-module-xsloader \
"
RDEPENDS:${PN}-ptest += " \
packagegroup-core-buildessential \
perl-dev \
perl-module-blib \
perl-module-ipc-open2 \
"
INSANE_SKIP:${PN}-ptest += "dev-deps"
BBCLASSEXTEND = "native"