diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-07-06 15:31:49 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-07-06 15:31:49 +0000 |
commit | 83dcf1f9ae7917513d694e3d9c2a225066ea078e (patch) | |
tree | 578cb6901d1328ffd8e4660f182750f3d0196d78 /dev-python/libcloud | |
parent | Remove ControlGroup attribute, which is unsupported as of systemd-205. (diff) | |
download | gentoo-2-83dcf1f9ae7917513d694e3d9c2a225066ea078e.tar.gz gentoo-2-83dcf1f9ae7917513d694e3d9c2a225066ea078e.tar.bz2 gentoo-2-83dcf1f9ae7917513d694e3d9c2a225066ea078e.zip |
revbump; migrate -> distutils-r1, add missing (optional) test dep
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/libcloud')
-rw-r--r-- | dev-python/libcloud/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/libcloud/libcloud-0.12.4-r1.ebuild | 47 |
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/libcloud/ChangeLog b/dev-python/libcloud/ChangeLog index a711a46e31bd..c0a2f5fad6fa 100644 --- a/dev-python/libcloud/ChangeLog +++ b/dev-python/libcloud/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/libcloud # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/libcloud/ChangeLog,v 1.9 2013/05/02 04:11:07 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/libcloud/ChangeLog,v 1.10 2013/07/06 15:31:49 idella4 Exp $ + +*libcloud-0.12.4-r1 (06 Jul 2013) + + 06 Jul 2013; Ian Delaney <idella4@gentoo.org> +libcloud-0.12.4-r1.ebuild: + revbump; migrate -> distutils-r1, add missing (optional) test dep *libcloud-0.12.4 (02 May 2013) diff --git a/dev-python/libcloud/libcloud-0.12.4-r1.ebuild b/dev-python/libcloud/libcloud-0.12.4-r1.ebuild new file mode 100644 index 000000000000..bd78c14f933a --- /dev/null +++ b/dev-python/libcloud/libcloud-0.12.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/libcloud/libcloud-0.12.4-r1.ebuild,v 1.1 2013/07/06 15:31:49 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} pypy2_0 ) +PYTHON_REQ_USE="ssl" + +inherit distutils-r1 + +DESCRIPTION="Unified Interface to the Cloud - python support libs" +HOMEPAGE="http://libcloud.apache.org/index.html" +SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND="" +DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] )" + +DISTUTILS_IN_SOURCE_BUILD=1 + +S="${WORKDIR}/apache-${P}" + +python_prepare_all() { + if use examples; then + mkdir examples + mv example_*.py examples || die + fi + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}"/../ > /dev/null + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die + esetup.py test + popd > /dev/null +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |