1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_7 )
8 PYTHON_REQ_USE="threads(+)"
10 inherit waf-utils multilib-minimal python-single-r1
12 DESCRIPTION="A not-so trivial keyword/data database system"
13 HOMEPAGE="http://tdb.samba.org/"
14 SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
18 KEYWORDS="amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
21 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
23 RDEPEND="python? ( ${PYTHON_DEPS} )"
24 DEPEND="!<net-fs/samba-4.1.7
27 app-text/docbook-xml-dtd:4.2"
29 WAF_BINARY="${S}/buildtools/bin/waf"
35 multilib_src_configure() {
37 if ! multilib_is_native_abi || ! use python; then
38 extra_opts+=( --disable-python )
41 waf-utils_src_configure \
46 # the default src_test runs 'make test' and 'make check', letting
47 # the tests fail occasionally (reason: unknown)
51 multilib_src_install() {