mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Python 3.9.1 Package (but better)
This commit is contained in:
parent
e2c8427a7a
commit
36102f22b4
3 changed files with 16 additions and 11 deletions
13
packages/python/3.9.1/Makefile
vendored
13
packages/python/3.9.1/Makefile
vendored
|
@ -2,22 +2,25 @@ NAME=python
|
|||
VERSION=3.9.1
|
||||
AUTHOR=Thomas Hobson <thomas@hexf.me>
|
||||
DEPS=
|
||||
BINARY_FILES=out/ run
|
||||
COMPILED=false
|
||||
|
||||
MAKE_JOBS=64
|
||||
|
||||
include ../../Makefile
|
||||
|
||||
run:
|
||||
echo "bin/python3.9 $*" > run
|
||||
echo "python3.9 $*" > run
|
||||
|
||||
out/: Python-${VERSION}/
|
||||
python-${VERSION}/environment:
|
||||
echo 'export PATH=$$PWD/python-${VERSION}/bin:$$PATH' > $@
|
||||
|
||||
python-${VERSION}/: Python-${VERSION}/
|
||||
cd $< && ./configure --prefix /
|
||||
make -j${MAKE_JOBS} -C $<
|
||||
DESTDIR=../out make -j${MAKE_JOBS} -C $< altinstall
|
||||
DESTDIR=../$@ make -j${MAKE_JOBS} -C $< altinstall || true
|
||||
|
||||
Python-${VERSION}.tgz:
|
||||
curl "https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz" -o $@
|
||||
curl "https://www.python.org/ftp/python/${VERSION}/$@" -o $@
|
||||
|
||||
%/: %.tgz
|
||||
tar xzvf $<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue