Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/ansible: ansible-9999.ebuild ansible-1.0.ebuild ChangeLog ansible-0.7.2.ebuild ansible-0.8.ebuild
Date: Sat, 30 Mar 2013 15:56:38
Message-Id: 20130330155634.7C14D2171D@flycatcher.gentoo.org
1 pinkbyte 13/03/30 15:56:34
2
3 Modified: ansible-9999.ebuild ChangeLog
4 Added: ansible-1.0.ebuild
5 Removed: ansible-0.7.2.ebuild ansible-0.8.ebuild
6 Log:
7 Version bump, wrt bug #461830. Sync live ebuild, drop old versions
8
9 (Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
10
11 Revision Changes Path
12 1.8 app-admin/ansible/ansible-9999.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ansible-9999.ebuild?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ansible-9999.ebuild?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ansible-9999.ebuild?r1=1.7&r2=1.8
17
18 Index: ansible-9999.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-9999.ebuild,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- ansible-9999.ebuild 15 Jan 2013 15:18:54 -0000 1.7
25 +++ ansible-9999.ebuild 30 Mar 2013 15:56:34 -0000 1.8
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2013 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-9999.ebuild,v 1.7 2013/01/15 15:18:54 pinkbyte Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-9999.ebuild,v 1.8 2013/03/30 15:56:34 pinkbyte Exp $
31
32 EAPI="5"
33
34 @@ -18,22 +18,18 @@
35 KEYWORDS=""
36 LICENSE="GPL-3"
37 SLOT="0"
38 -IUSE="examples paramiko +sudo test"
39 +IUSE="examples test"
40
41 -DEPEND="${PYTHON_DEPS}
42 - test? (
43 +DEPEND="test? (
44 dev-python/nose
45 dev-vcs/git
46 )"
47 RDEPEND="
48 dev-python/jinja
49 dev-python/pyyaml
50 - paramiko? ( dev-python/paramiko )
51 - !paramiko? (
52 - virtual/ssh
53 - net-misc/sshpass
54 - )
55 - sudo? ( app-admin/sudo )
56 + dev-python/paramiko
57 + net-misc/sshpass
58 + virtual/ssh
59 "
60
61 src_prepare() {
62
63
64
65 1.12 app-admin/ansible/ChangeLog
66
67 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ChangeLog?rev=1.12&view=markup
68 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ChangeLog?rev=1.12&content-type=text/plain
69 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ChangeLog?r1=1.11&r2=1.12
70
71 Index: ChangeLog
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-x86/app-admin/ansible/ChangeLog,v
74 retrieving revision 1.11
75 retrieving revision 1.12
76 diff -u -r1.11 -r1.12
77 --- ChangeLog 15 Jan 2013 15:18:28 -0000 1.11
78 +++ ChangeLog 30 Mar 2013 15:56:34 -0000 1.12
79 @@ -1,6 +1,12 @@
80 # ChangeLog for app-admin/ansible
81 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
82 -# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ChangeLog,v 1.11 2013/01/15 15:18:28 pinkbyte Exp $
83 +# $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ChangeLog,v 1.12 2013/03/30 15:56:34 pinkbyte Exp $
84 +
85 +*ansible-1.0 (30 Mar 2013)
86 +
87 + 30 Mar 2013; Sergey Popov <pinkbyte@g.o> -ansible-0.7.2.ebuild,
88 + -ansible-0.8.ebuild, +ansible-1.0.ebuild, ansible-9999.ebuild:
89 + Version bump, wrt bug #461830. Sync live ebuild, drop old versions
90
91 15 Jan 2013; Sergey Popov <pinkbyte@g.o> ansible-0.9-r1.ebuild:
92 Fix docompress call in src_install
93
94
95
96 1.1 app-admin/ansible/ansible-1.0.ebuild
97
98 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ansible-1.0.ebuild?rev=1.1&view=markup
99 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/ansible/ansible-1.0.ebuild?rev=1.1&content-type=text/plain
100
101 Index: ansible-1.0.ebuild
102 ===================================================================
103 # Copyright 1999-2013 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105 # $Header: /var/cvsroot/gentoo-x86/app-admin/ansible/ansible-1.0.ebuild,v 1.1 2013/03/30 15:56:34 pinkbyte Exp $
106
107 EAPI="5"
108
109 PYTHON_COMPAT=( python{2_6,2_7} )
110
111 inherit distutils-r1
112
113 DESCRIPTION="Radically simple deployment, model-driven configuration management, and command execution framework"
114 HOMEPAGE="http://ansible.cc/"
115 SRC_URI="https://github.com/ansible/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
116
117 KEYWORDS="~amd64 ~x86"
118 LICENSE="GPL-3"
119 SLOT="0"
120 IUSE="examples test"
121
122 DEPEND="test? (
123 dev-python/nose
124 dev-vcs/git
125 )"
126 RDEPEND="
127 dev-python/jinja
128 dev-python/pyyaml
129 dev-python/paramiko
130 net-misc/sshpass
131 virtual/ssh
132 "
133
134 src_prepare() {
135 distutils-r1_src_prepare
136 # Skip tests which need ssh access
137 sed -i 's:PYTHONPATH=./lib nosetests.*:\0 -e \\(TestPlayBook.py\\|TestRunner.py\\):' Makefile || die "sed failed"
138 }
139
140 src_test() {
141 make tests
142 }
143
144 src_install() {
145 distutils-r1_src_install
146
147 insinto /usr/share/ansible
148 doins library/*
149
150 doman docs/man/man1/*.1
151 if use examples; then
152 dodoc -r examples
153 docompress -x /usr/share/doc/${PF}/examples
154 fi
155 # Hint: do not install example config files into /etc
156 # let this choice to user
157
158 newenvd "${FILESDIR}"/${PN}.env 95ansible
159 }
160
161 pkg_postinst() {
162 if [[ -z ${REPLACING_VERSIONS} ]] ; then
163 elog "You can define parameters through shell variables OR use config files"
164 elog "Examples of config files installed in /usr/share/doc/${P}/examples"
165 elog "You have to create ansible hosts file!"
166 elog "More info on http://ansible.cc/docs/gettingstarted.html"
167 fi
168 }