commit:     921cf27f622f860fb3f96f5232f33607ca703f09
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 16 10:06:52 2016 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 03:00:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921cf27f

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(-)

diff --git a/dev-perl/Cache/Cache-2.40.0-r1.ebuild 
b/dev-perl/Cache/Cache-2.40.0-r1.ebuild
index 5cdca88..bda80d7 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"

Reply via email to