From cf66ed5cfae6a1bd20ec3c7b82606daf9755c580 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Sun, 4 Feb 2024 01:19:56 -0800 Subject: python/python3-PyGithub: Version bump to 2.2.0 Signed-off-by: Willy Sudiarto Raharjo --- python/python3-PyGithub/python3-PyGithub.SlackBuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'python/python3-PyGithub/python3-PyGithub.SlackBuild') diff --git a/python/python3-PyGithub/python3-PyGithub.SlackBuild b/python/python3-PyGithub/python3-PyGithub.SlackBuild index 76165847ac..3362c2c103 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 -- cgit v1.2.3