# Maintainer: Valery Kartel # Contributor: Valery Kartel pkgname=py3-jmespath _pkgname=jmespath pkgver=0.9.4 pkgrel=1 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"