commit: 44c87eb13d21ec3698e1ff15422415b628981da1 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Mon Aug 31 05:17:16 2020 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Mon Aug 31 05:18:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c87eb1
dev-perl/DBD-SQLite: Bump to version 1.660.0 Upstream: - Upgrade bundled SQLite to 3.32.3 - Add several SQL_ types as alias - Don't return unitialized local variable when unexpected number of results returned in perl_vt_Eof() https://github.com/DBD-SQLite/DBD-SQLite/pull/55 - Ensure filename is defined in sqlite_db_filename https://github.com/DBD-SQLite/DBD-SQLite/pull/54 - Allow create_function to return an an array reference to specify the type of the value Bug: https://bugs.gentoo.org/732638 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org> dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild | 58 +++++++++++++++++++++++++++ dev-perl/DBD-SQLite/Manifest | 1 + dev-perl/DBD-SQLite/metadata.xml | 1 + 3 files changed, 60 insertions(+) diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild new file mode 100644 index 00000000000..796f42ffefb --- /dev/null +++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.660.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=ISHIGAKI +DIST_VERSION=1.66 +inherit perl-module + +DESCRIPTION="Self Contained RDBMS in a DBI Driver" + +SLOT="0" +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" +IUSE="test system-sqlite" +RESTRICT="!test? ( test )" + +# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite +# when bumping versions re: system-sqlite interop +SYSTEM_SQLITE_DEP=" + >=dev-db/sqlite-3.32.3[extensions(+)] +" +RDEPEND=" + system-sqlite? ( ${SYSTEM_SQLITE_DEP} ) + >=dev-perl/DBI-1.570.0 + !<dev-perl/DBD-SQLite-1 + virtual/perl-Scalar-List-Utils +" +DEPEND=" + system-sqlite? ( ${SYSTEM_SQLITE_DEP} ) +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + test? ( + >=virtual/perl-File-Spec-0.820.0 + >=virtual/perl-Test-Simple-0.880.0 + ) +" + +src_prepare() { + perl-module_src_prepare + if use system-sqlite; then + einfo "Removing bundled SQLite" + eapply "${FILESDIR}/${PN}-1.64-no-bundle.patch" + # remove bundled sqlite (rt.cpan#61361) + perl_rm_files sqlite3{.c,.h,ext.h} + fi +} +src_configure() { + use system-sqlite && myconf="SQLITE_LOCATION=${EPREFIX}/usr" + perl-module_src_configure +} + +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest index 2269a9aef62..6235420a290 100644 --- a/dev-perl/DBD-SQLite/Manifest +++ b/dev-perl/DBD-SQLite/Manifest @@ -1,3 +1,4 @@ DIST DBD-SQLite-1.56.tar.gz 2248699 BLAKE2B d6af8efed8149ff2ec5c68cc071355805f4a24e234e015c180d5326a4def4eab33352d168e9e41c06b2de28a0137f0d39a864749bfa972d28f8ec9221379bdc1 SHA512 1c9be3557691f76a9e543fe4bd6656a6b82f53fba4bc05261a55affa0a38b4eaa1cf876da975234c9c09985ba25b21f6f7a735f1cc47104169edf7fdd3a2e314 DIST DBD-SQLite-1.58.tar.gz 2248800 BLAKE2B 54cb94d0c64389984290361104e723be4cc9c7352e2f1c80838efa15d8f3d9d671705117422a1076203821b24ef63e06bf95244a0bdd7b710394e655041af18e SHA512 080d1e304fb0d43926ce0345df3367132c317ba113bdc11952c0a159bc68d988a024828a28e66be267f82e07731dee225723854fb80914ba7c476b27dbdeb212 DIST DBD-SQLite-1.64.tar.gz 2416842 BLAKE2B c2223492bc5662d6babfd4cc9c31697c48c9d2a55cf7228ccd55d351134f6380ca173f96a5ed99e1d377d2427b4a3e9b09e72104937e508a484d9263c15e9e40 SHA512 36a227193b4544c7cec24eec50ee51f46c00a2dad99ab7b8899b0417ea928a1e223f4052fb75f2d641cbfa4408192492ba8943fdb92520dc9888014467f503a4 +DIST DBD-SQLite-1.66.tar.gz 2483436 BLAKE2B 269f10652b1ca5b56d7db096c5cb9010d0103b28f3eca88a426adbacab7a84cd22002af752fcb6afd8a47d87ba702434640a2c398055eca4b37016e104f26bd7 SHA512 4d58003e69f29b18d01ed0b5853cdac40ec9ce5d4c75bc8a3743937897a38290a99be30b1b9fae593b0d8d51d05b7e2438d29f7a7c1c755b66de51826397aef9 diff --git a/dev-perl/DBD-SQLite/metadata.xml b/dev-perl/DBD-SQLite/metadata.xml index 81d70780bfe..ee9c1c92e08 100644 --- a/dev-perl/DBD-SQLite/metadata.xml +++ b/dev-perl/DBD-SQLite/metadata.xml @@ -12,6 +12,7 @@ <remote-id type="cpan">DBD-SQLite</remote-id> <remote-id type="cpan-module">DBD::SQLite</remote-id> <remote-id type="cpan-module">DBD::SQLite::Constants</remote-id> + <remote-id type="cpan-module">DBD::SQLite::GetInfo</remote-id> <remote-id type="cpan-module">DBD::SQLite::VirtualTable</remote-id> <remote-id type="cpan-module">DBD::SQLite::VirtualTable::Cursor</remote-id> <remote-id type="cpan-module">DBD::SQLite::VirtualTable::FileContent</remote-id>
