diff options
author | isaackwy <isaacyu@protonmail.com> | 2024-01-05 20:24:11 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-08 09:40:29 +0700 |
commit | 6a688282f4a9a034cebb8b86332d34a229f58b97 (patch) | |
tree | 39af6f99bb77ef5a1d77608cf028598af6d5107e /python | |
parent | 6d15c7bce4eaccb45a89f6dcdc6d38089edb3825 (diff) |
python/python3-webcolors: Update for 1.13
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-webcolors/README | 3 | ||||
-rw-r--r-- | python/python3-webcolors/python3-webcolors.SlackBuild | 9 | ||||
-rw-r--r-- | python/python3-webcolors/python3-webcolors.info | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/python/python3-webcolors/README b/python/python3-webcolors/README index 25e2fcfaa563..5dcea6b62c6f 100644 --- a/python/python3-webcolors/README +++ b/python/python3-webcolors/README @@ -1,4 +1 @@ webcolors is a module for working with HTML/CSS color definitions. - -python3-webcolors 1.1.2 is the last possible version for Slackware 15.0. -Newer versions would require a newer python-setuptools. diff --git a/python/python3-webcolors/python3-webcolors.SlackBuild b/python/python3-webcolors/python3-webcolors.SlackBuild index 15179cd63832..cd59c36121b9 100644 --- a/python/python3-webcolors/python3-webcolors.SlackBuild +++ b/python/python3-webcolors/python3-webcolors.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-webcolors -# Copyright 2022 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-webcolors -VERSION=${VERSION:-1.12} +VERSION=${VERSION:-1.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,7 +78,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python3 setup.py install --root=$PKG +export PYTHONPATH=/opt/python3.9/site-packages/ + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python3-webcolors/python3-webcolors.info b/python/python3-webcolors/python3-webcolors.info index fb67efc41465..3f86a431667d 100644 --- a/python/python3-webcolors/python3-webcolors.info +++ b/python/python3-webcolors/python3-webcolors.info @@ -1,10 +1,10 @@ PRGNAM="python3-webcolors" -VERSION="1.12" +VERSION="1.13" HOMEPAGE="https://github.com/ubernostrum/webcolors" -DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/1.12/webcolors-1.12.tar.gz" -MD5SUM="7e330313ce1689d19d2823b329a5e342" +DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/1.13/webcolors-1.13.tar.gz" +MD5SUM="8afdb7951961563dc2c1e48bda407cb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-setuptools-opt" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |