summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9cfed4045cd34e3f866604389681d1771a235b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Philipp A. <flying-sheep@web.de>

pkgname=python-louvain
pkgver=0.14
pkgrel=1
pkgdesc='Louvain algorithm for community detection'
arch=(any)
url="https://github.com/taynaud/$pkgname"
license=(BSD)
depends=(python-networkx python-numpy)
makedepends=(python-setuptools)
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('e0a50c7a1e87b45410cd2a1d6298268862e55edaa46f90ae6b834bbb62df0951')

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