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: libnl-3.2.24.ebuild ChangeLog libnl-3.2.24_rc1-r1.ebuild
Date: Tue, 21 Jan 2014 20:39:44
Message-Id: 20140121203940.3202C2004C@flycatcher.gentoo.org
1 jer 14/01/21 20:39:40
2
3 Modified: ChangeLog
4 Added: libnl-3.2.24.ebuild
5 Removed: libnl-3.2.24_rc1-r1.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.203 dev-libs/libnl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.203&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.203&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?r1=1.202&r2=1.203
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v
21 retrieving revision 1.202
22 retrieving revision 1.203
23 diff -u -r1.202 -r1.203
24 --- ChangeLog 15 Jan 2014 16:24:50 -0000 1.202
25 +++ ChangeLog 21 Jan 2014 20:39:40 -0000 1.203
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/libnl
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.202 2014/01/15 16:24:50 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.203 2014/01/21 20:39:40 jer Exp $
31 +
32 +*libnl-3.2.24 (21 Jan 2014)
33 +
34 + 21 Jan 2014; Jeroen Roovers <jer@g.o> -libnl-3.2.24_rc1-r1.ebuild,
35 + +libnl-3.2.24.ebuild, -files/libnl-3.2.24_rc1-link_policy.patch:
36 + Version bump.
37
38 15 Jan 2014; Jeroen Roovers <jer@g.o> -libnl-3.2.22.ebuild,
39 -libnl-3.2.22-r2.ebuild, -files/libnl-3.2.22-python.patch:
40
41
42
43 1.1 dev-libs/libnl/libnl-3.2.24.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.24.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.24.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libnl-3.2.24.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.24.ebuild,v 1.1 2014/01/21 20:39:40 jer Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_{6,7} python3_{2,3} )
56 DISTUTILS_OPTIONAL=1
57 inherit distutils-r1 eutils libtool multilib
58
59 NL_P=${P/_/-}
60
61 DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces"
62 HOMEPAGE="http://www.infradead.org/~tgr/libnl/"
63 SRC_URI="
64 http://www.infradead.org/~tgr/${PN}/files/${NL_P}.tar.gz
65 "
66 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
67 SLOT="3"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
69 IUSE="static-libs python utils"
70
71 RDEPEND="python? ( ${PYTHON_DEPS} )"
72 DEPEND="${RDEPEND}
73 python? ( dev-lang/swig )
74 sys-devel/flex
75 sys-devel/bison
76 "
77
78 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
79
80 DOCS=( ChangeLog )
81
82 S=${WORKDIR}/${NL_P}
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
86 epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
87 epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
88
89 elibtoolize
90
91 if use python; then
92 cd "${S}"/python || die
93 distutils-r1_src_prepare
94 fi
95 }
96
97 src_configure() {
98 econf \
99 --disable-silent-rules \
100 $(use_enable static-libs static) \
101 $(use_enable utils cli)
102
103 if use python; then
104 cd "${S}"/python || die
105 distutils-r1_src_configure
106 fi
107 }
108
109 src_compile() {
110 default
111
112 if use python; then
113 cd "${S}"/python || die
114 distutils-r1_src_compile
115 fi
116 }
117
118 src_install() {
119 default
120
121 if use python; then
122 # Unset DOCS= since distutils-r1.eclass interferes
123 DOCS=''
124 cd "${S}"/python || die
125 distutils-r1_src_install
126 fi
127
128 prune_libtool_files $(usex static-libs --modules --all)
129 }