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/pycadf: pycadf-0.5-r1.ebuild ChangeLog pycadf-0.5.ebuild
Date: Fri, 27 Jun 2014 10:53:34
Message-Id: 20140627105330.A45332004E@flycatcher.gentoo.org
1 idella4 14/06/27 10:53:30
2
3 Modified: ChangeLog
4 Added: pycadf-0.5-r1.ebuild
5 Removed: pycadf-0.5.ebuild
6 Log:
7 sec. patch wrt Bug #515050, add IUSE, doc build, fix test phase, rm vuln. version
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.2 dev-python/pycadf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycadf/ChangeLog?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycadf/ChangeLog?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycadf/ChangeLog?r1=1.1&r2=1.2
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/pycadf/ChangeLog,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ChangeLog 21 Apr 2014 00:13:03 -0000 1.1
25 +++ ChangeLog 27 Jun 2014 10:53:30 -0000 1.2
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-python/pycadf
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pycadf/ChangeLog,v 1.1 2014/04/21 00:13:03 prometheanfire Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pycadf/ChangeLog,v 1.2 2014/06/27 10:53:30 idella4 Exp $
31 +
32 +*pycadf-0.5-r1 (27 Jun 2014)
33 +
34 + 27 Jun 2014; Ian Delaney <idella4@g.o> +files/CVE-2014-4615.patch,
35 + +pycadf-0.5-r1.ebuild, -pycadf-0.5.ebuild:
36 + sec. patch wrt Bug #515050, add IUSE, doc build, fix test phase, rm vuln.
37 + version
38
39 *pycadf-0.5 (21 Apr 2014)
40
41
42
43
44 1.1 dev-python/pycadf/pycadf-0.5-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycadf/pycadf-0.5-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pycadf/pycadf-0.5-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: pycadf-0.5-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/pycadf/pycadf-0.5-r1.ebuild,v 1.1 2014/06/27 10:53:30 idella4 Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python2_7 )
57
58 inherit distutils-r1
59
60 DESCRIPTION="python implementation of DMTF Cloud Audit (CADF) data model"
61 HOMEPAGE="https://pypi.python.org/pypi/pycadf"
62 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63
64 LICENSE="Apache-2.0"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc test"
68
69 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
70 >=dev-python/pbr-0.6[${PYTHON_USEDEP}]
71 <dev-python/pbr-1.0[${PYTHON_USEDEP}]
72 test? ( >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
73 <dev-python/sphinx-1.2[${PYTHON_USEDEP}]
74 dev-python/oslo-sphinx[${PYTHON_USEDEP}]
75 ~dev-python/docutils-0.9.1[${PYTHON_USEDEP}]
76 >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
77 <dev-python/hacking-0.9[${PYTHON_USEDEP}]
78 >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
79 dev-python/nose[${PYTHON_USEDEP}]
80 >=dev-python/mock-1.0[${PYTHON_USEDEP}]
81 >=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
82 >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
83 >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
84 >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
85 >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
86 >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] )
87 doc? ( dev-python/oslo-sphinx[${PYTHON_USEDEP}]
88 dev-python/sphinx[${PYTHON_USEDEP}] )"
89
90 RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
91 >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
92 >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
93 >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
94 >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
95 >=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}]
96 >=dev-python/pytz-2010h[${PYTHON_USEDEP}]
97 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
98 >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]"
99
100 PATCHES=( "${FILESDIR}"/CVE-2014-4615.patch )
101
102 python_prepare_all() {
103 # ? typo error in conf.py
104 sed -e s':oslosphinx:oslo.sphinx:' -i doc/source/conf.py || die
105 distutils-r1_python_prepare_all
106 }
107
108 python_compile_all() {
109 use doc && emake -C doc html
110 }
111
112 python_test() {
113 nosetests ${PN}/tests || die "test failed under ${EPYTHON}"
114 }
115
116 python_install_all() {
117 use doc && local HTML_DOCS=( doc/build/html/. )
118 distutils-r1_python_install_all
119 }