<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bb83e8275dffd07a49577e5d7208b28799a15f9a">https://github.com/macports/macports-ports/commit/bb83e8275dffd07a49577e5d7208b28799a15f9a</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 bb83e82 py-pyside2: new port
</span>bb83e82 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bb83e8275dffd07a49577e5d7208b28799a15f9a
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Aug 24 16:38:16 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-pyside2: new port
</span>---
python/py-pyside2/Portfile | 88 ++++++++++++++++++++++
.../py-pyside2/files/patch-find-llvm-config.diff | 11 +++
2 files changed, 99 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyside2/Portfile b/python/py-pyside2/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..0ac47b3
</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-pyside2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,88 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#-*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-pyside2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.11.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append devel aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {pmetzger @pmetzger} {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Python bindings for the Qt cross-platform application and UI framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://wiki.qt.io/Qt_for_Python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see ${worksrcdir}/sources/pyside2/PySide2/licensecomment.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {GPL-2 GPL-3+ LGPL-3}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname pyside-setup-everywhere-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 3c516f6d33b13b72428ff5fa4e55e83ff5482c2e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9cbc3cbb03c6c1ddba8de7a651c84b269f87ebd4a0991a1f9acc8b2d0ccdfb83 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 5294988
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 36 37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set llvm_version 6.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/cmake:cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-wheel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --qmake=${qt_qmake_cmd} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --cmake=${prefix}/bin/cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --jobs=${build.jobs} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --macos-deployment-target=${macosx_deployment_target}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.sdkroot} != ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --macos-sysroot=${configure.sdkroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --qmake=${qt_qmake_cmd} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --cmake=${prefix}/bin/cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --skip-cmake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --reuse-build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxslt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:clang-${llvm_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:llvm-${llvm_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # only find the llvm-config from the version we intend to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-find-llvm-config.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PATH=${prefix}/libexec/llvm-${llvm_version}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtxmlpatterns \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt3d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtcharts \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdatavis3d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdeclarative \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtgamepad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtlocation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmultimedia \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtscript \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtscxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsensors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtspeech \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsvg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebchannel \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebengine \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebsockets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url https://download.qt.io/official_releases/QtForPython/pyside2/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex (\\d+(\\.\\d+)+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyside2/files/patch-find-llvm-config.diff b/python/py-pyside2/files/patch-find-llvm-config.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..73f4215
</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-pyside2/files/patch-find-llvm-config.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- build_scripts/utils.py.orig 2018-07-26 23:19:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ build_scripts/utils.py 2018-08-24 10:32:58.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -757,7 +757,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version_re = re.compile('(\d+)\.(\d+)\.(\d+)')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ result = None
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ last_version_string = '000000'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for llvm_config in find_glob_in_path('llvm-config*'):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for llvm_config in find_glob_in_path('llvm-config'):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ try:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ output = run_process_output([llvm_config, '--version'])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if output:
</span></pre><pre style='margin:0'>
</pre>