summaryrefslogtreecommitdiff
path: root/dev-perl/DBD-SQLite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
commitb11a5614cb96e70e116581c98abf286c2cf694ca (patch)
treeb602f03c26a8da259d67174441f0630d3fbbfa5d /dev-perl/DBD-SQLite
parente7daa1f959ba2c720f36a6984f588098e68b15cd (diff)
gentoo auto-resync : 25:10:2024 - 04:04:26
Diffstat (limited to 'dev-perl/DBD-SQLite')
-rw-r--r--dev-perl/DBD-SQLite/DBD-SQLite-1.760.0.ebuild60
-rw-r--r--dev-perl/DBD-SQLite/Manifest2
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.760.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.760.0.ebuild
new file mode 100644
index 000000000000..97ec82e36266
--- /dev/null
+++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.760.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=ISHIGAKI
+DIST_VERSION=1.76
+inherit perl-module
+
+DESCRIPTION="Self Contained RDBMS in a DBI Driver"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-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_VER="3.46.1"
+SYSTEM_SQLITE_DEP="
+ >=dev-db/sqlite-${SYSTEM_SQLITE_VER}[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
+
+ local bundled_sqlite_version=$(sed -En '/^#define SQLITE_VERSION /{s/[^0-9.]//gp}' sqlite3.h)
+ if [[ ${SYSTEM_SQLITE_VER} != ${bundled_sqlite_version} ]] ; then
+ eerror "Source sqlite version: ${bundled_sqlite_version}"
+ eerror "Ebuild sqlite version: ${SYSTEM_SQLITE_VER}"
+ die "Ebuild needs to fix SYSTEM_SQLITE_VER!"
+ fi
+
+ 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 bdc9f8430016..0de695386ba9 100644
--- a/dev-perl/DBD-SQLite/Manifest
+++ b/dev-perl/DBD-SQLite/Manifest
@@ -1,4 +1,6 @@
AUX DBD-SQLite-1.64-no-bundle.patch 722 BLAKE2B 6c906a72b8ecc0111eed947ce9ab06c8ef28a2989d1dcd3d23937dc9a4f656ef7342ab2b66634ba987282934156a1e8ba0621766279293044c1269f2e7754d91 SHA512 b547a410367d739b3d8790788a5d6cb8b7f9026f176cbcaa90c01c6007a406b28dbb06deda00ffb4bd6b502433c6035026754809e1faae6d2855180c0f0b58e0
DIST DBD-SQLite-1.74.tar.gz 2656440 BLAKE2B 8be462ae0f16fac973167dc44e6eea02089218345a379af26041b145087191325399e6813ea7f890d78c7cf0e9da84bba3b0ee9f698b033af6667d3cdb3b320e SHA512 46bb26ffac07ca6d25d44101bd59fe7ebb397d159154fe10528e4ca4ee270e62159a40be0325099237ce28fb6ce11b5dc1da5396c3e9a3e0e03062a65c16cbab
+DIST DBD-SQLite-1.76.tar.gz 2747259 BLAKE2B 6baff10947e7ddc5d8bf8c4790dce808b19050abcf8ca022ae3daa5bbab3a9d5f098a9d763de9cf0b3ee5a17ae107eccdeb921f2f776c02c9ee5ba711637100b SHA512 3c2d9f2dc9a544b03474913d416e09a3aa5ce74c9359603211dfd6ad7dfa91fd9920480ab3e1572ba8bea486372477214471a8859b9d88f384a1edfebc3ff926
EBUILD DBD-SQLite-1.740.0.ebuild 1660 BLAKE2B 4edcd465b018b57597ceb5c0acd2e37f3d000bc5d0d2d4d356dba6cf28a960674bde5f3d9086524dd6942d12507a62171b9254464c2008eced1a5b9461e176bf SHA512 3d26bea3dccb0518a93527e0b5e6b1d8c0b92191e7d27130bfaf48f0909f51c652ced50432f80e9258063420295cac2264ed02422fb528a092ac34c211be7f97
+EBUILD DBD-SQLite-1.760.0.ebuild 1668 BLAKE2B 5773b21fb536016ab5a6646da3b47790ed3918f49c75c022d8354f1e9410662273cd1cbdbbcb3029d530638be59d3e1dbac0d36627c99ff710276fcb438df5b3 SHA512 3beaf3b4643c143b2a91576ff818bb18d57e24b9b52b853175ccf6fce717d413e55f0dc8cbf58db29864bd0bf032f871479f6af0c37935c7b40a3f30efd1285a
MISC metadata.xml 1207 BLAKE2B 6da8a1970a2285dbc2e9acbe3a56f0e3a046f99bc55885b3b2aeb5734073c2b5b362fae545196201641bf8f68d575e54b44b38e45540384bfc44f2823fe5b308 SHA512 0f42b18155dadce74eb6263c8fe69b68b938219da9b1397617c0dd004bf013a798ddfd73711dedda44e7e627e29b337bf6523a3648c59092afae6b2dfa6aca94