public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
Date: Fri, 10 Jan 2020 20:50:01 +0000 (UTC)	[thread overview]
Message-ID: <1578689395.1c5a7e50175552639654620d0553f0c7a349a132.zerochaos@gentoo> (raw)

commit:     1c5a7e50175552639654620d0553f0c7a349a132
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 10 20:49:55 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> 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 <zerochaos <AT> 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


             reply	other threads:[~2020-01-10 20:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-10 20:50 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-15 12:55 [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/ Pacho Ramos
2020-09-17 12:57 Pacho Ramos
2020-09-21 18:05 Rick Farina
2021-02-26 17:19 Rick Farina
2021-04-03 15:44 Sam James
2021-07-28  6:42 Agostino Sarubbo
2022-08-26 12:31 Sam James
2022-08-26 12:31 Sam James
2023-06-08 22:35 Sam James
2023-08-23 17:52 Rick Farina
2023-08-23 17:52 Rick Farina
2023-08-23 17:52 Rick Farina
2023-08-23 17:52 Rick Farina
2024-02-09 13:04 Joonas Niilola
2024-02-27 23:00 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1578689395.1c5a7e50175552639654620d0553f0c7a349a132.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox