[oe] [meta-perl][PATCH] libconfig-autoconf-perl: add recipe

Jens Rehsack sno at netbsd.org
Fri Jan 3 05:37:38 UTC 2020



> Am 03.01.2020 um 04:28 schrieb Khem Raj <raj.khem at gmail.com>:
> 
> On Thu, Jan 2, 2020 at 5:37 AM Jens Rehsack <sno at netbsd.org> wrote:
>> 
>> Introduce Config::Autoconf module to meta-perl which will allow some
>> probes can be run without leaving perl5 context.
>> 
>> Signed-off-by: Jens Rehsack <sno at netbsd.org>
>> ---
>> .../libconfig-autoconf-perl_0.317.bb          | 41 +++++++++++++++++++
>> 1 file changed, 41 insertions(+)
>> create mode 100644 meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>> 
>> diff --git a/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>> new file mode 100644
>> index 000000000..62983764f
>> --- /dev/null
>> +++ b/meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb
>> @@ -0,0 +1,41 @@
>> +# Copyright (C) 2020 Jens Rehsack <sno at netbsd.org>
>> +# Released under the MIT license (see COPYING.MIT for the terms)
>> +
>> +SUMMARY = "A module to implement some of AutoConf macros in pure perl"
>> +DESCRIPTION = "Config::AutoConf is intended to provide the same opportunities to Perl \
>> +developers as GNU Autoconf <http://www.gnu.org/software/autoconf/> does for \
>> +Shell developers."
>> +
>> +HOMEPAGE=       "https://metacpan.org/release/Config-AutoConf"
>> +
>> +SECTION = "libs"
>> +LICENSE = "Artistic-1.0 | GPL-1.0+"
>> +
>> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
>> +file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
>> +
>> +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RE/REHSACK/Config-AutoConf-0.317.tar.gz"
>> +
>> +SRC_URI[md5sum] = "29f87fc7803f1725f6daafcf416089ce"
>> +SRC_URI[sha256sum] = "01e4b22d2fecb7cfd3cc1f4dabe95cd137cf249cc5e38184f88556e5c98a9ce1"
>> +RDEPENDS_${PN} += "libcapture-tiny-perl"
>> +RDEPENDS_${PN} += "perl-module-base"
>> +RDEPENDS_${PN} += "perl-module-carp"
>> +RDEPENDS_${PN} += "perl-module-config"
>> +RDEPENDS_${PN} += "perl-module-constant"
>> +RDEPENDS_${PN} += "perl-module-file-basename"
>> +RDEPENDS_${PN} += "perl-module-file-spec"
>> +RDEPENDS_${PN} += "perl-module-file-temp"
>> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder"
>> +RDEPENDS_${PN} += "perl-module-extutils-cbuilder-unix"
> 
> perl-module-extutils-cbuilder-unix seems to be not provided by anyone,
> I am seeing
> 
> 18:24:25 WARNING: libconfig-autoconf-perl-0.317-r0 do_package_qa: QA
> Issue: libconfig-autoconf-perl rdepends on
> perl-module-extutils-cbuilder-unix, but it isn't a build dependency?
> [build-deps]

That's because the (autogenerated) package is perl-module-extutils-cbuilder-platform-unix - a typo.
Could be that one, too.

> perhaps you need to bring this recipe along, from meta-cpan

meta-cpan packages only CPAN distributions. That one is a core module, automatically
split into zillion of micro-packages ... :/

>> +RDEPENDS_${PN} += "perl-module-scalar-util"
>> +RDEPENDS_${PN} += "perl-module-strict"
>> +RDEPENDS_${PN} += "perl-module-text-parsewords"
>> +RDEPENDS_${PN} += "perl-module-warnings"
>> +RRECOMMENDS_${PN} += "libfile-slurper-perl"
>> +
>> +S = "${WORKDIR}/Config-AutoConf-${PV}"
>> +
>> +inherit cpan ptest-perl allarch
>> +
>> +BBCLASSEXTEND = "native nativesdk"
>> --
>> 2.17.1
>> 
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20200103/d16ebcae/attachment.sig>


More information about the Openembedded-devel mailing list