blob: 3c6f2941a64d6ae9ead0ef41e5b53fe1e95c9ae1 (
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
37
38
39
40
41
|
# Maintainer: sasvari <sasvari@fastmail.com>
# adapted from package python2-scikit-rf
pkgname="python-scikit-rf"
pkgver=1.1.0
pkgrel=1
pkgdesc="Scikit-rf (aka skrf) is a python package for RF/Microwave engineering"
arch=(any)
url="https://github.com/scikit-rf/scikit-rf"
license=("BSD")
depends=(
"python"
"python-matplotlib"
"python-nbsphinx"
"python-networkx"
"python-numpy"
"python-openpyxl"
"python-pandas"
"python-scipy"
"python-xlwt"
)
makedepends=(python-build python-installer python-wheel)
optdepends=(
"python-pyvisa: for instrument control"
"python-vxi11: for instrument control over ethernet"
"python-xlrd: for xls reading"
)
sha256sums=('c4fa18f02df7f31ac04ee929d0e4459592225e6dd2b986aec3016db29b6679ca')
source=("${pkgname}-${pkgver}::https://github.com/scikit-rf/scikit-rf/archive/refs/tags/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/scikit-rf-${pkgver}"
export PYTHONHASHSEED=0
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/scikit-rf-${pkgver}"
find dist -name '*.whl' -exec python -m installer --compile-bytecode 1 --destdir="${pkgdir}" {} \;
}
|