added python 3.10

This commit is contained in:
Pyroseza 2021-10-13 16:56:12 +01:00
parent 8a89af7512
commit fecfed48fd
6 changed files with 39 additions and 0 deletions

20
packages/python/3.10.0/build.sh vendored Executable file
View file

@ -0,0 +1,20 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tgz" -o python.tar.gz
tar xzf python.tar.gz --strip-components=1
rm python.tar.gz
./configure --prefix "$PREFIX" --with-ensurepip=install
make -j$(nproc)
make install -j$(nproc)
cd ..
rm -rf build