summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-03-28 07:31:10 +0200
committerUlrich Müller <ulm@gentoo.org>2018-04-04 13:51:04 +0200
commitdebac6366d5cc0f3fd5138ea43c01966d64fe499 (patch)
treeea62e0a370827102cb372538218f87a4fb3802ed /eclass/freedict.eclass
parentapp-admin/kubectx: Remove old (diff)
downloadgentoo-debac6366d5cc0f3fd5138ea43c01966d64fe499.tar.gz
gentoo-debac6366d5cc0f3fd5138ea43c01966d64fe499.tar.bz2
gentoo-debac6366d5cc0f3fd5138ea43c01966d64fe499.zip
freedict.eclass: require EAPI=6
As a pretty simple eclass, which only inherited multilib in order to get $(get_libdir) and eutils for who knows why, and all its consumers bumped to EAPI=6, it makes sense to require EAPI 6 for this eclass.
Diffstat (limited to 'eclass/freedict.eclass')
-rw-r--r--eclass/freedict.eclass18
1 files changed, 10 insertions, 8 deletions
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
index 06419626d348..b795f53f9541 100644
--- a/eclass/freedict.eclass
+++ b/eclass/freedict.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: freedict.eclass
@@ -21,21 +21,23 @@
# @DESCRIPTION:
# Please see above for a description.
-inherit eutils multilib
-
-IUSE=""
+case ${EAPI:-0} in
+ 6) ;;
+ *) die "${ECLASS}.eclass is banned in EAPI=${EAPI}" ;;
+esac
MY_P=${PN/freedict-/}
-S="${WORKDIR}"
DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}"
-HOMEPAGE="http://www.freedict.de"
+HOMEPAGE="http://freedict.sourceforge.net/"
SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
+LICENSE="GPL-2+"
SLOT="0"
-LICENSE="GPL-2"
-DEPEND="app-text/dictd"
+RDEPEND="app-text/dictd"
+
+S="${WORKDIR}"
# @FUNCTION: freedict_src_install
# @DESCRIPTION: