summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c12c0e0729280a1aaa72e0f9f6ee4e9d454a4e17 (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
# Maintainer: Moritz Bunkus <moritz@bunkus.org>

pkgname='procpath'
pkgver=1.11.1
pkgrel=1
pkgdesc="A process tree analysis workbench"
arch=('any')
url="https://heptapod.host/saajns/procpath"
license=('LGPL3')
depends=('python' 'python-jsonpyth' 'python-pygal')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}::hg+${url}#revision=${pkgver}")
sha512sums=('SKIP')

build() {
  cd "${pkgname}-${pkgver}"

  python setup.py build
}

# tests are disabled for now due to https://heptapod.host/saajns/procpath/-/issues/21
#check() {
#  cd "${pkgname}-${pkgver}"
#
#  python -m unittest
#}

package() {
  cd "${pkgname}-${pkgver}"

  python setup.py install --root="${pkgdir}" --optimize=1
}

# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et: