summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Beuerle2017-06-02 19:29:05 +0200
committerBernhard Beuerle2017-06-02 19:29:05 +0200
commit2f1ffbae19cd5ae4b26bdc4503085cd1c2926dda (patch)
tree402e09e0fc5c4792c067b0e65cbce20a065971b6
downloadaur-2f1ffbae19cd5ae4b26bdc4503085cd1c2926dda.tar.gz
initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD37
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..17e53a3f878
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = python-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 = python
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-matplotlib
+ optdepends = python-pyvisa: for instrument control
+ optdepends = python-pandas: for xls export
+ optdepends = python-xlrd: for xls reading
+ optdepends = python-xlwt: for xls writing
+ optdepends = ipython: for interactive shell
+ provides = python-scikit-rf
+ conflicts = python-scikit-rf
+ source = git+https://github.com/scikit-rf/scikit-rf.git
+ md5sums = SKIP
+
+pkgname = python-scikit-rf-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..72e8ffc0db8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c9f653a2efe
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: BrainDamage
+# adapted from package python2-scikit-rf-git
+pkgname="python-scikit-rf-git"
+pkgver=0.14.5.r9.gf0b0fd6
+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=("python" "python-numpy" "python-scipy" "python-matplotlib")
+makedepends=("git")
+provides=("python-scikit-rf")
+conflicts=("python-scikit-rf")
+optdepends=(
+ "python-pyvisa: for instrument control"
+ "python-pandas: for xls export"
+ "python-xlrd: for xls reading"
+ "python-xlwt: for xls writing"
+ "ipython: 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"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/scikit-rf"
+ python setup.py install --root="$pkgdir/" --prefix="/usr"
+}