Compare commits
No commits in common. "5b1656b7aa2ed424be6be971be55031d1bb5077e" and "2f2ba172d844e13c8df7e771bb9611791c2a4719" have entirely different histories.
5b1656b7aa
...
2f2ba172d8
1 changed files with 3 additions and 6 deletions
|
@ -40,7 +40,7 @@ tmp="${root}/tmp"
|
|||
|
||||
rm --force --recursive "${root}"
|
||||
|
||||
for version in "os" "3.12" "3.11" "3.10" "pypy3.10"; do
|
||||
for version in "os" "3.12" "3.11" "3.10"; do
|
||||
export VIRTUAL_ENV="/prj/venv/${version}"
|
||||
export OLD_PATH="${PATH}"
|
||||
export PATH="${VIRTUAL_ENV}/bin:${PATH}"
|
||||
|
@ -73,14 +73,11 @@ for version in "os" "3.12" "3.11" "3.10" "pypy3.10"; do
|
|||
case "${file}" in
|
||||
*.tar.gz)
|
||||
meta_data="${file_name}-${file_version}/${file_name}.egg-info/PKG-INFO"
|
||||
if ! tar xf "${wheel}" -C "${tmp}" "${meta_data}"; then
|
||||
meta_data="${file_name}-${file_version}/PKG-INFO"
|
||||
tar xf "${wheel}" -C "${tmp}" "${meta_data}" || exit
|
||||
fi
|
||||
tar xf "${wheel}" -C "${tmp}" "${meta_data}"
|
||||
;;
|
||||
*.whl)
|
||||
meta_data="${file_name}-${file_version}.dist-info/METADATA"
|
||||
unzip "${wheel}" "${meta_data}" -d "${tmp}" || exit
|
||||
unzip "${wheel}" "${meta_data}" -d "${tmp}"
|
||||
;;
|
||||
esac
|
||||
name="$(grep "${prefix}" "${tmp}/${meta_data}" | sed "s|${prefix}||")"
|
||||
|
|
Loading…
Reference in a new issue