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/pycadf/
Date: Tue, 29 Mar 2016 18:41:07
Message-Id: 1459276799.a2e13294696d856ba89be15bc05039d1c43d519a.prometheanfire@gentoo
1 commit: a2e13294696d856ba89be15bc05039d1c43d519a
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 29 18:35:35 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 29 18:39:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e13294
7
8 dev-python/pycadf: bub for mitaka
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/pycadf/Manifest | 1 +
13 dev-python/pycadf/pycadf-2.2.0.ebuild | 64 +++++++++++++++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/dev-python/pycadf/Manifest b/dev-python/pycadf/Manifest
17 index 4c6cecf..a3d43a4 100644
18 --- a/dev-python/pycadf/Manifest
19 +++ b/dev-python/pycadf/Manifest
20 @@ -2,3 +2,4 @@ DIST pycadf-0.6.0.tar.gz 277434 SHA256 9ba1e9ac52ee2a2d6d9cc89847323559cc2ffe7b4
21 DIST pycadf-0.8.0.tar.gz 255774 SHA256 240d7775682a0f49fb580310dd6459e8a8b5f5619dfdc687f043c3fe21b48ba1 SHA512 3b8446c33f0bf740b0f2384bb9e4c5ab5d960690e50bd52cf2217eb184f9f8061dfe39da9b21ef275a7c66ba4e35b912bfd9476469b28c3c2cd6f33d912ac6f7 WHIRLPOOL bf28052eee894a1a986c1903f44f2f800f096979188a6b0ff502b7316d38ce7c43197405e635da097de038e24c1d870140a4ddd1c0eaa543841b3073055f1c19
22 DIST pycadf-1.0.0.tar.gz 247178 SHA256 8278865dba0c6d7d2c83f51629c0f215393e8cbc36719c845b591f40dd80609f SHA512 7f7a4bb1d89ee3a63c9c74980995864b6e80a4e7df2111b4bafb42ba977ab2b86aac5e288d930068789cae9cabee13300ede7ae3c520440cc5fdfdac057085c0 WHIRLPOOL 68eab74a8e7a727d178dfdaa7cef27d0a41538540c450446a768775de61854eb82ca070792e694bad422ccacfae894b73226ab9224d82f742fdcd037ebd2c725
23 DIST pycadf-1.1.0.tar.gz 248161 SHA256 af114ba08d535ad9600e961c1048e1c7214c669a7ee3611f46ea06b917b46953 SHA512 f3215fda9c76422ffdaa65d11c65c3835562539f61f02c91e167433c8e65a55b81290792ae827a8b4e7c497878322b802e42c666658a3cf11682e2a72002c8cf WHIRLPOOL d75adc656d344a667ff1b5d3063f300be8fe57d9e5fd32b86bfa242d132e3ee587f72aa4d1eb104c468c71005e3b9825581c145dc7c8b64b7c701274016004da
24 +DIST pycadf-2.2.0.tar.gz 246623 SHA256 bdb3427a28d318c6ce073b54993c2f4cc9148be498b30ad1b362ade45eb4f7fb SHA512 366e30b387ec1164aa52f1f79141263ea411313ff06f72de753f316ba1c0cd1b751633cd899383ba375747903c531976938d8c0733a25340a85d2b5d61d0425d WHIRLPOOL 6e9be54670196a35fe6f0c4a95429bb24947332e7fd8aaa9d99af9a57e9174cd60befe1d2a8a1a8e2d69debae67b1d23d6369ada543dda42e906913b9efa00a2
25
26 diff --git a/dev-python/pycadf/pycadf-2.2.0.ebuild b/dev-python/pycadf/pycadf-2.2.0.ebuild
27 new file mode 100644
28 index 0000000..b17cdbb
29 --- /dev/null
30 +++ b/dev-python/pycadf/pycadf-2.2.0.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="python implementation of DMTF Cloud Audit (CADF) data model"
42 +HOMEPAGE="https://pypi.python.org/pypi/pycadf"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm64 ~x86"
48 +IUSE="doc test"
49 +
50 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
51 + dev-python/pbr[${PYTHON_USEDEP}]
52 + test? (
53 + >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
54 + >=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
55 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
56 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
57 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
58 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
59 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
60 + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
61 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
62 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
63 + )
64 + doc? (
65 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
66 + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}]
67 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
68 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
69 + )"
70 +# !=1.2.0 of sphinx deleted since it is not in portage anyway
71 +RDEPEND="
72 + >=dev-python/oslo-config-3.7.0[${PYTHON_USEDEP}]
73 + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
74 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
75 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
76 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]"
77 +
78 +python_prepare_all() {
79 + sed -i '/^hacking/d' test-requirements.txt || die
80 + distutils-r1_python_prepare_all
81 +}
82 +
83 +python_compile_all() {
84 + use doc && "${PYTHON}" setup.py build_sphinx
85 +}
86 +
87 +python_test() {
88 + testr init || die "testr init failed under ${EPYTHON}"
89 + testr run || die "testr run failed under ${EPYTHON}"
90 +}
91 +
92 +python_install_all() {
93 + use doc && local HTML_DOCS=( doc/build/html/. )
94 + distutils-r1_python_install_all
95 +}