<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/8c935364e37e6fba2515116295572255f702a633">https://github.com/macports/macports-ports/commit/8c935364e37e6fba2515116295572255f702a633</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 8c935364e37 py-gnureadline: update to 8.1.2
</span>8c935364e37 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 8c935364e37e6fba2515116295572255f702a633
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Oct 13 09:55:06 2022 +1100

<span style='display:block; white-space:pre;color:#404040;'>    py-gnureadline: update to 8.1.2
</span>---
 python/py-gnureadline/Portfile             | 23 ++++++++++++-----------
 python/py-gnureadline/files/build.sh.patch | 12 ++++++------
 python/py-gnureadline/files/setup.py.patch |  8 ++++----
 3 files changed, 22 insertions(+), 21 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 a22f3a76193..26c084683e2 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;'>@@ -4,29 +4,30 @@ PortSystem          1.0
</span> PortGroup           python 1.0
 
 name                py-gnureadline
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             8.0.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             8.1.2
</span> license             GPL-3+ PSF
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions     27 35 36 37 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions     27 36 37 38 39 310
</span> 
 maintainers         {stromnov @stromnov} openmaintainer
 
 description         Python readline extension.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description    ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description    {*}${description}
</span> 
 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:#ffe0e0;'>-distname            ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  29724774580c982f2f5ad076f5ecaf79f4183f8c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  61eef72ed02dad415ede49752e972a1d2bd8c35c1e4464565d7effd806c99476 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    3056344
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           md5 28839a3424012f3532213f1717d7e3ae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    rmd160 4651fd0cfa6106e0a82b6f3ac2c926a4bead353c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256 4262a6aa356ab22ef642f43a7f94eb42a72d6f0c532edb4e8c6b933f573056d2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size   3111003
</span> 
 if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${python.version} >= 36} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        python.pep517   yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_build-append \
</span>                         port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span>     depends_lib-append  port:ncurses
 
     patchfiles          build.sh.patch \
<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 e1b79203742..70c5185b1a5 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;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- rl/build.sh.orig       2015-10-13 01:59:32.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ rl/build.sh    2017-09-08 09:58:13.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- rl/build.sh.orig       2022-06-14 08:42:13.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ rl/build.sh    2022-10-13 08:37:51.000000000 +1100
</span> @@ -14,34 +14,6 @@
        echo "Using compiler $osx_compiler on OS X"
        # Parse output of cc -v to guess real compiler (works with clang and gcc, at least)
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@
</span> - echo $'#include <stdio.h>\nint main() {\n  printf("Hello world\\n");\n}' > test.c
 -      # Find out which architectures are supported by doing a test compile AND link per arch
 -  arch_flags=''
<span style='display:block; white-space:pre;background:#ffe0e0;'>--       for arch in i386 x86_64 ppc ppc64; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  for arch in i386 x86_64 arm64; do
</span> -         arch_flag=' -arch '$arch
 -              if ${CC-cc} $arch_flag test.c 2> /dev/null; then
 -                      arch_flags+=$arch_flag
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,9 +35,9 @@
</span>  fi
  
  rm -rf readline-lib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -57,6 +29,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch -p0 < ../readline63-007
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch -p0 < ../readline63-008
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -51,6 +23,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch -p0 < ../readline81-001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch -p0 < ../readline81-002
</span>  # Force compiler to CC/cc in the case of Darwin
 -./configure CPPFLAGS='-DNEED_EXTERN_PC -fPIC' $cc_override
 +export CFLAGS="$CFLAGS __OPTFLAGS__ -fPIC"
<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 a357276b2ce..30e691daea8 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,8 +1,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig  2017-10-20 20:13:46.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py       2018-08-06 00:39:12.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig  2022-06-14 08:42:13.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py       2022-10-13 09:38:47.000000000 +1100
</span> @@ -120,6 +120,7 @@
<span style='display:block; white-space:pre;background:#ffe0e0;'>-     license="GNU GPL",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-     platforms=['MacOS X', 'Posix'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     maintainer_email="ludwig.schwardt@gmail.com, srid@srid.ca",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     url="http://github.com/ludwigschwardt/python-gnureadline",
</span>      include_package_data=True,
 +    extra_path = 'readline',
      py_modules=['readline'],
</pre><pre style='margin:0'>

</pre>