summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82b6cd7881fade7bfb39b041faf6c0d5ec081ea9 (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
# Maintainer: Kirill Pshenichnyi <pshcyrill@mail.ru>
# Contributor: the NICOS contributors, MLZ

pkgname=python-nicos-pyctl
_pkgname=nicos-pyctl
pkgver=1.3.0
pkgrel=1
pkgdesc="NICOS pyctl c module"
groups=('nicos')
arch=('x86_64' 'armv7h')
url="https://nicos-controls.org/"
license=('GPL3')
depends=('python')
makedepends=('python-setuptools')
conflicts=('nicos-pyctl-git')
provides=('nicos-pyctl')
source=("https://github.com/mlz-ictrl/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('e7ecf7eb187bc3c04c2f6fe8812838c3450cddc6b91de3174b56b571f67c1987')


build() {
  cd "$_pkgname-$pkgver"
  python -m build --wheel --no-isolation
}


package() {
  cd "$_pkgname-$pkgver"
  python -m installer --destdir="$pkgdir" dist/*.whl
}