<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e8dfff92705f8109dda086afc052e4d1711c339f">https://github.com/macports/macports-ports/commit/e8dfff92705f8109dda086afc052e4d1711c339f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e8dfff92705f8109dda086afc052e4d1711c339f
</span>Author: reneeotten <reneeotten@users.noreply.github.com>
AuthorDate: Fri Oct 26 17:32:33 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-numdifftools: new port, version 0.9.20
</span>---
python/py-numdifftools/Portfile | 47 ++++++++++++++++++++++
.../files/patch-remove-pyscaffold.diff | 16 ++++++++
2 files changed, 63 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-numdifftools/Portfile b/python/py-numdifftools/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..dd9a625
</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-numdifftools/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,47 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-numdifftools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append math
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:ottenr.work @reneeotten} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Solve automatic numerical differentiation problems in one or more variables.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/pbrod/numdifftools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b501dc1d3b3d70a2416ddd1d03543b401ac8784c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a6af9a28851cc9a207720d949b34b6ac70f0bccb365d9df3c6ef3ffd91176257 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3049850
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 36 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-remove-pyscaffold.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</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}-algopy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-numpy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-scipy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-six
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} AUTHORS.rst LICENSE.txt CHANGES.rst \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ README.rst ${destroot}${docdir}
</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;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-numdifftools/files/patch-remove-pyscaffold.diff b/python/py-numdifftools/files/patch-remove-pyscaffold.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2117018
</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-numdifftools/files/patch-remove-pyscaffold.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2018-11-08 10:01:32.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2018-11-08 10:02:51.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -59,10 +59,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def setup_package():
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sphinx = ['sphinx', 'numpydoc', 'sphinx_rtd_theme>=0.1.7'] if needs_sphinx else []
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- setup(setup_requires=['six', 'pyscaffold>=2.4rc1,<2.5a0'] + sphinx,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ setup(setup_requires=['six'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tests_require=['pytest_cov', 'pytest', 'hypothesis', 'matplotlib'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- use_pyscaffold=True)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- print_version()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ packages=['numdifftools', 'numdifftools.tests'])
</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 __name__ == "__main__":
</span></pre><pre style='margin:0'>
</pre>