| 1 | # Contributor: Carlo Landmeter <[email protected]> |
| 2 | # Maintainer: Carlo Landmeter <[email protected]> |
| 3 | pkgname=py3-lxc |
| 4 | pkgver=7.0.0 |
| 5 | pkgrel=0 |
| 6 | pkgdesc="Python3 bindings for LXC" |
| 7 | options="!check" # No testsuite |
| 8 | url="https://linuxcontainers.org" |
| 9 | arch="all" |
| 10 | license="LGPL-2.1-or-later" |
| 11 | depends="python3" |
| 12 | makedepends="lxc-dev python3-dev py3-gpep517 py3-setuptools py3-wheel" |
| 13 | subpackages="$pkgname-pyc" |
| 14 | source="https://linuxcontainers.org/downloads/lxc/python3-lxc-$pkgver.tar.gz" |
| 15 | builddir="$srcdir/python3_lxc-$pkgver" |
| 16 | |
| 17 | build() { |
| 18 | gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 |
| 19 | } |
| 20 | |
| 21 | package() { |
| 22 | python3 -m installer -d "$pkgdir" .dist/*.whl |
| 23 | } |
| 24 | |
| 25 | sha512sums=" |
| 26 | b04e750c04edca626c00f44e96062fee943a487a47c5caaed3844cbdf72ce838c0dd66151b074d73b5edfdf2db1e060235cd068273885df1a9f678c21617e39f python3-lxc-7.0.0.tar.gz |
| 27 | " |