blob: c052a9a60175b55c3f13e889af8d15d9b98c1bcc (
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
|
# Maintainer: <https://aur.archlinux.org/account/zeauw>
_name=gwdatafind
pkgname=python-${_name}
pkgver=1.2.0
pkgrel=1
pkgdesc="The client library for the GWDataFind service"
arch=('any')
url='https://git.ligo.org/computing/gwdatafind/client'
license=('GPLv3')
depends=('python')
makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer')
source=("client-${pkgver}.tar.gz::${url}/-/archive/${pkgver}/client-${pkgver}.tar.gz")
sha256sums=('025307223131ed447139a4d12a6e5f6a3ebe4ae5ed516a706ee2015e88bd7ffe')
build() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
cd client-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd client-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|