diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2014-06-22 04:16:14 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2014-06-22 04:16:14 +0000 |
commit | fd849d188f78668a7ea6981a265f833bdb65fcd6 (patch) | |
tree | fc1b878c83c938702394a09f38ad4c0fd5cb31c3 /app-emulation/openstack-guest-agents-unix | |
parent | Introduce XFCE_PLUGINS="battery" to control building of libxfce4battery.so (diff) | |
download | gentoo-2-fd849d188f78668a7ea6981a265f833bdb65fcd6.tar.gz gentoo-2-fd849d188f78668a7ea6981a265f833bdb65fcd6.tar.bz2 gentoo-2-fd849d188f78668a7ea6981a265f833bdb65fcd6.zip |
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.
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-emulation/openstack-guest-agents-unix')
-rw-r--r-- | app-emulation/openstack-guest-agents-unix/ChangeLog | 10 | ||||
-rw-r--r-- | app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild | 48 |
2 files changed, 57 insertions, 1 deletions
diff --git a/app-emulation/openstack-guest-agents-unix/ChangeLog b/app-emulation/openstack-guest-agents-unix/ChangeLog index 045053ab3317..b2fbacc98039 100644 --- a/app-emulation/openstack-guest-agents-unix/ChangeLog +++ b/app-emulation/openstack-guest-agents-unix/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-emulation/openstack-guest-agents-unix # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog,v 1.1 2014/06/22 02:06:59 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/openstack-guest-agents-unix/ChangeLog,v 1.2 2014/06/22 04:16:14 robbat2 Exp $ + +*openstack-guest-agents-unix-1.39.0-r2 (22 Jun 2014) + + 22 Jun 2014; Robin H. Johnson <robbat2@gentoo.org> + +openstack-guest-agents-unix-1.39.0-r2.ebuild: + 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. *openstack-guest-agents-unix-1.39.0 (22 Jun 2014) *openstack-guest-agents-unix-1.39.0-r1 (22 Jun 2014) diff --git a/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild b/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild new file mode 100644 index 000000000000..64e47a6166c7 --- /dev/null +++ b/app-emulation/openstack-guest-agents-unix/openstack-guest-agents-unix-1.39.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) # does not work with py3 yet + +inherit autotools eutils vcs-snapshot python-single-r1 + +DESCRIPTION="Openstack Unix Guest Agent" +HOMEPAGE="http://github.com/rackerlabs/openstack-guest-agents-unix" +SRC_URI="https://github.com/rackerlabs/${PN}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-util/patchelf + dev-python/pycrypto[${PYTHON_USEDEP}] + dev-python/pyxenstore[${PYTHON_USEDEP}]" + +# Fails to build if python2.5/python2.6 are present +DEPEND="${RDEPEND} + !dev-lang/python:2.5 + !dev-lang/python:2.6 + ${PYTHON_DEPS}" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + epatch \ + "${FILESDIR}"/patches-1.39.0-20140621.patch \ + "${FILESDIR}"/openstack-guest-agents-unix-1.39.0-python2.patch + # Ignore the deps of install-exec-local + sed -i -e '/^install-exec-local:/s,:.*,:,g' Makefile.am + # bashism fix + sed -r -i -e '/^export ([A-Z_]+)/{ s,^export ,,g; s,^([A-Z0-9_]+)(.*),\1\2; export \1,g; }' scripts/gentoo/nova-agent.in + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + doinitd scripts/gentoo/nova-agent +} |