From dd4cbdaf46b9cf0ee51ff92275565efe321a1d91 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Fri, 3 Jun 2022 19:15:56 +1000 Subject: [PATCH] python-qmk: fix launcher crash --- mingw-w64-python-qmk/PKGBUILD | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/mingw-w64-python-qmk/PKGBUILD b/mingw-w64-python-qmk/PKGBUILD index 83bb9a0ac9..e1980e80df 100644 --- a/mingw-w64-python-qmk/PKGBUILD +++ b/mingw-w64-python-qmk/PKGBUILD @@ -4,7 +4,7 @@ _realname=qmk pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") pkgver=1.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="CLI tool for customizing supported mechanical keyboards. (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') @@ -47,13 +47,8 @@ package() { cd "${srcdir}/python-build-${MSYSTEM}" MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ - "${MINGW_PREFIX}"/bin/python -m pip install dist/*.whl \ - --compile \ - --no-deps \ - --no-warn-script-location \ - --ignore-installed \ - --prefix="${MINGW_PREFIX}" \ - --root="${pkgdir}" + "${MINGW_PREFIX}"/bin/python -m installer --no-compile-bytecode --prefix=${MINGW_PREFIX} \ + --destdir="${pkgdir}" dist/*.whl install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE" }