mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 09:11:38 +01:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Contributor: Matt Dainty <matt+alpine@bodgit-n-scarper.com>
|
|
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Contributor: Dermot Bradley <dermot_bradley@yahoo.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=py3-jsonpatch
|
|
_pkgname=python-json-patch
|
|
pkgver=1.33
|
|
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 py3-wheel"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$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 --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2 py3-jsonpatch-1.33.tar.gz"
|