blob: 4b6b22223d9472e6d832a77adf5a9f6bc19a7567 (
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
|
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
_name=opcua-asyncio
pkgname=python-opcua-asyncio
pkgver=1.1.6
pkgrel=1
pkgdesc='An OPC-UA client and server library for Python, also known as asyncua'
url=https://github.com/FreeOpcUa/opcua-asyncio
arch=(any)
license=(LGPL3)
depends=(python)
makedepends=(python-build python-installer python-wheel python-hatchling)
source=(${url}/archive/refs/tags/v${pkgver}.tar.gz)
sha256sums=(SKIP)
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|