From 9e0d201f2f7db2ca8f3d8f0e378da137e266d7fb Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 30 Nov 2021 18:05:13 +0100 Subject: [PATCH] sys-libs/tdb: Sync with gentoo It's from gentoo commit 1aceb8a869524d1d4519b8119099dd9e93edc5f3. --- .../portage-stable/sys-libs/tdb/Manifest | 2 +- .../portage-stable/sys-libs/tdb/metadata.xml | 8 ++---- .../{tdb-1.4.3.ebuild => tdb-1.4.5.ebuild} | 28 +++++++++---------- 3 files changed, 16 insertions(+), 22 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-libs/tdb/{tdb-1.4.3.ebuild => tdb-1.4.5.ebuild} (68%) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/Manifest index 258c1460e7..29a2d9316c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/Manifest @@ -1 +1 @@ -DIST tdb-1.4.3.tar.gz 702836 BLAKE2B 6593c3be527b383a7e8fd85b3613cf2429f6b665a7c609a56f57a6f5b41a080c1a681d712afd423c2bc1c741e06d7cd2c90949d9c5bf78ca834b18c64e23d51c SHA512 99488839e7da396f04df60412d21a7d3e09efeab52772d6cb5e9470a3dfd585d73ef2422c51cd0d8ccc123a65d455de400d5d6b24a21a2a50d3da60d9a70e67a +DIST tdb-1.4.5.tar.gz 729650 BLAKE2B 5d8a226cf251268d70f68759fb792628559fa3b10e7843d1a53914ea24f0ceca61fe0c3f348d704ebc8df4c56fe2365690b585b1c96cf53d63ecae1960aca58a SHA512 373b2ce5b2c68fbc28b7679f0e7531115b91ddc6a68b27acada39b995f66b508b19f24d712fc4388654199abd69857e53ebd435d1ed47e3a69ba85ff667fed56 diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/metadata.xml index f0c4a5fed2..c05a3de2dc 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/metadata.xml @@ -1,11 +1,7 @@ - + - - patrick@gentoo.org - Patrick Lauer - - + samba@gentoo.org Samba diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.5.ebuild similarity index 68% rename from sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.3.ebuild rename to sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.5.ebuild index b6a40c88ad..2e3e41f8db 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.5.ebuild @@ -1,35 +1,33 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="threads(+)" - inherit waf-utils multilib-minimal python-single-r1 -DESCRIPTION="A simple database API" +DESCRIPTION="Simple database API" HOMEPAGE="https://tdb.samba.org/" SRC_URI="https://samba.org/ftp/tdb/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) +RDEPEND=" + !elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] ) python? ( ${PYTHON_DEPS} )" -DEPEND=" - ${RDEPEND} - ${PYTHON_DEPS} +DEPEND="${RDEPEND} + virtual/libcrypt" +BDEPEND="${PYTHON_DEPS} app-text/docbook-xml-dtd:4.2" WAF_BINARY="${S}/buildtools/bin/waf" -RESTRICT="test" - src_prepare() { default python_fix_shebang . @@ -38,7 +36,7 @@ src_prepare() { multilib_src_configure() { local extra_opts=() - if ! multilib_is_native_abi || ! use python; then + if ! multilib_is_native_abi || ! use python ; then extra_opts+=( --disable-python ) fi