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

Antonio Rojas arojas at archlinux.org
Sat Feb 8 09:21:22 UTC 2020


    Date: Saturday, February 8, 2020 @ 09:21:20
  Author: arojas
Revision: 563903

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   74 +++++++++++++++++++------------------------------------------
 1 file changed, 24 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-08 09:20:53 UTC (rev 563902)
+++ PKGBUILD	2020-02-08 09:21:20 UTC (rev 563903)
@@ -1,50 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Lukasz Pozarlik <lpozarlik at gmail.com>
-
-pkgbase=python-igraph
-pkgname=(python-igraph python2-igraph)
-pkgver=0.7.1.post6
-pkgrel=6
-url="https://igraph.org/python/"
-license=(GPL)
-arch=(x86_64)
-makedepends=(python python2 igraph) 
-source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz"
-        igraph-python3.patch::"https://github.com/igraph/python-igraph/commit/8864b468.patch")
-sha256sums=('a5ea42790a077eadb3d1e8f82edc47516fea4a2b26bbf52bfc148370fe0fe676'
-            '2ae94434dca55c4a7afbfc292e308aea48c647e737a73fd5c3a2d3f2b2dc24dc')
-
-prepare() {
-  cd $pkgbase-$pkgver
-   patch -p1 -i ../igraph-python3.patch # fixed Plot._repr_svg_() on Python 3.x
-  cd ..
-
-  cp -r $pkgbase-$pkgver{,-python2}
-
-  sed -e 's|/usr/bin/env python|/usr/bin/env/python2|g' -i $pkgbase-$pkgver-python2/igraph/vendor/texttable.py
-}
-
-build() {
-  cd $pkgbase-$pkgver
-  python setup.py build
-
-  cd ../$pkgbase-$pkgver-python2
-  python2 setup.py build
-}
-
-package_python-igraph() {
-  pkgdesc="Python bindings for the igraph library"
-  depends=(igraph python)
-
-  cd $pkgbase-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-igraph() {
-  pkgdesc="Python 2 bindings for the igraph library"
-  depends=(igraph python2)
-
-  cd $pkgbase-$pkgver-python2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  mv "$pkgdir"/usr/bin/igraph{,2}
-}

Copied: python-igraph/repos/community-x86_64/PKGBUILD (from rev 563902, python-igraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-08 09:21:20 UTC (rev 563903)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Lukasz Pozarlik <lpozarlik at gmail.com>
+
+pkgname=python-igraph
+pkgver=0.8.0
+pkgrel=1
+url="https://igraph.org/python/"
+license=(GPL)
+arch=(x86_64)
+pkgdesc="Python bindings for the igraph library"
+depends=(igraph python)
+makedepends=(python-setuptools)
+source=("https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('47e6bb48ec7dbfddbd89cf064a24b271783a1490fc688ebce17fbd652bcdab8e')
+
+build() {
+  cd $pkgbase-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd $pkgbase-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list