summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pyudev/ChangeLog5
-rw-r--r--dev-python/pyudev/pyudev-0.16.1.ebuild13
2 files changed, 12 insertions, 6 deletions
diff --git a/dev-python/pyudev/ChangeLog b/dev-python/pyudev/ChangeLog
index 99ceca74e54a..a9422eedb307 100644
--- a/dev-python/pyudev/ChangeLog
+++ b/dev-python/pyudev/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pyudev
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/ChangeLog,v 1.15 2012/08/27 08:44:17 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/ChangeLog,v 1.16 2012/11/02 10:12:34 idella4 Exp $
+
+ 03 Nov 2012; Ian Delaney <idella4@gentoo.org> pyudev-0.16.1.ebuild:
+ test phase returned in working order; fixes bug #423483
*pyudev-0.16.1 (27 Aug 2012)
diff --git a/dev-python/pyudev/pyudev-0.16.1.ebuild b/dev-python/pyudev/pyudev-0.16.1.ebuild
index ffe264c99580..d10d32dc7d64 100644
--- a/dev-python/pyudev/pyudev-0.16.1.ebuild
+++ b/dev-python/pyudev/pyudev-0.16.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild,v 1.1 2012/08/27 08:44:17 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild,v 1.2 2012/11/02 10:12:34 idella4 Exp $
EAPI="4"
PYTHON_DEPEND="*:2.6"
SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.[45] *-jython"
-#DISTUTILS_SRC_TEST="py.test" # FIXME: some tests are known to fail
+RESTRICT_PYTHON_ABIS="2.[5] *-jython"
+DISTUTILS_SRC_TEST="py.test"
inherit distutils
@@ -24,14 +24,15 @@ RDEPEND=">=sys-fs/udev-151
pyqt4? ( dev-python/PyQt4 )
pyside? ( dev-python/pyside )"
DEPEND="${RDEPEND}
- dev-python/setuptools"
- # test? ( dev-python/mock )"
+ dev-python/setuptools
+ test? ( dev-python/mock )"
DOCS="CHANGES.rst README.rst"
src_prepare() {
distutils_src_prepare
+ # tests are known to pass then fail on alternate runs
# tests: fix run_path
sed -i -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" tests/test_core.py
@@ -53,4 +54,6 @@ src_prepare() {
if ! use pyqt4 && ! use pyside && ! use pygobject; then
rm -f tests/test_observer.py
fi
+
+ ewarn "if your PORTAGE_TMPDIR is longer in length then "/var/tmp/", change it to /var/tmp to ensure tests will pass"
}