pkg(python-3.9.1): match new build system

This commit is contained in:
Thomas Hobson 2021-03-06 19:38:52 +13:00
parent 6391120176
commit a24770e43a
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
3 changed files with 4 additions and 14 deletions

View File

@ -1,19 +1,10 @@
#!/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
tar xzf python.tar.gz --strip-components=1 -C python
cd python
tar xzf python.tar.gz --strip-components=1
rm python.tar.gz
./configure --prefix /piston/packages/python/3.9.1/python-3.9.1
make -j$(nproc)
DESTDIR=build/tmp make altinstall -j$(nproc)
mv build/tmp/piston/packages/python/3.9.1/python-3.9.1 ../../output
ln -s python python3.9

View File

@ -1 +1 @@
export PATH=$PWD/bin:$PATH
export PATH=$PWD:$PATH

View File

@ -2,6 +2,5 @@
"language": "python",
"version": "3.9.1",
"author": "Thomas Hobson <thomas@hexf.me>",
"dependencies": {},
"aliases": ["py", "python3"]
}