commit: c6faa5af37bb61e4e3e3b447d46bf9e4bb31a2bf
Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 2 13:48:50 2026 +0000
Commit: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Mon Feb 2 14:55:34 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6faa5af
dev-util/cargo-c: add 0.10.20
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>
dev-util/cargo-c/Manifest | 2 ++
dev-util/cargo-c/cargo-c-0.10.20.ebuild | 58 +++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-util/cargo-c/Manifest b/dev-util/cargo-c/Manifest
index 4254fd281ae5..fe12a6e50a60 100644
--- a/dev-util/cargo-c/Manifest
+++ b/dev-util/cargo-c/Manifest
@@ -10,3 +10,5 @@ DIST cargo-c-0.10.18-crates.tar.xz 31726064 BLAKE2B
fe40a3e0bd43aa9f387a03b97658
DIST cargo-c-0.10.18.tar.gz 36779 BLAKE2B
37a4a31f4d42271a48106ad1cf738484954c5337c713999f7b5045a34c2769ba666331414abd1a225443eb382ce9fd11fb855c696f4e6b49ecf482b3e1b4787d
SHA512
7e01fd4a37a29197fa72effd1423c0aa170d68875e4bd64d4b80aa1ab3ed7e603c429f6c10d1ea431949c89d446293ad6172181014f52ae9d4a133dbba5e7d3a
DIST cargo-c-0.10.19-crates.tar.xz 32601804 BLAKE2B
dac0c02124a4916c768a8be68f2b5c8fc58305cfd6c41bf4b49c6085e7745977e9614edc73dbe049e4d08b2ef489f2ea85c2b48937509144e6e0e3b1222ffdb6
SHA512
1548a8d02057a61d9dc1ac082f5a6278d1eef494159f56d4377b79dabbab55f1d6315433bc14615ecec920ffb1bcf61419aed54fa64995265695052ee73b1d71
DIST cargo-c-0.10.19.tar.gz 37408 BLAKE2B
0a0f9ddb3810687d10501ca1ea31f602a9ced45a0835c001f4e86b1e5feedf13b3bbef76e709e3632d3e177bdb612b0ccc0c288360c37ff335427400e150f649
SHA512
d813ee6985852c5755c4578041caa5f82b7e07031e285d42db4b2d7410846940a9c826f52af22ea0c03dc9a059ac0e017d3e221054c703d3d98c05da30b464f8
+DIST cargo-c-0.10.20-crates.tar.xz 32988568 BLAKE2B
48a9fa8bf96c68d6d3410407cb89305684a2f3173f861cf99cdecea42880d9de7270725f25de30f64b38a5d9ef3a633a058e8e502ca2d8f30a82b4250b4e3e8f
SHA512
e70b8179c0320355c176a5a81c273aa30cfcbf9bc3fa390fc5225644bfb182227bfb545f7feaeb33b7f831ef60448659c64f1a57c038205d91c8b0778edf00ce
+DIST cargo-c-0.10.20.tar.gz 38019 BLAKE2B
4f9d4700992d9b53c6b1a5557162dfdf8621bf4fdc9e9d575a97a498f6b2aef43cdb58dbd7c7f36524ca46b626870c29a1b9a2850d30cd92b33bc3bf29e10db5
SHA512
7a21e55c26a81da0e1b74006fe5f289b8d4a923319616e9445525b0780c233eab9c07e7f09d2ebf71968370843a24341b8059d0c8791d5cb91531aea908f94c9
diff --git a/dev-util/cargo-c/cargo-c-0.10.20.ebuild
b/dev-util/cargo-c/cargo-c-0.10.20.ebuild
new file mode 100644
index 000000000000..de07b1d931e2
--- /dev/null
+++ b/dev-util/cargo-c/cargo-c-0.10.20.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.5.4
+
+EAPI=8
+
+# Only bother defining this if the github tarball doesn't work!
+# Otherwise just comment it out and things should Just Work (TM).
+#MY_P="${P}+cargo-{CARGO_V}"
+
+CRATES="
+"
+
+RUST_MIN_VER="1.91.0"
+
+inherit cargo
+
+DESCRIPTION="Helper program to build and install c-like libraries"
+HOMEPAGE="https://github.com/lu-zero/cargo-c"
+if [[ -z ${MY_P} ]] ; then
+
SRC_URI="https://github.com/lu-zero/cargo-c/archive/refs/tags/v${PV}.tar.gz ->
${P}.tar.gz"
+else
+ S="${WORKDIR}/${MY_P}"
+fi
+
+SRC_URI+="
+
https://github.com/gentoo-crate-dist/cargo-c/releases/download/v${PV}/${P}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ =dev-libs/libgit2-1.9.2*:=
+ dev-libs/openssl:=
+ net-libs/libssh2:=
+ net-misc/curl[ssl]
+ virtual/zlib:=
+ dev-db/sqlite:3
+"
+DEPEND="${RDEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/cargo-capi usr/bin/cargo-cbuild usr/bin/cargo-ctest
usr/bin/cargo-cinstall"
+
+src_configure() {
+ # Some crates will auto-build and statically link C libraries(!)
+ # Tracker bug #709568
+ export LIBSSH2_SYS_USE_PKG_CONFIG=1
+ export LIBGIT2_NO_VENDOR=1
+ export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+ export PKG_CONFIG_ALLOW_CROSS=1
+}