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: Thu, 06 Jul 2017 16:58:55
Message-Id: 1499360278.ef94747c7b56ada11db85aca365dd6bbc8e820bb.prometheanfire@gentoo
1 commit: ef94747c7b56ada11db85aca365dd6bbc8e820bb
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 6 16:40:10 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 6 16:57:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef94747c
7
8 dev-python/oslo-context: 2.12.2 bup
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/oslo-context/Manifest | 1 +
13 dev-python/oslo-context/oslo-context-2.12.2.ebuild | 47 ++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/oslo-context/Manifest b/dev-python/oslo-context/Manifest
17 index bb981283ff1..9d462ab902c 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.1.tar.gz 25879 SHA256 e257c5962928c564ad323a436703733662b39e45d4892d5aff3f290e89e95b94 SHA512 075f402786dfe0e153c0fe21f2a2a8a2099cc2451a6f891fef00e0fd460f9f39220d390c9ae7ba0515a3ad79a94a1b2288c65029aea8f5e7481f8fe181d877b4 WHIRLPOOL 9df270cd41bc2067dcbbba4312fd60682a4f2a5f461d61c80d4b5d5e19a4b1c691c08e8bd34d581e89e4998760f950cc7e8964d04a23c6188cf906892623c55b
22 +DIST oslo.context-2.12.2.tar.gz 26860 SHA256 36decf5f8bd72a986d58c2e603c2e0d96d31da4283f2fbc145c6804113b86f64 SHA512 752d2e9744fbf94d23d6cc3205f3b4974d440bf71ab885de2feea3e706ed93b771b50df264c754cc8f6882f8526de0318cb3d1fc07a28a872f4b02e59118af98 WHIRLPOOL e54612a8fda6ee4a07ad603f54356f6bf5aa8bedcd11f9faaf88ff7f98ef79b0407dc50d9295b8131375fbc4916b5915096ce97a142a2c8c06eb9345749483e6
23
24 diff --git a/dev-python/oslo-context/oslo-context-2.12.2.ebuild b/dev-python/oslo-context/oslo-context-2.12.2.ebuild
25 new file mode 100644
26 index 00000000000..87096c97748
27 --- /dev/null
28 +++ b/dev-python/oslo-context/oslo-context-2.12.2.ebuild
29 @@ -0,0 +1,47 @@
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-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/oslotest-1.10.0[${PYTHON_USEDEP}]
54 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
55 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
56 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
57 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
58 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
59 + )"
60 +RDEPEND="
61 + ${CDEPEND}
62 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
63 + >=dev-python/positional-1.1.1[${PYTHON_USEDEP}]
64 +"
65 +
66 +S="${WORKDIR}/oslo.context-${PV}"
67 +
68 +python_prepare_all() {
69 + sed -i '/^hacking/d' test-requirements.txt || die
70 + distutils-r1_python_prepare_all
71 +}
72 +
73 +# This time half the doc files are missing; Do you want them?
74 +python_test() {
75 + nosetests tests/ || die "test failed under ${EPYTHON}"
76 +}