# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="Powerful and flexible project management tool consisting of a python class framework and a graphical front-end." HOMEPAGE="http://faces.homeip.net/" SRC_URI="mirror://sourceforge/faces-project/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="charting gui html latex print" DEPEND=">=dev-lang/python-2.3" RDEPEND="${DEPEND} gui? ( >=dev-python/wxpython-2.6 ) charting? ( dev-python/numeric >=dev-python/matplotlib-0.85 ) html? ( dev-python/cheetah ) latex? ( dev-python/cheetah ) print? ( virtual/ghostscript net-print/poster )" pkg_setup() { if use print; then if ! use charting; then ewarn "" ewarn "You have \"print\" and not \"charting\" in your USE." ewarn "Be aware that faces-pm can print only reports generated" ewarn "by the charting module." ewarn "" epause 10 fi fi } pkg_postinst() { if use print; then einfo einfo "Be aware that you need a pdf reader installed to print reports" einfo "generated by faces-pm." einfo fi }