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/python-keystoneclient/
Date: Thu, 03 Mar 2016 15:28:01
Message-Id: 1457018838.23ef560502d2b5c0f20cc216a62f6a16febff1fb.prometheanfire@gentoo
1 commit: 23ef560502d2b5c0f20cc216a62f6a16febff1fb
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 3 15:16:23 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 3 15:27:18 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ef5605
7
8 dev-python/python-keystoneclient: bup
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/python-keystoneclient/Manifest | 1 +
13 .../python-keystoneclient-1.7.4.ebuild | 99 ++++++++++++++++++++++
14 2 files changed, 100 insertions(+)
15
16 diff --git a/dev-python/python-keystoneclient/Manifest b/dev-python/python-keystoneclient/Manifest
17 index 811902e..fce3403 100644
18 --- a/dev-python/python-keystoneclient/Manifest
19 +++ b/dev-python/python-keystoneclient/Manifest
20 @@ -1,3 +1,4 @@
21 DIST python-keystoneclient-1.3.1.tar.gz 338187 SHA256 8a421dbdf01251119164bf6baa0ef78b261e5dd4d3508748e47b77d7652e7e92 SHA512 d11825b717d0aeec67d4dfb0382173ee834fe3dea2097b8ff9505b86bb08a5579d6fe87509d65022d4436a3a1b4d20f2a877ece3160b53979999495b77df0f08 WHIRLPOOL 9aa0af722f56eb4d98d7efb8a35b1db95207970fba0b32496a9ae4593a16471f976efe1e9bb3690106ec0f5a76b5a744e9177cc7c03d9ffe9ed54111e3bb138c
22 DIST python-keystoneclient-1.3.2.tar.gz 342434 SHA256 1b2fd5ceeefd8d75ee749acd2c3dd8805c833c89828075b814392069cd5ae1eb SHA512 4cd986c42256fbc366b81c07ab637fe81358dde530a8e9a5b3f59f4deef5d56fb1799fc82d35a3f04d3e3b810c94bfc21235e93a77c925d235322aeaa20e420c WHIRLPOOL 65b776c928126f92108c1585658a10b89e6563ff8e71f8f249fdb86e11b29811de12b17ddddb39845d66ff9533ae44d93148bd811d1e31577092c3b598348c03
23 DIST python-keystoneclient-1.7.3.tar.gz 355578 SHA256 805a317c92cd8700a4733ee80f383b2187de75aeb8e9895015799628df97c68f SHA512 36682247de6c6afee2e0cdf35115b4e6adc4bafef05311337e3299f97a8608a967ca537e8aeaea2e030344a7a8a103c627ff7d118c96c75ac1d169e1bc53d1af WHIRLPOOL 91f6744ea96f8343f1e6665e6db4159fa7d48e9cbc891a8c14aa5bd2165437f9d242f3ee9c960502fda0e26ab1669abec4b32f12be1c79626fe67f6bf25c2137
24 +DIST python-keystoneclient-1.7.4.tar.gz 356596 SHA256 0bcf562831c4552851f1fa5562f068efd339186a746baae1786498917dc78803 SHA512 c5190e874804baa41f7a4f816eaf974dea943dfbf008a0c66893113168747ffd3910a87dc63edce7f6d4b52ceb5f6f255383a2d88d79a50f4d75d337b3421b46 WHIRLPOOL 172193536486edac34c709355e09e0a1eba9e794f483134c4fa1c33d965f26c573012bc60006dbe707f4267b4f807fade509d67ab56cde3d0285e0cf5a9e0831
25
26 diff --git a/dev-python/python-keystoneclient/python-keystoneclient-1.7.4.ebuild b/dev-python/python-keystoneclient/python-keystoneclient-1.7.4.ebuild
27 new file mode 100644
28 index 0000000..10b2648
29 --- /dev/null
30 +++ b/dev-python/python-keystoneclient/python-keystoneclient-1.7.4.ebuild
31 @@ -0,0 +1,99 @@
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 +
38 +PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Client Library for OpenStack Identity"
43 +HOMEPAGE="http://www.openstack.org/"
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 +# Note: blacklist version not in portage:
52 +#doc? ( !~dev-python/sphinx-1.3_preb1[${PYTHON_USEDEP}] )
53 +
54 +CDEPEND="
55 + >=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
56 +TCDEPEND="
57 + >=dev-python/lxml-2.3[${PYTHON_USEDEP}]
58 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
59 + >=dev-python/requests-mock-0.6.0[${PYTHON_USEDEP}]
60 + >=dev-python/tempest-lib-0.8.0[${PYTHON_USEDEP}]
61 + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
62 + >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
63 + >=dev-python/bandit-0.13.2[${PYTHON_USEDEP}]
64 +"
65 +DEPEND="
66 + dev-python/setuptools[${PYTHON_USEDEP}]
67 + ${CDEPEND}
68 + test? (
69 + ${TCDEPEND}
70 + >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
71 + >=dev-python/keyring-2.1[${PYTHON_USEDEP}]
72 + !~dev-python/keyring-3.3[${PYTHON_USEDEP}]
73 + >=dev-python/oauthlib-0.6[${PYTHON_USEDEP}]
74 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
75 + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
76 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
77 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
78 + )
79 + doc? (
80 + ${TCDEPEND}
81 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
82 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
83 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
84 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
85 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
86 + )
87 +"
88 +RDEPEND="
89 + ${CDEPEND}
90 + >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
91 + >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
92 + >=dev-python/debtcollector-0.3.0[${PYTHON_USEDEP}]
93 + >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
94 + !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
95 + >=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
96 + >=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
97 + >=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
98 + >=dev-python/oslo-utils-2.0.0[${PYTHON_USEDEP}]
99 + !~dev-python/oslo-utils-2.6.0[${PYTHON_USEDEP}]
100 + >=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
101 + <dev-python/prettytable-0.8[${PYTHON_USEDEP}]
102 + >=dev-python/requests-2.5.2[${PYTHON_USEDEP}]
103 + !~dev-python/requests-2.8.0[${PYTHON_USEDEP}]
104 + !~dev-python/requests-2.9.0[${PYTHON_USEDEP}]
105 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
106 + >=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}]
107 +"
108 +PATCHES=(
109 +)
110 +
111 +python_prepare_all() {
112 + use doc && esetup.py build_sphinx
113 + sed -i '/^argparse/d' requirements.txt || die
114 + sed -i '/^hacking/d' test-requirements.txt || die
115 + distutils-r1_python_prepare_all
116 +}
117 +
118 +python_test() {
119 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
120 +
121 + testr init || die "testr init failed under ${EPYTHON}"
122 + testr run || die "testr run failed under ${EPYTHON}"
123 +}
124 +
125 +python_install_all() {
126 + use doc && local HTML_DOCS=( doc/build/html/. )
127 + use examples && local EXAMPLES=( examples/. )
128 +
129 + distutils-r1_python_install_all
130 +}