From 28da3161bfcf17792567d68fbc0a625f7cfdc11c Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 2 Jul 2024 12:59:30 +0000 Subject: [PATCH] python-comtypes: update to 1.4.4 --- mingw-w64-python-comtypes/PKGBUILD | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/mingw-w64-python-comtypes/PKGBUILD b/mingw-w64-python-comtypes/PKGBUILD index 83c1abb65b..1acd862252 100644 --- a/mingw-w64-python-comtypes/PKGBUILD +++ b/mingw-w64-python-comtypes/PKGBUILD @@ -3,10 +3,7 @@ _realname=comtypes pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=1.3.0 +pkgver=1.4.4 pkgrel=1 pkgdesc="A pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package (mingw-w64)" arch=('any') @@ -23,15 +20,10 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-wheel") options=('!strip') source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.zip") -sha256sums=('b77cca9faaa9c1246eb4dbfa0723ef161ab852f633330a097a5b6c7a8d8bfc05') - -prepare() { - rm -rf python-build-${MSYSTEM} | true - cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" -} +sha256sums=('b7ead79b42ed8707ce8be8ad1e3020d9483c0bd2a905dc1903efaf73b4f6651d') build() { - cd "${srcdir}/python-build-${MSYSTEM}" + cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}" ${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation }