python-tqdm: update to 4.66.2

This commit is contained in:
Biswapriyo Nath
2024-04-12 13:34:50 +00:00
parent 5c43550534
commit f7f6ce0a63

View File

@@ -3,15 +3,17 @@
_realname=tqdm
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=4.66.1
pkgver=4.66.2
pkgrel=1
pkgdesc='Fast, Extensible Progress Meter (mingw-w64)'
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://tqdm.github.io/"
msys2_references=(
'archlinux: python-tqdm'
'pypi: tqdm'
)
msys2_repository_url='https://github.com/tqdm/tqdm'
license=('spdx:MPL-2.0 AND MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python-colorama")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest"
@@ -25,15 +27,12 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-toml"
"${MINGW_PACKAGE_PREFIX}-python-wheel")
options=('!strip')
source=("${_realname}-$pkgver.tar.gz::https://github.com/tqdm/tqdm/archive/v$pkgver.tar.gz")
sha256sums=('eab2c737644e1eeeb4bca4165d0b0ff3e8ba3b1c91c81b60fe65744de0188d04')
prepare() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('6cd52cdf0fef0e0f543299cfc96fec90d7b8a7e88745f411ec33eb44d5ed3531')
build() {
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
}