-
Notifications
You must be signed in to change notification settings - Fork 9
/
PKGBUILD
40 lines (35 loc) · 950 Bytes
/
PKGBUILD
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-vegasflow
_name=vegasflow
pkgver=1.0.2
pkgrel=1
pkgdesc='Monte Carlo integration library written in Python and based on the TensorFlow framework'
arch=('any')
url="https://vegasflow.readthedocs.io/"
license=('GPL3')
depends=("python>=3.6"
"python-tensorflow"
"python-joblib"
"python-numpy")
optdepends=("python-cffi: interfacing vegasflow with C code"
"python-tensorflow-cuda: GPU support")
# checkdepends=("python-pytest")
provides=("vegasflow")
changelog=
source=("https://github.com/N3PDF/vegasflow/archive/v.${pkgver}.tar.gz")
md5sums=("118fa9906f588ab7ecd320728c478ade")
prepare() {
cd "$_name-v.$pkgver"
}
# check() {
# cd "$_name-v.$pkgver"
# pytest
# }
build() {
cd "$_name-v.$pkgver"
python setup.py build
}
package() {
cd "$_name-v.$pkgver"
python setup.py install --root="$pkgdir" --optimize=2 --skip-build
}