public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2020-01-10 20:50 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2020-01-10 20:50 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2020-09-15 12:55 Pacho Ramos
  0 siblings, 0 replies; 16+ messages in thread
From: Pacho Ramos @ 2020-09-15 12:55 UTC (permalink / raw
  To: gentoo-commits

commit:     40c17b4acb625a44af106f1fb96e19fe750c5f80
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 12:49:22 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 12:54:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c17b4a

sys-apps/earlyoom: It needs go for running tests

Closes: https://bugs.gentoo.org/738572
Thanks-to: Agostino Sarubbo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.3.ebuild  | 8 ++++++--
 sys-apps/earlyoom/earlyoom-9999.ebuild | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild
index 3234d956e49..14280ec0571 100644
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild
@@ -17,10 +17,14 @@ else
 	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
-IUSE="systemd docs"
+IUSE="docs systemd test"
 
-DEPEND="docs? ( app-text/pandoc )"
 RDEPEND=""
+DEPEND=""
+BDEPEND="
+	docs? ( app-text/pandoc )
+	test? ( dev-lang/go )
+"
 
 src_prepare() {
 	eapply "${FILESDIR}/${P}-test-fixed.patch"

diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild
index a54b0d570f7..b9059f99084 100644
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild
+++ b/sys-apps/earlyoom/earlyoom-9999.ebuild
@@ -17,10 +17,14 @@ else
 	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
-IUSE="systemd docs"
+IUSE="docs systemd test"
 
-DEPEND="docs? ( app-text/pandoc )"
 RDEPEND=""
+DEPEND=""
+BDEPEND="
+	docs? ( app-text/pandoc )
+	test? ( dev-lang/go )
+"
 
 src_compile() {
 	VERSION="v${PV}" emake earlyoom


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2020-09-17 12:57 Pacho Ramos
  0 siblings, 0 replies; 16+ messages in thread
From: Pacho Ramos @ 2020-09-17 12:57 UTC (permalink / raw
  To: gentoo-commits

commit:     2f04b301ad20611de63d7f16a4ae18fc10e1b97e
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 12:57:07 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 12:57:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f04b301

sys-apps/earlyoom: amd64 stable, bug #734776

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild
index 14280ec0571..e92e2e965ce 100644
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild
@@ -15,7 +15,7 @@ if [ "${PV}" = "9999" ]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v$PV.tar.gz -> $P.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 IUSE="docs systemd test"
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2020-09-21 18:05 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2020-09-21 18:05 UTC (permalink / raw
  To: gentoo-commits

commit:     f1973678ffeafe0ef3e73c589a01780c1e6e8ecc
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 17:25:56 2020 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 18:05:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1973678

sys-apps/earlyoom: bump

please our pkgscan overlords

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-apps/earlyoom/Manifest                                        | 1 +
 sys-apps/earlyoom/earlyoom-1.3.ebuild                             | 2 ++
 sys-apps/earlyoom/{earlyoom-9999.ebuild => earlyoom-1.6.1.ebuild} | 3 +++
 sys-apps/earlyoom/earlyoom-9999.ebuild                            | 3 +++
 4 files changed, 9 insertions(+)

diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest
index ba4f50e46ca..6987a325711 100644
--- a/sys-apps/earlyoom/Manifest
+++ b/sys-apps/earlyoom/Manifest
@@ -1 +1,2 @@
 DIST earlyoom-1.3.tar.gz 31399 BLAKE2B 3867540afb23493fbb532bcb72a5cfacca4ed297a053ff5e2c7e394bfa3640887e3e7c6430789bc1eda4b7a68680d8a74ab56b641fe9e5d4caa4406e2edb0667 SHA512 c5de742289e82c2098bd88c61dcb3e20eb022905a015b4894c95a4de3978ce18d794a9e7c17c97851ca9f8888728908f7bf978c014b3b69799bffa8b546d258a
+DIST earlyoom-1.6.1.tar.gz 48200 BLAKE2B 559ed59fa24cb05dbc74785eff06e1e4a2772b555fba2c67cda2651cf1c514e842f18cd085905d556e0bd1de238012385eae37953d90a6a5302f7a727be9eb8a SHA512 4f7e2053f6331c1a0c0163952067503da0ea4f09a5650ef4f4d2692530e04cd0841e4fd83fe593d54dc5361d51c86002d93fb9e6ae0f76d669646bd8de9f2065

diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild
index e760a136869..cae1f13f3b8 100644
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild
@@ -26,6 +26,8 @@ BDEPEND="
 	test? ( dev-lang/go )
 "
 
+RESTRICT="!test? ( test )"
+
 src_prepare() {
 	eapply "${FILESDIR}/${P}-test-fixed.patch"
 	default

diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-1.6.1.ebuild
similarity index 96%
copy from sys-apps/earlyoom/earlyoom-9999.ebuild
copy to sys-apps/earlyoom/earlyoom-1.6.1.ebuild
index b9059f99084..898c4fbac55 100644
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.1.ebuild
@@ -26,6 +26,9 @@ BDEPEND="
 	test? ( dev-lang/go )
 "
 
+#tests don't work
+RESTRICT=test
+
 src_compile() {
 	VERSION="v${PV}" emake earlyoom
 	use docs && VERSION="v${PV}" emake earlyoom.1

diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild
index b9059f99084..898c4fbac55 100644
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild
+++ b/sys-apps/earlyoom/earlyoom-9999.ebuild
@@ -26,6 +26,9 @@ BDEPEND="
 	test? ( dev-lang/go )
 "
 
+#tests don't work
+RESTRICT=test
+
 src_compile() {
 	VERSION="v${PV}" emake earlyoom
 	use docs && VERSION="v${PV}" emake earlyoom.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2021-02-26 17:19 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2021-02-26 17:19 UTC (permalink / raw
  To: gentoo-commits

commit:     b49346dfb80d114d4cf008f5aff68d65e929b6d5
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 17:19:45 2021 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Feb 26 17:19:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49346df

sys-apps/earlyoom: use dodir

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
index e0e59d47574..196ec0b0a55 100644
--- a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
@@ -41,7 +41,7 @@ src_install() {
 
 	insinto /etc/default
 	newins earlyoom.default earlyoom
-	insinto /etc/conf.d
+	dodir /etc/conf.d
 	ln -s ../default/earlyoom "${ED}/etc/conf.d/earlyoom"
 
 	newinitd "${FILESDIR}/${PN}-r1" "${PN}"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2021-04-03 15:44 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2021-04-03 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     159f07880e0d7a5f95463ff03578586f47ccc0bf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  2 09:53:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 15:43:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159f0788

sys-apps/earlyoom: fix variable references

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.3.ebuild   | 4 ++--
 sys-apps/earlyoom/earlyoom-1.6.2.ebuild | 2 +-
 sys-apps/earlyoom/earlyoom-9999.ebuild  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild
index cae1f13f3b8..f752572222e 100644
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 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"
+	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="amd64 x86"
 fi
 IUSE="docs systemd test"

diff --git a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
index 196ec0b0a55..fbc56b98e49 100644
--- a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
@@ -14,7 +14,7 @@ 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"
+	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 IUSE="docs systemd test"

diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild
index 898c4fbac55..6a2d2be6cf4 100644
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild
+++ b/sys-apps/earlyoom/earlyoom-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 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"
+	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86"
 fi
 IUSE="docs systemd test"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2021-07-28  6:42 Agostino Sarubbo
  0 siblings, 0 replies; 16+ messages in thread
From: Agostino Sarubbo @ 2021-07-28  6:42 UTC (permalink / raw
  To: gentoo-commits

commit:     95d6472b09264a71cca663d856be9248e60152d9
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 28 06:41:52 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jul 28 06:41:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d6472b

sys-apps/earlyoom: amd64 stable wrt bug #804124

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
index fbc56b98e49..1b2e94871b2 100644
--- a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
@@ -15,7 +15,7 @@ if [ "${PV}" = "9999" ]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 IUSE="docs systemd test"
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2022-08-26 12:31 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2022-08-26 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     4aa095d4f44e45e09b7f0fbace0305ab7e83b895
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 12:25:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 12:26:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa095d4

sys-apps/earlyoom: add github upstream metadata

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/earlyoom/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/earlyoom/metadata.xml b/sys-apps/earlyoom/metadata.xml
index b491101684a6..36cf5295a65f 100644
--- a/sys-apps/earlyoom/metadata.xml
+++ b/sys-apps/earlyoom/metadata.xml
@@ -8,4 +8,7 @@
 	<use>
 		<flag name="docs">Generate man page</flag>
 	</use>
+	<upstream>
+		<remote-id type="github">rfjakob/earlyoom</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2022-08-26 12:31 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2022-08-26 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     c3d149d6d75b441bf8f3292f3e5bbf97ea81c6d3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 12:21:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 12:26:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d149d6

sys-apps/earlyoom: add 1.7

- Remove inappropriate USE=systemd (violates small file policy) and fix
  unit dir.
- Rename USE=docs (should've been USE=doc anyway) to USE=man to be more
  accurate
- Simplify ebuild
- Use Bash tests per QA policy
- Fix tests

Closes: https://bugs.gentoo.org/843785
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/earlyoom/Manifest             |  2 ++
 sys-apps/earlyoom/earlyoom-1.7.ebuild  | 61 ++++++++++++++++++++++++++++++++++
 sys-apps/earlyoom/earlyoom-9999.ebuild | 50 ++++++++++++++++++----------
 3 files changed, 95 insertions(+), 18 deletions(-)

diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest
index 4afcde075831..c56a9dcc2fd8 100644
--- a/sys-apps/earlyoom/Manifest
+++ b/sys-apps/earlyoom/Manifest
@@ -1,2 +1,4 @@
 DIST earlyoom-1.3.tar.gz 31399 BLAKE2B 3867540afb23493fbb532bcb72a5cfacca4ed297a053ff5e2c7e394bfa3640887e3e7c6430789bc1eda4b7a68680d8a74ab56b641fe9e5d4caa4406e2edb0667 SHA512 c5de742289e82c2098bd88c61dcb3e20eb022905a015b4894c95a4de3978ce18d794a9e7c17c97851ca9f8888728908f7bf978c014b3b69799bffa8b546d258a
 DIST earlyoom-1.6.2.tar.gz 49006 BLAKE2B 85a02d4171ba1bb94d5ddf573b8f5ac58d28a0cf9766f4fb2c96be5b45eee7aab853008c36f9e3aac76685b70008051faa2fe339797ecf9137469f089935a6b3 SHA512 d622a5347591d2017f6e62255940482af431e647acf1b35ab035e0dbfd44da7fc52633e6dd6433e42a1348fd294d766550ba092260f3ec59bd51e545f08e466b
+DIST earlyoom-1.7-deps.tar.xz 1974036 BLAKE2B ff378ae64b6b293e3b9d9fa05607209a515edadd18edcb70e204de1e0808b06dfaca7e6dcddeffbda9dae8abbadf7ac6074df725997b96be8a8d8cc35ac4d8c8 SHA512 67072000f8695935f77494faca84c74c67de4b9a4b3b889b310ad674f28c7ed85a0d59e91f4d5caa06cc1d7c1e7ef31aa3a373851361b905dc29e6d4d04eeeb9
+DIST earlyoom-1.7.tar.gz 52210 BLAKE2B c8338434160e4ccaa5ee64299487ca47a3d94e894362c320cf8210caf895a34c7abb584654afcdcb6fc1e058d53c1fa7eb740477acb104ed295700faccbcbdc1 SHA512 5732632c38d9b511aaa81845b3d8f8afe737aa6498dca7e31accaf18bfcf271ba436946aa06a514a34c953f99343f9b197d8a2b8751e16d336aeb084944f3602

diff --git a/sys-apps/earlyoom/earlyoom-1.7.ebuild b/sys-apps/earlyoom/earlyoom-1.7.ebuild
new file mode 100644
index 000000000000..42e4a6373240
--- /dev/null
+++ b/sys-apps/earlyoom/earlyoom-1.7.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GO_OPTIONAL=1
+inherit go-module systemd toolchain-funcs
+
+DESCRIPTION="Early OOM Daemon for Linux"
+HOMEPAGE="https://github.com/rfjakob/earlyoom"
+
+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"
+	SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz )"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT-with-advertising"
+SLOT="0"
+IUSE="man test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	man? ( virtual/pandoc )
+	test? ( dev-lang/go )
+"
+
+src_unpack() {
+	default
+
+	use test && go-module_src_unpack
+}
+
+src_compile() {
+	tc-export CC
+
+	emake \
+		PREFIX="${EPREFIX}"/usr \
+		VERSION="v${PV}" \
+		SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \
+		earlyoom earlyoom.service $(usev man 'earlyoom.1')
+}
+
+src_install() {
+	dobin earlyoom
+
+	use man && doman earlyoom.1
+
+	insinto /etc/default
+	newins earlyoom.default earlyoom
+
+	dodir /etc/conf.d
+	dosym -r /etc/default/earlyoom /etc/conf.d/earlyoom
+
+	newinitd "${FILESDIR}"/${PN}-r1 ${PN}
+	systemd_dounit earlyoom.service
+}

diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild
index 6a2d2be6cf4e..42e4a6373240 100644
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild
+++ b/sys-apps/earlyoom/earlyoom-9999.ebuild
@@ -1,47 +1,61 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit systemd
+GO_OPTIONAL=1
+inherit go-module systemd toolchain-funcs
 
 DESCRIPTION="Early OOM Daemon for Linux"
 HOMEPAGE="https://github.com/rfjakob/earlyoom"
 
-LICENSE="MIT-with-advertising"
-SLOT="0"
-if [ "${PV}" = "9999" ]; then
+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"
+	SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz )"
+
 	KEYWORDS="~amd64 ~x86"
 fi
-IUSE="docs systemd test"
 
-RDEPEND=""
-DEPEND=""
+LICENSE="MIT-with-advertising"
+SLOT="0"
+IUSE="man test"
+RESTRICT="!test? ( test )"
+
 BDEPEND="
-	docs? ( app-text/pandoc )
+	man? ( virtual/pandoc )
 	test? ( dev-lang/go )
 "
 
-#tests don't work
-RESTRICT=test
+src_unpack() {
+	default
+
+	use test && go-module_src_unpack
+}
 
 src_compile() {
-	VERSION="v${PV}" emake earlyoom
-	use docs && VERSION="v${PV}" emake earlyoom.1
-	use systemd && emake PREFIX=/usr earlyoom.service
+	tc-export CC
+
+	emake \
+		PREFIX="${EPREFIX}"/usr \
+		VERSION="v${PV}" \
+		SYSTEMDUNITDIR="$(systemd_get_systemunitdir)" \
+		earlyoom earlyoom.service $(usev man 'earlyoom.1')
 }
 
 src_install() {
 	dobin earlyoom
-	use docs && doman earlyoom.1
+
+	use man && doman earlyoom.1
 
 	insinto /etc/default
 	newins earlyoom.default earlyoom
 
-	doinitd "${FILESDIR}/${PN}"
-	use systemd && systemd_dounit earlyoom.service
+	dodir /etc/conf.d
+	dosym -r /etc/default/earlyoom /etc/conf.d/earlyoom
+
+	newinitd "${FILESDIR}"/${PN}-r1 ${PN}
+	systemd_dounit earlyoom.service
 }


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2023-06-08 22:35 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2023-06-08 22:35 UTC (permalink / raw
  To: gentoo-commits

commit:     13241fcd1b46bff20cb785f85a52a6f2fe64ee5e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 22:29:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 22:34:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13241fcd

sys-apps/earlyoom: use virtual/pandoc

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.3.ebuild   | 4 ++--
 sys-apps/earlyoom/earlyoom-1.6.2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild
index f752572222e8..f8d435b12a4b 100644
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ IUSE="docs systemd test"
 RDEPEND=""
 DEPEND=""
 BDEPEND="
-	docs? ( app-text/pandoc )
+	docs? ( virtual/pandoc )
 	test? ( dev-lang/go )
 "
 

diff --git a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
index 34481cbb8a2f..f99e75ee9507 100644
--- a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,7 +22,7 @@ IUSE="docs systemd test"
 RDEPEND=""
 DEPEND=""
 BDEPEND="
-	docs? ( app-text/pandoc )
+	docs? ( virtual/pandoc )
 	test? ( dev-lang/go )
 "
 


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2023-08-23 17:52 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2023-08-23 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     cf5cb504ffa4fc39b271bcf2c9597326e6caebfe
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 17:52:04 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 17:52:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf5cb504

sys-apps/earlyoom: stabilize 1.7-r1 for x86

Closes: https://bugs.gentoo.org/912883
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
index aa3d5cbd97a7..d3cab7d87fe4 100644
--- a/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
@@ -16,7 +16,7 @@ else
 	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz )"
 
-	KEYWORDS="amd64 ~x86"
+	KEYWORDS="amd64 x86"
 fi
 
 LICENSE="MIT-with-advertising"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2023-08-23 17:52 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2023-08-23 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     5dc90b78be94679f435e4c204f8123770300438a
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 17:43:47 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 17:43:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc90b78

sys-apps/earlyoom: stabilize 1.7-r1 for amd64

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
index 96f0c7262ee2..aa3d5cbd97a7 100644
--- a/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
@@ -16,7 +16,7 @@ else
 	SRC_URI="https://github.com/rfjakob/earlyoom/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz )"
 
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="MIT-with-advertising"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2023-08-23 17:52 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2023-08-23 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     0701ba59dd1912e04e4c34da50a5e43a78662a5c
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 17:39:17 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 17:39:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0701ba59

sys-apps/earlyoom: add missing test dep

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-apps/earlyoom/{earlyoom-1.7.ebuild => earlyoom-1.7-r1.ebuild} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.7.ebuild b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
similarity index 93%
rename from sys-apps/earlyoom/earlyoom-1.7.ebuild
rename to sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
index 42e4a6373240..96f0c7262ee2 100644
--- a/sys-apps/earlyoom/earlyoom-1.7.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,7 +26,10 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="
 	man? ( virtual/pandoc )
-	test? ( dev-lang/go )
+	test? (
+		dev-lang/go
+		dev-util/cppcheck
+	)
 "
 
 src_unpack() {


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2023-08-23 17:52 Rick Farina
  0 siblings, 0 replies; 16+ messages in thread
From: Rick Farina @ 2023-08-23 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     726c2c92147a490852607dc0ef9255ff17c10d85
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 17:33:09 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 17:33:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726c2c92

sys-apps/earlyoom: drop 1.3

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 sys-apps/earlyoom/Manifest            |  1 -
 sys-apps/earlyoom/earlyoom-1.3.ebuild | 51 -----------------------------------
 2 files changed, 52 deletions(-)

diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest
index c56a9dcc2fd8..e3e30a203317 100644
--- a/sys-apps/earlyoom/Manifest
+++ b/sys-apps/earlyoom/Manifest
@@ -1,4 +1,3 @@
-DIST earlyoom-1.3.tar.gz 31399 BLAKE2B 3867540afb23493fbb532bcb72a5cfacca4ed297a053ff5e2c7e394bfa3640887e3e7c6430789bc1eda4b7a68680d8a74ab56b641fe9e5d4caa4406e2edb0667 SHA512 c5de742289e82c2098bd88c61dcb3e20eb022905a015b4894c95a4de3978ce18d794a9e7c17c97851ca9f8888728908f7bf978c014b3b69799bffa8b546d258a
 DIST earlyoom-1.6.2.tar.gz 49006 BLAKE2B 85a02d4171ba1bb94d5ddf573b8f5ac58d28a0cf9766f4fb2c96be5b45eee7aab853008c36f9e3aac76685b70008051faa2fe339797ecf9137469f089935a6b3 SHA512 d622a5347591d2017f6e62255940482af431e647acf1b35ab035e0dbfd44da7fc52633e6dd6433e42a1348fd294d766550ba092260f3ec59bd51e545f08e466b
 DIST earlyoom-1.7-deps.tar.xz 1974036 BLAKE2B ff378ae64b6b293e3b9d9fa05607209a515edadd18edcb70e204de1e0808b06dfaca7e6dcddeffbda9dae8abbadf7ac6074df725997b96be8a8d8cc35ac4d8c8 SHA512 67072000f8695935f77494faca84c74c67de4b9a4b3b889b310ad674f28c7ed85a0d59e91f4d5caa06cc1d7c1e7ef31aa3a373851361b905dc29e6d4d04eeeb9
 DIST earlyoom-1.7.tar.gz 52210 BLAKE2B c8338434160e4ccaa5ee64299487ca47a3d94e894362c320cf8210caf895a34c7abb584654afcdcb6fc1e058d53c1fa7eb740477acb104ed295700faccbcbdc1 SHA512 5732632c38d9b511aaa81845b3d8f8afe737aa6498dca7e31accaf18bfcf271ba436946aa06a514a34c953f99343f9b197d8a2b8751e16d336aeb084944f3602

diff --git a/sys-apps/earlyoom/earlyoom-1.3.ebuild b/sys-apps/earlyoom/earlyoom-1.3.ebuild
deleted file mode 100644
index f8d435b12a4b..000000000000
--- a/sys-apps/earlyoom/earlyoom-1.3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="Early OOM Daemon for Linux"
-HOMEPAGE="https://github.com/rfjakob/earlyoom"
-
-LICENSE="MIT-with-advertising"
-SLOT="0"
-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="docs systemd test"
-
-RDEPEND=""
-DEPEND=""
-BDEPEND="
-	docs? ( virtual/pandoc )
-	test? ( dev-lang/go )
-"
-
-RESTRICT="!test? ( test )"
-
-src_prepare() {
-	eapply "${FILESDIR}/${P}-test-fixed.patch"
-	default
-}
-
-src_compile() {
-	VERSION="v${PV}" emake earlyoom
-	use docs && VERSION="v${PV}" emake earlyoom.1
-	use systemd && emake PREFIX=/usr earlyoom.service
-}
-
-src_install() {
-	dobin earlyoom
-	use docs && doman earlyoom.1
-
-	insinto /etc/default
-	newins earlyoom.default earlyoom
-
-	doinitd "${FILESDIR}/${PN}"
-	use systemd && systemd_dounit earlyoom.service
-}


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2024-02-09 13:04 Joonas Niilola
  0 siblings, 0 replies; 16+ messages in thread
From: Joonas Niilola @ 2024-02-09 13:04 UTC (permalink / raw
  To: gentoo-commits

commit:     f903bf7de302eb095560495c14d49a36a77f8696
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Jan 19 05:42:43 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Feb  9 13:03:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f903bf7d

sys-apps/earlyoom: update LICENSE

* It never had the advertising clause.

https://github.com/rfjakob/earlyoom/blob/master/LICENSE

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-apps/earlyoom/earlyoom-1.6.2.ebuild  | 4 ++--
 sys-apps/earlyoom/earlyoom-1.7-r1.ebuild | 4 ++--
 sys-apps/earlyoom/earlyoom-9999.ebuild   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
index f99e75ee9507..dd56e9eba184 100644
--- a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ inherit systemd
 DESCRIPTION="Early OOM Daemon for Linux"
 HOMEPAGE="https://github.com/rfjakob/earlyoom"
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 if [ "${PV}" = "9999" ]; then
 	EGIT_REPO_URI="https://github.com/rfjakob/earlyoom.git"

diff --git a/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
index d3cab7d87fe4..9c0f8e1059dc 100644
--- a/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
+++ b/sys-apps/earlyoom/earlyoom-1.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ else
 	KEYWORDS="amd64 x86"
 fi
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 IUSE="man test"
 RESTRICT="!test? ( test )"

diff --git a/sys-apps/earlyoom/earlyoom-9999.ebuild b/sys-apps/earlyoom/earlyoom-9999.ebuild
index 42e4a6373240..26455f1c6000 100644
--- a/sys-apps/earlyoom/earlyoom-9999.ebuild
+++ b/sys-apps/earlyoom/earlyoom-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ else
 	KEYWORDS="~amd64 ~x86"
 fi
 
-LICENSE="MIT-with-advertising"
+LICENSE="MIT"
 SLOT="0"
 IUSE="man test"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-apps/earlyoom/
@ 2024-02-27 23:00 Sam James
  0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2024-02-27 23:00 UTC (permalink / raw
  To: gentoo-commits

commit:     19f39a353a4ef67ca05de107386644d7ac98ac70
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 22:50:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 22:55:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f39a35

sys-apps/earlyoom: drop 1.6.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/earlyoom/Manifest              |  1 -
 sys-apps/earlyoom/earlyoom-1.6.2.ebuild | 49 ---------------------------------
 sys-apps/earlyoom/metadata.xml          |  3 --
 3 files changed, 53 deletions(-)

diff --git a/sys-apps/earlyoom/Manifest b/sys-apps/earlyoom/Manifest
index e3e30a203317..e100bbfd7ffc 100644
--- a/sys-apps/earlyoom/Manifest
+++ b/sys-apps/earlyoom/Manifest
@@ -1,3 +1,2 @@
-DIST earlyoom-1.6.2.tar.gz 49006 BLAKE2B 85a02d4171ba1bb94d5ddf573b8f5ac58d28a0cf9766f4fb2c96be5b45eee7aab853008c36f9e3aac76685b70008051faa2fe339797ecf9137469f089935a6b3 SHA512 d622a5347591d2017f6e62255940482af431e647acf1b35ab035e0dbfd44da7fc52633e6dd6433e42a1348fd294d766550ba092260f3ec59bd51e545f08e466b
 DIST earlyoom-1.7-deps.tar.xz 1974036 BLAKE2B ff378ae64b6b293e3b9d9fa05607209a515edadd18edcb70e204de1e0808b06dfaca7e6dcddeffbda9dae8abbadf7ac6074df725997b96be8a8d8cc35ac4d8c8 SHA512 67072000f8695935f77494faca84c74c67de4b9a4b3b889b310ad674f28c7ed85a0d59e91f4d5caa06cc1d7c1e7ef31aa3a373851361b905dc29e6d4d04eeeb9
 DIST earlyoom-1.7.tar.gz 52210 BLAKE2B c8338434160e4ccaa5ee64299487ca47a3d94e894362c320cf8210caf895a34c7abb584654afcdcb6fc1e058d53c1fa7eb740477acb104ed295700faccbcbdc1 SHA512 5732632c38d9b511aaa81845b3d8f8afe737aa6498dca7e31accaf18bfcf271ba436946aa06a514a34c953f99343f9b197d8a2b8751e16d336aeb084944f3602

diff --git a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild b/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
deleted file mode 100644
index dd56e9eba184..000000000000
--- a/sys-apps/earlyoom/earlyoom-1.6.2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-DESCRIPTION="Early OOM Daemon for Linux"
-HOMEPAGE="https://github.com/rfjakob/earlyoom"
-
-LICENSE="MIT"
-SLOT="0"
-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="docs systemd test"
-
-RDEPEND=""
-DEPEND=""
-BDEPEND="
-	docs? ( virtual/pandoc )
-	test? ( dev-lang/go )
-"
-
-#tests don't work
-RESTRICT=test
-
-src_compile() {
-	VERSION="v${PV}" emake earlyoom
-	use docs && VERSION="v${PV}" emake earlyoom.1
-	use systemd && emake PREFIX=/usr earlyoom.service
-}
-
-src_install() {
-	dobin earlyoom
-	use docs && doman earlyoom.1
-
-	insinto /etc/default
-	newins earlyoom.default earlyoom
-	dodir /etc/conf.d
-	ln -s ../default/earlyoom "${ED}/etc/conf.d/earlyoom"
-
-	newinitd "${FILESDIR}/${PN}-r1" "${PN}"
-	use systemd && systemd_dounit earlyoom.service
-}

diff --git a/sys-apps/earlyoom/metadata.xml b/sys-apps/earlyoom/metadata.xml
index 36cf5295a65f..da37dbcffe7e 100644
--- a/sys-apps/earlyoom/metadata.xml
+++ b/sys-apps/earlyoom/metadata.xml
@@ -5,9 +5,6 @@
 		<email>zerochaos@gentoo.org</email>
 		<name>Rick Farina</name>
 	</maintainer>
-	<use>
-		<flag name="docs">Generate man page</flag>
-	</use>
 	<upstream>
 		<remote-id type="github">rfjakob/earlyoom</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-02-27 23:00 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox