From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/sequoia-sqv/
Date: Sat, 20 May 2023 06:56:17 +0000 (UTC) [thread overview]
Message-ID: <1684565756.eaafd2ec6e20a199c2ef0077bdbd1b93c761f695.sam@gentoo> (raw)
commit: eaafd2ec6e20a199c2ef0077bdbd1b93c761f695
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 06:34:39 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 20 06:55:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaafd2ec
app-crypt/sequoia-sqv: use llvm.eclass for bindgen
Just like 1fd5803705bc3bc5ede5559d08b6e4c57a201fbf. Could bump the crates
like gyakovlev said but we're about to do that for a bump anyway.
Closes: https://bugs.gentoo.org/902127
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild b/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild
index 6d67fc76f141..9fe98046e2db 100644
--- a/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild
+++ b/app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -155,7 +155,10 @@ CRATES="
zeroize_derive-1.2.2
"
-inherit bash-completion-r1 cargo
+# TODO: Should be able to try 16 in next release after 1.1.0
+LLVM_MAX_SLOT=15
+
+inherit bash-completion-r1 cargo llvm
DESCRIPTION="A simple OpenPGP signature verification program"
HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia"
@@ -176,15 +179,20 @@ COMMON_DEPEND="
"
DEPEND="
- sys-devel/clang
${COMMON_DEPEND}
"
RDEPEND="${COMMON_DEPEND}"
+# Needed for bindgen
BDEPEND="
+ <sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))
sys-apps/help2man
virtual/pkgconfig
"
+llvm_check_deps() {
+ has_version -b "sys-devel/clang:${LLVM_SLOT}"
+}
+
src_compile() {
# Setting CARGO_TARGET_DIR is required to have the build system
# create the bash and zsh completion files.
next reply other threads:[~2023-05-20 6:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-20 6:56 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-30 9:53 [gentoo-commits] repo/gentoo:master commit in: app-crypt/sequoia-sqv/ Sam James
2025-04-24 22:20 Sam James
2025-04-07 8:49 Sam James
2025-03-07 2:38 Sam James
2025-02-10 1:33 Sam James
2024-06-03 0:44 Sam James
2024-04-29 0:06 Sam James
2024-03-02 5:05 Sam James
2023-12-15 21:09 Arthur Zamarin
2023-11-25 8:51 Sam James
2023-06-19 1:13 Sam James
2023-05-31 7:00 Sam James
2023-05-25 7:28 Sam James
2023-05-23 9:33 Sam James
2023-05-04 6:54 Florian Schmaus
2022-12-24 2:59 Sam James
2022-05-16 10:13 Florian Schmaus
2021-12-31 12:31 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1684565756.eaafd2ec6e20a199c2ef0077bdbd1b93c761f695.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox