blob: e8d42e4cbde9796667be01a3baaf19c6e432f959 (
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
|
# Maintainer: Johannes Schlatow <johannes.schlatow@googlemail.com>
_pkgname=python-pycpa
pkgname=$_pkgname-git
pkgver=r512.824e794
pkgrel=1
pkgdesc="Pragmatic Python implementation of Compositional Performance Analysis (aka the SymTA/S approach provided by Symtavision) used for research in worst-case timing analysis."
arch=('any')
makedepends=('git' 'python-setuptools')
replaces=('python-pycpa-hg')
depends=('python' 'python-matplotlib' 'python-pygraphviz')
provides=('python-pycpa')
url="https://github.com/IDA-TUBS/pycpa.git"
license=('MIT')
source=("git+https://github.com/IDA-TUBS/pycpa.git")
md5sums=("SKIP")
pkgver() {
cd "${srcdir}/pycpa"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd ${srcdir}/pycpa
python setup.py build
}
package() {
cd ${srcdir}/pycpa
python setup.py install --root="${pkgdir}"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}
|