Date: Sunday, April 9, 2023 @ 18:32:05
Author: arojas
Revision: 1443424
archrelease: copy trunk to community-staging-x86_64
Added:
python-igraph/repos/community-staging-x86_64/
python-igraph/repos/community-staging-x86_64/PKGBUILD
(from rev 1443423, python-igraph/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-igraph/repos/community-staging-x86_64/PKGBUILD (from rev
1443423, python-igraph/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-09 18:32:05 UTC (rev 1443424)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Lukasz Pozarlik <[email protected]>
+
+pkgname=python-igraph
+pkgver=0.10.4
+pkgrel=2
+url='https://igraph.org/python/'
+license=(GPL)
+arch=(x86_64)
+pkgdesc='Python bindings for the igraph library'
+depends=(python-texttable igraph)
+makedepends=(python-setuptools)
+source=(python-igraph-$pkgver::https://files.pythonhosted.org/packages/source/i/igraph/igraph-$pkgver.tar.gz)
+sha256sums=('4786e05919ee93f6479fe8ca697d68537edfe47549ed09dfb33bda4daced1fb9')
+
+build() {
+ cd igraph-$pkgver
+ python setup.py build --use-pkg-config
+}
+
+check() {
+ cd igraph-$pkgver
+ PYTHONPATH="$PWD"/`ls -d build/lib.*` python -m unittest
+}
+
+package() {
+ cd igraph-$pkgver
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}