diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-08-01 17:07:28 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-08-01 17:07:28 +0000 |
commit | d17c4f72936b13bf3d8771a4c25ff0a15c915f5a (patch) | |
tree | e8b62f87a1e7a88caf13d36043f1b925e9e661e2 /dev-python/sphinx | |
parent | add GLEP 56 USE flag desc from use.local.desc (diff) | |
download | gentoo-2-d17c4f72936b13bf3d8771a4c25ff0a15c915f5a.tar.gz gentoo-2-d17c4f72936b13bf3d8771a4c25ff0a15c915f5a.tar.bz2 gentoo-2-d17c4f72936b13bf3d8771a4c25ff0a15c915f5a.zip |
Re-added sphinx-0.3 to not drop keywords for ia64 and sparc until dev-python/nose is keyworded for them.
(Portage version: 2.2_rc5/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r-- | dev-python/sphinx/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-0.3.ebuild | 41 |
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog index d6328181c8cb..bbb1416e3942 100644 --- a/dev-python/sphinx/ChangeLog +++ b/dev-python/sphinx/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/sphinx # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.6 2008/08/01 16:47:52 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/ChangeLog,v 1.7 2008/08/01 17:07:28 dev-zero Exp $ + + 01 Aug 2008; Tiziano Müller <dev-zero@gentoo.org> +sphinx-0.3.ebuild: + Re-added sphinx-0.3 to not drop keywords for ia64 and sparc until + dev-python/nose is keyworded for them. 01 Aug 2008; Rob Cakebread <pythonhead@gentoo.org> -sphinx-0.4.2.ebuild: Dropped ia64 and ppc until dev-python/nose gets keyworded. bug #233554 diff --git a/dev-python/sphinx/sphinx-0.3.ebuild b/dev-python/sphinx/sphinx-0.3.ebuild new file mode 100644 index 000000000000..2aacb18063ec --- /dev/null +++ b/dev-python/sphinx/sphinx-0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx/sphinx-0.3.ebuild,v 1.6 2008/08/01 17:07:28 dev-zero Exp $ + +inherit distutils + +MY_PN="Sphinx" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A tool that makes it easy to create intelligent and beautiful documentation for Python projects." +HOMEPAGE="http://sphinx.pocoo.org/" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc" + +DEPEND=">=dev-python/pygments-0.8 + >=dev-python/jinja-1.1 + >=dev-python/docutils-0.4 + dev-python/setuptools" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + DOCS="CHANGES" + distutils_src_compile + + if use doc ; then + cd doc + PYTHONPATH="../" emake SPHINXBUILD="${python} ../sphinx-build.py" html || die "making docs failed" + fi +} + +src_install() { + distutils_src_install + if use doc ; then + dohtml -A txt -r doc/_build/html/* + fi +} |