dev-util/rustfmt: fix LICENSE syntax and restore x86 keyword, bug #611542
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 5 Mar 2017 23:58:05 +0000 (23:58 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 5 Mar 2017 23:58:05 +0000 (23:58 +0000)
While at it dropped RETRICT=mirror.

Bug: https://bugs.gentoo.org/611542
Reported-by: Ulrich Müller
Package-Manager: Portage-2.3.4, Repoman-2.3.2

dev-util/rustfmt/rustfmt-0.5.0.ebuild
dev-util/rustfmt/rustfmt-0.6.3.ebuild

index 9c3a89dc0ac0b1c1d597d713e78f07e5bc8296d3..4ccf2c0b1711174321ed7354d41acc6c8bd079f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,7 +35,6 @@ inherit cargo
 DESCRIPTION="Tool to find and fix Rust formatting issues"
 HOMEPAGE="https://github.com/rust-lang-nursery/rustfmt"
 SRC_URI="$(cargo_crate_uris ${CRATES})"
-RESTRICT="mirror"
 LICENSE="|| ( MIT Apache-2.0 )"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
index 598c380546c7aaf217d18daeb22da06617353fde..bb7b0a5a35f7b17f63e554ff1f302ad8ea249efe 100644 (file)
@@ -1,4 +1,5 @@
-# Auto-Generated by cargo-ebuild 0.1.3
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
@@ -39,11 +40,10 @@ inherit cargo
 DESCRIPTION="Tool to find and fix Rust formatting issues"
 HOMEPAGE="https://github.com/rust-lang-nursery/rustfmt"
 SRC_URI="$(cargo_crate_uris ${CRATES})"
-RESTRICT="mirror"
-LICENSE="Apache-2.0/MIT" # Update to proper Gentoo format
+LICENSE="|| ( MIT Apache-2.0 )"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
+DEPEND=">=dev-lang/rust-1.8.0"
 RDEPEND=""