* update python-elasticsearch to 8.16.0-1
This commit is contained in:
parent
49a39a63c4
commit
3152ad450d
@ -1,6 +1,6 @@
|
||||
pkgbase = python-elasticsearch
|
||||
pkgdesc = Official Python client for Elasticsearch
|
||||
pkgver = 8.14.0
|
||||
pkgver = 8.16.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/elastic/elasticsearch-py
|
||||
arch = any
|
||||
@ -10,21 +10,23 @@ pkgbase = python-elasticsearch
|
||||
checkdepends = python-numpy
|
||||
checkdepends = python-orjson
|
||||
checkdepends = python-pandas
|
||||
checkdepends = python-pyarrow
|
||||
checkdepends = python-pytest
|
||||
checkdepends = python-pytest-asyncio
|
||||
checkdepends = python-requests
|
||||
checkdepends = python-yaml
|
||||
makedepends = python-build
|
||||
makedepends = python-hatchling
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
depends = python-elastic-transport
|
||||
optdepends = python-aiohttp: support for asynchronous requests
|
||||
optdepends = python-numpy: support for Maximal Marginal Relevance (MMR) for search results
|
||||
optdepends = python-orjson: support for faster JSON serialization
|
||||
optdepends = python-pyarrow: support for Arrow deserialization
|
||||
optdepends = python-requests: support for synchronous requests
|
||||
source = python-elasticsearch-8.14.0.tar.gz::https://github.com/elastic/elasticsearch-py/archive/v8.14.0.tar.gz
|
||||
sha256sums = 1f9e8c96a281e8e4330e0ae4b8bd60715bde408631292a0cf0bf18688d10d8fd
|
||||
source = python-elasticsearch-8.16.0.tar.gz::https://github.com/elastic/elasticsearch-py/archive/v8.16.0.tar.gz
|
||||
sha256sums = ff11e054db75c399746d536cde360803880350eaa3c3ae08a04f1b96e50e13f5
|
||||
|
||||
pkgname = python-elasticsearch
|
||||
|
@ -1,10 +1,9 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Carl Smedstad <carsme@archlinux.org>
|
||||
# Contributor: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=python-elasticsearch
|
||||
_pkgname=elasticsearch-py
|
||||
pkgver=8.14.0
|
||||
pkgver=8.16.0
|
||||
pkgrel=1
|
||||
arch=(any)
|
||||
pkgdesc="Official Python client for Elasticsearch"
|
||||
@ -16,8 +15,8 @@ depends=(
|
||||
)
|
||||
makedepends=(
|
||||
python-build
|
||||
python-hatchling
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-wheel
|
||||
)
|
||||
checkdepends=(
|
||||
@ -26,6 +25,7 @@ checkdepends=(
|
||||
python-numpy
|
||||
python-orjson
|
||||
python-pandas
|
||||
python-pyarrow
|
||||
python-pytest
|
||||
python-pytest-asyncio
|
||||
python-requests
|
||||
@ -37,28 +37,24 @@ optdepends=(
|
||||
'python-aiohttp: support for asynchronous requests'
|
||||
'python-numpy: support for Maximal Marginal Relevance (MMR) for search results'
|
||||
'python-orjson: support for faster JSON serialization'
|
||||
'python-pyarrow: support for Arrow deserialization'
|
||||
'python-requests: support for synchronous requests'
|
||||
# 'python-simsimd: support for Maximal Marginal Relevance (MMR) for search results'
|
||||
)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('1f9e8c96a281e8e4330e0ae4b8bd60715bde408631292a0cf0bf18688d10d8fd')
|
||||
|
||||
_archive="$_pkgname-$pkgver"
|
||||
sha256sums=('ff11e054db75c399746d536cde360803880350eaa3c3ae08a04f1b96e50e13f5')
|
||||
|
||||
build() {
|
||||
cd "$_archive"
|
||||
|
||||
cd $_pkgname-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_archive"
|
||||
|
||||
cd $_pkgname-$pkgver
|
||||
pytest --override-ini="addopts="
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_archive"
|
||||
|
||||
cd $_pkgname-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user