public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-SQLite/
Date: Thu, 24 Oct 2024 10:23:28 +0000 (UTC)	[thread overview]
Message-ID: <1729765348.85aceabbf55aba8494e8cae2c93c72c946c8db9e.sam@gentoo> (raw)

commit:     85aceabbf55aba8494e8cae2c93c72c946c8db9e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 10:14:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 10:22:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85aceabb

dev-perl/DBD-SQLite: add 1.760.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/DBD-SQLite/DBD-SQLite-1.760.0.ebuild | 60 +++++++++++++++++++++++++++
 dev-perl/DBD-SQLite/Manifest                  |  1 +
 2 files changed, 61 insertions(+)

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 fadb7f407545..37f4ea2e5418 100644
--- a/dev-perl/DBD-SQLite/Manifest
+++ b/dev-perl/DBD-SQLite/Manifest
@@ -1 +1,2 @@
 DIST DBD-SQLite-1.74.tar.gz 2656440 BLAKE2B 8be462ae0f16fac973167dc44e6eea02089218345a379af26041b145087191325399e6813ea7f890d78c7cf0e9da84bba3b0ee9f698b033af6667d3cdb3b320e SHA512 46bb26ffac07ca6d25d44101bd59fe7ebb397d159154fe10528e4ca4ee270e62159a40be0325099237ce28fb6ce11b5dc1da5396c3e9a3e0e03062a65c16cbab
+DIST DBD-SQLite-1.76.tar.gz 2747259 BLAKE2B 6baff10947e7ddc5d8bf8c4790dce808b19050abcf8ca022ae3daa5bbab3a9d5f098a9d763de9cf0b3ee5a17ae107eccdeb921f2f776c02c9ee5ba711637100b SHA512 3c2d9f2dc9a544b03474913d416e09a3aa5ce74c9359603211dfd6ad7dfa91fd9920480ab3e1572ba8bea486372477214471a8859b9d88f384a1edfebc3ff926


             reply	other threads:[~2024-10-24 10:23 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-24 10:23 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-05 12:29 [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-SQLite/ Sam James
2024-12-01 22:36 Jakov Smolić
2024-12-01 17:35 Jakov Smolić
2023-11-04 13:35 Sam James
2023-11-04 13:35 Sam James
2023-11-04 10:50 Sam James
2023-11-04 10:50 Sam James
2023-09-21 22:33 Sam James
2022-12-18 11:44 Sam James
2022-12-18 11:41 Sam James
2022-11-18  4:24 Sam James
2022-11-18  4:24 Sam James
2022-05-14  7:04 WANG Xuerui
2021-12-12 18:25 Sam James
2021-12-06  6:38 Arthur Zamarin
2021-12-05  3:34 Sam James
2021-12-05  3:34 Sam James
2021-12-05  3:15 Sam James
2021-12-05  3:08 Sam James
2021-10-20 23:00 Andreas K. Hüttel
2021-09-28 12:39 James Le Cuirot
2021-05-01 15:29 Andreas K. Hüttel
2020-12-27 14:54 Fabian Groffen
2020-11-23  8:01 Sergei Trofimovich
2020-11-19 11:17 Agostino Sarubbo
2020-11-18  6:55 Agostino Sarubbo
2020-11-17 20:43 Thomas Deutschmann
2020-11-16  0:50 Sam James
2020-11-16  0:43 Sam James
2020-11-16  0:22 Sam James
2020-10-19  3:58 Kent Fredric
2020-08-31  5:19 Kent Fredric
2018-12-08 12:51 Mikle Kolyada
2018-11-23 13:06 Agostino Sarubbo
2018-10-12 11:16 Tobias Klausmann
2018-10-06 21:10 Mart Raudsepp
2018-10-06 19:34 Matt Turner
2018-09-30 16:08 Sergei Trofimovich
2018-07-01 14:01 Mikle Kolyada
2018-06-03  4:29 Kent Fredric
2018-05-26 13:38 Thomas Deutschmann
2018-05-26 13:38 Thomas Deutschmann
2018-04-20  7:10 Kent Fredric
2018-04-07  5:08 Matt Turner
2018-03-31 18:30 Sergei Trofimovich
2018-03-15 16:28 Mikle Kolyada
2018-03-05 13:57 Tobias Klausmann
2018-03-02 21:51 Mart Raudsepp
2018-02-28 20:24 Kent Fredric
2018-02-23 22:10 Sergei Trofimovich
2018-02-19  8:07 Sergei Trofimovich
2018-02-17 20:46 Sergei Trofimovich
2018-01-03 14:32 Kent Fredric
2017-10-06 17:52 Kent Fredric
2017-02-24  4:16 Mike Frysinger
2017-02-04 17:33 Andreas Hüttel
2017-02-03 21:48 Jeroen Roovers
2017-01-03 10:38 Agostino Sarubbo
2017-01-01 12:43 Agostino Sarubbo
2016-12-29 10:45 Agostino Sarubbo
2016-12-26 18:52 Kent Fredric
2016-12-20 19:16 Tobias Klausmann
2016-11-16  7:30 Kent Fredric
2016-10-26 16:56 Markus Meier
2016-10-03 12:15 Tobias Klausmann
2016-05-06 22:30 Andreas Hüttel
2016-03-05 19:55 Andreas Hüttel
2016-03-05 17:36 Mikle Kolyada
2016-01-24  7:20 Jeroen Roovers
2016-01-12 20:16 Markus Meier
2016-01-03 11:54 Agostino Sarubbo
2016-01-02 19:42 Andreas Hüttel
2015-09-08 19:43 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1729765348.85aceabbf55aba8494e8cae2c93c72c946c8db9e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox