public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/sequoia-sq/
Date: Sat, 20 May 2023 06:56:17 +0000 (UTC)	[thread overview]
Message-ID: <1684565758.2e2db0878d2e38cc3a76236fdbb57e4ccb84aebc.sam@gentoo> (raw)

commit:     2e2db0878d2e38cc3a76236fdbb57e4ccb84aebc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 06:38:22 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 20 06:55:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2db087

app-crypt/sequoia-sq: 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/894358
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/sequoia-sq/sequoia-sq-0.28.0.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-crypt/sequoia-sq/sequoia-sq-0.28.0.ebuild b/app-crypt/sequoia-sq/sequoia-sq-0.28.0.ebuild
index e50b539faf2b..80703b5860dd 100644
--- a/app-crypt/sequoia-sq/sequoia-sq-0.28.0.ebuild
+++ b/app-crypt/sequoia-sq/sequoia-sq-0.28.0.ebuild
@@ -419,7 +419,10 @@ CRATES="
 	zeroize_derive-1.3.2
 "
 
-inherit bash-completion-r1 cargo
+# TODO: Should be able to try 16 in next release after 0.28.0
+LLVM_MAX_SLOT=15
+
+inherit bash-completion-r1 cargo llvm
 
 DESCRIPTION="CLI of the Sequoia OpenPGP implementation"
 HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia"
@@ -448,10 +451,16 @@ DEPEND="
 	${COMMON_DEPEND}
 "
 RDEPEND="${COMMON_DEPEND}"
+# Clang needed for bindgen
 BDEPEND="
+	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1))
 	virtual/pkgconfig
 "
 
+llvm_check_deps() {
+	has_version -b "sys-devel/clang:${LLVM_SLOT}"
+}
+
 src_compile() {
 	cd sq || die
 	# Setting CARGO_TARGET_DIR is required to have the build system


             reply	other threads:[~2023-05-20  6:56 UTC|newest]

Thread overview: 57+ 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-03-07  2:38 [gentoo-commits] repo/gentoo:master commit in: app-crypt/sequoia-sq/ Sam James
2025-03-07  2:38 Sam James
2025-02-10  1:33 Sam James
2025-02-10  1:33 Sam James
2025-02-04 17:33 Florian Schmaus
2025-02-04 17:33 Florian Schmaus
2025-01-22  7:54 Sam James
2025-01-20  6:49 Florian Schmaus
2025-01-02 20:30 Florian Schmaus
2025-01-02 20:30 Florian Schmaus
2024-12-19 19:19 Florian Schmaus
2024-07-15  1:57 Sam James
2024-06-24  4:00 Sam James
2024-06-03  0:44 Sam James
2024-06-03  0:44 Sam James
2024-04-29 13:42 Sam James
2024-04-29  1:11 Sam James
2024-04-29  0:06 Sam James
2024-03-22  3:58 Sam James
2024-03-14 19:19 Sam James
2024-03-04  8:28 Sam James
2024-03-02  4:57 Sam James
2024-03-02  4:57 Sam James
2024-02-22  9:50 Florian Schmaus
2024-02-22  9:19 Florian Schmaus
2024-02-22  9:18 Florian Schmaus
2024-02-03 21:34 Sam James
2024-02-02  1:51 Sam James
2023-12-24  2:55 Sam James
2023-12-24  2:55 Sam James
2023-12-15 21:17 Arthur Zamarin
2023-11-25  8:51 Sam James
2023-11-25  5:28 Sam James
2023-09-11 19:57 Florian Schmaus
2023-07-24  3:57 Sam James
2023-07-10  3:52 Sam James
2023-06-19  1:13 Sam James
2023-06-19  1:13 Sam James
2023-06-04  5:32 Sam James
2023-05-31  7:00 Sam James
2023-05-29 19:58 Florian Schmaus
2023-05-25  7:38 Sam James
2023-05-25  7:28 Sam James
2023-05-25  7:28 Sam James
2023-05-23  9:33 Sam James
2023-03-16 11:47 Florian Schmaus
2022-12-24  2:59 Sam James
2022-09-18 15:31 Florian Schmaus
2022-08-28 12:27 Florian Schmaus
2022-07-18 18:34 Florian Schmaus
2022-05-15 19:26 Florian Schmaus
2022-05-15 19:26 Florian Schmaus
2022-03-30 14:22 Florian Schmaus
2021-12-30 14:12 Florian Schmaus
2021-12-30 13:36 Florian Schmaus
2021-12-30 10:37 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=1684565758.2e2db0878d2e38cc3a76236fdbb57e4ccb84aebc.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