summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-17 04:29:54 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-17 04:29:54 +0000
commit930a4ddea384fb766b67f05e9fbcabc4843c4dae (patch)
treed063500017c370fc2a05f1cc1d47e968a45fafc8 /dev-python/pyatspi/pyatspi-2.2.1.ebuild
parentAdded ~alpha, bug 411761. (diff)
downloadgentoo-2-930a4ddea384fb766b67f05e9fbcabc4843c4dae.tar.gz
gentoo-2-930a4ddea384fb766b67f05e9fbcabc4843c4dae.tar.bz2
gentoo-2-930a4ddea384fb766b67f05e9fbcabc4843c4dae.zip
Disable tests: as pointed out by Matt Turner, src_test was not running the test suite properly, and attempting to run it properly showed that it is obsolete and unpassable.
(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyatspi/pyatspi-2.2.1.ebuild')
-rw-r--r--dev-python/pyatspi/pyatspi-2.2.1.ebuild23
1 files changed, 8 insertions, 15 deletions
diff --git a/dev-python/pyatspi/pyatspi-2.2.1.ebuild b/dev-python/pyatspi/pyatspi-2.2.1.ebuild
index 7bfb695af7fb..75f3aec1afaf 100644
--- a/dev-python/pyatspi/pyatspi-2.2.1.ebuild
+++ b/dev-python/pyatspi/pyatspi-2.2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyatspi/pyatspi-2.2.1.ebuild,v 1.9 2012/05/31 09:24:31 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyatspi/pyatspi-2.2.1.ebuild,v 1.10 2012/10/17 04:29:54 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
@@ -14,10 +14,13 @@ DESCRIPTION="Python binding to at-spi library"
HOMEPAGE="http://live.gnome.org/Accessibility"
# Note: only some of the tests are GPL-licensed, everything else is LGPL
-LICENSE="LGPL-2 GPL-2"
+LICENSE="LGPL-2 GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~x86"
-IUSE="test"
+IUSE="" # test
+
+# test suite is obsolete (at-spi-1.x era) and unpassable
+RESTRICT="test"
COMMON_DEPEND="dev-python/dbus-python
>=dev-python/pygobject-2.90.1:3
@@ -28,16 +31,10 @@ RDEPEND="${COMMON_DEPEND}
!<gnome-extra/at-spi-1.32.0-r1
"
DEPEND="${COMMON_DEPEND}
- virtual/pkgconfig
- test? (
- >=dev-libs/atk-2.1.0
- >=dev-libs/dbus-glib-0.7
- dev-libs/glib:2
- dev-libs/libxml2:2
- >=x11-libs/gtk+-2.10:2 )"
+ virtual/pkgconfig"
pkg_setup() {
- G2CONF="${G2CONF} $(use_enable test tests)"
+ G2CONF="${G2CONF} --disable-tests"
python_pkg_setup
}
@@ -64,10 +61,6 @@ src_compile() {
python_execute_function -s gnome2_src_compile
}
-src_test() {
- python_execute_function -s -d
-}
-
src_install() {
python_execute_function -s gnome2_src_install
python_clean_installation_image