summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-02-22 17:46:17 +0000
committerMike Gilbert <floppym@gentoo.org>2014-02-22 17:46:17 +0000
commit4cbf1ebfb1b50c8afe19a56780256090cbaeadea (patch)
tree24b66a7f9d44efa981b2e4cff6c1232501942c21 /dev-python/setuptools
parentMarked ~hppa (bug #495254). (diff)
downloadgentoo-2-4cbf1ebfb1b50c8afe19a56780256090cbaeadea.tar.gz
gentoo-2-4cbf1ebfb1b50c8afe19a56780256090cbaeadea.tar.bz2
gentoo-2-4cbf1ebfb1b50c8afe19a56780256090cbaeadea.zip
Resolve SandboxViolation when running tests, bug 486838.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/setuptools')
-rw-r--r--dev-python/setuptools/ChangeLog6
-rw-r--r--dev-python/setuptools/setuptools-1.1.6.ebuild7
-rw-r--r--dev-python/setuptools/setuptools-9999.ebuild7
3 files changed, 13 insertions, 7 deletions
diff --git a/dev-python/setuptools/ChangeLog b/dev-python/setuptools/ChangeLog
index e65c28a40e38..a57b763a1c7b 100644
--- a/dev-python/setuptools/ChangeLog
+++ b/dev-python/setuptools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/setuptools
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/ChangeLog,v 1.219 2014/02/16 20:34:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/ChangeLog,v 1.220 2014/02/22 17:46:17 floppym Exp $
+
+ 22 Feb 2014; Mike Gilbert <floppym@gentoo.org> setuptools-1.1.6.ebuild,
+ setuptools-9999.ebuild:
+ Resolve SandboxViolation when running tests, bug 486838.
16 Feb 2014; Mike Frysinger <vapier@gentoo.org> setuptools-0.8-r1.ebuild,
setuptools-0.9.8-r1.ebuild, setuptools-1.0.ebuild, setuptools-1.1.1.ebuild,
diff --git a/dev-python/setuptools/setuptools-1.1.6.ebuild b/dev-python/setuptools/setuptools-1.1.6.ebuild
index 5b892a8c4e32..33821f594012 100644
--- a/dev-python/setuptools/setuptools-1.1.6.ebuild
+++ b/dev-python/setuptools/setuptools-1.1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-1.1.6.ebuild,v 1.2 2014/02/16 20:34:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-1.1.6.ebuild,v 1.3 2014/02/22 17:46:17 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
@@ -28,8 +28,9 @@ python_prepare_all() {
}
python_test() {
- # Fails test_setup_requires under python2.5; probably a distutils bug
- esetup.py test
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
+ # It tries to sandbox the test in a tempdir
+ HOME="${PWD}" esetup.py test
}
python_install() {
diff --git a/dev-python/setuptools/setuptools-9999.ebuild b/dev-python/setuptools/setuptools-9999.ebuild
index 0aa56d783c1b..ad84e0d14147 100644
--- a/dev-python/setuptools/setuptools-9999.ebuild
+++ b/dev-python/setuptools/setuptools-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-9999.ebuild,v 1.7 2014/02/16 20:34:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-9999.ebuild,v 1.8 2014/02/22 17:46:17 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
@@ -36,8 +36,9 @@ python_prepare_all() {
}
python_test() {
- # Fails test_setup_requires under python2.5; probably a distutils bug
- esetup.py test
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
+ # It tries to sandbox the test in a tempdir
+ HOME="${PWD}" esetup.py test
}
python_install() {