From: Patrick McLean Date: Thu, 30 Apr 2020 01:13:42 +0000 (-0700) Subject: app-admin/salt-3000.2-r1: revbump, fix tests, add missing dep X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5afa7c88cf80d3d36976a2a38d7fcdfe677090d;p=gentoo.git app-admin/salt-3000.2-r1: revbump, fix tests, add missing dep Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrick McLean --- diff --git a/app-admin/salt/files/salt-3000.2-tests.patch b/app-admin/salt/files/salt-3000.2-tests.patch new file mode 100644 index 000000000000..a562dee5bf94 --- /dev/null +++ b/app-admin/salt/files/salt-3000.2-tests.patch @@ -0,0 +1,18 @@ +--- salt-3000.2.orig/tests/unit/utils/test_verify.py 2020-04-29 16:57:02.775635698 -0700 ++++ salt-3000.2/tests/unit/utils/test_verify.py 2020-04-29 16:57:58.042282147 -0700 +@@ -324,6 +324,7 @@ + self.assertTrue(os.path.exists(path)) + + ++@skipIf(True, "breaks under sandbox") + class TestCleanPath(TestCase): + ''' + salt.utils.clean_path works as expected +@@ -366,6 +367,7 @@ + raise ctypes.WinError() + + ++@skipIf(True, "breaks under sandbox") + @skipIf(six.PY2 and salt.utils.platform.is_windows(), 'Skipped on windows py2') + class TestCleanPathLink(TestCase): + ''' diff --git a/app-admin/salt/salt-3000.2.ebuild b/app-admin/salt/salt-3000.2-r1.ebuild similarity index 98% rename from app-admin/salt/salt-3000.2.ebuild rename to app-admin/salt/salt-3000.2-r1.ebuild index 376575e7ccf4..100dafe7754f 100644 --- a/app-admin/salt/salt-3000.2.ebuild +++ b/app-admin/salt/salt-3000.2-r1.ebuild @@ -29,6 +29,7 @@ IUSE="cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako RDEPEND=" sys-apps/pciutils + dev-python/distro[${PYTHON_USEDEP}] dev-python/jinja[${PYTHON_USEDEP}] dev-python/libnacl[${PYTHON_USEDEP}] >=dev-python/msgpack-0.5[${PYTHON_USEDEP}] @@ -101,6 +102,7 @@ PATCHES=( "${FILESDIR}/salt-2017.7.0-dont-realpath-tmpdir.patch" "${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch" "${FILESDIR}/salt-3000.1-tests.patch" + "${FILESDIR}/salt-3000.2-tests.patch" ) python_prepare() {