tqdm: fix build. (#9372)

This commit is contained in:
OscarL
2023-09-06 09:24:07 -03:00
committed by GitHub
parent 053a6ba8df
commit 88af4d64c8

View File

@@ -7,7 +7,7 @@ HOMEPAGE="https://github.com/tqdm/tqdm"
COPYRIGHT="2015-2023 tqdm contributors"
LICENSE="MIT
MPL v2.0"
REVISION="1"
REVISION="2"
SOURCE_URI="https://pypi.io/packages/source/${portName:0:1}/$portName/$portName-$portVersion.tar.gz"
CHECKSUM_SHA256="d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7"
@@ -67,9 +67,13 @@ INSTALL()
python=python$pythonVersion
# Avoid leftovers from the previous package build
# Avoid leftovers from the previous package build.
rm -rf build
# Without this, building without -G flag fails with an error from
# the installer module.
rm -rf dist
$python -m build --wheel --skip-dependency-check --no-isolation
$python -m installer -p $prefix dist/*.whl