From 8e926e200b0381179feb68f6afb54d7b33f4c969 Mon Sep 17 00:00:00 2001 From: wangmy Date: Mon, 25 Apr 2022 15:31:15 +0800 Subject: libdbd-sqlite-perl: upgrade 1.68 -> 1.70 Changelog: ========== - Fix doc to use the correct attribute with sqlite_ (GH#86, eekboek++) - Modify the fix to silence the sqlite_unicode warning not to check the attribute twice - Fix an encoding issue of naive (GH#83, HaraldJoerg++) - Typo (GH#85, grr++) - Silenced deprecation warning of sqlite_unicode not to break tests of existing applications Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb | 55 ---------------------- .../recipes-perl/libdb/libdbd-sqlite-perl_1.70.bb | 55 ++++++++++++++++++++++ 2 files changed, 55 insertions(+), 55 deletions(-) delete mode 100644 meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb create mode 100644 meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.70.bb (limited to 'meta-perl') diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb deleted file mode 100644 index c7baeab6be..0000000000 --- a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.68.bb +++ /dev/null @@ -1,55 +0,0 @@ -SUMMARY = "A Perl DBI driver for SQLite" -DESCRIPTION = "DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire \ -thing in the distribution. So in order to get a fast transaction capable \ -RDBMS working for your perl project you simply have to install this \ -module, and nothing else. \ -" -HOMEPAGE = "https://metacpan.org/release/DBD-SQLite" - -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" - -SRC_URI = "${CPAN_MIRROR}/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ - file://sqlite-perl-test.pl \ -" - -SRC_URI[sha256sum] = "0e84e831a50d547d2e634b66650455f1791f223495c9138db82d42360c691e61" - -UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P(\d+\.\d+))(?!_\d+).tar" - -S = "${WORKDIR}/DBD-SQLite-${PV}" - -DEPENDS += "libdbi-perl-native" - -inherit cpan ptest-perl - -RDEPENDS:${PN} += "libdbi-perl \ - sqlite3 \ - perl-module-constant \ - perl-module-locale \ - perl-module-tie-hash \ -" - -do_install:append() { - if [ ${PERL_DBM_TEST} = "1" ]; then - install -m 755 -D ${WORKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl - fi -} - -do_install_ptest() { - cp -r ${B}/MANIFEST ${D}${PTEST_PATH} - chown -R root:root ${D}${PTEST_PATH} -} - -RDEPENDS:${PN}-ptest += " \ - libtest-nowarnings-perl \ - perl-module-lib \ - perl-module-encode \ - perl-module-file-spec \ - perl-module-file-spec-functions \ - perl-module-findbin \ - perl-module-test-more \ - " - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.70.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.70.bb new file mode 100644 index 0000000000..17ec3298c8 --- /dev/null +++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.70.bb @@ -0,0 +1,55 @@ +SUMMARY = "A Perl DBI driver for SQLite" +DESCRIPTION = "DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire \ +thing in the distribution. So in order to get a fast transaction capable \ +RDBMS working for your perl project you simply have to install this \ +module, and nothing else. \ +" +HOMEPAGE = "https://metacpan.org/release/DBD-SQLite" + +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" + +SRC_URI = "${CPAN_MIRROR}/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ + file://sqlite-perl-test.pl \ +" + +SRC_URI[sha256sum] = "40fd8ddf539e0e773a7a4e6d376794c3301459f9ab0050978bdcf97113dafe3e" + +UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P(\d+\.\d+))(?!_\d+).tar" + +S = "${WORKDIR}/DBD-SQLite-${PV}" + +DEPENDS += "libdbi-perl-native" + +inherit cpan ptest-perl + +RDEPENDS:${PN} += "libdbi-perl \ + sqlite3 \ + perl-module-constant \ + perl-module-locale \ + perl-module-tie-hash \ +" + +do_install:append() { + if [ ${PERL_DBM_TEST} = "1" ]; then + install -m 755 -D ${WORKDIR}/sqlite-perl-test.pl ${D}/${bindir}/sqlite-perl-test.pl + fi +} + +do_install_ptest() { + cp -r ${B}/MANIFEST ${D}${PTEST_PATH} + chown -R root:root ${D}${PTEST_PATH} +} + +RDEPENDS:${PN}-ptest += " \ + libtest-nowarnings-perl \ + perl-module-lib \ + perl-module-encode \ + perl-module-file-spec \ + perl-module-file-spec-functions \ + perl-module-findbin \ + perl-module-test-more \ + " + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf