dev-perl/Cache: Normalise variable order
authorKent Fredric <kentnl@gentoo.org>
Tue, 16 Aug 2016 10:06:52 +0000 (22:06 +1200)
committerKent Fredric <kentnl@gentoo.org>
Thu, 18 Aug 2016 03:00:50 +0000 (15:00 +1200)
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

index 5cdca88ec623cf834d9c1261f438869a5207d448..bda80d797d9350fee2b00bdc44181ed87ba6b67d 100644 (file)
@@ -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"