From 921cf27f622f860fb3f96f5232f33607ca703f09 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Tue, 16 Aug 2016 22:06:52 +1200 Subject: dev-perl/Cache: Normalise variable order This ebuild had a very unusual variable order where KEYWORDS was buried at the bottom. This makes any tooling that relies on determining keyword and dependency matches in a single pass more complicated and harder to be efficient, because it means you have to read the whole file in every case just in case keywords are declared after dependencies. Tooling that makes this mistake is fixable, but a more consistent standard of ebuild also helps a lot. Package-Manager: portage-2.3.0 --- dev-perl/Cache/Cache-2.40.0-r1.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'dev-perl') diff --git a/dev-perl/Cache/Cache-2.40.0-r1.ebuild b/dev-perl/Cache/Cache-2.40.0-r1.ebuild index 5cdca88ec623..bda80d797d93 100644 --- a/dev-perl/Cache/Cache-2.40.0-r1.ebuild +++ b/dev-perl/Cache/Cache-2.40.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -9,6 +9,9 @@ MODULE_VERSION=2.04 inherit perl-module DESCRIPTION="the Cache interface" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" RDEPEND=">=virtual/perl-DB_File-1.72 >=virtual/perl-File-Spec-0.8 @@ -20,8 +23,4 @@ RDEPEND=">=virtual/perl-DB_File-1.72 dev-perl/File-NFSLock" DEPEND="${RDEPEND}" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - SRC_TEST="do" -- cgit v1.2.3-65-gdbad