summaryrefslogtreecommitdiffstats
path: root/source/l/python-pillow
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/python-pillow')
-rw-r--r--source/l/python-pillow/Pillow.url (renamed from source/l/python-pillow/pillow.url)0
-rwxr-xr-xsource/l/python-pillow/python-pillow.SlackBuild8
2 files changed, 5 insertions, 3 deletions
diff --git a/source/l/python-pillow/pillow.url b/source/l/python-pillow/Pillow.url
index ec278221f..ec278221f 100644
--- a/source/l/python-pillow/pillow.url
+++ b/source/l/python-pillow/Pillow.url
diff --git a/source/l/python-pillow/python-pillow.SlackBuild b/source/l/python-pillow/python-pillow.SlackBuild
index 983e27bb8..ac2864fdf 100755
--- a/source/l/python-pillow/python-pillow.SlackBuild
+++ b/source/l/python-pillow/python-pillow.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2009, 2010, 2013, 2014, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010, 2013, 2014, 2018, 2020, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# Copyright 2014 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-pillow
VERSION=${VERSION:-$(echo Pillow-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -78,7 +78,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-python3 setup.py install --root=$PKG || exit 1
+unshare -n python3 -m build --wheel --no-isolation || exit 1
+
+python3 -m installer --destdir "$PKG" dist/*.whl || exit 1
# install headers
mkdir -p ${PKG}$PYTHON3INC/Imaging