aboutsummaryrefslogtreecommitdiff
path: root/python/tqdm/tqdm.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-12-21 15:36:04 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-22 08:00:22 +0700
commit25c0f7775c0c7023ec5217048f5c594461e7070c (patch)
treece74271e233431ce1c8f8176e61d296ea751ec5d /python/tqdm/tqdm.SlackBuild
parent7ffc4e528b83b0b06f73f176d0c9350d5141f313 (diff)
python/tqdm: Fix broken build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/tqdm/tqdm.SlackBuild')
-rw-r--r--python/tqdm/tqdm.SlackBuild7
1 files changed, 6 insertions, 1 deletions
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