summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@gentoo.org>2015-08-01 22:14:19 +0000
committerAlex Brandt <alunduil@gentoo.org>2015-08-01 22:14:19 +0000
commit5188e2e0de835292c6536384dadc30a1738a040b (patch)
treecc0096cfe7258def9863c60efb845d4730ed51d1 /app-admin
parentRemove old. (diff)
downloadgentoo-2-5188e2e0de835292c6536384dadc30a1738a040b.tar.gz
gentoo-2-5188e2e0de835292c6536384dadc30a1738a040b.tar.bz2
gentoo-2-5188e2e0de835292c6536384dadc30a1738a040b.zip
add version 2.0.5
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/supernova/ChangeLog7
-rw-r--r--app-admin/supernova/supernova-2.0.5.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/app-admin/supernova/ChangeLog b/app-admin/supernova/ChangeLog
index d474e372f5f4..6781ec4326a6 100644
--- a/app-admin/supernova/ChangeLog
+++ b/app-admin/supernova/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/supernova
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/supernova/ChangeLog,v 1.12 2015/07/19 20:25:02 alunduil Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/supernova/ChangeLog,v 1.13 2015/08/01 22:14:19 alunduil Exp $
+
+*supernova-2.0.5 (01 Aug 2015)
+
+ 01 Aug 2015; Alex Brandt <alunduil@gentoo.org> +supernova-2.0.5.ebuild:
+ add version 2.0.5
19 Jul 2015; Alex Brandt <alunduil@gentoo.org> -supernova-1.0.4.ebuild:
remove version 1.0.4
diff --git a/app-admin/supernova/supernova-2.0.5.ebuild b/app-admin/supernova/supernova-2.0.5.ebuild
new file mode 100644
index 000000000000..e4f0808bfc8d
--- /dev/null
+++ b/app-admin/supernova/supernova-2.0.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/supernova/supernova-2.0.5.ebuild,v 1.1 2015/08/01 22:14:19 alunduil Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="novaclient wrapper for multiple nova environments"
+HOMEPAGE="https://github.com/rackerhacker/supernova"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples test"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="
+ ${CDEPEND}
+ doc? ( >=dev-python/mkdocs-0.14.0[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+RDEPEND="
+ ${CDEPEND}
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/configobj[${PYTHON_USEDEP}]
+ >=dev-python/keyring-0.9.2[${PYTHON_USEDEP}]
+ dev-python/python-novaclient[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+
+python_compile_all() {
+ if use doc; then
+ mkdocs build || die "docs failed to build"
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}"/lib || die
+ py.test || die "tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( site/. )
+ use examples && local EXAMPLES=( example_configs/. )
+
+ distutils-r1_python_install_all
+
+ newbashcomp contrib/${PN}-completion.bash ${PN}
+}