diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-07-01 09:46:46 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-07-01 09:46:46 +0000 |
commit | 154fb84e5cc23e221bc282b7be6f8eee8b8c5617 (patch) | |
tree | 8b20f035b989cba49c858f73b4f3c82bada8b774 | |
parent | version bump (diff) | |
download | gentoo-2-154fb84e5cc23e221bc282b7be6f8eee8b8c5617.tar.gz gentoo-2-154fb84e5cc23e221bc282b7be6f8eee8b8c5617.tar.bz2 gentoo-2-154fb84e5cc23e221bc282b7be6f8eee8b8c5617.zip |
version bump
-rw-r--r-- | dev-python/docutils/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/docutils/Manifest | 4 | ||||
-rw-r--r-- | dev-python/docutils/docutils-0.3.ebuild | 61 | ||||
-rw-r--r-- | dev-python/docutils/files/digest-docutils-0.3 | 1 |
4 files changed, 70 insertions, 3 deletions
diff --git a/dev-python/docutils/ChangeLog b/dev-python/docutils/ChangeLog index d7aa72e118e3..444b95085e83 100644 --- a/dev-python/docutils/ChangeLog +++ b/dev-python/docutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/docutils # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.5 2003/06/04 19:39:20 g2boojum Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/ChangeLog,v 1.6 2003/07/01 09:46:37 liquidx Exp $ + +*docutils-0.3 (01 Jul 2003) + + 01 Jul 2003; Alastair Tse <liquidx@gentoo.org> docutils-0.3.ebuild: + version bump *docutils-0.3_pre20030530-r3 (04 Jun 2003) diff --git a/dev-python/docutils/Manifest b/dev-python/docutils/Manifest index d685df37a833..3bde5dffa50c 100644 --- a/dev-python/docutils/Manifest +++ b/dev-python/docutils/Manifest @@ -1,7 +1,7 @@ -MD5 9d31c2fb96a776484ae62f61e0f802f0 ChangeLog 1531 +MD5 b71562bab84945c99c2fd6521c166609 ChangeLog 1645 MD5 2196352ff09a0911d140c0c894967808 docutils-0.3_pre20030530.ebuild 716 MD5 3b77f1541dc354b1155715d80f197bad docutils-0.3_pre20030530-r3.ebuild 1543 -MD5 eba089136bbe32b1392e4b57103aad11 docutils-0.3.ebuild 1561 +MD5 4ecda915abc9c0f1242895c64464440e docutils-0.3.ebuild 1529 MD5 8c6d9ea3ddd2e36b369112ee20b660fb files/digest-docutils-0.3_pre20030530 73 MD5 8c6d9ea3ddd2e36b369112ee20b660fb files/digest-docutils-0.3_pre20030530-r3 73 MD5 4787b6c5e6678d3f211ec7f8ec71aa03 files/glep.py 699 diff --git a/dev-python/docutils/docutils-0.3.ebuild b/dev-python/docutils/docutils-0.3.ebuild new file mode 100644 index 000000000000..4764bf7e733e --- /dev/null +++ b/dev-python/docutils/docutils-0.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.ebuild,v 1.1 2003/07/01 09:46:37 liquidx Exp $ + +inherit distutils + +DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc." +HOMEPAGE="http://docutils.sourceforge.net/" +SRC_URI="mirror://sourceforge/docutils/${P}.tar.gz" + +LICENSE="public-domain PYTHON BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.1" + +src_compile() { + distutils_src_compile + + # Generate html docs from reStructured text sources + PYTHONPATH=${S}/build/lib ${python} \ + tools/buildhtml.py --config=tools/docutils.conf +} + + +install_txt_doc() { + local doc=${1} + local dir="txt/$(dirname ${doc})" + docinto ${dir} + dodoc ${doc} +} + +src_install() { + mydoc="MANIFEST.in *.txt" + distutils_src_install + # Tools + cd ${S}/tools + for tool in *.py + do + newbin ${tool} docutils-${tool} + done + # Docs + cd ${S} + dohtml -r docs spec tools + for doc in $(find docs spec tools -name '*.txt') + do + install_txt_doc $doc + done + + # Gentoo GLEP tools + newbin ${FILESDIR}/glep.py docutils-glep.py + distutils_python_version + insinto /usr/lib/python${PYVER}/site-packages/docutils/readers + newins ${FILESDIR}/glepread.py glep.py + insinto /usr/lib/python${PYVER}/site-packages/docutils/transforms + newins ${FILESDIR}/glepstrans.py gleps.py + insinto /usr/lib/python${PYVER}/site-packages/docutils/writers + newins ${FILESDIR}/glep_htmlwrite.py glep_html.py +} + diff --git a/dev-python/docutils/files/digest-docutils-0.3 b/dev-python/docutils/files/digest-docutils-0.3 new file mode 100644 index 000000000000..bdb677fa30f3 --- /dev/null +++ b/dev-python/docutils/files/digest-docutils-0.3 @@ -0,0 +1 @@ +MD5 d8c78dd09610055431ac8df30312bdb9 docutils-0.3.tar.gz 485575 |