Date: Friday, June 19, 2020 @ 13:12:58 Author: felixonmars Revision: 647682
upgpkg: python-elasticsearch 7.8.0-1 Modified: python-elasticsearch/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-19 13:01:17 UTC (rev 647681) +++ PKGBUILD 2020-06-19 13:12:58 UTC (rev 647682) @@ -1,7 +1,7 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> pkgname=python-elasticsearch -pkgver=7.7.1 +pkgver=7.8.0 pkgrel=1 arch=('any') pkgdesc='Python client for Elasticsearch' @@ -9,16 +9,16 @@ license=('Apache') depends=('python-urllib3') makedepends=('python-setuptools' 'git') -checkdepends=('python-nose' 'python-requests' 'python-coverage' 'python-mock' 'python-pyaml' - 'python-nosexcover' 'python-numpy' 'python-pandas') +checkdepends=('python-requests' 'python-mock' 'python-yaml' 'python-pytest' 'python-numpy' + 'python-pandas' 'python-aiohttp' 'python-pytest-asyncio') source=("$pkgname-$pkgver.tar.gz::https://github.com/elastic/elasticsearch-py/archive/$pkgver.tar.gz" git+https://github.com/elastic/elasticsearch.git) -sha512sums=('526d9194e20c0392ee73d5d6791832fab1524d7e02a15932dc7444cf1033fa89ac72ee0acaddfd476fd3176ac1f823645dc1854105bd51a7f09f4f5f195752b5' +sha512sums=('94d65c0a3e8d509214ed7ad63ebd47da6cdb53e4966694f23f2071f6c21106e6be634bbcf1253f6dae37c5528fe9b564e34660aef155caf6659ed572f6cceadb' 'SKIP') prepare() { sed -i 's/, "certifi"//' elasticsearch-py-$pkgver/setup.py - sed -i 's|CA_CERTS = None|CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"|' elasticsearch-py-$pkgver/elasticsearch/connection/http_urllib3.py + sed -i 's|CA_CERTS = None|CA_CERTS = "/etc/ssl/certs/ca-certificates.crt"|' elasticsearch-py-$pkgver/elasticsearch/{connection/http_urllib3.py,_async/http_aiohttp.py} } build() { @@ -28,7 +28,8 @@ check() { cd elasticsearch-py-$pkgver - TEST_ES_REPO="$srcdir"/elasticsearch python setup.py test + # Skip tests that requires a running elasticsearch server + TEST_ES_REPO="$srcdir"/elasticsearch pytest --deselect test_elasticsearch/test_async/test_server } package() {