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 | |
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')
-rw-r--r-- | python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild | 6 | ||||
-rw-r--r-- | python/python3-geventhttpclient/python3-geventhttpclient.info | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild index 34637d4acdc5a..dce9b7539fe30 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 diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.info b/python/python3-geventhttpclient/python3-geventhttpclient.info index 76b130a85791e..b7849daf84bec 100644 --- a/python/python3-geventhttpclient/python3-geventhttpclient.info +++ b/python/python3-geventhttpclient/python3-geventhttpclient.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/8c/14/d4eddae757de44985718a9e3 MD5SUM="a0a235b7579e9b5575e6f1db260f7599" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gevent llhttp python3-wheel python3-build" +REQUIRES="gevent llhttp python3-setuptools-opt" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |