commit: 31eb8ce40707a671b42272081dcbeb424ec740ad Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Jul 23 17:40:43 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jul 23 17:40:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31eb8ce4
sys-apps/logwatch: minor ebuild modernisation Signed-off-by: Sam James <sam <AT> gentoo.org> 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 3bc98aecc86..13d30026df2 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 247b3915d88..13d30026df2 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