Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/openstack-guest-agents-unix: openstack-guest-agents-unix-1.39.0-r2.ebuild ChangeLog
Date: Sun, 22 Jun 2014 04:16:19
Message-Id: 20140622041614.A37212004E@flycatcher.gentoo.org
1 robbat2 14/06/22 04:16:14
2
3 Modified: ChangeLog
4 Added: openstack-guest-agents-unix-1.39.0-r2.ebuild
5 Log:
6 Cleanup idea from floppym: just toss all entire install-exec-local deps; it does seem to work still. Still have some some libs and bins built into /usr/share/nova-agent, but much better.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.2 app-emulation/openstack-guest-agents-unix/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -p -w -b -B -u -u -r1.1 -r1.2
23 --- ChangeLog 22 Jun 2014 02:06:59 -0000 1.1
24 +++ ChangeLog 22 Jun 2014 04:16:14 -0000 1.2
25 @@ -1,6 +1,14 @@
26 # ChangeLog for app-emulation/openstack-guest-agents-unix
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog,v 1.1 2014/06/22 02:06:59 robbat2 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog,v 1.2 2014/06/22 04:16:14 robbat2 Exp $
30 +
31 +*openstack-guest-agents-unix-1.39.0-r2 (22 Jun 2014)
32 +
33 + 22 Jun 2014; Robin H. Johnson <robbat2@g.o>
34 + +openstack-guest-agents-unix-1.39.0-r2.ebuild:
35 + Cleanup idea from floppym: just toss all entire install-exec-local deps; it
36 + does seem to work still. Still have some some libs and bins built into
37 + /usr/share/nova-agent, but much better.
38
39 *openstack-guest-agents-unix-1.39.0 (22 Jun 2014)
40 *openstack-guest-agents-unix-1.39.0-r1 (22 Jun 2014)
41
42
43
44 1.1 app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: openstack-guest-agents-unix-1.39.0-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild,v 1.1 2014/06/22 04:16:14 robbat2 Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python2_7 ) # does not work with py3 yet
57
58 inherit autotools eutils vcs-snapshot python-single-r1
59
60 DESCRIPTION="Openstack Unix Guest Agent"
61 HOMEPAGE="http://github.com/rackerlabs/openstack-guest-agents-unix"
62 SRC_URI="https://github.com/rackerlabs/${PN}/tarball/v${PV} -> ${P}.tar.gz"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64"
67 IUSE=""
68
69 RDEPEND="dev-util/patchelf
70 dev-python/pycrypto[${PYTHON_USEDEP}]
71 dev-python/pyxenstore[${PYTHON_USEDEP}]"
72
73 # Fails to build if python2.5/python2.6 are present
74 DEPEND="${RDEPEND}
75 !dev-lang/python:2.5
76 !dev-lang/python:2.6
77 ${PYTHON_DEPS}"
78
79 pkg_setup() {
80 python-single-r1_pkg_setup
81 }
82
83 src_prepare() {
84 epatch \
85 "${FILESDIR}"/patches-1.39.0-20140621.patch \
86 "${FILESDIR}"/openstack-guest-agents-unix-1.39.0-python2.patch
87 # Ignore the deps of install-exec-local
88 sed -i -e '/^install-exec-local:/s,:.*,:,g' Makefile.am
89 # bashism fix
90 sed -r -i -e '/^export ([A-Z_]+)/{ s,^export ,,g; s,^([A-Z0-9_]+)(.*),\1\2; export \1,g; }' scripts/gentoo/nova-agent.in
91
92 eautoreconf
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install
97 doinitd scripts/gentoo/nova-agent
98 }