Gentoo Archives: gentoo-commits

From: Tobias Klausmann <klausman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/golop/
Date: Mon, 25 Feb 2019 09:47:24
Message-Id: 1551088031.696b5fcdc5bd2fb47e402202b1517daddecd4e5f.klausman@gentoo
1 commit: 696b5fcdc5bd2fb47e402202b1517daddecd4e5f
2 Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 25 09:46:54 2019 +0000
4 Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 25 09:47:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696b5fcd
7
8 app-portage/golop: Make location of log file prefix-aware
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org>
12
13 app-portage/golop/{golop-9999.ebuild => golop-0.0.1-r1.ebuild} | 9 +++++++--
14 app-portage/golop/golop-9999.ebuild | 9 +++++++--
15 2 files changed, 14 insertions(+), 4 deletions(-)
16
17 diff --git a/app-portage/golop/golop-9999.ebuild b/app-portage/golop/golop-0.0.1-r1.ebuild
18 similarity index 74%
19 copy from app-portage/golop/golop-9999.ebuild
20 copy to app-portage/golop/golop-0.0.1-r1.ebuild
21 index 9e60869091a..461b2e016c8 100644
22 --- a/app-portage/golop/golop-9999.ebuild
23 +++ b/app-portage/golop/golop-0.0.1-r1.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2017 Gentoo Foundation
26 +# Copyright 1999-2019 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI="6"
30 @@ -12,7 +12,7 @@ else
31 SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
32 inherit golang-vcs-snapshot
33 fi
34 -inherit golang-build
35 +inherit golang-build prefix
36
37 DESCRIPTION="A pure Go re-implementation of genlop"
38 HOMEPAGE="https://github.com/klausman/golop"
39 @@ -22,6 +22,11 @@ IUSE=""
40 DEPEND=""
41 RDEPEND=""
42
43 +src_prepare() {
44 + sed -i -e 's@/var/log/emerge.log@'"${EPREFIX}"'&@g' src/github.com/klausman/golop/main.go || die
45 + default
46 +}
47 +
48 src_install() {
49 dobin ${PN}
50
51
52 diff --git a/app-portage/golop/golop-9999.ebuild b/app-portage/golop/golop-9999.ebuild
53 index 9e60869091a..461b2e016c8 100644
54 --- a/app-portage/golop/golop-9999.ebuild
55 +++ b/app-portage/golop/golop-9999.ebuild
56 @@ -1,4 +1,4 @@
57 -# Copyright 1999-2017 Gentoo Foundation
58 +# Copyright 1999-2019 Gentoo Authors
59 # Distributed under the terms of the GNU General Public License v2
60
61 EAPI="6"
62 @@ -12,7 +12,7 @@ else
63 SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
64 inherit golang-vcs-snapshot
65 fi
66 -inherit golang-build
67 +inherit golang-build prefix
68
69 DESCRIPTION="A pure Go re-implementation of genlop"
70 HOMEPAGE="https://github.com/klausman/golop"
71 @@ -22,6 +22,11 @@ IUSE=""
72 DEPEND=""
73 RDEPEND=""
74
75 +src_prepare() {
76 + sed -i -e 's@/var/log/emerge.log@'"${EPREFIX}"'&@g' src/github.com/klausman/golop/main.go || die
77 + default
78 +}
79 +
80 src_install() {
81 dobin ${PN}