# description : Easily download, build, install, upgrade, and uninstall Python packages # depends : python2 name=python2-setuptools version=41.4.0 release=1 source=(python-setuptools-$version.tar.gz::https://github.com/pypa/setuptools/archive/v$version.tar.gz) md5sum=(f0353658904eaea7c3f89d568f114da5) build() { cd setuptools-$version export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0 python2 bootstrap.py python2 setup.py build python2 setup.py install --prefix=/usr --root="$PKG" --optimize=1 --skip-build rm $PKG/usr/bin/easy_install }