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 36C1E138350 for ; Fri, 10 Jan 2020 20:50:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B29BE0839; Fri, 10 Jan 2020 20:50:21 +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 4D96FE0839 for ; Fri, 10 Jan 2020 20:50: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 A1B5D34DEFB for ; Fri, 10 Jan 2020 20:50:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E28E90 for ; Fri, 10 Jan 2020 20:50:01 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1578689395.1c5a7e50175552639654620d0553f0c7a349a132.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/earlyoom/earlyoom-1.3.ebuild sys-apps/earlyoom/earlyoom-9999.ebuild X-VCS-Directories: sys-apps/earlyoom/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 1c5a7e50175552639654620d0553f0c7a349a132 X-VCS-Branch: master Date: Fri, 10 Jan 2020 20:50:01 +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: fbdfe1c3-e328-4080-b76a-f562cd1b8c77 X-Archives-Hash: 63f8f689accbb37e5850eb3e672bba95 commit: 1c5a7e50175552639654620d0553f0c7a349a132 Author: Rick Farina gentoo org> AuthorDate: Fri Jan 10 20:49:55 2020 +0000 Commit: Rick Farina gentoo org> CommitDate: Fri Jan 10 20:49:55 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c5a7e50 sys-apps/earlyoom: add live ebuild Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Rick Farina gentoo.org> sys-apps/earlyoom/earlyoom-1.3.ebuild | 9 +++++++-- .../earlyoom/{earlyoom-1.3.ebuild => earlyoom-9999.ebuild} | 14 +++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild index c1fa70a6791..3234d956e49 100644 --- a/sys-apps/earlyoom/earlyoom-1.3.ebuild +++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild @@ -7,11 +7,16 @@ inherit systemd DESCRIPTION="Early OOM Daemon for Linux" HOMEPAGE="https://github.com/rfjakob/earlyoom" -SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz" LICENSE="MIT-with-advertising" SLOT="0" -KEYWORDS="~amd64 ~x86" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/rfjakob/earlyoom.git" + inherit git-r3 +else + SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz" + KEYWORDS="~amd64 ~x86" +fi IUSE="systemd docs" DEPEND="docs? ( app-text/pandoc )" diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild similarity index 75% copy from sys-apps/earlyoom/earlyoom-1.3.ebuild copy to sys-apps/earlyoom/earlyoom-9999.ebuild index c1fa70a6791..a54b0d570f7 100644 --- a/sys-apps/earlyoom/earlyoom-1.3.ebuild +++ b/sys-apps/earlyoom/earlyoom-9999.ebuild @@ -7,21 +7,21 @@ inherit systemd DESCRIPTION="Early OOM Daemon for Linux" HOMEPAGE="https://github.com/rfjakob/earlyoom" -SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz" LICENSE="MIT-with-advertising" SLOT="0" -KEYWORDS="~amd64 ~x86" +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="https://github.com/rfjakob/earlyoom.git" + inherit git-r3 +else + SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz" + KEYWORDS="~amd64 ~x86" +fi IUSE="systemd docs" DEPEND="docs? ( app-text/pandoc )" RDEPEND="" -src_prepare() { - eapply "${FILESDIR}/${P}-test-fixed.patch" - default -} - src_compile() { VERSION="v${PV}" emake earlyoom use docs && VERSION="v${PV}" emake earlyoom.1