2019-09-28 00:17:56 +08:00
|
|
|
name=python
|
2020-06-12 16:42:33 +08:00
|
|
|
version=3.8.1
|
2019-09-28 00:17:56 +08:00
|
|
|
source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Python-$version
|
|
|
|
|
|
|
|
sed -i '/def add_multiarch_paths/a \ return' setup.py
|
|
|
|
./configure --prefix=/tools --without-ensurepip
|
|
|
|
make
|
|
|
|
make install
|
|
|
|
}
|