aboutsummaryrefslogtreecommitdiff
path: root/python/python3-tomli_w
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-tomli_w')
-rw-r--r--python/python3-tomli_w/python3-tomli_w.SlackBuild10
-rw-r--r--python/python3-tomli_w/python3-tomli_w.info8
2 files changed, 7 insertions, 11 deletions
diff --git a/python/python3-tomli_w/python3-tomli_w.SlackBuild b/python/python3-tomli_w/python3-tomli_w.SlackBuild
index f18e2932f6..9a9c465431 100644
--- a/python/python3-tomli_w/python3-tomli_w.SlackBuild
+++ b/python/python3-tomli_w/python3-tomli_w.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-tomli_w
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-tomli_w
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,13 +63,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 {} \+
-python3 -m build --no-isolation
+python3 -m flit_core.wheel
python3 -m installer -d "$PKG" dist/*.whl
-# installing tests to a subdir of your project might not conflict the toplevel, but
-# don't do it anyway...
-#rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/python3-tomli_w/python3-tomli_w.info b/python/python3-tomli_w/python3-tomli_w.info
index 274a9bba02..4ef1a7185e 100644
--- a/python/python3-tomli_w/python3-tomli_w.info
+++ b/python/python3-tomli_w/python3-tomli_w.info
@@ -1,10 +1,10 @@
PRGNAM="python3-tomli_w"
-VERSION="1.1.0"
+VERSION="1.2.0"
HOMEPAGE="https://github.com/hukkin/tomli-w"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tomli_w/tomli_w-1.1.0.tar.gz"
-MD5SUM="8a074845fdcbb1fb6855bec753f0f94e"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tomli_w/tomli_w-1.2.0.tar.gz"
+MD5SUM="bfc49ccce117afc20bcaf50e80fcecfe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-build"
+REQUIRES="python3-installer"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"