# Contributor: Matt Dainty # Maintainer: TBK pkgname=py3-jsonpatch _pkgname=jsonpatch pkgver=1.23 pkgrel=2 pkgdesc="Apply JSON-Patches (RFC 6902)" url="https://github.com/stefankoegl/python-json-patch" arch="noarch" license="BSD-3-Clause" depends="py3-jsonpointer" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-jsonpatch" # Backwards compatibility provides="py-jsonpatch=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="da612fc043e351087fbda26cd5686743107dafca1223e784626c39113dfb4770647db1420e9ab9eee93d12c608a6e0812f0825229ab092962cfb390b6b1795ed jsonpatch-1.23.tar.gz"