mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-27 16:39:49 +03:00
Correct regex handling.
This commit is contained in:
parent
f42822239e
commit
980a9da093
6
.github/workflows/wheels-dependencies.sh
vendored
6
.github/workflows/wheels-dependencies.sh
vendored
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# Safety check - Pillow builds require that CIBW_ARCHS is set, and that it only
|
# Safety check - Pillow builds require that CIBW_ARCHS is set, and that it only
|
||||||
# contains a single value (even though cibuildwheel allows multiple values in
|
# contains a single value (even though cibuildwheel allows multiple values in
|
||||||
# CIBW_ARCHS).
|
# CIBW_ARCHS). This check doesn't work on Linux because of how the CIBW_ARCHS
|
||||||
echo "ENV CHECK: CIBW_ARCHS=$CIBW_ARCHS"
|
# variable is exposed.
|
||||||
function check_cibw_archs {
|
function check_cibw_archs {
|
||||||
if [[ -z "$CIBW_ARCHS" ]]; then
|
if [[ -z "$CIBW_ARCHS" ]]; then
|
||||||
echo "ERROR: Pillow builds require CIBW_ARCHS be defined."
|
echo "ERROR: Pillow builds require CIBW_ARCHS be defined."
|
||||||
|
@ -204,7 +204,7 @@ function build {
|
||||||
build_simple libXau 1.0.12 https://www.x.org/pub/individual/lib
|
build_simple libXau 1.0.12 https://www.x.org/pub/individual/lib
|
||||||
build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist
|
build_simple libpthread-stubs 0.5 https://xcb.freedesktop.org/dist
|
||||||
else
|
else
|
||||||
sed "s/\$\{pc_sysrootdir\}//" $BUILD_PREFIX/share/pkgconfig/xcb-proto.pc > $BUILD_PREFIX/lib/pkgconfig/xcb-proto.pc
|
sed "s/\${pc_sysrootdir\}//" $BUILD_PREFIX/share/pkgconfig/xcb-proto.pc > $BUILD_PREFIX/lib/pkgconfig/xcb-proto.pc
|
||||||
fi
|
fi
|
||||||
build_simple libxcb $LIBXCB_VERSION https://www.x.org/releases/individual/lib
|
build_simple libxcb $LIBXCB_VERSION https://www.x.org/releases/individual/lib
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user