blob: 0a488029f23bc59f5bd73dfe7ed18e7122204a61 (
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
|
# Maintainer: Alexander Bocken <alexander@bocken.org>
_name=hrv-analysis
pkgname=python-${_name,,}
pkgver=1.0.5
pkgrel=1
pkgdesc='a package to calculate features from Rr Interval for HRV analyses'
arch=('any')
url="https://github.com/Aura-healthcare/hrv-analysis"
license=('GPL3')
depends=('python>=3.5'
'python-astropy>=3.0.4'
'python-future>=0.16.0'
'python-nolds>=0.4.1'
'python-numpy>=1.15.1'
'python-scipy>=1.1.0'
)
makedepends=('python-installer' 'python-wheel')
_whl="${_name//-/_}-$pkgver-py3-none-any.whl"
source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl")
sha256sums=(7a9bf92017c501e3e76c02d98435cf5e58959341aa6d5d1dfd73985fe88c87ea)
noextract=("$_whl")
package() {
python -m installer --destdir="$pkgdir" "$_whl"
_python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
rm -rf "$pkgdir"/usr/lib/python${_python_version}/site-packages/{tests,docs,build_tools,examples,extension_templates}
}
|