Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-glanceclient: metadata.xml python-glanceclient-0.10.0-r1.ebuild ChangeLog
Date: Thu, 28 Nov 2013 13:03:54
Message-Id: 20131128130345.7C8702004B@flycatcher.gentoo.org
1 idella4 13/11/28 13:03:45
2
3 Modified: metadata.xml ChangeLog
4 Added: python-glanceclient-0.10.0-r1.ebuild
5 Log:
6 switch herd, add IUSE doc, doc dep, update / uncomment test deps, add doc build & install, update test phase, testing support by (good ol') Chicago
7
8 (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.3 dev-python/python-glanceclient/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 17 Jan 2013 19:51:12 -0000 1.2
24 +++ metadata.xml 28 Nov 2013 13:03:45 -0000 1.3
25 @@ -1,7 +1,7 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 - <herd>python</herd>
30 + <herd>openstack</herd>
31 <maintainer>
32 <email>prometheanfire@g.o</email>
33 <name>Matthew Thode</name>
34
35
36
37 1.7 dev-python/python-glanceclient/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/ChangeLog?rev=1.7&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/ChangeLog?rev=1.7&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/ChangeLog?r1=1.6&r2=1.7
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/ChangeLog,v
46 retrieving revision 1.6
47 retrieving revision 1.7
48 diff -u -r1.6 -r1.7
49 --- ChangeLog 11 Aug 2013 01:43:36 -0000 1.6
50 +++ ChangeLog 28 Nov 2013 13:03:45 -0000 1.7
51 @@ -1,6 +1,13 @@
52 # ChangeLog for dev-python/python-glanceclient
53 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/ChangeLog,v 1.6 2013/08/11 01:43:36 prometheanfire Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/ChangeLog,v 1.7 2013/11/28 13:03:45 idella4 Exp $
56 +
57 +*python-glanceclient-0.10.0-r1 (28 Nov 2013)
58 +
59 + 28 Nov 2013; Ian Delaney <idella4@g.o>
60 + +python-glanceclient-0.10.0-r1.ebuild, metadata.xml:
61 + switch herd, add IUSE doc, doc dep, update / uncomment test deps, add doc
62 + build & install, update test phase, testing support by (good ol') Chicago
63
64 *python-glanceclient-0.10.0 (11 Aug 2013)
65
66
67
68
69 1.1 dev-python/python-glanceclient/python-glanceclient-0.10.0-r1.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/python-glanceclient-0.10.0-r1.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-glanceclient/python-glanceclient-0.10.0-r1.ebuild?rev=1.1&content-type=text/plain
73
74 Index: python-glanceclient-0.10.0-r1.ebuild
75 ===================================================================
76 # Copyright 1999-2013 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-glanceclient/python-glanceclient-0.10.0-r1.ebuild,v 1.1 2013/11/28 13:03:45 idella4 Exp $
79
80 EAPI=5
81 PYTHON_COMPAT=( python2_7 )
82
83 inherit distutils-r1
84
85 DESCRIPTION="A client for the OpenStack Glance API"
86 HOMEPAGE="https://github.com/openstack/python-glanceclient"
87 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
88
89 LICENSE="Apache-2.0"
90 SLOT="0"
91 KEYWORDS="~amd64 ~x86"
92 IUSE="doc test"
93
94 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
95 test? ( dev-python/mox[${PYTHON_USEDEP}]
96 dev-python/coverage[${PYTHON_USEDEP}]
97 >=dev-python/pep8-1.3.3[${PYTHON_USEDEP}]
98 >=dev-python/setuptools-git-0.4[${PYTHON_USEDEP}]
99 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
100 >=dev-python/testrepository-0.0.13[${PYTHON_USEDEP}]
101 >=dev-python/testtools-0.9.22[${PYTHON_USEDEP}]
102 =dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
103 >=dev-python/flake8-2.0[${PYTHON_USEDEP}]
104 >=dev-python/hacking-0.5.3[${PYTHON_USEDEP}]
105 <dev-python/hacking-0.6[${PYTHON_USEDEP}]
106 dev-python/mox[${PYTHON_USEDEP}]
107 >=dev-python/mock-0.8.0[${PYTHON_USEDEP}]
108 )
109 doc? ( dev-python/sphinx )
110 "
111 RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
112 >=dev-python/d2to1-0.2.10[${PYTHON_USEDEP}]
113 <dev-python/d2to1-0.3[${PYTHON_USEDEP}]
114 >=dev-python/pbr-0.5[${PYTHON_USEDEP}]
115 <dev-python/pbr-0.6[${PYTHON_USEDEP}]
116 >=dev-python/python-keystoneclient-0.2.1[${PYTHON_USEDEP}]
117 <dev-python/python-keystoneclient-1[${PYTHON_USEDEP}]
118 >=dev-python/prettytable-0.6[${PYTHON_USEDEP}]
119 <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
120 dev-python/pyopenssl[${PYTHON_USEDEP}]
121 >=dev-python/warlock-0.7.0[${PYTHON_USEDEP}]
122 <dev-python/warlock-2[${PYTHON_USEDEP}]"
123
124 python_prepare_all() {
125 sed -e 's:intersphinx_mapping:_&:' -i doc/source/conf.py || die
126 distutils-r1_python_prepare_all
127 }
128
129 python_compile_all() {
130 use doc && esetup.py build_sphinx
131 }
132
133 python_test() {
134 testr init
135 testr run || die "testsuite failed under python2.7"
136 flake8 tests && einfo "run flake8 over tests folder passed" || die
137 }
138
139 python_install_all() {
140 use doc && local HTML_DOCS=( doc/build/html/. )
141 distutils-r1_python_install_all
142 }