python-jsonschema: update to 4.19.0

This commit is contained in:
Raed Rizqie
2023-09-04 15:24:08 +08:00
committed by Biswapriyo Nath
parent c6be09a849
commit 39cf38d42c

View File

@@ -6,28 +6,31 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=4.17.3
pkgrel=2
pkgver=4.19.0
pkgrel=1
pkgdesc="An implementation of JSON Schema validation for Python (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url="https://github.com/python-jsonschema/jsonschema"
license=('MIT')
license=('spdx:MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-attrs"
"${MINGW_PACKAGE_PREFIX}-python-pyrsistent")
"${MINGW_PACKAGE_PREFIX}-python-jsonschema-specifications"
"${MINGW_PACKAGE_PREFIX}-python-pyrsistent"
"${MINGW_PACKAGE_PREFIX}-python-referencing"
"${MINGW_PACKAGE_PREFIX}-python-typing_extensions")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-hatchling"
"${MINGW_PACKAGE_PREFIX}-python-hatch-vcs"
"${MINGW_PACKAGE_PREFIX}-python-hatch-fancy-pypi-readme")
"${MINGW_PACKAGE_PREFIX}-python-hatch-fancy-pypi-readme"
"${MINGW_PACKAGE_PREFIX}-python-wheel")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
options=('!strip')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d')
sha256sums=('6e1e7569ac13be8139b2dd2c21a55d350066ee3f80df06c608b398cdc6f30e8f')
build() {
cd "${srcdir}"
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation