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-context/
Date: Sun, 27 Aug 2017 04:26:24
Message-Id: 1503807863.902591cf8ec60c9912632100ddac83978d794560.prometheanfire@gentoo
1 commit: 902591cf8ec60c9912632100ddac83978d794560
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 27 01:32:07 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 27 04:24:23 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902591cf
7
8 dev-python/oslo-context: 2.17.0 bup
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-python/oslo-context/Manifest | 1 +
13 dev-python/oslo-context/oslo-context-2.17.0.ebuild | 49 ++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/oslo-context/Manifest b/dev-python/oslo-context/Manifest
17 index c0f849a3774..4b6fc777e84 100644
18 --- a/dev-python/oslo-context/Manifest
19 +++ b/dev-python/oslo-context/Manifest
20 @@ -1 +1,2 @@
21 DIST oslo.context-2.12.2.tar.gz 26860 SHA256 36decf5f8bd72a986d58c2e603c2e0d96d31da4283f2fbc145c6804113b86f64 SHA512 752d2e9744fbf94d23d6cc3205f3b4974d440bf71ab885de2feea3e706ed93b771b50df264c754cc8f6882f8526de0318cb3d1fc07a28a872f4b02e59118af98 WHIRLPOOL e54612a8fda6ee4a07ad603f54356f6bf5aa8bedcd11f9faaf88ff7f98ef79b0407dc50d9295b8131375fbc4916b5915096ce97a142a2c8c06eb9345749483e6
22 +DIST oslo.context-2.17.0.tar.gz 27756 SHA256 e4c2080dd4767a843f8f3c287e24f89bc749ec7cac34fa6ec2b4de3b1bff9085 SHA512 158ccfb5517f2e4521d9be0b4864b2f6cc491f2dc00b479ea6314892b24b0293fe1e5e654d1503b73f992d011bf79c0b3c5b1f7b69dc7d32549a8327897957ae WHIRLPOOL e48de23e16422c34b229c74d1d0b789f5db6ed43c3c8ec0db43ebc1b3e8e4ecb1edc22df2ce23e5d83c8c5fd1e01dd228d6b40f7acf44947a234ad9663a4f3c2
23
24 diff --git a/dev-python/oslo-context/oslo-context-2.17.0.ebuild b/dev-python/oslo-context/oslo-context-2.17.0.ebuild
25 new file mode 100644
26 index 00000000000..14c2209fa7f
27 --- /dev/null
28 +++ b/dev-python/oslo-context/oslo-context-2.17.0.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{2_7,3_{4,5}} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Helpers to maintain useful information about a request context"
40 +HOMEPAGE="https://pypi.python.org/pypi/oslo.context"
41 +SRC_URI="mirror://pypi/${PN:0:1}/oslo.context/oslo.context-${PV}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86"
46 +IUSE="test"
47 +
48 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
49 + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
50 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
51 + ${CDEPEND}
52 + test? (
53 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
55 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
56 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
57 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
58 + >=dev-python/openstackdocstheme-1.11.0[${PYTHON_USEDEP}]
59 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
60 + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
61 + )"
62 +RDEPEND="
63 + ${CDEPEND}
64 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
65 + >=dev-python/positional-1.1.1[${PYTHON_USEDEP}]
66 +"
67 +
68 +S="${WORKDIR}/oslo.context-${PV}"
69 +
70 +python_prepare_all() {
71 + sed -i '/^hacking/d' test-requirements.txt || die
72 + distutils-r1_python_prepare_all
73 +}
74 +
75 +# This time half the doc files are missing; Do you want them?
76 +python_test() {
77 + nosetests tests/ || die "test failed under ${EPYTHON}"
78 +}