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.2.0-r1.ebuild ChangeLog python-swiftclient-2.2.0.ebuild
Date: Wed, 01 Apr 2015 19:00:01
Message-Id: 20150401185954.4BFF21501A@oystercatcher.gentoo.org
1 prometheanfire 15/04/01 18:59:53
2
3 Modified: ChangeLog
4 Added: python-swiftclient-2.2.0-r1.ebuild
5 Removed: python-swiftclient-2.2.0.ebuild
6 Log:
7 swiftclient supports py3.3
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)
10
11 Revision Changes Path
12 1.17 dev-python/python-swiftclient/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/ChangeLog?rev=1.17&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/ChangeLog?rev=1.17&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/ChangeLog?r1=1.16&r2=1.17
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/ChangeLog,v
21 retrieving revision 1.16
22 retrieving revision 1.17
23 diff -u -r1.16 -r1.17
24 --- ChangeLog 22 Jul 2014 23:26:51 -0000 1.16
25 +++ ChangeLog 1 Apr 2015 18:59:53 -0000 1.17
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.16 2014/07/22 23:26:51 prometheanfire Exp $
30 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/ChangeLog,v 1.17 2015/04/01 18:59:53 prometheanfire Exp $
32 +
33 +*python-swiftclient-2.2.0-r1 (01 Apr 2015)
34 +
35 + 01 Apr 2015; Matthew Thode <prometheanfire@g.o>
36 + +python-swiftclient-2.2.0-r1.ebuild, -python-swiftclient-2.2.0.ebuild:
37 + swiftclient supports py3.3
38
39 *python-swiftclient-2.2.0 (22 Jul 2014)
40
41
42
43
44 1.1 dev-python/python-swiftclient/python-swiftclient-2.2.0-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-2.2.0-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-2.2.0-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: python-swiftclient-2.2.0-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-swiftclient/python-swiftclient-2.2.0-r1.ebuild,v 1.1 2015/04/01 18:59:53 prometheanfire Exp $
54
55 EAPI=5
56 PYTHON_COMPAT=( python2_7 python3_3 )
57
58 inherit distutils-r1
59
60 DESCRIPTION="Python bindings to the OpenStack Object Storage API"
61 HOMEPAGE="https://launchpad.net/python-swiftclient"
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 ~amd64-linux ~x86-linux"
67 IUSE="doc test"
68
69 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
70 dev-python/pbr[${PYTHON_USEDEP}]
71 test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
72 >=dev-python/mock-1.0[${PYTHON_USEDEP}]
73 >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
74 >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
75 <dev-python/sphinx-1.2[${PYTHON_USEDEP}]
76 >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
77 >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
78 >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
79 <dev-python/hacking-0.9[${PYTHON_USEDEP}]
80 doc? ( >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
81 <dev-python/sphinx-1.2[${PYTHON_USEDEP}] ) )"
82 RDEPEND=">=dev-python/simplejson-2.0.9[${PYTHON_USEDEP}]
83 >=dev-python/requests-1.1[${PYTHON_USEDEP}]
84 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]"
85
86 #PATCHES=( "${FILESDIR}/CVE-2013-6396.patch" )
87
88 python_prepare() {
89 sed -i '/discover/d' "${S}/test-requirements.txt" || die "sed failed"
90 distutils-r1_python_prepare
91 }
92
93 python_compile_all() {
94 use doc && emake -C doc html
95 }
96
97 python_test() {
98 testr init
99 testr run || die "tests failed under python2_7"
100 flake8 tests && einfo "run of tests folder by flake8 passed"
101 flake8 bin/swift && einfo "run of ./bin/swift by flake8 passed"
102 }
103
104 python_install_all() {
105 use doc && local HTML_DOCS=( ../${P}-python2_7/doc/build/html/. )
106 distutils-r1_python_install_all
107 }