1 |
commit: 8073e979e38e4104f9243893755054a9f9e80928 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 09:31:20 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 09:31:20 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8073e979 |
7 |
|
8 |
dev-libs/libjcat: expand non-installation of test data |
9 |
|
10 |
No revbump because this bug only affected users who have had tests |
11 |
enabled on this package, and in any case the spurious files ARE known to |
12 |
the package manager so they'll be gone come next release anyway. |
13 |
|
14 |
Closes: https://bugs.gentoo.org/855302 |
15 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
16 |
|
17 |
...atch => libjcat-0.1.11-disable_installed_tests.patch} | 16 +++++++++++++++- |
18 |
dev-libs/libjcat/libjcat-0.1.11.ebuild | 2 +- |
19 |
2 files changed, 16 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/libjcat/files/libjcat-0.1.1-disable_installed_tests.patch b/dev-libs/libjcat/files/libjcat-0.1.11-disable_installed_tests.patch |
22 |
similarity index 75% |
23 |
rename from dev-libs/libjcat/files/libjcat-0.1.1-disable_installed_tests.patch |
24 |
rename to dev-libs/libjcat/files/libjcat-0.1.11-disable_installed_tests.patch |
25 |
index 5cb3e00c6778..18ef4000293e 100644 |
26 |
--- a/dev-libs/libjcat/files/libjcat-0.1.1-disable_installed_tests.patch |
27 |
+++ b/dev-libs/libjcat/files/libjcat-0.1.11-disable_installed_tests.patch |
28 |
@@ -33,9 +33,23 @@ |
29 |
install_dir: installed_test_datadir, |
30 |
) |
31 |
|
32 |
+--- a/data/tests/pki/meson.build |
33 |
++++ b/data/tests/pki/meson.build |
34 |
+@@ -1,9 +1,11 @@ |
35 |
++if false |
36 |
+ install_data([ |
37 |
+ 'GPG-KEY-Linux-Vendor-Firmware-Service', |
38 |
+ 'LVFS-CA.pem', |
39 |
+ ], |
40 |
+ install_dir: join_paths(installed_test_bindir, 'pki'), |
41 |
+ ) |
42 |
++endif |
43 |
+ |
44 |
+ # generate certificate |
45 |
+ pkcs7_config = join_paths(meson.current_source_dir(), 'test.cfg') |
46 |
--- a/libjcat/meson.build |
47 |
+++ b/libjcat/meson.build |
48 |
-@@ -235,7 +235,7 @@ |
49 |
+@@ -248,7 +248,7 @@ |
50 |
dependencies : [ |
51 |
libjcat_deps, |
52 |
], |
53 |
|
54 |
diff --git a/dev-libs/libjcat/libjcat-0.1.11.ebuild b/dev-libs/libjcat/libjcat-0.1.11.ebuild |
55 |
index 1e2e8e341b96..b949816c5858 100644 |
56 |
--- a/dev-libs/libjcat/libjcat-0.1.11.ebuild |
57 |
+++ b/dev-libs/libjcat/libjcat-0.1.11.ebuild |
58 |
@@ -38,7 +38,7 @@ BDEPEND="virtual/pkgconfig |
59 |
RESTRICT="!test? ( test )" |
60 |
|
61 |
PATCHES=( |
62 |
- "${FILESDIR}"/${PN}-0.1.1-disable_installed_tests.patch |
63 |
+ "${FILESDIR}"/${PN}-0.1.11-disable_installed_tests.patch |
64 |
) |
65 |
|
66 |
python_check_deps() { |