<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/513152f2241e6eb9845e758b94b91c196b3e4b9c">https://github.com/macports/macports-ports/commit/513152f2241e6eb9845e758b94b91c196b3e4b9c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 513152f2241e6eb9845e758b94b91c196b3e4b9c
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sat Nov 12 16:20:30 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> py-openbabl: update to version 2.4.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add missing build dependencies, remove outdated Id tag line.
</span>---
python/py-openbabel/Portfile | 22 +++++++++-------
python/py-openbabel/files/patch-shared_ptr.diff | 34 -------------------------
2 files changed, 13 insertions(+), 43 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-openbabel/Portfile b/python/py-openbabel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8f01971..f1c2378 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-openbabel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-openbabel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,4 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +6,7 @@ PortGroup python 1.0
</span> # Keep relevant lines in sync between openbabel and py-openbabel.
name py-openbabel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.3.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.4.1
</span> categories-append science chemistry devel
platforms darwin freebsd
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,20 +28,25 @@ master_sites sourceforge:project/openbabel/openbabel/${version}
</span> distname openbabel-${version}
dist_subdir openbabel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 dc9aa026a81b987b08c60709a624a192418ee7fb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 4eaca26679aa6cc85ebf96af19191472ac63ca442c36b0427b369c3a25705188
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 317c15ebbe7f2f86c5ec7d54230487853545cfc4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 204136582cdfe51d792000b20202de8950218d617fd9c6e18cee36706a376dfc
</span>
python.versions 27
worksrcdir ${distname}/scripts/python
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.dir ${workpath}/${distname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-shared_ptr.diff
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build port:eigen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:eigen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:swig-python
</span>
depends_lib-append port:openbabel
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach ifile {openbabel-python.i stereo.i} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/../$ifile ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
build.env-append OPENBABEL_INSTALL=${prefix}
build.target build_ext
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,7 +55,7 @@ if {${name} ne ${subport}} {
</span> post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} README ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} README.rst ${destroot}${docdir}
</span> }
livecheck.type none
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-openbabel/files/patch-shared_ptr.diff b/python/py-openbabel/files/patch-shared_ptr.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0b1b81d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-openbabel/files/patch-shared_ptr.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,34 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -ur ../openbabel-2.3.1-orig/include/openbabel/obmolecformat.h ./include/openbabel/obmolecformat.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- ../openbabel-2.3.1-orig/include/openbabel/obmolecformat.h 2010-10-10 04:05:12.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ ./include/openbabel/obmolecformat.h 2014-05-29 12:05:22.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -23,7 +23,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <hash_map>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if __GNUC__ == 4 && __GNUC_MINOR__ >= 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <ciso646> // detect std::lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifdef _LIBCPP_VERSION
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <unordered_map>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#elif __GNUC__ == 4 && __GNUC_MINOR__ >= 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <tr1/unordered_map>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(USE_BOOST)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <boost/tr1/unordered_map.hpp>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff -ur ../openbabel-2.3.1-orig/include/openbabel/shared_ptr.h ./include/openbabel/shared_ptr.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- ../openbabel-2.3.1-orig/include/openbabel/shared_ptr.h 2011-10-12 22:24:02.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ ./include/openbabel/shared_ptr.h 2014-05-29 12:00:36.000000000 +0200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -22,9 +22,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <memory>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #if __GNUC__ == 4 //&& __GNUC_MINOR__ < 3 removed at the suggestion of Konstantin Tokarev
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- #include <tr1/memory>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #ifdef _LIBCPP_VERSION
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ using std::shared_ptr;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <tr1/memory>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ using std::tr1::shared_ptr;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- using std::tr1::shared_ptr;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif // OB_SHARED_PTR_H
</span></pre><pre style='margin:0'>
</pre>