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

Antonio Rojas arojas at archlinux.org
Mon Feb 22 12:59:26 UTC 2021


    Date: Monday, February 22, 2021 @ 12:59:25
  Author: arojas
Revision: 868512

Drop igraph dependency (FS#69732), run tests

Modified:
  python-igraph/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-22 12:24:04 UTC (rev 868511)
+++ PKGBUILD	2021-02-22 12:59:25 UTC (rev 868512)
@@ -3,22 +3,28 @@
 
 pkgname=python-igraph
 pkgver=0.8.3
-pkgrel=2
+pkgrel=3
 url="https://igraph.org/python/"
 license=(GPL)
 arch=(x86_64)
 pkgdesc="Python bindings for the igraph library"
-depends=(igraph python-texttable)
+depends=(python-texttable gmp libxml2)
+# TODO: unbundle igraph when 0.9.0 is released
 makedepends=(python-setuptools)
 source=("https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
 sha256sums=('e1f27622eddeb2bd5fdcbadb41ef048e884790bb050f9627c086dc609d0f1236')
 
 build() {
-  cd $pkgbase-$pkgver
+  cd $pkgname-$pkgver
   python setup.py build
 }
 
+check() {
+  cd $pkgname-$pkgver
+  PYTHONPATH="$PWD"/`ls -d build/lib.*` python -m unittest
+}
+
 package() {
-  cd $pkgbase-$pkgver
+  cd $pkgname-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 }



More information about the arch-commits mailing list