<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/ac15c2e98b09a61bba961c6a169c28b6aa80fbf4">https://github.com/macports/macports-ports/commit/ac15c2e98b09a61bba961c6a169c28b6aa80fbf4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ac15c2e98b09a61bba961c6a169c28b6aa80fbf4
</span>Author: Andrew Stromnov <stromnov@gmail.com>
AuthorDate: Wed Dec 28 16:58:13 2016 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-ipython: add py36 subport
</span>---
python/py-ipython/Portfile | 3 +--
.../files/patch-IPython_utils_terminal.py.diff | 21 ---------------------
python/py-ipython/files/py36-ipython | 3 +++
python/py-ipython/files/py36-ipython3 | 3 +++
4 files changed, 7 insertions(+), 23 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ipython/Portfile b/python/py-ipython/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f158a2a..27b7b9ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ipython/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ipython/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,4 @@
</span> # -*- 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 style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,7 +13,7 @@ platforms darwin
</span> license BSD
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36
</span>
maintainers aronnax sean stromnov openmaintainer
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ipython/files/patch-IPython_utils_terminal.py.diff b/python/py-ipython/files/patch-IPython_utils_terminal.py.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 13f6dd2..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ipython/files/patch-IPython_utils_terminal.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,21 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- IPython/utils/terminal.py.orig 2016-04-22 11:18:57.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ IPython/utils/terminal.py 2016-04-22 11:23:21.000000000 +0300
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -24,7 +24,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import struct
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import sys
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import warnings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--import backports.shutil_get_terminal_size
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+if sys.version_info >= (3, 3):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ from shutil import get_terminal_size as _get_terminal_size
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+else:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- from . import py3compat
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -122,4 +126,4 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- def get_terminal_size(defaultx=80, defaulty=25):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return backports.shutil_get_terminal_size.get_terminal_size((defaultx, defaulty))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return _get_terminal_size((defaultx, defaulty))
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ipython/files/py36-ipython b/python/py-ipython/files/py36-ipython
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fc3c709
</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-ipython/files/py36-ipython
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,3 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.6/bin/iptest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.6/bin/ipython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.6/share/man/man1/ipython.1
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ipython/files/py36-ipython3 b/python/py-ipython/files/py36-ipython3
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..324bdad
</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-ipython/files/py36-ipython3
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,3 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.6/bin/iptest3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.6/bin/ipython3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${frameworks_dir}/Python.framework/Versions/3.6/share/man/man1/ipython.1
</span></pre><pre style='margin:0'>
</pre>