diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-05-10 05:24:03 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-05-11 08:12:27 +0700 |
commit | c9ccd3dc81dd93bc2a5e293bfe422020b252688d (patch) | |
tree | c63a363533cfb71a926fb67a378a8fa3111ca9d1 /python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild | |
parent | b6484fab2b76d2a3725ec58d8f014d7072e8f277 (diff) |
python/python3-geventhttpclient: Fix build.
Was not buildling correctly with old setuptools. Silent FTB error.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild')
-rw-r--r-- | python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild index 34637d4acd..dce9b7539f 100644 --- a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild +++ b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-geventhttpclient SRCNAM=geventhttpclient VERSION=${VERSION:-2.3.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -77,6 +77,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# needs newer setuptools to fix "UNKNOWN" and no module generated +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |