--- /dev/null
+# ChangeLog for dev-python/pudge
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pudge/ChangeLog,v 1.1 2007/01/07 21:33:35 dev-zero Exp $
+
+*pudge-0.1.2 (07 Jan 2007)
+
+ 07 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> +pudge-0.1.2.ebuild:
+ New ebuild for bug #155364
+
--- /dev/null
+DIST pudge-0.1.2.tar.gz 63173 RMD160 61249d34e359d67e23e18d2d47b7ca3c0784a833 SHA1 57724ff3a12315bf87681078dbe440e2baf583a4 SHA256 d5f52c865fa406018bc492e25b7e9af8fc62ee71d623ef3a352aa4662f26ddb1
+EBUILD pudge-0.1.2.ebuild 984 RMD160 092465bfc5cd36581a11a99f8032736e726c4bdc SHA1 507815d6d274d50b62d9156cc8079b95e2f71993 SHA256 f4655c53808f42cc90cced099bb31a05051f3dbcb2fefb35104df1b43fddf6da
+MD5 89399ca583ea2cc9cdab69a553ef69b9 pudge-0.1.2.ebuild 984
+RMD160 092465bfc5cd36581a11a99f8032736e726c4bdc pudge-0.1.2.ebuild 984
+SHA256 f4655c53808f42cc90cced099bb31a05051f3dbcb2fefb35104df1b43fddf6da pudge-0.1.2.ebuild 984
+MISC ChangeLog 339 RMD160 5cf65178490846637143b32c578a5060100d3724 SHA1 f20f209ae8f9340d839826d4ef2b68da69b39399 SHA256 f70b1b4a82fe06ba408164f95da7f2ccba1fefeebcbfa87b31f0bc003e6b71c7
+MD5 099c07f24661bab1be935cf1c205b362 ChangeLog 339
+RMD160 5cf65178490846637143b32c578a5060100d3724 ChangeLog 339
+SHA256 f70b1b4a82fe06ba408164f95da7f2ccba1fefeebcbfa87b31f0bc003e6b71c7 ChangeLog 339
+MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
+SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159
+MD5 7f81686122ca1cc9c19a1209e3810858 files/digest-pudge-0.1.2 232
+RMD160 b79ff79879c8858beab315e886b7fbe28b939bf1 files/digest-pudge-0.1.2 232
+SHA256 e8bd74cd25174a99e993001ba390e6cb04afd880c8bbff0cdf96fdd8521dfd68 files/digest-pudge-0.1.2 232
--- /dev/null
+MD5 6d5f62688d5d1e67a92d10a50448e580 pudge-0.1.2.tar.gz 63173
+RMD160 61249d34e359d67e23e18d2d47b7ca3c0784a833 pudge-0.1.2.tar.gz 63173
+SHA256 d5f52c865fa406018bc492e25b7e9af8fc62ee71d623ef3a352aa4662f26ddb1 pudge-0.1.2.tar.gz 63173
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pudge/pudge-0.1.2.ebuild,v 1.1 2007/01/07 21:33:35 dev-zero Exp $
+
+inherit distutils
+
+DESCRIPTION="A documentation generator for Python projects, using Restructured Text"
+HOMEPAGE="http://pudge.lesscode.org"
+SRC_URI="http://cheeseshop.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-python/docutils
+ <=dev-python/kid-0.9.3"
+DEPEND="dev-python/setuptools"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/use_setuptools/d' \
+ -e '/install_requires[ \t]*=[ \t]*\[.*\],/d' \
+ -e '/install_requires/, /],/d' \
+ setup.py || die "sed failed"
+}
+
+src_install() {
+ distutils_src_install
+ if use doc ; then
+ einfo "Generating docs as requested..."
+ ./bin/pudge --modules=pudge --documents=doc/index.rst --dest=doc/html
+ dohtml -r doc/html/*
+ fi
+}