blob: 6032f0ad985fe993417d8c451556db3c6faa0fa6 (
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
|
# Maintainer: Ingo Meyer <i.meyer@fz-juelich.de>
pkgname="python-gr-framework-git"
pkgver="1.24.0.r1.gf099201"
pkgrel="1"
pkgdesc="A universal framework for cross-platform visualization applications (Python bindings)."
arch=("any")
url="https://gr-framework.org"
license=("MIT")
depends=("gr-framework" "python" "python-numpy")
makedepends=("git" "python-setuptools" "python-vcversioner")
provides=("${pkgname%-*}=${pkgver}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+https://github.com/sciapp/python-gr.git#branch=develop")
sha256sums=("SKIP")
pkgver() {
cd "${srcdir}/${pkgname%-*}" || return
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname%-*}" || return
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname%-*}" || return
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|