Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libnl: ChangeLog libnl-3.2.25_rc1.ebuild
Date: Wed, 25 Jun 2014 12:35:02
Message-Id: 20140625123458.D032B2004E@flycatcher.gentoo.org
1 jer 14/06/25 12:34:58
2
3 Modified: ChangeLog
4 Added: libnl-3.2.25_rc1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.210 dev-libs/libnl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.210&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.210&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?r1=1.209&r2=1.210
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v
20 retrieving revision 1.209
21 retrieving revision 1.210
22 diff -u -r1.209 -r1.210
23 --- ChangeLog 25 May 2014 11:29:04 -0000 1.209
24 +++ ChangeLog 25 Jun 2014 12:34:58 -0000 1.210
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libnl
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.209 2014/05/25 11:29:04 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.210 2014/06/25 12:34:58 jer Exp $
30 +
31 +*libnl-3.2.25_rc1 (25 Jun 2014)
32 +
33 + 25 Jun 2014; Jeroen Roovers <jer@g.o> +libnl-3.2.25_rc1.ebuild:
34 + Version bump.
35
36 *libnl-3.2.24-r1 (25 May 2014)
37
38
39
40
41 1.1 dev-libs/libnl/libnl-3.2.25_rc1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.25_rc1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.25_rc1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libnl-3.2.25_rc1.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/dev-libs/libnl/libnl-3.2.25_rc1.ebuild,v 1.1 2014/06/25 12:34:58 jer Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python2_{6,7} python3_{2,3,4} )
54 DISTUTILS_OPTIONAL=1
55 inherit distutils-r1 eutils libtool multilib multilib-minimal
56
57 NL_P=${P/_/-}
58
59 DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces"
60 HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
61 SRC_URI="
62 http://www.infradead.org/~tgr/${PN}/files/${NL_P}.tar.gz
63 "
64 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
65 SLOT="3"
66 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
67 IUSE="static-libs python utils"
68
69 RDEPEND="python? ( ${PYTHON_DEPS} )
70 abi_x86_32? (
71 !<=app-emulation/emul-linux-x86-baselibs-20140508-r5
72 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
73 )"
74 DEPEND="${RDEPEND}
75 python? ( dev-lang/swig )
76 sys-devel/flex
77 sys-devel/bison
78 "
79
80 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
81
82 DOCS=( ChangeLog )
83
84 S=${WORKDIR}/${NL_P}
85
86 MULTILIB_WRAPPED_HEADERS=(
87 # we do not install CLI stuff for non-native
88 /usr/include/libnl3/netlink/cli/addr.h
89 /usr/include/libnl3/netlink/cli/class.h
90 /usr/include/libnl3/netlink/cli/cls.h
91 /usr/include/libnl3/netlink/cli/ct.h
92 /usr/include/libnl3/netlink/cli/exp.h
93 /usr/include/libnl3/netlink/cli/link.h
94 /usr/include/libnl3/netlink/cli/neigh.h
95 /usr/include/libnl3/netlink/cli/qdisc.h
96 /usr/include/libnl3/netlink/cli/route.h
97 /usr/include/libnl3/netlink/cli/rule.h
98 /usr/include/libnl3/netlink/cli/tc.h
99 /usr/include/libnl3/netlink/cli/utils.h
100 )
101
102 src_prepare() {
103 epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
104 epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
105 epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
106
107 elibtoolize
108
109 if use python; then
110 cd "${S}"/python || die
111 distutils-r1_src_prepare
112 fi
113
114 # out-of-source build broken
115 # https://github.com/thom311/libnl/pull/58
116 multilib_copy_sources
117 }
118
119 multilib_src_configure() {
120 econf \
121 --disable-silent-rules \
122 $(use_enable static-libs static) \
123 $(multilib_native_use_enable utils cli)
124 }
125
126 multilib_src_compile() {
127 default
128
129 if multilib_is_native_abi && use python; then
130 cd python || die
131 distutils-r1_src_compile
132 fi
133 }
134
135 multilib_src_install() {
136 emake DESTDIR="${D}" install
137
138 if multilib_is_native_abi && use python; then
139 # Unset DOCS= since distutils-r1.eclass interferes
140 local DOCS=()
141 cd python || die
142 distutils-r1_src_install
143 fi
144 }
145
146 multilib_src_install_all() {
147 einstalldocs
148 prune_libtool_files --modules
149 }