summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-09-07 14:37:01 +0100
committerMarek Szuba <marecki@gentoo.org>2022-09-07 15:30:08 +0100
commit99b6095b7c555b61132861c3d9baf3f07204771a (patch)
treeb6d54a979286a2bed4e906081efc5df99edbb89e /dev-libs/libxmlb
parentsys-apps/lm-sensors: drop long-obsolete message about ThinkPads (diff)
downloadgentoo-99b6095b7c555b61132861c3d9baf3f07204771a.tar.gz
gentoo-99b6095b7c555b61132861c3d9baf3f07204771a.tar.bz2
gentoo-99b6095b7c555b61132861c3d9baf3f07204771a.zip
dev-libs/libxmlb: suppress installation of test files
Closes: https://bugs.gentoo.org/855368 Signed-off-by: Marek Szuba <marecki@gentoo.org>
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}]"
}