summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-14 14:43:28 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-14 14:43:28 +0100
commit586cd72aeb5240cf8631555de1e6316811512e4a (patch)
tree4acc8dfc5d13a231028492e8eb68b3f33122d721 /mail-filter/popfile
parentnet-im/telepathy-connection-managers: Port to EAPI 8 (diff)
downloadgentoo-586cd72aeb5240cf8631555de1e6316811512e4a.tar.gz
gentoo-586cd72aeb5240cf8631555de1e6316811512e4a.tar.bz2
gentoo-586cd72aeb5240cf8631555de1e6316811512e4a.zip
mail-filter/popfile: Port to EAPI 8
Closes: https://bugs.gentoo.org/819471 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'mail-filter/popfile')
-rw-r--r--mail-filter/popfile/popfile-1.1.3-r1.ebuild14
1 files 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 83d9ec1209ff..2c9cd804d0ec 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 *