app-admin/salt: Minor cleanups in ebuild for 2016.3.3
authorPatrick McLean <chutzpah@gentoo.org>
Fri, 9 Sep 2016 21:44:35 +0000 (14:44 -0700)
committerPatrick McLean <chutzpah@gentoo.org>
Fri, 9 Sep 2016 21:44:35 +0000 (14:44 -0700)
Package-Manager: portage-2.3.0

app-admin/salt/salt-2016.3.3.ebuild

index d8c5d95ca5b8be572c6702406ba69c8a63bd447b..ba64cbc3ab3ede04fdf39b397956ddf83fc65292 100644 (file)
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-PYTHON_COMPAT=(python2_7)
+PYTHON_COMPAT=( python2_7 )
 
 inherit eutils systemd distutils-r1
 
@@ -80,7 +80,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
                ${RDEPEND}
        )"
 
-DOCS=(README.rst AUTHORS)
+DOCS=( README.rst AUTHORS )
 
 REQUIRED_USE="|| ( raet zeromq )"
 RESTRICT="x86? ( test )"
@@ -95,13 +95,13 @@ PATCHES=(
 python_prepare() {
        # this test fails because it trys to "pip install distribute"
        rm tests/unit/{modules,states}/zcbuildout_test.py \
-               tests/unit/modules/{rh_ip,win_network,random_org}_test.py
+               tests/unit/modules/{rh_ip,win_network,random_org}_test.py || die
 
        # apparently libcloud does not know about this?
-       rm tests/unit/cloud/clouds/dimensiondata_test.py
+       rm tests/unit/cloud/clouds/dimensiondata_test.py || die
 
        # seriously? "ValueError: Missing (or not readable) key file: '/home/dany/PRIVKEY.pem'"
-       rm tests/unit/cloud/clouds/gce_test.py
+       rm tests/unit/cloud/clouds/gce_test.py || die
 }
 
 python_install_all() {
@@ -121,7 +121,7 @@ python_install_all() {
 python_test() {
        local tempdir
        # testsuite likes lots of files
-       ulimit -n 3072
+       ulimit -n 3072 || die
 
        # ${T} is too long a path for the tests to work
        tempdir="$(mktemp -dup /tmp salt-XXX)"