mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
Removed multibuild workaround
This commit is contained in:
parent
8e12a09081
commit
113eecfa22
22
config.sh
22
config.sh
|
@ -18,28 +18,6 @@ LIBWEBP_VERSION=1.2.0
|
||||||
BZIP2_VERSION=1.0.8
|
BZIP2_VERSION=1.0.8
|
||||||
LIBXCB_VERSION=1.14
|
LIBXCB_VERSION=1.14
|
||||||
|
|
||||||
# workaround for multibuild bug with .tar.xz
|
|
||||||
function untar {
|
|
||||||
local in_fname=$1
|
|
||||||
if [ -z "$in_fname" ];then echo "in_fname not defined"; exit 1; fi
|
|
||||||
local extension=${in_fname##*.}
|
|
||||||
case $extension in
|
|
||||||
tar) tar -xf $in_fname ;;
|
|
||||||
gz|tgz) tar -zxf $in_fname ;;
|
|
||||||
bz2) tar -jxf $in_fname ;;
|
|
||||||
zip) unzip -qq $in_fname ;;
|
|
||||||
xz) if [ -n "$IS_MACOS" ]; then
|
|
||||||
tar -xf $in_fname
|
|
||||||
else
|
|
||||||
if [[ ! $(type -P "unxz") ]]; then
|
|
||||||
echo xz must be installed to uncompress file; exit 1
|
|
||||||
fi
|
|
||||||
unxz -c $in_fname | tar -xf -
|
|
||||||
fi ;;
|
|
||||||
*) echo Did not recognize extension $extension; exit 1 ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
function pre_build {
|
function pre_build {
|
||||||
# Any stuff that you need to do before you start building the wheels
|
# Any stuff that you need to do before you start building the wheels
|
||||||
# Runs in the root directory of this repository.
|
# Runs in the root directory of this repository.
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 125a047dfd81f6d22815f91cae8cdef1f81f02ac
|
Subproject commit a980404f76f9491828391a79b1e37bf561988467
|
Loading…
Reference in New Issue
Block a user