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: Thu, 20 Mar 2025 02:03:13 +0000 (UTC)	[thread overview]
Message-ID: <1742436167.4fcf14ec6f2dc5ad34c64b4fdebb17aa7001fdd3.sam@gentoo> (raw)

commit:     4fcf14ec6f2dc5ad34c64b4fdebb17aa7001fdd3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 20 02:02:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 20 02:02:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fcf14ec

app-crypt/sequoia-sq: add 1.3.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/sequoia-sq/Manifest                |  2 +
 app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild | 93 ++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/app-crypt/sequoia-sq/Manifest b/app-crypt/sequoia-sq/Manifest
index 78ee5d184a64..c1bf807755a5 100644
--- a/app-crypt/sequoia-sq/Manifest
+++ b/app-crypt/sequoia-sq/Manifest
@@ -360,8 +360,10 @@ DIST sequoia-net-0.29.0.crate 49014 BLAKE2B c24461cd4f05cb369f3765f4fda7188fc22a
 DIST sequoia-openpgp-1.22.0.crate 3017622 BLAKE2B 83be10aaa9adcd3af9a8b4657474892d4042c262c2349e2b7cd4669c23c27606c04674317daa6c143f8277684f58a1b85a2df77bc1cfeff3d79473480937401e SHA512 10893cff011ced034382d4fca9c04e61b7bdb5f2f621cbf4f36d611423248c7b411d7440433607cffdc1d646898607ede159248d1e69a6d2ca69bbc14db6f95a
 DIST sequoia-policy-config-0.7.0.crate 106066 BLAKE2B e3d02172c530264fb6af51ecc7729d0e9b70b7e88e74d25ef66b1fd60d50c88fa6eed5bf9df0f954c18e8d68251e761752dd75196971b6c0d29fece569b5c7e7 SHA512 24db46b8d47877bb533f2379db104464e78492305e2d7c0b058a1fefe5408ddb744a8a84ec239d750d9dc12166e79a49595e096e9d3cc24989455571b7c4e0f3
 DIST sequoia-sq-1.2.0-crates.tar.xz 47535108 BLAKE2B 509e5c71b4cb3727013a9d11a9ed0d72cdd56f58b3a000968c641a0c0477447868eb71191b269de5fa230eb24d9d5861f3c30d43838a9adbd7968af6783d54ad SHA512 70dd4a0c3149b2e4335cf9391fc8cd266a030a81533b65b98dae98a1b30e4bdbb212bfe471fc394249200cf8f275ab464ecf4df78a7f2458e73dbe588d86c6c8
+DIST sequoia-sq-1.3.0-crates.tar.xz 45373732 BLAKE2B 767a4e07d95d5d6ee8f85b7e71464c5248715366cf8dfdd79bc2263fc8e001ad4234f26cb723cd98e060da0bee97c57ab575735b1b9cc7a43c0bef70a73a9e38 SHA512 9f7d67562da3cf403ac3ae06c6a8d28660fbe5fb7705aeb5c31c6a2ab0ead936fe02275db93509720ae14854752829e205cd7845b9c975964717db94f58050c2
 DIST sequoia-sq-v1.1.0.tar.bz2 670352 BLAKE2B c69f77b0c8f1f3d4f02d3518d240b6c15a711838e565bb080c22863240a1bfd2a47958d39313ac274bbc4d808548043ad8dd07252f310cb9d51f5f098a0159a6 SHA512 f23103f1863dd6712e7830ed9d23b0209cddeeb4d209b4d71d920b41d58adaac22b9e19218f7a26d4f513e0a211646f6c2eb8b8cdf18da13c96c599cbf116f6f
 DIST sequoia-sq-v1.2.0.tar.bz2 683728 BLAKE2B 12d1d4872804cf015526d0c2c07a1af3b3e200e349b6f9257819168daabed9246c670561f3b95b6ec6f966255ad8043a6f63aebf3610485ed6657ef8751e8c1c SHA512 49b5e48a5ac2eaaa5154164b453a778418c36a5c9a2659541e16c1fcc5615f4a8ceaa0311a631be6cbb6ee4a20982bc3d20c6533780d2d3d698d28f786f8a8bb
+DIST sequoia-sq-v1.3.0.tar.bz2 675390 BLAKE2B f2b6d1a6dfbfb56594f420c005cde0dc2ffae69b62a88be4572982590be27640b081734d07f0664b86949a8289263fab50e32eb415f0a8b6d6d2d633a5e79fac SHA512 6a2a6720787d5643e773354c19206c6db2760b61103982be417d0cb0983ea459fc0803517e84c845b5d4b48051f3aaac4fabcb57ebc14968a0e7dbb88629e54c
 DIST sequoia-wot-0.13.2.crate 1021102 BLAKE2B 1d8cea68cb13f3092ac08912ba83ac0ff1a5cff21e6cace2768ca3d2bb77f7a5870ec7cbcd2788ffb13f50958d69396595e3b80571e7303dccd5d92aad5b372d SHA512 c606e8f07fc239d0f6042873f460c05540b25faacd04a1284fdcb77e88d030c52f3be4bc00bcc572c24d63a6ab2cf6f84cc2b82572afbdb1be7262cf66f0a7ea
 DIST serde-1.0.217.crate 79019 BLAKE2B a0aacff795d34583365ddd469fa14c58a6cccf8afbb248210aaff3134c7ce6e34b3d03f437326d7c01b3e78f82a5d19c37ed9fa4372970d8b2793f2889288e1c SHA512 f97b3b54b9e99c9a027390405cc054c3072f49c92803a4ed5f5f69e76a179deda9d77993b645b3581437085912d881da88d0451b9e0da423c64033a23fdd8054
 DIST serde_derive-1.0.217.crate 57749 BLAKE2B 63b4930122d80d64492ba2718630513012202e42bbaa74510729ee66a0e72b8a1ad123784b479697ba562db43868f4bddfdf5e94bb3d744cd68a547471ba40aa SHA512 31020f4533d04b31ae125580a3c5093fad36438d324e2d9b063923aa8c125c654102ae7fbc3b3df892bb41db6b321962a23e0a37950e080055d715d15b18af76

diff --git a/app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild b/app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild
new file mode 100644
index 000000000000..c5a4cde4d25d
--- /dev/null
+++ b/app-crypt/sequoia-sq/sequoia-sq-1.3.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+LLVM_COMPAT=( {16..20} )
+
+inherit cargo llvm-r1 shell-completion
+
+DESCRIPTION="CLI of the Sequoia OpenPGP implementation"
+HOMEPAGE="https://sequoia-pgp.org/ https://gitlab.com/sequoia-pgp/sequoia-sq"
+SRC_URI="
+	https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
+	${CARGO_CRATE_URIS}
+"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-crates.tar.xz"
+S="${WORKDIR}"/${PN}-v${PV}
+
+LICENSE="LGPL-2.1+"
+# Dependent crate licenses
+LICENSE+="
+	Apache-2.0 BSD Boost-1.0 CC0-1.0 ISC LGPL-2+ MIT MIT-0 MPL-2.0
+	Unicode-3.0
+	|| ( GPL-2 GPL-3 LGPL-3 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+QA_FLAGS_IGNORED="usr/bin/sq"
+
+COMMON_DEPEND="
+	app-arch/bzip2
+	dev-db/sqlite:3
+	dev-libs/gmp:=
+	dev-libs/nettle:=
+	dev-libs/openssl:=
+"
+DEPEND="
+	${COMMON_DEPEND}
+	dev-libs/capnproto
+"
+RDEPEND="
+	${COMMON_DEPEND}
+"
+# Clang needed for bindgen
+BDEPEND="
+	$(llvm_gen_dep '
+		llvm-core/clang:${LLVM_SLOT}
+	')
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	llvm-r1_pkg_setup
+	rust_pkg_setup
+}
+
+src_compile() {
+	# Set this here so that it doesn't change if we run tests
+	# and cause a recompilation.
+	asset_dir="${T}"/assets
+	export ASSET_OUT_DIR="${asset_dir}"
+
+	# Setting CARGO_TARGET_DIR is required to have the build system
+	# create the bash and zsh completion files.
+	export CARGO_TARGET_DIR="${S}/target"
+
+	# https://wiki.gentoo.org/wiki/Project:Rust/sys_crates#bzip2-sys
+	mkdir "${T}/pkg-config" || die
+	export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}}
+	cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die
+	Name: bzip2
+	Version: 9999
+	Description:
+	Libs: -lbz2
+	EOF
+
+	cargo_src_compile
+}
+
+src_install() {
+	cargo_src_install
+
+	doman "${asset_dir}"/man-pages/*.1
+
+	local completion_dir="${asset_dir}"/shell-completions
+	newbashcomp "${completion_dir}"/sq.bash sq
+	dozshcomp "${completion_dir}"/_sq
+	dofishcomp "${completion_dir}"/sq.fish
+}


             reply	other threads:[~2025-03-20  2:03 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-20  2:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-28 16:48 [gentoo-commits] repo/gentoo:master commit in: app-crypt/sequoia-sq/ Sam James
2025-04-24 22:04 Sam James
2025-03-28  7:46 Arthur Zamarin
2025-03-07  2:38 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-05-20  6:56 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=1742436167.4fcf14ec6f2dc5ad34c64b4fdebb17aa7001fdd3.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