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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Nov 24 01:23:53 2014 UTC (5 years, 3 months ago) by alunduil
Branch: MAIN
CVS Tags: HEAD
Add version 1.9.3.

(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.9.2.ebuild,v 1.1 2014/11/01 19:57:16 alunduil 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/keyring[${PYTHON_USEDEP}]
21 dev-python/mock[${PYTHON_USEDEP}]
22 >=dev-python/python-novaclient-2.13.0[${PYTHON_USEDEP}]
23 dev-python/rackspace-novaclient[${PYTHON_USEDEP}]
24 >=dev-python/requests-2.2.1[${PYTHON_USEDEP}]
25 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
26 "
27 DEPEND="
28 dev-python/setuptools[${PYTHON_USEDEP}]
29 test? (
30 ${CDEPEND}
31 dev-python/nose[${PYTHON_USEDEP}]
32 dev-python/rax-scheduled-images-python-novaclient-ext[${PYTHON_USEDEP}]
33 )
34 "
35 RDEPEND="${CDEPEND}"
36
37 python_test() {
38 #ebegin 'patching tests/unit/test_utils.py'
39 #sed \
40 # -e '92,100d' \
41 # -i tests/unit/test_utils.py
42 #STATUS=$?
43 #eend ${STATUS}
44 #[[ ${STATUS} -gt 0 ]] && die
45
46 nosetests tests/unit || die "Tests failed under ${EPYTHON}"
47 }
48
49 python_install_all() {
50 use examples && local EXAMPLES=( samples/. )
51
52 distutils-r1_python_install_all
53 }

  ViewVC Help
Powered by ViewVC 1.1.20