From ce4d1ab2461e5310901811dbb456e4e377d01478 Mon Sep 17 00:00:00 2001 From: Tonus Date: Sun, 27 Jul 2025 00:19:45 +0200 Subject: [PATCH] office/khard: Update version to 0.20.0 Signed-off-by: Willy Sudiarto Raharjo --- office/khard/khard.SlackBuild | 19 +++---------------- office/khard/khard.info | 8 ++++---- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/office/khard/khard.SlackBuild b/office/khard/khard.SlackBuild index c55da17b8b..74204f50aa 100644 --- a/office/khard/khard.SlackBuild +++ b/office/khard/khard.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=khard -VERSION=${VERSION:-0.19.1} +VERSION=${VERSION:-0.20.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,20 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -79,7 +65,8 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl # Strip binaries and libraries. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/office/khard/khard.info b/office/khard/khard.info index 6c6abc38b7..2bbf26c31f 100644 --- a/office/khard/khard.info +++ b/office/khard/khard.info @@ -1,10 +1,10 @@ PRGNAM="khard" -VERSION="0.19.1" +VERSION="0.20.0" HOMEPAGE="https://github.com/scheibler/khard/" -DOWNLOAD="https://files.pythonhosted.org/packages/0d/00/215a69d2ae96cac511a6594116958bf13e210dd24f78c48f5ffaf039edec/khard-0.19.1.tar.gz" -MD5SUM="2659cd0e0038ab1d81c50ea51b3d4951" +DOWNLOAD="https://files.pythonhosted.org/packages/source/k/khard/khard-0.20.0.tar.gz" +MD5SUM="1e72b460cc264d9316d4facab4942b77" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-setuptools-opt Unidecode vobject python3-ruamel.yaml python3-atomicwrites python3-configobj" +REQUIRES="python3-setuptools-opt Unidecode vobject python3-ruamel.yaml python3-configobj" MAINTAINER="Tonus" EMAIL="tonus1@free.fr"