python-jsonschema: update to 4.7.2

This commit is contained in:
مهدي شينون (Mehdi Chinoune)
2022-07-27 19:22:16 +01:00
committed by GitHub
parent 667d3961b4
commit d6f252ee15

View File

@@ -6,8 +6,8 @@ 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.5.1
pkgrel=4
pkgver=4.7.2
pkgrel=1
pkgdesc="An implementation of JSON Schema validation for Python (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@@ -15,24 +15,15 @@ url="https://github.com/python-jsonschema/jsonschema"
license=('MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-attrs"
"${MINGW_PACKAGE_PREFIX}-python-importlib-metadata"
"${MINGW_PACKAGE_PREFIX}-python-pyrsistent"
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
"${MINGW_PACKAGE_PREFIX}-python-pyrsistent")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-setuptools-scm"
"${MINGW_PACKAGE_PREFIX}-python-wheel")
"${MINGW_PACKAGE_PREFIX}-python-hatchling"
"${MINGW_PACKAGE_PREFIX}-python-hatch-vcs")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
options=('!strip')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('7c6d882619340c3347a1bf7315e147e6d3dae439033ae6383d6acb908c101dfc')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
# Set version for setuptools_scm
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}
sha256sums=('73764f461d61eb97a057c929368610a134d1d1fffd858acfe88864ee94f1f1d3')
build() {
cd "${srcdir}"