Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-neutronclient: python-neutronclient-2.3.6.ebuild ChangeLog python-neutronclient-2.3.4.ebuild
Date: Fri, 01 Aug 2014 05:41:27
Message-Id: 20140801054117.38B052004E@flycatcher.gentoo.org
1 prometheanfire 14/08/01 05:41:17
2
3 Modified: ChangeLog
4 Added: python-neutronclient-2.3.6.ebuild
5 Removed: python-neutronclient-2.3.4.ebuild
6 Log:
7 bup
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
10
11 Revision Changes Path
12 1.12 dev-python/python-neutronclient/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/ChangeLog?rev=1.12&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/ChangeLog?rev=1.12&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/ChangeLog?r1=1.11&r2=1.12
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v
21 retrieving revision 1.11
22 retrieving revision 1.12
23 diff -u -r1.11 -r1.12
24 --- ChangeLog 6 Jul 2014 12:48:29 -0000 1.11
25 +++ ChangeLog 1 Aug 2014 05:41:17 -0000 1.12
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/python-neutronclient
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v 1.11 2014/07/06 12:48:29 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v 1.12 2014/08/01 05:41:17 prometheanfire Exp $
31 +
32 +*python-neutronclient-2.3.6 (01 Aug 2014)
33 +
34 + 01 Aug 2014; Matthew Thode <prometheanfire@g.o>
35 + +python-neutronclient-2.3.6.ebuild, -python-neutronclient-2.3.4.ebuild:
36 + bup
37
38 06 Jul 2014; Michał Górny <mgorny@g.o>
39 python-neutronclient-2.3.4.ebuild:
40
41
42
43 1.1 dev-python/python-neutronclient/python-neutronclient-2.3.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: python-neutronclient-2.3.6.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.6.ebuild,v 1.1 2014/08/01 05:41:17 prometheanfire Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit distutils-r1
58
59 DESCRIPTION="A client for the OpenStack Quantum API"
60 HOMEPAGE="https://launchpad.net/neutron"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
66 IUSE="doc test"
67 REQUIRED_USE="test? ( doc )"
68
69 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
70 >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
71 !~dev-python/pbr-0.7[${PYTHON_USEDEP}]
72 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
73 test? (
74 >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
75 <dev-python/hacking-0.9[${PYTHON_USEDEP}]
76 >=dev-python/cliff-tablib-1.0[${PYTHON_USEDEP}]
77 >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
78 >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
79 >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
80 dev-python/oslo-sphinx[${PYTHON_USEDEP}]
81 dev-python/oslotest[${PYTHON_USEDEP}]
82 >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
83 >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
84 >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
85 )
86 doc? (
87 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
88 !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
89 <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
90 )"
91
92 RDEPEND=">=dev-python/cliff-1.6.0[${PYTHON_USEDEP}]
93 >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
94 >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
95 >=dev-python/requests-1.1[${PYTHON_USEDEP}]
96 >=dev-python/python-keystoneclient-0.9.0[${PYTHON_USEDEP}]
97 >=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
98 >=dev-python/six-1.7.0[${PYTHON_USEDEP}]
99 >=dev-python/Babel-1.3[${PYTHON_USEDEP}]"
100
101 python_prepare_all() {
102 sed -e 's:intersphinx_:#&:' -i doc/source/conf.py || die
103 distutils-r1_python_prepare_all
104 }
105
106 python_compile_all() {
107 use doc && "${PYTHON}" setup.py build_sphinx
108 }
109
110 python_test() {
111 testr init
112 testr run || die "tests failed under python2.7"
113 flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error"
114 }
115
116 python_install() {
117 distutils-r1_python_install
118 #stupid stupid
119 local SITEDIR="${D%/}$(python_get_sitedir)" || die
120 cd "${SITEDIR}" || die
121 local egg=( python_neutronclient*.egg-info )
122 #[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
123 ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
124 ln -s neutronclient quantumclient || die
125 ln -s neutron quantumclient/quantum || die
126 }
127
128 python_install_all() {
129 use doc && local HTML_DOCS=( doc/build/html/. )
130 distutils-r1_python_install_all
131 }