[arch-commits] Commit in python-igraph/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Friday, February 26, 2021 @ 11:07:58
  Author: arojas
Revision: 874382

archrelease: copy trunk to community-x86_64

Added:
  python-igraph/repos/community-x86_64/PKGBUILD
    (from rev 874381, python-igraph/trunk/PKGBUILD)
Deleted:
  python-igraph/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-26 11:07:50 UTC (rev 874381)
+++ PKGBUILD	2021-02-26 11:07:58 UTC (rev 874382)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Lukasz Pozarlik <lpozarlik at gmail.com>
-
-pkgname=python-igraph
-pkgver=0.8.3
-pkgrel=3
-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
-makedepends=(python-setuptools)
-source=("https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
-sha256sums=('e1f27622eddeb2bd5fdcbadb41ef048e884790bb050f9627c086dc609d0f1236')
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  PYTHONPATH="$PWD"/`ls -d build/lib.*` python -m unittest
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-igraph/repos/community-x86_64/PKGBUILD (from rev 874381, python-igraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-26 11:07:58 UTC (rev 874382)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lukasz Pozarlik <lpozarlik at gmail.com>
+
+pkgname=python-igraph
+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 igraph)
+makedepends=(python-setuptools)
+source=("https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('7aa1d77fa02e27475eb4f14503f3cb342c3ed8990d9224640fd29c70797f2dd6')
+
+build() {
+  cd $pkgname-$pkgver
+  export CFLAGS+=" -I/usr/include/igraph"
+  python setup.py build --use-pkg-config
+}
+
+check() {
+  cd $pkgname-$pkgver
+  PYTHONPATH="$PWD"/`ls -d build/lib.*` python -m unittest
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1 
+}



More information about the arch-commits mailing list