From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/
Date: Thu, 8 Aug 2024 14:50:37 +0000 (UTC) [thread overview]
Message-ID: <1723128486.b1f29637d0d61a0999ac192c88d27e89c5e48aa6.chewi@gentoo> (raw)
commit: b1f29637d0d61a0999ac192c88d27e89c5e48aa6
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 8 14:47:49 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Aug 8 14:48:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f29637
dev-vcs/mercurial: Fix upstream's assumed Rust target directory
This would have previously broken with USE=debug, but a recent eclass
change caused it to break all the time. The target directory is now
dynamic so use sed for now, but I'll see if I can patch it to use
environment variables when I have more time.
Closes: https://bugs.gentoo.org/937554
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
dev-vcs/mercurial/mercurial-6.5.3.ebuild | 7 +++++++
dev-vcs/mercurial/mercurial-6.6.2.ebuild | 7 +++++++
dev-vcs/mercurial/mercurial-6.7.4.ebuild | 7 +++++++
dev-vcs/mercurial/mercurial-6.8.ebuild | 7 +++++++
dev-vcs/mercurial/mercurial-9999.ebuild | 7 +++++++
5 files changed, 35 insertions(+)
diff --git a/dev-vcs/mercurial/mercurial-6.5.3.ebuild b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
index ab3945e86821..85d2231bfc00 100644
--- a/dev-vcs/mercurial/mercurial-6.5.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.5.3.ebuild
@@ -206,6 +206,13 @@ python_prepare_all() {
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
sed -i -e 's/__APPLE__/__NO_APPLE__/g' mercurial/cext/osutil.c || die
+ # Build assumes the Rust target directory, which is wrong for us.
+ sed -i -r "s:\brust[/,' ]+target[/,' ]+release\b:rust/$(cargo_target_dir):g" \
+ Makefile \
+ setup.py \
+ tests/run-tests.py \
+ || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-vcs/mercurial/mercurial-6.6.2.ebuild b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
index 6e0daef5f51e..0590d5d5179c 100644
--- a/dev-vcs/mercurial/mercurial-6.6.2.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.6.2.ebuild
@@ -216,6 +216,13 @@ python_prepare_all() {
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
sed -i -e 's/__APPLE__/__NO_APPLE__/g' mercurial/cext/osutil.c || die
+ # Build assumes the Rust target directory, which is wrong for us.
+ sed -i -r "s:\brust[/,' ]+target[/,' ]+release\b:rust/$(cargo_target_dir):g" \
+ Makefile \
+ setup.py \
+ tests/run-tests.py \
+ || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-vcs/mercurial/mercurial-6.7.4.ebuild b/dev-vcs/mercurial/mercurial-6.7.4.ebuild
index 90e4f7551850..b2c31e30fd96 100644
--- a/dev-vcs/mercurial/mercurial-6.7.4.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.7.4.ebuild
@@ -227,6 +227,13 @@ python_prepare_all() {
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
sed -i -e 's/__APPLE__/__NO_APPLE__/g' mercurial/cext/osutil.c || die
+ # Build assumes the Rust target directory, which is wrong for us.
+ sed -i -r "s:\brust[/,' ]+target[/,' ]+release\b:rust/$(cargo_target_dir):g" \
+ Makefile \
+ setup.py \
+ tests/run-tests.py \
+ || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-vcs/mercurial/mercurial-6.8.ebuild b/dev-vcs/mercurial/mercurial-6.8.ebuild
index 6131cdb5b538..6bde814f104e 100644
--- a/dev-vcs/mercurial/mercurial-6.8.ebuild
+++ b/dev-vcs/mercurial/mercurial-6.8.ebuild
@@ -225,6 +225,13 @@ python_prepare_all() {
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
sed -i -e 's/__APPLE__/__NO_APPLE__/g' mercurial/cext/osutil.c || die
+ # Build assumes the Rust target directory, which is wrong for us.
+ sed -i -r "s:\brust[/,' ]+target[/,' ]+release\b:rust/$(cargo_target_dir):g" \
+ Makefile \
+ setup.py \
+ tests/run-tests.py \
+ || die
+
distutils-r1_python_prepare_all
}
diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild
index 86634c6fd33c..2570197211e5 100644
--- a/dev-vcs/mercurial/mercurial-9999.ebuild
+++ b/dev-vcs/mercurial/mercurial-9999.ebuild
@@ -52,6 +52,13 @@ python_prepare_all() {
sed -i -e 's:xcodebuild:nocodebuild:' setup.py || die
sed -i -e 's/__APPLE__/__NO_APPLE__/g' mercurial/cext/osutil.c || die
+ # Build assumes the Rust target directory, which is wrong for us.
+ sed -i -r "s:\brust[/,' ]+target[/,' ]+release\b:rust/$(cargo_target_dir):g" \
+ Makefile \
+ setup.py \
+ tests/run-tests.py \
+ || die
+
distutils-r1_python_prepare_all
}
next reply other threads:[~2024-08-08 14:50 UTC|newest]
Thread overview: 322+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-08 14:50 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-17 11:39 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/mercurial/ Cédric Krier
2024-11-09 7:54 Sam James
2024-09-09 20:05 Arthur Zamarin
2024-09-09 20:05 Arthur Zamarin
2024-09-09 20:05 Arthur Zamarin
2024-09-09 20:05 Arthur Zamarin
2024-09-09 20:05 Arthur Zamarin
2024-09-09 20:05 Arthur Zamarin
2024-08-24 10:25 Cédric Krier
2024-08-15 13:00 Cédric Krier
2024-08-09 7:32 Cédric Krier
2024-07-12 22:30 Cédric Krier
2024-06-17 9:39 James Le Cuirot
2024-06-12 18:19 Michał Górny
2024-06-12 10:02 Cédric Krier
2024-06-08 5:20 Arthur Zamarin
2024-06-08 5:20 Arthur Zamarin
2024-06-08 5:20 Arthur Zamarin
2024-06-08 5:20 Arthur Zamarin
2024-06-08 5:20 Arthur Zamarin
2024-06-07 16:50 Cédric Krier
2024-05-11 15:19 Sam James
2024-05-11 6:39 Cédric Krier
2024-04-06 11:07 Cédric Krier
2024-04-06 10:55 Cédric Krier
2024-02-20 5:37 Sam James
2024-02-20 5:37 Sam James
2024-01-13 11:34 Cédric Krier
2024-01-13 11:32 Cédric Krier
2023-12-22 7:51 Arthur Zamarin
2023-11-30 21:39 Sam James
2023-11-30 8:01 Arthur Zamarin
2023-11-30 8:01 Arthur Zamarin
2023-11-11 17:05 Cédric Krier
2023-10-18 10:16 Sam James
2023-10-18 10:16 Sam James
2023-09-28 0:21 Sam James
2023-08-12 9:24 Cédric Krier
2023-08-12 1:11 Sam James
2023-08-05 12:31 Cédric Krier
2023-07-15 12:47 Arthur Zamarin
2023-07-15 12:47 Arthur Zamarin
2023-07-15 12:46 Arthur Zamarin
2023-07-15 10:23 Cédric Krier
2023-06-13 13:36 Cédric Krier
2023-06-13 13:36 Cédric Krier
2023-05-04 17:04 Michał Górny
2023-04-01 16:10 Cédric Krier
2023-03-26 8:46 Cédric Krier
2023-03-16 22:02 Sam James
2023-03-07 7:11 Joonas Niilola
2023-03-06 16:26 Arthur Zamarin
2023-03-06 13:04 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2023-03-06 12:51 Arthur Zamarin
2023-02-02 18:47 Arthur Zamarin
2023-01-29 3:03 Sam James
2023-01-29 3:03 Sam James
2023-01-28 21:49 Jakov Smolić
2023-01-28 21:49 Jakov Smolić
2022-11-13 14:35 Cédric Krier
2022-08-13 8:03 Agostino Sarubbo
2022-08-08 12:38 Agostino Sarubbo
2022-08-08 12:38 Agostino Sarubbo
2022-08-08 12:34 Agostino Sarubbo
2022-08-07 4:02 Arthur Zamarin
2022-08-06 17:17 Cédric Krier
2022-06-26 20:19 Cédric Krier
2022-06-12 15:56 Sam James
2022-06-09 7:39 Agostino Sarubbo
2022-06-09 7:34 Agostino Sarubbo
2022-06-08 8:45 Agostino Sarubbo
2022-06-08 8:44 Agostino Sarubbo
2022-06-08 8:43 Agostino Sarubbo
2022-06-08 8:43 Agostino Sarubbo
2022-06-07 9:10 Cédric Krier
2022-06-07 9:10 Cédric Krier
2022-05-01 1:52 WANG Xuerui
2022-02-04 18:45 Michał Górny
2022-01-08 13:31 Cédric Krier
2022-01-01 17:21 Cédric Krier
2022-01-01 17:21 Cédric Krier
2022-01-01 16:49 Cédric Krier
2021-12-18 15:41 Cédric Krier
2021-11-04 11:48 Cédric Krier
2021-10-21 7:22 Cédric Krier
2021-09-09 7:39 Agostino Sarubbo
2021-09-05 20:01 Agostino Sarubbo
2021-09-04 21:39 Sam James
2021-09-04 13:14 Cédric Krier
2021-09-04 13:14 Cédric Krier
2021-08-21 22:15 James Le Cuirot
2021-07-17 20:47 Cédric Krier
2021-07-17 20:47 Cédric Krier
2021-07-10 7:25 Cédric Krier
2021-07-10 7:25 Cédric Krier
2021-06-02 16:44 Sam James
2021-06-02 10:39 Sam James
2021-06-01 15:29 Sam James
2021-06-01 12:23 Sam James
2021-06-01 12:18 Sam James
2021-06-01 6:36 Agostino Sarubbo
2021-05-30 8:07 Cédric Krier
2021-05-30 5:42 Joonas Niilola
2021-05-20 20:11 Michał Górny
2021-03-06 9:09 Cédric Krier
2021-02-16 12:34 Sam James
2021-02-16 12:30 Sam James
2021-02-15 10:47 Sam James
2021-02-14 14:52 Sam James
2021-02-14 14:51 Sam James
2021-02-14 10:56 Cédric Krier
2021-02-14 10:56 Cédric Krier
2021-01-06 22:58 Fabian Groffen
2021-01-06 9:24 Cédric Krier
2021-01-03 23:44 Sam James
2021-01-03 19:40 Sam James
2021-01-03 9:12 Sam James
2021-01-02 10:25 Cédric Krier
2021-01-01 0:59 Michał Górny
2020-12-27 16:38 Fabian Groffen
2020-11-30 8:19 Fabian Groffen
2020-11-11 8:00 Cédric Krier
2020-11-11 5:09 Georgy Yakovlev
2020-11-10 21:55 Cédric Krier
2020-10-25 14:19 Cédric Krier
2020-10-25 14:06 Cédric Krier
2020-09-19 21:33 Michał Górny
2020-09-19 17:07 Sam James
2020-09-19 16:26 Sam James
2020-09-07 0:50 Thomas Deutschmann
2020-09-06 21:43 Sam James
2020-09-06 20:20 Sam James
2020-09-06 13:06 Cédric Krier
2020-09-06 13:06 Cédric Krier
2020-08-02 10:16 Cédric Krier
2020-07-26 8:35 Cédric Krier
2020-06-28 12:05 Cédric Krier
2020-06-28 12:05 Cédric Krier
2020-06-10 20:54 Sergei Trofimovich
2020-05-12 6:39 Agostino Sarubbo
2020-05-11 9:27 Agostino Sarubbo
2020-05-11 9:26 Agostino Sarubbo
2020-05-10 17:42 Mart Raudsepp
2020-05-09 19:43 Sergei Trofimovich
2020-05-09 9:30 Cédric Krier
2020-05-06 20:24 Michał Górny
2020-04-25 8:20 Cédric Krier
2020-04-25 8:20 Cédric Krier
2020-04-15 17:06 Sergei Trofimovich
2020-04-08 6:10 Mart Raudsepp
2020-03-22 10:14 Cédric Krier
2020-03-18 11:04 Agostino Sarubbo
2020-03-16 11:03 Cédric Krier
2020-03-16 11:03 Cédric Krier
2020-03-15 18:34 Agostino Sarubbo
2020-03-15 18:31 Agostino Sarubbo
2020-03-15 18:29 Agostino Sarubbo
2020-03-15 18:27 Agostino Sarubbo
2020-03-15 9:28 Sergei Trofimovich
2020-03-14 22:31 Agostino Sarubbo
2020-03-14 19:01 Sergei Trofimovich
2020-01-30 15:00 Cédric Krier
2020-01-26 9:55 Cédric Krier
2019-12-23 13:08 Lars Wendler
2019-10-06 8:25 Thomas Deutschmann
2019-07-29 11:06 Lars Wendler
2019-05-12 21:48 Sergei Trofimovich
2019-05-10 3:31 Aaron Bauman
2019-04-28 7:42 Sergei Trofimovich
2019-04-23 9:13 Lars Wendler
2019-04-17 8:16 Lars Wendler
2019-04-15 9:42 Fabian Groffen
2019-04-13 3:33 Aaron Bauman
2019-04-07 20:52 Sergei Trofimovich
2019-04-02 12:25 Mikle Kolyada
2019-03-28 17:27 Lars Wendler
2019-03-26 21:09 Sergei Trofimovich
2019-03-17 9:21 Lars Wendler
2019-03-16 14:01 Mikle Kolyada
2019-03-16 12:48 Agostino Sarubbo
2019-03-16 11:05 Sergei Trofimovich
2019-03-16 11:05 Sergei Trofimovich
2019-03-12 9:08 Lars Wendler
2019-03-12 9:08 Lars Wendler
2019-01-08 14:55 Lars Wendler
2019-01-08 14:55 Lars Wendler
2018-11-26 19:49 Mikle Kolyada
2018-11-07 23:03 Sergei Trofimovich
2018-11-07 23:03 Sergei Trofimovich
2018-10-22 12:01 Fabian Groffen
2018-10-17 15:57 Tobias Klausmann
2018-10-15 20:28 Sergei Trofimovich
2018-10-15 20:28 Sergei Trofimovich
2018-10-09 12:08 Lars Wendler
2018-10-09 12:08 Lars Wendler
2018-10-01 22:42 Thomas Deutschmann
2018-09-24 21:23 Lars Wendler
2018-09-24 12:28 Lars Wendler
2018-09-24 12:25 Lars Wendler
2018-09-17 21:25 Matt Turner
2018-09-17 21:25 Matt Turner
2018-09-05 7:38 Lars Wendler
2018-09-01 23:18 Sergei Trofimovich
2018-08-02 8:09 Lars Wendler
2018-08-02 8:09 Lars Wendler
2018-07-22 19:03 Mikle Kolyada
2018-07-20 12:11 Tobias Klausmann
2018-07-11 21:22 Sergei Trofimovich
2018-07-11 14:27 Agostino Sarubbo
2018-07-04 9:10 Lars Wendler
2018-07-04 9:10 Lars Wendler
2018-06-07 9:24 Lars Wendler
2018-05-14 9:54 Lars Wendler
2018-05-14 9:54 Lars Wendler
2018-04-22 21:06 Matt Turner
2018-04-05 8:13 Lars Wendler
2018-04-05 8:13 Lars Wendler
2018-03-17 15:55 Matt Turner
2018-03-15 20:17 Markus Meier
2018-03-12 13:42 Matt Turner
2018-03-12 13:42 Matt Turner
2018-03-11 15:07 Thomas Deutschmann
2018-03-10 18:25 Agostino Sarubbo
2018-03-09 22:48 Sergei Trofimovich
2018-03-08 21:57 Sergei Trofimovich
2018-03-07 17:19 Lars Wendler
2018-02-02 9:27 Lars Wendler
2018-02-02 9:27 Lars Wendler
2018-01-25 2:32 Aaron Bauman
2017-12-02 12:17 Lars Wendler
2017-12-02 12:17 Lars Wendler
2017-11-08 9:04 Lars Wendler
2017-10-08 19:22 Sergei Trofimovich
2017-10-06 12:23 Lars Wendler
2017-10-06 12:23 Lars Wendler
2017-10-02 9:53 Lars Wendler
2017-10-02 9:08 Lars Wendler
2017-10-02 9:08 Lars Wendler
2017-09-19 22:13 Lars Wendler
2017-09-19 22:13 Lars Wendler
2017-09-10 20:33 Sergei Trofimovich
2017-09-07 19:41 Markus Meier
2017-09-04 21:39 Aaron Bauman
2017-09-04 21:39 Aaron Bauman
2017-09-01 18:44 Matt Turner
2017-09-01 18:44 Matt Turner
2017-08-31 15:18 Matt Turner
2017-08-28 8:22 Sergei Trofimovich
2017-08-11 9:51 Lars Wendler
2017-08-10 19:58 Dirkjan Ochtman
2017-07-25 18:50 Markus Meier
2017-07-05 21:46 Lars Wendler
2017-06-13 12:31 Agostino Sarubbo
2017-06-10 13:45 Agostino Sarubbo
2017-06-09 13:22 Agostino Sarubbo
2017-06-09 12:41 Agostino Sarubbo
2017-06-09 11:53 Dirkjan Ochtman
2017-06-04 21:11 Lars Wendler
2017-05-10 11:41 Lars Wendler
2017-05-10 11:41 Lars Wendler
2017-04-19 8:18 Lars Wendler
2017-04-19 8:18 Lars Wendler
2017-04-04 11:09 Lars Wendler
2017-04-04 11:09 Lars Wendler
2017-03-24 19:20 Göktürk Yüksek
2017-03-09 21:02 Markus Meier
2017-03-04 9:21 Dirkjan Ochtman
2017-03-04 9:18 Dirkjan Ochtman
2017-02-01 20:15 Dirkjan Ochtman
2017-01-04 19:34 Dirkjan Ochtman
2016-12-02 10:05 Lars Wendler
2016-12-02 10:05 Lars Wendler
2016-11-28 9:38 Agostino Sarubbo
2016-11-28 9:35 Agostino Sarubbo
2016-11-27 11:40 Agostino Sarubbo
2016-11-14 15:09 Tobias Klausmann
2016-11-10 17:46 Markus Meier
2016-11-04 8:24 Agostino Sarubbo
2016-11-04 8:21 Agostino Sarubbo
2016-11-03 9:37 Jeroen Roovers
2016-11-01 20:13 Dirkjan Ochtman
2016-10-02 12:31 Lars Wendler
2016-09-02 8:08 Lars Wendler
2016-08-02 7:58 Lars Wendler
2016-08-02 7:58 Lars Wendler
2016-07-08 12:02 Agostino Sarubbo
2016-07-08 10:02 Agostino Sarubbo
2016-07-08 7:53 Agostino Sarubbo
2016-07-02 19:45 Dirkjan Ochtman
2016-06-02 7:49 Lars Wendler
2016-06-02 7:49 Lars Wendler
2016-05-20 14:02 Tobias Klausmann
2016-05-17 9:03 Lars Wendler
2016-05-17 9:03 Lars Wendler
2016-05-13 11:04 Dirkjan Ochtman
2016-05-02 10:25 Lars Wendler
2016-05-02 10:25 Lars Wendler
2016-04-19 15:36 Markus Meier
2016-04-11 10:39 Agostino Sarubbo
2016-04-07 4:31 Lars Wendler
2016-04-04 2:46 Jeroen Roovers
2016-04-02 14:19 Agostino Sarubbo
2016-03-29 18:50 Dirkjan Ochtman
2016-03-02 8:06 Lars Wendler
2016-02-04 7:55 Lars Wendler
2016-02-04 7:55 Lars Wendler
2016-02-03 7:46 Lars Wendler
2016-02-03 7:46 Lars Wendler
2016-01-04 8:34 Lars Wendler
2016-01-04 8:34 Lars Wendler
2015-12-02 8:27 Lars Wendler
2015-12-02 8:27 Lars Wendler
2015-11-10 9:00 Lars Wendler
2015-11-02 12:45 Lars Wendler
2015-11-02 12:45 Lars Wendler
2015-10-02 8:10 Lars Wendler
2015-10-02 8:10 Lars Wendler
2015-09-02 14:10 Lars Wendler
2015-09-02 14:10 Lars Wendler
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=1723128486.b1f29637d0d61a0999ac192c88d27e89c5e48aa6.chewi@gentoo \
--to=chewi@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