<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/72e6559cd46bd63af8bb5e00528df22b10186253">https://github.com/macports/macports-ports/commit/72e6559cd46bd63af8bb5e00528df22b10186253</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 72e6559 py-poppler-qt5: add py36, require C++11
</span>72e6559 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 72e6559cd46bd63af8bb5e00528df22b10186253
</span>Author: Davide Liessi <davide.liessi@gmail.com>
AuthorDate: Sat Nov 25 11:48:55 2017 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-poppler-qt5: add py36, require C++11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Add py36-poppler-qt5 subport
</span><span style='display:block; white-space:pre;color:#404040;'> * Require C++11
</span><span style='display:block; white-space:pre;color:#404040;'> * Use pypi-style livecheck
</span>---
python/py-poppler-qt5/Portfile | 24 ++++++++++++------------
python/py-poppler-qt5/files/patch-fix-cxx11.diff | 10 ++++++++++
2 files changed, 22 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-poppler-qt5/Portfile b/python/py-poppler-qt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b526927..da088b3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-poppler-qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-poppler-qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,33 +3,34 @@
</span> PortSystem 1.0
PortGroup qt5 1.0
PortGroup python 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set _name python-poppler-qt5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set _n [string index ${_name} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
name py-poppler-qt5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+python.rootname python-poppler-qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set _n [string index ${python.rootname} 0]
</span> version 0.24.2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> platforms darwin
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers gmail.com:davide.liessi openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:davide.liessi @dliessi} openmaintainer
</span>
description Python binding for Poppler-Qt5
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${_name} is a Python binding for Poppler-Qt5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${python.rootname} is a Python binding for Poppler-Qt5 \
</span> that aims for completeness \
and for being actively maintained. \
Using this module you can access \
the contents of PDF files \
inside PyQt5 applications.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://github.com/wbsoft/${_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:${_n}/${_name}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${_name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/wbsoft/${python.rootname}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites pypi:${_n}/${python.rootname}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${python.rootname}-${version}
</span>
checksums md5 1f45ed0f7f3cacc1d0f9e626bd5fb5c8 \
rmd160 baa134c6a9e466dddcb15a23f7238b88d1eed8af \
sha256 3970c35ce1f0f1464a6c2746bea4c479b9780b4e17030c92479f7f1738a5c950
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36
</span>
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +42,7 @@ if {${name} ne ${subport}} {
</span>
patchfiles patch-fix-qtxml.diff \
patch-fix-qt-dirs.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix-cxx11.diff \
</span> patch-fix-demo.diff
post-patch {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +65,5 @@ if {${name} ne ${subport}} {
</span>
livecheck.type none
} else {
<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/${_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type pypi
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-poppler-qt5/files/patch-fix-cxx11.diff b/python/py-poppler-qt5/files/patch-fix-cxx11.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..369070c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-poppler-qt5/files/patch-fix-cxx11.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -114,6 +114,7 @@ def pkg_config_version(package):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sys.stderr.write("Can't determine version of %s\n" % package)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ext_args = {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ext_args['extra_compile_args'] = ['-std=c++11']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pkg_config('poppler-qt5', ext_args)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if 'libraries' not in ext_args:
</span></pre><pre style='margin:0'>
</pre>