From 71080e77a4a75c36125ff40ea3b563fc0a6eef75 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Wed, 3 Aug 2022 14:27:08 -0400 Subject: [PATCH] fix rust not being able to extract tar.gz (#72) --- projects/python.org/package.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/python.org/package.yml b/projects/python.org/package.yml index 40eda4b0..f0605c3d 100644 --- a/projects/python.org/package.yml +++ b/projects/python.org/package.yml @@ -6,13 +6,16 @@ versions: github: python/cpython/tags dependencies: - #TODO lots! openssl at least! libffi! + zlib.net: 1 build: dependencies: tea.xyz/gx/cc: c99 tea.xyz/gx/make: '*' script: | + sed -i.bak -e 's|system_lib_dirs = .*|system_lib_dirs = os.getenv("LIBRARY_PATH").split(":")|' ./setup.py + sed -i.bak -e 's|system_include_dirs = .*|system_include_dirs = os.getenv("CPATH").split(":")|' ./setup.py + ./configure $ARGS make --jobs {{ hw.concurrency }} make install @@ -42,5 +45,6 @@ build: - --datadir="$SHARE" test: + #TODO test all modules eg zlib module script: python --version