Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyudev: pyudev-0.16.1.ebuild ChangeLog
Date: Fri, 02 Nov 2012 10:12:51
Message-Id: 20121102101234.A150321600@flycatcher.gentoo.org
1 idella4 12/11/02 10:12:34
2
3 Modified: pyudev-0.16.1.ebuild ChangeLog
4 Log:
5 test phase returned in working order; fixes bug #423483
6
7 (Portage version: 2.1.11.30/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.2 dev-python/pyudev/pyudev-0.16.1.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild?r1=1.1&r2=1.2
15
16 Index: pyudev-0.16.1.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- pyudev-0.16.1.ebuild 27 Aug 2012 08:44:17 -0000 1.1
23 +++ pyudev-0.16.1.ebuild 2 Nov 2012 10:12:34 -0000 1.2
24 @@ -1,12 +1,12 @@
25 # Copyright 1999-2012 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild,v 1.1 2012/08/27 08:44:17 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/pyudev-0.16.1.ebuild,v 1.2 2012/11/02 10:12:34 idella4 Exp $
29
30 EAPI="4"
31 PYTHON_DEPEND="*:2.6"
32 SUPPORT_PYTHON_ABIS="1"
33 -RESTRICT_PYTHON_ABIS="2.[45] *-jython"
34 -#DISTUTILS_SRC_TEST="py.test" # FIXME: some tests are known to fail
35 +RESTRICT_PYTHON_ABIS="2.[5] *-jython"
36 +DISTUTILS_SRC_TEST="py.test"
37
38 inherit distutils
39
40 @@ -24,14 +24,15 @@
41 pyqt4? ( dev-python/PyQt4 )
42 pyside? ( dev-python/pyside )"
43 DEPEND="${RDEPEND}
44 - dev-python/setuptools"
45 - # test? ( dev-python/mock )"
46 + dev-python/setuptools
47 + test? ( dev-python/mock )"
48
49 DOCS="CHANGES.rst README.rst"
50
51 src_prepare() {
52 distutils_src_prepare
53
54 + # tests are known to pass then fail on alternate runs
55 # tests: fix run_path
56 sed -i -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" tests/test_core.py
57
58 @@ -53,4 +54,6 @@
59 if ! use pyqt4 && ! use pyside && ! use pygobject; then
60 rm -f tests/test_observer.py
61 fi
62 +
63 + ewarn "if your PORTAGE_TMPDIR is longer in length then "/var/tmp/", change it to /var/tmp to ensure tests will pass"
64 }
65
66
67
68 1.16 dev-python/pyudev/ChangeLog
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyudev/ChangeLog?rev=1.16&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyudev/ChangeLog?rev=1.16&content-type=text/plain
72 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyudev/ChangeLog?r1=1.15&r2=1.16
73
74 Index: ChangeLog
75 ===================================================================
76 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyudev/ChangeLog,v
77 retrieving revision 1.15
78 retrieving revision 1.16
79 diff -u -r1.15 -r1.16
80 --- ChangeLog 27 Aug 2012 08:44:17 -0000 1.15
81 +++ ChangeLog 2 Nov 2012 10:12:34 -0000 1.16
82 @@ -1,6 +1,9 @@
83 # ChangeLog for dev-python/pyudev
84 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
85 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/ChangeLog,v 1.15 2012/08/27 08:44:17 patrick Exp $
86 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyudev/ChangeLog,v 1.16 2012/11/02 10:12:34 idella4 Exp $
87 +
88 + 03 Nov 2012; Ian Delaney <idella4@g.o> pyudev-0.16.1.ebuild:
89 + test phase returned in working order; fixes bug #423483
90
91 *pyudev-0.16.1 (27 Aug 2012)