system/system76-power: Fix build for -current.

Signed-off-by: Erich Ritz <erich.public@protonmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2024-03-30 09:24:44 -05:00 committed by Willy Sudiarto Raharjo
parent 834a3f7c3e
commit 9b6a3b4a39
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,7 +2,7 @@
# Slackware build script for system76-power
# Copyright 2019-2023 Erich Ritz, Jenks, Oklahoma, USA
# Copyright 2019-2024 Erich Ritz, Jenks, Oklahoma, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -35,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=system76-power
VERSION=${VERSION:-1.1.25_fc8eb49}
SRCVER=${SRCVER:-fc8eb49fae5222da56dcfa414ef2b190e9f870c7}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -155,7 +155,7 @@ mkdir vendor
printf ' "package": "%s"' "$cksum"
printf "}\n"
} | python -c "import sys, json; data = sys.stdin.read(); print json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : '))" > $dep-$ver/.cargo-checksum.json
} | python3 -c "import sys, json; data = sys.stdin.read(); print (json.dumps(json.loads(data), sort_keys=True, indent=4, separators=(',', ' : ')))" > $dep-$ver/.cargo-checksum.json
done
)