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: Thu, 28 Feb 2019 11:51:09
Message-Id: 1551354654.930795968e946440b812bca31d11fa82518bf8c3.polynomial-c@gentoo
1 commit: 930795968e946440b812bca31d11fa82518bf8c3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 28 11:15:51 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 11:50:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93079596
7
8 sys-libs/talloc: Bump to version 2.1.16
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
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.16.ebuild | 89 ++++++++++++++++++++++++++++++++++++
15 2 files changed, 90 insertions(+)
16
17 diff --git a/sys-libs/talloc/Manifest b/sys-libs/talloc/Manifest
18 index 2864b89b698..835cd3b7f4e 100644
19 --- a/sys-libs/talloc/Manifest
20 +++ b/sys-libs/talloc/Manifest
21 @@ -1,5 +1,6 @@
22 DIST talloc-2.1.13.tar.gz 444608 BLAKE2B ac905d984e9ec438e8d7af473b37d7ccf8e4cf98d96b5a3b621f6c8203e7f5cd4d656602ac1fdfd22e0cab5853a8b54398c0c2ab4202517c4de73c5c90106d63 SHA512 003588fbcde340096b069ed4de0dc6c3e6a489b72abec83e9d3dedf40571a1bf07232d410cc86d8ca505ee49f7483a0043360e913de69106493346fae16a0e2b
23 DIST talloc-2.1.14.tar.gz 444589 BLAKE2B 3e47126eb41dc08befd22d7d41443dc5502d0bed239fa0fd32d63fe5374b4422165a7b364a8ad4a9f6e2d73b2db1dd4bada6aec3271c7b264f148d32974adcff SHA512 1fcc70bf283a4d9fb61faf1c57f80a9c158efbe996452740db9755e879ad72ee7bff6f6c9bed358e085c5c7f97c78800bb903161143af2202952b702141cc130
24 DIST talloc-2.1.15.tar.gz 634092 BLAKE2B e7dfad56e0f6325f50a025e4c92bb1d3d2b1d93897ebef59103c3ca40065c2724a47bb2d1104238b368870d2a944aacabb5f686f20e55134fa83dd68b2e27f6f SHA512 41896f8877e9a52e70b9881c41667dc52d7c1b03c3b248020fd909b794a4c5a4addee3eb944aa80ecfa3b03e6e5e1f67a62b5f3a5dcdc412b3e975352057ff40
25 +DIST talloc-2.1.16.tar.gz 634906 BLAKE2B 5f9f2e5ad53944d9a7b5bdb990aa6ab65a3f0d90cd9e368c16b11192e90fdecc873d59618dbf3e15896ecf7bbbbb2deaac91df6e231ad6b22b8e7c14bd382956 SHA512 a1affe4ad2a4cf19d4494017e0e6e37cdf9f8e6a98839c9e4e5c02758a7da7ea0040518de9b26707a60eb0a0eab29f939c6823e5840096dc124d351993e05c74
26 DIST talloc-2.1.5.tar.gz 436193 BLAKE2B 88a9ca32b6c6ae869e1761cb027847797e4ef3bb58dc618bae4b00f95637a0a8511f8704fa03ca1ca935127413a10d5297ba3843f0ea6992a97ce586f66cb705 SHA512 b938d67fcf4c6618f1149b4ec665957a604e3b07ee26e96ed36d94312db8f56b50498f69f9a07782f7f10a25047604e32b0d1786e1051d5f36b696c2755f8741
27 DIST talloc-2.1.9.tar.gz 440335 BLAKE2B dde37d99b3cfb63209cdb832444f0416b7c05151cec537e220e13b1148d59b89fb712b4211e078b23f1c6608c8be6df6055d5f394b091ccdea3966c04cbb73be SHA512 a8f051bb15aba769ca286acad0946605d0053b0d149b4da2e6ecc333345f3e603d13a7f062452ae0f165615a4170ebdd7f41fc1b46c7a360000d5308bc304cbb
28
29 diff --git a/sys-libs/talloc/talloc-2.1.16.ebuild b/sys-libs/talloc/talloc-2.1.16.ebuild
30 new file mode 100644
31 index 00000000000..65a8c5b61c9
32 --- /dev/null
33 +++ b/sys-libs/talloc/talloc-2.1.16.ebuild
34 @@ -0,0 +1,89 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +PYTHON_COMPAT=( python3_{4,5,6,7} )
41 +PYTHON_REQ_USE="threads(+)"
42 +
43 +inherit waf-utils python-single-r1 multilib multilib-minimal
44 +
45 +DESCRIPTION="Samba talloc library"
46 +HOMEPAGE="https://talloc.samba.org/"
47 +SRC_URI="https://www.samba.org/ftp/${PN}/${P}.tar.gz"
48 +
49 +LICENSE="GPL-3 LGPL-3+ LGPL-2"
50 +SLOT="0"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris"
52 +IUSE="compat +python"
53 +
54 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 +
56 +RDEPEND="python? ( ${PYTHON_DEPS} )
57 + !!<sys-libs/talloc-2.0.5"
58 +DEPEND="${RDEPEND}
59 + sys-devel/gettext
60 + dev-libs/libxslt
61 + ${PYTHON_DEPS}"
62 +
63 +WAF_BINARY="${S}/buildtools/bin/waf"
64 +
65 +RESTRICT="test"
66 +
67 +MULTILIB_WRAPPED_HEADERS=(
68 + # python goes only for native
69 + /usr/include/pytalloc.h
70 +)
71 +
72 +pkg_setup() {
73 + # try to turn off distcc and ccache for people that have a problem with it
74 + export DISTCC_DISABLE=1
75 + export CCACHE_DISABLE=1
76 +
77 + python-single-r1_pkg_setup
78 +}
79 +
80 +src_prepare() {
81 + default
82 +
83 + # what would you expect of waf? i won't even waste time trying.
84 + multilib_copy_sources
85 +}
86 +
87 +multilib_src_configure() {
88 + local extra_opts=(
89 + $(usex compat --enable-talloc-compat1 '')
90 + $(multilib_native_usex python '' --disable-python)
91 + $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions')
92 + )
93 + waf-utils_src_configure "${extra_opts[@]}"
94 +}
95 +
96 +multilib_src_compile() {
97 + waf-utils_src_compile
98 +}
99 +
100 +multilib_src_install() {
101 + waf-utils_src_install
102 +
103 + # waf is stupid, and no, we can't fix the build-system, since it's provided
104 + # as a brilliant binary blob thats decompressed on the fly
105 + if [[ ${CHOST} == *-darwin* ]] ; then
106 + install_name_tool \
107 + -id "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
108 + "${ED}"/usr/$(get_libdir)/libtalloc.2.0.5.dylib || die
109 + if use python ; then
110 + install_name_tool \
111 + -id "${EPREFIX}"/usr/$(get_libdir)/libpytalloc-util.2.dylib \
112 + "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
113 + install_name_tool \
114 + -change "${S}/bin/default/libtalloc.dylib" \
115 + "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
116 + "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
117 + install_name_tool \
118 + -change "${S}/bin/default/libtalloc.dylib" \
119 + "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
120 + "${D}"$(python_get_sitedir)/talloc.bundle || die
121 + fi
122 + fi
123 +}