<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/82983f396e5a11373fae8b22d2268d528d60a4a2">https://github.com/macports/macports-ports/commit/82983f396e5a11373fae8b22d2268d528d60a4a2</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 82983f3 py-gnureadline: update to 6.3.8
</span>82983f3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 82983f396e5a11373fae8b22d2268d528d60a4a2
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Aug 9 07:46:24 2018 +1000
<span style='display:block; white-space:pre;color:#404040;'> py-gnureadline: update to 6.3.8
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/56917
</span>---
python/py-gnureadline/Portfile | 16 +++++++++-------
python/py-gnureadline/files/build.sh.patch | 2 +-
python/py-gnureadline/files/setup.py.patch | 8 ++++----
3 files changed, 14 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gnureadline/Portfile b/python/py-gnureadline/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f03455f..793d077 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gnureadline/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gnureadline/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,11 +2,9 @@
</span>
PortSystem 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup ludwigschwardt python-gnureadline 38f917de65ff089a22d551775f41a7300eb13010
</span> name py-gnureadline
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 6.3.3-20151013
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 6.3.8
</span> platforms darwin
license GPL-3+ PSF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,12 +16,12 @@ description Python readline extension.
</span> long_description ${description}
homepage https://github.com/ludwigschwardt/python-gnureadline
<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:#e0ffe0;'>+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:#e0ffe0;'>+distname ${python.rootname}-${version}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e3b7deebaffdea0a35720bf3b49c1c94f73d13bf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2853f006fca2532ea48a9fadf594590b7b3bc43f494ad5c4d53652961eb38519
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ac18527b4dd2de0abc12e5744459370133edbb87 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 58e208ed34a53456ecf58bc11eacbe332c50d322b329457e2c645bd15192b035
</span>
if {${name} ne ${subport}} {
depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,6 +31,10 @@ if {${name} ne ${subport}} {
</span> patchfiles build.sh.patch \
setup.py.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__OPTFLAGS__|${configure.optflags}|" ${worksrcpath}/rl/build.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
copy -force ${filespath}/readline.pth ${filespath}/readline_path.py \
${destroot}${python.pkgd}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gnureadline/files/build.sh.patch b/python/py-gnureadline/files/build.sh.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index cf5bc09..e1b7920 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gnureadline/files/build.sh.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gnureadline/files/build.sh.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,7 +40,7 @@
</span> patch -p0 < ../readline63-008
# Force compiler to CC/cc in the case of Darwin
-./configure CPPFLAGS='-DNEED_EXTERN_PC -fPIC' $cc_override
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+export CFLAGS="$CFLAGS -fPIC"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++export CFLAGS="$CFLAGS __OPTFLAGS__ -fPIC"
</span> +export CPPFLAGS="$CPPFLAGS -DNEED_EXTERN_PC"
+./configure $cc_override
# Only the static libraries are required
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-gnureadline/files/setup.py.patch b/python/py-gnureadline/files/setup.py.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d9a786..a357276 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-gnureadline/files/setup.py.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-gnureadline/files/setup.py.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig 2015-10-13 01:59:32.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py 2017-09-08 09:38:39.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -117,6 +117,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig 2017-10-20 20:13:46.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2018-08-06 00:39:12.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -120,6 +120,7 @@
</span> license="GNU GPL",
platforms=['MacOS X', 'Posix'],
include_package_data=True,
+ extra_path = 'readline',
py_modules=['readline'],
<span style='display:block; white-space:pre;background:#ffe0e0;'>- cmdclass={'build_ext' : build_ext_subclass},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmdclass={'build_ext': build_ext_subclass},
</span> ext_modules=[
</pre><pre style='margin:0'>
</pre>