commit: a725cc92eea58cc4048e453dd1bdeced44c90301 Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org> AuthorDate: Fri Aug 29 06:24:42 2025 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Fri Aug 29 06:33:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a725cc92
dev-libs/libjcat: drop 0.2.2 Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> dev-libs/libjcat/Manifest | 1 - dev-libs/libjcat/files/libjcat-0.2.2-tests.patch | 36 ---------- dev-libs/libjcat/libjcat-0.2.2.ebuild | 89 ------------------------ 3 files changed, 126 deletions(-) diff --git a/dev-libs/libjcat/Manifest b/dev-libs/libjcat/Manifest index dfdfb18ac5f4..006afc688be4 100644 --- a/dev-libs/libjcat/Manifest +++ b/dev-libs/libjcat/Manifest @@ -1,2 +1 @@ -DIST libjcat-0.2.2.tar.xz 66128 BLAKE2B 30e855ec626616adf8326832dbb6e5c9266ffd41d14d1ef2a230f72e0a339d4c8ed83adacd0253faf242b065736dca7f25bd4ce04d30605998d39cacf01beac0 SHA512 91d4d9761e7de3ae312d9ef7b92fbbb82be262cdc4259ee9dad7abef8912abb047b2db51886b3d323565cb2d9a3175a56161b4879d27b36d4d318ad4419ab594 DIST libjcat-0.2.3.tar.xz 66188 BLAKE2B 200cac29d355cce54a4d722bcdd5dcd88e2aea59c31fb43a37cf4a7272cd7d996acafa3e4e70e15fdd59174be158b9c5134acef6a722504f97835095f63eb274 SHA512 ff4627c3917b10eb5acce0c0c2f583f6cebe8d9c7501ff3cbb9a8b419db62761d6b82674786cbfa00fe66d30a7699bc87c37e76648e45884a97523d68ac6ae15 diff --git a/dev-libs/libjcat/files/libjcat-0.2.2-tests.patch b/dev-libs/libjcat/files/libjcat-0.2.2-tests.patch deleted file mode 100644 index 82f1b6a38286..000000000000 --- a/dev-libs/libjcat/files/libjcat-0.2.2-tests.patch +++ /dev/null @@ -1,36 +0,0 @@ -https://bugs.gentoo.org/946985 -https://github.com/hughsie/libjcat/commit/130179f55a4eba1e885ca4ea1b4b2aa0a8d24605 - -From 130179f55a4eba1e885ca4ea1b4b2aa0a8d24605 Mon Sep 17 00:00:00 2001 -From: Heiko Becker <[email protected]> -Date: Sat, 2 Nov 2024 15:06:31 +0100 -Subject: [PATCH] Skip ed25519 part of a test with -Ded25519=false - -Otherwise it fails with "jcat-self-test.c:1147:jcat_bt_common_func: -assertion failed (error == NULL): Jcat engine kind 'ed25519' not -supported (g-io-error-quark, 1)" ---- - libjcat/jcat-self-test.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/libjcat/jcat-self-test.c b/libjcat/jcat-self-test.c -index 68e1273..cc92e12 100644 ---- a/libjcat/jcat-self-test.c -+++ b/libjcat/jcat-self-test.c -@@ -1142,6 +1142,7 @@ jcat_bt_common_func(void) - g_assert_no_error(error); - g_assert_nonnull(btcheckpoint); - -+#ifdef ENABLE_ED25519 - /* get engine */ - engine = jcat_context_get_engine(context, JCAT_BLOB_KIND_ED25519, &error); - g_assert_no_error(error); -@@ -1162,6 +1163,7 @@ jcat_bt_common_func(void) - &error); - g_assert_no_error(error); - g_assert_nonnull(result); -+#endif - } - - int - diff --git a/dev-libs/libjcat/libjcat-0.2.2.ebuild b/dev-libs/libjcat/libjcat-0.2.2.ebuild deleted file mode 100644 index 56480d506397..000000000000 --- a/dev-libs/libjcat/libjcat-0.2.2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -PYTHON_REQ_USE="xml(+)" - -inherit meson python-any-r1 vala xdg-utils - -DESCRIPTION="Library and tool for reading and writing Jcat files" -HOMEPAGE="https://github.com/hughsie/libjcat" -SRC_URI="https://github.com/hughsie/libjcat/releases/download/${PV}/${P}.tar.xz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv x86" -IUSE="+ed25519 +gpg gtk-doc +introspection +man +pkcs7 test vala" - -RDEPEND=" - dev-libs/glib:2 - dev-libs/json-glib:= - ed25519? ( - net-libs/gnutls:= - ) - gpg? ( - app-crypt/gpgme:= - dev-libs/libgpg-error - ) - introspection? ( dev-libs/gobject-introspection:= ) - pkcs7? ( net-libs/gnutls:= ) - vala? ( dev-lang/vala:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - $(python_gen_any_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - gtk-doc? ( dev-util/gtk-doc ) - man? ( sys-apps/help2man ) - test? ( net-libs/gnutls[tools] ) -" - -RESTRICT="!test? ( test )" - -PATCHES=( - "${FILESDIR}"/${P}-tests.patch -) - -python_check_deps() { - python_has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" -} - -pkg_setup() { - use vala && vala_setup -} - -src_prepare() { - xdg_environment_reset - default -} - -src_configure() { - local emesonargs=( - $(meson_use ed25519) - $(meson_use gtk-doc gtkdoc) - $(meson_use gpg) - $(meson_use introspection) - $(meson_use man) - $(meson_use pkcs7) - $(meson_use test tests) - $(meson_use vala vapi) - ) - meson_src_configure -} - -src_install() { - meson_src_install - - if use test; then - # Preventing tests from being installed in the first place is a moving target, - # just axe them all afterwards. - rm -rf \ - "${ED}"/usr/libexec/installed-tests \ - "${ED}"/usr/share/installed-tests \ - || die - fi -}
