diff options
Diffstat (limited to 'python/python3-PyGithub/python3-PyGithub.SlackBuild')
-rw-r--r-- | python/python3-PyGithub/python3-PyGithub.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/python/python3-PyGithub/python3-PyGithub.SlackBuild b/python/python3-PyGithub/python3-PyGithub.SlackBuild index 76165847ac566..3362c2c10343f 100644 --- a/python/python3-PyGithub/python3-PyGithub.SlackBuild +++ b/python/python3-PyGithub/python3-PyGithub.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-PyGithub -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2024 Jeremy Hansen jebrhansen+SBo@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-PyGithub -VERSION=${VERSION:-2.1.1} +VERSION=${VERSION:-2.2.0} SRCNAM=${SRCNAM:-PyGithub} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,7 +64,11 @@ find -L . \ export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION -python3 setup.py install --root=$PKG +# Use some newer versions of dependencies than included in 15.0 +export PYTHONPATH=/opt/python3.9/site-packages/ + +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |