public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcraft-tools/
Date: Thu, 31 Jul 2025 04:30:15 +0000 (UTC)	[thread overview]
Message-ID: <1753936180.fc7293ee0b2075265ab95921776a25e65520244b.eschwartz@gentoo> (raw)

commit:     fc7293ee0b2075265ab95921776a25e65520244b
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 31 04:15:05 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Jul 31 04:29:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7293ee

sys-apps/pkgcraft-tools: add missing system deps

rust libgit2 bindings are always automagic. Also, any given crate only
ever supports a single libgit2 version because reasons -- changing that
requires updating Cargo.lock and retrieving different SRC_URI.

Acked-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 ...gcraft-tools-0.0.27.ebuild => pkgcraft-tools-0.0.27-r1.ebuild} | 8 ++++++++
 sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild                | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.27.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.27-r1.ebuild
similarity index 90%
rename from sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.27.ebuild
rename to sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.27-r1.ebuild
index e34482483249..d9a0e1fd66f6 100644
--- a/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.27.ebuild
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-0.0.27-r1.ebuild
@@ -35,6 +35,12 @@ RESTRICT="!test? ( test ) "
 
 QA_FLAGS_IGNORED="usr/bin/pk"
 
+RDEPEND="
+	dev-libs/libgit2:0/1.9
+	dev-libs/openssl:=
+	net-libs/libssh2:=
+"
+DEPEND="${RDEPEND}"
 # Clang needed for bindgen
 BDEPEND="
 	$(llvm_gen_dep '
@@ -58,6 +64,8 @@ src_unpack() {
 }
 
 src_compile() {
+	export LIBSSH2_SYS_USE_PKG_CONFIG=1
+	export LIBGIT2_NO_VENDOR=1
 	cargo_src_compile
 
 	if [[ ${PV} == 9999 ]] ; then

diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
index e34482483249..d9a0e1fd66f6 100644
--- a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
@@ -35,6 +35,12 @@ RESTRICT="!test? ( test ) "
 
 QA_FLAGS_IGNORED="usr/bin/pk"
 
+RDEPEND="
+	dev-libs/libgit2:0/1.9
+	dev-libs/openssl:=
+	net-libs/libssh2:=
+"
+DEPEND="${RDEPEND}"
 # Clang needed for bindgen
 BDEPEND="
 	$(llvm_gen_dep '
@@ -58,6 +64,8 @@ src_unpack() {
 }
 
 src_compile() {
+	export LIBSSH2_SYS_USE_PKG_CONFIG=1
+	export LIBGIT2_NO_VENDOR=1
 	cargo_src_compile
 
 	if [[ ${PV} == 9999 ]] ; then


             reply	other threads:[~2025-07-31  4:30 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-31  4:30 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-03  4:46 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcraft-tools/ Sam James
2025-09-24  1:53 Sam James
2025-09-01 22:42 Sam James
2025-08-30 16:06 Arthur Zamarin
2025-07-28 14:35 Sam James
2025-06-03  3:46 Sam James
2025-06-03  3:46 Sam James
2025-05-30 20:45 Sam James
2025-05-21 18:23 Sam James
2025-04-29 17:28 Sam James
2025-04-24 19:31 Arthur Zamarin
2025-04-24 19:30 Arthur Zamarin
2025-04-24 19:30 Arthur Zamarin
2025-04-24 15:30 Sam James
2025-04-04 19:24 Sam James
2025-03-24  2:29 Sam James
2025-03-19 10:00 Arthur Zamarin
2025-03-03 17:19 Sam James
2025-03-03 17:19 Sam James
2025-01-28 12:21 Sam James
2025-01-28 12:15 Sam James
2025-01-14  4:53 Sam James
2024-12-31 22:31 Sam James
2024-12-07  2:15 Sam James
2024-12-07  2:12 Sam James
2024-11-21 18:19 Sam James
2024-08-14 20:07 Sam James
2024-06-23  1:13 Sam James
2024-03-02  1:29 Sam James
2024-02-16  1:26 Sam James
2024-02-02  4:33 Sam James
2023-11-12  4:24 Sam James
2023-09-30  0:44 Sam James
2023-09-29  9:12 Sam James
2023-09-25  4:05 Sam James
2023-09-06 19:43 Sam James
2023-06-23 20:28 Sam James
2023-06-23 20:28 Sam James
2023-06-17 22:47 Sam James
2023-06-11 15:46 Sam James
2023-06-10 17:51 Sam James
2023-06-10 17:27 Sam James
2023-06-10 13:22 Sam James
2023-06-10 13:18 Sam James

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=1753936180.fc7293ee0b2075265ab95921776a25e65520244b.eschwartz@gentoo \
    --to=eschwartz@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