+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=ISHIGAKI
-DIST_VERSION=1.54
-inherit perl-module
-
-PATCH_TAG="${DIST_VERSION}-patches-1"
-
-DESCRIPTION="Self Contained RDBMS in a DBI Driver"
-SRC_URI="${SRC_URI}
- https://github.com/kentnl-gentoo/DBD-SQLite/releases/download/${PATCH_TAG}/${PN}-${PATCH_TAG}.tar.xz
- mirror://gentoo/${PN}-${PATCH_TAG}.tar.xz
- https://dev.gentoo.org/~kentnl/distfiles/${PN}-${PATCH_TAG}.tar.xz
-"
-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"
-
-# NB: Get min sqlite version from sqlite3.c
-RDEPEND="
- system-sqlite? (
- >=dev-db/sqlite-3.13.0[extensions(+)]
- <dev-db/sqlite-3.21.0
- )
- >=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() {
- eapply "${WORKDIR}/patches/"
- 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
-}
-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