python-referencing: update to 0.35.1

This commit is contained in:
Biswapriyo Nath
2024-06-02 14:24:02 +00:00
parent 7b24654d48
commit 1afc6a0a23

View File

@@ -3,7 +3,7 @@
_realname=referencing
pkgbase=mingw-w64-python-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-python-${_realname}
pkgver=0.33.0
pkgver=0.35.1
pkgrel=1
pkgdesc='An implementation-agnostic implementation of JSON reference resolution (mingw-w64)'
arch=('any')
@@ -24,16 +24,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-hatch-vcs")
source=(https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz)
noextract=(${_realname}-${pkgver}.tar.gz)
sha256sums=('c775fedf74bc0f9189c2a3be1c12fd03e8c23f4d371dce795df44e06c5b412f7')
sha256sums=('25b42124a6c8b632a425174f24087783efb348a6f1e0008e63cd4466fedf703c')
prepare() {
rm -rf python-build-${MSYSTEM} | true
tar -xf ${_realname}-${pkgver}.tar.gz || true
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}"
}
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
}