# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/epydoc/epydoc-2.1-r2.ebuild,v 1.21 2010/05/02 19:00:24 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Tool for generating API documentation for Python modules, based on their docstrings" HOMEPAGE="http://epydoc.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" IUSE="doc latex" DEPEND="" RDEPEND="latex? ( virtual/latex-base || ( dev-texlive/texlive-latexextra app-text/ptex ) )" RESTRICT_PYTHON_ABIS="3.*" src_install() { distutils_src_install doman man/* use doc && dohtml -r doc/* }