<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/231394aa0facd86680d2134fb02ce5d412903069">https://github.com/macports/macports-ports/commit/231394aa0facd86680d2134fb02ce5d412903069</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 231394aa0facd86680d2134fb02ce5d412903069
</span>Author: Andrew Stromnov <stromnov@gmail.com>
AuthorDate: Sun Mar 12 22:20:39 2017 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-testpath: new port
</span>---
python/py-testpath/Portfile | 37 +++++++++++++++++++++++++++++++++++++
python/py-testpath/files/setup.py | 22 ++++++++++++++++++++++
2 files changed, 59 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-testpath/Portfile b/python/py-testpath/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7778b8c
</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-testpath/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,37 @@
</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;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup jupyter testpath 0.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-testpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append devel
</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;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers stromnov openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Test utilities for code working with files and commands.
</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/jupyter/testpath
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 32901112955409d17791f8872ff52e54e36c4d59 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e0d074ff39af40e976072c8d076b25a2e9870ba24ca8b2ffc800a4cae58588cd
</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;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${filespath}/setup.py ${worksrcpath}
</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;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@VERSION@|${version}|g" ${worksrcpath}/setup.py
</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-testpath/files/setup.py b/python/py-testpath/files/setup.py
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..47e61ce
</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-testpath/files/setup.py
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+from distutils.core import setup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+with open("README.rst", "r") as f:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ readme = f.read()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+setup(name='testpath',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version='@VERSION@',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description='Test utilities for code working with files and commands',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description = readme,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ author='Thomas Kluyver',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ author_email='thomas@kluyver.me.uk',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ url='https://github.com/takluyver/testpath',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ packages=['testpath'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ classifiers=[
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Intended Audience :: Developers',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'License :: OSI Approved :: MIT License',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Programming Language :: Python',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Programming Language :: Python :: 2',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Programming Language :: Python :: 3',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Topic :: Software Development :: Testing',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+)
</span></pre><pre style='margin:0'>
</pre>