summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2019-06-27 21:52:20 -0700
committerKhem Raj <raj.khem@gmail.com>2019-07-10 09:24:32 -0700
commit76609a4b4ef14ab9b49fd5d7d99c33b30309a4ef (patch)
treefcc31b4f2299f57d38b7e2ac39545841e81832c9 /meta-perl/recipes-perl
parentaaab97dd105803a36631d0a49875a2c58d39c806 (diff)
downloadmeta-openembedded-76609a4b4ef14ab9b49fd5d7d99c33b30309a4ef.tar.gz
libdbd-sqlite-perl: upgrade 1.54 -> 1.62; enable ptest
* Add ptest dependencies` * Reorganize recipe according to best practices * Use CPAN_MIRROR * Update HOMEPAGE Upstream release notes: 1.62 2018-12-29 - Switched to a production version 1.61_04 2018-12-22 - Added sqlite_db_config method and new constants for it - Added sqlite_defensive option to disallow dangerous SQLite features - Exposed some of the hidden extended result codes 1.61_03 2018-12-19 - Upgraded SQLite to 3.26.0, which reportedly has a security fix 1.61_02 2018-12-01 - Added sqlite_backup_from_dbh/sqlite_backup_to_dbh methods - Introduced sqlite_prefer_numeric_type database handle attribute that changes the value of TYPE statement handle attribute from an array of string to an array of integer, as an experimental feature. Setting this may break your applications. - Changed preferred bugtracker 1.61_01 2018-12-01 - Added ability to configure SQLITE_MAX_LENGT with environmental variable (Roy Storey) - Added sqlite_limit database handle method to change run-time limits - Upgraded SQLite to 3.25.3 - Updated constants 1.60 2018-12-01 - Switched to a production version 1.59_03 2018-11-03 - Added a note on the long standing bug on TYPE statement handle attribute - Applied a doc patch on Virtual::PerlData by Björn Höhrmann (GH-31) 1.59_02 2018-09-30 - Upgraded SQLite to 3.25.2 1.59_01 2018-09-17 - Upgraded SQLite to 3.25.0, with ALTER TABLE ... RENAME COLUMN and UPSERT among others - Added ::GetInfo (GH#32, Brendan Byrd) - Fix to use a PV value as a virtual table column value where appropriate (RT-124941) - Add deferrability to foreign_key_info (mohawk2) 1.58 2018-03-28 - Switched to a production version. 1.57_01 2018-03-21 - Made it an error to fetch attributes from a statement handle whose database handle is inactive (ribasushi++) 1.56 2018-02-28 - Switched to a production version. 1.55_07 2018-01-27 - This is a developer release to help testing DBIx::Class - Upgraded SQLite to 3.22.0 - Disabled two STAT compile time options (tentatively), which fixes RT-124227 anyway 1.55_06 2018-01-27 - This is a developer release to help testing DBIx::Class - Downgraded SQLite to 3.19.3 because of a SQLite regression (RT-124227, ribasushi++) - Fixed some tests to adapt to a change in error format introduced by the latest DBI - Remove no warnings test from t/43_fts.t which failed under some environments 1.55_05 2017-12-16 - Implemented ParamValues statement handle attribute (RT-123886) 1.55_04 2017-11-22 - Updated SQLite to 3.21.0 - Resolved #122581: statistics_info() doesn't work correctly (John Deighan) - Fixed typo (GH#26, ReneNyffenegger) - Silenced some warnings (GH#25, Jacques Germishuys) - Fixed no dot in @INC issue (GH#24, ribasushi) - Fixed zero-length BLOB value is retrieved as undef (GH#23, SATO Kentaro) - Fixed VirtualTable::PerlData to use new ops added in SQLite 3.21.0 (GH#28, fschlich) - noted on sqlite_extended_result_codes handle attribute 1.55_03 2017-02-14 - Updated SQLite to 3.17.0 1.55_02 2017-01-08 - Updated SQLite to 3.16.2 - Fixed statistics_info when only unique indexes were requested (Dave Rolsky++). GitHub #21 1.55_01 2017-01-04 - Updated SQLite to 3.16.0 Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl/recipes-perl')
-rw-r--r--meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.62.bb (renamed from meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.54.bb)43
1 files changed, 29 insertions, 14 deletions
diff --git a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.54.bb b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.62.bb
index c72e536de..4af9d3c5c 100644
--- a/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.54.bb
+++ b/meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.62.bb
@@ -4,34 +4,33 @@ thing in the distribution. So in order to get a fast transaction capable \
4RDBMS working for your perl project you simply have to install this \ 4RDBMS working for your perl project you simply have to install this \
5module, and nothing else. \ 5module, and nothing else. \
6" 6"
7HOMEPAGE = "http://search.cpan.org/~ishigaki/DBD-SQLite/" 7HOMEPAGE = "https://metacpan.org/release/DBD-SQLite"
8 8
9SECTION = "libs" 9SECTION = "libs"
10LICENSE = "Artistic-1.0 | GPL-1.0+" 10LICENSE = "Artistic-1.0 | GPL-1.0+"
11DEPENDS += "libdbi-perl-native"
12RDEPENDS_${PN} += "libdbi-perl \
13 sqlite3 \
14 perl-module-constant \
15 perl-module-locale \
16 perl-module-tie-hash \
17"
18
19LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360" 11LIC_FILES_CHKSUM = "file://LICENSE;md5=1726e2117494ba3e13e1c3d93f795360"
20 12
21SRC_URI = "http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \ 13SRC_URI = "${CPAN_MIRROR}/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${PV}.tar.gz \
22 file://sqlite-perl-test.pl \ 14 file://sqlite-perl-test.pl \
23" 15"
24 16
25SRC_URI[md5sum] = "8f835ddacb9a4a92a52bbe2d24d18a8e" 17SRC_URI[md5sum] = "f2e11a2bea6bd864404c0363d7eddaf8"
26SRC_URI[sha256sum] = "3929a6dbd8d71630f0cb57f85dcef9588cd7ac4c9fa12db79df77b9d3a4d7269" 18SRC_URI[sha256sum] = "bd82ef322a9e5469a7a62d845c32fad1188b76ccb49a88520cec768343cce85c"
27 19
28UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" 20UPSTREAM_CHECK_REGEX = "DBD\-SQLite\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
29 21
30S = "${WORKDIR}/DBD-SQLite-${PV}" 22S = "${WORKDIR}/DBD-SQLite-${PV}"
31 23
32inherit cpan 24DEPENDS += "libdbi-perl-native"
33 25
34BBCLASSEXTEND = "native" 26inherit cpan ptest-perl
27
28RDEPENDS_${PN} += "libdbi-perl \
29 sqlite3 \
30 perl-module-constant \
31 perl-module-locale \
32 perl-module-tie-hash \
33"
35 34
36do_install_append() { 35do_install_append() {
37 if [ ${PERL_DBM_TEST} = "1" ]; then 36 if [ ${PERL_DBM_TEST} = "1" ]; then
@@ -39,3 +38,19 @@ do_install_append() {
39 fi 38 fi
40} 39}
41 40
41do_install_ptest() {
42 cp -r ${B}/MANIFEST ${D}${PTEST_PATH}
43 chown -R root:root ${D}${PTEST_PATH}
44}
45
46RDEPENDS_${PN}-ptest += " \
47 libtest-nowarnings-perl \
48 perl-module-lib \
49 perl-module-encode \
50 perl-module-file-spec \
51 perl-module-file-spec-functions \
52 perl-module-findbin \
53 perl-module-test-more \
54 "
55
56BBCLASSEXTEND = "native"