diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6e930f7f067e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = python2-scikit-rf-git + pkgdesc = Scikit-rf (aka skrf) is a python package for RF/Microwave engineering + pkgver = 0.14.r145.g57f0b32 + pkgrel = 1 + url = http://scikit-rf-web.readthedocs.org + arch = any + license = BSD + makedepends = git + depends = python2 + depends = python2-numpy + depends = python2-scipy + depends = python2-matplotlib + optdepends = python2-pyvisa: for instrument control + optdepends = python2-pandas: for xls export + optdepends = python2-xlrd: for xls reading + optdepends = python2-xlwt: for xls writing + optdepends = ipython2: for interactive shell + provides = python2-scikit-rf + conflicts = python2-scikit-rf + source = git+https://github.com/scikit-rf/scikit-rf.git + md5sums = SKIP + +pkgname = python2-scikit-rf-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0973c451945f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: BrainDamage +pkgname="python2-scikit-rf-git" +pkgver=0.14.r145.g57f0b32 +pkgrel=1 +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 "scikit-rf" + git describe | sed 's/^v//; s/-/.r/; s/-/./' +} + +build () { + cd "scikit-rf" + python2 setup.py build +} + +package() { + cd "scikit-rf" + python2 setup.py install --root="$pkgdir/" --prefix="/usr" +} |