# $Id$ PNAME="python2-setuptools" PVER="44.1.1" PBUILD="r1" DESCRIPTION="A collection of extensions to Distutils for Python2." # only python2 supported PYPI_MULTIPLE_PYTHON_VERSIONS=0 sminclude multilib pypi python2 DEPEND=">= dev-python/python2-appdirs-1.4 >= dev-python/python2-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_PYTHON2_SRCSUBDIR}/$(basename ${SRCDIR})-${abi} ${MAGE_PYTHON2_EXEC} bootstrap.py || die done python2_multilib_src_compile || die }