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: Mon, 27 Feb 2017 02:16:25
Message-Id: 1488161714.ebcb31b08cc8f6d49477d44458483a4c9396eb26.prometheanfire@gentoo
1 commit: ebcb31b08cc8f6d49477d44458483a4c9396eb26
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 01:25:32 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 02:15:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebcb31b0
7
8 dev-python/pycadf: bup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/pycadf/Manifest | 1 +
13 dev-python/pycadf/pycadf-2.5.0.ebuild | 63 +++++++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/dev-python/pycadf/Manifest b/dev-python/pycadf/Manifest
17 index 81d328c8bc..1ee0ab99a4 100644
18 --- a/dev-python/pycadf/Manifest
19 +++ b/dev-python/pycadf/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pycadf-2.2.0.tar.gz 246623 SHA256 bdb3427a28d318c6ce073b54993c2f4cc9148be498b30ad1b362ade45eb4f7fb SHA512 366e30b387ec1164aa52f1f79141263ea411313ff06f72de753f316ba1c0cd1b751633cd899383ba375747903c531976938d8c0733a25340a85d2b5d61d0425d WHIRLPOOL 6e9be54670196a35fe6f0c4a95429bb24947332e7fd8aaa9d99af9a57e9174cd60befe1d2a8a1a8e2d69debae67b1d23d6369ada543dda42e906913b9efa00a2
22 DIST pycadf-2.4.0.tar.gz 246975 SHA256 fb6100fd5cb9060b1baac1307b3cdeab0b4c5c363bce86dd712441b46dc9d793 SHA512 d0077d5c47115f9d1e2b20660c304b25ad0cb1437555ff5c9d676c1ae10b86f6155c20b37f30a0985440ec2074c2f21921c79315dfa4d42d38b640fad6ccac68 WHIRLPOOL 6cbb3805b6e2b8717381092e9d98298ad422d5809938f95f6785860e03a9e00e0c497a64ad903c2dbbef629c585a066de7f758ebf7334d5bfa4fc582be1fee7a
23 +DIST pycadf-2.5.0.tar.gz 247779 SHA256 a5cbf899266ea25e62e927a31dbf13607f9ebfe1525b4ec95256afc42f43be70 SHA512 af3d7676e671ed702a84052589be7146406c2c53ebfb1ee5922bec93664fac461514c832ce9f225d52a9c6b08ec330e17c5763bee6eda7a931b5dc0af6e57ed5 WHIRLPOOL 75116d8b5d669132d33bdb9f4648c4ce276b25f41dd81e10efa1e0521a0fe7cd4dc3dd95f1786aaf84014534f30cf98544df3800bfe86062db4ed5f2adf944f9
24
25 diff --git a/dev-python/pycadf/pycadf-2.5.0.ebuild b/dev-python/pycadf/pycadf-2.5.0.ebuild
26 new file mode 100644
27 index 0000000000..8f046e4c7b
28 --- /dev/null
29 +++ b/dev-python/pycadf/pycadf-2.5.0.ebuild
30 @@ -0,0 +1,63 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="python implementation of DMTF Cloud Audit (CADF) data model"
40 +HOMEPAGE="https://pypi.python.org/pypi/pycadf"
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-1.8.0[${PYTHON_USEDEP}]"
49 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
50 + ${CDEPEND}
51 + test? (
52 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
53 + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
54 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
55 + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
56 + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
57 + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
58 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
59 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
60 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
61 + )
62 + doc? (
63 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
64 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
65 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
66 + )"
67 +RDEPEND="
68 + ${CDEPEND}
69 + >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
70 + !~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
71 + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
72 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
73 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
74 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]"
75 +
76 +python_prepare_all() {
77 + sed -i '/^hacking/d' test-requirements.txt || die
78 + distutils-r1_python_prepare_all
79 +}
80 +
81 +python_compile_all() {
82 + use doc && "${PYTHON}" setup.py build_sphinx
83 +}
84 +
85 +python_test() {
86 + testr init || die "testr init failed under ${EPYTHON}"
87 + testr run || die "testr run failed under ${EPYTHON}"
88 +}
89 +
90 +python_install_all() {
91 + use doc && local HTML_DOCS=( doc/build/html/. )
92 + distutils-r1_python_install_all
93 +}