summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-05-08 10:25:48 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-05-08 10:25:48 +0000
commitc603d8634b424105793157850b60e72f9954da88 (patch)
tree70bfef498722d86d7f4e4c3f1f4a51b4aefe6765 /eclass
parentVersion bump. (diff)
downloadgentoo-2-c603d8634b424105793157850b60e72f9954da88.tar.gz
gentoo-2-c603d8634b424105793157850b60e72f9954da88.tar.bz2
gentoo-2-c603d8634b424105793157850b60e72f9954da88.zip
Restict supported EAPIs(due to pkg_pretend), some logic cleanup
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/leechcraft.eclass16
2 files changed, 9 insertions, 12 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 0eb8250c8e24..80b034823acb 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.815 2013/05/08 08:37:40 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.816 2013/05/08 10:25:48 pinkbyte Exp $
+
+ 08 May 2013; Sergey Popov <pinkbyte@gentoo.org> leechcraft.eclass:
+ Restict supported EAPIs(due to pkg_pretend), some logic cleanup
08 May 2013; Tim Harder <radhermit@gentoo.org> vim.eclass:
Fix dangling gvim manpage symlinks (bug #455480, patch by Arfrever).
diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
index 1f535dfca2f2..cad3f3047295 100644
--- a/eclass/leechcraft.eclass
+++ b/eclass/leechcraft.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.9 2013/04/30 07:51:24 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.10 2013/05/08 10:25:48 pinkbyte Exp $
#
# @ECLASS: leechcraft.eclass
# @MAINTAINER:
@@ -22,8 +22,8 @@
# Only EAPI >1 supported
case ${EAPI:-0} in
- 2|3|4|5) ;;
- 0|1) die "EAPI not supported, bug ebuild mantainer" ;;
+ 4|5) ;;
+ 0|1|2|3) die "EAPI not supported, bug ebuild mantainer" ;;
*) die "Unknown EAPI, bug eclass maintainers" ;;
esac
@@ -35,14 +35,8 @@ if [[ ${PV} == 9999 ]]; then
inherit git-2
else
- local suffix
- if version_is_at_least 0.4.95; then
- DEPEND="app-arch/xz-utils"
- suffix="xz"
- else
- suffix="bz2"
- fi
- SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.${suffix}"
+ DEPEND="app-arch/xz-utils"
+ SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.xz"
S="${WORKDIR}/leechcraft-${PV}"
fi