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/tdb/
Date: Fri, 29 Jul 2016 12:18:20
Message-Id: 1469794663.39ecc4ecbb841d9c2d1025f67e7008e3e36e4cba.polynomial-c@gentoo
1 commit: 39ecc4ecbb841d9c2d1025f67e7008e3e36e4cba
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 29 09:27:56 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 29 12:17:43 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ecc4ec
7
8 sys-libs/tdb: Bump to version 1.3.10
9
10 Package-Manager: portage-2.3.0
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/tdb/Manifest | 1 +
14 sys-libs/tdb/tdb-1.3.10.ebuild | 61 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/sys-libs/tdb/Manifest b/sys-libs/tdb/Manifest
18 index cc781f3..ee4a1f0 100644
19 --- a/sys-libs/tdb/Manifest
20 +++ b/sys-libs/tdb/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST tdb-1.3.10.tar.gz 494907 SHA256 5578fb726bd04835f250bea11fe7d1398fe0bb3a7c9390404241c83cd6b50c1c SHA512 044b0155db7755f271a040d36799a9482ba23fe9685ea7e80dcb4ac70c5aaa0f72ad7cd0c540e5d68e3d8339f795059ae4e0fbf938ad3cb4a73d8b35f25ac206 WHIRLPOOL 45122ba9364b49fe95ad2aadd9d063113a1e18e62b068d9c78c42406679a4c84db451ed4ddc61aa7fd60c2813e2ef712f5df1ef5bcb91567fe8f78bbe9b7191e
23 DIST tdb-1.3.8.tar.gz 494106 SHA256 0605ac0427eac9c23bf61ebfd8206a07d5ece198498eab1769cd0cfb6e7de6b1 SHA512 9a7040206bbaae419a296714fe14fcbd3b67c0cef2b0f33563d52336aac2fe814049f5136a148fb049a273bb36fe81e3d777df58869c93f45d6e42b4adf9970b WHIRLPOOL 61070a71aba9b44d5141844ffac6b4657ddc938850934fe00ff7312d9f76e1c318e37764b60fbac255ff5b8dc8d8226f668f80315fccdc67550eeb9bd1c4bc25
24 DIST tdb-1.3.9.tar.gz 493585 SHA256 7101f726e6d5c70f14e577b01c133e2e6059c4455239115e56a12ba64fc084d2 SHA512 ee724e54d6eef51cb368bccbf41a1ab326f3b618e8366d8b43b91953a30e4c486842cd7f41b83f613becb1e4117ce4831b1065d6efdcf14bb96b545ef1dd8175 WHIRLPOOL eb27d028b0f09c66e6e64783cd9bbf44d238bf70816879455ae59d268df7dd07ae0f9f4b634ac78224ca9b6b867e711b13cdb9aa75cfb6a2154d447def761d17
25
26 diff --git a/sys-libs/tdb/tdb-1.3.10.ebuild b/sys-libs/tdb/tdb-1.3.10.ebuild
27 new file mode 100644
28 index 0000000..6f54a5a
29 --- /dev/null
30 +++ b/sys-libs/tdb/tdb-1.3.10.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +PYTHON_REQ_USE="threads"
40 +
41 +inherit waf-utils multilib-minimal python-single-r1
42 +
43 +DESCRIPTION="A simple database API"
44 +HOMEPAGE="http://tdb.samba.org/"
45 +SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
50 +IUSE="python"
51 +
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
54 +RDEPEND="python? ( ${PYTHON_DEPS} )"
55 +DEPEND="
56 + ${RDEPEND}
57 + ${PYTHON_DEPS}
58 + app-text/docbook-xml-dtd:4.2"
59 +
60 +WAF_BINARY="${S}/buildtools/bin/waf"
61 +
62 +src_prepare() {
63 + default
64 + python_fix_shebang .
65 + multilib_copy_sources
66 +}
67 +
68 +multilib_src_configure() {
69 + local extra_opts=()
70 + if ! multilib_is_native_abi || ! use python; then
71 + extra_opts+=( --disable-python )
72 + fi
73 +
74 + waf-utils_src_configure \
75 + "${extra_opts[@]}"
76 +}
77 +
78 +multilib_src_compile() {
79 + # need to avoid parallel building, this looks like the sanest way with waf-utils/multiprocessing eclasses
80 + unset MAKEOPTS
81 + waf-utils_src_compile
82 +}
83 +
84 +multilib_src_test() {
85 + # the default src_test runs 'make test' and 'make check', letting
86 + # the tests fail occasionally (reason: unknown)
87 + emake check
88 +}
89 +
90 +multilib_src_install() {
91 + waf-utils_src_install
92 +}