Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-SQLite/
Date: Mon, 31 Aug 2020 05:19:25
Message-Id: 1598851111.44c87eb13d21ec3698e1ff15422415b628981da1.kentnl@gentoo
1 commit: 44c87eb13d21ec3698e1ff15422415b628981da1
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 05:17:16 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 05:18:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c87eb1
7
8 dev-perl/DBD-SQLite: Bump to version 1.660.0
9
10 Upstream:
11 - Upgrade bundled SQLite to 3.32.3
12 - Add several SQL_ types as alias
13 - Don't return unitialized local variable when unexpected number of
14 results returned in perl_vt_Eof()
15 https://github.com/DBD-SQLite/DBD-SQLite/pull/55
16 - Ensure filename is defined in sqlite_db_filename
17 https://github.com/DBD-SQLite/DBD-SQLite/pull/54
18 - Allow create_function to return an an array reference to specify the
19 type of the value
20
21 Bug: https://bugs.gentoo.org/732638
22 Package-Manager: Portage-3.0.4, Repoman-3.0.1
23 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
24
25 dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild | 58 +++++++++++++++++++++++++++
26 dev-perl/DBD-SQLite/Manifest | 1 +
27 dev-perl/DBD-SQLite/metadata.xml | 1 +
28 3 files changed, 60 insertions(+)
29
30 diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild
31 new file mode 100644
32 index 00000000000..796f42ffefb
33 --- /dev/null
34 +++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild
35 @@ -0,0 +1,58 @@
36 +# Copyright 1999-2020 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +DIST_AUTHOR=ISHIGAKI
42 +DIST_VERSION=1.66
43 +inherit perl-module
44 +
45 +DESCRIPTION="Self Contained RDBMS in a DBI Driver"
46 +
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
49 +IUSE="test system-sqlite"
50 +RESTRICT="!test? ( test )"
51 +
52 +# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite
53 +# when bumping versions re: system-sqlite interop
54 +SYSTEM_SQLITE_DEP="
55 + >=dev-db/sqlite-3.32.3[extensions(+)]
56 +"
57 +RDEPEND="
58 + system-sqlite? ( ${SYSTEM_SQLITE_DEP} )
59 + >=dev-perl/DBI-1.570.0
60 + !<dev-perl/DBD-SQLite-1
61 + virtual/perl-Scalar-List-Utils
62 +"
63 +DEPEND="
64 + system-sqlite? ( ${SYSTEM_SQLITE_DEP} )
65 +"
66 +BDEPEND="${RDEPEND}
67 + >=virtual/perl-ExtUtils-MakeMaker-6.480.0
68 + test? (
69 + >=virtual/perl-File-Spec-0.820.0
70 + >=virtual/perl-Test-Simple-0.880.0
71 + )
72 +"
73 +
74 +src_prepare() {
75 + perl-module_src_prepare
76 + if use system-sqlite; then
77 + einfo "Removing bundled SQLite"
78 + eapply "${FILESDIR}/${PN}-1.64-no-bundle.patch"
79 + # remove bundled sqlite (rt.cpan#61361)
80 + perl_rm_files sqlite3{.c,.h,ext.h}
81 + fi
82 +}
83 +src_configure() {
84 + use system-sqlite && myconf="SQLITE_LOCATION=${EPREFIX}/usr"
85 + perl-module_src_configure
86 +}
87 +
88 +src_compile() {
89 + mymake=(
90 + "OPTIMIZE=${CFLAGS}"
91 + )
92 + perl-module_src_compile
93 +}
94
95 diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest
96 index 2269a9aef62..6235420a290 100644
97 --- a/dev-perl/DBD-SQLite/Manifest
98 +++ b/dev-perl/DBD-SQLite/Manifest
99 @@ -1,3 +1,4 @@
100 DIST DBD-SQLite-1.56.tar.gz 2248699 BLAKE2B d6af8efed8149ff2ec5c68cc071355805f4a24e234e015c180d5326a4def4eab33352d168e9e41c06b2de28a0137f0d39a864749bfa972d28f8ec9221379bdc1 SHA512 1c9be3557691f76a9e543fe4bd6656a6b82f53fba4bc05261a55affa0a38b4eaa1cf876da975234c9c09985ba25b21f6f7a735f1cc47104169edf7fdd3a2e314
101 DIST DBD-SQLite-1.58.tar.gz 2248800 BLAKE2B 54cb94d0c64389984290361104e723be4cc9c7352e2f1c80838efa15d8f3d9d671705117422a1076203821b24ef63e06bf95244a0bdd7b710394e655041af18e SHA512 080d1e304fb0d43926ce0345df3367132c317ba113bdc11952c0a159bc68d988a024828a28e66be267f82e07731dee225723854fb80914ba7c476b27dbdeb212
102 DIST DBD-SQLite-1.64.tar.gz 2416842 BLAKE2B c2223492bc5662d6babfd4cc9c31697c48c9d2a55cf7228ccd55d351134f6380ca173f96a5ed99e1d377d2427b4a3e9b09e72104937e508a484d9263c15e9e40 SHA512 36a227193b4544c7cec24eec50ee51f46c00a2dad99ab7b8899b0417ea928a1e223f4052fb75f2d641cbfa4408192492ba8943fdb92520dc9888014467f503a4
103 +DIST DBD-SQLite-1.66.tar.gz 2483436 BLAKE2B 269f10652b1ca5b56d7db096c5cb9010d0103b28f3eca88a426adbacab7a84cd22002af752fcb6afd8a47d87ba702434640a2c398055eca4b37016e104f26bd7 SHA512 4d58003e69f29b18d01ed0b5853cdac40ec9ce5d4c75bc8a3743937897a38290a99be30b1b9fae593b0d8d51d05b7e2438d29f7a7c1c755b66de51826397aef9
104
105 diff --git a/dev-perl/DBD-SQLite/metadata.xml b/dev-perl/DBD-SQLite/metadata.xml
106 index 81d70780bfe..ee9c1c92e08 100644
107 --- a/dev-perl/DBD-SQLite/metadata.xml
108 +++ b/dev-perl/DBD-SQLite/metadata.xml
109 @@ -12,6 +12,7 @@
110 <remote-id type="cpan">DBD-SQLite</remote-id>
111 <remote-id type="cpan-module">DBD::SQLite</remote-id>
112 <remote-id type="cpan-module">DBD::SQLite::Constants</remote-id>
113 + <remote-id type="cpan-module">DBD::SQLite::GetInfo</remote-id>
114 <remote-id type="cpan-module">DBD::SQLite::VirtualTable</remote-id>
115 <remote-id type="cpan-module">DBD::SQLite::VirtualTable::Cursor</remote-id>
116 <remote-id type="cpan-module">DBD::SQLite::VirtualTable::FileContent</remote-id>