/[gentoo-x86]/dev-python/python-keystoneclient/python-keystoneclient-1.1.1.ebuild
Gentoo

Contents of /dev-python/python-keystoneclient/python-keystoneclient-1.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jun 29 16:57:35 2015 UTC (5 years, 1 month ago) by prometheanfire
Branch: MAIN
CVS Tags: HEAD
bup

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-1.0.0-r1.ebuild,v 1.3 2015/04/15 07:43:12 ago Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
7
8 inherit distutils-r1
9
10 DESCRIPTION="Client Library for OpenStack Identity"
11 HOMEPAGE="https://github.com/openstack/python-keystoneclient"
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 ~amd64-linux ~x86-linux"
17 IUSE="doc examples test"
18
19 # Note: blacklist version not in portage:
20 #doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
21
22 CDEPEND="
23 >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
24 !~dev-python/pbr-0.7[${PYTHON_USEDEP}]
25 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
26 "
27 TCDEPEND="
28 >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
29 >=dev-python/mock-1.0[${PYTHON_USEDEP}]
30 >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
31 >=dev-python/requests-mock-0.5.1[${PYTHON_USEDEP}]
32 >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
33 >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
34 "
35 DEPEND="
36 dev-python/setuptools[${PYTHON_USEDEP}]
37 ${CDEPEND}
38 test? (
39 ${TCDEPEND}
40 >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
41 <dev-python/hacking-0.10[${PYTHON_USEDEP}]
42 >=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
43 >=dev-python/keyring-2.1[${PYTHON_USEDEP}]
44 !~dev-python/keyring-3.3[${PYTHON_USEDEP}]
45 >=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
46 >=dev-python/oslotest-1.2.0[${PYTHON_USEDEP}]
47 >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
48 >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
49 >=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
50 !~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
51 )
52 doc? (
53 ${TCDEPEND}
54 >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
55 >=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
56 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
57 !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
58 <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
59 )
60 "
61 RDEPEND="
62 ${CDEPEND}
63 >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
64 >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
65 >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
66 >=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
67 >=dev-python/oslo-i18n-1.0.0[${PYTHON_USEDEP}]
68 >=dev-python/oslo-serialization-1.0.0[${PYTHON_USEDEP}]
69 >=dev-python/oslo-utils-1.1.0[${PYTHON_USEDEP}]
70 >=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
71 <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
72 >=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
73 !~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
74 >=dev-python/six-1.7.0[${PYTHON_USEDEP}]
75 >=dev-python/stevedore-1.1.0[${PYTHON_USEDEP}]
76 "
77
78 PATCHES=(
79 "${FILESDIR}/keystoneclient-1.0.0-cve-2015-1852.patch"
80 )
81
82 python_prepare_all() {
83 use doc && esetup.py build_sphinx
84 distutils-r1_python_prepare_all
85 }
86
87 python_test() {
88 local DISTUTILS_NO_PARALLEL_BUILD=TRUE
89
90 rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
91
92 testr init || die "testr init failed under ${EPYTHON}"
93 testr run || die "testr run failed under ${EPYTHON}"
94 }
95
96 python_install_all() {
97 use doc && local HTML_DOCS=( doc/build/html/. )
98 use examples && local EXAMPLES=( examples/. )
99
100 distutils-r1_python_install_all
101 }

  ViewVC Help
Powered by ViewVC 1.1.20