summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-08-04 22:09:21 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-08-04 22:37:04 -0700
commit7bcb36c85a34180d347fde64a026ba332118c108 (patch)
tree9a8e32cccc913a4313f02501c28afb2e0acc00a3 /virtual
parentvirtual/rust: add 1.54.0 (diff)
downloadgentoo-7bcb36c85a34180d347fde64a026ba332118c108.tar.gz
gentoo-7bcb36c85a34180d347fde64a026ba332118c108.tar.bz2
gentoo-7bcb36c85a34180d347fde64a026ba332118c108.zip
virtual/rust: backport USE=rustfmt
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'virtual')
-rw-r--r--virtual/rust/rust-1.52.1.ebuild6
-rw-r--r--virtual/rust/rust-1.53.0.ebuild6
2 files changed, 10 insertions, 2 deletions
diff --git a/virtual/rust/rust-1.52.1.ebuild b/virtual/rust/rust-1.52.1.ebuild
index d19c6c4beec2..b6e4774761b8 100644
--- a/virtual/rust/rust-1.52.1.ebuild
+++ b/virtual/rust/rust-1.52.1.ebuild
@@ -10,6 +10,10 @@ DESCRIPTION="Virtual for Rust language compiler"
LICENSE=""
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
+IUSE="rustfmt"
BDEPEND=""
-RDEPEND="|| ( ~dev-lang/rust-${PV}[${MULTILIB_USEDEP}] ~dev-lang/rust-bin-${PV}[${MULTILIB_USEDEP}] )"
+RDEPEND="|| (
+ ~dev-lang/rust-${PV}[rustfmt?,${MULTILIB_USEDEP}]
+ ~dev-lang/rust-bin-${PV}[rustfmt?,${MULTILIB_USEDEP}]
+)"
diff --git a/virtual/rust/rust-1.53.0.ebuild b/virtual/rust/rust-1.53.0.ebuild
index f30cb07276fb..71097098faf9 100644
--- a/virtual/rust/rust-1.53.0.ebuild
+++ b/virtual/rust/rust-1.53.0.ebuild
@@ -10,6 +10,10 @@ DESCRIPTION="Virtual for Rust language compiler"
LICENSE=""
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv x86"
+IUSE="rustfmt"
BDEPEND=""
-RDEPEND="|| ( ~dev-lang/rust-${PV}[${MULTILIB_USEDEP}] ~dev-lang/rust-bin-${PV}[${MULTILIB_USEDEP}] )"
+RDEPEND="|| (
+ ~dev-lang/rust-${PV}[rustfmt,${MULTILIB_USEDEP}]
+ ~dev-lang/rust-bin-${PV}[rustfmt,${MULTILIB_USEDEP}]
+)"