[94404] trunk/dports/python/py-igraph

snc at macports.org snc at macports.org
Sun Jun 17 18:10:29 PDT 2012


Revision: 94404
          https://trac.macports.org/changeset/94404
Author:   snc at macports.org
Date:     2012-06-17 18:10:26 -0700 (Sun, 17 Jun 2012)
Log Message:
-----------
py-igraph: update to 0.6

Modified Paths:
--------------
    trunk/dports/python/py-igraph/Portfile
    trunk/dports/python/py-igraph/files/patch-setup.cfg.diff
    trunk/dports/python/py-igraph/files/patch-setup.py.diff

Modified: trunk/dports/python/py-igraph/Portfile
===================================================================
--- trunk/dports/python/py-igraph/Portfile	2012-06-18 00:55:01 UTC (rev 94403)
+++ trunk/dports/python/py-igraph/Portfile	2012-06-18 01:10:26 UTC (rev 94404)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-igraph
-version             0.5.4
+version             0.6
 python.versions     25 26 27
 python.default_version   27
 categories-append   math
@@ -22,8 +22,8 @@
 distname            python-igraph-${version}
 dist_subdir         python/${distname}/1/
 
-checksums           rmd160  bae4195e4780e74e777beafd98898a2893fd2ac7 \
-                    sha256  761ebf028f6dc03aa42a23306bc20af4cbff4ad7e850a314840cb3f9cb021484
+checksums           rmd160  8958ce8ad32824d501f47c7a1059bf9394272a2f \
+                    sha256  a0835738508f6b5c021bf25bde53b36c5b42df060d68bf4bdb1e30f35b6fc962
 
 platforms           darwin
 

Modified: trunk/dports/python/py-igraph/files/patch-setup.cfg.diff
===================================================================
--- trunk/dports/python/py-igraph/files/patch-setup.cfg.diff	2012-06-18 00:55:01 UTC (rev 94403)
+++ trunk/dports/python/py-igraph/files/patch-setup.cfg.diff	2012-06-18 01:10:26 UTC (rev 94404)
@@ -1,11 +1,11 @@
---- setup.cfg.orig	2010-09-16 12:47:18.000000000 +0400
-+++ setup.cfg	2010-09-16 12:47:47.000000000 +0400
+--- setup.cfg.orig	2012-06-17 20:58:02.000000000 -0400
++++ setup.cfg	2012-06-17 20:58:35.000000000 -0400
 @@ -4,6 +4,6 @@
  tag_svn_revision = 0
  
  [build_ext]
--library_dirs = /usr/local/lib:/usr/lib
--include_dirs = /usr/local/include:/usr/include
-+library_dirs = @PREFIX@/lib
-+include_dirs = @PREFIX@/include
+-library_dirs = ../../build/src/.libs:../../src/.libs:/usr/local/lib:/usr/lib
+-include_dirs = ../../build/include:../../include:/usr/local/include:/usr/include
++library_dirs = ../../build/src/.libs:../../src/.libs:@PREFIX@
++include_dirs = ../../build/include:../../include:@PREFIX@
  

Modified: trunk/dports/python/py-igraph/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-igraph/files/patch-setup.py.diff	2012-06-18 00:55:01 UTC (rev 94403)
+++ trunk/dports/python/py-igraph/files/patch-setup.py.diff	2012-06-18 01:10:26 UTC (rev 94404)
@@ -1,27 +1,28 @@
---- setup.py.orig	2010-09-16 12:49:44.000000000 +0400
-+++ setup.py	2010-09-16 12:55:00.000000000 +0400
-@@ -13,7 +13,7 @@
+--- setup.py.orig	2012-06-11 17:56:15.000000000 -0400
++++ setup.py	2012-06-17 21:00:55.000000000 -0400
+@@ -19,7 +19,7 @@
  from shutil import copy2
  from subprocess import Popen, PIPE
  
 -LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['/usr/include', '/usr/local/include']
-+LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['@PREFIX@/include']
++LIBIGRAPH_FALLBACK_INCLUDE_DIRS = ['@PREFIX@/include','@PREFIX@/include/igraph']
  LIBIGRAPH_FALLBACK_LIBRARIES = ['igraph']
  LIBIGRAPH_FALLBACK_LIBRARY_DIRS = []
  
-@@ -130,10 +130,10 @@
+@@ -143,11 +143,11 @@
      ]
  )
  
 -if "macosx" in plat and "bdist_mpkg" in argv:
 -    # OS X specific stuff to build the .mpkg installer
 -    options["data_files"] = [ \
--            ('/usr/local/lib', [os.path.join('..', '..', 'fatbuild', '.libs', 'libigraph.0.dylib')])
+-            ('/usr/local/lib', [os.path.join('..', '..', 'fatbuild', 'libigraph.0.dylib')])
 -    ]
 +#if "macosx" in plat and "bdist_mpkg" in argv:
 +#    # OS X specific stuff to build the .mpkg installer
 +#    options["data_files"] = [ \
-+#            ('/usr/local/lib', [os.path.join('..', '..', 'fatbuild', '.libs', 'libigraph.0.dylib')])
++#            ('/usr/local/lib', [os.path.join('..', '..', 'fatbuild', 'libigraph.0.dylib')])
 +#    ]
  
- setup(**options)
+ if version_info > (3, 0):
+     if build_py is None:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120617/1c3571bd/attachment.html>


More information about the macports-changes mailing list