summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2011-01-23 18:19:35 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2011-01-23 18:19:35 +0000
commit50e532221f0ad9a989f2d44401c495bd05a7287a (patch)
treec0392afa9ce34b19705d7625477ba2804ec9ed5d /dev-libs/totem-pl-parser
parentFix linkage against X11 libs, bug 352425 (diff)
downloadgentoo-2-50e532221f0ad9a989f2d44401c495bd05a7287a.tar.gz
gentoo-2-50e532221f0ad9a989f2d44401c495bd05a7287a.tar.bz2
gentoo-2-50e532221f0ad9a989f2d44401c495bd05a7287a.zip
Disable test suite items requiring network access, bug #346127. Drop old revision.
(Portage version: 2.2.0_alpha18/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/totem-pl-parser')
-rw-r--r--dev-libs/totem-pl-parser/ChangeLog8
-rw-r--r--dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild11
-rw-r--r--dev-libs/totem-pl-parser/totem-pl-parser-2.32.0.ebuild36
-rw-r--r--dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild15
4 files changed, 29 insertions, 41 deletions
diff --git a/dev-libs/totem-pl-parser/ChangeLog b/dev-libs/totem-pl-parser/ChangeLog
index 4a50cb3cb4e2..59564c873609 100644
--- a/dev-libs/totem-pl-parser/ChangeLog
+++ b/dev-libs/totem-pl-parser/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/totem-pl-parser
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/ChangeLog,v 1.75 2011/01/19 21:31:48 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/ChangeLog,v 1.76 2011/01/23 18:19:35 eva Exp $
+
+ 23 Jan 2011; Gilles Dartiguelongue <eva@gentoo.org>
+ totem-pl-parser-2.30.4.ebuild, -totem-pl-parser-2.32.0.ebuild,
+ totem-pl-parser-2.32.1.ebuild:
+ Disable test suite items requiring network access, bug #346127. Drop old
+ revision.
19 Jan 2011; Markos Chandras <hwoarang@gentoo.org>
totem-pl-parser-2.30.4.ebuild:
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild
index cb4d479bcecf..22ff2789113f 100644
--- a/dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild,v 1.4 2011/01/19 21:31:48 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-2.30.4.ebuild,v 1.5 2011/01/23 18:19:35 eva Exp $
EAPI="2"
GCONF_DEBUG="no"
@@ -32,6 +32,15 @@ pkg_setup() {
G2CONF="${G2CONF} --disable-static $(use_enable introspection)"
}
+src_prepare() {
+ gnome2_src_prepare
+
+ # Disable tests requiring network access, bug #346127
+ sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
+ -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
+ -i plparse/tests/parser.c || die "sed failed"
+}
+
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
emake check || die "emake check failed"
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-2.32.0.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-2.32.0.ebuild
deleted file mode 100644
index 6348e92249be..000000000000
--- a/dev-libs/totem-pl-parser/totem-pl-parser-2.32.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-2.32.0.ebuild,v 1.1 2010/10/09 20:48:13 pacho Exp $
-
-EAPI="3"
-GCONF_DEBUG="no"
-
-inherit gnome2
-
-DESCRIPTION="Playlist parsing library"
-HOMEPAGE="http://www.gnome.org/projects/totem/"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
-IUSE="doc +introspection"
-
-RDEPEND=">=dev-libs/glib-2.24
- dev-libs/gmime:2.4
- >=net-libs/libsoup-gnome-2.30:2.4"
-DEPEND="${RDEPEND}
- !<media-video/totem-2.21
- >=dev-util/intltool-0.35
- >=dev-util/gtk-doc-am-1.11
- doc? ( >=dev-util/gtk-doc-1.11 )
- introspection? ( >=dev-libs/gobject-introspection-0.6.14 )"
-
-pkg_setup() {
- G2CONF="${G2CONF} --disable-static $(use_enable introspection)"
- DOCS="AUTHORS ChangeLog NEWS"
-}
-
-src_test() {
- # This is required as told by upstream in bgo#629542
- dbus-launch emake check || die "make check failed"
-}
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild
index 703418a822bc..f6f07969c0df 100644
--- a/dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild,v 1.1 2010/10/22 21:42:47 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/totem-pl-parser/totem-pl-parser-2.32.1.ebuild,v 1.2 2011/01/23 18:19:35 eva Exp $
EAPI="3"
GCONF_DEBUG="no"
@@ -32,7 +32,16 @@ pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS"
}
+src_prepare() {
+ gnome2_src_prepare
+
+ # Disable tests requiring network access, bug #346127
+ sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
+ -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
+ -i plparse/tests/parser.c || die "sed failed"
+}
+
src_test() {
# This is required as told by upstream in bgo#629542
- dbus-launch emake check || die "make check failed"
+ dbus-launch emake check || die "emake check failed"
}