diff options
author | Alex Forencich | 2015-07-20 12:18:24 -0700 |
---|---|---|
committer | Alex Forencich | 2015-07-20 12:18:24 -0700 |
commit | bd83a04c9fd6673495ace190914c7103c1fcfa11 (patch) | |
tree | c6d7b40052d1132a3cf5a0faf52c0d25e677bb09 | |
download | aur-python-ivi.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5286bfbaa02c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = python-ivi + pkgdesc = Python Interchangeable Virtual Instrument Library + pkgver = 0.14.9 + pkgrel = 1 + url = https://github.com/python-ivi/python-ivi + arch = any + license = MIT + depends = python + depends = python-numpy + optdepends = python-vxi11: VXI11 instrument support + optdepends = python-usbtmc: USBTMC instrument support + optdepends = python-pyvisa: PyVISA interface for NI drivers + source = python-ivi-0.14.9.tar.gz::https://github.com/python-ivi/python-ivi/archive/v0.14.9.tar.gz + md5sums = 86d4e627d9cb328bb11b1d836b68baee + +pkgname = python-ivi + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..852457f004bc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Alex Forencich <alex@alexforencich.com> +pkgname=python-ivi +pkgver=0.14.9 +pkgrel=1 +pkgdesc="Python Interchangeable Virtual Instrument Library" +arch=('any') +url="https://github.com/python-ivi/python-ivi" +license=('MIT') +depends=('python' 'python-numpy') +optdepends=( + 'python-vxi11: VXI11 instrument support' + 'python-usbtmc: USBTMC instrument support' + 'python-pyvisa: PyVISA interface for NI drivers' +) + +source=("python-ivi-$pkgver.tar.gz::https://github.com/python-ivi/python-ivi/archive/v$pkgver.tar.gz") +md5sums=('86d4e627d9cb328bb11b1d836b68baee') + +build() { + cd "$srcdir/python-ivi-$pkgver" +} + +package() { + cd "$srcdir/python-ivi-$pkgver" + python setup.py install --prefix=/usr --root="$pkgdir/" --optimize=1 +} + |