From: "Mike Gilbert (floppym)" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pywebkitgtk: pywebkitgtk-1.1.8-r1.ebuild ChangeLog
Date: Sun, 23 Jun 2013 16:01:56 +0000 (UTC) [thread overview]
Message-ID: <20130623160157.0AAA12171C@flycatcher.gentoo.org> (raw)
floppym 13/06/23 16:01:56
Modified: pywebkitgtk-1.1.8-r1.ebuild ChangeLog
Log:
Use virtualx for the test suite.
(Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path
1.4 dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild?r1=1.3&r2=1.4
Index: pywebkitgtk-1.1.8-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pywebkitgtk-1.1.8-r1.ebuild 23 Jun 2013 15:26:55 -0000 1.3
+++ pywebkitgtk-1.1.8-r1.ebuild 23 Jun 2013 16:01:56 -0000 1.4
@@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild,v 1.3 2013/06/23 15:26:55 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild,v 1.4 2013/06/23 16:01:56 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit autotools-utils python-r1
+inherit autotools-utils python-r1 virtualx
DESCRIPTION="Python bindings for the WebKit GTK+ port"
HOMEPAGE="http://code.google.com/p/pywebkitgtk/"
@@ -23,8 +23,6 @@
DEPEND="${RDEPEND}
virtual/pkgconfig"
-RESTRICT="test"
-
src_configure() {
local myeconfargs=( --disable-static )
python_parallel_foreach_impl autotools-utils_src_configure
@@ -34,25 +32,16 @@
python_foreach_impl autotools-utils_src_compile
}
-# Need fix a dbus session issue run as root
src_test() {
testing() {
- local test
- pushd webkit > /dev/null
- ln -sf ../webkit.la . || die
- ln -sf ../.libs/webkit.so . || die
- popd > /dev/null
- for test in tests/test_*.py
- do
- if ! PYTHONPATH=. "${PYTHON}" ${test}; then
- die "Test ${test} failed under ${EPYTHON}"
- fi
+ local test st=0
+ for test in tests/test_*.py; do
+ PYTHONPATH="${BUILD_DIR}/.libs" "${PYTHON}" "${test}"
+ (( st |= $? ))
done
- einfo "Testsuite passed under ${EPYTHON}"
- # rm symlinks
- rm -f webkit/{webkit.la,webkit.so}
+ (( st == 0 )) || die "Testing failed with ${EPYTHON}"
}
- python_foreach_impl run_in_build_dir testing
+ VIRTUALX_COMMAND=testing python_foreach_impl virtualmake
}
src_install() {
1.32 dev-python/pywebkitgtk/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pywebkitgtk/ChangeLog?rev=1.32&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pywebkitgtk/ChangeLog?rev=1.32&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pywebkitgtk/ChangeLog?r1=1.31&r2=1.32
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pywebkitgtk/ChangeLog,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ChangeLog 23 Jun 2013 15:26:55 -0000 1.31
+++ ChangeLog 23 Jun 2013 16:01:56 -0000 1.32
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pywebkitgtk
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pywebkitgtk/ChangeLog,v 1.31 2013/06/23 15:26:55 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pywebkitgtk/ChangeLog,v 1.32 2013/06/23 16:01:56 floppym Exp $
+
+ 23 Jun 2013; Mike Gilbert <floppym@gentoo.org> pywebkitgtk-1.1.8-r1.ebuild:
+ Use virtualx for the test suite.
23 Jun 2013; Mike Gilbert <floppym@gentoo.org> pywebkitgtk-1.1.8-r1.ebuild:
Use autotools-utils for out-of-source building, bug 474360.
next reply other threads:[~2013-06-23 16:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-23 16:01 Mike Gilbert (floppym) [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-04-08 8:05 [gentoo-commits] gentoo-x86 commit in dev-python/pywebkitgtk: pywebkitgtk-1.1.8-r1.ebuild ChangeLog Michal Gorny (mgorny)
2015-02-01 13:50 Agostino Sarubbo (ago)
2015-01-31 14:10 Agostino Sarubbo (ago)
2013-06-26 23:05 Mike Gilbert (floppym)
2013-06-23 16:18 Mike Gilbert (floppym)
2013-06-23 15:26 Mike Gilbert (floppym)
2013-06-23 15:08 Ian Delaney (idella4)
2013-06-22 8:31 Ian Delaney (idella4)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130623160157.0AAA12171C@flycatcher.gentoo.org \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox