python-pyproject-api: update to 1.10.0

Checks also need python-pytest-mock to run.
This commit is contained in:
Dirk Stolle 2025-10-10 21:01:10 +02:00
parent 7e4ceb263c
commit e21f9a3ab3

View File

@ -1,14 +1,17 @@
# Contributor: Mehdi Chinoune <mehdi.chinoune@hotmail.com>
# Contributor: Dirk Stolle
_realname=pyproject-api
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=1.9.1
pkgver=1.10.0
pkgrel=1
pkgdesc="API to interact with the python pyproject.toml based projects (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'archlinux: python-pyproject-api'
'gentoo: dev-python/pyproject-api'
'purl: pkg:pypi/pyproject-api'
)
msys2_repository_url='https://github.com/tox-dev/pyproject-api'
@ -20,9 +23,10 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-hatchling"
"${MINGW_PACKAGE_PREFIX}-python-hatch-vcs")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest"
"${MINGW_PACKAGE_PREFIX}-python-pytest-mock")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname/-/_}-${pkgver}.tar.gz")
sha256sums=('43c9918f49daab37e302038fc1aed54a8c7a91a9fa935d00b9a485f37e0f5335')
sha256sums=('40c6f2d82eebdc4afee61c773ed208c04c19db4c4a60d97f8d7be3ebc0bbb330')
build() {
cp -r "${_realname/-/_}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"