Skip to content

Commit

Permalink
app-admin/salt: sync 9999 ebuild with current release
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.25
  • Loading branch information
chutz committed Nov 19, 2015
1 parent 523522d commit df80cdf
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 21 deletions.
1 change: 0 additions & 1 deletion app-admin/salt/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Between the remote execution system, and state management Salt addresses the
backbone of cloud and data center management.
</longdescription>
<use>
<flag name="api">Enable support for salt-api.</flag>
<flag name="cherrypy">Enable support for using cherrypy.</flag>
<flag name="libcloud">Enable salt-cloud support via libcloud.</flag>
<flag name="libvirt">Support managing virtual machines with app-emulation/libvirt.</flag>
Expand Down
47 changes: 27 additions & 20 deletions app-admin/salt/salt-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
EAPI=5
PYTHON_COMPAT=(python2_7)

inherit eutils distutils-r1 systemd
inherit eutils systemd distutils-r1

DESCRIPTION="Salt is a remote execution and configuration manager"
HOMEPAGE="http://saltstack.org/"
Expand All @@ -23,8 +23,8 @@ fi

LICENSE="Apache-2.0"
SLOT="0"
IUSE="api ldap libcloud libvirt gnupg keyring mako mongodb mysql nova"
IUSE+=" openssl redis selinux timelib raet +zeromq test"
IUSE="cherrypy ldap libcloud libvirt gnupg keyring mako mongodb mysql neutron nova"
IUSE+=" openssl profile redis selinux test timelib raet +zeromq vim-syntax"

RDEPEND="sys-apps/pciutils
dev-python/jinja[${PYTHON_USEDEP}]
Expand All @@ -33,40 +33,46 @@ RDEPEND="sys-apps/pciutils
dev-python/markupsafe[${PYTHON_USEDEP}]
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
>=www-servers/tornado-4.2.1[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
openssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
libvirt? ( dev-python/libvirt-python[${PYTHON_USEDEP}] )
openssl? (
dev-libs/openssl:*[-bindist]
dev-python/pyopenssl[${PYTHON_USEDEP}]
)
raet? (
dev-python/libnacl[${PYTHON_USEDEP}]
dev-python/ioflo[${PYTHON_USEDEP}]
dev-python/raet[${PYTHON_USEDEP}]
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
)
zeromq? (
>=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}]
>=dev-python/m2crypto-0.22.3[${PYTHON_USEDEP}]
dev-python/pycrypto[${PYTHON_USEDEP}]
)
api? (
|| (
dev-python/cherrypy[${PYTHON_USEDEP}]
www-servers/tornado[${PYTHON_USEDEP}]
)
>=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
)
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
selinux? ( sec-policy/selinux-salt )
timelib? ( dev-python/timelib[${PYTHON_USEDEP}] )
nova? ( >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] )
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )"
neutron? ( >=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}] )
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
vim-syntax? ( app-vim/salt-vim )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pip[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/timelib[${PYTHON_USEDEP}]
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
>=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
>=dev-python/SaltTesting-2015.2.16[${PYTHON_USEDEP}]
${RDEPEND}
)"
Expand All @@ -78,16 +84,17 @@ REQUIRED_USE="|| ( raet zeromq )"
python_prepare() {
# this test fails because it trys to "pip install distribute"
rm tests/unit/{modules,states}/zcbuildout_test.py \
|| die "Failed to remove broken tests"
tests/unit/modules/{rh_ip,win_network,random_org}_test.py
}

python_install_all() {
local svc
USE_SETUPTOOLS=1 distutils-r1_python_install_all

for s in minion master syndic $(use api && echo api); do
newinitd "${FILESDIR}"/${s}-initd-3 salt-${s}
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
systemd_dounit "${FILESDIR}"/salt-${s}.service
for svc in minion master syndic api; do
newinitd "${FILESDIR}"/${svc}-initd-4 salt-${svc}
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
systemd_dounit "${FILESDIR}"/salt-${svc}.service
done

insinto /etc/${PN}
Expand Down

0 comments on commit df80cdf

Please sign in to comment.