summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a534a999003591e6a41e5cc784c2f779f6f1e194 (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
# Maintainer: Greyson Christoforo <grey@christoforo.net>
# Contributor: Alex Forencich <alex@alexforencich.com>
pkgname=python-pyvisa 
pkgver=1.10.1
pkgrel=1
pkgdesc="A Python package with bindings to the 'Virtual Instrument Software Architecture' VISA library"
arch=('any')
url="https://github.com/pyvisa/pyvisa"
license=('MIT')
depends=('python' 'python-distribute' 'python-docutils')
optdepends=('python-pyvisa-py: Pure Python backend')

source=("https://github.com/pyvisa/pyvisa/archive/$pkgver.tar.gz")
md5sums=('1ef98142678a989e91c940630eb781a9')

build() {
  cd "pyvisa-${pkgver}"
  python setup.py build
}

package(){
  cd "pyvisa-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}