summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-06-23 16:01:58 +0000
committerMike Gilbert <floppym@gentoo.org>2013-06-23 16:01:58 +0000
commit91bb861d955f80b2a887c915111530cbbed17b2a (patch)
tree8fd96c0583896fb39d5dbec7fcb282c57f1f7afe /dev-python/pywebkitgtk
parentWorks on arm so keyword for libreoffice. (diff)
downloadhistorical-91bb861d955f80b2a887c915111530cbbed17b2a.tar.gz
historical-91bb861d955f80b2a887c915111530cbbed17b2a.tar.bz2
historical-91bb861d955f80b2a887c915111530cbbed17b2a.zip
Use virtualx for the test suite.
Package-Manager: portage-2.2.0_alpha184/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-python/pywebkitgtk')
-rw-r--r--dev-python/pywebkitgtk/ChangeLog5
-rw-r--r--dev-python/pywebkitgtk/Manifest10
-rw-r--r--dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild27
3 files changed, 17 insertions, 25 deletions
diff --git a/dev-python/pywebkitgtk/ChangeLog b/dev-python/pywebkitgtk/ChangeLog
index b8b38445ef49..369db3f41926 100644
--- a/dev-python/pywebkitgtk/ChangeLog
+++ b/dev-python/pywebkitgtk/ChangeLog
@@ -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.
diff --git a/dev-python/pywebkitgtk/Manifest b/dev-python/pywebkitgtk/Manifest
index 8d4fa0994ea4..656c9c6293ca 100644
--- a/dev-python/pywebkitgtk/Manifest
+++ b/dev-python/pywebkitgtk/Manifest
@@ -2,14 +2,14 @@
Hash: SHA256
DIST pywebkitgtk-1.1.8.tar.gz 342370 SHA256 7092212933000f23b3042135f01a371bd6a8f980c6b8d8b9dc7e20a1101d699c SHA512 18de613188f68d97be306af877b5d071758da1d08dfe4d4fa6ec275e931d9513520541747dcdcddacf5edf7e21061956ae2f3842155904c2e77c9a758e98e77f WHIRLPOOL e9bf3d71692682c65006a643fa1055ad06334a777d5e4c417ca8193b4e29d646522cfb67d9706e0ba1d93ecefe7d4734dd5e22456a9094ffbb01cf24b182e223
-EBUILD pywebkitgtk-1.1.8-r1.ebuild 1599 SHA256 b72ef4ae4d7c6a962fe99c96a22d0ad7eb15c1fe7b4f082b3b28ee4135b19fc5 SHA512 60e2b9d7c02bc9f8d1201f595e8b2eadd5f53eee66da60ad0417e139d6d85efcf04e86ac5d1e41cfe042966e243b13a14ba30a204e8da501275b8fecbbd1e26f WHIRLPOOL 1c5199db329bff1245e434bffbc04376508f95c4b84a51a623b682c0542a594cea4a0946da4984de773353020c094bd29bb71abea895511af70dd6b018598c24
+EBUILD pywebkitgtk-1.1.8-r1.ebuild 1383 SHA256 fb4193a50164ebef17c942041eb724d672667159a8947c0b1b4bd791cbdc148b SHA512 32fb5b7dda3fab0a2bcbaffeb71c62d624a39a7a4e2d28b254dd7701d74452097c0c8f230fff3a17acd671bbc5cdace86b550c8c75f2c7339ac5a54d1ad8f852 WHIRLPOOL 5c190f98cc7a44ee70528290149626b7f71eccb27100fcf19cff42a36c2064724a03a40797be2044fbe67a46e749f837d55693cc0293652a5b952ffea9aecf02
EBUILD pywebkitgtk-1.1.8.ebuild 1053 SHA256 3d925e4dcc45af32e53c2171ed5e4320b76235ff5ceeefa64c392001b83d6cb8 SHA512 07ed3d6ded63fee295ec1a14a49a41b205798e2461bfc694a47f6efc7fb19799e3b1824207a67fa4c560f34d880cfcf1481db86ebc409d27f8999560bc9e3b52 WHIRLPOOL 6e6165eab2f05ce4aae8299ea9214c74cd30479f12dbec4d097f88eac5e9a3f1ce06165eee891c34e0230a0718fce8ea7f724d54481e2493fb9b12f85994292b
-MISC ChangeLog 4455 SHA256 daa0eeb74aa8cab71d3d32fe62dffdad3e9041d2df9986ee34dec8fcb247ee7e SHA512 3366d4d12db4750990acc50b2e2ee3b56f32c89891a7041caf347ad2913068d22c44eace34569a2639677df7ba375d07f8d98b14bd9fd8dbbddb32a409d2cbda WHIRLPOOL 83703e9ba38bd619b3e73a8608b97c4d90439f77c0aabba50b390845273ea695f935c0dad0af96549d3ec543eb0830c367c46b32e05fd5918de9b817f120bfa4
+MISC ChangeLog 4569 SHA256 4f03f8c88c3408985046f19bd3a23259e259862f15a64d652b4688e95b137a6c SHA512 4fd5b9f2fbfc4b47c405b66811db0eba1df3cc01142b4735ecd4eaa92395ffcae8aa81330bb5c452b547e2fb2e63b45ed6c2a0cd45ac259bd66a3b7f99c5d04a WHIRLPOOL 2d1b2118a5a9d71a7868f935636a10397430c79e36dfd99e591d57e9a1d5d6f27be8cca02455283026e973f3cd0a0661967963aa3de7689db44a57ff8ce6db7d
MISC metadata.xml 465 SHA256 92837e30af89c2dc4c0bae13414e945c1bc6ad449a0f1ffd1be9931af2a56125 SHA512 c958e3de921732a21f63815bf6de58099b19e03cf9450d1d9703a71a0bee5a15c7967f7010595417c952e5f2bae980d581d867040d63e9948d2fbcc21fe085b2 WHIRLPOOL 3f877954c6578be5f051ef8fc9c8f883b24752c853d66d14b238188417f52e35e5a907ddf57f0d4e0dc8d5f490af2c2ef8d0e2f07ab0bc132bddff35f7ee7aef
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iF4EAREIAAYFAlHHE8MACgkQC77qH+pIQ6RWbAEAqBnV/L7KJ0hsDhNnXVEXem2B
-zTyZBPo8nRzLobEiCAcBAIwcwNA1c1zC7PpPLuFjjVIqI30jeZeo07jZbN4ToxHP
-=8J5F
+iF4EAREIAAYFAlHHG/UACgkQC77qH+pIQ6Tm8gEAi6OEQn45BHP2i9fk36dfH5Lb
+WY6KDMlSd40AcrA9NBgBALbRiQTGJ9Tjj0Cbn2KaXohmG62fiuVSCTluGU0MaONn
+=sicV
-----END PGP SIGNATURE-----
diff --git a/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild b/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild
index 7d7977be1724..7c67e1efe2f7 100644
--- a/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild
+++ b/dev-python/pywebkitgtk/pywebkitgtk-1.1.8-r1.ebuild
@@ -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 @@ RDEPEND="dev-python/pygobject:2[${PYTHON_USEDEP}]
DEPEND="${RDEPEND}
virtual/pkgconfig"
-RESTRICT="test"
-
src_configure() {
local myeconfargs=( --disable-static )
python_parallel_foreach_impl autotools-utils_src_configure
@@ -34,25 +32,16 @@ src_compile() {
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() {