summaryrefslogtreecommitdiff
path: root/dev-perl/DBD-SQLite/DBD-SQLite-1.780.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/DBD-SQLite/DBD-SQLite-1.780.0.ebuild')
-rw-r--r--dev-perl/DBD-SQLite/DBD-SQLite-1.780.0.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.780.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.780.0.ebuild
deleted file mode 100644
index 5f69e8d3de16..000000000000
--- a/dev-perl/DBD-SQLite/DBD-SQLite-1.780.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DIST_AUTHOR=ISHIGAKI
-DIST_VERSION=1.78
-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 ~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.51.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
-}