<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/d15dfe3f294987a169a298bc2f4d26dec6d57693">https://github.com/macports/macports-ports/commit/d15dfe3f294987a169a298bc2f4d26dec6d57693</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d15dfe3f294987a169a298bc2f4d26dec6d57693
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun Jun 24 12:49:12 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> meson: update to version 0.46.1
</span>---
devel/meson/Portfile | 11 ++++-------
devel/meson/files/depfixer.patch | 33 ---------------------------------
2 files changed, 4 insertions(+), 40 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/meson/Portfile b/devel/meson/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c88e836..8972896 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/meson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/meson/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,7 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup mesonbuild meson 0.46.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mesonbuild meson 0.46.1
</span> license Apache-2
categories devel python
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +22,9 @@ long_description Meson is a build system designed to optimize programmer p
</span>
github.tarball_from releases
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 98075de5e74ed83480f93e472c25cd6515156eb8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b7df91b01a358a8facdbfa33596a47cda38a760435ab55e1985c0bff06a9cbf0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1200001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f0e822e1927fcbc17bdf47a37534a234ae3392a7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 19497a03e7e5b303d8d11f98789a79aba59b5ad4a81bd00f4d099be0212cee78 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1203713
</span>
# as of verison 0.45.0,requires python 3.5 or better
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,8 +38,6 @@ depends_build-append \
</span> depends_lib-append \
port:ninja
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles depfixer.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
set python_prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
foreach bname {meson mesonconf mesonintrospect mesontest wraptool} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/meson/files/depfixer.patch b/devel/meson/files/depfixer.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 014e4a3..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/meson/files/depfixer.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,33 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix depfixer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/mesonbuild/meson/issues/3493
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/mesonbuild/meson/commit/d7014d1cb27c432ed35290831f7fedd301bb481e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- mesonbuild/scripts/depfixer.py.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ mesonbuild/scripts/depfixer.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -347,7 +347,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- e.fix_rpath(new_rpath)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def get_darwin_rpaths_to_remove(fname):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- out = subprocess.check_output(['otool', '-l', fname], universal_newlines=True)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ out = subprocess.check_output(['otool', '-l', fname],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ universal_newlines=True,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ stderr=subprocess.DEVNULL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- result = []
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- current_cmd = 'FOOBAR'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for line in out.split('\n'):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -371,9 +373,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- try:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for rp in rpaths:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- subprocess.check_call(['install_name_tool', '-delete_rpath', rp, fname])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if new_rpath != '':
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- subprocess.check_call(['install_name_tool', '-add_rpath', new_rpath, fname])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ subprocess.check_call(['install_name_tool', '-delete_rpath', rp, fname],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ stdout=subprocess.DEVNULL,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ stderr=subprocess.DEVNULL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if new_rpath:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ subprocess.check_call(['install_name_tool', '-add_rpath', new_rpath, fname],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ stdout=subprocess.DEVNULL,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ stderr=subprocess.DEVNULL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- except Exception as e:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- raise
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sys.exit(0)
</span></pre><pre style='margin:0'>
</pre>