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: Mon, 27 Feb 2017 02:16:50
Message-Id: 1488161717.2b970b6d439bbd0f2d9607c830de0b1b87d1348e.prometheanfire@gentoo
1 commit: 2b970b6d439bbd0f2d9607c830de0b1b87d1348e
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 01:26:47 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 02:15:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b970b6d
7
8 dev-python/keystonemiddleware: bup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/keystonemiddleware/Manifest | 1 +
13 .../keystonemiddleware-4.14.0.ebuild | 84 ++++++++++++++++++++++
14 2 files changed, 85 insertions(+)
15
16 diff --git a/dev-python/keystonemiddleware/Manifest b/dev-python/keystonemiddleware/Manifest
17 index 74404c7a0b..45b510fa23 100644
18 --- a/dev-python/keystonemiddleware/Manifest
19 +++ b/dev-python/keystonemiddleware/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST keystonemiddleware-4.14.0.tar.gz 203369 SHA256 83bc4ec27983a496e3aad73440759aee47b258cc2a365cdd9c11082b7c1b3cfc SHA512 c221c59a865fb8d958ddf2f6b112465f6a66d499f7598becf7bf1dde6ad00675dc118ee353502452c640cfb5fa8d1029125ea912f69c1da3bc6f894387fed8af WHIRLPOOL 4397e940550155ce1a92c44e9bd6ee0bd0741323e02f746845c12cb5653d19c727c03058455a495c672fdff65244f7f7fbba0ff5771a44223a2c138b81e69134
22 DIST keystonemiddleware-4.4.1.tar.gz 194711 SHA256 dff35f0e4acb77f34c9c880bd4f456bbe26a1c4701815d82e8c27ff74a5dfb52 SHA512 c04383836740222d49324cb5f25f8b156424abaa74ac9482a2deb2e1d54cc6d990a864451a075bc12c3d7d38da7235f236e8a8cfb4c3748953c14a4505eeb99f WHIRLPOOL 76a96e6140752cd8eb1d060591c5dec1181abf873c82595be89d9597e3c3e5d3344739fab6b8d0058ae2ab47863e5169d4bbcb4a83f46a24dea042c0ccfac8d0
23 DIST keystonemiddleware-4.9.1.tar.gz 196430 SHA256 93fa012c70b2ac5773ecf7185ef94a224ca70a32728ad7d07cf12540f507043b SHA512 baff23d86e8157a465646a23fba873739fe019319873d7385ba5ef843c4546d14919913648075122e56a3805f03b91b2a1b03c3206bcbd05a3540a58925a1d01 WHIRLPOOL 6103d6621bce0020672ef7a04d5191be9eb876ae0fc279e83402655136f8e132fa4aaaffcab06f789dbd73a3f9246ef567d6c5dc77b7c3b14e6760a3cf857f2f
24
25 diff --git a/dev-python/keystonemiddleware/keystonemiddleware-4.14.0.ebuild b/dev-python/keystonemiddleware/keystonemiddleware-4.14.0.ebuild
26 new file mode 100644
27 index 0000000000..c8afb45fcc
28 --- /dev/null
29 +++ b/dev-python/keystonemiddleware/keystonemiddleware-4.14.0.ebuild
30 @@ -0,0 +1,84 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A middleware for the OpenStack Keystone API"
40 +HOMEPAGE="https://github.com/openstack/keystonemiddleware"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
46 +IUSE="doc examples test"
47 +
48 +CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
49 +DEPEND="
50 + dev-python/setuptools[${PYTHON_USEDEP}]
51 + ${CDEPEND}
52 + test? (
53 + >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
54 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
55 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
56 + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
57 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
58 + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
59 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
60 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
61 + >=dev-python/requests-mock-1.0.0[${PYTHON_USEDEP}]
62 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
63 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
64 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
65 + >=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}]
66 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
67 + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
68 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
69 + >=dev-python/python-memcached-1.56[${PYTHON_USEDEP}]
70 + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
71 + )"
72 +
73 +RDEPEND="
74 + ${CDEPEND}
75 + >=dev-python/keystoneauth-2.17.0[${PYTHON_USEDEP}]
76 + >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
77 + !~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
78 + >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}]
79 + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
80 + >=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}]
81 + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
82 + >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
83 + >=dev-python/positional-1.1.1[${PYTHON_USEDEP}]
84 + >=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}]
85 + !~dev-python/pycadf-2.0.0[${PYTHON_USEDEP}]
86 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
87 + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
88 + !~dev-python/requests-2.12.0[${PYTHON_USEDEP}]
89 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
90 + >=dev-python/webob-1.6.0[${PYTHON_USEDEP}]"
91 +
92 +PATCHES=(
93 +)
94 +
95 +python_prepare_all() {
96 + sed -i '/^hacking/d' test-requirements.txt || die
97 + distutils-r1_python_prepare_all
98 +}
99 +
100 +python_compile_all() {
101 + use doc && emake -C doc html
102 +}
103 +
104 +python_test() {
105 + testr init
106 + testr run || die "testsuite failed under python2.7"
107 + flake8 ${PN/python-/}/tests || die "run over tests folder by flake8 drew error"
108 +}
109 +
110 +python_install_all() {
111 + use doc && local HTML_DOCS=( doc/build/html/. )
112 + use examples && local EXAMPLES=( examples/.)
113 + distutils-r1_python_install_all
114 +}