aboutsummaryrefslogtreecommitdiff
path: root/python/python3-PyGithub
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2024-02-04 01:19:56 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-07 18:49:22 +0700
commitcf66ed5cfae6a1bd20ec3c7b82606daf9755c580 (patch)
tree6b31122d16515e4a7d567353df3eeddb35eac784 /python/python3-PyGithub
parent3ca8437e3042931efcc2eb312c6d2aaff63b59e2 (diff)
python/python3-PyGithub: Version bump to 2.2.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-PyGithub')
-rw-r--r--python/python3-PyGithub/python3-PyGithub.SlackBuild10
-rw-r--r--python/python3-PyGithub/python3-PyGithub.info8
2 files changed, 11 insertions, 7 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
diff --git a/python/python3-PyGithub/python3-PyGithub.info b/python/python3-PyGithub/python3-PyGithub.info
index 0364e242c4ef3..ed0a47f9925f0 100644
--- a/python/python3-PyGithub/python3-PyGithub.info
+++ b/python/python3-PyGithub/python3-PyGithub.info
@@ -1,10 +1,10 @@
PRGNAM="python3-PyGithub"
-VERSION="2.1.1"
+VERSION="2.2.0"
HOMEPAGE="https://pygithub.readthedocs.io/"
-DOWNLOAD="https://github.com/PyGithub/PyGithub/archive/refs/tags/v2.1.1/PyGithub-2.1.1.tar.gz"
-MD5SUM="6ab77a6e57128dfd1325ddb12ef5a427"
+DOWNLOAD="https://github.com/PyGithub/PyGithub/archive/refs/tags/v2.2.0/PyGithub-2.2.0.tar.gz"
+MD5SUM="7ee743318433ba74c044b3edc4562c23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-deprecated python3-pyjwt pynacl"
+REQUIRES="python3-deprecated python3-pyjwt pynacl python3-setuptools-scm-opt"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"