app-i18n/ibus: fix src_test

Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
Akinori Hattori
2017-08-01 23:00:06 +09:00
parent 642f19aeb1
commit c2d591c2f9
2 changed files with 10 additions and 2 deletions

View File

@@ -15,13 +15,13 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
RESTRICT="test"
REQUIRED_USE="deprecated? ( python )
python? (
${PYTHON_REQUIRED_USE}
|| ( deprecated gtk3 )
gtk3? ( introspection )
)
test? ( || ( gtk gtk3 ) )
vala? ( introspection )"
CDEPEND="app-text/iso-codes
@@ -77,6 +77,12 @@ src_prepare() {
-e "/^py2_compile/,/^$/d" \
-e "/^install-data-hook/,/^$/d" \
bindings/pygobject/Makefile.am
# require user interaction
sed -i "/^TESTS += ibus-compose/d" src/tests/Makefile.am
# fixed in 1.5.14+
sed -i "/def test_keymap/a\ self.skipTest('')" bindings/pygobject/test-override-ibus.py
sed -i "/[[:space:]]test-stress[[:space:]]/d" bus/Makefile.am
sed -i "/^TESTS += ibus-engine-switch/d" src/tests/Makefile.am
sed -i "/^bash_completion/d" tools/Makefile.am

View File

@@ -15,13 +15,13 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X"
RESTRICT="test"
REQUIRED_USE="deprecated? ( python )
python? (
${PYTHON_REQUIRED_USE}
|| ( deprecated gtk3 )
gtk3? ( introspection )
)
test? ( || ( gtk gtk3 ) )
vala? ( introspection )"
CDEPEND="app-text/iso-codes
@@ -77,6 +77,8 @@ src_prepare() {
-e "/^py2_compile/,/^$/d" \
-e "/^install-data-hook/,/^$/d" \
bindings/pygobject/Makefile.am
# require user interaction
sed -i "/^TESTS += ibus-compose/d" src/tests/Makefile.am
sed -i "/^bash_completion/d" tools/Makefile.am