Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cargo, rust: remove cmake from hostmakedepends
@ 2023-08-17 15:51 ahesford
  2023-08-22 15:25 ` [PR PATCH] [Merged]: " ahesford
  0 siblings, 1 reply; 2+ messages in thread
From: ahesford @ 2023-08-17 15:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 540 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages fake-it-till-you-cmake-it
https://github.com/void-linux/void-packages/pull/45639

cargo, rust: remove cmake from hostmakedepends
The builds of these don't seem to really depend on cmake, and having cmake in hostmakedepends introduces a build cycle that would need to be resolved by switching to cmake-bootstrap anyway.

A patch file from https://github.com/void-linux/void-packages/pull/45639.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-fake-it-till-you-cmake-it-45639.patch --]
[-- Type: text/x-diff, Size: 1607 bytes --]

From ec6cf96ae96b5c81cf551ea5ea1becc1694377af Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Thu, 17 Aug 2023 11:48:36 -0400
Subject: [PATCH 1/2] rust: remove cmake from hostmakedepends

---
 srcpkgs/rust/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/rust/template b/srcpkgs/rust/template
index a61676aa571ab..01c14dce7742a 100644
--- a/srcpkgs/rust/template
+++ b/srcpkgs/rust/template
@@ -10,7 +10,7 @@
 pkgname=rust
 version=1.71.1
 revision=1
-hostmakedepends="cmake curl pkg-config python3 tar cargo-bootstrap"
+hostmakedepends="curl pkg-config python3 tar cargo-bootstrap"
 makedepends="libffi-devel ncurses-devel libxml2-devel zlib-devel llvm15"
 depends="rust-std gcc"
 short_desc="Safe, concurrent, practical systems language"

From 516863284716afd91735e48fb825bb110cb6cb1b Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Thu, 17 Aug 2023 11:50:10 -0400
Subject: [PATCH 2/2] cargo: remove cmake from hostmakedepends

---
 srcpkgs/cargo/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template
index 9b849bb1120db..5d225ce6f944f 100644
--- a/srcpkgs/cargo/template
+++ b/srcpkgs/cargo/template
@@ -4,7 +4,7 @@ version=1.71.1
 revision=1
 _cargo_revision=0.72.2
 build_helper=rust
-hostmakedepends="cargo-bootstrap rust python3 curl cmake pkg-config zlib-devel"
+hostmakedepends="cargo-bootstrap rust python3 curl pkg-config zlib-devel"
 makedepends="rust libcurl-devel openssl-devel"
 depends="rust"
 short_desc="Rust package manager"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: cargo, rust: remove cmake from hostmakedepends
  2023-08-17 15:51 [PR PATCH] cargo, rust: remove cmake from hostmakedepends ahesford
@ 2023-08-22 15:25 ` ahesford
  0 siblings, 0 replies; 2+ messages in thread
From: ahesford @ 2023-08-22 15:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

There's a merged pull request on the void-packages repository

cargo, rust: remove cmake from hostmakedepends
https://github.com/void-linux/void-packages/pull/45639

Description:
The builds of these don't seem to really depend on cmake, and having cmake in hostmakedepends introduces a build cycle that would need to be resolved by switching to cmake-bootstrap anyway.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-22 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 15:51 [PR PATCH] cargo, rust: remove cmake from hostmakedepends ahesford
2023-08-22 15:25 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).