python-jaraco.functools: update to 3.8.0

This commit is contained in:
Biswapriyo Nath
2023-07-06 01:55:50 +05:30
parent 537bf58d08
commit 1d44b4ce3d

View File

@@ -4,7 +4,7 @@ _pyname=jaraco.functools
_realname=jaraco.functools
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=3.7.0
pkgver=3.8.0
pkgrel=1
pkgdesc='Functools like those found in stdlib (mingw-w64)'
arch=('any')
@@ -18,21 +18,13 @@ makedepends=(
"${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
"${MINGW_PACKAGE_PREFIX}-python-setuptools-scm"
"${MINGW_PACKAGE_PREFIX}-python-wheel"
)
source=("https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
sha256sums=('685dc06075696697edc9c4ef89af33f0fd2570a6ff57767332dbf4165e5ffbb3')
prepare() {
cd "$srcdir"
rm -rf python-build-${MSYSTEM} | true
cp -r "${_pyname//_/-}-$pkgver" "python-build-${MSYSTEM}"
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}
sha256sums=('cb5635ae5cc953d35d8ab6744f1a73723074b31eb6be16edee7960261a79b724')
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
}