|
|
|
import 'compile/python'
|
|
|
|
|
|
|
|
name=setuptools
|
|
|
|
version=34.4.0
|
|
|
|
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" \
|
|
|
|
'262d60c10cb43bdd1362dbd7c108eba8'
|
|
|
|
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:
|