aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6805caeb15afe488d5c28f79fa0f7d75626b5d4f (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
# Maintainer: Yngve Levinsen <first name dot last name at ess dot eu>
# Contributor: Grey Christoforo <first name at last name dot net>

pkgname=ess-epics
pkgver=2.0.3
pkgrel=1
pkgdesc="Experimental Physics and Industrial Control System -- ESS flavour"
arch=('any')
url="http://www.aps.anl.gov/epics/"
provides=('epics')
conflicts=('epics')
license=('GPL')
makedepends=('rpcsvc-proto' 'tree' 'git' 'python-build' 'python-installer' 'python-wheel')
depends=('python-gitlab' 'python-yaml' 'python-gitpython')
source=("git+https://gitlab.esss.lu.se/e3/e3.git#tag=${pkgver}")
md5sums=('SKIP')

MAKEFLAGS="-j1" # mutithread building breaks this


build() {
  cd e3
  #bash e3.bash base
  python -m build --wheel --no-isolation
}

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