summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a3d32f537eadf4dda2ebf87e5c0e6eafe4688c3 (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
# Contributor:  Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=python-questplus
_pkgname=${pkgname#python-}
pkgver=2023.1
pkgrel=1
pkgdesc='This is a simple implementation of the QUEST+ algorithm in Python'
arch=('any')
url="https://github.com/hoechenberger/questplus"
license=('GPL3')
depends=('python'
         'python-json-tricks'
         'python-scipy'
         'python-xarray')
makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hoechenberger/questplus/archive/${pkgver}.tar.gz")
sha256sums=('7f86be68117fe5caf34b03fa3f93e50868c52c51201c25351579644124ea0834')

build() {
    cd "${_pkgname}-${pkgver}"
    export SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "${_pkgname}-${pkgver}"
    python -m installer --destdir=${pkgdir} dist/*.whl
}