# Maintainer: Valery Kartel # Contributor: Valery Kartel pkgname=py3-jmespath pkgver=1.0.1 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-pytest" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/j/jmespath/jmespath-$pkgver.tar.gz" builddir="$srcdir/jmespath-$pkgver" replaces=py-jmespath # Backwards compatibility provides=py-jmespath=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" a1c2424d859f732ba854fabf5e3e47cef88f782d6e9707e5f49f29ddef2fab391aa69866f2e70a58a5f4373a43ab098a787a9a03c15025acf46e5a25243513fb jmespath-1.0.1.tar.gz "