import 'compile/python' name=setuptools version=35.0.1 update_url="https://github.com/pypa/$name/releases" update_names="/archive/v$version.tar.gz" define_option 'easy_install-symlink: Install the easy_install symlink (it may conflict with python2)' dlextract "https://github.com/pypa/$name/archive/v$version/$name-$version.tar.gz" \ 'a8a085fa0a3a92e54c2eb7cff7d0e1ec' header_end cd "$name-$version" # Don't install the regular easy_install, as it conflicts with python 2 option !easy_install-symlink sed -i -e '/easy_install =/d' setup.py # Don't use pip to fetch dependencies sed -i -e '/pip/d' bootstrap.py python3 bootstrap.py compile_python 3 # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: