Gentoo Archives: gentoo-commits

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