summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7426824e3f1b47aec89d6be7b64644ce95d2876 (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: Antonio Bartalesi <antonio.bartalesi@gmail.com>

_name=sardana
pkgname=python-${_name}
pkgver=3.5.0
pkgrel=1
pkgdesc="Instrument control and data acquisition system"
arch=("any")
url="https://gitlab.com/sardana-org/${_name}"
license=("LGPL-3.0-or-later")
depends=(
  python-taurus itango python-lxml python-click python-pyqtgraph
  python-numpy python-h5py libibus python-pytest spyder
  python-scipy libblockdev python-pyqt5-datavisualization
  python-jsonpointer gobject-introspection-runtime
)
optdepends=(gedit gst-editing-services gom libgexiv2)
makedepends=(python-setuptools)
source=("${_name}-${pkgver}.tar.gz::https://gitlab.com/sardana-org/${_name}/-/archive/${pkgver}/${_name}-${pkgver}.tar.gz")
sha256sums=("4909172efc582290f5e46230e41cc0e9f3137a33eaa762a737c39cfa8d61b91f")

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

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