python/python3-webcolors: Update for 24.11.1

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-11-11 13:19:24 -08:00 committed by Willy Sudiarto Raharjo
parent f15f9c8a41
commit fae8cc4b9b
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 9 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-webcolors
VERSION=${VERSION:-24.8.0}
VERSION=${VERSION:-24.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -64,9 +64,6 @@ 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 {} \;
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages/
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
@ -74,7 +71,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="python3-webcolors"
VERSION="24.8.0"
VERSION="24.11.1"
HOMEPAGE="https://github.com/ubernostrum/webcolors"
DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/24.8.0/webcolors-24.8.0.tar.gz"
MD5SUM="7f042cef7571d27c4bca54e513610417"
DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/24.11.1/webcolors-24.11.1.tar.gz"
MD5SUM="780b4324258e78d50f7aab5fadf76773"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-setuptools-opt"
REQUIRES="python3-pdm-backend"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu@protonmail.com"