From a24770e43a368d0f15afd8b0fa01c074c6eb0296 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 6 Mar 2021 19:38:52 +1300 Subject: [PATCH] pkg(python-3.9.1): match new build system --- packages/python-3.9.1/build.sh | 15 +++------------ packages/python-3.9.1/environment | 2 +- packages/python-3.9.1/metadata.json | 1 - 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/packages/python-3.9.1/build.sh b/packages/python-3.9.1/build.sh index 83e0873..1ee0843 100755 --- a/packages/python-3.9.1/build.sh +++ b/packages/python-3.9.1/build.sh @@ -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 diff --git a/packages/python-3.9.1/environment b/packages/python-3.9.1/environment index bd0ff98..98fd770 100644 --- a/packages/python-3.9.1/environment +++ b/packages/python-3.9.1/environment @@ -1 +1 @@ -export PATH=$PWD/bin:$PATH \ No newline at end of file +export PATH=$PWD:$PATH \ No newline at end of file diff --git a/packages/python-3.9.1/metadata.json b/packages/python-3.9.1/metadata.json index 98c33ed..306c376 100644 --- a/packages/python-3.9.1/metadata.json +++ b/packages/python-3.9.1/metadata.json @@ -2,6 +2,5 @@ "language": "python", "version": "3.9.1", "author": "Thomas Hobson ", - "dependencies": {}, "aliases": ["py", "python3"] } \ No newline at end of file