From 586cd72aeb5240cf8631555de1e6316811512e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakov=20Smoli=C4=87?= Date: Sun, 14 Nov 2021 14:43:28 +0100 Subject: [PATCH] mail-filter/popfile: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/819471 Signed-off-by: Jakov Smolić --- mail-filter/popfile/popfile-1.1.3-r1.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mail-filter/popfile/popfile-1.1.3-r1.ebuild b/mail-filter/popfile/popfile-1.1.3-r1.ebuild index 83d9ec1209ff4..2c9cd804d0ecc 100644 --- a/mail-filter/popfile/popfile-1.1.3-r1.ebuild +++ b/mail-filter/popfile/popfile-1.1.3-r1.ebuild @@ -1,12 +1,14 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 + inherit edos2unix DESCRIPTION="Anti-spam bayesian filter" HOMEPAGE="http://getpopfile.org" SRC_URI="http://getpopfile.org/downloads/${P}.zip" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" @@ -29,21 +31,19 @@ RDEPEND="virtual/perl-Digest-MD5 dev-perl/IO-Socket-SSL dev-perl/Net-SSLeay ) xmlrpc? ( dev-perl/PlRPC )" - -DEPEND="app-arch/unzip" - -S="${WORKDIR}" +BDEPEND="app-arch/unzip" src_prepare() { + default local f - for f in `find ./ -type f`; do + for f in $(find ./ -type f || die); do edos2unix "${f}" done } src_install() { dodoc *.change* - rm -rf *.change* license + rm -r *.change* license || die insinto /usr/share/${PN} doins -r *