diff options
author | 2009-12-17 17:03:43 +0000 | |
---|---|---|
committer | 2009-12-17 17:03:43 +0000 | |
commit | fcc3c8981f161479a65ccbfa193798b19350b9ba (patch) | |
tree | ea87322ecb5626fa7dff5f862a70ca6db6533733 /dev-python/epydoc/epydoc-3.0.1-r1.ebuild | |
parent | Add ~ia64/~sparc wrt #276355 (diff) | |
download | gentoo-2-fcc3c8981f161479a65ccbfa193798b19350b9ba.tar.gz gentoo-2-fcc3c8981f161479a65ccbfa193798b19350b9ba.tar.bz2 gentoo-2-fcc3c8981f161479a65ccbfa193798b19350b9ba.zip |
bug #287546, thanks to Engelbert Gruber <grubert@users.sourceforge.net> and Martin von Gagern <Martin.vGagern@gmx.net>; bug #288273, thanks to Andre Malo <nd@perlig.de>
(Portage version: 2.2_rc60/cvs/Linux i686)
Diffstat (limited to 'dev-python/epydoc/epydoc-3.0.1-r1.ebuild')
-rw-r--r-- | dev-python/epydoc/epydoc-3.0.1-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/epydoc/epydoc-3.0.1-r1.ebuild b/dev-python/epydoc/epydoc-3.0.1-r1.ebuild new file mode 100644 index 000000000000..7bf888cabf57 --- /dev/null +++ b/dev-python/epydoc/epydoc-3.0.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/epydoc/epydoc-3.0.1-r1.ebuild,v 1.1 2009/12/17 17:03:43 grozin Exp $ + +EAPI="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 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="doc latex X" + +DEPEND="" +RDEPEND="dev-python/docutils + latex? ( virtual/latex-base + || ( dev-texlive/texlive-latexextra app-text/ptex ) + ) + X? ( dev-lang/python[tk] )" +RESTRICT_PYTHON_ABIS="3.*" + +src_prepare() { + # bug #287546, thanks to Engelbert Gruber <grubert@users.sourceforge.net> + # and Martin von Gagern <Martin.vGagern@gmx.net> + epatch "${FILESDIR}"/${PN}-docutils-0.6.patch + + # bug #288273, thanks to Andre Malo <nd@perlig.de> + epatch "${FILESDIR}"/${PN}-python-2.6.patch +} + +src_install() { + [[ -z ${ED} ]] && local ED=${D} + distutils_src_install + + doman man/* + use doc && dohtml -r doc/* + use X || rm -f "${ED}usr/bin/epydocgui" +} |