blob: 1b6374987c933ba77a502d5e436984de24db2677 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Matt Dainty <matt+alpine@bodgit-n-scarper.com>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=py3-jsonpatch
_pkgname=jsonpatch
pkgver=1.24
pkgrel=1
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="816bb48ebeecd9352a5f3a727057368f6604b9c3c31a77a83440b66a2f5094b985d808176ac5aa7ee5cd5ef54f639ba66c157f8a389b64c04744b1109452a8f5 jsonpatch-1.24.tar.gz"
|