aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-06-06 21:42:46 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-07 12:01:11 +0700
commit36ab828ecf6224dc06b079965743d75a1b41a70c (patch)
treee0fe4143a106c4fabbc0854a6e5a35a50711803e /python
parenteea6dbe8519b0e88498648b00f7e646a48008246 (diff)
python/python3-webcolors: Update for 24.6.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-webcolors/python3-webcolors.SlackBuild18
-rw-r--r--python/python3-webcolors/python3-webcolors.info6
2 files changed, 5 insertions, 19 deletions
diff --git a/python/python3-webcolors/python3-webcolors.SlackBuild b/python/python3-webcolors/python3-webcolors.SlackBuild
index b0494ee8122f..6d07581e38db 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 3f86a431667d..ac3a6ee861ab 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"