<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/70b0d6fc2695bf0aef893fb69c303b870bc94428">https://github.com/macports/macports-ports/commit/70b0d6fc2695bf0aef893fb69c303b870bc94428</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 70b0d6f lensfun: use latest python (3.6)
</span>70b0d6f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 70b0d6fc2695bf0aef893fb69c303b870bc94428
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Jul 8 17:19:34 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> lensfun: use latest python (3.6)
</span>---
graphics/lensfun/Portfile | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/lensfun/Portfile b/graphics/lensfun/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index adaa512..5b6b28a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/lensfun/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/lensfun/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ cmake.out_of_source yes
</span> name lensfun
epoch 1
version 0.3.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories graphics
platforms darwin
maintainers {devans @dbevans} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,17 +39,20 @@ depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span> port:libpng \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_version 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_branch [string range ${python_version} 0 end-1].[string index ${python_version} end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # installs python3 helper scripts lensfun-add-adapter lensfun-update-data
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:python35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:python${python_version}
</span>
patchfiles patch-docs-CMakeLists.txt.diff \
patch-apps-CMakeLists.txt.diff
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|^#!.*|#!${prefix}/bin/python3.5|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|^#!.*|#!${prefix}/bin/python${python_branch}|" \
</span> ${worksrcpath}/apps/lensfun-add-adapter \
${worksrcpath}/apps/lensfun-update-data
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@PYTHON_VERSION@@|3.5|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PYTHON_VERSION@@|${python_branch}|" \
</span> ${worksrcpath}/docs/CMakeLists.txt \
${worksrcpath}/apps/CMakeLists.txt
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,12 +60,12 @@ post-patch {
</span> configure.args-append \
-DBUILD_LENSTOOL=ON \
-DINSTALL_HELPER_SCRIPTS=ON \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DSETUP_PY_INSTALL_PREFIX=${destroot}${frameworks_dir}/Python.framework/Versions/3.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DSETUP_PY_INSTALL_PREFIX=${destroot}${frameworks_dir}/Python.framework/Versions/${python_branch}
</span>
variant doc description {Build API and man documentation using doxygen, rst2man} {
depends_build-append \
port:doxygen \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py35-docutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python_version}-docutils
</span>
configure.args-append \
-DBUILD_DOC=ON
</pre><pre style='margin:0'>
</pre>