mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/python-jsonpatch to 1.33-1
This commit is contained in:
parent
97dc689fa1
commit
edcc71c026
1 changed files with 6 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
||||||
# - drop python-pypandoc makedepends
|
# - drop python-pypandoc makedepends
|
||||||
|
|
||||||
pkgname=python-jsonpatch
|
pkgname=python-jsonpatch
|
||||||
pkgver=1.32
|
pkgver=1.33
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="An implementation of the JSON Patch format"
|
pkgdesc="An implementation of the JSON Patch format"
|
||||||
arch=("any")
|
arch=("any")
|
||||||
url="https://github.com/stefankoegl/python-json-patch"
|
url="https://github.com/stefankoegl/python-json-patch"
|
||||||
|
@ -16,7 +16,7 @@ depends=("python-jsonpointer")
|
||||||
makedepends=("python-setuptools")
|
makedepends=("python-setuptools")
|
||||||
checkdepends=('python-coverage')
|
checkdepends=('python-coverage')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-patch/archive/v$pkgver.tar.gz")
|
||||||
sha512sums=('4e2978555dd506e09553014d426c4e3a6c6d5c865428f11450952704007c8a0b2060b945cf1fa33a128151427e1c66919891466e095e96fff4316304f0b3ad1d')
|
sha512sums=('0685f63949bee135b19d0962bdaab32ba97e02772b6650d885be57c09a2e89546222ebba1a4cf146b2f91027790b0a3ff2ea072d66dcebf9153aa601638bbfa2')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd python-json-patch-$pkgver
|
cd python-json-patch-$pkgver
|
||||||
|
@ -28,9 +28,9 @@ check() {
|
||||||
coverage run --source=jsonpatch tests.py
|
coverage run --source=jsonpatch tests.py
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python-jsonpatch() {
|
package() {
|
||||||
cd python-json-patch-$pkgver
|
cd python-json-patch-$pkgver
|
||||||
|
|
||||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
||||||
python setup.py install --prefix=/usr --root="$pkgdir"
|
python setup.py install --prefix=/usr --root="$pkgdir"
|
||||||
|
|
||||||
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue