summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b1033741a32a78a1044efd401b8038ae77b8e060 (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
# Maintainer: Paul Irofti <paul@irofti.net>

_name=tamu_axolotl
pkgname="python-$_name-git"
pkgver=r11.3a861e7
pkgrel=1

pkgdesc="Automated Time-series Outlier Detection System"
url="https://github.com/tods-doc/axolotl"
arch=('any')
license=('Apache')

depends=('python' 'python-tamu_d3m' 'python-grpcio' 'python-grpcio-tools'
  'python-grpcio-testing' 'python-ray' 'python-networkx')
makedepends=('git' 'python-setuptools')
provides=('python-tamu_axolotl')
conflicts=('python-tamu_axolotl')

source=("git+https://github.com/tods-doc/axolotl")
md5sums=('SKIP')

pkgver() {
  cd "axolotl"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "axolotl"
  python setup.py build
}

package() {
  cd "axolotl"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
# vim:ts=2:sw=2:et: