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-swiftclient: python-swiftclient-2.1.0.ebuild ChangeLog python-swiftclient-1.9.0.ebuild
Date: Tue, 08 Jul 2014 16:20:13
Message-Id: 20140708162008.4668D2004E@flycatcher.gentoo.org
1 prometheanfire 14/07/08 16:20:08
2
3 Modified: ChangeLog
4 Added: python-swiftclient-2.1.0.ebuild
5 Removed: python-swiftclient-1.9.0.ebuild
6 Log:
7 removing bad versions for bug 491368 CVE-2013-6396 and bumping to 2.1.0
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.15 dev-python/python-swiftclient/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/ChangeLog?rev=1.15&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/ChangeLog?rev=1.15&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/ChangeLog?r1=1.14&r2=1.15
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/ChangeLog,v
21 retrieving revision 1.14
22 retrieving revision 1.15
23 diff -u -r1.14 -r1.15
24 --- ChangeLog 27 Apr 2014 05:34:59 -0000 1.14
25 +++ ChangeLog 8 Jul 2014 16:20:08 -0000 1.15
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/python-swiftclient
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/ChangeLog,v 1.14 2014/04/27 05:34:59 prometheanfire Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/ChangeLog,v 1.15 2014/07/08 16:20:08 prometheanfire Exp $
31 +
32 +*python-swiftclient-2.1.0 (08 Jul 2014)
33 +
34 + 08 Jul 2014; Matthew Thode <prometheanfire@g.o>
35 + +python-swiftclient-2.1.0.ebuild, -python-swiftclient-1.9.0.ebuild:
36 + removing bad versions for bug 491368 CVE-2013-6396 and bumping to 2.1.0
37
38 27 Apr 2014; Matthew Thode <prometheanfire@g.o>
39 -python-swiftclient-1.3.0.ebuild, -python-swiftclient-1.5.0.ebuild,
40
41
42
43 1.1 dev-python/python-swiftclient/python-swiftclient-2.1.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-2.1.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-2.1.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: python-swiftclient-2.1.0.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-swiftclient/python-swiftclient-2.1.0.ebuild,v 1.1 2014/07/08 16:20:08 prometheanfire Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit distutils-r1
58
59 DESCRIPTION="Python bindings to the OpenStack Object Storage API"
60 HOMEPAGE="https://launchpad.net/python-swiftclient"
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
68 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
69 dev-python/pbr[${PYTHON_USEDEP}]
70 test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
71 >=dev-python/mock-1.0[${PYTHON_USEDEP}]
72 >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
73 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
74 >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
75 >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
76 >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
77 <dev-python/hacking-0.9[${PYTHON_USEDEP}]
78 doc? ( >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
79 <dev-python/sphinx-1.2[${PYTHON_USEDEP}] ) )"
80 RDEPEND=">=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
81 >=dev-python/requests-1.1[${PYTHON_USEDEP}]
82 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]"
83
84 #PATCHES=( "${FILESDIR}/CVE-2013-6396.patch" )
85
86 python_prepare() {
87 sed -i '/discover/d' "${S}/test-requirements.txt" || die "sed failed"
88 distutils-r1_python_prepare
89 }
90
91 python_compile_all() {
92 use doc && emake -C doc html
93 }
94
95 python_test() {
96 testr init
97 testr run || die "tests failed under python2_7"
98 flake8 tests && einfo "run of tests folder by flake8 passed"
99 flake8 bin/swift && einfo "run of ./bin/swift by flake8 passed"
100 }
101
102 python_install_all() {
103 use doc && local HTML_DOCS=( ../${P}-python2_7/doc/build/html/. )
104 distutils-r1_python_install_all
105 }