summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bef1d1628639ce5f8210fe8a0c6ee8004ddb2ee2 (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
# Maintainer: Paul Irofti <paul@irofti.net>
_name=graphomaly
pkgname="python-$_name"
pkgver=0.3.2
pkgrel=1

pkgdesc="Find abnormal data in graph and network structures"
url="https://gitlab.com/unibuc/graphomaly/graphomaly"
arch=('any')
license=('BSD')

depends=(python
  python-attrdict3
  python-combo
  python-dictlearn
  python-dirty_cat-git
  python-keras
  python-networkx
  python-numpy
  python-pandas
  python-tqdm
  python-pyod
  python-louvain
  python-pyaml
  python-scikit-learn
  python-scipy
  python-tensorflow
  python-wrapt-timeout-decorator)
makedepends=(python-build python-installer python-wheel)

source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('7cdf8b64eb8e9d7c110d47a53b12c5d3483275b7743c95708f1be3ddf4d2f30a')

build() {
  cd "$srcdir/$_name-$pkgver"
  python -m build --wheel --no-isolation
}

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

# vim:set sw=2 et: