summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b04b239837968fb33b2862ac3baf2c9ce706521 (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
#Maintainer: Gabriel Margiani <gabriel _strange_curved_character_ margiani ยท ch>
pkgname='python-pathpy-git'
pkgver=r432.fa06dc5
pkgrel=1
pkgdesc="Analysis of time series data on networks with higher- and multi-order graphical models"
arch=('i686' 'x86_64')
url="http://www.pathpy.net"
license=('AGPL')
provides=('python-pathpy')
conflicts=('python-pathpy')
depends=('python' 'python-numpy' 'python-scipy')
makedepends=('python-setuptools')
source=("$pkgname::git+https://github.com/uzhdag/pathpy.git")
md5sums=('SKIP')

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

build() {
	cd $pkgname
	python setup.py build
}
package() {
	cd $pkgname
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}