diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-05-01 16:13:20 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-05-01 16:13:20 +0000 |
commit | 5c2cc4051f6666b1def55bd8a2d7f54af91d8994 (patch) | |
tree | 3d26129c8ce001e3dfdc6c33253277f94cf06359 /app-emulation/cloud-init/cloud-init-0.7.5.ebuild | |
parent | Version bump to 1.8.0. (diff) | |
download | historical-5c2cc4051f6666b1def55bd8a2d7f54af91d8994.tar.gz historical-5c2cc4051f6666b1def55bd8a2d7f54af91d8994.tar.bz2 historical-5c2cc4051f6666b1def55bd8a2d7f54af91d8994.zip |
bump; patch to exclude tests effectively, upgrade deps, add IUSE test, test phase
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'app-emulation/cloud-init/cloud-init-0.7.5.ebuild')
-rw-r--r-- | app-emulation/cloud-init/cloud-init-0.7.5.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-emulation/cloud-init/cloud-init-0.7.5.ebuild b/app-emulation/cloud-init/cloud-init-0.7.5.ebuild new file mode 100644 index 000000000000..4eb9c1984fe5 --- /dev/null +++ b/app-emulation/cloud-init/cloud-init-0.7.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild,v 1.1 2014/05/01 16:12:51 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils multilib + +DESCRIPTION="Package provides configuration and customization of cloud instance." +HOMEPAGE="https://launchpad.net/cloud-init" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/cheetah[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + dev-python/oauth[${PYTHON_USEDEP}] + dev-python/pyserial[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + virtual/python-argparse[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +PATCHES=( "${FILESDIR}"/${P}-tests-exclude.patch ) + +python_test() { + emake test +} + +python_install() { + distutils-r1_python_install + for svc in config final init init-local; do + newinitd "${FILESDIR}/cloud-${svc}.init" "cloud-${svc}" + done +} |