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: Sun, 27 Aug 2017 04:26:33
Message-Id: 1503807920.5991a554575265092e4d5016d2081a83006d13c8.prometheanfire@gentoo
1 commit: 5991a554575265092e4d5016d2081a83006d13c8
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 27 03:59:41 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 27 04:25:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5991a554
7
8 dev-python/pycadf: 2.6.0 bup2.6.0 bup
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-python/pycadf/Manifest | 1 +
13 dev-python/pycadf/pycadf-2.6.0.ebuild | 62 +++++++++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-python/pycadf/Manifest b/dev-python/pycadf/Manifest
17 index 32a0a51d055..ffa87525814 100644
18 --- a/dev-python/pycadf/Manifest
19 +++ b/dev-python/pycadf/Manifest
20 @@ -1 +1,2 @@
21 DIST pycadf-2.5.0.tar.gz 247779 SHA256 a5cbf899266ea25e62e927a31dbf13607f9ebfe1525b4ec95256afc42f43be70 SHA512 af3d7676e671ed702a84052589be7146406c2c53ebfb1ee5922bec93664fac461514c832ce9f225d52a9c6b08ec330e17c5763bee6eda7a931b5dc0af6e57ed5 WHIRLPOOL 75116d8b5d669132d33bdb9f4648c4ce276b25f41dd81e10efa1e0521a0fe7cd4dc3dd95f1786aaf84014534f30cf98544df3800bfe86062db4ed5f2adf944f9
22 +DIST pycadf-2.6.0.tar.gz 249411 SHA256 75b0e70f4c4fa46fef65671beb562c4bef1007541a38b5f724689209fcbf4b4e SHA512 a581b54a8dae088e015d639f14eb46b3c41bdbfdd55b671e79f34b7392af49e3e8dbb2fd85a43e5f8e010cbcdba1d9a330972b5cb6f7f2c5179c00b6f135b4ec WHIRLPOOL 374fcc4211c69a70c12571ca645c64e36d9ac30e3cbc26a527a533a545aff455724a9a0395464c1f71e1a327a5a46a22c7a43441c6882d789ff8b779fe193a66
23
24 diff --git a/dev-python/pycadf/pycadf-2.6.0.ebuild b/dev-python/pycadf/pycadf-2.6.0.ebuild
25 new file mode 100644
26 index 00000000000..56d40ee7e83
27 --- /dev/null
28 +++ b/dev-python/pycadf/pycadf-2.6.0.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="python implementation of DMTF Cloud Audit (CADF) data model"
39 +HOMEPAGE="https://pypi.python.org/pypi/pycadf"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm64 ~x86"
45 +IUSE="doc test"
46 +
47 +CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]"
48 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
49 + ${CDEPEND}
50 + test? (
51 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
52 + !~dev-python/coverage-4.4[${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.6.2[${PYTHON_USEDEP}]
60 + )
61 + doc? (
62 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
63 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
64 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
65 + )"
66 +RDEPEND="
67 + ${CDEPEND}
68 + >=dev-python/oslo-config-3.22.0[${PYTHON_USEDEP}]
69 + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
70 + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
71 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
72 + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]"
73 +
74 +python_prepare_all() {
75 + sed -i '/^hacking/d' test-requirements.txt || die
76 + distutils-r1_python_prepare_all
77 +}
78 +
79 +python_compile_all() {
80 + use doc && "${PYTHON}" setup.py build_sphinx
81 +}
82 +
83 +python_test() {
84 + testr init || die "testr init failed under ${EPYTHON}"
85 + testr run || die "testr run failed under ${EPYTHON}"
86 +}
87 +
88 +python_install_all() {
89 + use doc && local HTML_DOCS=( doc/build/html/. )
90 + distutils-r1_python_install_all
91 +}