1 |
idella4 13/12/01 13:53:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: python-neutronclient-2.3.1.ebuild |
5 |
Log: |
6 |
bump; add IUSE doc with dep, doc build & install phases, deps & test phase updated |
7 |
|
8 |
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 dev-python/python-neutronclient/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/ChangeLog?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/ChangeLog?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/ChangeLog?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- ChangeLog 23 Nov 2013 10:07:21 -0000 1.6 |
24 |
+++ ChangeLog 1 Dec 2013 13:53:00 -0000 1.7 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-python/python-neutronclient |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v 1.6 2013/11/23 10:07:21 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-neutronclient/ChangeLog,v 1.7 2013/12/01 13:53:00 idella4 Exp $ |
30 |
+ |
31 |
+*python-neutronclient-2.3.1 (01 Dec 2013) |
32 |
+ |
33 |
+ 01 Dec 2013; Ian Delaney <idella4@g.o> |
34 |
+ +python-neutronclient-2.3.1.ebuild: |
35 |
+ bump; add IUSE doc with dep, doc build & install phases, deps & test phase |
36 |
+ updated |
37 |
|
38 |
*python-neutronclient-2.3.0-r3 (23 Nov 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/python-neutronclient/python-neutronclient-2.3.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-neutronclient/python-neutronclient-2.3.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: python-neutronclient-2.3.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 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.1.ebuild,v 1.1 2013/12/01 13:53:00 idella4 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" |
66 |
IUSE="doc test" |
67 |
|
68 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
69 |
test? ( >=dev-python/hacking-0.5.6[${PYTHON_USEDEP}] |
70 |
<dev-python/hacking-0.8[${PYTHON_USEDEP}] |
71 |
>=dev-python/cliff-tablib-1.0[${PYTHON_USEDEP}] |
72 |
>=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
73 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
74 |
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}] |
75 |
dev-python/subunit[${PYTHON_USEDEP}] |
76 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
77 |
>=dev-python/testrepository-0.0.17[${PYTHON_USEDEP}] |
78 |
>=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] ) |
79 |
doc? ( >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
80 |
)" |
81 |
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}] |
82 |
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] |
83 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
84 |
>=dev-python/cliff-1.4.3[${PYTHON_USEDEP}] |
85 |
dev-python/httplib2[${PYTHON_USEDEP}] |
86 |
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}] |
87 |
>=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}] |
88 |
dev-python/six[${PYTHON_USEDEP}] |
89 |
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]" |
90 |
|
91 |
python_prepare_all() { |
92 |
sed -e 's:intersphinx_:#&:' -i doc/source/conf.py || die |
93 |
distutils-r1_python_prepare_all |
94 |
} |
95 |
|
96 |
python_compile_all() { |
97 |
use doc && "${PYTHON}" setup.py build_sphinx |
98 |
} |
99 |
|
100 |
python_test() { |
101 |
testr init |
102 |
testr run || die "tests failed under python2.7" |
103 |
flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error" |
104 |
} |
105 |
|
106 |
python_install() { |
107 |
distutils-r1_python_install |
108 |
#stupid stupid |
109 |
local SITEDIR="${D%/}$(python_get_sitedir)" || die |
110 |
cd "${SITEDIR}" || die |
111 |
local egg=( python_neutronclient*.egg-info ) |
112 |
#[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found" |
113 |
ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die |
114 |
ln -s neutronclient quantumclient || die |
115 |
ln -s neutron quantumclient/quantum || die |
116 |
} |
117 |
|
118 |
python_install_all() { |
119 |
use doc && local HTML_DOCS=( doc/build/html/. ) |
120 |
distutils-r1_python_install_all |
121 |
} |