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 AC29513835A for ; Sun, 29 Nov 2020 23:12:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF6F2E0878; Sun, 29 Nov 2020 23:12:35 +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 A7CF1E0878 for ; Sun, 29 Nov 2020 23:12:35 +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 90F99341269 for ; Sun, 29 Nov 2020 23:12:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE167474 for ; Sun, 29 Nov 2020 23:12:32 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1606691371.a4f15d1bfcf8a2b72432782df82507f800e81b26.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xchm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/xchm/xchm-9999.ebuild X-VCS-Directories: app-text/xchm/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: a4f15d1bfcf8a2b72432782df82507f800e81b26 X-VCS-Branch: master Date: Sun, 29 Nov 2020 23:12:32 +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: 50ac0213-5f8e-4ac9-8405-1d480e7b8248 X-Archives-Hash: 787361835f5e346e70b45d9e3b6436dc commit: a4f15d1bfcf8a2b72432782df82507f800e81b26 Author: Marek Szuba gentoo org> AuthorDate: Sun Nov 29 23:07:15 2020 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sun Nov 29 23:09:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f15d1b app-text/xchm: live ebuild should now work as release when renamed Signed-off-by: Marek Szuba gentoo.org> app-text/xchm/xchm-9999.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app-text/xchm/xchm-9999.ebuild b/app-text/xchm/xchm-9999.ebuild index 3d695b86f5e..268f5dbea10 100644 --- a/app-text/xchm/xchm-9999.ebuild +++ b/app-text/xchm/xchm-9999.ebuild @@ -5,11 +5,18 @@ EAPI=7 WX_GTK_VER="3.0-gtk3" -inherit autotools desktop git-r3 wxwidgets xdg-utils +inherit autotools desktop wxwidgets xdg-utils DESCRIPTION="Utility for viewing Compiled HTML Help (CHM) files" HOMEPAGE="https://github.com/rzvncj/xCHM/" -EGIT_REPO_URI="https://github.com/rzvncj/xCHM/" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/rzvncj/xCHM/" +else + SRC_URI="https://github.com/rzvncj/xCHM/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" +fi LICENSE="GPL-2" SLOT="0"