/[gentoo-x86]/app-admin/salt/salt-0.12.0.ebuild
Gentoo

Contents of /app-admin/salt/salt-0.12.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 16 21:57:44 2013 UTC (19 months ago) by chutzpah
Branch: MAIN
Version bump (bug #452478). Remove old 0.10.5 version.

(Portage version: 2.1.11.42/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.11.0.ebuild,v 1.2 2012/12/19 00:40:55 chutzpah Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=(python{2_6,2_7})
8
9 inherit eutils distutils-r1
10
11 DESCRIPTION="Salt is a remote execution and configuration manager."
12 HOMEPAGE="http://saltstack.org/"
13
14 if [[ ${PV} == 9999* ]]; then
15 inherit git-2
16 EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
17 EGIT_BRANCH="develop"
18 SRC_URI=""
19 KEYWORDS=""
20 else
21 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
22 KEYWORDS="~x86 ~amd64"
23 fi
24
25 LICENSE="Apache-2.0"
26 SLOT="0"
27 IUSE="ldap libvirt mongodb mysql openssl redis test"
28
29 RDEPEND=">=dev-python/pyzmq-2.1.9
30 dev-python/msgpack
31 dev-python/pyyaml
32 dev-python/m2crypto
33 dev-python/pycrypto
34 dev-python/pycryptopp
35 dev-python/jinja
36 ldap? ( dev-python/python-ldap )
37 openssl? ( dev-python/pyopenssl )
38 libvirt? ( app-emulation/libvirt[python] )
39 mongodb? ( dev-python/pymongo )
40 mysql? ( dev-python/mysql-python )
41 redis? ( dev-python/redis-py )"
42 DEPEND="test? (
43 dev-python/virtualenv
44 ${RDEPEND}
45 )"
46
47 src_prepare() {
48 sed -i '/install_requires=/ d' setup.py || die "sed failed"
49
50 distutils-r1_src_prepare
51 }
52
53 src_install() {
54 distutils-r1_src_install
55
56 for s in minion master syndic; do
57 newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
58 newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
59 done
60
61 dodoc README.rst AUTHORS
62 }
63
64 python_test() {
65 SHELL="/bin/bash" ./tests/runtests.py --unit-tests --no-report || die
66 }

  ViewVC Help
Powered by ViewVC 1.1.20