# $Id$ PNAME="setuptools" PVER="0.6c9" PBUILD="r1" PCATEGORIE="dev-python" STATE="unstable" DESCRIPTION="A collection of enhancements to the Python distutils including easy install." HOMEPAGE="http://peak.telecommunity.com/DevCenter/setuptools" DEPEND=">= dev-lang/python-2.6" SRCFILE="${PNAME/py/}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME/py/}-${PVER}" sminclude python SRC_URI=( http://cheeseshop.python.org/packages/source/s/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd 'http://cheeseshop.python.org/packages/source/s/${PNAME}/?C=M;O=A' | lasttarball gz" src_install() { python_src_install # remove all windows executables find ${BINDIR} -name *.exe | xargs rm }