From 36ab828ecf6224dc06b079965743d75a1b41a70c Mon Sep 17 00:00:00 2001 From: isaackwy Date: Thu, 6 Jun 2024 21:42:46 -0700 Subject: python/python3-webcolors: Update for 24.6.0 Signed-off-by: Willy Sudiarto Raharjo --- python/python3-webcolors/python3-webcolors.SlackBuild | 18 ++---------------- python/python3-webcolors/python3-webcolors.info | 6 +++--- 2 files changed, 5 insertions(+), 19 deletions(-) (limited to 'python/python3-webcolors') diff --git a/python/python3-webcolors/python3-webcolors.SlackBuild b/python/python3-webcolors/python3-webcolors.SlackBuild index b0494ee8122f9..6d07581e38db5 100644 --- a/python/python3-webcolors/python3-webcolors.SlackBuild +++ b/python/python3-webcolors/python3-webcolors.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-webcolors -VERSION=${VERSION:-1.13} +VERSION=${VERSION:-24.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -88,7 +74,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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-webcolors/python3-webcolors.info b/python/python3-webcolors/python3-webcolors.info index 3f86a431667d4..ac3a6ee861ab6 100644 --- a/python/python3-webcolors/python3-webcolors.info +++ b/python/python3-webcolors/python3-webcolors.info @@ -1,8 +1,8 @@ PRGNAM="python3-webcolors" -VERSION="1.13" +VERSION="24.6.0" HOMEPAGE="https://github.com/ubernostrum/webcolors" -DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/1.13/webcolors-1.13.tar.gz" -MD5SUM="8afdb7951961563dc2c1e48bda407cb8" +DOWNLOAD="https://github.com/ubernostrum/webcolors/archive/24.6.0/webcolors-24.6.0.tar.gz" +MD5SUM="cd99c6e9210897896664bff61e58bbf4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools-opt" -- cgit v1.2.3