blob: 92655ce02d2e98f89ca1dd2b80f2f71b8d2fe15a (
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
|
# Maintainer: <https://aur.archlinux.org/account/zeauw>
_name=gwpy
pkgname=python-${_name}
pkgver=3.0.10
pkgrel=1
pkgdesc="Package for analysing and characterising gravitational wave data in python"
arch=('any')
url='https://gitlab.com/gwpy/gwpy'
license=('GPLv3')
depends=('python-astropy'
'python-dateparser'
'python-dqsegdb2'
'python-gwdatafind'
'python-gwosc'
'python-h5py'
'python-ligo-segments'
'python-ligotimegps'
'python-matplotlib'
'python-numpy'
'python-dateutil'
'python-requests'
'python-scipy'
'python-tqdm')
makedepends=('python-setuptools' 'python-setuptools-scm' 'python-wheel' 'python-build' 'python-installer')
source=("gwpy-v${pkgver}.tar.gz::${url}/-/archive/v${pkgver}/gwpy-v${pkgver}.tar.gz")
sha256sums=('26b8c2a43e8ebbc0b63e0d4ae1bd8a5ef8340b9f556a012600904669f979ef0c')
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
cd gwpy-v${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd gwpy-v${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|