blob: 542dd1c349f07330ba666d979829d745d75aaeab (
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
42
|
# Maintainer: sasvari <sasvari@fastmail.com>
# adapted from package python2-scikit-rf
pkgname="python-scikit-rf"
pkgver=1.5.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"
"python-typing_extensions"
)
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=('42f1a96e674f0fb032c0cee3bbfa72f8b6628df77dddf9c4bdab4c22717dae9c')
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}" {} \;
}
|