blob: 8ab0e7f91fc34e3d99bd38f1e85153b805099816 (
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
40
41
42
43
44
45
46
47
48
|
# Maintainer: Groctel <aur@taxorubio.com>
# shellcheck disable=SC2034,SC2154,SC2164
_name=Pyrr
pkgname=python-pyrr
pkgver=0.10.3
pkgrel=1
pkgdesc="Provides 3D mathematical functions using the power of NumPy."
arch=("any")
license=("BSD-2-Clause-Views")
url="https://github.com/adamlwgriffiths/Pyrr"
source=("https://github.com/adamlwgriffiths/Pyrr/archive/${pkgver}.tar.gz")
sha512sums=('f3f045604e28f4a944ea0528363c233a75413a6039bd11b90eeeafadcaaf0ef44bc1303581f2e78adcfb9a365f719be64a24adf1cec8c5ef1abf5642dea58df4')
depends=(
"python"
"python-numpy"
# AUR dependencies
"python-multipledispatch"
)
makedepends=(
"python-build"
"python-installer"
"python-setuptools"
"python-wheel"
)
# checkdepends=(
# "python-pytest"
# )
build () {
cd "$srcdir/$_name-$pkgver" || exit
python -m build --wheel --no-isolation
}
# check () {
# cd "$srcdir/$_name-$pkgver"
# pytest
# }
package () {
cd "$srcdir/$_name-$pkgver" || exit
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_name/LICENSE"
}
|