mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 07:52:26 +01:00
33 lines
902 B
Plaintext
33 lines
902 B
Plaintext
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
|
|
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
pkgname=py3-jmespath
|
|
_pkgname=jmespath
|
|
pkgver=0.9.4
|
|
pkgrel=0
|
|
pkgdesc="JMESPath is a query language for JSON"
|
|
url="https://jmespath.org"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-nose"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces=py-jmespath # Backwards compatibility
|
|
provides=py-jmespath=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
nosetests -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="173ec36708f93f72fece049b71846a226010c00498ab51e58bee26a09cc73cf96a062df215d3737eb266e689c2ecf7a2be95b009ed74ad122f6739d4379466c6 jmespath-0.9.4.tar.gz"
|