diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2012-07-06 23:16:24 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2012-07-06 23:16:24 +0000 |
commit | 57368190f8fef8589e59efb3829361aa182c2a09 (patch) | |
tree | ee13a558c884b1c57fd9eb2c37df1b8dd3a8515d /app-admin/salt | |
parent | Mask dev-db/pgmecab for removal. (diff) | |
download | gentoo-2-57368190f8fef8589e59efb3829361aa182c2a09.tar.gz gentoo-2-57368190f8fef8589e59efb3829361aa182c2a09.tar.bz2 gentoo-2-57368190f8fef8589e59efb3829361aa182c2a09.zip |
Version bump.
(Portage version: 2.1.11.3/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/salt')
-rw-r--r-- | app-admin/salt/ChangeLog | 11 | ||||
-rw-r--r-- | app-admin/salt/salt-0.10.0.ebuild | 60 |
2 files changed, 64 insertions, 7 deletions
diff --git a/app-admin/salt/ChangeLog b/app-admin/salt/ChangeLog index fe207c8e0681..dc7a4030990a 100644 --- a/app-admin/salt/ChangeLog +++ b/app-admin/salt/ChangeLog @@ -1,12 +1,9 @@ # ChangeLog for app-admin/salt # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v 1.1 2012/04/24 23:37:27 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/ChangeLog,v 1.2 2012/07/06 23:16:24 chutzpah Exp $ -*salt-0.9.8 (24 Apr 2012) +*salt-0.10.0 (06 Jul 2012) - 24 Apr 2012; Patrick McLean <chutzpah@gentoo.org> +salt-0.9.8.ebuild, - +files/salt-0.9.8-syndic-resolution-of-master.patch, +files/master-confd-1, - +files/master-initd-1, +files/minion-confd-1, +files/minion-initd-1, - +files/syndic-confd-1, +files/syndic-initd-1, +metadata.xml: - Add app-admin/salt to portage + 06 Jul 2012; Patrick McLean <chutzpah@gentoo.org> +salt-0.10.0.ebuild: + Version bump. diff --git a/app-admin/salt/salt-0.10.0.ebuild b/app-admin/salt/salt-0.10.0.ebuild new file mode 100644 index 000000000000..03c9870a0fb0 --- /dev/null +++ b/app-admin/salt/salt-0.10.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.10.0.ebuild,v 1.1 2012/07/06 23:16:24 chutzpah Exp $ + +EAPI=4 + +PYTHON_COMPAT="python2_6 python2_7 python3_1 python3_2" + +inherit eutils python-distutils-ng + +DESCRIPTION="Salt is a remote execution and configuration manager." +HOMEPAGE="http://saltstack.org/" +SRC_URI="mirror://github/saltstack/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="+jinja libvirt mongodb mysql redis" + +DEPEND="" +RDEPEND="${DEPEND} + >=dev-python/pyzmq-2.1.9 + dev-python/msgpack + dev-python/pyyaml + dev-python/m2crypto + dev-python/pycrypto + dev-python/pycryptopp + jinja? ( dev-python/jinja ) + libvirt? ( app-emulation/libvirt[python] ) + mongodb? ( dev-python/pymongo ) + mysql? ( dev-python/mysql-python ) + redis? ( dev-python/redis-py )" + +src_prepare() { + sed -i '/install_requires=/ d' setup.py || die "sed failed" + + python-distutils-ng_src_prepare +} + +src_install() { + python-distutils-ng_src_install + + for s in minion master syndic; do + newinitd "${FILESDIR}"/${s}-initd-1 salt-${s} + newconfd "${FILESDIR}"/${s}-confd-1 salt-${s} + done + + # install the config template files + dodir /etc/${PN} + for conf in conf/*.template; do + sed '1 d' ${conf} > "${D}"/etc/${PN}/"$(basename "${conf%.template}")" \ + || die "sed failed" + done + + dodoc README.rst AUTHORS +} + +python_test() { + ./setup.py test || die +} |