Gentoo Archives: gentoo-commits

From: "Alex Brandt (alunduil)" <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/cloud-init: cloud-init-0.7.5-r2.ebuild metadata.xml ChangeLog
Date: Sun, 24 Aug 2014 23:53:44
Message-Id: 20140824235340.3A87B3D52@oystercatcher.gentoo.org
1 alunduil 14/08/24 23:53:40
2
3 Modified: metadata.xml ChangeLog
4 Added: cloud-init-0.7.5-r2.ebuild
5 Log:
6 app-emulation/cloud-init: add virtual/logger dependency—fixes bug #511384
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 92FEA28B)
9
10 Revision Changes Path
11 1.2 app-emulation/cloud-init/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 22 Sep 2013 19:11:45 -0000 1.1
24 +++ metadata.xml 24 Aug 2014 23:53:40 -0000 1.2
25 @@ -6,6 +6,10 @@
26 <email>prometheanfire@g.o</email>
27 <name>Matthew Thode</name>
28 </maintainer>
29 + <maintainer>
30 + <email>alunduil@g.o</email>
31 + <name>Alex Brandt</name>
32 + </maintainer>
33 <longdescription lang="en">
34 Package provides configuration and customization of cloud instance.
35 </longdescription>
36
37
38
39 1.11 app-emulation/cloud-init/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/ChangeLog?rev=1.11&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/ChangeLog?rev=1.11&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/ChangeLog?r1=1.10&r2=1.11
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v
48 retrieving revision 1.10
49 retrieving revision 1.11
50 diff -u -r1.10 -r1.11
51 --- ChangeLog 6 Aug 2014 06:44:38 -0000 1.10
52 +++ ChangeLog 24 Aug 2014 23:53:40 -0000 1.11
53 @@ -1,6 +1,12 @@
54 # ChangeLog for app-emulation/cloud-init
55 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v 1.10 2014/08/06 06:44:38 patrick Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/ChangeLog,v 1.11 2014/08/24 23:53:40 alunduil Exp $
58 +
59 +*cloud-init-0.7.5-r2 (24 Aug 2014)
60 +
61 + 24 Aug 2014; Alex Brandt <alunduil@g.o> +cloud-init-0.7.5-r2.ebuild,
62 + metadata.xml:
63 + Add virtual/logger dependency. Fixes bug #511384
64
65 06 Aug 2014; Patrick Lauer <patrick@g.o> cloud-init-0.7.5-r1.ebuild:
66 Make description more repoman-happy
67
68
69
70 1.1 app-emulation/cloud-init/cloud-init-0.7.5-r2.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5-r2.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5-r2.ebuild?rev=1.1&content-type=text/plain
74
75 Index: cloud-init-0.7.5-r2.ebuild
76 ===================================================================
77 # Copyright 1999-2014 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5-r2.ebuild,v 1.1 2014/08/24 23:53:40 alunduil Exp $
80
81 EAPI=5
82 PYTHON_COMPAT=( python2_7 )
83 DISTUTILS_SINGLE_IMPL=TRUE
84
85 inherit distutils-r1 eutils multilib systemd
86
87 DESCRIPTION="Cloud instance initialization"
88 HOMEPAGE="http://launchpad.net/cloud-init"
89 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
90
91 LICENSE="GPL-3"
92 SLOT="0"
93 KEYWORDS="~amd64 ~x86"
94 IUSE="test"
95
96 CDEPEND="
97 dev-python/cheetah[${PYTHON_USEDEP}]
98 dev-python/configobj[${PYTHON_USEDEP}]
99 dev-python/jsonpatch[${PYTHON_USEDEP}]
100 dev-python/oauth[${PYTHON_USEDEP}]
101 >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
102 dev-python/pyserial[${PYTHON_USEDEP}]
103 dev-python/pyyaml[${PYTHON_USEDEP}]
104 dev-python/requests[${PYTHON_USEDEP}]
105 "
106 DEPEND="
107 test? (
108 ${CDEPEND}
109 >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
110 dev-python/mocker[${PYTHON_USEDEP}]
111 dev-python/nose[${PYTHON_USEDEP}]
112 dev-python/pep8[${PYTHON_USEDEP}]
113 dev-python/pyflakes[${PYTHON_USEDEP}]
114 dev-python/pylint[${PYTHON_USEDEP}]
115 sys-apps/iproute2
116 )
117 "
118 RDEPEND="
119 ${CDEPEND}
120 virtual/logger
121 "
122
123 python_prepare_all() {
124 local PATCHES=(
125 "${FILESDIR}"/${P}-tests-exclude.patch
126 )
127
128 distutils-r1_python_prepare_all
129
130 # Skip SmartOS tests since they don't generally apply and don't skip based
131 # on environment. Documented in bug #511384.
132 rm tests/unittests/test_datasource/test_smartos.py
133 }
134
135 python_test() {
136 # These tests are not broken but expect to locate an installed exe file
137 # other than where a gentoo system installs it; (/bin/ip sought in /sbin)
138 # See cloudinit/sources/DataSourceOpenNebula.py for possible patching
139 sed \
140 -e 's:test_hostname:_&:' \
141 -e 's:test_network_interfaces:_&:' \
142 -i tests/unittests/test_datasource/test_opennebula.py
143
144 emake test
145 }
146
147 python_install_all() {
148 distutils-r1_python_install_all
149
150 doinitd "${S}"/sysvinit/gentoo/cloud-config
151 doinitd "${S}"/sysvinit/gentoo/cloud-final
152 doinitd "${S}"/sysvinit/gentoo/cloud-init
153 doinitd "${S}"/sysvinit/gentoo/cloud-init-local
154
155 systemd_dounit "${S}"/systemd/cloud-config.service
156 systemd_dounit "${S}"/systemd/cloud-config.target
157 systemd_dounit "${S}"/systemd/cloud-final.service
158 systemd_dounit "${S}"/systemd/cloud-init-local.service
159 systemd_dounit "${S}"/systemd/cloud-init.service
160 }