/[gentoo-x86]/dev-python/pyrax/pyrax-1.9.2.ebuild
Gentoo

Contents of /dev-python/pyrax/pyrax-1.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Nov 1 19:57:16 2014 UTC (5 years, 3 months ago) by alunduil
Branch: MAIN
CVS Tags: HEAD
add version 1.9.2

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyrax/pyrax-1.7.2.ebuild,v 1.1 2014/04/01 19:21:48 prometheanfire Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Python language bindings for OpenStack Clouds"
11 HOMEPAGE="https://github.com/rackspace/pyrax"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="examples test"
18
19 CDEPEND="
20 dev-python/httplib2[${PYTHON_USEDEP}]
21 dev-python/keyring[${PYTHON_USEDEP}]
22 dev-python/mock[${PYTHON_USEDEP}]
23 >=dev-python/python-novaclient-2.13.0[${PYTHON_USEDEP}]
24 dev-python/rackspace-novaclient[${PYTHON_USEDEP}]
25 >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
26 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
27 "
28 DEPEND="
29 dev-python/setuptools[${PYTHON_USEDEP}]
30 test? (
31 ${CDEPEND}
32 dev-python/nose[${PYTHON_USEDEP}]
33 dev-python/rax-scheduled-images-python-novaclient-ext[${PYTHON_USEDEP}]
34 )
35 "
36 RDEPEND="${CDEPEND}"
37
38 python_test() {
39 ebegin 'patching tests/unit/test_utils.py'
40 sed \
41 -e '92,100d' \
42 -i tests/unit/test_utils.py
43 STATUS=$?
44 eend ${STATUS}
45 [[ ${STATUS} -gt 0 ]] && die
46
47 nosetests tests/unit || die "Tests failed under ${EPYTHON}"
48 }
49
50 python_install_all() {
51 use examples && local EXAMPLES=( samples/. )
52
53 distutils-r1_python_install_all
54 }

  ViewVC Help
Powered by ViewVC 1.1.20