From 31eb8ce40707a671b42272081dcbeb424ec740ad Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 23 Jul 2021 18:40:43 +0100 Subject: sys-apps/logwatch: minor ebuild modernisation Signed-off-by: Sam James --- sys-apps/logwatch/logwatch-7.5.6.ebuild | 6 ++---- sys-apps/logwatch/logwatch-9999.ebuild | 8 +++----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/sys-apps/logwatch/logwatch-7.5.6.ebuild b/sys-apps/logwatch/logwatch-7.5.6.ebuild index 3bc98aecc866..13d30026df24 100644 --- a/sys-apps/logwatch/logwatch-7.5.6.ebuild +++ b/sys-apps/logwatch/logwatch-7.5.6.ebuild @@ -5,8 +5,6 @@ EAPI="7" inherit tmpfiles -PATCHES=() - if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}" inherit git-r3 @@ -20,9 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/logwatch/" LICENSE="MIT" SLOT="0" -IUSE="" -DEPEND="" RDEPEND="virtual/cron virtual/mta virtual/mailx @@ -33,6 +29,8 @@ RDEPEND="virtual/cron dev-perl/Sys-CPU dev-perl/Sys-MemInfo" +PATCHES=() + src_install() { dodir /usr/share/logwatch/lib dodir /usr/share/logwatch/scripts/services diff --git a/sys-apps/logwatch/logwatch-9999.ebuild b/sys-apps/logwatch/logwatch-9999.ebuild index 247b3915d881..13d30026df24 100644 --- a/sys-apps/logwatch/logwatch-9999.ebuild +++ b/sys-apps/logwatch/logwatch-9999.ebuild @@ -1,12 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" inherit tmpfiles -PATCHES=() - if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://git.code.sf.net/p/logwatch/git ${PN}" inherit git-r3 @@ -20,9 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/logwatch/" LICENSE="MIT" SLOT="0" -IUSE="" -DEPEND="" RDEPEND="virtual/cron virtual/mta virtual/mailx @@ -33,6 +29,8 @@ RDEPEND="virtual/cron dev-perl/Sys-CPU dev-perl/Sys-MemInfo" +PATCHES=() + src_install() { dodir /usr/share/logwatch/lib dodir /usr/share/logwatch/scripts/services -- cgit v1.2.3-18-g5258