Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/keystonemiddleware/
Date: Thu, 03 Mar 2016 15:28:01
Message-Id: 1457018845.d8957deb83ba9521b823db97d58bc91fb7f07ebc.prometheanfire@gentoo
1 commit: d8957deb83ba9521b823db97d58bc91fb7f07ebc
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 3 15:21:02 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 3 15:27:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8957deb
7
8 dev-python/keystonemiddleware: bup
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/keystonemiddleware/Manifest | 1 +
13 .../keystonemiddleware-2.3.3.ebuild | 94 ++++++++++++++++++++++
14 2 files changed, 95 insertions(+)
15
16 diff --git a/dev-python/keystonemiddleware/Manifest b/dev-python/keystonemiddleware/Manifest
17 index e58a1e9..d99b9c1 100644
18 --- a/dev-python/keystonemiddleware/Manifest
19 +++ b/dev-python/keystonemiddleware/Manifest
20 @@ -3,3 +3,4 @@ DIST keystonemiddleware-1.5.2.tar.gz 176172 SHA256 5f443162157946d2f33c4729d0bde
21 DIST keystonemiddleware-2.2.0.tar.gz 179743 SHA256 e3fca3fdc093d7fd3817bbd767faca7f0aa221b54155808694eb1286fae469f9 SHA512 9aa498aa0bceec1774c70dc7fc4ce8c398e72721d33e715594b3396e160f9b60dfc3533687f0706eb272abd812b44d31b2a76fece739a2ccad33039b37f3fca5 WHIRLPOOL a1b348e3e2f004038afa6b2b06d018d2e1130af1b2eb0e5740ea6a716dabaa98fe7a58cfd6e5100e5cdd6c7297fb150f4d9cc45dd8c831b7ca54a265b0d56662
22 DIST keystonemiddleware-2.3.1.tar.gz 181764 SHA256 9970f8187cb0a91cb2d78ef9a088147b2c9457653e95caa7b8bcd11bd450bec1 SHA512 976aece1d308607eec6f406bb94f1e6dddc27edebc8d99bd7bc00dfbc1f21479da2c76404a99eb677e6647afd42f68b82d6f519659d7483db6fa9d68f839cf5f WHIRLPOOL e6a568e7c96886907eaeba9bc843833ffece8f441bfbe760b77c597c38a5a2720b702a527830d61f07bf0e3adbe4a90d6198b97b487ca08c3e4829058f7e0ef4
23 DIST keystonemiddleware-2.3.2.tar.gz 180429 SHA256 ba4a3bc6224d8ba85319741034d3c6f0c569096e38c6f75a5f044b1c742feeb3 SHA512 ef3a36cd8daa2456b960b9677f06d3753ed3eb7bad83b5d32a1fb2e69239237a495649b5c8138b92b1ab2b6b8e7a8db9e1d02dd7c595962f82681c478e5dfb78 WHIRLPOOL 846b4efdb61a0680d6a71cfe7605c88c3e908c0391b974ba6517c0122a2720bbc5b8990c41907a306ace5d0d25f9362260acc44dfd8e7c9e8dcf6b19213fcda8
24 +DIST keystonemiddleware-2.3.3.tar.gz 185140 SHA256 3a71fdd81d835dbf95086df29bed4f72a05f6588a193ee207877cdb954b9d155 SHA512 cc5a9d5d7411e59471993deff33e71198fe0124252f668e01dc32f84dd2cec56a3256c3a1f05c5f9ed15c25598472fce79a26809ed34123ad10fb90aa8bfde7a WHIRLPOOL 88cf95922b4f32e673b0c77ee95a4effc2f0a65aa3118d5e49c0f25ba83e356bd1af4aa05efe71dc69c1bc3453fea132eab3c53d24815edf1aebcebe01beeaa2
25
26 diff --git a/dev-python/keystonemiddleware/keystonemiddleware-2.3.3.ebuild b/dev-python/keystonemiddleware/keystonemiddleware-2.3.3.ebuild
27 new file mode 100644
28 index 0000000..f390759
29 --- /dev/null
30 +++ b/dev-python/keystonemiddleware/keystonemiddleware-2.3.3.ebuild
31 @@ -0,0 +1,94 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +#PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
38 +PYTHON_COMPAT=( python2_7 python3_4 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A middleware for the OpenStack Keystone API"
43 +HOMEPAGE="https://github.com/openstack/keystonemiddleware"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
49 +IUSE="doc examples test"
50 +
51 +CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
52 +DEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + ${CDEPEND}
55 + test? (
56 + >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
57 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
58 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
59 + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
60 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
61 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
62 + >=dev-python/oslo-messaging-1.16.0[${PYTHON_USEDEP}]
63 + !~dev-python/oslo-messaging-1.17.0[${PYTHON_USEDEP}]
64 + !~dev-python/oslo-messaging-1.17.1[${PYTHON_USEDEP}]
65 + !~dev-python/oslo-messaging-2.6.0[${PYTHON_USEDEP}]
66 + !~dev-python/oslo-messaging-2.6.1[${PYTHON_USEDEP}]
67 + !~dev-python/oslo-messaging-2.7.0[${PYTHON_USEDEP}]
68 + !~dev-python/oslo-messaging-2.8.0[${PYTHON_USEDEP}]
69 + !~dev-python/oslo-messaging-2.8.1[${PYTHON_USEDEP}]
70 + !~dev-python/oslo-messaging-2.9.0[${PYTHON_USEDEP}]
71 + !~dev-python/oslo-messaging-3.1.0[${PYTHON_USEDEP}]
72 + >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
73 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
74 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
75 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
76 + >=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]
77 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
78 + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
79 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
80 + >=dev-python/python-memcached-1.56[${PYTHON_USEDEP}]
81 + >=dev-python/bandit-0.13.2[${PYTHON_USEDEP}]
82 + )"
83 +
84 +RDEPEND="
85 + ${CDEPEND}
86 + >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
87 + >=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
88 + >=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}]
89 + >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
90 + >=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
91 + >=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
92 + !~dev-python/oslo-utils-2.6.0[${PYTHON_USEDEP}]
93 + >=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}]
94 + >=dev-python/python-keystoneclient-1.6.0[${PYTHON_USEDEP}]
95 + !~dev-python/python-keystoneclient-1.8.0[${PYTHON_USEDEP}]
96 + >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
97 + !~dev-python/requests-2.8.0[${PYTHON_USEDEP}]
98 + !~dev-python/requests-2.9.0[${PYTHON_USEDEP}]
99 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
100 + >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]"
101 +
102 +PATCHES=(
103 + "${FILESDIR}/CVE-2015-7546_2.3.2.patch"
104 +)
105 +
106 +python_prepare_all() {
107 + sed -i '/^hacking/d' test-requirements.txt || die
108 + distutils-r1_python_prepare_all
109 +}
110 +
111 +python_compile_all() {
112 + use doc && emake -C doc html
113 +}
114 +
115 +python_test() {
116 + testr init
117 + testr run || die "testsuite failed under python2.7"
118 + flake8 ${PN/python-/}/tests || die "run over tests folder by flake8 drew error"
119 +}
120 +
121 +python_install_all() {
122 + use doc && local HTML_DOCS=( doc/build/html/. )
123 + use examples && local EXAMPLES=( examples/.)
124 + distutils-r1_python_install_all
125 +}