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: ChangeLog salt-2014.1.8.ebuild
Date: Wed, 30 Jul 2014 23:58:00
Message-Id: 20140730235754.B00432004E@flycatcher.gentoo.org
1 chutzpah 14/07/30 23:57:53
2
3 Modified: ChangeLog
4 Added: salt-2014.1.8.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.43 app-admin/salt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 9 Jul 2014 22:00:04 -0000 1.42
24 +++ ChangeLog 30 Jul 2014 23:57:53 -0000 1.43
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.42 2014/07/09 22:00:04 chutzpah Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v 1.43 2014/07/30 23:57:53 chutzpah Exp $
30 +
31 +*salt-2014.1.8 (30 Jul 2014)
32 +
33 + 30 Jul 2014; Patrick McLean <chutzpah@g.o> +salt-2014.1.8.ebuild:
34 + Version bump.
35
36 09 Jul 2014; Patrick McLean <chutzpah@g.o> -salt-2014.1.6.ebuild:
37 Remove previous version.
38
39
40
41 1.1 app-admin/salt/salt-2014.1.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/salt-2014.1.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/salt/salt-2014.1.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: salt-2014.1.8.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.8.ebuild,v 1.1 2014/07/30 23:57:53 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/timelib
102 >=dev-python/SaltTesting-2014.4.24
103 ${RDEPEND}
104 )"
105
106 PATCHES=(
107 "${FILESDIR}/${PN}-2014.1.2-tests-nonroot.patch"
108 "${FILESDIR}/${PN}-2014.1.5-tests-nonroot.patch"
109 "${FILESDIR}/${PN}-2014.1.5-minion-error.patch"
110 )
111 DOCS=(README.rst AUTHORS)
112
113 python_prepare() {
114 sed -i '/install_requires=/ d' setup.py || die "sed failed"
115
116 # this test fails because it trys to "pip install distribute"
117 rm tests/unit/{modules,states}/zcbuildout_test.py
118 }
119
120 python_install_all() {
121 USE_SETUPTOOLS=1 distutils-r1_python_install_all
122
123 for s in minion master syndic; do
124 newinitd "${FILESDIR}"/${s}-initd-3 salt-${s}
125 newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
126 systemd_dounit "${FILESDIR}"/salt-${s}.service
127 done
128
129 insinto /etc/${PN}
130 doins conf/*
131 }
132
133 python_test() {
134 # testsuite likes lots of files
135 ulimit -n 3072
136 USE_SETUPTOOLS=1 SHELL="/bin/bash" TMPDIR=/tmp ./tests/runtests.py --unit-tests --no-report --verbose || die
137 }