python-flask: update to 2.3.3

This commit is contained in:
Biswapriyo Nath
2023-09-02 17:51:35 +00:00
parent 69429f5a83
commit 72da46423d

View File

@@ -1,11 +1,10 @@
# Maintainer: Sarah Ottinger
_realname=flask
_pyname=Flask
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=2.3.2
pkgrel=2
pkgver=2.3.3
pkgrel=1
pkgdesc='Micro webdevelopment framework for Python (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@@ -18,20 +17,15 @@ depends=("${MINGW_PACKAGE_PREFIX}-python-blinker"
"${MINGW_PACKAGE_PREFIX}-python-werkzeug")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
"${MINGW_PACKAGE_PREFIX}-python-flit-core"
"${MINGW_PACKAGE_PREFIX}-python-wheel")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
options=(!strip)
source=("https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
sha256sums=('8c2f9abd47a9e8df7f0c3f091ce9497d011dc3b31effcf4c85a6e2b50f4114ef')
prepare() {
rm -rf "python-build-${MSYSTEM}" | true
cp -r "${_pyname}-${pkgver}" "python-build-${MSYSTEM}"
}
options=('!strip')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('09c347a92aa7ff4a8e7f3206795f30d826654baf38b873d0744cd571ca609efc')
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
}