<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/9beeded98a3eba28030e4993153a037366f5bda5">https://github.com/macports/macports-ports/commit/9beeded98a3eba28030e4993153a037366f5bda5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9beeded98a3eba28030e4993153a037366f5bda5
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Sep 8 10:18:38 2017 +1000
<span style='display:block; white-space:pre;color:#404040;'> py-readline: replaced_by py-gnureadline
</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/44206
</span>---
python/py-readline/Portfile | 45 +++++++--------------------------------------
1 file changed, 7 insertions(+), 38 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-readline/Portfile b/python/py-readline/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3db2084..d3dfad5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-readline/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-readline/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,47 +1,16 @@
</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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
name py-readline
version 6.2.4.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3+ PSF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 26 27 34 35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by py-gnureadline
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description GNU readline extension for Python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${description}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://github.com/ludwigschwardt/python-readline
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:r/readline/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname readline-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 932c96cce3475344e4f5d7defc162d21f0acc79e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e00f86e03dfe52e7d1502cec5c64070b32621c85509c0081a4cfa6a0294bd107
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:ncurses
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles build.sh.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- setup.py.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy -force ${filespath}/readline.pth ${filespath}/readline_path.py \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${python.pkgd}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__LIBDIR__|${python.libdir}|" ${destroot}${python.pkgd}/readline_path.py
</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;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://pypi.python.org/pypi/readline/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex {readline-(\d+(?:\.\d+)*)\.[tz]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach v {26 27 34 35 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport py${v}-readline "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by py${v}-gnureadline
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span> }
</pre><pre style='margin:0'>
</pre>