public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-09-21 13:22 Arthur Zamarin
  0 siblings, 0 replies; 23+ messages in thread
From: Arthur Zamarin @ 2021-09-21 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     edf9a0460342a9296c63febb454ee749f0875628
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 21 13:00:56 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 13:21:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf9a046

dev-python/berkeleydb: initial import (NIH dep for dev-python/rdflib)

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/berkeleydb/Manifest                 |  1 +
 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 62 ++++++++++++++++++++++++++
 dev-python/berkeleydb/metadata.xml             | 11 +++++
 3 files changed, 74 insertions(+)

diff --git a/dev-python/berkeleydb/Manifest b/dev-python/berkeleydb/Manifest
new file mode 100644
index 00000000000..486f8088b1e
--- /dev/null
+++ b/dev-python/berkeleydb/Manifest
@@ -0,0 +1 @@
+DIST berkeleydb-18.1.4.tar.xz 137160 BLAKE2B c93e7707bf12199c8161112accfedc3b0180b8f6edcf5c928c03f373528bb9ccb23219865344d9ed29d30b0133a2161ba0325257b6f7a2d22a58e8d9b1f82ce2 SHA512 bac2848e82ba5fdd3ca8fbf3a02d04faf270132f4b9fe93096ea57ab99fcc7eba02ff8a9638ea8e028d8bd4f16eebbefb65f33ea67e95c0a14cced05d04b23b8

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
new file mode 100644
index 00000000000..5aa0f547bd6
--- /dev/null
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit db-use distutils-r1
+
+# Tests aren't included in PyPi tarballs, so just manually clone from upstream
+# at https://hg.jcea.es/pybsddb/ and prepare out tarball
+
+DESCRIPTION="Python bindings for Oracle Berkeley DB"
+HOMEPAGE="https://www.jcea.es/programacion/pybsddb.htm https://pypi.org/project/berkeleydb/"
+SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	|| (
+		sys-libs/db:6.2
+		sys-libs/db:5.3
+		sys-libs/db:4.8
+	)"
+DEPEND="${RDEPEND}"
+
+python_prepare_all() {
+	# This list should be kept in sync with setup3.py.
+	if [[ -z ${DB_VER} ]]; then
+		for DB_VER in 6.2 5.3 4.8; do
+			has_version "sys-libs/db:${DB_VER}" && break
+		done
+	fi
+
+	# Force version.
+	sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \
+		-e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
+		-i setup3.py || die
+
+	# rename to bypass name conflict with builtin test module
+	mv test.py test3.py || die
+
+	# Adjust test3.py to look in build/lib.
+	sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" -i test3.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+	# These are needed for both build and install.
+	export BERKELEYDB_DIR="${EPREFIX}/usr"
+	export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
+	export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
+}
+
+python_test() {
+	"${EPYTHON}" test3.py -vv || die "Testing failed with ${EPYTHON}"
+}

diff --git a/dev-python/berkeleydb/metadata.xml b/dev-python/berkeleydb/metadata.xml
new file mode 100644
index 00000000000..13dbb5909e0
--- /dev/null
+++ b/dev-python/berkeleydb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>arthurzam@gentoo.org</email>
+		<name>Arthur Zamarin</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="pypi">berkeleydb</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-09-22  2:34 Yixun Lan
  0 siblings, 0 replies; 23+ messages in thread
From: Yixun Lan @ 2021-09-22  2:34 UTC (permalink / raw
  To: gentoo-commits

commit:     a12c6871356906de5bcbdd6d7a04257d5bf69fd8
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 22 01:31:09 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Sep 22 02:34:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a12c6871

dev-python/berkeleydb: keyword ~riscv

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 5aa0f547bd6..3dd0153d305 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-09-22 18:03 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-09-22 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     7061ab143678ba6d0ced43ec8eb82ca27ec527c6
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed Sep 22 15:13:09 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 22 18:03:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7061ab14

dev-python/berkeleydb: keyworded 18.1.4 for sparc, bug #814179

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 3dd0153d305..1a26deb5db9 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="~amd64 ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-04 22:58 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-04 22:58 UTC (permalink / raw
  To: gentoo-commits

commit:     a6c1d1860b17af17f5b9ac08e2135a5bba08c48d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  4 22:57:35 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 22:57:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6c1d186

dev-python/berkeleydb: Keyword 18.1.4 arm, #814179

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 1a26deb5db9..38a111c1306 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-10  0:05 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-10  0:05 UTC (permalink / raw
  To: gentoo-commits

commit:     b71d614ffb1d76f1ec51b231eaf33b61c8bed16d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 10 00:04:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 10 00:04:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71d614f

dev-python/berkeleydb: Keyword 18.1.4 ppc, #814179

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 38a111c1306..e2473b96f2a 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-10  0:09 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-10  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     f9cc03b3c2bafebfbae58a1b1f44c72c0093db8d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 10 00:08:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 10 00:08:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9cc03b3

dev-python/berkeleydb: Keyword 18.1.4 ppc64, #814179

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index e2473b96f2a..7831709e257 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-10  2:20 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-10  2:20 UTC (permalink / raw
  To: gentoo-commits

commit:     9276bcb6385cf1457399ba7531f3df8ff4fc1547
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 10 02:19:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 10 02:19:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9276bcb6

dev-python/berkeleydb: Keyword 18.1.4 arm64, #814179

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 7831709e257..823bbd81ea5 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-24  1:15 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-24  1:15 UTC (permalink / raw
  To: gentoo-commits

commit:     4440f19b5c70079fe0029cb4d2228996fe536ecd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 01:15:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 01:15:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4440f19b

dev-python/berkeleydb: Stabilize 18.1.4 amd64, #819855

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 823bbd81ea5..c16af462b66 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-24  4:50 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-24  4:50 UTC (permalink / raw
  To: gentoo-commits

commit:     9c6ba6cc6ddac35ec88719f1dd112145c14bd8cc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 04:50:06 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 04:50:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c6ba6cc

dev-python/berkeleydb: Stabilize 18.1.4 ppc64, #819855

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index c0cc338226a..fd9279bc591 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-24  4:50 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-24  4:50 UTC (permalink / raw
  To: gentoo-commits

commit:     ba99b4ba78d39095d27ef93c9fc44582407c7a2d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 04:50:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 04:50:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba99b4ba

dev-python/berkeleydb: Stabilize 18.1.4 ppc, #819855

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index c16af462b66..c0cc338226a 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-24  4:51 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-24  4:51 UTC (permalink / raw
  To: gentoo-commits

commit:     0f49b29d1021b4746f4d35def936099c1d65b33e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 24 04:51:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 04:51:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f49b29d

dev-python/berkeleydb: Stabilize 18.1.4 x86, #819855

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index fd9279bc591..e7cd73083dd 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-26  3:14 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-26  3:14 UTC (permalink / raw
  To: gentoo-commits

commit:     c12dc586f6eb5efb3a935c92c4fea22072dd0b24
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 03:13:00 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 03:13:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12dc586

dev-python/berkeleydb: Stabilize 18.1.4 arm64, #819855

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index e7cd73083dd..b308a0776ee 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-27  4:13 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-27  4:13 UTC (permalink / raw
  To: gentoo-commits

commit:     54499733809dedb0ac0f04a8433fd0278a688717
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 27 04:11:19 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 27 04:11:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54499733

dev-python/berkeleydb: Stabilize 18.1.4 arm, #819855

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

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index b308a0776ee..5fc928f2b3e 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-10-31 18:03 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-10-31 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     23ba427a77107b24656731cd6f0ba6c1cf93053d
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Sun Oct 31 08:57:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 18:02:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ba427a

dev-python/berkeleydb: stable 18.1.4 for sparc, bug #819855

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 5fc928f2b3e..783079c3e48 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2021-11-01 15:46 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2021-11-01 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     0002255d17b56866b7c19ef8c7bd9cc683ebdedd
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Nov  1 15:02:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov  1 15:46:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0002255d

dev-python/berkeleydb: keyworded 18.1.4 for hppa, bug #814179

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index 783079c3e48..d4578a5945e 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-01-10  6:08 Joshua Kinard
  0 siblings, 0 replies; 23+ messages in thread
From: Joshua Kinard @ 2022-01-10  6:08 UTC (permalink / raw
  To: gentoo-commits

commit:     ed3a2c957773413374df9e5150d21ee217cba5cb
Author:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 06:07:50 2022 +0000
Commit:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 06:07:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed3a2c95

dev-python/berkeleydb: Added ~mips to KEYWORDS

Bug: https://bugs.gentoo.org/814179
Signed-off-by: Joshua Kinard <kumba <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
index da72d00697d0..9c8e6b6acd04 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-01-21 19:08 Arthur Zamarin
  0 siblings, 0 replies; 23+ messages in thread
From: Arthur Zamarin @ 2022-01-21 19:08 UTC (permalink / raw
  To: gentoo-commits

commit:     4eddc8adbd1f731259b52b2d66ae44ad4af3b513
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 21 18:47:51 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 19:08:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eddc8ad

dev-python/berkeleydb: add 18.1.5

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/berkeleydb/Manifest                 |  1 +
 dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 62 ++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/berkeleydb/Manifest b/dev-python/berkeleydb/Manifest
index 486f8088b1e8..4807bdfcebfb 100644
--- a/dev-python/berkeleydb/Manifest
+++ b/dev-python/berkeleydb/Manifest
@@ -1 +1,2 @@
 DIST berkeleydb-18.1.4.tar.xz 137160 BLAKE2B c93e7707bf12199c8161112accfedc3b0180b8f6edcf5c928c03f373528bb9ccb23219865344d9ed29d30b0133a2161ba0325257b6f7a2d22a58e8d9b1f82ce2 SHA512 bac2848e82ba5fdd3ca8fbf3a02d04faf270132f4b9fe93096ea57ab99fcc7eba02ff8a9638ea8e028d8bd4f16eebbefb65f33ea67e95c0a14cced05d04b23b8
+DIST berkeleydb-18.1.5.tar.xz 138488 BLAKE2B 1131509f30316469cfed30abdbd672ab73ef7dfc957e16935d04066b4a2efeb3c777ae4f70f821a29f4d8b8b51d649998735eb412639cc52997c9ee4a98c51db SHA512 c7a51e96cf32b74188b0cb4ed1d8b87436b30dc4929ba22180677ffb5eacd455a67eb5a231c814fc46ccc4c6a5da2f41876a343228969eab988bb0766d40a751

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
new file mode 100644
index 000000000000..1117442721e8
--- /dev/null
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="threads(+)"
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit db-use distutils-r1
+
+# Tests aren't included in PyPi tarballs, so just manually clone from upstream
+# at https://hg.jcea.es/pybsddb/ and prepare out tarball
+
+DESCRIPTION="Python bindings for Oracle Berkeley DB"
+HOMEPAGE="https://www.jcea.es/programacion/pybsddb.htm https://pypi.org/project/berkeleydb/"
+SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+	|| (
+		sys-libs/db:6.2
+		sys-libs/db:5.3
+		sys-libs/db:4.8
+	)"
+DEPEND="${RDEPEND}"
+
+python_prepare_all() {
+	# This list should be kept in sync with setup3.py.
+	if [[ -z ${DB_VER} ]]; then
+		for DB_VER in 6.2 5.3 4.8; do
+			has_version "sys-libs/db:${DB_VER}" && break
+		done
+	fi
+
+	# Force version.
+	sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \
+		-e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
+		-i setup3.py || die
+
+	# rename to bypass name conflict with builtin test module
+	mv test.py test3.py || die
+
+	# Adjust test3.py to look in build/lib.
+	sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" -i test3.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+	# These are needed for both build and install.
+	export BERKELEYDB_DIR="${EPREFIX}/usr"
+	export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
+	export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
+}
+
+python_test() {
+	"${EPYTHON}" test3.py -vv || die "Testing failed with ${EPYTHON}"
+}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-03-05  0:07 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2022-03-05  0:07 UTC (permalink / raw
  To: gentoo-commits

commit:     442d39be96cb2eebfb12cded7b0d59c2a73a747b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  5 00:06:26 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 00:06:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=442d39be

dev-python/berkeleydb: Stabilize 18.1.5 ppc64, #834165

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

 dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
index dab1d630924f..982814713b33 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-03-06  7:36 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2022-03-06  7:36 UTC (permalink / raw
  To: gentoo-commits

commit:     4fa0dbe94786a83addca1fb2a753bdc39ac31418
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 07:36:14 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 07:36:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa0dbe9

dev-python/berkeleydb: Stabilize 18.1.5 arm64, #834165

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

 dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
index 982814713b33..9eeb3286b0e2 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-03-12  9:33 Arthur Zamarin
  0 siblings, 0 replies; 23+ messages in thread
From: Arthur Zamarin @ 2022-03-12  9:33 UTC (permalink / raw
  To: gentoo-commits

commit:     eb5f7bd0b43c54283328604664d6393a6b74e60b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 09:33:31 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 09:33:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5f7bd0

dev-python/berkeleydb: Stabilize 18.1.5 arm, #834165

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
index 9eeb3286b0e2..9c8e6b6acd04 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-03-12 10:35 Michał Górny
  0 siblings, 0 replies; 23+ messages in thread
From: Michał Górny @ 2022-03-12 10:35 UTC (permalink / raw
  To: gentoo-commits

commit:     3bb1154b350c514960c6b56f8f9562545699bb84
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 10:32:59 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 10:32:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bb1154b

dev-python/berkeleydb: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/berkeleydb/Manifest                 |  1 -
 dev-python/berkeleydb/berkeleydb-18.1.4.ebuild | 62 --------------------------
 2 files changed, 63 deletions(-)

diff --git a/dev-python/berkeleydb/Manifest b/dev-python/berkeleydb/Manifest
index 4807bdfcebfb..af28b42c39bd 100644
--- a/dev-python/berkeleydb/Manifest
+++ b/dev-python/berkeleydb/Manifest
@@ -1,2 +1 @@
-DIST berkeleydb-18.1.4.tar.xz 137160 BLAKE2B c93e7707bf12199c8161112accfedc3b0180b8f6edcf5c928c03f373528bb9ccb23219865344d9ed29d30b0133a2161ba0325257b6f7a2d22a58e8d9b1f82ce2 SHA512 bac2848e82ba5fdd3ca8fbf3a02d04faf270132f4b9fe93096ea57ab99fcc7eba02ff8a9638ea8e028d8bd4f16eebbefb65f33ea67e95c0a14cced05d04b23b8
 DIST berkeleydb-18.1.5.tar.xz 138488 BLAKE2B 1131509f30316469cfed30abdbd672ab73ef7dfc957e16935d04066b4a2efeb3c777ae4f70f821a29f4d8b8b51d649998735eb412639cc52997c9ee4a98c51db SHA512 c7a51e96cf32b74188b0cb4ed1d8b87436b30dc4929ba22180677ffb5eacd455a67eb5a231c814fc46ccc4c6a5da2f41876a343228969eab988bb0766d40a751

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
deleted file mode 100644
index 9c8e6b6acd04..000000000000
--- a/dev-python/berkeleydb/berkeleydb-18.1.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-DISTUTILS_IN_SOURCE_BUILD=1
-inherit db-use distutils-r1
-
-# Tests aren't included in PyPi tarballs, so just manually clone from upstream
-# at https://hg.jcea.es/pybsddb/ and prepare out tarball
-
-DESCRIPTION="Python bindings for Oracle Berkeley DB"
-HOMEPAGE="https://www.jcea.es/programacion/pybsddb.htm https://pypi.org/project/berkeleydb/"
-SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="
-	|| (
-		sys-libs/db:6.2
-		sys-libs/db:5.3
-		sys-libs/db:4.8
-	)"
-DEPEND="${RDEPEND}"
-
-python_prepare_all() {
-	# This list should be kept in sync with setup3.py.
-	if [[ -z ${DB_VER} ]]; then
-		for DB_VER in 6.2 5.3 4.8; do
-			has_version "sys-libs/db:${DB_VER}" && break
-		done
-	fi
-
-	# Force version.
-	sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \
-		-e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
-		-i setup3.py || die
-
-	# rename to bypass name conflict with builtin test module
-	mv test.py test3.py || die
-
-	# Adjust test3.py to look in build/lib.
-	sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" -i test3.py || die
-
-	distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-	# These are needed for both build and install.
-	export BERKELEYDB_DIR="${EPREFIX}/usr"
-	export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
-	export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-	export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
-}
-
-python_test() {
-	"${EPYTHON}" test3.py -vv || die "Testing failed with ${EPYTHON}"
-}


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-05-01  4:50 Sam James
  0 siblings, 0 replies; 23+ messages in thread
From: Sam James @ 2022-05-01  4:50 UTC (permalink / raw
  To: gentoo-commits

commit:     fdb70d5b0aa516f8bbbbd256e2c26ed313593745
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 20:35:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  1 04:50:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb70d5b

dev-python/berkeleydb: keyword 18.1.5 for ~ia64 (append needed flag too)

Big thanks to matoro for reporting this package working with -O1
compilation. This was tested on guppy.ia64.d.g.o and indeed it
passes tests now.

(sam: matoro has identified -foptimize-sibling-calls is the issue which
is implied by -O2).

Bug: https://bugs.gentoo.org/814179
Thanks-to: matoro <matoro <AT> airmail.cc>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
index 9c8e6b6acd04..e9c4a1c6fce3 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="threads(+)"
 DISTUTILS_IN_SOURCE_BUILD=1
-inherit db-use distutils-r1
+inherit db-use flag-o-matic distutils-r1
 
 # Tests aren't included in PyPi tarballs, so just manually clone from upstream
 # at https://hg.jcea.es/pybsddb/ and prepare out tarball
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (
@@ -55,6 +55,11 @@ python_configure_all() {
 	export BERKELEYDB_INCDIR="$(db_includedir ${DB_VER})"
 	export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
 	export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
+
+	if use ia64; then
+		# bug #814179
+		append-flags -fno-optimize-sibling-calls
+	fi
 }
 
 python_test() {


^ permalink raw reply related	[flat|nested] 23+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/
@ 2022-10-19 10:07 WANG Xuerui
  0 siblings, 0 replies; 23+ messages in thread
From: WANG Xuerui @ 2022-10-19 10:07 UTC (permalink / raw
  To: gentoo-commits

commit:     801901074da911ecf1f30aaa3b3e022e792891cf
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 09:09:20 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 10:06:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80190107

dev-python/berkeleydb: keyword 18.1.5 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 dev-python/berkeleydb/berkeleydb-18.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
index e9c4a1c6fce3..85d3bd79c80d 100644
--- a/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
+++ b/dev-python/berkeleydb/berkeleydb-18.1.5.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://dev.gentoo.org/~arthurzam/distfiles/dev-python/${PN}/${P}.tar.x
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
 	|| (


^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-10-19 10:07 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-10  0:05 [gentoo-commits] repo/gentoo:master commit in: dev-python/berkeleydb/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-10-19 10:07 WANG Xuerui
2022-05-01  4:50 Sam James
2022-03-12 10:35 Michał Górny
2022-03-12  9:33 Arthur Zamarin
2022-03-06  7:36 Sam James
2022-03-05  0:07 Sam James
2022-01-21 19:08 Arthur Zamarin
2022-01-10  6:08 Joshua Kinard
2021-11-01 15:46 Sam James
2021-10-31 18:03 Sam James
2021-10-27  4:13 Sam James
2021-10-26  3:14 Sam James
2021-10-24  4:51 Sam James
2021-10-24  4:50 Sam James
2021-10-24  4:50 Sam James
2021-10-24  1:15 Sam James
2021-10-10  2:20 Sam James
2021-10-10  0:09 Sam James
2021-10-04 22:58 Sam James
2021-09-22 18:03 Sam James
2021-09-22  2:34 Yixun Lan
2021-09-21 13:22 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox