diff options
| author | Kent Fredric <kentnl@gentoo.org> | 2018-03-01 09:04:59 +1300 |
|---|---|---|
| committer | Kent Fredric <kentnl@gentoo.org> | 2018-03-01 09:24:19 +1300 |
| commit | 16de0208cfec0e56d0d2dfacb6301bbdb893ac46 (patch) | |
| tree | 8a996dfce087af40bc4697f7339dfa38aa1c9950 /dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild | |
| parent | 666641808bf37c118675534ba005dd0a80529ec4 (diff) | |
| download | gentoo-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/DBD-SQLite/DBD-SQLite-1.560.0.ebuild')
| -rw-r--r-- | dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild | 47 |
1 files changed, 47 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 +} |
