aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-11-11 13:19:24 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-12 23:06:02 +0700
commitfae8cc4b9bd4fffc641a8359b691c975ad7d85de (patch)
tree6baf8c510936e5a7a112106d28b6dcaacaf974e6 /python
parentf15f9c8a413511361cfb66f5b2db9cdeae705512 (diff)
python/python3-webcolors: Update for 24.11.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-webcolors/python3-webcolors.SlackBuild7
-rw-r--r--python/python3-webcolors/python3-webcolors.info8
2 files changed, 6 insertions, 9 deletions
diff --git a/python/python3-webcolors/python3-webcolors.SlackBuild b/python/python3-webcolors/python3-webcolors.SlackBuild
index 339b2b24b8c7a..1236f62c493fc 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:-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
diff --git a/python/python3-webcolors/python3-webcolors.info b/python/python3-webcolors/python3-webcolors.info
index 94f619295b8db..d5649749e28a9 100644
--- a/python/python3-webcolors/python3-webcolors.info
+++ b/python/python3-webcolors/python3-webcolors.info
@@ -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"