From 427184e46a1b9138159f0baa5db497807b0a65a1 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 27 Jan 2018 01:29:03 -0800 Subject: libmime-types-perl: upgrade 2.14 -> 2.17 * Fix RDEPENDS * Install bin/collect-types Signed-off-by: Tim Orling Signed-off-by: Armin Kuster --- .../libmime/libmime-types-perl_2.14.bb | 26 -------------- .../libmime/libmime-types-perl_2.17.bb | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 26 deletions(-) delete mode 100644 meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb create mode 100644 meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb deleted file mode 100644 index ade0a062a5..0000000000 --- a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.14.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "MIME::Types - Definition of MIME types" -DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ -as part of e-mail and HTTP traffic, to indicate the type of content which \ -is transmitted. Sometimes real knowledge about a mime-type is need.\ -\n\ -This module maintains a set of MIME::Type objects, which each describe \ -one known mime type." -HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" -SECTION = "libraries" - -LICENSE = "Artistic-1.0|GPLv1+" -LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" - -SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ - file://run-ptest \ - " -SRC_URI[md5sum] = "c1b9b7dea40fbb96c0e0048d10d66268" -SRC_URI[sha256sum] = "4049cf0fc05205893f25fdbe07d1ab12bfc72259517db2c3348c1d1059730070" - -S = "${WORKDIR}/MIME-Types-${PV}" - -inherit cpan ptest - -do_install_ptest () { - cp -r ${B}/t ${D}${PTEST_PATH} -} diff --git a/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb new file mode 100644 index 0000000000..414753030b --- /dev/null +++ b/meta-perl/recipes-perl/libmime/libmime-types-perl_2.17.bb @@ -0,0 +1,42 @@ +SUMMARY = "MIME::Types - Definition of MIME types" +DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ +as part of e-mail and HTTP traffic, to indicate the type of content which \ +is transmitted. Sometimes real knowledge about a mime-type is need.\ +\n\ +This module maintains a set of MIME::Type objects, which each describe \ +one known mime type." +HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" +SECTION = "libraries" + +LICENSE = "Artistic-1.0|GPLv1+" +LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ + file://run-ptest \ + " +SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3" +SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6" + +S = "${WORKDIR}/MIME-Types-${PV}" + +inherit cpan ptest + +RDEPENDS_${PN} = "\ + perl-module-base \ + perl-module-file-basename \ + perl-module-file-spec \ + perl-module-overload \ +" + +RDEPENDS_${PN}-ptest = "perl-module-lib perl-module-test-more" +#RSUGGESTS_${PN}-ptest = "libmojo-base-perl" + +do_install () { + cpan_do_install + install -d ${D}${bindir} + install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types +} + +do_install_ptest () { + cp -r ${B}/t ${D}${PTEST_PATH} +} -- cgit 1.2.3-korg