diff options
author | Pacho Ramos <pacho@gentoo.org> | 2020-09-15 14:49:22 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2020-09-15 14:54:59 +0200 |
commit | 40c17b4acb625a44af106f1fb96e19fe750c5f80 (patch) | |
tree | 718381d4dd74bd79f8ac70ad40ad6c36af80980a /sys-apps | |
parent | dev-libs/aws-sdk-cpp: Removed obsolete version 1.7.178 ebuild (diff) | |
download | gentoo-40c17b4acb625a44af106f1fb96e19fe750c5f80.tar.gz gentoo-40c17b4acb625a44af106f1fb96e19fe750c5f80.tar.bz2 gentoo-40c17b4acb625a44af106f1fb96e19fe750c5f80.zip |
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@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/earlyoom/earlyoom-1.3.ebuild | 8 | ||||
-rw-r--r-- | 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 3234d956e495..14280ec05712 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 a54b0d570f73..b9059f99084c 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 |