summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-07-23 18:40:43 +0100
committerSam James <sam@gentoo.org>2021-07-23 18:40:43 +0100
commit31eb8ce40707a671b42272081dcbeb424ec740ad (patch)
tree1b944e95134bd4ea5b27e97bbe904c1455806fdb /sys-apps/logwatch
parentsys-apps/logwatch: add 7.5.6 (diff)
downloadgentoo-31eb8ce40707a671b42272081dcbeb424ec740ad.tar.gz
gentoo-31eb8ce40707a671b42272081dcbeb424ec740ad.tar.bz2
gentoo-31eb8ce40707a671b42272081dcbeb424ec740ad.zip
sys-apps/logwatch: minor ebuild modernisation
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/logwatch')
-rw-r--r--sys-apps/logwatch/logwatch-7.5.6.ebuild6
-rw-r--r--sys-apps/logwatch/logwatch-9999.ebuild8
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