You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
711 B
25 lines
711 B
import 'compile/python'
|
|
|
|
name=setuptools
|
|
version=36.2.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" \
|
|
'7b6f9ac436ed7e245e265daccc0e6c43'
|
|
_
|
|
|
|
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:
|
|
|