summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6fbe759bfc70cf0d1b2de57e22c549027e52ea12 (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
32
33
34
35
36
# Maintainer: BrainDamage
pkgname="python2-scikit-rf-git"
pkgver=0.14.r145.g57f0b32
pkgrel=2
pkgdesc="Scikit-rf (aka skrf) is a python package for RF/Microwave engineering"
arch=(any)
url="http://scikit-rf-web.readthedocs.org"
license=("BSD")
depends=("python2" "python2-numpy" "python2-scipy" "python2-matplotlib")
makedepends=("git")
provides=("python2-scikit-rf")
conflicts=("python2-scikit-rf")
optdepends=(
	"python2-pyvisa: for instrument control"
	"python2-pandas: for xls export"
	"python2-xlrd: for xls reading"
	"python2-xlwt: for xls writing"
	"ipython2: for interactive shell"
)
md5sums=("SKIP")
source=("git+https://github.com/scikit-rf/scikit-rf.git")

pkgver() {
	cd "$srcdir/scikit-rf"
	git describe | sed 's/^v//; s/-/.r/; s/-/./'
}

build () {
	cd "$srcdir/scikit-rf"
	python2 setup.py build
}

package() {
	cd "$srcdir/scikit-rf"
	python2 setup.py install --root="$pkgdir/" --prefix="/usr"
}