virtual/rust: Move from portage-stable

This file is modified by some automation, so move it out from
portage-stable - there shouldn't be any modified stuff there.
This commit is contained in:
Krzesimir Nowak 2022-03-24 16:44:19 +01:00
parent 87ed710ec2
commit 778ed62f39
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>rust@gentoo.org</email>
<name>Rust Project</name>
</maintainer>
<use>
<flag name="rustfmt">Install rustfmt, Rust code formatter</flag>
</use>
<stabilize-allarches/>
</pkgmetadata>

View File

@ -0,0 +1,19 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-build
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}[rustfmt?,${MULTILIB_USEDEP}]
~dev-lang/rust-bin-${PV}[rustfmt?,${MULTILIB_USEDEP}]
)"