From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53940138334 for ; Mon, 25 Feb 2019 09:47:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAF1BE0883; Mon, 25 Feb 2019 09:47:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE21FE0883 for ; Mon, 25 Feb 2019 09:47:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1430D33D5A5 for ; Mon, 25 Feb 2019 09:47:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD9EB546 for ; Mon, 25 Feb 2019 09:47:17 +0000 (UTC) From: "Tobias Klausmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tobias Klausmann" Message-ID: <1551088031.696b5fcdc5bd2fb47e402202b1517daddecd4e5f.klausman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/golop/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/golop/golop-0.0.1-r1.ebuild app-portage/golop/golop-9999.ebuild X-VCS-Directories: app-portage/golop/ X-VCS-Committer: klausman X-VCS-Committer-Name: Tobias Klausmann X-VCS-Revision: 696b5fcdc5bd2fb47e402202b1517daddecd4e5f X-VCS-Branch: master Date: Mon, 25 Feb 2019 09:47:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13f4ed38-ff15-4594-8029-c1f586b56e91 X-Archives-Hash: 9e02075468346dd272f001bf647e8a82 commit: 696b5fcdc5bd2fb47e402202b1517daddecd4e5f Author: Tobias Klausmann gentoo org> AuthorDate: Mon Feb 25 09:46:54 2019 +0000 Commit: Tobias Klausmann gentoo org> CommitDate: Mon Feb 25 09:47:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=696b5fcd app-portage/golop: Make location of log file prefix-aware Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tobias Klausmann gentoo.org> app-portage/golop/{golop-9999.ebuild => golop-0.0.1-r1.ebuild} | 9 +++++++-- app-portage/golop/golop-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/app-portage/golop/golop-9999.ebuild b/app-portage/golop/golop-0.0.1-r1.ebuild similarity index 74% copy from app-portage/golop/golop-9999.ebuild copy to app-portage/golop/golop-0.0.1-r1.ebuild index 9e60869091a..461b2e016c8 100644 --- a/app-portage/golop/golop-9999.ebuild +++ b/app-portage/golop/golop-0.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -12,7 +12,7 @@ else SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" inherit golang-vcs-snapshot fi -inherit golang-build +inherit golang-build prefix DESCRIPTION="A pure Go re-implementation of genlop" HOMEPAGE="https://github.com/klausman/golop" @@ -22,6 +22,11 @@ IUSE="" DEPEND="" RDEPEND="" +src_prepare() { + sed -i -e 's@/var/log/emerge.log@'"${EPREFIX}"'&@g' src/github.com/klausman/golop/main.go || die + default +} + src_install() { dobin ${PN} diff --git a/app-portage/golop/golop-9999.ebuild b/app-portage/golop/golop-9999.ebuild index 9e60869091a..461b2e016c8 100644 --- a/app-portage/golop/golop-9999.ebuild +++ b/app-portage/golop/golop-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -12,7 +12,7 @@ else SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" inherit golang-vcs-snapshot fi -inherit golang-build +inherit golang-build prefix DESCRIPTION="A pure Go re-implementation of genlop" HOMEPAGE="https://github.com/klausman/golop" @@ -22,6 +22,11 @@ IUSE="" DEPEND="" RDEPEND="" +src_prepare() { + sed -i -e 's@/var/log/emerge.log@'"${EPREFIX}"'&@g' src/github.com/klausman/golop/main.go || die + default +} + src_install() { dobin ${PN}