pkg(python-3.9.1): match new build system
This commit is contained in:
parent
6391120176
commit
a24770e43a
|
@ -1,19 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
mkdir -p build/tmp build/python
|
|
||||||
cd build
|
|
||||||
|
|
||||||
curl "https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz" -o python.tar.gz
|
curl "https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tgz" -o python.tar.gz
|
||||||
tar xzf python.tar.gz --strip-components=1 -C python
|
tar xzf python.tar.gz --strip-components=1
|
||||||
|
rm python.tar.gz
|
||||||
cd python
|
|
||||||
|
|
||||||
|
|
||||||
./configure --prefix /piston/packages/python/3.9.1/python-3.9.1
|
./configure --prefix /piston/packages/python/3.9.1/python-3.9.1
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
DESTDIR=build/tmp make altinstall -j$(nproc)
|
ln -s python python3.9
|
||||||
|
|
||||||
|
|
||||||
mv build/tmp/piston/packages/python/3.9.1/python-3.9.1 ../../output
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export PATH=$PWD/bin:$PATH
|
export PATH=$PWD:$PATH
|
|
@ -2,6 +2,5 @@
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"version": "3.9.1",
|
"version": "3.9.1",
|
||||||
"author": "Thomas Hobson <thomas@hexf.me>",
|
"author": "Thomas Hobson <thomas@hexf.me>",
|
||||||
"dependencies": {},
|
|
||||||
"aliases": ["py", "python3"]
|
"aliases": ["py", "python3"]
|
||||||
}
|
}
|
Loading…
Reference in New Issue