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 9D3D613835A for ; Fri, 20 Nov 2020 12:07:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93D84E0833; Fri, 20 Nov 2020 12:07:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 0CA4EE0827 for ; Fri, 20 Nov 2020 12:07:05 +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 C8BFB340F12 for ; Fri, 20 Nov 2020 12:07:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17582456 for ; Fri, 20 Nov 2020 12:07:03 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1605873866.8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/goaccess/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/goaccess/goaccess-9999.ebuild X-VCS-Directories: net-analyzer/goaccess/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3 X-VCS-Branch: master Date: Fri, 20 Nov 2020 12:07:03 +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: 6bda03e4-d827-46f3-924c-839710c7af2f X-Archives-Hash: c2c8307cfce79331b813e26e5dc8539c commit: 8a2f89c70d80e1bd31d6f6432bed47d4782e7ce3 Author: Michael Seifert digitalernachschub de> AuthorDate: Tue Nov 17 07:03:55 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Nov 20 12:04:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2f89c7 net-analyzer/goaccess: Adjusted SRC_URI and EGIT_REPO_URI in -9999 The variables are set conditionally based on PV, so that the live ebuild can simply be renamed to create a versioned ebuild. Signed-off-by: Michael Seifert digitalernachschub.de> Signed-off-by: Joonas Niilola gentoo.org> net-analyzer/goaccess/goaccess-9999.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/net-analyzer/goaccess/goaccess-9999.ebuild b/net-analyzer/goaccess/goaccess-9999.ebuild index 54c48bd6e78..e029cb0bf44 100644 --- a/net-analyzer/goaccess/goaccess-9999.ebuild +++ b/net-analyzer/goaccess/goaccess-9999.ebuild @@ -3,17 +3,21 @@ EAPI=7 -EGIT_REPO_URI="https://github.com/allinurl/${PN}.git" +inherit autotools -inherit autotools git-r3 +if [[ ${PV} = *9999* ]] ; then + EGIT_REPO_URI="https://github.com/allinurl/${PN}.git" + inherit git-r3 +else + SRC_URI="https://tar.goaccess.io/${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux" +fi DESCRIPTION="A real-time web log analyzer and interactive viewer that runs in a terminal" HOMEPAGE="https://goaccess.io" -SRC_URI="" LICENSE="MIT" SLOT="0" -KEYWORDS="" IUSE="debug geoip geoipv2 getline libressl ssl unicode" REQUIRED_USE="geoipv2? ( geoip )"