diff options
author | Kent Fredric <kentnl@gentoo.org> | 2016-11-16 20:09:52 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2016-11-16 20:10:33 +1300 |
commit | d91a512e5adf329a6d1f1fb96c3a5a626c3370a2 (patch) | |
tree | a718a7fefc42383264fc0d6646a67b98df6f08ae /dev-perl/DBD-SQLite | |
parent | dev-lang/ruby: add 2.2.6 and 2.3.2 (diff) | |
download | gentoo-d91a512e5adf329a6d1f1fb96c3a5a626c3370a2.tar.gz gentoo-d91a512e5adf329a6d1f1fb96c3a5a626c3370a2.tar.bz2 gentoo-d91a512e5adf329a6d1f1fb96c3a5a626c3370a2.zip |
dev-perl/DBD-SQLite: Bump to 1.520.0
Testing indicates system-sqlite works again, at least, with
sqlite-3.15.1
Upstream:
- Update bundled SQLite to 3.13.0
- Enabled FTS5
- REGEXP function fixed to work under sqlite_unicode
- column_info now parses column_info with spaces correctly.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-perl/DBD-SQLite')
-rw-r--r-- | dev-perl/DBD-SQLite/DBD-SQLite-1.520.0.ebuild | 47 | ||||
-rw-r--r-- | dev-perl/DBD-SQLite/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/DBD-SQLite/metadata.xml | 10 |
3 files changed, 55 insertions, 3 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.520.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.520.0.ebuild new file mode 100644 index 000000000000..dfaf0ef6cfe4 --- /dev/null +++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.520.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=ISHIGAKI +DIST_VERSION=1.52 +inherit perl-module + +DESCRIPTION="Self Contained RDBMS in a DBI Driver" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test system-sqlite" + +# NB: Get min sqlite version from sqlite3.c +RDEPEND=" + system-sqlite? ( + >=dev-db/sqlite-3.10.2[extensions(+)] + ) + >=dev-perl/DBI-1.570.0 + !<dev-perl/DBD-SQLite-1 + virtual/perl-Scalar-List-Utils +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + test? ( + >=virtual/perl-File-Spec-0.820.0 + >=virtual/perl-Test-Simple-0.420.0 + ) +" + +src_prepare() { + perl-module_src_prepare + if use system-sqlite; then + einfo "Removing bundled SQLite" + # Flip Makefile into system mode. + sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die + # remove bundled sqlite (rt.cpan#61361) + for i in sqlite3{.c,.h,ext.h} ; do + rm ${i} || die + sed -i -e "/^${i}\$/d" MANIFEST || die + done + myconf="SQLITE_LOCATION=${EPREFIX}/usr" + fi +} diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest index c8288894bf86..20ce937df0a0 100644 --- a/dev-perl/DBD-SQLite/Manifest +++ b/dev-perl/DBD-SQLite/Manifest @@ -1,2 +1,3 @@ DIST DBD-SQLite-1.48.tar.gz 1769115 SHA256 b397230f5d4cdc9923f91c62da9e535234f3055c528ede75afd7d24698030ea6 SHA512 9c00decdb6730c0e4be3fdd01fef6ebad0452cbe1b5141c23fee7d0c5ca0089f3cd4e5d70d331e959ec50546bb10154a3c2db4bfd27993912d5c788cef0a81ee WHIRLPOOL 8313333ba47203d2eb1434266af250dcfe9e360d697155d82bb24b6f0c0abf650d3cc787e6b9c93144e790de16aa1c318032626f867977b8dfeee92be53c3b12 DIST DBD-SQLite-1.50.tar.gz 2023829 SHA256 3ac513ab73944fd7d4b672e1fe885dc522b6369d38f46a68e67e0045bf159ce1 SHA512 6ef903ef5a08511caf962d255d1245d83398ca0c807d86463eae86d7408b8ec271e9d7176c120cf6843a12d3670114c1856c85bb737acad9ef79e630dd253c82 WHIRLPOOL ea39ae0eb6bc2202da7e64399e6b8a101944e31c33c2a872225cc28819c68017163a65ce548eff8547b7ad4ecf82b2692eaaf90a724cc0cd69d48a2de5d28f72 +DIST DBD-SQLite-1.52.tar.gz 2136120 SHA256 a6da099e9b953262afafea18335930bede1f195fdead45bd3f00e690b158354e SHA512 589ab97af705ac8236951d73bdf88a571531ec3d3d75d8bf25c1e1c275fa89a01b907b0a25807fc926808872761ee1087ace47725c3f7a220972923996d3d2d4 WHIRLPOOL 2ffb00d32bdbce98db25979659ec489b4a5366539c209326ebc8b7d90741611ae93fb336c150ef10e5b2d1efa4952be20ae137753d9e6ed3e4c6228a4e99518f diff --git a/dev-perl/DBD-SQLite/metadata.xml b/dev-perl/DBD-SQLite/metadata.xml index f8fa0948643b..81d70780bfe5 100644 --- a/dev-perl/DBD-SQLite/metadata.xml +++ b/dev-perl/DBD-SQLite/metadata.xml @@ -11,8 +11,12 @@ <upstream> <remote-id type="cpan">DBD-SQLite</remote-id> <remote-id type="cpan-module">DBD::SQLite</remote-id> - <remote-id type="cpan-module">DBD::SQLite::_WriteOnceHash</remote-id> - <remote-id type="cpan-module">DBD::SQLite::db</remote-id> - <remote-id type="cpan-module">DBD::SQLite::dr</remote-id> + <remote-id type="cpan-module">DBD::SQLite::Constants</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> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::FileContent::Cursor</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::PerlData</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::PerlData::Cursor</remote-id> </upstream> </pkgmetadata> |