-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
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
+ dev-python/pyxenstore[${PYTHON_USEDEP}]
${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
pkg_setup() {
python-single-r1_pkg_setup
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
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
+ dev-python/pyxenstore[${PYTHON_USEDEP}]
${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
pkg_setup() {
python-single-r1_pkg_setup
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
CDEPEND="
dev-python/pycrypto[${PYTHON_USEDEP}]
PYTHON_COMPAT=( python2_7 )
inherit eutils autotools linux-info python-single-r1
+
COMMIT="c9a4f15b8c8f2349601d3073cc95e30d3b91af13"
+
DESCRIPTION="Unix Guest Agent for OpenStack"
HOMEPAGE="https://wiki.openstack.org/wiki/GuestAgent"
SRC_URI="https://github.com/rackerlabs/${PN}/archive/${COMMIT}.zip"
+
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="mirror strip"
+
DEPEND="
app-emulation/xe-guest-utilities[-xenstore]
dev-util/patchelf
{
python-single-r1_pkg_setup
}
+
src_prepare()
{
# Note: https://github.com/rackerlabs/openstack-guest-agents-unix/issues/52