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/oslo-middleware/
Date: Thu, 06 Jul 2017 16:58:54
Message-Id: 1499360284.71052fd1bf47afc4f30c80aec98dfcebf112c5fd.prometheanfire@gentoo
1 commit: 71052fd1bf47afc4f30c80aec98dfcebf112c5fd
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 6 16:44:35 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 6 16:58:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71052fd1
7
8 dev-python/oslo-middleware: 3.23.2 bup
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/oslo-middleware/Manifest | 1 +
13 .../oslo-middleware/oslo-middleware-3.23.2.ebuild | 60 ++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-python/oslo-middleware/Manifest b/dev-python/oslo-middleware/Manifest
17 index d98b6be4a69..f3a281f0114 100644
18 --- a/dev-python/oslo-middleware/Manifest
19 +++ b/dev-python/oslo-middleware/Manifest
20 @@ -1 +1,2 @@
21 DIST oslo.middleware-3.23.1.tar.gz 52469 SHA256 fab9a0779ff196020875c7e47e6c36b9d6c9468063645b857e687114e70a8019 SHA512 155f88184216ef18a265b996973b616a3b7a9e52618d95235a396e099bcfb5f51a5dded8e1f039df4d648a0b779c8a6daab9d6b8ff091981c17524a8521ac72a WHIRLPOOL 683d78da63af0d68b6301aa718562cd29f8dc09511df53fb0394311bbda7727edadd975401f81e8ee5c6f35a4e9e8d636bd140b786fec4e7f9c3b0f0015f02e8
22 +DIST oslo.middleware-3.23.2.tar.gz 51645 SHA256 53363b5d92ac23378cfd872720f9dada29afb267c8b303d8910c3f5b6cb208a9 SHA512 0fbf97b3fd5ae69c72f42755cdfdba7dc70570763299cbdbf836b5ad0a70c692cb1249397ed6e6f9d843223f656e5814adcc80e19d283984851216ea7395de83 WHIRLPOOL ecb736218e0c571a2aa6e1f8d2ca5a088496bd06fbb54ff60f2e392fb0fd153b46dc46448136ae34b86276730d1edbcf24453cbc462aa23659e440116de730c6
23
24 diff --git a/dev-python/oslo-middleware/oslo-middleware-3.23.2.ebuild b/dev-python/oslo-middleware/oslo-middleware-3.23.2.ebuild
25 new file mode 100644
26 index 00000000000..9b958c92ba1
27 --- /dev/null
28 +++ b/dev-python/oslo-middleware/oslo-middleware-3.23.2.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Components injected into wsgi pipelines to intercept request/response flows."
39 +HOMEPAGE="https://pypi.python.org/pypi/oslo.middleware"
40 +SRC_URI="mirror://pypi/${PN:0:1}/oslo.middleware/oslo.middleware-${PV}.tar.gz"
41 +S="${WORKDIR}/oslo.middleware-${PV}"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86"
46 +IUSE="test"
47 +
48 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
49 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
50 + ${CDEPEND}
51 + test? (
52 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
53 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
55 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
56 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
57 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
58 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
59 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
60 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
61 + )"
62 +RDEPEND="
63 + ${CDEPEND}
64 + >=dev-python/jinja-2.8[${PYTHON_USEDEP}]
65 + !~dev-python/jinja-2.9.0[${PYTHON_USEDEP}]
66 + !~dev-python/jinja-2.9.1[${PYTHON_USEDEP}]
67 + !~dev-python/jinja-2.9.2[${PYTHON_USEDEP}]
68 + !~dev-python/jinja-2.9.3[${PYTHON_USEDEP}]
69 + !~dev-python/jinja-2.9.4[${PYTHON_USEDEP}]
70 + >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
71 + !~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
72 + >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}]
73 + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
74 + >=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
75 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
76 + >=dev-python/stevedore-1.17.1[${PYTHON_USEDEP}]
77 + >=dev-python/webob-1.6.0[${PYTHON_USEDEP}]
78 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
79 + >=dev-python/statsd-3.2.1[${PYTHON_USEDEP}]
80 +"
81 +
82 +python_prepare_all() {
83 + sed -i '/^hacking/d' test-requirements.txt || die
84 + distutils-r1_python_prepare_all
85 +}
86 +
87 +python_test() {
88 + nosetests tests/ || die "test failed under ${EPYTHON}"
89 +}