1 |
commit: 9f0cd16cde9c14a818362307bcb6fcced4528a15 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 16 23:16:06 2017 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 16 23:44:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0cd16c |
7 |
|
8 |
app-arch/pixz: clean up style a bit |
9 |
|
10 |
Make the ebuild look more like other ebuilds by moving the |
11 |
KEYWORDS/SRC_URI settings up to the top. |
12 |
|
13 |
app-arch/pixz/pixz-1.0.6.ebuild | 23 +++++++++++------------ |
14 |
app-arch/pixz/pixz-9999.ebuild | 23 +++++++++++------------ |
15 |
2 files changed, 22 insertions(+), 24 deletions(-) |
16 |
|
17 |
diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild |
18 |
index fe9d1a813c..edba404e0d 100644 |
19 |
--- a/app-arch/pixz/pixz-1.0.6.ebuild |
20 |
+++ b/app-arch/pixz/pixz-1.0.6.ebuild |
21 |
@@ -1,13 +1,21 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
|
27 |
-EAPI=6 |
28 |
+EAPI="6" |
29 |
|
30 |
inherit flag-o-matic |
31 |
|
32 |
+if [[ ${PV} == "9999" ]] ; then |
33 |
+ EGIT_REPO_URI="https://github.com/vasi/${PN}.git" |
34 |
+ inherit git-r3 autotools |
35 |
+else |
36 |
+ SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" |
37 |
+ KEYWORDS="~amd64 ~arm ~x86" |
38 |
+fi |
39 |
+ |
40 |
DESCRIPTION="Parallel Indexed XZ compressor" |
41 |
HOMEPAGE="https://github.com/vasi/pixz" |
42 |
+ |
43 |
LICENSE="BSD-2" |
44 |
SLOT="0" |
45 |
IUSE="static" |
46 |
@@ -19,15 +27,6 @@ DEPEND="${RDEPEND} |
47 |
static? ( ${LIB_DEPEND} )" |
48 |
[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc" |
49 |
|
50 |
-if [[ ${PV} == "9999" ]] ; then |
51 |
- EGIT_REPO_URI="https://github.com/vasi/${PN}.git" |
52 |
- inherit git-r3 autotools |
53 |
- KEYWORDS="" |
54 |
-else |
55 |
- SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" |
56 |
- KEYWORDS="~amd64 ~arm ~x86" |
57 |
-fi |
58 |
- |
59 |
src_prepare() { |
60 |
default |
61 |
[[ ${PV} == "9999" ]] && eautoreconf |
62 |
|
63 |
diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild |
64 |
index fe9d1a813c..edba404e0d 100644 |
65 |
--- a/app-arch/pixz/pixz-9999.ebuild |
66 |
+++ b/app-arch/pixz/pixz-9999.ebuild |
67 |
@@ -1,13 +1,21 @@ |
68 |
-# Copyright 1999-2016 Gentoo Foundation |
69 |
+# Copyright 1999-2017 Gentoo Foundation |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
-# $Id$ |
72 |
|
73 |
-EAPI=6 |
74 |
+EAPI="6" |
75 |
|
76 |
inherit flag-o-matic |
77 |
|
78 |
+if [[ ${PV} == "9999" ]] ; then |
79 |
+ EGIT_REPO_URI="https://github.com/vasi/${PN}.git" |
80 |
+ inherit git-r3 autotools |
81 |
+else |
82 |
+ SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" |
83 |
+ KEYWORDS="~amd64 ~arm ~x86" |
84 |
+fi |
85 |
+ |
86 |
DESCRIPTION="Parallel Indexed XZ compressor" |
87 |
HOMEPAGE="https://github.com/vasi/pixz" |
88 |
+ |
89 |
LICENSE="BSD-2" |
90 |
SLOT="0" |
91 |
IUSE="static" |
92 |
@@ -19,15 +27,6 @@ DEPEND="${RDEPEND} |
93 |
static? ( ${LIB_DEPEND} )" |
94 |
[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc" |
95 |
|
96 |
-if [[ ${PV} == "9999" ]] ; then |
97 |
- EGIT_REPO_URI="https://github.com/vasi/${PN}.git" |
98 |
- inherit git-r3 autotools |
99 |
- KEYWORDS="" |
100 |
-else |
101 |
- SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" |
102 |
- KEYWORDS="~amd64 ~arm ~x86" |
103 |
-fi |
104 |
- |
105 |
src_prepare() { |
106 |
default |
107 |
[[ ${PV} == "9999" ]] && eautoreconf |