mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
Better python packaging
This commit is contained in:
parent
51b06018c1
commit
4f3e7a536d
6 changed files with 54 additions and 32 deletions
28
packages/python/3.9.1/Makefile
vendored
28
packages/python/3.9.1/Makefile
vendored
|
@ -1,28 +0,0 @@
|
|||
NAME=python
|
||||
VERSION=3.9.1
|
||||
AUTHOR=Thomas Hobson <thomas@hexf.me>
|
||||
DEPS=
|
||||
COMPILED=false
|
||||
|
||||
MAKE_JOBS=64
|
||||
|
||||
include ../../Makefile
|
||||
|
||||
run:
|
||||
echo "python3.9 $*" > run
|
||||
|
||||
python-${VERSION}/environment:
|
||||
echo 'export PATH=$$PWD/python-${VERSION}/bin:$$PATH' > $@
|
||||
|
||||
python-${VERSION}/: Python-${VERSION}/
|
||||
cd $< && ./configure --prefix /
|
||||
make -j${MAKE_JOBS} -C $<
|
||||
DESTDIR=../$@ make -j${MAKE_JOBS} -C $< altinstall || true
|
||||
|
||||
Python-${VERSION}.tgz:
|
||||
curl "https://www.python.org/ftp/python/${VERSION}/$@" -o $@
|
||||
|
||||
%/: %.tgz
|
||||
tar xzvf $<
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue