summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2018-03-01 09:04:59 +1300
committerKent Fredric <kentnl@gentoo.org>2018-03-01 09:24:19 +1300
commit16de0208cfec0e56d0d2dfacb6301bbdb893ac46 (patch)
tree8a996dfce087af40bc4697f7339dfa38aa1c9950 /dev-perl
parentwww-plugins/chrome-binary-plugins: automated update (66.0.3355.0) (diff)
downloadgentoo-16de0208cfec0e56d0d2dfacb6301bbdb893ac46.tar.gz
gentoo-16de0208cfec0e56d0d2dfacb6301bbdb893ac46.tar.bz2
gentoo-16de0208cfec0e56d0d2dfacb6301bbdb893ac46.zip
dev-perl/DBD-SQLite: Bump to version 1.560.0
Upstream: - Ship bundled SQLite 3.22.0 - Disable two STAT compile time options - Fix tests for error format change in recent DBI - Implement ParamValues statement handle attribute - Fix statistics_info - Fix for '.' in @INC removal - Fix zero-length BLOB retreived as undef Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild47
-rw-r--r--dev-perl/DBD-SQLite/Manifest1
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild
new file mode 100644
index 000000000000..72a5df80e337
--- /dev/null
+++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ISHIGAKI
+DIST_VERSION=1.56
+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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="test system-sqlite"
+
+# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite
+# when bumping versions re: system-sqlite interop
+RDEPEND="
+ system-sqlite? (
+ >=dev-db/sqlite-3.21.0[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 e68494f7a7a1..3d27beba1d98 100644
--- a/dev-perl/DBD-SQLite/Manifest
+++ b/dev-perl/DBD-SQLite/Manifest
@@ -1,3 +1,4 @@
DIST DBD-SQLite-1.50.tar.gz 2023829 BLAKE2B a4f61886bd4e912adb23aa3b2d11ad92ca02d113127289fb9f98dbf6dd01ae1047bfdc22394b0e72e4adad10f5fa7cfd28397c97cd3b8c666c4387e640ca746f SHA512 6ef903ef5a08511caf962d255d1245d83398ca0c807d86463eae86d7408b8ec271e9d7176c120cf6843a12d3670114c1856c85bb737acad9ef79e630dd253c82
DIST DBD-SQLite-1.54-patches-1.tar.xz 8376 BLAKE2B 95df8ada4a1d1b2e730414a6a5b5f66b9a392c596e4a6b38a61245fc980c99e94093a825fd4e07477ff6fe13915acd4363287a0b9128f2e81727f10a517c58aa SHA512 8dec02fb076b8169b6f204b6b1e0828c913e5b5bf445dbb1dbf7ed0f372a339db08531558ba4ece7adda4b08c583b1a0657df4abfdb489fc1e1c10afd9033474
DIST DBD-SQLite-1.54.tar.gz 2136219 BLAKE2B 76700a1c695036951ed2ccd36319d509be6292554b7b7aa49da4ec07f1c15a75ae84886bddae96b536351a381b0cf52350d48ded836e1c4627c57d4dd9fc2bdd SHA512 a8daff59679973467dff80c013b6ff9d7229a505b62c0312bdf7f9288af64dcd2e99f889b66eb98103b0e6ac7a9b0fa7c9c517c5c2673ee7f84b3b6b5d26173e
+DIST DBD-SQLite-1.56.tar.gz 2248699 BLAKE2B d6af8efed8149ff2ec5c68cc071355805f4a24e234e015c180d5326a4def4eab33352d168e9e41c06b2de28a0137f0d39a864749bfa972d28f8ec9221379bdc1 SHA512 1c9be3557691f76a9e543fe4bd6656a6b82f53fba4bc05261a55affa0a38b4eaa1cf876da975234c9c09985ba25b21f6f7a735f1cc47104169edf7fdd3a2e314