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/BerkeleyDB/
Date: Thu, 22 Jun 2023 04:17:41 +0000 (UTC)	[thread overview]
Message-ID: <1687407099.6770ae0d9a682120b965d7e85974ca632912d95e.sam@gentoo> (raw)

commit:     6770ae0d9a682120b965d7e85974ca632912d95e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 22 04:11:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 22 04:11:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6770ae0d

dev-perl/BerkeleyDB: add 0.650.0

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

 dev-perl/BerkeleyDB/BerkeleyDB-0.650.0.ebuild | 61 +++++++++++++++++++++++++++
 dev-perl/BerkeleyDB/Manifest                  |  1 +
 2 files changed, 62 insertions(+)

diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.650.0.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.650.0.ebuild
new file mode 100644
index 000000000000..7bb567dbc824
--- /dev/null
+++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.650.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=PMQS
+DIST_VERSION=0.65
+# parallel really broken
+DIST_TEST="do"
+inherit perl-module db-use
+
+DESCRIPTION="This module provides Berkeley DB interface for Perl"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# Install DB_File if you want older support. BerkleyDB no longer
+# supports less than 2.0.
+RDEPEND="
+	>=sys-libs/db-2.0:=
+	<sys-libs/db-7:=
+"
+DEPEND="
+	>=sys-libs/db-2.0:=
+	<sys-libs/db-7:=
+"
+BDEPEND="
+	${RDEPEND}
+	virtual/perl-ExtUtils-MakeMaker
+"
+
+PERL_RM_FILES=(
+	"t/meta-json.t"
+	"t/meta-yaml.t"
+	"t/pod.t"
+	"scan.pl"
+	"mkconsts.pl"
+)
+
+src_prepare() {
+	local DB_SUPPORTED=(
+		6 5 4 3 2
+	)
+
+	# on Gentoo Prefix, we cannot trust the symlink /usr/include/db.h
+	# as for Gentoo/Linux, so we need to explicitly declare the exact berkdb
+	# include path
+	local dbdir="$(db_includedir "${DB_SUPPORTED[@]}" )"
+	local dbname="$(db_libname "${DB_SUPPORTED[@]}" )"
+	einfo "DB Include Dir: ${dbdir}"
+	einfo "DB library: ${dbname}"
+
+	rm -f "${S}/config.in" || die "Can't remove packaged config.in"
+
+	printf "INCLUDE = %s\nLIB = %s\nDBNAME = -l%s\n" \
+		"${dbdir}" \
+		"${EPREFIX}/usr/$(get_libdir)" \
+		"${dbname}" > "${S}"/config.in || die "Can't write config.in"
+
+	perl-module_src_prepare
+}

diff --git a/dev-perl/BerkeleyDB/Manifest b/dev-perl/BerkeleyDB/Manifest
index 6e5409824da2..b725f8bfe350 100644
--- a/dev-perl/BerkeleyDB/Manifest
+++ b/dev-perl/BerkeleyDB/Manifest
@@ -1 +1,2 @@
 DIST BerkeleyDB-0.64.tar.gz 259656 BLAKE2B 5136c632a7385a7d7866b59b75ba32d3bcd6fc660d7c1d54edba868db831bee2ce5162117d7941793cda1e31b22fa17d624a84ae377348d8dc2c5255016bf714 SHA512 368f89bb12e209ed6f0d1367875739813bfec85f4c10f0ffd7260d5be97bbd758af517133977f1e8f43c1d9b04d6b5dd9696ae1de1d544d9682b1f6bacfe3e85
+DIST BerkeleyDB-0.65.tar.gz 258814 BLAKE2B 56e7b212fc2228af0c6e7546d8139001f799076dc24cb76aefc9ebcf9878497534d93fd880fce1d2d3292b3e1e53d6a46c57775d8fb63a384777170f05ab329c SHA512 896d1388df35ff0c22ff6ad0cea93bf57be6e09a9176d05b88f34455dcd32e4549d19b11cad2322ae8f323adbe8a8ee6054fe611bdcb1490d26f6bec67686763


             reply	other threads:[~2023-06-22  4:17 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-22  4:17 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-04 21:07 [gentoo-commits] repo/gentoo:master commit in: dev-perl/BerkeleyDB/ Arthur Zamarin
2023-07-24 12:32 Jakov Smolić
2023-07-24  7:45 Jakov Smolić
2022-03-10 21:12 Sam James
2022-03-10 21:12 Sam James
2022-01-05  0:08 Sam James
2021-04-25  5:19 Sam James
2021-04-20 23:35 Sam James
2021-04-20 23:35 Sam James
2021-04-20 17:06 Sergei Trofimovich
2021-04-20 11:57 Sam James
2021-04-20 11:56 Sam James
2020-12-12  6:46 Kent Fredric
2020-09-19 23:26 Kent Fredric
2020-09-17 12:25 Kent Fredric
2020-08-16  2:04 Kent Fredric
2020-07-03 15:10 Kent Fredric
2020-05-05 18:20 Kent Fredric
2016-08-06 14:56 Kent Fredric
2016-01-24 12:11 Andreas Hüttel
2016-01-24  7:39 Jeroen Roovers
2016-01-17 19:01 Mikle Kolyada
2016-01-06 13:34 Agostino Sarubbo
2015-12-29 11:04 Agostino Sarubbo
2015-12-28 17:00 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=1687407099.6770ae0d9a682120b965d7e85974ca632912d95e.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