[arch-commits] Commit in python-igraph/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Feb 26 11:07:50 UTC 2021


    Date: Friday, February 26, 2021 @ 11:07:50
  Author: arojas
Revision: 874381

Update to 0.9.0, use system igraph again

Modified:
  python-igraph/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-26 11:04:29 UTC (rev 874380)
+++ PKGBUILD	2021-02-26 11:07:50 UTC (rev 874381)
@@ -2,21 +2,21 @@
 # Contributor: Lukasz Pozarlik <lpozarlik at gmail.com>
 
 pkgname=python-igraph
-pkgver=0.8.3
-pkgrel=3
+pkgver=0.9.0
+pkgrel=1
 url="https://igraph.org/python/"
 license=(GPL)
 arch=(x86_64)
 pkgdesc="Python bindings for the igraph library"
-depends=(python-texttable gmp libxml2)
-# TODO: unbundle igraph when 0.9.0 is released
+depends=(python-texttable igraph)
 makedepends=(python-setuptools)
 source=("https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('e1f27622eddeb2bd5fdcbadb41ef048e884790bb050f9627c086dc609d0f1236')
+sha256sums=('7aa1d77fa02e27475eb4f14503f3cb342c3ed8990d9224640fd29c70797f2dd6')
 
 build() {
   cd $pkgname-$pkgver
-  python setup.py build
+  export CFLAGS+=" -I/usr/include/igraph"
+  python setup.py build --use-pkg-config
 }
 
 check() {
@@ -26,5 +26,5 @@
 
 package() {
   cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1 
 }



More information about the arch-commits mailing list