summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f03fedc17e91bbd00edf2b7c5095a9e01c8c885 (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: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>

_name=opcua-asyncio
pkgname=python-opcua-asyncio
pkgver=1.1.4
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-setuptools
    python-poetry
)
source=(${url}/archive/refs/tags/v${pkgver}.tar.gz)
sha256sums=(SKIP)

build() {
    cd "$_name-$pkgver"
    python setup.py build
}

package() {
    cd "$_name-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1
}