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: Fri, 13 Jul 2018 14:14:07
Message-Id: 1531491218.7ca34a7df77e73e333962aa40d74e6e10030d788.polynomial-c@gentoo
1 commit: 7ca34a7df77e73e333962aa40d74e6e10030d788
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 13 13:34:14 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 13 14:13:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca34a7d
7
8 sys-libs/talloc: Bump to version 2.1.14
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 sys-libs/talloc/Manifest | 1 +
13 sys-libs/talloc/talloc-2.1.14.ebuild | 88 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 89 insertions(+)
15
16 diff --git a/sys-libs/talloc/Manifest b/sys-libs/talloc/Manifest
17 index 715fa0cc3ba..1b0e274a961 100644
18 --- a/sys-libs/talloc/Manifest
19 +++ b/sys-libs/talloc/Manifest
20 @@ -1,5 +1,6 @@
21 DIST talloc-2.1.10.tar.gz 441645 BLAKE2B fdc1f6b4ab6c95b461652ac5138e8f4e0db7161792b4cd7af8d80178b99404f844dd8352fb8820dcaedd0d96251025a8ebefc6bd1cff451e6bdf559617c964e3 SHA512 215e70056f37ade8f67c20ab2b79dcb40f071989ec908de81144f8a0160637bbdec9a94123dea73475ba42425415df4c1eb8c1986485a00e2e03323719a03ce3
22 DIST talloc-2.1.11.tar.gz 443320 BLAKE2B 6234808d3a37dd1b9cd29121c20e003637da460d652769f9e85356b66aee285f3706377de4f507adfaaf91243a452a27bdab2377749d43937e140c3f8c69c417 SHA512 e0c7e44f21b0b6510e04e09ce325d50323a0c6466acb6f301676e82f8812c61ed7f6faadac62380aa6338d54679fdf7afba7fb9ac774d0def96efbcf49d00523
23 DIST talloc-2.1.13.tar.gz 444608 BLAKE2B ac905d984e9ec438e8d7af473b37d7ccf8e4cf98d96b5a3b621f6c8203e7f5cd4d656602ac1fdfd22e0cab5853a8b54398c0c2ab4202517c4de73c5c90106d63 SHA512 003588fbcde340096b069ed4de0dc6c3e6a489b72abec83e9d3dedf40571a1bf07232d410cc86d8ca505ee49f7483a0043360e913de69106493346fae16a0e2b
24 +DIST talloc-2.1.14.tar.gz 444589 BLAKE2B 3e47126eb41dc08befd22d7d41443dc5502d0bed239fa0fd32d63fe5374b4422165a7b364a8ad4a9f6e2d73b2db1dd4bada6aec3271c7b264f148d32974adcff SHA512 1fcc70bf283a4d9fb61faf1c57f80a9c158efbe996452740db9755e879ad72ee7bff6f6c9bed358e085c5c7f97c78800bb903161143af2202952b702141cc130
25 DIST talloc-2.1.5.tar.gz 436193 BLAKE2B 88a9ca32b6c6ae869e1761cb027847797e4ef3bb58dc618bae4b00f95637a0a8511f8704fa03ca1ca935127413a10d5297ba3843f0ea6992a97ce586f66cb705 SHA512 b938d67fcf4c6618f1149b4ec665957a604e3b07ee26e96ed36d94312db8f56b50498f69f9a07782f7f10a25047604e32b0d1786e1051d5f36b696c2755f8741
26 DIST talloc-2.1.9.tar.gz 440335 BLAKE2B dde37d99b3cfb63209cdb832444f0416b7c05151cec537e220e13b1148d59b89fb712b4211e078b23f1c6608c8be6df6055d5f394b091ccdea3966c04cbb73be SHA512 a8f051bb15aba769ca286acad0946605d0053b0d149b4da2e6ecc333345f3e603d13a7f062452ae0f165615a4170ebdd7f41fc1b46c7a360000d5308bc304cbb
27
28 diff --git a/sys-libs/talloc/talloc-2.1.14.ebuild b/sys-libs/talloc/talloc-2.1.14.ebuild
29 new file mode 100644
30 index 00000000000..65fd07167cb
31 --- /dev/null
32 +++ b/sys-libs/talloc/talloc-2.1.14.ebuild
33 @@ -0,0 +1,88 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
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="https://talloc.samba.org/"
46 +SRC_URI="https://www.samba.org/ftp/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="GPL-3 LGPL-3+ LGPL-2"
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 ~x64-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 +DEPEND="${RDEPEND}
58 + sys-devel/gettext
59 + dev-libs/libxslt
60 + ${PYTHON_DEPS}"
61 +
62 +WAF_BINARY="${S}/buildtools/bin/waf"
63 +
64 +RESTRICT="test"
65 +
66 +MULTILIB_WRAPPED_HEADERS=(
67 + # python goes only for native
68 + /usr/include/pytalloc.h
69 +)
70 +
71 +pkg_setup() {
72 + # try to turn off distcc and ccache for people that have a problem with it
73 + export DISTCC_DISABLE=1
74 + export CCACHE_DISABLE=1
75 +
76 + python-single-r1_pkg_setup
77 +}
78 +
79 +src_prepare() {
80 + default
81 +
82 + # what would you expect of waf? i won't even waste time trying.
83 + multilib_copy_sources
84 +}
85 +
86 +multilib_src_configure() {
87 + local extra_opts=(
88 + $(usex compat --enable-talloc-compat1 '')
89 + $(multilib_native_usex python '' --disable-python)
90 + )
91 + waf-utils_src_configure "${extra_opts[@]}"
92 +}
93 +
94 +multilib_src_compile() {
95 + waf-utils_src_compile
96 +}
97 +
98 +multilib_src_install() {
99 + waf-utils_src_install
100 +
101 + # waf is stupid, and no, we can't fix the build-system, since it's provided
102 + # as a brilliant binary blob thats decompressed on the fly
103 + if [[ ${CHOST} == *-darwin* ]] ; then
104 + install_name_tool \
105 + -id "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
106 + "${ED}"/usr/$(get_libdir)/libtalloc.2.0.5.dylib || die
107 + if use python ; then
108 + install_name_tool \
109 + -id "${EPREFIX}"/usr/$(get_libdir)/libpytalloc-util.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 + "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
115 + install_name_tool \
116 + -change "${S}/bin/default/libtalloc.dylib" \
117 + "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
118 + "${D}"$(python_get_sitedir)/talloc.bundle || die
119 + fi
120 + fi
121 +}