blob: bba0f522c2e63d89a475ab2c75eda4826b985b81 (
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
|
# Maintainer: Juacrumar <juacrumar at lairen dot eu>
pkgname=python-eko
_name=eko
pkgver=0.14.3
pkgrel=1
pkgdesc='Python module to solve the DGLAP equations in N-space in terms of Evolution Kernel Operators in x-space.'
arch=('any')
url="https://eko.readthedocs.io/"
license=('GPL-3')
makedepends=(python-build python-installer python-wheel python-poetry-core python-poetry-dynamic-versioning)
depends=("python>=3.9"
"python-numba"
"python-numpy"
"python-yaml"
"python-lz4"
"python-scipy"
)
optdepends=("lhapdf: provides PDF files in the LHAPDF format"
"pineappl: grid generation for HEP"
)
provides=("python-eko")
changelog=
source=("https://pypi.io/packages/source/e/eko/eko-${pkgver}.tar.gz")
md5sums=("852d32d301bc1dd4c2d2e04eba6f4d0d")
prepare() {
cd "$_name-$pkgver"
}
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|