# $Id$ PNAME="setuptools" PVER="47.3.1" PBUILD="r1" DESCRIPTION="A collection of extensions to Distutils for Python3." # only python2 supported PYPI_MULTIPLE_PYTHON_VERSIONS=0 sminclude multilib pypi python3 DEPEND=">= dev-python/python3-appdirs-1.4 >= dev-python/python3-packaging-20.4" SRCFILE="v${PVER}.tar.gz" SRC_URI=( https://github.com/pypa/${PNAME}/archive/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # use github, only zip files are provided by pypi UP2SEPERATOR="v" UP2DATE="updatecmd https://github.com/pypa/${PNAME}/releases | highesttarball gz" src_compile() { local abi for abi in ${MULTILIB_ABIS} do cd ${MAGE_PYTHON3_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} ${MAGE_PYTHON3_EXEC} bootstrap.py || die done python3_multilib_src_compile || die }