summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fde6e7ac41766fb80c13caaec08e258328de1c4 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Marcus Johansson <polarn@gmail.com>

pkgname=python-validio-sdk
_name=validio_sdk
pkgver=0.27.4
pkgrel=2
pkgdesc="SDK for the Validio platform"
url="https://pypi.org/project/validio-sdk/"
depends=(
  'python-aiohttp'
  'python-annotated-types'
  'python-anyio'
  'python-camel-converter'
  'python-gql'
  'python-h11'
  'python-httpcore'
  'python-httpx'
  'python-pydantic-core'
  'python-pydantic'
  'python-sniffio'
  'python-typing-inspection'
)
makedepends=(
  'python-build'
  'python-installer'
  'python-poetry'
  'python-wheel')
license=('Apache-2.0')
arch=(any)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('d3ed398b91d6692da5a24e35147de036cc0eb342e031f6cb787d1e022706e277')

build() {
  cd "$_name-$pkgver"
  python -m build --wheel --no-isolation
}

package() {
  cd "$_name-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}