blob: fda79f9d8a19ba1510ca413a2a67d861f97fbf8f (
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
|
# Maintainer: Marcus Johansson <polarn@gmail.com>
pkgname=python-validio-sdk
_name=validio_sdk
pkgver=0.20.2
pkgrel=1
pkgdesc="SDK for the Validio platform"
url="https://pypi.org/project/validio-sdk/"
depends=(
'python-camel-converter'
'python-httpx'
'python-platformdirs'
'python-pydantic')
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=('c27c3cb3b4b2be778efd0f530376cae1f8527282d17eb606fa8805315214c395')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|