Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ldb/
Date: Fri, 29 Jul 2016 12:18:27
Message-Id: 1469794676.c2ae856fcf36d165090ccf8ac35f1298493a0f21.polynomial-c@gentoo
1 commit: c2ae856fcf36d165090ccf8ac35f1298493a0f21
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 29 09:55:53 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 29 12:17:56 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ae856f
7
8 sys-libs/ldb: Bump to version 1.1.27
9
10 Package-Manager: portage-2.3.0
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/ldb/Manifest | 1 +
14 sys-libs/ldb/ldb-1.1.27.ebuild | 98 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 99 insertions(+)
16
17 diff --git a/sys-libs/ldb/Manifest b/sys-libs/ldb/Manifest
18 index 7bb8332..9dd3d89 100644
19 --- a/sys-libs/ldb/Manifest
20 +++ b/sys-libs/ldb/Manifest
21 @@ -1,3 +1,4 @@
22 DIST ldb-1.1.24.tar.gz 1258405 SHA256 45e9f52473f0d013f0ea090cce35d6836a6e67e8d4dcdd7077dabdf8b1314b21 SHA512 7b574d1a832fb19a4e8506a1bd702fddf3610b94e170999c9d7b5f3047a4667fb701fa0d367fd19febc2b3e70d1325a1944081ce1067d88271e70f8370aeb278 WHIRLPOOL c8a4e140533bbe1388988b413bdb0a3b6806aa28b551ab195ec509acc66581a75bd6f4729dc7c009f5fae80c45a2a36f817c9a1bd6476bf8125ab8b2216b9f79
23 DIST ldb-1.1.25.tar.gz 1259961 SHA256 bf74783ecee42408250146e384a918176178318ef398f816a64d1c1ad22b7c12 SHA512 b0b264a7c4e1d2c13a15f604a7ff8038fa47868c0275c0515bcc15a03a1087cf930572614fe36b0cfce67258bfe4261a9d5a2638143e5d454538fed85159d4dd WHIRLPOOL 5a7ac99ce252c9d1be23a520180dd4e37784585d9fe5e1b8a666a4dc79cff3f35e258f5bffd1e8e286eee239ff848788b431f763c63e26709f98a29ebc93d677
24 DIST ldb-1.1.26.tar.gz 1262660 SHA256 8843c7a72b980d9413ba6c494c039bccd10c524b37fda2917afb147745d8b2e6 SHA512 484689c5b87f223820e3613c056de5528a87736baef7b884df506fc47a3412b35ba2ef8e85f62e2d3da803fdab6b37bb328d4347a20bfc8fef8ed557646b6bbe WHIRLPOOL eb72c85faaf4aaf5fa647c084f9ceb8938e940390618b1dfc486b6bc8f344d1296314cb4f07770a04de3c6597798420347fdb90ede380db9e29a04a35c88bfcb
25 +DIST ldb-1.1.27.tar.gz 1270356 SHA256 cdb8269cba09006ddf3766eb7721192b52ae3fdc8a6b95f4318b6b740b9d35ac SHA512 7c68425252964c7563a0c7da77687afed07c5a30f472f86d270372ac613c9f73776acbe1e9609fe9c5b3d1e560ac9e7c28076133d5c1cfa4637bdd114f955ce5 WHIRLPOOL 3cb04691ac9cda5ce0cb3c404446b3775161d8304dba38c3b7194b1195976805a453fe995eb0d9653c7578c3717c55b012fb4373693c62f240d35a34dc6d2a42
26
27 diff --git a/sys-libs/ldb/ldb-1.1.27.ebuild b/sys-libs/ldb/ldb-1.1.27.ebuild
28 new file mode 100644
29 index 0000000..e9a49b4
30 --- /dev/null
31 +++ b/sys-libs/ldb/ldb-1.1.27.ebuild
32 @@ -0,0 +1,98 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +PYTHON_COMPAT=( python2_7 )
39 +PYTHON_REQ_USE="threads"
40 +
41 +inherit python-single-r1 waf-utils multilib-minimal eutils
42 +
43 +DESCRIPTION="An LDAP-like embedded database"
44 +HOMEPAGE="http://ldb.samba.org"
45 +SRC_URI="http://www.samba.org/ftp/pub/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="LGPL-3"
48 +SLOT="0/${PV}"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
50 +IUSE="doc"
51 +
52 +RDEPEND="!elibc_FreeBSD? ( dev-libs/libbsd[${MULTILIB_USEDEP}] )
53 + dev-libs/popt[${MULTILIB_USEDEP}]
54 + >=sys-libs/talloc-2.1.5[python,${MULTILIB_USEDEP}]
55 + >=sys-libs/tevent-0.9.27[python(+),${MULTILIB_USEDEP}]
56 + >=sys-libs/tdb-1.3.8[python,${MULTILIB_USEDEP}]
57 + net-nds/openldap
58 + !!<net-fs/samba-3.6.0[ldb]
59 + !!>=net-fs/samba-4.0.0[ldb]
60 + ${PYTHON_DEPS}
61 + "
62 +
63 +DEPEND="dev-libs/libxslt
64 + doc? ( app-doc/doxygen )
65 + virtual/pkgconfig
66 + ${RDEPEND}"
67 +
68 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
69 +
70 +WAF_BINARY="${S}/buildtools/bin/waf"
71 +
72 +MULTILIB_WRAPPED_HEADERS=( /usr/include/pyldb.h )
73 +
74 +PATCHES=(
75 + "${FILESDIR}"/${PN}-1.1.24-optional-python.patch
76 +)
77 +
78 +pkg_setup() {
79 + python-single-r1_pkg_setup
80 +}
81 +
82 +src_prepare() {
83 + default
84 + multilib_copy_sources
85 +}
86 +
87 +multilib_src_configure() {
88 + local myconf=(
89 + --disable-rpath \
90 + --disable-rpath-install --bundled-libraries=NONE \
91 + --with-modulesdir="${EPREFIX}"/usr/$(get_libdir)/samba \
92 + --builtin-libraries=NONE
93 + )
94 + if ! multilib_is_native_abi; then
95 + myconf+=( --disable-python )
96 + fi
97 + waf-utils_src_configure "${myconf[@]}"
98 +}
99 +
100 +multilib_src_compile(){
101 + waf-utils_src_compile
102 + multilib_is_native_abi && use doc && doxygen Doxyfile
103 +}
104 +
105 +multilib_src_test() {
106 + if multilib_is_native_abi; then
107 + WAF_MAKE=1 \
108 + PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${BUILD_DIR}"/bin/shared/private/ \
109 + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"${BUILD_DIR}"/bin/shared/private/:"${BUILD_DIR}"/bin/shared \
110 + waf test || die
111 + fi
112 +}
113 +
114 +multilib_src_install() {
115 + waf-utils_src_install
116 +
117 + if multilib_is_native_abi && use doc; then
118 + doman apidocs/man/man3/*.3
119 + docinto html
120 + dodoc -r apidocs/html/*
121 + fi
122 +}
123 +
124 +pkg_postinst() {
125 + if has_version sys-auth/sssd; then
126 + ewarn "You have sssd installed. It is known to break after ldb upgrades,"
127 + ewarn "so please try to rebuild it before reporting bugs."
128 + ewarn "See https://bugs.gentoo.org/404281"
129 + fi
130 +}