[92087] trunk/dports/python/py-graph-tool/Portfile

mmoll at macports.org mmoll at macports.org
Tue Apr 17 15:18:29 PDT 2012


Revision: 92087
          https://trac.macports.org/changeset/92087
Author:   mmoll at macports.org
Date:     2012-04-17 15:18:29 -0700 (Tue, 17 Apr 2012)
Log Message:
-----------
py-graph-tool: temporarily switch to git version. latest release doesn't compile with current compilers or current version of Boost. See #33641.

Modified Paths:
--------------
    trunk/dports/python/py-graph-tool/Portfile

Modified: trunk/dports/python/py-graph-tool/Portfile
===================================================================
--- trunk/dports/python/py-graph-tool/Portfile	2012-04-17 19:38:18 UTC (rev 92086)
+++ trunk/dports/python/py-graph-tool/Portfile	2012-04-17 22:18:29 UTC (rev 92087)
@@ -7,6 +7,7 @@
 set realname        graph-tool
 name                py-${realname}
 version             2.2.15
+revision            1
 categories          python science
 platforms           darwin
 license             GPL-3
@@ -17,16 +18,20 @@
                     structures and most algorithms are implemented in C++ with \
                     the Boost Graph Library.
 homepage            http://graph-tool.skewed.de
-master_sites        http://downloads.skewed.de/graph-tool/
-use_bzip2           yes
+# Latest release doesn't compile with current compilers and current version of Boost.
+# We'll switch back to a regular release once 2.2.16 comes out.
+# master_sites        http://downloads.skewed.de/graph-tool/
+# use_bzip2           yes
+# checksums           md5     24dd4aa307fc64c5988a4d827ee16bbd \
+#                     sha1    6498ce3208b8d7b1325dcac38dafb24bb8b9ddfe \
+#                     rmd160  c998c1110653a487d2ec1ae5aa27c61004f8e011
+fetch.type          git
+git.url             git://git.skewed.de/graph-tool
+git.branch          4ffe8be388affe702e9a7c3a921ed6e2c85e1bf1
 
-checksums           md5     24dd4aa307fc64c5988a4d827ee16bbd \
-                    sha1    6498ce3208b8d7b1325dcac38dafb24bb8b9ddfe \
-                    rmd160  c998c1110653a487d2ec1ae5aa27c61004f8e011
 distname            ${realname}-${version}
-patchfiles          patch-dl_import.py.diff
 
-python.versions     25 26 27 31 32
+python.versions     25 26 27
 python.default_version 27
 
 # graph-tool relies on Boost.Python, so make sure it is installed.
@@ -37,7 +42,11 @@
 }
 
 if {$subport != $name} {
+    pre-configure {
+        system "cd ${worksrcpath} && ./autogen.sh"
+    }
     universal_variant  no
+    depends_build-append port:autoconf port:automake
     depends_lib-append port:boost \
                        port:cgal \
                        port:expat \
@@ -48,7 +57,7 @@
     configure.env-append PYTHON=${python.bin} \
                          PYTHON_VERSION=${python.branch} \
                          PYTHON_CPPFLAGS=-I${python.include} \
-                         PYTHON_LDFLAGS="-L${python.libdir} -lpython${python.branch}"
+                         PYTHON_LDFLAGS="-L${python.libdir}/.. -lpython${python.branch}"
     configure.cflags-append   -I${prefix}/include
     configure.cxxflags-append -I${prefix}/include
     configure.ldflags-append -L${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120417/82960dad/attachment.html>


More information about the macports-changes mailing list