aboutsummaryrefslogtreecommitdiff
path: root/python/python3-plexapi/python3-plexapi.SlackBuild
diff options
context:
space:
mode:
authorPouria Rezaei <Pouria.rz@outlook.com>2025-01-13 18:56:20 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-01-18 08:13:13 +0700
commit8bd5e521eb2ade3f10366214950945d7ff593c1a (patch)
treeec95935c6dfc0af9d9308f95399c46b5877673b9 /python/python3-plexapi/python3-plexapi.SlackBuild
parente30b149035192170a5fde1e45ca017ea83ba195c (diff)
python/python3-plexapi: Updated to 4.16.1.
Signed-off-by: Pouria Rezaei <Pouria.rz@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-plexapi/python3-plexapi.SlackBuild')
-rw-r--r--python/python3-plexapi/python3-plexapi.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/python/python3-plexapi/python3-plexapi.SlackBuild b/python/python3-plexapi/python3-plexapi.SlackBuild
index 17bd2a3b70..78a5bf0b34 100644
--- a/python/python3-plexapi/python3-plexapi.SlackBuild
+++ b/python/python3-plexapi/python3-plexapi.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-PlexAPI
-# Copyright 2019-2024 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2019-2025 Pouria Rezaei <Pouria.rz@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-plexapi
-VERSION=${VERSION:-4.16.0}
+VERSION=${VERSION:-4.16.1}
SRCNAM=plexapi
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,7 +68,9 @@ find -L . \
-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/
+if [ $PYVER = "3.9" ]; then
+ export PYTHONPATH=/opt/python$PYVER/site-packages/
+fi
python3 -m build --wheel --no-isolation
python3 -m installer --destdir="$PKG" dist/*.whl