mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
33 lines
999 B
Text
33 lines
999 B
Text
# Contributor: Matt Dainty <matt+alpine@bodgit-n-scarper.com>
|
|
# Contributor: TBK <alpine@jjtc.eu>
|
|
# Maintainer: Dermot Bradley <dermot_bradley@yahoo.com>
|
|
pkgname=py3-jsonpointer
|
|
_pkgname=python-json-pointer
|
|
pkgver=2.3
|
|
pkgrel=0
|
|
pkgdesc="Identify specific nodes in a JSON document (RFC 6901)"
|
|
url="https://github.com/stefankoegl/python-json-pointer"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
makedepends="py3-setuptools"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/stefankoegl/python-json-pointer/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-jsonpointer" # Backwards compatibility
|
|
provides="py-jsonpointer=$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="
|
|
75c5db33df36d1a9261b95f4e54d495e2b17bb28f8aa9078e12ffb8e259bbaed9344e42402db3d73e0ec92d967a7dc4aab428c36af78d24240106b877e41d1c6 py3-jsonpointer-2.3.tar.gz
|
|
"
|