diff options
author | Philipp A | 2017-07-20 17:04:50 +0200 |
---|---|---|
committer | Philipp A | 2017-07-20 17:04:50 +0200 |
commit | f7a2773bc293b8986173ef32cdc36ea1d6e1ac02 (patch) | |
tree | 3891ac99c43ccfb867282bbe1f7551a204eb2495 | |
download | aur-f7a2773bc293b8986173ef32cdc36ea1d6e1ac02.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..488e00ea88b4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-louvain-igraph + pkgdesc = Louvain algorithm for community detection (for use with python-igraph) + pkgver = 0.5.3 + pkgrel = 1 + url = https://github.com/vtraag/louvain-igraph + arch = any + license = GPL3 + makedepends = python-setuptools + depends = python + depends = python-igraph + source = https://files.pythonhosted.org/packages/source/l/louvain/louvain-0.5.3.tar.gz + sha256sums = 640a6728066df822f1228cfb028e9648c4d516bbdb07a92d3159a810fb975f95 + +pkgname = python-louvain-igraph + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..24f2ec57e666 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +/*.pkg.tar.xz +/*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..68bfdc1ce16c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Philipp A. <flying-sheep@web.de> + +_name=louvain +pkgname=python-$_name-igraph +pkgver=0.5.3 +pkgrel=1 +pkgdesc='Louvain algorithm for community detection (for use with python-igraph)' +arch=(any) +url="https://github.com/vtraag/$_name-igraph" +license=(GPL3) +depends=(python python-igraph) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('640a6728066df822f1228cfb028e9648c4d516bbdb07a92d3159a810fb975f95') + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} |