From: Mike Frysinger Date: Thu, 16 Feb 2017 23:16:06 +0000 (-0500) Subject: app-arch/pixz: clean up style a bit X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f0cd16cde9c14a818362307bcb6fcced4528a15;p=gentoo.git 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. --- diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index fe9d1a813ca3..edba404e0d73 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 fe9d1a813ca3..edba404e0d73 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