# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=py3-elasticsearch _pkgname=elasticsearch-py pkgver=7.0.5 pkgrel=1 pkgdesc="Official Python low-level client for Elasticsearch" url="https://elasticsearch-py.readthedocs.io/" arch="noarch" license="Apache-2.0" depends="python3 py3-urllib3" checkdepends="py3-requests py3-nose py3-coverage py3-mock py3-yaml py3-nosexcover" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/elastic/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/"$_pkgname-$pkgver replaces="py-elasticsearch" # Backwards compatibility provides="py-elasticsearch=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="c4224cee6f7739ad932036f2afc6ed20ead16829d42f40b79e08d6714b4a247f019175739fb5a93bcea5bba391bd9f54cadcd31d42ff9411da414d08c140049b py3-elasticsearch-7.0.5.tar.gz"