<pre style='margin:0'>
Andrew Stromnov (stromnov) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e5c3bbe7181da684e743b7ce8401344136d68cbf">https://github.com/macports/macports-ports/commit/e5c3bbe7181da684e743b7ce8401344136d68cbf</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e5c3bbe7181da684e743b7ce8401344136d68cbf
</span>Author: Andrey Stromnov <stromnov@macports.org>
AuthorDate: Fri Mar 12 13:29:38 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-magic: update to 0.4.22
</span>---
python/py-magic/Portfile | 14 +++++++-------
.../{patch-magic.py.diff => patch-magic_loader.py.diff} | 0
2 files changed, 7 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-magic/Portfile b/python/py-magic/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cd7a7f62ea1..b1b979a2962 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-magic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-magic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,14 +5,14 @@ PortGroup python 1.0
</span>
name py-magic
python.rootname python-magic
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.4.18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.4.22
</span> revision 0
categories-append devel
platforms darwin
license MIT
supported_archs noarch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36 37 38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 35 36 37 38 39
</span>
maintainers {stromnov @stromnov} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,19 +24,19 @@ long_description Determines the mime type of a file using magic \
</span>
homepage https://github.com/ahupp/python-magic
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 54bd572566e60eec7e8b2652ecc6d287ff300d56 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 b757db2a5289ea3f1ced9e60f072965243ea43a2221430048fd8cacab17be0ce \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 11442
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3a90368e41f15584565321408145ba481e6c3680 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ca884349f2c92ce830e3f498c5b7c7051fe2942c3ee4332f65213b8ebff15a62 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 16964
</span>
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:file
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-magic.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles patch-magic_loader.py.diff
</span>
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E "s:__PREFIX__:${prefix}:g" ${worksrcpath}/magic.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s:__PREFIX__:${prefix}:g" ${worksrcpath}/magic/loader.py
</span> }
livecheck.type none
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-magic/files/patch-magic.py.diff b/python/py-magic/files/patch-magic_loader.py.diff
</span>similarity index 100%
rename from python/py-magic/files/patch-magic.py.diff
rename to python/py-magic/files/patch-magic_loader.py.diff
</pre><pre style='margin:0'>
</pre>