From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1309841-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 261A3139360
	for <garchives@archives.gentoo.org>; Thu,  5 Aug 2021 05:37:45 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1466AE0831;
	Thu,  5 Aug 2021 05:37:44 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id ECCF0E0831
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Aug 2021 05:37:43 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id F14A2342D0F
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Aug 2021 05:37:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C751859
	for <gentoo-commits@lists.gentoo.org>; Thu,  5 Aug 2021 05:37:41 +0000 (UTC)
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" <gyakovlev@gentoo.org>
Message-ID: <1628141824.7bcb36c85a34180d347fde64a026ba332118c108.gyakovlev@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: virtual/rust/
X-VCS-Repository: repo/gentoo
X-VCS-Files: virtual/rust/rust-1.52.1.ebuild virtual/rust/rust-1.53.0.ebuild
X-VCS-Directories: virtual/rust/
X-VCS-Committer: gyakovlev
X-VCS-Committer-Name: Georgy Yakovlev
X-VCS-Revision: 7bcb36c85a34180d347fde64a026ba332118c108
X-VCS-Branch: master
Date: Thu,  5 Aug 2021 05:37:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f7fe03b5-baae-408f-b97a-e99c4005619b
X-Archives-Hash: 16bfa199b69065655a6dd3687b7712bf

commit:     7bcb36c85a34180d347fde64a026ba332118c108
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  5 05:09:21 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Aug  5 05:37:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bcb36c8

virtual/rust: backport USE=rustfmt

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 virtual/rust/rust-1.52.1.ebuild | 6 +++++-
 virtual/rust/rust-1.53.0.ebuild | 6 +++++-
 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 d19c6c4beec..b6e4774761b 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 f30cb07276f..71097098faf 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}]
+)"