From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA96E15811D for ; Fri, 7 Jul 2023 00:45:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FE15E07E1; Fri, 7 Jul 2023 00:45:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F1F1E07E1 for ; Fri, 7 Jul 2023 00:45:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 236E9335D80 for ; Fri, 7 Jul 2023 00:45:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA4CDACE for ; Fri, 7 Jul 2023 00:45:53 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1688690656.b6554ccd1e57fffa59574bc01bc7fd0bf7cd3f34.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libp11/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libp11/libp11-0.4.12-r2.ebuild X-VCS-Directories: dev-libs/libp11/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b6554ccd1e57fffa59574bc01bc7fd0bf7cd3f34 X-VCS-Branch: master Date: Fri, 7 Jul 2023 00:45:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5811611-1125-4ac0-bdd4-63c981663863 X-Archives-Hash: 951e00eec68d0d00e22c3d301a74e08a commit: b6554ccd1e57fffa59574bc01bc7fd0bf7cd3f34 Author: Matoro Mahri users noreply github com> AuthorDate: Thu Jul 6 20:01:07 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jul 7 00:44:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6554ccd dev-libs/libp11: wire up test deps Tests run but are a no-op without these. Also tests CURRENTLY DO NOT PASS, upstream https://github.com/OpenSC/libp11/issues/478 Bug: https://bugs.gentoo.org/902707 Signed-off-by: Matoro Mahri users.noreply.github.com> Signed-off-by: Sam James gentoo.org> dev-libs/libp11/libp11-0.4.12-r2.ebuild | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-libs/libp11/libp11-0.4.12-r2.ebuild b/dev-libs/libp11/libp11-0.4.12-r2.ebuild new file mode 100644 index 000000000000..fa2bb93c93be --- /dev/null +++ b/dev-libs/libp11/libp11-0.4.12-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Abstraction layer to simplify PKCS#11 API" +HOMEPAGE="https://github.com/opensc/libp11/wiki" +SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="doc static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/openssl:=[bindist(+)]" +DEPEND="${RDEPEND} + test? ( dev-libs/softhsm )" +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen ) + test? ( dev-libs/opensc )" + +src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable doc api-doc) +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}