Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/talloc: talloc-2.1.1.ebuild ChangeLog
Date: Fri, 23 May 2014 12:26:30
Message-Id: 20140523122626.D2C592004C@flycatcher.gentoo.org
1 polynomial-c 14/05/23 12:26:26
2
3 Modified: ChangeLog
4 Added: talloc-2.1.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.66 sys-libs/talloc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/talloc/ChangeLog?rev=1.66&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/talloc/ChangeLog?rev=1.66&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/talloc/ChangeLog?r1=1.65&r2=1.66
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v
20 retrieving revision 1.65
21 retrieving revision 1.66
22 diff -u -r1.65 -r1.66
23 --- ChangeLog 14 May 2014 22:58:08 -0000 1.65
24 +++ ChangeLog 23 May 2014 12:26:26 -0000 1.66
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-libs/talloc
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.65 2014/05/14 22:58:08 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/ChangeLog,v 1.66 2014/05/23 12:26:26 polynomial-c Exp $
30 +
31 +*talloc-2.1.1 (23 May 2014)
32 +
33 + 23 May 2014; Lars Wendler <polynomial-c@g.o> +talloc-2.1.1.ebuild:
34 + Version bump.
35
36 *talloc-2.1.0-r1 (14 May 2014)
37
38
39
40
41 1.1 sys-libs/talloc/talloc-2.1.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/talloc/talloc-2.1.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/talloc/talloc-2.1.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: talloc-2.1.1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-libs/talloc/talloc-2.1.1.ebuild,v 1.1 2014/05/23 12:26:26 polynomial-c Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_6,2_7} )
55 PYTHON_REQ_USE="threads"
56
57 inherit waf-utils python-single-r1 multilib multilib-minimal
58
59 DESCRIPTION="Samba talloc library"
60 HOMEPAGE="http://talloc.samba.org/"
61 SRC_URI="http://samba.org/ftp/${PN}/${P}.tar.gz"
62
63 LICENSE="GPL-3"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~sparc-solaris"
66 IUSE="compat +python"
67
68 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
69
70 RDEPEND="python? ( ${PYTHON_DEPS} )
71 !!<sys-libs/talloc-2.0.5
72 abi_x86_32? (
73 !<=app-emulation/emul-linux-x86-baselibs-20140508-r1
74 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
75 )"
76 DEPEND="${RDEPEND}
77 sys-devel/gettext
78 dev-libs/libxslt
79 ${PYTHON_DEPS}"
80
81 WAF_BINARY="${S}/buildtools/bin/waf"
82
83 MULTILIB_WRAPPED_HEADERS=(
84 # python goes only for native
85 /usr/include/pytalloc.h
86 )
87
88 src_prepare() {
89 # what would you expect of waf? i won't even waste time trying.
90 multilib_copy_sources
91 }
92
93 multilib_src_configure() {
94 local extra_opts=()
95
96 use compat && extra_opts+=( --enable-talloc-compat1 )
97 if ! multilib_is_native_abi || ! use python; then
98 extra_opts+=( --disable-python )
99 fi
100
101 waf-utils_src_configure \
102 "${extra_opts[@]}"
103 }
104
105 multilib_src_compile() {
106 waf-utils_src_compile
107 }
108
109 multilib_src_install() {
110 waf-utils_src_install
111
112 # waf is stupid, and no, we can't fix the build-system, since it's provided
113 # as a brilliant binary blob thats decompressed on the fly
114 if [[ ${CHOST} == *-darwin* ]] ; then
115 install_name_tool \
116 -id "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
117 "${ED}"/usr/$(get_libdir)/libtalloc.2.0.5.dylib || die
118 if use python ; then
119 install_name_tool \
120 -id "${EPREFIX}"/usr/$(get_libdir)/libpytalloc-util.2.dylib \
121 "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
122 install_name_tool \
123 -change "${S}/bin/default/libtalloc.dylib" \
124 "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
125 "${ED}"/usr/$(get_libdir)/libpytalloc-util.2.0.5.dylib || die
126 install_name_tool \
127 -change "${S}/bin/default/libtalloc.dylib" \
128 "${EPREFIX}"/usr/$(get_libdir)/libtalloc.2.dylib \
129 "${ED}"$(python_get_sitedir)/talloc.bundle || die
130 fi
131 fi
132 }