From 25c0f7775c0c7023ec5217048f5c594461e7070c Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Thu, 21 Dec 2023 15:36:04 -0700 Subject: python/tqdm: Fix broken build. Signed-off-by: Willy Sudiarto Raharjo --- python/tqdm/tqdm.SlackBuild | 7 ++++++- python/tqdm/tqdm.info | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'python/tqdm') diff --git a/python/tqdm/tqdm.SlackBuild b/python/tqdm/tqdm.SlackBuild index fe0907ae90f9c..796e3eb7b3805 100644 --- a/python/tqdm/tqdm.SlackBuild +++ b/python/tqdm/tqdm.SlackBuild @@ -23,11 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20231221 46and2: Newer setuptools needed to build properly. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tqdm VERSION=${VERSION:-4.66.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then @@ -73,6 +75,9 @@ 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 {} \; +# 46and2: newer setuptools needed +export PYTHONPATH=/opt/python3.9/site-packages/ + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl diff --git a/python/tqdm/tqdm.info b/python/tqdm/tqdm.info index 7ceee852bf651..fd3b9399927ea 100644 --- a/python/tqdm/tqdm.info +++ b/python/tqdm/tqdm.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/62/06/d5604a70d160f6a6ca5fd2ba MD5SUM="493bb11d0555d04632f7d9be5e5bbe9b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-build python3-wheel python3-toml" +REQUIRES="python3-setuptools-opt python3-toml" MAINTAINER="Dionysis Ntreou" EMAIL="yakizarns1@gmail.com" -- cgit v1.2.3