<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/c993a722c47f4b8245592ed230de8a61e66e19cd">https://github.com/macports/macports-ports/commit/c993a722c47f4b8245592ed230de8a61e66e19cd</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 c993a72 py-SDL2: update to 0.9.7
</span>c993a72 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c993a722c47f4b8245592ed230de8a61e66e19cd
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Feb 16 02:19:30 2020 +1100
<span style='display:block; white-space:pre;color:#404040;'> py-SDL2: update to 0.9.7
</span>---
python/py-SDL2/Portfile | 14 ++++++++------
python/py-SDL2/files/dll.py.patch | 30 ++++++++++++++++--------------
2 files changed, 24 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-SDL2/Portfile b/python/py-SDL2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6076a7f..c228748 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-SDL2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-SDL2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,8 @@
</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 marcusva py-sdl2 0_9_6 rel_
</span> name py-SDL2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version [string map {_ .} ${github.version}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.7
</span> categories-append devel multimedia
license public-domain
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,10 +14,14 @@ long_description \
</span> discontinued PySDL project. In contrast to PySDL, it has no licensing \
restrictions, nor does it rely on C code, but uses ctypes instead.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 875770a7d077736c6fedb1554a39ea7f04822db1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 57a1e9ae229b21a22fd5cef96a97328bdcc4b16d1ca53ec805b1fab734ba523c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname PySDL2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://pypi.org/project/${python.rootname}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 33 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 e77e9c15589e15b6c877555f34a429ab \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e42e56957064a05ccfbbc133dc6615aae05e97bd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e4fcc8aa1108e4917cb56794575ee08c2a3d9c2c52620474e3ecc8538dadf209
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36 37 38
</span>
if {$subport ne $name} {
depends_lib-append port:libsdl2 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-SDL2/files/dll.py.patch b/python/py-SDL2/files/dll.py.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 37efb64..95990f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-SDL2/files/dll.py.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-SDL2/files/dll.py.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +1,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- sdl2/dll.py.orig 2014-05-31 18:34:13.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ sdl2/dll.py 2014-07-10 04:25:40.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -33,6 +33,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dllfile = os.path.join(subpath, pattern % libname)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if os.path.exists(dllfile):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- results.append(dllfile)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # MacPorts addition: search in our prefix first
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for libname in searchfor:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dllfile = os.path.join('__PREFIX__', 'lib', pattern % libname)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if os.path.exists(dllfile):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ results.append(dllfile)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for libname in searchfor:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dllfile = find_library(libname)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if dllfile:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sdl2/dll.py.orig 2020-02-15 19:36:29.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sdl2/dll.py 2020-02-16 02:07:48.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -74,6 +74,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ versioned.sort(key = _so_version_num, reverse = True)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ results = results + versioned
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # MacPorts addition: search in our prefix first
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for libname in searchfor:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for pattern in patterns:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dllfile = os.path.join("__PREFIX__", "lib", pattern.format(libname))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if os.path.exists(dllfile):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ results.append(dllfile)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Finally, search for library in system library search paths
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for libname in searchfor:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dllfile = find_library(libname)
</span></pre><pre style='margin:0'>
</pre>