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
commit67e989e3cc5be5ce0121823d80ea03f074fe1d54 (patch)
treea15e52893c4f7e78bb99010ba2765dea4e683ef3 /dev-php/smarty-docs/smarty-docs-3.0.ebuild
parentRemove useless inherit. (diff)
downloadgentoo-2-67e989e3cc5be5ce0121823d80ea03f074fe1d54.tar.gz
gentoo-2-67e989e3cc5be5ce0121823d80ea03f074fe1d54.tar.bz2
gentoo-2-67e989e3cc5be5ce0121823d80ea03f074fe1d54.zip
QA: Use required use instead of confutils.
(Portage version: 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}"