diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-02 19:00:24 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-05-02 19:00:24 +0000 |
commit | 9659bd334a1c112832bb531533ebfb9e014c0332 (patch) | |
tree | 3bf50015dab205d1f74c4279b26f0826e2a73470 /dev-python/epydoc | |
parent | EAPI=2. Depend on libpcre with USE=static-libs for a static build. Maintenance (diff) | |
download | gentoo-2-9659bd334a1c112832bb531533ebfb9e014c0332.tar.gz gentoo-2-9659bd334a1c112832bb531533ebfb9e014c0332.tar.bz2 gentoo-2-9659bd334a1c112832bb531533ebfb9e014c0332.zip |
Fix dependencies.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/epydoc')
-rw-r--r-- | dev-python/epydoc/epydoc-2.1-r2.ebuild | 9 | ||||
-rw-r--r-- | dev-python/epydoc/epydoc-3.0.1-r1.ebuild | 22 |
2 files changed, 15 insertions, 16 deletions
diff --git a/dev-python/epydoc/epydoc-2.1-r2.ebuild b/dev-python/epydoc/epydoc-2.1-r2.ebuild index f3327e4a349f..2f91aa307bb2 100644 --- a/dev-python/epydoc/epydoc-2.1-r2.ebuild +++ b/dev-python/epydoc/epydoc-2.1-r2.ebuild @@ -1,15 +1,16 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.20 2009/10/03 05:33:08 arfrever Exp $ +# $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="2" +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/epydoc/${P}.tar.gz" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/epydoc/epydoc-3.0.1-r1.ebuild b/dev-python/epydoc/epydoc-3.0.1-r1.ebuild index 8be4e805497f..4ab1f4844414 100644 --- a/dev-python/epydoc/epydoc-3.0.1-r1.ebuild +++ b/dev-python/epydoc/epydoc-3.0.1-r1.ebuild @@ -1,11 +1,14 @@ # 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-3.0.1-r1.ebuild,v 1.2 2010/02/08 08:50:03 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/epydoc/epydoc-3.0.1-r1.ebuild,v 1.3 2010/05/02 19:00:24 arfrever Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" +PYTHON_USE_WITH_OPT="X" SUPPORT_PYTHON_ABIS="1" -inherit eutils distutils +inherit distutils eutils DESCRIPTION="Tool for generating API documentation for Python modules, based on their docstrings" HOMEPAGE="http://epydoc.sourceforge.net/" @@ -20,21 +23,16 @@ 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 + distutils_src_prepare + epatch "${FILESDIR}/${PN}-docutils-0.6.patch" + epatch "${FILESDIR}/${PN}-python-2.6.patch" } src_install() { - [[ -z ${ED} ]] && local ED=${D} distutils_src_install doman man/* |