1 |
commit: dbc8760506b432521dcd1ba8bb2b25a2ee580869 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 7 04:15:02 2015 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 7 04:15:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbc87605 |
7 |
|
8 |
dev-python/pycadf: bup |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-python/pycadf/Manifest | 1 + |
13 |
dev-python/pycadf/pycadf-1.1.0.ebuild | 61 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycadf/Manifest b/dev-python/pycadf/Manifest |
17 |
index d2b6570..4c6cecf 100644 |
18 |
--- a/dev-python/pycadf/Manifest |
19 |
+++ b/dev-python/pycadf/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST pycadf-0.6.0.tar.gz 277434 SHA256 9ba1e9ac52ee2a2d6d9cc89847323559cc2ffe7b4d80b703944a0a1f75c7093f SHA512 97e223296e5cf77bbc2f7f8b2caba70f76d418ccd476bbc07462dac2c01399f920ae7801f1e30ef91ac6dbfe340b8b45dff2426bf457c1239f54293dbadeef61 WHIRLPOOL 96644ae4b82352cd0a296f3a9adf161b8500d043d8d2bce239c23473a53e1a2feb43f60d92c67bf1543b3b101bbf722bf9104b2c6b16fa7240b94e86cc6a2aa1 |
22 |
DIST pycadf-0.8.0.tar.gz 255774 SHA256 240d7775682a0f49fb580310dd6459e8a8b5f5619dfdc687f043c3fe21b48ba1 SHA512 3b8446c33f0bf740b0f2384bb9e4c5ab5d960690e50bd52cf2217eb184f9f8061dfe39da9b21ef275a7c66ba4e35b912bfd9476469b28c3c2cd6f33d912ac6f7 WHIRLPOOL bf28052eee894a1a986c1903f44f2f800f096979188a6b0ff502b7316d38ce7c43197405e635da097de038e24c1d870140a4ddd1c0eaa543841b3073055f1c19 |
23 |
DIST pycadf-1.0.0.tar.gz 247178 SHA256 8278865dba0c6d7d2c83f51629c0f215393e8cbc36719c845b591f40dd80609f SHA512 7f7a4bb1d89ee3a63c9c74980995864b6e80a4e7df2111b4bafb42ba977ab2b86aac5e288d930068789cae9cabee13300ede7ae3c520440cc5fdfdac057085c0 WHIRLPOOL 68eab74a8e7a727d178dfdaa7cef27d0a41538540c450446a768775de61854eb82ca070792e694bad422ccacfae894b73226ab9224d82f742fdcd037ebd2c725 |
24 |
+DIST pycadf-1.1.0.tar.gz 248161 SHA256 af114ba08d535ad9600e961c1048e1c7214c669a7ee3611f46ea06b917b46953 SHA512 f3215fda9c76422ffdaa65d11c65c3835562539f61f02c91e167433c8e65a55b81290792ae827a8b4e7c497878322b802e42c666658a3cf11682e2a72002c8cf WHIRLPOOL d75adc656d344a667ff1b5d3063f300be8fe57d9e5fd32b86bfa242d132e3ee587f72aa4d1eb104c468c71005e3b9825581c145dc7c8b64b7c701274016004da |
25 |
|
26 |
diff --git a/dev-python/pycadf/pycadf-1.1.0.ebuild b/dev-python/pycadf/pycadf-1.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..bee046c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pycadf/pycadf-1.1.0.ebuild |
31 |
@@ -0,0 +1,61 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+PYTHON_COMPAT=( python2_7 ) |
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 ~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/sphinx-1.1.2[${PYTHON_USEDEP}] |
61 |
+ <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+ doc? ( |
64 |
+ >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
66 |
+ <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
67 |
+ )" |
68 |
+# !=1.2.0 of sphinx deleted since it is not in portage anyway |
69 |
+RDEPEND=" |
70 |
+ >=dev-python/oslo-config-2.1.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]" |
74 |
+ |
75 |
+python_prepare_all() { |
76 |
+ sed -i '/^hacking/d' test-requirements.py || die |
77 |
+ distutils-r1_python_prepare_all |
78 |
+} |
79 |
+ |
80 |
+python_compile_all() { |
81 |
+ use doc && "${PYTHON}" setup.py build_sphinx |
82 |
+} |
83 |
+ |
84 |
+python_test() { |
85 |
+ testr init || die "testr init failed under ${EPYTHON}" |
86 |
+ testr run || die "testr run failed under ${EPYTHON}" |
87 |
+} |
88 |
+ |
89 |
+python_install_all() { |
90 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
91 |
+ distutils-r1_python_install_all |
92 |
+} |