<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bf0a5f899576b7c15e6e394f36a733606c44d348">https://github.com/macports/macports-ports/commit/bf0a5f899576b7c15e6e394f36a733606c44d348</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bf0a5f899576b7c15e6e394f36a733606c44d348
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Fri Feb 15 21:41:04 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-hgexperimental: update to 0.0.20181109
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - bump version to 0.0.20181109
</span><span style='display:block; white-space:pre;color:#404040;'> - mercurial-devel obsolete
</span><span style='display:block; white-space:pre;color:#404040;'> - temporary patch for the following build error
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> 'register' storage class specifier is deprecated and incompatible with C++17
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see upstream issue https://bitbucket.org/facebook/hg-experimental/issues/15/build-fail-on-macos-1014
</span>---
python/py-hgexperimental/Portfile | 15 ++++++++++-----
python/py-hgexperimental/files/patch-setup.py.diff | 18 ++++++++++++++++++
2 files changed, 28 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-hgexperimental/Portfile b/python/py-hgexperimental/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 700c9cc..828396b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-hgexperimental/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-hgexperimental/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,8 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup bitbucket 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-bitbucket.setup facebook hg-experimental c5da191d0af2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.0.20180223
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+bitbucket.setup facebook hg-experimental 05ed5d06b353
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.0.20181109
</span> name py-hgexperimental
categories-append devel
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,18 +18,23 @@ description This is a collection of proof-of-concept Mercurial \
</span> backups, and fbamend.
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 39c43b4a1ac0635867de8d0c8bc04f0676bb492c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d28de8ed29f4ad6a4b680a9f05c21898fa17a8016cecda72d326fe741f92958d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b9214c19753f59e336239b1cfb255902fb5fc7b7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ecb2095113b966074c3a2e1e0bdf36c9aba5afeafebe1dbc8308668a4fc1bad4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 935261
</span>
python.versions 27
if {${name} ne ${subport}} {
depends_build-append \
bin:cargo:cargo
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:bin/hg:mercurial \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:mercurial \
</span> port:py27-cython \
port:lz4
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix error: 'register' storage class specifier is deprecated and incompatible with C++17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see upstream issue https://bitbucket.org/facebook/hg-experimental/issues/15/build-fail-on-macos-1014
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set sp ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-hgexperimental/files/patch-setup.py.diff b/python/py-hgexperimental/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9b0f1f5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-hgexperimental/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2019-03-01 11:39:55.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2019-03-01 11:54:55.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10,6 +10,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ iswindows = os.name == 'nt'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WERROR = "/WX" if iswindows else "-Werror"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++WNOREGISTER = "" if iswindows else "-Wno-error=deprecated-register"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WSTRICTPROTOTYPES = None if iswindows else "-Werror=strict-prototypes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WALL = "/Wall" if iswindows else "-Wall"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ STDC99 = "" if iswindows else "-std=c99"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -86,6 +87,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags.extend([NOOPTIMIZATION, PRODUCEDEBUGSYMBOLS])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags.append(WERROR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cflags.append(WNOREGISTER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def get_env_path_list(var_name, default=None):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ '''Get a path list from an environment variable. The variable is parsed as
</span></pre><pre style='margin:0'>
</pre>