Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/salt: salt-0.17.4-r1.ebuild ChangeLog
Date: Thu, 26 Dec 2013 10:56:56
Message-Id: 20131226105649.A3A812004E@flycatcher.gentoo.org
1 pacho 13/12/26 10:56:49
2
3 Modified: ChangeLog
4 Added: salt-0.17.4-r1.ebuild
5 Log:
6 Add unit files (#492382 by Michael Jones)
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.30 app-admin/salt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 12 Dec 2013 23:26:17 -0000 1.29
24 +++ ChangeLog 26 Dec 2013 10:56:49 -0000 1.30
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-admin/salt
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v 1.29 2013/12/12 23:26:17 chutzpah Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v 1.30 2013/12/26 10:56:49 pacho Exp $
30 +
31 +*salt-0.17.4-r1 (26 Dec 2013)
32 +
33 + 26 Dec 2013; Pacho Ramos <pacho@g.o> +files/salt-master.service,
34 + +files/salt-minion.service, +files/salt-syndic.service,
35 + +salt-0.17.4-r1.ebuild:
36 + Add unit files (#492382 by Michael Jones)
37
38 *salt-0.17.4 (12 Dec 2013)
39
40
41
42
43 1.1 app-admin/salt/salt-0.17.4-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/salt-0.17.4-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/salt-0.17.4-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: salt-0.17.4-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.17.4-r1.ebuild,v 1.1 2013/12/26 10:56:49 pacho Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=(python{2_6,2_7})
57
58 inherit eutils distutils-r1 systemd
59
60 DESCRIPTION="Salt is a remote execution and configuration manager."
61 HOMEPAGE="http://saltstack.org/"
62
63 if [[ ${PV} == 9999* ]]; then
64 inherit git-2
65 EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
66 EGIT_BRANCH="develop"
67 SRC_URI=""
68 KEYWORDS=""
69 else
70 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
71 KEYWORDS="~x86 ~amd64"
72 fi
73
74 LICENSE="Apache-2.0"
75 SLOT="0"
76 IUSE="ldap libvirt mako mongodb mysql openssl redis test"
77
78 RDEPEND=">=dev-python/pyzmq-2.1.9[${PYTHON_USEDEP}]
79 dev-python/msgpack[${PYTHON_USEDEP}]
80 dev-python/pyyaml[${PYTHON_USEDEP}]
81 dev-python/m2crypto[${PYTHON_USEDEP}]
82 dev-python/pycrypto[${PYTHON_USEDEP}]
83 dev-python/pycryptopp[${PYTHON_USEDEP}]
84 dev-python/jinja[${PYTHON_USEDEP}]
85 dev-python/setuptools[${PYTHON_USEDEP}]
86 sys-apps/pciutils
87 mako? ( dev-python/mako[${PYTHON_USEDEP}] )
88 ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
89 openssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
90 libvirt? ( || (
91 dev-python/libvirt-python[${PYTHON_USEDEP}]
92 app-emulation/libvirt[python,${PYTHON_USEDEP}]
93 )
94 )
95 mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
96 mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
97 redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )"
98 DEPEND="test? (
99 dev-python/pip
100 dev-python/virtualenv
101 dev-python/SaltTesting
102 ${RDEPEND}
103 )"
104
105 PATCHES=("${FILESDIR}/${PN}-0.17.1-tests-nonroot.patch")
106 DOCS=(README.rst AUTHORS)
107
108 python_prepare() {
109 sed -i '/install_requires=/ d' setup.py || die "sed failed"
110 }
111
112 python_install_all() {
113 distutils-r1_python_install_all
114
115 for s in minion master syndic; do
116 newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
117 newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
118 systemd_dounit "${FILESDIR}"/salt-${s}.service
119 done
120
121 insinto /etc/${PN}
122 doins conf/*
123 }
124
125 python_test() {
126 # testsuite likes lots of files
127 ulimit -n 3072
128 SHELL="/bin/bash" TMPDIR=/tmp ./tests/runtests.py --unit-tests --no-report || die
129 }