summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-21 00:57:36 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-21 00:59:49 +0200
commita0d3bd3f55ece81710f430e86eff1ac98cc1ba53 (patch)
tree9168ef9e17e1c5b0e3d0fd3e88a1a9a15c32059a /dev-perl/DBD-SQLite
parentdev-perl/DateTime-TimeZone: Version bump 2.50 (diff)
downloadgentoo-a0d3bd3f55ece81710f430e86eff1ac98cc1ba53.tar.gz
gentoo-a0d3bd3f55ece81710f430e86eff1ac98cc1ba53.tar.bz2
gentoo-a0d3bd3f55ece81710f430e86eff1ac98cc1ba53.zip
dev-perl/DBD-SQLite: Version bump 1.70
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/DBD-SQLite')
-rw-r--r--dev-perl/DBD-SQLite/DBD-SQLite-1.700.0.ebuild51
-rw-r--r--dev-perl/DBD-SQLite/Manifest1
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.700.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.700.0.ebuild
new file mode 100644
index 000000000000..3a4777feddb5
--- /dev/null
+++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.700.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=ISHIGAKI
+DIST_VERSION=1.70
+inherit perl-module
+
+DESCRIPTION="Self Contained RDBMS in a DBI Driver"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
+IUSE="system-sqlite"
+
+# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite
+# when bumping versions re: system-sqlite interop
+SYSTEM_SQLITE_DEP="
+ >=dev-db/sqlite-3.35.5[extensions(+)]
+"
+RDEPEND="
+ system-sqlite? ( ${SYSTEM_SQLITE_DEP} )
+ >=dev-perl/DBI-1.570.0
+ !<dev-perl/DBD-SQLite-1
+ virtual/perl-Scalar-List-Utils
+"
+DEPEND="
+ system-sqlite? ( ${SYSTEM_SQLITE_DEP} )
+"
+BDEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.480.0
+ test? (
+ >=virtual/perl-File-Spec-0.820.0
+ >=virtual/perl-Test-Simple-0.880.0
+ )
+"
+
+src_prepare() {
+ perl-module_src_prepare
+ if use system-sqlite; then
+ einfo "Removing bundled SQLite"
+ eapply "${FILESDIR}/${PN}-1.64-no-bundle.patch"
+ # remove bundled sqlite (rt.cpan#61361)
+ perl_rm_files sqlite3{.c,.h,ext.h}
+ fi
+}
+
+src_configure() {
+ use system-sqlite && myconf="SQLITE_LOCATION=${EPREFIX}/usr"
+ perl-module_src_configure
+}
diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest
index e863157e3b8d..a809eb3a6b69 100644
--- a/dev-perl/DBD-SQLite/Manifest
+++ b/dev-perl/DBD-SQLite/Manifest
@@ -1 +1,2 @@
DIST DBD-SQLite-1.66.tar.gz 2483436 BLAKE2B 269f10652b1ca5b56d7db096c5cb9010d0103b28f3eca88a426adbacab7a84cd22002af752fcb6afd8a47d87ba702434640a2c398055eca4b37016e104f26bd7 SHA512 4d58003e69f29b18d01ed0b5853cdac40ec9ce5d4c75bc8a3743937897a38290a99be30b1b9fae593b0d8d51d05b7e2438d29f7a7c1c755b66de51826397aef9
+DIST DBD-SQLite-1.70.tar.gz 2537672 BLAKE2B 30703bce48e4c4c91a60fa863210e91a2443167201583393700b550f9e91a908a881a3acaf643c901b2305792a6200207caaaf5e12fda315f4572a12c1ebdb6b SHA512 163d53a8a214202a39b346ae023f9d10255c69dde537bc764a4ef312b62ef7b02ae1400e6c1a59d0483fd98abba6c36939214c13f5d9b3a2727c41753ba59060