diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f436ea1affbd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = python2-scikit-rf + pkgdesc = Scikit-rf (aka skrf) is a python package for RF/Microwave engineering + pkgver = 0.14 + pkgrel = 2 + url = http://scikit-rf-web.readthedocs.org + arch = any + license = BSD + 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 + source = https://pypi.python.org/packages/source/s/scikit-rf/scikit-rf-0.14.zip + md5sums = 32dad98c349b72912a5529f940741f34 + +pkgname = python2-scikit-rf + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5b7d62f2019c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: BrainDamage +pkgname=python2-scikit-rf +pkgver=0.14 +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") +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=("32dad98c349b72912a5529f940741f34") +source=("https://pypi.python.org/packages/source/s/scikit-rf/scikit-rf-$pkgver.zip") + +package() { + cd "$srcdir/scikit-rf-$pkgver" + python2 setup.py install --optimize=1 --root="$pkgdir/" --prefix="/usr" +} |