commit:     9f0cd16cde9c14a818362307bcb6fcced4528a15
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 23:16:06 2017 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 23:44:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0cd16c

app-arch/pixz: clean up style a bit

Make the ebuild look more like other ebuilds by moving the
KEYWORDS/SRC_URI settings up to the top.

 app-arch/pixz/pixz-1.0.6.ebuild | 23 +++++++++++------------
 app-arch/pixz/pixz-9999.ebuild  | 23 +++++++++++------------
 2 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild
index fe9d1a813c..edba404e0d 100644
--- a/app-arch/pixz/pixz-1.0.6.ebuild
+++ b/app-arch/pixz/pixz-1.0.6.ebuild
@@ -1,13 +1,21 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-EAPI=6
+EAPI="6"
 
 inherit flag-o-matic
 
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/vasi/${PN}.git";
+       inherit git-r3 autotools
+else
+       
SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm ~x86"
+fi
+
 DESCRIPTION="Parallel Indexed XZ compressor"
 HOMEPAGE="https://github.com/vasi/pixz";
+
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="static"
@@ -19,15 +27,6 @@ DEPEND="${RDEPEND}
        static? ( ${LIB_DEPEND} )"
 [[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc"
 
-if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="https://github.com/vasi/${PN}.git";
-       inherit git-r3 autotools
-       KEYWORDS=""
-else
-       
SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz";
-       KEYWORDS="~amd64 ~arm ~x86"
-fi
-
 src_prepare() {
        default
        [[ ${PV} == "9999" ]] && eautoreconf

diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild
index fe9d1a813c..edba404e0d 100644
--- a/app-arch/pixz/pixz-9999.ebuild
+++ b/app-arch/pixz/pixz-9999.ebuild
@@ -1,13 +1,21 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
-EAPI=6
+EAPI="6"
 
 inherit flag-o-matic
 
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/vasi/${PN}.git";
+       inherit git-r3 autotools
+else
+       
SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm ~x86"
+fi
+
 DESCRIPTION="Parallel Indexed XZ compressor"
 HOMEPAGE="https://github.com/vasi/pixz";
+
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="static"
@@ -19,15 +27,6 @@ DEPEND="${RDEPEND}
        static? ( ${LIB_DEPEND} )"
 [[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc"
 
-if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="https://github.com/vasi/${PN}.git";
-       inherit git-r3 autotools
-       KEYWORDS=""
-else
-       
SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz";
-       KEYWORDS="~amd64 ~arm ~x86"
-fi
-
 src_prepare() {
        default
        [[ ${PV} == "9999" ]] && eautoreconf

Reply via email to