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: Sun, 03 Jun 2018 04:29:46
Message-Id: 1528000148.c5c20fc3b87272997d1e246261ee84abd14e298f.kentnl@gentoo
1 commit: c5c20fc3b87272997d1e246261ee84abd14e298f
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 3 04:28:49 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 3 04:29:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c20fc3
7
8 dev-perl/DBD-SQLite: Bump to version 1.580.0 re bug #656546
9
10 Upstream:
11 - Now an error to fetch attributes from a statement handle whose
12 database handle is inactive.
13
14 Closes: https://bugs.gentoo.org/656546
15 Package-Manager: Portage-2.3.29, Repoman-2.3.9
16
17 dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild | 47 +++++++++++++++++++++++++++
18 dev-perl/DBD-SQLite/Manifest | 1 +
19 2 files changed, 48 insertions(+)
20
21 diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild
22 new file mode 100644
23 index 00000000000..8e84fa9db15
24 --- /dev/null
25 +++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild
26 @@ -0,0 +1,47 @@
27 +# Copyright 1999-2018 Gentoo Foundation
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=6
31 +
32 +DIST_AUTHOR=ISHIGAKI
33 +DIST_VERSION=1.58
34 +inherit perl-module
35 +
36 +DESCRIPTION="Self Contained RDBMS in a DBI Driver"
37 +
38 +SLOT="0"
39 +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"
40 +IUSE="test system-sqlite"
41 +
42 +# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite
43 +# when bumping versions re: system-sqlite interop
44 +RDEPEND="
45 + system-sqlite? (
46 + >=dev-db/sqlite-3.21.0[extensions(+)]
47 + )
48 + >=dev-perl/DBI-1.570.0
49 + !<dev-perl/DBD-SQLite-1
50 + virtual/perl-Scalar-List-Utils
51 +"
52 +DEPEND="${RDEPEND}
53 + >=virtual/perl-ExtUtils-MakeMaker-6.480.0
54 + test? (
55 + >=virtual/perl-File-Spec-0.820.0
56 + >=virtual/perl-Test-Simple-0.420.0
57 + )
58 +"
59 +
60 +src_prepare() {
61 + perl-module_src_prepare
62 + if use system-sqlite; then
63 + einfo "Removing bundled SQLite"
64 + # Flip Makefile into system mode.
65 + sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die
66 + # remove bundled sqlite (rt.cpan#61361)
67 + for i in sqlite3{.c,.h,ext.h} ; do
68 + rm ${i} || die
69 + sed -i -e "/^${i}\$/d" MANIFEST || die
70 + done
71 + myconf="SQLITE_LOCATION=${EPREFIX}/usr"
72 + fi
73 +}
74
75 diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest
76 index 5779d990c4d..e75f4fd7d32 100644
77 --- a/dev-perl/DBD-SQLite/Manifest
78 +++ b/dev-perl/DBD-SQLite/Manifest
79 @@ -1 +1,2 @@
80 DIST DBD-SQLite-1.56.tar.gz 2248699 BLAKE2B d6af8efed8149ff2ec5c68cc071355805f4a24e234e015c180d5326a4def4eab33352d168e9e41c06b2de28a0137f0d39a864749bfa972d28f8ec9221379bdc1 SHA512 1c9be3557691f76a9e543fe4bd6656a6b82f53fba4bc05261a55affa0a38b4eaa1cf876da975234c9c09985ba25b21f6f7a735f1cc47104169edf7fdd3a2e314
81 +DIST DBD-SQLite-1.58.tar.gz 2248800 BLAKE2B 54cb94d0c64389984290361104e723be4cc9c7352e2f1c80838efa15d8f3d9d671705117422a1076203821b24ef63e06bf95244a0bdd7b710394e655041af18e SHA512 080d1e304fb0d43926ce0345df3367132c317ba113bdc11952c0a159bc68d988a024828a28e66be267f82e07731dee225723854fb80914ba7c476b27dbdeb212