<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/37768de323fa264e153f32e985c45811ce7b7baf">https://github.com/macports/macports-ports/commit/37768de323fa264e153f32e985c45811ce7b7baf</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 37768de323fa264e153f32e985c45811ce7b7baf
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Thu Apr 4 17:18:24 2019 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pylibmc: update to 1.6.0, add py37
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - add explicit dependency on zlib
</span><span style='display:block; white-space:pre;color:#404040;'> - refresh patch
</span><span style='display:block; white-space:pre;color:#404040;'> - update hompage
</span><span style='display:block; white-space:pre;color:#404040;'> - use default PyPI livecheck
</span><span style='display:block; white-space:pre;color:#404040;'> - install files in post-destroot
</span>---
python/py-pylibmc/Portfile | 26 ++++++++++++++--------
python/py-pylibmc/files/patch-pylibmcmodule.c.diff | 8 +++----
2 files changed, 21 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pylibmc/Portfile b/python/py-pylibmc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 55081bd..d7f080b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pylibmc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pylibmc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,8 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-pylibmc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.5.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.6.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> license BSD
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,26 +16,33 @@ long_description pylibmc is a Python wrapper around the accompanying \
</span> C Python extension _pylibmc, which is a wrapper around \
libmemcached from TangentOrg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/pylibmc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://sendapatch.se/projects/pylibmc/
</span> master_sites pypi:p/pylibmc/
distname pylibmc-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 24ff2977e97eef5446dbc491ada668baa02c5ff3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ecba261859c3e1ba3365389cb4f4dfffb7e02120a9f57a288cacf2f42c45cdd6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 d427f286e6a8ea7c9daacce0f2b16b01f5314293 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5ef97be4ca5527d5b87dbe77cfdd94b427028caf4136feff7da23c40e1ded6d8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 65925
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36 37
</span>
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libmemcached
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libmemcached \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span>
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
patchfiles-append patch-pylibmcmodule.c.diff
}
build.target build_ext
<span style='display:block; white-space:pre;background:#ffe0e0;'>- build.args --with-libmemcached=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append --with-libmemcached=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type pypi
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pylibmc/files/patch-pylibmcmodule.c.diff b/python/py-pylibmc/files/patch-pylibmcmodule.c.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index c54d013..dfb98de 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pylibmc/files/patch-pylibmcmodule.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pylibmc/files/patch-pylibmcmodule.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- _pylibmcmodule.c.orig 2012-03-07 11:00:09.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ _pylibmcmodule.c 2012-03-07 11:03:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/_pylibmcmodule.c.orig 2018-11-09 12:42:08.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/_pylibmcmodule.c 2019-04-04 20:47:03.000000000 -0400
</span> @@ -46,6 +46,25 @@
{ Py_INCREF(obj); \
PyModule_AddObject(mod, nam, obj); }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,5 +24,5 @@
</span> + return r;
+}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- /* {{{ Type methods */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static PylibMC_Client *PylibMC_ClientType_new(PyTypeObject *type,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Some Python 3 porting stuff */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef Py_TYPE
</span></pre><pre style='margin:0'>
</pre>