diff options
-rw-r--r-- | sci-electronics/pcb/ChangeLog | 5 | ||||
-rw-r--r-- | sci-electronics/pcb/pcb-20100929.ebuild | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/sci-electronics/pcb/ChangeLog b/sci-electronics/pcb/ChangeLog index f46e6825fe3b..70618c224982 100644 --- a/sci-electronics/pcb/ChangeLog +++ b/sci-electronics/pcb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-electronics/pcb # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.56 2010/10/23 06:57:09 tomjbe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/ChangeLog,v 1.57 2010/10/30 14:25:48 tomjbe Exp $ + + 30 Oct 2010; Thomas Beierlein <tomjbe@gentoo.org> pcb-20100929.ebuild: + Fix tests wrt bug #342835. Thanks for reporting Diego. *pcb-20100929 (22 Oct 2010) diff --git a/sci-electronics/pcb/pcb-20100929.ebuild b/sci-electronics/pcb/pcb-20100929.ebuild index 88f52327727b..6a8993d64f8b 100644 --- a/sci-electronics/pcb/pcb-20100929.ebuild +++ b/sci-electronics/pcb/pcb-20100929.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20100929.ebuild,v 1.1 2010/10/22 18:37:25 tomjbe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/pcb/pcb-20100929.ebuild,v 1.2 2010/10/30 14:25:48 tomjbe Exp $ EAPI="2" @@ -59,6 +59,18 @@ pkg_setup() { fi } +src_prepare() { + if use test; then + # adapt the list of tests to run according to USE flag settings + if ! use png; then + sed -i '/^hid_png/d' tests/tests.list || die + fi + if ! use gcode; then + sed -i '/^hid_gcode/d' tests/tests.list || die + fi + fi +} + src_configure() { local myconf if use gtk ; then |