<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d56d9d96e3e88ca865b22c93e955c1cc5760b63c">https://github.com/macports/macports-ports/commit/d56d9d96e3e88ca865b22c93e955c1cc5760b63c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new d56d9d96e3e py27-twython: fix build
</span>d56d9d96e3e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d56d9d96e3e88ca865b22c93e955c1cc5760b63c
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Fri Nov 20 00:26:51 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> py27-twython: fix build
</span>---
python/py-twython/Portfile | 3 +++
python/py-twython/files/patch-ccf20e3261.diff | 29 +++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-twython/Portfile b/python/py-twython/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2419ad47c73..ac0ddb11665 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-twython/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-twython/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,5 +21,8 @@ checksums rmd160 7208e3d189b278d181a13188ad30b56e77e11b2d \
</span> size 373927
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/ryanmcgrath/twython/pull/534
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-ccf20e3261.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:py${python.version}-requests-oauthlib
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-twython/files/patch-ccf20e3261.diff b/python/py-twython/files/patch-ccf20e3261.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e671583b6cf
</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-twython/files/patch-ccf20e3261.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From ccf20e32614e3124278bbc9aabeb77866d63e167 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Christopher Toth <q.alpha@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri, 12 Jun 2020 22:06:27 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Fix to setup.py to work on Python 2 and 3
</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;'>+ setup.py | 3 ++-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 2 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git setup.py setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 3742f24..cc46495 100755
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,5 +1,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #!/usr/bin/env python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++import io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import os
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import sys
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -30,7 +31,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ url='https://github.com/ryanmcgrath/twython/tree/master',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ keywords='twitter search api tweet twython stream',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description='Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- long_description=open('README.md', encoding='utf-8').read() + '\n\n' +open('HISTORY.md', encoding='utf-8').read(),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ long_description=io.open('README.md', encoding='utf-8').read() + '\n\n' +io.open('HISTORY.md', encoding='utf-8').read(),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description_content_type='text/markdown',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include_package_data=True,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ packages=packages,
</span></pre><pre style='margin:0'>
</pre>