[arch-commits] Commit in python-igraph/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 26 21:06:18 UTC 2015
Date: Monday, October 26, 2015 @ 22:06:18
Author: arojas
Revision: 145048
Fix conflicts between Python 2 and 3 packages
Modified:
python-igraph/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-26 21:00:54 UTC (rev 145047)
+++ PKGBUILD 2015-10-26 21:06:18 UTC (rev 145048)
@@ -5,12 +5,12 @@
pkgbase=python-igraph
pkgname=(python-igraph python2-igraph)
pkgver=0.7.1.post6
-pkgrel=1
+pkgrel=2
url="http://igraph.org/python/"
license=(GPL)
arch=(i686 x86_64)
makedepends=(python python2 igraph)
-source="https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz"
+source=("https://pypi.python.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz")
md5sums=('a4c0b5960735b36adb5d3a40031cb7c0')
prepare() {
@@ -38,8 +38,8 @@
package_python2-igraph() {
pkgdesc="Python 2 bindings for the igraph library"
depends=(igraph python2)
- conflicts=(python-igraph)
cd $pkgbase-$pkgver-python2
python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/igraph{,2}
}
More information about the arch-commits
mailing list