Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-openstack-auth/
Date: Sun, 04 Jun 2017 07:30:44
Message-Id: 1496561422.8a8d9054e5a7ad7078d08ae62a5c13e791465c7d.jlec@gentoo
1 commit: 8a8d9054e5a7ad7078d08ae62a5c13e791465c7d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 4 07:30:09 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 4 07:30:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a8d9054
7
8 dev-python/django-openstack-auth: Version Bump
9
10 drop old
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.2
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 dev-python/django-openstack-auth/Manifest | 2 +-
16 .../django-openstack-auth-1.3.1.ebuild | 65 -------------------
17 .../django-openstack-auth-3.2.0.ebuild | 75 ++++++++++++++++++++++
18 3 files changed, 76 insertions(+), 66 deletions(-)
19
20 diff --git a/dev-python/django-openstack-auth/Manifest b/dev-python/django-openstack-auth/Manifest
21 index 1f4605cd0d3..ec83ae99768 100644
22 --- a/dev-python/django-openstack-auth/Manifest
23 +++ b/dev-python/django-openstack-auth/Manifest
24 @@ -1 +1 @@
25 -DIST django_openstack_auth-1.3.1.tar.gz 75165 SHA256 99c6e92170656eade430d31f79ddf60e66355ff7b84caf038ab1ecc879cff9ba SHA512 cf9b4a1c526f237a23dadab4a7e6a2bd1f80a8d6d89d9b83f4d0fb6fc4df80aba68ad344662fbeaddeca2ca8ec36856af1074da383368d85d56460ed199609aa WHIRLPOOL b99b9381ce9eb1357939b750a40f86373fcbbe411d90a23e15f2d1e77dcfab45e58ac69e4e774228dc1b0dc3d3a0649e451efc0f271e904a4241b06c80b4d8bd
26 +DIST django_openstack_auth-3.2.0.tar.gz 69837 SHA256 e2a2970ddc73504afab477784c81f57c8c5c81daba55b0df30e1908acf5dd052 SHA512 43e8d19d73c934935f73b6dcb5a5ffbb0ca49c2c7dc892cadd9a04af94091e39bf35f1833d33474f7aeee9a94040424f6ee43c5fd355d8ad971c0b4ff971d4de WHIRLPOOL c7f3ca7a9ff016c8e8043d9a63f9092cb302b2db7b8c50d3d89b7384ace4a7e3a6dc9d594cc9f8e9993eafbdd91b01cd7e90a0a9caa3c987526f2c3b8a655802
27
28 diff --git a/dev-python/django-openstack-auth/django-openstack-auth-1.3.1.ebuild b/dev-python/django-openstack-auth/django-openstack-auth-1.3.1.ebuild
29 deleted file mode 100644
30 index 51d681d06a7..00000000000
31 --- a/dev-python/django-openstack-auth/django-openstack-auth-1.3.1.ebuild
32 +++ /dev/null
33 @@ -1,65 +0,0 @@
34 -# Copyright 1999-2015 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Django authentication backend for use with OpenStack Keystone Identity backend"
43 -HOMEPAGE="http://django_openstack_auth.readthedocs.org/"
44 -SRC_URI="mirror://pypi/${PN:0:1}/django_openstack_auth/django_openstack_auth-${PV}.tar.gz"
45 -S="${WORKDIR}/django_openstack_auth-${PV}"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="doc test"
51 -
52 -CDEPEND=">=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
53 - !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
54 - >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
55 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
56 - >=dev-python/pbr-0.11[${PYTHON_USEDEP}]
57 - <dev-python/pbr-2.0[${PYTHON_USEDEP}]
58 - test? (
59 - >=dev-python/hacking-0.10.0[${PYTHON_USEDEP}]
60 - <dev-python/hacking-0.11[${PYTHON_USEDEP}]
61 - >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
62 - >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
63 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
64 - >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
65 - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] )
66 - ${CDEPEND}
67 - doc? ( ${CDEPEND} )"
68 -RDEPEND="
69 - >=dev-python/django-1.4.2[${PYTHON_USEDEP}]
70 - <dev-python/django-1.8[${PYTHON_USEDEP}]
71 - >=dev-python/oslo-config-1.11.0[${PYTHON_USEDEP}]
72 - >=dev-python/python-keystoneclient-1.3.0[${PYTHON_USEDEP}]
73 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
74 -
75 -python_prepare_all() {
76 - # Avoid warning in doc build due to missed file
77 - if use doc; then
78 - mkdir doc/source/_static || die
79 - fi
80 - distutils-r1_python_prepare_all
81 -}
82 -
83 -python_compile_all() {
84 - # under sphinx-1.3.1 the build outputs a harmless warning about change of
85 - # html_theme setting in conf.py. priot versions will have the right setting
86 - if use doc; then
87 - sphinx-build -b html -c doc/source/ doc/source/ doc/source/html || die
88 - fi
89 -}
90 -
91 -python_test() {
92 - "${PYTHON}" -m openstack_auth.tests.run_tests || die "Testsuite failed"
93 -}
94 -
95 -python_install_all() {
96 - use doc && local HTML_DOCS=( doc/source/html/. )
97 - distutils-r1_python_install_all
98 -}
99
100 diff --git a/dev-python/django-openstack-auth/django-openstack-auth-3.2.0.ebuild b/dev-python/django-openstack-auth/django-openstack-auth-3.2.0.ebuild
101 new file mode 100644
102 index 00000000000..9c8336ae276
103 --- /dev/null
104 +++ b/dev-python/django-openstack-auth/django-openstack-auth-3.2.0.ebuild
105 @@ -0,0 +1,75 @@
106 +# Copyright 1999-2017 Gentoo Foundation
107 +# Distributed under the terms of the GNU General Public License v2
108 +
109 +EAPI=6
110 +
111 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
112 +
113 +inherit distutils-r1
114 +
115 +MY_PN=${PN//-/_}
116 +MY_P="${MY_PN}-${PV}"
117 +
118 +DESCRIPTION="Django authentication backend for use with OpenStack Keystone Identity backend"
119 +HOMEPAGE="http://django_openstack_auth.readthedocs.org/"
120 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
121 +
122 +LICENSE="BSD"
123 +SLOT="0"
124 +KEYWORDS="~amd64 ~x86"
125 +IUSE="doc test"
126 +
127 +CDEPEND="
128 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
129 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
130 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]"
131 +
132 +DEPEND="
133 + dev-python/setuptools[${PYTHON_USEDEP}]
134 + >=dev-python/pbr-2.0[${PYTHON_USEDEP}]
135 + test? (
136 + >=dev-python/hacking-0.12.0[${PYTHON_USEDEP}]
137 + <dev-python/hacking-0.14[${PYTHON_USEDEP}]
138 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
139 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
140 + >=dev-python/mock-2.0[${PYTHON_USEDEP}]
141 + >=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
142 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] )
143 + ${CDEPEND}
144 + doc? ( ${CDEPEND} )
145 + "
146 +RDEPEND="
147 + >=dev-python/django-1.8[${PYTHON_USEDEP}]
148 + <dev-python/django-1.10[${PYTHON_USEDEP}]
149 + >=dev-python/oslo-config-3.22.0[${PYTHON_USEDEP}]
150 + >=dev-python/oslo-policy-1.17.0[${PYTHON_USEDEP}]
151 + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
152 + >=dev-python/keystoneauth-2.20.0[${PYTHON_USEDEP}]
153 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
154 +
155 +S="${WORKDIR}/${MY_P}"
156 +
157 +python_prepare_all() {
158 + # Avoid warning in doc build due to missed file
159 + if use doc; then
160 + mkdir doc/source/_static || die
161 + fi
162 + distutils-r1_python_prepare_all
163 +}
164 +
165 +python_compile_all() {
166 + # under sphinx-1.3.1 the build outputs a harmless warning about change of
167 + # html_theme setting in conf.py. priot versions will have the right setting
168 + if use doc; then
169 + sphinx-build -b html -c doc/source/ doc/source/ doc/source/html || die
170 + fi
171 +}
172 +
173 +python_test() {
174 + "${PYTHON}" -m openstack_auth.tests.run_tests || die "Testsuite failed"
175 +}
176 +
177 +python_install_all() {
178 + use doc && local HTML_DOCS=( doc/source/html/. )
179 + distutils-r1_python_install_all
180 +}