# $Id$ PNAME="pyxml" PVER="0.8.4" PBUILD="r11" PCAT="dev-python" DESCRIPTION="The PyXML package is a collection of libraries to process XML with Python." HOMEPAGE="http://pyxml.sourceforge.net/" DEPEND=">= dev-lang/python-2.7 >= dev-libs/expat-2" SRCFILE="PyXML-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/PyXML-${PVER}" sminclude python SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-memmove.patch ) UP2DATE="updatecmd_sourceforge ${PNAME} ${PNAME} - PyXML" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build on x86_64 arch mpatch ${PNAME}-${PVER}-memmove.patch || die }