python-async-lru: update to 2.0.5

This commit is contained in:
Biswapriyo Nath 2025-03-17 05:50:48 +00:00
parent 271e57ad77
commit f16e84f3f0

View File

@ -3,33 +3,27 @@
_realname=async-lru _realname=async-lru
pkgbase=mingw-w64-python-${_realname} pkgbase=mingw-w64-python-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-python-${_realname} pkgname=${MINGW_PACKAGE_PREFIX}-python-${_realname}
pkgver=2.0.4 pkgver=2.0.5
pkgrel=2 pkgrel=1
pkgdesc='Simple LRU cache for asyncio (mingw-w64)' pkgdesc='Simple LRU cache for asyncio (mingw-w64)'
arch=('any') arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://github.com/aio-libs/async-lru' url='https://github.com/aio-libs/async-lru'
msys2_references=( msys2_references=(
'purl: pkg:pypi/async-lru' 'purl: pkg:pypi/async-lru'
) )
license=('spdx:MIT') license=('spdx:MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python" depends=("${MINGW_PACKAGE_PREFIX}-python")
"${MINGW_PACKAGE_PREFIX}-python-typing_extensions")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer" "${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-setuptools") "${MINGW_PACKAGE_PREFIX}-python-setuptools")
options=('!strip') options=('!strip')
source=(https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname}-${pkgver}.tar.gz) source=(https://pypi.org/packages/source/${_realname::1}/${_realname/-/_}/${_realname/-/_}-${pkgver}.tar.gz)
sha256sums=('b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627') sha256sums=('481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb')
prepare() {
rm -rf python-build-${MSYSTEM} | true
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}"
}
build() { build() {
msg "Python build for ${MSYSTEM}" cp -r "${_realname/-/_}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
cd "${srcdir}/python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation ${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
} }