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/talloc/
Date: Mon, 23 Nov 2015 11:03:00
Message-Id: 1448276541.6b574f74caddda7be349d4f2ed4fd76b0e774605.polynomial-c@gentoo
1 commit: 6b574f74caddda7be349d4f2ed4fd76b0e774605
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 23 10:27:46 2015 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 23 11:02:21 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b574f74
7
8 sys-libs/talloc: Bump to version 2.1.5
9
10 Package-Manager: portage-2.2.25
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/talloc/Manifest | 1 +
14 sys-libs/talloc/talloc-2.1.5.ebuild | 85 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 86 insertions(+)
16
17 diff --git a/sys-libs/talloc/Manifest b/sys-libs/talloc/Manifest
18 index bdcddda..199ab34 100644
19 --- a/sys-libs/talloc/Manifest
20 +++ b/sys-libs/talloc/Manifest
21 @@ -1,3 +1,4 @@
22 DIST talloc-2.1.0.tar.gz 416097 SHA256 0701393882647f823503e3aa075bc67d75c194b376822377dae2d20f9130f08f SHA512 7bdc448c91211299edf16502d263362ac660d5123d8ea7bb2ed58af2231537e4f29da5384b8d5be10254a02b193520890e95a73d697c40eba09728a9b6d56d57 WHIRLPOOL d8593cba27f5d971acb39acacdbea70df5b80ed31288cf440a2ebeaca266e070deeea8322f4ba5682580f66044128f18dd6d76b735aa0670aed46f13f5a4e857
23 DIST talloc-2.1.3.tar.gz 434093 SHA256 7aa5f75b22d4ef9c737b25515f2a2837ddc13014ff4ac6e58dd9e311f41f2cb0 SHA512 4ec350ab5d7e53c8ae816a3d722b10cce75552f1b3d6a31cc7aae13d6c5722d39a126702c8ebb4fa2f6b7908a6501e916e341e2b660080a6c8d22f70171862f6 WHIRLPOOL 143b733e4694b02b2c6319d1ee7017a54c0a60af5202ad764247aada0ada7a6fc95bcf08992dac4ae1396ed45106ad1102f09eece8b0f0304d32d965655c7c86
24 DIST talloc-2.1.4.tar.gz 436552 SHA256 aea04697a28d809054fb59c4c0b94912757037981dedbec1be47d09fe10749b3 SHA512 723f5b78f91ca873c8f79aee714428dfc3cfabbb65ac1eff3364d5ac6ded7fe5fc03d78dfc3b6c329d37e277e431a75b634f3c30485b33704a6d25f56379ad8f WHIRLPOOL 6bdef24de13d207c4b8f1ee9a2a5f4586d8aa4c3e97e3d6d746bfe69c865257b2a18b4598abc5189b3eb2e89e4e2ad0f328dd69f187b52cdffb3f82214eb8466
25 +DIST talloc-2.1.5.tar.gz 436193 SHA256 3833e750cf0b8c3439186cba38800cba9e26adfbce10ee98ba709c24eb1cdddd SHA512 b938d67fcf4c6618f1149b4ec665957a604e3b07ee26e96ed36d94312db8f56b50498f69f9a07782f7f10a25047604e32b0d1786e1051d5f36b696c2755f8741 WHIRLPOOL 4cbdd527fb1adfe09052b93b38227f6e01f8aa86920aa093b7aa9a0ca63ad03f1ddcc148c996c487c55b1ba6e681b185d1df0311ed388ef9a8e6ab35c4b111ab
26
27 diff --git a/sys-libs/talloc/talloc-2.1.5.ebuild b/sys-libs/talloc/talloc-2.1.5.ebuild
28 new file mode 100644
29 index 0000000..6efd84b
30 --- /dev/null
31 +++ b/sys-libs/talloc/talloc-2.1.5.ebuild
32 @@ -0,0 +1,85 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +PYTHON_COMPAT=( python2_7 )
40 +PYTHON_REQ_USE="threads"
41 +
42 +inherit waf-utils python-single-r1 multilib multilib-minimal
43 +
44 +DESCRIPTION="Samba talloc library"
45 +HOMEPAGE="http://talloc.samba.org/"
46 +SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="GPL-3 LGPL-3+ LGPL-2 BSD"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~sparc-solaris"
51 +IUSE="compat +python"
52 +
53 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
54 +
55 +RDEPEND="python? ( ${PYTHON_DEPS} )
56 + !!<sys-libs/talloc-2.0.5
57 + abi_x86_32? (
58 + !<=app-emulation/emul-linux-x86-baselibs-20140508-r1
59 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
60 + )"
61 +DEPEND="${RDEPEND}
62 + sys-devel/gettext
63 + dev-libs/libxslt
64 + ${PYTHON_DEPS}"
65 +
66 +WAF_BINARY="${S}/buildtools/bin/waf"
67 +
68 +MULTILIB_WRAPPED_HEADERS=(
69 + # python goes only for native
70 + /usr/include/pytalloc.h
71 +)
72 +
73 +src_prepare() {
74 + # what would you expect of waf? i won't even waste time trying.
75 + multilib_copy_sources
76 +}
77 +
78 +multilib_src_configure() {
79 + local extra_opts=()
80 +
81 + use compat && extra_opts+=( --enable-talloc-compat1 )
82 + if ! multilib_is_native_abi || ! use python; then
83 + extra_opts+=( --disable-python )
84 + fi
85 +
86 + waf-utils_src_configure \
87 + "${extra_opts[@]}"
88 +}
89 +
90 +multilib_src_compile() {
91 + waf-utils_src_compile
92 +}
93 +
94 +multilib_src_install() {
95 + waf-utils_src_install
96 +
97 + # waf is stupid, and no, we can't fix the build-system, since it's provided
98 + # as a brilliant binary blob thats decompressed on the fly
99 + if [[ ${CHOST} == *-darwin* ]] ; then
100 + install_name_tool \
101 + -id "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
102 + "${ED}"/usr/$(get_libdir)/libtalloc.2.0.5.dylib || die
103 + if use python ; then
104 + install_name_tool \
105 + -id "${EPREFIX}"/usr/$(get_libdir)/libpytalloc-util.2.dylib \
106 + "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
107 + install_name_tool \
108 + -change "${S}/bin/default/libtalloc.dylib" \
109 + "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
110 + "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
111 + install_name_tool \
112 + -change "${S}/bin/default/libtalloc.dylib" \
113 + "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
114 + "${D}"$(python_get_sitedir)/talloc.bundle || die
115 + fi
116 + fi
117 +}