# $Header: /magellan-cvs/smage/docutils/docutils-0.4-r2.smage2,v 1.1 2008/04/19 09:24:09 niro Exp $ PNAME="docutils" PVER="0.4" PBUILD="r2" PCATEGORIE="dev-python" STATE="unstable" DESCRIPTION="Docutils is an open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX." HOMEPAGE="http://docutils.sourceforge.net/" DEPEND=">= dev-lang/python-2.5 >= dev-python/setuptools-0.6" SRCFILE="${PNAME/py/}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME/py/}-${PVER}" sminclude python SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-extramodules.patch mirror://${PNAME}/${PNAME}-${PVER}-python2.5.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fixes extramodules handling with python >=2.3 mpatch ${PNAME}-${PVER}-extramodules.patch || die # fixes issues with python25 mpatch ${PNAME}-${PVER}-python2.5.patch || die }