summaryrefslogtreecommitdiff
path: root/sys-libs/ldb
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-27 18:53:03 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-27 18:53:03 +0000
commit3482ddf943eff7b8848f1fb31350b99ce349e86a (patch)
tree9c9bb6ec6679e9dc44a84d87ba611989409b12ca /sys-libs/ldb
parent8e8120eabdd28020aa69c7a60505cce2edd20adc (diff)
downloadbaldeagleos-repo-21.1.3.tar.gz
baldeagleos-repo-21.1.3.tar.xz
baldeagleos-repo-21.1.3.zip
Updating liguros repov21.1.3
Diffstat (limited to 'sys-libs/ldb')
-rw-r--r--sys-libs/ldb/ldb-2.2.0-r2.ebuild (renamed from sys-libs/ldb/ldb-2.2.0-r1.ebuild)41
1 files changed, 22 insertions, 19 deletions
diff --git a/sys-libs/ldb/ldb-2.2.0-r1.ebuild b/sys-libs/ldb/ldb-2.2.0-r2.ebuild
index cd7197d1e7af..71a45f8ee0d2 100644
--- a/sys-libs/ldb/ldb-2.2.0-r1.ebuild
+++ b/sys-libs/ldb/ldb-2.2.0-r2.ebuild
@@ -1,46 +1,49 @@
# 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,8,9,10} )
PYTHON_REQ_USE="threads(+)"
+inherit python-single-r1 waf-utils multilib-minimal
-inherit python-single-r1 waf-utils multilib-minimal eutils
-
-DESCRIPTION="An LDAP-like embedded database"
+DESCRIPTION="LDAP-like embedded database"
HOMEPAGE="https://ldb.samba.org"
-SRC_URI="https://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
+SRC_URI="https://samba.org/ftp/pub/${PN}/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="doc +ldap +lmdb python test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ test? ( python )"
+
RESTRICT="!test? ( test )"
RDEPEND="
!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
dev-libs/popt[${MULTILIB_USEDEP}]
>=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}]
- >=sys-libs/talloc-2.3.1[python?,${MULTILIB_USEDEP}]
- >=sys-libs/tdb-1.4.3[python?,${MULTILIB_USEDEP}]
- >=sys-libs/tevent-0.10.2[python(+)?,${MULTILIB_USEDEP}]
+ >=sys-libs/talloc-2.3.1[${MULTILIB_USEDEP}]
+ >=sys-libs/tdb-1.4.3[${MULTILIB_USEDEP}]
+ >=sys-libs/tevent-0.10.2[${MULTILIB_USEDEP}]
ldap? ( net-nds/openldap )
lmdb? ( >=dev-db/lmdb-0.9.16[${MULTILIB_USEDEP}] )
- python? ( ${PYTHON_DEPS} )
+ python? (
+ ${PYTHON_DEPS}
+ sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}]
+ sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}]
+ sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}]
+ )
"
-
-DEPEND="dev-libs/libxslt
- doc? ( app-doc/doxygen )
+DEPEND="${RDEPEND}"
+BDEPEND="${PYTHON_DEPS}
+ dev-libs/libxslt
virtual/pkgconfig
- ${PYTHON_DEPS}
- ${RDEPEND}
+ doc? ( app-doc/doxygen )
"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- test? ( python )"
-
WAF_BINARY="${S}/buildtools/bin/waf"
MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
@@ -100,7 +103,7 @@ multilib_src_install() {
if multilib_is_native_abi && use doc; then
doman apidocs/man/man3/*.3
docinto html
- dodoc -r apidocs/html/*
+ dodoc -r apidocs/html/.
fi
use python && python_optimize #726454