Skip to contentSkip to conversation

libconfig-autoconf-perl: add recipe

PATCH Superseded Jens Rehsack 2 participants 4 messages Jan 2, 2020 – Jan 3, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libconfig-autoconf-perl: add recipe

Introduce Config::Autoconf module to meta-perl which will allow some probes can be run without leaving perl5 context.

---
 .../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
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +41 -0
new file mode 100644
index 000000000..62983764f
@@ -0,0 +1,41 @@
+# Copyright (C) 2020 Jens Rehsack <[email protected]>
+# 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"
+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"
Signature · 1 line
2.17.1
#1 lore raw

I uploaded 0.318 today to PAUSE.
Sending new patch for that or an update - depending whether this is in master tomorrow morning or not ;)

Quoted 59 lines

Am 02.01.2020 um 14:37 schrieb Jens Rehsack <[email protected]>:

Introduce Config::Autoconf module to meta-perl which will allow some probes can be run without leaving perl5 context.

---
.../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

meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +41 -1
new file mode 100644
index 000000000..62983764f
@@ -0,0 +1,41 @@
+# Copyright (C) 2020 Jens Rehsack <[email protected]>
+# 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"
+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"
--
Quoted 2 lines

2.17.1

--
Jens Rehsack - [email protected]

#2 lore raw
In reply to Jens Rehsack
Quoted 36 lines · Jens Rehsack

Introduce Config::Autoconf module to meta-perl which will allow some probes can be run without leaving perl5 context.

---
 .../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
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +20 -0
new file mode 100644
index 000000000..62983764f
@@ -0,0 +1,41 @@
+# Copyright (C) 2020 Jens Rehsack <[email protected]>
+# 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"

meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb line 30

Quoted 10 lines
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +10 -0
+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]

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

Quoted 19 lines
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +11 -1
+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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 55 lines

Am 03.01.2020 um 04:28 schrieb Khem Raj <[email protected]>:

Quoted 36 lines · Jens Rehsack

Introduce Config::Autoconf module to meta-perl which will allow some probes can be run without leaving perl5 context.

---
.../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

meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +20 -0
new file mode 100644
index 000000000..62983764f
@@ -0,0 +1,41 @@
+# Copyright (C) 2020 Jens Rehsack <[email protected]>
+# 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"

meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb line 30

Quoted 10 lines
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +10 -0
+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

Quoted 4 lines

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.

Quoted 1 line

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 ... :/

Quoted 14 lines
Quoted 14 lines
meta-perl/recipes-perl/libconfig/libconfig-autoconf-perl_0.317.bb new file +11 -1
+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

Quoted 5 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Jens Rehsack - [email protected]