blob: 25de5b094344e7006ccd6dea1f370c5f1928fc36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
pkgname=python-meilisearch-sdk
pkgver=4.8.0
epoch=1
pkgrel=1
pkgdesc='An async and sync Python client for the Meilisearch API'
arch=(any)
license=('MIT')
url='https://github.com/sanders41/meilisearch-python-sdk'
depends=(python python-aiofiles python-camel-converter python-httpx python-pydantic python-pyjwt)
makedepends=(python-setuptools python-build python-hatchling python-installer python-wheel)
checkdepends=(python-pytest python-pytest-ordering)
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/sanders41/meilisearch-python-sdk/archive/v${pkgver}.tar.gz")
sha512sums=('c3cd249bcf56f01e80b92172c32d59698946fd729e601db5fd61ca83e85541b80866d94dbf06856cc404ded955ba667dff21f8e3804756c6e40b2af18bcf4026')
build() {
cd "meilisearch-python-sdk-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "meilisearch-python-sdk-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
|