diff options
author | Sam James <sam@gentoo.org> | 2024-11-09 07:52:27 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-09 07:52:27 +0000 |
commit | bbfb4b4d29b372977ccd8e757ef7bc71b99a26e9 (patch) | |
tree | 65aa221ecbb56cc9f3bc1c5e5324d48e20f2e30d /dev-vcs | |
parent | dev-lang/rust: *-r100 fix build with USE=system-llvm (diff) | |
download | gentoo-bbfb4b4d29b372977ccd8e757ef7bc71b99a26e9.tar.gz gentoo-bbfb4b4d29b372977ccd8e757ef7bc71b99a26e9.tar.bz2 gentoo-bbfb4b4d29b372977ccd8e757ef7bc71b99a26e9.zip |
dev-vcs/mercurial: only call rust_pkg_setup w/ USE=rust
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/mercurial/mercurial-6.5.3-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-6.6.2-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-6.7.4-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-6.8.1-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-vcs/mercurial/mercurial-9999.ebuild | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/dev-vcs/mercurial/mercurial-6.5.3-r2.ebuild b/dev-vcs/mercurial/mercurial-6.5.3-r2.ebuild index 969e0594fd27..933cf0197caa 100644 --- a/dev-vcs/mercurial/mercurial-6.5.3-r2.ebuild +++ b/dev-vcs/mercurial/mercurial-6.5.3-r2.ebuild @@ -197,6 +197,10 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}/python3.12.patch" ) +pkg_setup() { + use rust && rust_pkg_setup +} + src_unpack() { default_src_unpack if use rust; then diff --git a/dev-vcs/mercurial/mercurial-6.6.2-r2.ebuild b/dev-vcs/mercurial/mercurial-6.6.2-r2.ebuild index 9ee1dc0cfb34..5d8b7b8bc699 100644 --- a/dev-vcs/mercurial/mercurial-6.6.2-r2.ebuild +++ b/dev-vcs/mercurial/mercurial-6.6.2-r2.ebuild @@ -207,6 +207,10 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}/python3.12.patch" ) +pkg_setup() { + use rust && rust_pkg_setup +} + src_unpack() { default_src_unpack if use rust; then diff --git a/dev-vcs/mercurial/mercurial-6.7.4-r2.ebuild b/dev-vcs/mercurial/mercurial-6.7.4-r2.ebuild index f68c7388f014..5654ea2bc44d 100644 --- a/dev-vcs/mercurial/mercurial-6.7.4-r2.ebuild +++ b/dev-vcs/mercurial/mercurial-6.7.4-r2.ebuild @@ -218,6 +218,10 @@ RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}/python3.12.patch" ) +pkg_setup() { + use rust && rust_pkg_setup +} + src_unpack() { default_src_unpack if use rust; then diff --git a/dev-vcs/mercurial/mercurial-6.8.1-r1.ebuild b/dev-vcs/mercurial/mercurial-6.8.1-r1.ebuild index 2e09a308c5df..5673dd914f40 100644 --- a/dev-vcs/mercurial/mercurial-6.8.1-r1.ebuild +++ b/dev-vcs/mercurial/mercurial-6.8.1-r1.ebuild @@ -234,6 +234,10 @@ SITEFILE="70${PN}-gentoo.el" RESTRICT="!test? ( test )" +pkg_setup() { + use rust && rust_pkg_setup +} + src_unpack() { default_src_unpack if use rust; then diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild index 3d26e755559c..df6dbbf2a3de 100644 --- a/dev-vcs/mercurial/mercurial-9999.ebuild +++ b/dev-vcs/mercurial/mercurial-9999.ebuild @@ -41,6 +41,10 @@ SITEFILE="70${PN}-gentoo.el" RESTRICT="!test? ( test )" +pkg_setup() { + use rust && rust_pkg_setup +} + src_unpack() { mercurial_src_unpack if use rust; then |