[94592] trunk/dports/python/py-graph-tool/Portfile
mmoll at macports.org
mmoll at macports.org
Sat Jun 23 21:05:39 PDT 2012
Revision: 94592
https://trac.macports.org/changeset/94592
Author: mmoll at macports.org
Date: 2012-06-23 21:05:38 -0700 (Sat, 23 Jun 2012)
Log Message:
-----------
py-graph-tool: update to 2.2.17
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-06-23 21:28:57 UTC (rev 94591)
+++ trunk/dports/python/py-graph-tool/Portfile 2012-06-24 04:05:38 UTC (rev 94592)
@@ -6,8 +6,7 @@
set realname graph-tool
name py-${realname}
-version 2.2.15
-revision 1
+version 2.2.17
categories python science
platforms darwin
license GPL-3
@@ -18,20 +17,14 @@
structures and most algorithms are implemented in C++ with \
the Boost Graph Library.
homepage http://graph-tool.skewed.de
-# 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
-
+master_sites http://downloads.skewed.de/graph-tool/
+use_bzip2 yes
+checksums md5 1995241c551304a6298a182df5cfeb7e \
+ sha1 6e6197a2f8598ce9f0fb90aa95a866617c44b125 \
+ rmd160 f87f6e4e7d9a9083ac21b90ba4bf866fcbab1ba6
distname ${realname}-${version}
-python.versions 25 26 27
+python.versions 25 26 27 31 32
python.default_version 27
# graph-tool relies on Boost.Python, so make sure it is installed.
@@ -42,17 +35,15 @@
}
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:cairomm \
port:cgal \
port:expat \
path:bin/dot:graphviz \
port:py${python.version}-numpy \
- port:py${python.version}-scipy
+ port:py${python.version}-scipy \
+ port:py${python.version}-gobject3
use_configure yes
configure.env-append PYTHON=${python.bin} \
PYTHON_VERSION=${python.branch} \
@@ -66,34 +57,17 @@
build.target all
destroot.cmd make
destroot.destdir DESTDIR=${destroot}
- if {${configure.compiler} == "clang"} {
- configure.compiler llvm-gcc-4.2
- }
- if {${configure.compiler} == "llvm-gcc-4.2" ||
- ${configure.compiler} == "gcc-4.0" ||
- ${configure.compiler} == "gcc-4.2" ||
- ${configure.compiler} == "apple-gcc-4.0" ||
- ${configure.compiler} == "apple-gcc-4.2" ||
- ${configure.compiler} == "macports-gcc-4.2" ||
- ${configure.compiler} == "macports-gcc-4.3"} {
- configure.cxxflags-append -DCGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES
- }
- # not supported by clang at the moment
- variant openmp description {Add support for openmp} {
- configure.args-append --enable-openmp
- }
-
post-destroot {
xinstall -d ${destroot}${python.pkgd}
file rename ${destroot}${prefix}/lib/python${python.branch}/site-packages/graph_tool \
${destroot}${python.pkgd}
file rename ${destroot}${prefix}/doc/graph-tool \
- ${destroot}${prefix}/share/doc/graph-tool
+ ${destroot}${prefix}/share/doc/py${python.version}-graph-tool
}
}
-if {$name == $subport} {
+if {$name == $subport} {
livecheck.type regex
livecheck.url $homepage
livecheck.regex Version (\[0-9.\]+) of graph-tool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120623/50596c98/attachment.html>
More information about the macports-changes
mailing list