<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/04c8574a481c8ea7c677421c5960671d86823810">https://github.com/macports/macports-ports/commit/04c8574a481c8ea7c677421c5960671d86823810</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 04c8574a481c8ea7c677421c5960671d86823810
</span>Author: Andrey Stromnov <stromnov@macports.org>
AuthorDate: Wed Jan 22 13:02:10 2020 +0300

<span style='display:block; white-space:pre;color:#404040;'>    py-nbformat: update to 5.0.3
</span>---
 python/py-nbformat/Portfile                  | 26 ++++++++++++++++++--------
 python/py-nbformat/files/patch-setup.py.diff | 12 ++++++++++++
 2 files changed, 30 insertions(+), 8 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-nbformat/Portfile b/python/py-nbformat/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 937c5e6..0b39e79 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-nbformat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-nbformat/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem          1.0
</span> PortGroup           python 1.0
 
 name                py-nbformat
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             4.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             5.0.3
</span> revision            0
 platforms           darwin
 license             BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,16 +18,26 @@ description         The Jupyter Notebook format.
</span> long_description    ${description}
 
 homepage            https://jupyter.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  8317a6ae2072eeb3a860dbe4080a918cdd203e51 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    113683
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  82c87a80ecc862dc687ff4360ac841650aa9f8a9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  cca9a1acfd4e049dcd6c3628d3c84db8e48a770182fb7b87d6a62f9ceacfae39 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    111395
</span> 
 if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_lib-append  port:py${python.version}-ipython_genutils \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${python.version} <= 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        version             4.4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        distname            ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        checksums           rmd160  8317a6ae2072eeb3a860dbe4080a918cdd203e51 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            sha256  f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            size    113683
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append  port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        port:py${python.version}-ipython_genutils \
</span>                         port:py${python.version}-traitlets \
                         port:py${python.version}-jsonschema \
                         port:py${python.version}-jupyter_core
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-nbformat/files/patch-setup.py.diff b/python/py-nbformat/files/patch-setup.py.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2ae4b41
</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-nbformat/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig  2020-01-22 12:59:20.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py       2020-01-22 12:59:33.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -83,8 +83,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     ],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    import setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++import setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ setuptools_args = {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install_requires = setuptools_args['install_requires'] = [
</span></pre><pre style='margin:0'>

</pre>