|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
# Slackware build script for python3-PlexAPI |
|
|
# 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. |
|
|
# All rights reserved. |
|
|
# |
|
|
# |
|
|
# Redistribution and use of this script, with or without modification, is |
|
|
# Redistribution and use of this script, with or without modification, is |
|
@ -26,7 +26,7 @@ |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=python3-plexapi |
|
|
PRGNAM=python3-plexapi |
|
|
VERSION=${VERSION:-4.16.0} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-4.16.1} |
|
|
SRCNAM=plexapi |
|
|
SRCNAM=plexapi |
|
|
BUILD=${BUILD:-1} |
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
@ -68,7 +68,9 @@ find -L . \ |
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; |
|
|
|
|
|
|
|
|
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') |
|
|
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 build --wheel --no-isolation |
|
|
python3 -m installer --destdir="$PKG" dist/*.whl |
|
|
python3 -m installer --destdir="$PKG" dist/*.whl |
|
|