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/stevedore/
Date: Fri, 16 Feb 2018 06:08:15
Message-Id: 1518751474.9344605de821b5c1219d2b72e7ce87173417dbc1.prometheanfire@gentoo
1 commit: 9344605de821b5c1219d2b72e7ce87173417dbc1
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 16 03:24:34 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 03:24:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9344605d
7
8 dev-python/stevedore: 1.28.0 bup
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/stevedore/Manifest | 1 +
13 dev-python/stevedore/stevedore-1.28.0.ebuild | 63 ++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-python/stevedore/Manifest b/dev-python/stevedore/Manifest
17 index b41fad6b06f..9d8d4000e76 100644
18 --- a/dev-python/stevedore/Manifest
19 +++ b/dev-python/stevedore/Manifest
20 @@ -1 +1,2 @@
21 DIST stevedore-1.25.1.tar.gz 509014 BLAKE2B 22580ac0e5af56eadd81e7521888e3b2458a1c03a3bdac69df1f2eeef20248f1ddc1748447e3e961b61cbe62ebc939e36c04ff011b7845b3278e18a5fdc9e14e SHA512 f3d2a7360e783c800c3c2488f6adf6f9f76e34e4a4e6f3fc53d2f1114b889c443c13fdf217ddce65a41922dda2c782f19b2077847807c70e732a522fd2166ff0
22 +DIST stevedore-1.28.0.tar.gz 504872 BLAKE2B 6a9ba88ab950f17898d2dd76d75cd7bc7031cbcf441523863520e15916bc5c255fe6a62444f46b6d9967ec1f5f716420b36cb114995907ec8e2c39110ae7918a SHA512 e148560e255a362a51ce91e8bc2380828ba9a41e1988138bcff2d5b270097cadffdee30f3c98e123d8ced9f6f0ff350b52e793fd400ce6b45095860788bd6b86
23
24 diff --git a/dev-python/stevedore/stevedore-1.28.0.ebuild b/dev-python/stevedore/stevedore-1.28.0.ebuild
25 new file mode 100644
26 index 00000000000..60311256947
27 --- /dev/null
28 +++ b/dev-python/stevedore/stevedore-1.28.0.ebuild
29 @@ -0,0 +1,63 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Manage dynamic plugins for Python applications"
40 +HOMEPAGE="https://github.com/openstack/stevedore https://pypi.python.org/pypi/stevedore"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86"
46 +IUSE="doc test"
47 +
48 +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
49 + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + ${CDEPEND}
53 + test? (
54 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
55 + dev-python/nose[${PYTHON_USEDEP}]
56 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
57 + !~dev-python/coverage-4.4[${PYTHON_USEDEP}]
58 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
59 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
60 + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
61 + )
62 + doc? (
63 + >=dev-python/pillow-2.4.0[${PYTHON_USEDEP}]
64 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
65 + >=dev-python/openstackdocstheme-1.16.0[${PYTHON_USEDEP}]
66 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
67 + !~dev-python/reno-2.3.1[${PYTHON_USEDEP}]
68 + )
69 +"
70 +RDEPEND="
71 + ${CDEPEND}
72 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
73 +
74 +python_prepare_all() {
75 + # Delete spurious data in requirements.txt
76 + sed -e '/^pbr/d' -i requirements.txt || die
77 + distutils-r1_python_prepare_all
78 +}
79 +
80 +python_compile_all() {
81 + use doc && esetup.py build_sphinx
82 +}
83 +
84 +python_test() {
85 + nosetests --verbosity=3 stevedore || die
86 +}
87 +
88 +python_install_all() {
89 + use doc && local HTML_DOCS=( doc/build/html/. )
90 +
91 + distutils-r1_python_install_all
92 +}