diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-07 08:46:31 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-07 08:46:31 +0000 |
commit | 82436d526bdc0e2fd1243effc6712c7281371187 (patch) | |
tree | 454be467eb8e0ccb6e18f0be3f2ef1443067d187 /dev-python/sphinx | |
parent | Initial ebuild (written by me) (diff) | |
download | gentoo-2-82436d526bdc0e2fd1243effc6712c7281371187.tar.gz gentoo-2-82436d526bdc0e2fd1243effc6712c7281371187.tar.bz2 gentoo-2-82436d526bdc0e2fd1243effc6712c7281371187.zip |
Initial ebuild (written by me)
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r-- | dev-python/sphinx/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/sphinx/Manifest | 4 | ||||
-rw-r--r-- | dev-python/sphinx/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/sphinx/sphinx-0.3.ebuild | 41 |
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/sphinx/ChangeLog b/dev-python/sphinx/ChangeLog new file mode 100644 index 000000000000..34c64f951f4a --- /dev/null +++ b/dev-python/sphinx/ChangeLog @@ -0,0 +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.1 2008/06/07 08:46:31 dev-zero Exp $ + +*sphinx-0.3 (07 Jun 2008) + + 07 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml, + +sphinx-0.3.ebuild: + Initial ebuild (written by me) + diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest new file mode 100644 index 000000000000..f6b98e541999 --- /dev/null +++ b/dev-python/sphinx/Manifest @@ -0,0 +1,4 @@ +DIST Sphinx-0.3.tar.gz 332853 RMD160 57a7b244c20df19bb317c1ea566a2a3f8812b7bc SHA1 6c421600eabf1d9956876e9b519305126a9cfa03 SHA256 399a0e877cc25aaca204753456a69c4085b78aa4397ebfe608cddd00102edeca +EBUILD sphinx-0.3.ebuild 911 RMD160 399284fe9abca33d294277e4b4b125f5ab31792c SHA1 296485c41bc6b8a2575ddd1db0d9bc24e8eaae4f SHA256 db3e299f0624372d1f8a52d7f0d2e0460d62558ccb440cbf2d7a27cf6ed1debf +MISC ChangeLog 269 RMD160 c28b3ef030f11031271a3d75788a1671194a4a94 SHA1 039932758179c1770193dfaad4b06bde96eb7235 SHA256 54e2d5d8c28284827e19a156603e71001f2095e0ee4d1b2916c832f4ec823070 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/sphinx/metadata.xml b/dev-python/sphinx/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/sphinx/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> diff --git a/dev-python/sphinx/sphinx-0.3.ebuild b/dev-python/sphinx/sphinx-0.3.ebuild new file mode 100644 index 000000000000..24854c3d7ee1 --- /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.1 2008/06/07 08:46:31 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" +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 +} |