[141805] trunk/dports/science/ompl

mmoll at macports.org mmoll at macports.org
Sat Dec 12 03:05:00 PST 2015


Revision: 141805
          https://trac.macports.org/changeset/141805
Author:   mmoll at macports.org
Date:     2015-10-28 20:49:53 -0700 (Wed, 28 Oct 2015)
Log Message:
-----------
ompl: update to version 1.1.0

Modified Paths:
--------------
    trunk/dports/science/ompl/Portfile

Removed Paths:
-------------
    trunk/dports/science/ompl/files/

Modified: trunk/dports/science/ompl/Portfile
===================================================================
--- trunk/dports/science/ompl/Portfile	2015-10-28 23:17:36 UTC (rev 141804)
+++ trunk/dports/science/ompl/Portfile	2015-10-29 03:49:53 UTC (rev 141805)
@@ -7,8 +7,8 @@
 cmake.out_of_source yes
 
 name                ompl
-version             1.0.0
-revision            2
+version             1.1.0
+revision            0
 categories          science
 maintainers         mmoll
 description         The Open Motion Planning Library (OMPL)
@@ -19,8 +19,8 @@
 license             BSD
 master_sites        https://bitbucket.org/ompl/ompl/downloads
 distname            ${name}-${version}-Source
-checksums           rmd160  f85e4f1b501306c08f72f110d61c805ae2668b73 \
-                    sha256  9bb6242ca723ab49b31fc5ac343a580cb7e6229bcf876c503c235f4cdd75376b
+checksums           rmd160  eea0fe84518fc9a8e37e36c100e5a158218b5296 \
+                    sha256  4d141ad3aa322c65ee7ecfa90017a44a8114955316e159b635fae5b5e7db74f8
 depends_lib-append  port:boost port:ode port:flann port:triangle
 
 # We "inherit" the compiler blacklist from the Boost port, since OMPL depends heavily on Boost.
@@ -55,12 +55,16 @@
 http://ompl.kavrakilab.org/license.html#ricelicense"
     }
     depends_build-append port:pkgconfig
-    depends_lib-append  port:assimp port:fcl
+    depends_lib-append  port:assimp port:fcl port:redis
     configure.args-append -DOMPLAPP_PQP=OFF -DOMPLAPP_RESOURCE_DIR=${prefix}/share/ompl/resources
     distname            omplapp-${version}-Source
-    checksums           rmd160  a5b07eac786560faeeee0ff72162cc363035bf28 \
-                        sha256  2a7aa0374c1f11b83a54c2d35104e732e5c439804117a968dad10994390e8a7a
-    patchfiles          patch-gui-ompl_app.py.diff
+    checksums           rmd160  8d42b0ce881c6ef093d135e917997079bf52a99c \
+                        sha256  611022e00a53f3d7d5b44d558f243fe9121a1eb050a0036767dc8eb706f313b1
+    notes "
+    If you intend to use ompl_webapp, you need to first launch the redis server:
+
+        sudo port load redis
+    "
 }
 
 set pythons_suffixes {27 34}
@@ -99,10 +103,18 @@
                 # Can use either py*-pyqt4 or py*-pyqt4-devel.
                 depends_lib-append \
                     path:share/py${s}-sip/PyQt4:py${s}-pyqt4 \
-                    port:py${s}-opengl
+                    port:py${s}-opengl \
+                    port:py${s}-flask \
+                    port:py${s}-celery \
+                    port:py${s}-redis
                 post-destroot {
                     reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python${v}|g" \
-                        ${destroot}${prefix}/bin/ompl_app
+                        ${destroot}${prefix}/bin/ompl_app \
+                        ${destroot}${prefix}/bin/ompl_benchmark_statistics.py
+                    reinplace "s|broker=rabbitmq|broker=redis|g" \
+                        ${destroot}${prefix}/share/ompl/ompl.conf
+                    reinplace "s|python ./omplweb.py|${prefix}/bin/python${v} ./omplweb.py|g" \
+                        ${destroot}${prefix}/share/ompl/webapp/omplweb.py
                     # extra copy of libs not needed in site_packages and causes problems with rpaths
                     set site_packages \[python_dir\]
                     delete ${destroot}\${site_packages}/ompl/util/libompl.dylib \
@@ -111,6 +123,8 @@
                 }
             } else {
                 post-destroot {
+                    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python${v}|g" \
+                        ${destroot}${prefix}/bin/ompl_benchmark_statistics.py
                     # extra copy of libs not needed in site_packages and causes problems with rpaths
                     set site_packages \[python_dir\]
                     delete ${destroot}\${site_packages}/ompl/util/libompl.dylib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/2da26e84/attachment.html>


More information about the macports-changes mailing list