blob: bdea7323ee66adfdc441b883ce82f49767f994e0 (
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
|
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
_name=opcua-asyncio
pkgname=python-opcua-asyncio
pkgver=1.1.6
pkgrel=2
pkgdesc='An OPC-UA client and server library for Python, also known as asyncua'
url=https://github.com/FreeOpcUa/opcua-asyncio
arch=(any)
license=(LGPL-3.0-only)
depends=(
python
python-aiofiles
python-aiosqlite
python-cryptography
python-dateutil
python-importlib-metadata
python-pyopenssl
python-pytz
python-sortedcontainers
python-typing_extensions
)
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
}
|