summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libxmlb')
-rw-r--r--dev-libs/libxmlb/files/libxmlb-0.3.9-no_installed_tests.patch26
-rw-r--r--dev-libs/libxmlb/libxmlb-0.3.9.ebuild4
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/libxmlb/files/libxmlb-0.3.9-no_installed_tests.patch b/dev-libs/libxmlb/files/libxmlb-0.3.9-no_installed_tests.patch
new file mode 100644
index 000000000000..2b41e6cfb5d9
--- /dev/null
+++ b/dev-libs/libxmlb/files/libxmlb-0.3.9-no_installed_tests.patch
@@ -0,0 +1,26 @@
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -3,11 +3,6 @@
+ input : 'libxmlb.test.in',
+ output : 'libxmlb.test',
+ configuration : conf,
+- install: true,
+- install_dir: installed_test_datadir,
+- )
+-
+- install_data(['test.xml.gz.gz.gz'],
+- install_dir: installed_test_bindir,
++ install: false,
+ )
+ endif
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -242,7 +242,7 @@
+ gio,
+ libxmlb_dep,
+ ],
+- install : true,
++ install : false,
+ install_dir : installed_test_bindir
+ )
+ test('xb-self-test', e, env : testdatadirs)
diff --git a/dev-libs/libxmlb/libxmlb-0.3.9.ebuild b/dev-libs/libxmlb/libxmlb-0.3.9.ebuild
index c215099e799c..37db4d0c94c2 100644
--- a/dev-libs/libxmlb/libxmlb-0.3.9.ebuild
+++ b/dev-libs/libxmlb/libxmlb-0.3.9.ebuild
@@ -40,6 +40,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.3.9-no_installed_tests.patch
+)
+
python_check_deps() {
has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]"
}