summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-02-14 11:02:16 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-02-14 11:02:16 +0000
commit1ba304bd2a954d608aedef416451870c0921201c (patch)
tree9310e570ac829551a3b5ee03829d40c60e9bd874 /dev-php/smarty-docs/smarty-docs-3.0.ebuild
parentRemove useless inherit. (diff)
downloadhistorical-1ba304bd2a954d608aedef416451870c0921201c.tar.gz
historical-1ba304bd2a954d608aedef416451870c0921201c.tar.bz2
historical-1ba304bd2a954d608aedef416451870c0921201c.zip
QA: Use required use instead of confutils.
Package-Manager: portage-2.2.0_alpha23/cvs/Linux x86_64
Diffstat (limited to 'dev-php/smarty-docs/smarty-docs-3.0.ebuild')
-rw-r--r--dev-php/smarty-docs/smarty-docs-3.0.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-php/smarty-docs/smarty-docs-3.0.ebuild b/dev-php/smarty-docs/smarty-docs-3.0.ebuild
index 882ce83ed5aa..fc93fcfbdc78 100644
--- a/dev-php/smarty-docs/smarty-docs-3.0.ebuild
+++ b/dev-php/smarty-docs/smarty-docs-3.0.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty-docs/smarty-docs-3.0.ebuild,v 1.1 2011/02/11 14:27:24 tomk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty-docs/smarty-docs-3.0.ebuild,v 1.2 2011/02/14 11:02:16 scarabeus Exp $
EAPI=4
-inherit confutils
-
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="pdf html"
DESCRIPTION="Documentation for Smarty, a template engine for PHP."
@@ -28,9 +26,7 @@ SLOT="0"
DEPEND="html? ( app-arch/unzip )"
RDEPEND="${DEPEND}"
-pkg_setup() {
- confutils_require_any html pdf
-}
+REQUIRED_USE="|| ( html pdf )"
src_unpack() {
mkdir -p "${S}"