1 |
commit: c5440e66bb922ca2e6c46d78b633053c9ccd8824 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 27 15:41:42 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 27 15:41:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5440e66 |
7 |
|
8 |
dev-libs/libjcat: Removed old |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libjcat/Manifest | 1 - |
14 |
.../libjcat-0.1.0-disable_installed_tests.patch | 45 ----------------- |
15 |
.../files/libjcat-0.1.0-use_right_python.patch | 29 ----------- |
16 |
dev-libs/libjcat/libjcat-0.1.0.ebuild | 56 ---------------------- |
17 |
4 files changed, 131 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/libjcat/Manifest b/dev-libs/libjcat/Manifest |
20 |
index d0482c7ac39..aaf61a45435 100644 |
21 |
--- a/dev-libs/libjcat/Manifest |
22 |
+++ b/dev-libs/libjcat/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
-DIST libjcat-0.1.0.tar.gz 60808 BLAKE2B 384e5a846fb7c49c8a6d6ace5f2b17715693d7e9ecfce020859c6fb5d96f9b9398606a2161a2c9f795c16c90e8b7a0e9d08970c1f81e4412783097f4ca599083 SHA512 2172fd621c86b3a2d507c3bb8fcc5f40a46656a5352f4963a014c76642bb2c34e316bb8608c121fa7d728d63dc2593ed28d3e3478e1ec5bcf32daeffc43627fd |
25 |
DIST libjcat-0.1.1.tar.gz 62579 BLAKE2B fed33602d2b036605238945d09ede1c524847624f1be6301a7f5ff64d21ba27c7c765b37c522f81dfd49071db6339738ad82b2ad0b25f0494bf4fd806c64b5de SHA512 fd644c003ad3a317a9f8886c2bad6dcfabf953e61bcbf02b30a292e9a85a591f854f71d7ac17692d5d98d976a435cf53beba1394c662fa78836389d66d4a5824 |
26 |
DIST libjcat-0.1.2.tar.gz 62630 BLAKE2B cb333098d984f840a80c4ea4b7feab32ca7d04882f2f4aa788c01dd13c616b85576af5bbcd0ca343a7f5b7221ab69b202c7a8cacb230eeeefab9a3a9a61d7d3f SHA512 9184b761cad5a43ac1f0b0cd4ff54c372ec067785c9b796d813aab6a936fbb522f419e965b70d4d71fbec9f7c25f9d185f957cf1e73cb0e5bdeca9492e11b0fd |
27 |
|
28 |
diff --git a/dev-libs/libjcat/files/libjcat-0.1.0-disable_installed_tests.patch b/dev-libs/libjcat/files/libjcat-0.1.0-disable_installed_tests.patch |
29 |
deleted file mode 100644 |
30 |
index 823d713b791..00000000000 |
31 |
--- a/dev-libs/libjcat/files/libjcat-0.1.0-disable_installed_tests.patch |
32 |
+++ /dev/null |
33 |
@@ -1,45 +0,0 @@ |
34 |
---- a/data/tests/colorhug/meson.build |
35 |
-+++ b/data/tests/colorhug/meson.build |
36 |
-@@ -1,9 +1,11 @@ |
37 |
-+if false |
38 |
- install_data([ |
39 |
- 'firmware.bin', |
40 |
- 'firmware.bin.asc', |
41 |
- ], |
42 |
- install_dir: installed_test_datadir, |
43 |
- ) |
44 |
-+endif |
45 |
- |
46 |
- if get_option('pkcs7') |
47 |
- # generate self-signed detached signature |
48 |
-@@ -16,7 +18,7 @@ |
49 |
- '--load-certificate', pkcs7_certificate, |
50 |
- '--infile', '@INPUT@', |
51 |
- '--outfile', '@OUTPUT@'], |
52 |
-- install: true, |
53 |
-+ install: false, |
54 |
- install_dir: installed_test_datadir, |
55 |
- ) |
56 |
- endif |
57 |
---- a/data/tests/meson.build |
58 |
-+++ b/data/tests/meson.build |
59 |
-@@ -2,7 +2,7 @@ |
60 |
- input : 'libjcat.test.in', |
61 |
- output : 'libjcat.test', |
62 |
- configuration : conf, |
63 |
-- install: true, |
64 |
-+ install: false, |
65 |
- install_dir: installed_test_datadir, |
66 |
- ) |
67 |
- |
68 |
---- a/libjcat/meson.build |
69 |
-+++ b/libjcat/meson.build |
70 |
-@@ -225,7 +225,7 @@ |
71 |
- '-DTESTDATADIR_SRC="' + testdatadir_src + '"', |
72 |
- '-DTESTDATADIR_DST="' + testdatadir_dst + '"', |
73 |
- ], |
74 |
-- install : true, |
75 |
-+ install : false, |
76 |
- install_dir : installed_test_bindir |
77 |
- ) |
78 |
- test('jcat-self-test', e) |
79 |
|
80 |
diff --git a/dev-libs/libjcat/files/libjcat-0.1.0-use_right_python.patch b/dev-libs/libjcat/files/libjcat-0.1.0-use_right_python.patch |
81 |
deleted file mode 100644 |
82 |
index 9cbc63a08c0..00000000000 |
83 |
--- a/dev-libs/libjcat/files/libjcat-0.1.0-use_right_python.patch |
84 |
+++ /dev/null |
85 |
@@ -1,29 +0,0 @@ |
86 |
-By default generate-version-script.py uses /usr/bin/python3, whatever |
87 |
-version that may be - which causes problems if the default python3 |
88 |
-installation is one either built without XML support or not included |
89 |
-in PYTHON_TARGETS of dev-python/setuptools. Make sure the script is |
90 |
-invoked using the same interpreter as meson itself, as that one is |
91 |
-already guaranteed to provide both 'xml' and 'pkg_resources'. |
92 |
- |
93 |
---- a/libjcat/meson.build |
94 |
-+++ b/libjcat/meson.build |
95 |
-@@ -129,6 +129,11 @@ |
96 |
- install : true, |
97 |
- ) |
98 |
- |
99 |
-+ # Make sure generate-version-script.py is invoked by the same python as meson, |
100 |
-+ # as that one must already have both XML support and setuptools. |
101 |
-+ python = import('python') |
102 |
-+ python_interpreter = python.find_installation() |
103 |
-+ |
104 |
- # Verify the map file is correct -- note we can't actually use the generated |
105 |
- # file for two reasons: |
106 |
- # |
107 |
-@@ -141,6 +146,7 @@ |
108 |
- input: jcat_gir[0], |
109 |
- output: 'jcat.map', |
110 |
- command: [ |
111 |
-+ python_interpreter, |
112 |
- join_paths(meson.source_root(), 'contrib', 'generate-version-script.py'), |
113 |
- 'LIBJCAT', |
114 |
- '@INPUT@', |
115 |
|
116 |
diff --git a/dev-libs/libjcat/libjcat-0.1.0.ebuild b/dev-libs/libjcat/libjcat-0.1.0.ebuild |
117 |
deleted file mode 100644 |
118 |
index 0956f965a22..00000000000 |
119 |
--- a/dev-libs/libjcat/libjcat-0.1.0.ebuild |
120 |
+++ /dev/null |
121 |
@@ -1,56 +0,0 @@ |
122 |
-# Copyright 1999-2020 Gentoo Authors |
123 |
-# Distributed under the terms of the GNU General Public License v2 |
124 |
- |
125 |
-EAPI=7 |
126 |
- |
127 |
-inherit meson vala xdg-utils |
128 |
- |
129 |
-DESCRIPTION="Library and tool for reading and writing Jcat files " |
130 |
-HOMEPAGE="https://github.com/hughsie/libjcat" |
131 |
-SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
132 |
- |
133 |
-LICENSE="LGPL-2.1+" |
134 |
-SLOT="0" |
135 |
-KEYWORDS="~amd64" |
136 |
-IUSE="gpg gtk-doc +introspection +man pkcs7 test" |
137 |
- |
138 |
-RDEPEND="dev-libs/glib:2 |
139 |
- dev-libs/json-glib:= |
140 |
- gpg? ( |
141 |
- app-crypt/gpgme |
142 |
- dev-libs/libgpg-error |
143 |
- ) |
144 |
- introspection? ( dev-libs/gobject-introspection:= ) |
145 |
- pkcs7? ( net-libs/gnutls ) |
146 |
- dev-lang/vala:=" |
147 |
-DEPEND="${RDEPEND}" |
148 |
-BDEPEND="virtual/pkgconfig |
149 |
- gtk-doc? ( dev-util/gtk-doc ) |
150 |
- man? ( sys-apps/help2man ) |
151 |
- test? ( net-libs/gnutls[tools] )" |
152 |
- |
153 |
-RESTRICT="!test? ( test )" |
154 |
- |
155 |
-PATCHES=( |
156 |
- "${FILESDIR}"/${PN}-0.1.0-disable_installed_tests.patch |
157 |
- "${FILESDIR}"/${PN}-0.1.0-use_right_python.patch |
158 |
-) |
159 |
- |
160 |
-src_prepare() { |
161 |
- xdg_environment_reset |
162 |
-# TODO: make vala optional |
163 |
- vala_src_prepare |
164 |
- default |
165 |
-} |
166 |
- |
167 |
-src_configure() { |
168 |
- local emesonargs=( |
169 |
- $(meson_use gtk-doc gtkdoc) |
170 |
- $(meson_use gpg) |
171 |
- $(meson_use introspection) |
172 |
- $(meson_use man) |
173 |
- $(meson_use pkcs7) |
174 |
- $(meson_use test tests) |
175 |
- ) |
176 |
- meson_src_configure |
177 |
-} |