commit:     b5e704d156f1ff9962e9c93685d1ff9b40164c63
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 26 10:27:36 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 26 10:30:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5e704d1

net-nds/nsscache: hide bsddb3 usage behind USE=berkdb

We're looking at deprecating sys-libs/db usage where possible.

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

 net-nds/nsscache/nsscache-0.39.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-nds/nsscache/nsscache-0.39.ebuild 
b/net-nds/nsscache/nsscache-0.39.ebuild
index 10bc2e80945..1b85909b423 100644
--- a/net-nds/nsscache/nsscache-0.39.ebuild
+++ b/net-nds/nsscache/nsscache-0.39.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,13 +17,13 @@ SRC_URI="
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="nsscache s3"
+IUSE="berkdb nsscache s3"
 RESTRICT="test" # requires network
 
 DEPEND="
        dev-python/ldap3[${PYTHON_USEDEP}]
        dev-python/pycurl[${PYTHON_USEDEP}]
-       dev-python/bsddb3[${PYTHON_USEDEP}]
+       berkdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )
        s3? ( dev-python/boto3[${PYTHON_USEDEP}] )"
 RDEPEND="${DEPEND}
        nsscache? ( >=sys-auth/libnss-cache-0.10 )"

Reply via email to