<pre style='margin:0'>
kimura wataru (kimuraw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c6e03cdd04848fe268477969b69ae7f3ba497aad">https://github.com/macports/macports-ports/commit/c6e03cdd04848fe268477969b69ae7f3ba497aad</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 c6e03cd sysutils/mas: update to 1.4.3
</span>c6e03cd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c6e03cdd04848fe268477969b69ae7f3ba497aad
</span>Author: kimura wataru <kimuraw@macports.org>
AuthorDate: Sat Oct 20 15:16:06 2018 +0900
<span style='display:block; white-space:pre;color:#404040;'> sysutils/mas: update to 1.4.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - update from v1.4.1
</span><span style='display:block; white-space:pre;color:#404040;'> - add depends_build carthage
</span><span style='display:block; white-space:pre;color:#404040;'> - required Xcode version 8 -> 10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/57314
</span>---
sysutils/mas/Portfile | 57 +++++++++++++++++++++++++++++++++------------------
1 file changed, 37 insertions(+), 20 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/mas/Portfile b/sysutils/mas/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 449371f..51e9695 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/mas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/mas/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,10 +2,9 @@
</span>
PortSystem 1.0
PortGroup xcode 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup xcodeversion 1.0
</span> PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup mas-cli mas 1.4.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mas-cli mas 1.4.3 v
</span> revision 0
categories sysutils
description Mac App Store command line interface
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,34 +14,52 @@ license MIT
</span>
maintainers {kimuraw @kimuraw} openmaintainer
platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# requires swift3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-minimum_xcodeversions {15 8}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:carthage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 0cbfbe30a3ef6c1457b8c044fffb848f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 5cc012dc28adf355c8453ba8d9e9533971183cfd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 276f15ae19d22f51118bba215f67281f0c06f35a2c8d32d2877c9fbc498e91a9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# requirements:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# - mas: Xcode 10 or later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# - carthage: Xcode 9 or later (0.30.x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set xcodeversion_min_required 10
</span> pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 15} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} @${version} requires OS X 10.11 or later."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible OS X version"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} >= 18} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} @${version} does not support macOS 10.14 or later."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "You can use binary distribution from https://github.com/mas-cli/mas/releases."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible macOS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${xcodeversion} ${xcodeversion_min_required}] < 0} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires Xcode ${xcodeversion_min_required} or later but you have Xcode ${xcodeversion}."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "See https://guide.macports.org/chunked/installing.xcode.html for download links."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible Xcode version"
</span> }
}
xcode.project mas-cli.xcodeproj
xcode.configuration Release
<span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.path ${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.scheme "mas-cli Release"
</span> xcode.destroot.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# disable codesign
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.build.settings CODE_SIGN_IDENTITY=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.settings CODE_SIGN_IDENTITY=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# CODE_SIGN_IDENTITY: disable codesign
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# LD_RUNPATH_SEARCH_PATHS: override "/usr/local/Frameworks ..." in xcodeproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.build.settings CODE_SIGN_IDENTITY= \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DSTROOT=${worksrcpath}/dst \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LD_RUNPATH_SEARCH_PATHS='@executable_path/../Library/Frameworks @executable_path/../Library/Frameworks/MasKit.framework/Versions/A/Frameworks/'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix "IDELogStore: Failed to open log store".
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# xcodebuild's `-derivedDataPath` does not solve this error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args -IDECustomDerivedDataLocation=${worksrcpath}/DerivedData
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${prefix}/bin/carthage build --platform macOS"
</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 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # bin/mas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -W ${worksrcpath} dst/bin/mas ${destroot}${prefix}/bin
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 5023e0df2ed1ad5d8c23303e8b06f6f9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 1996da34ca1238d6da1c95c45d38873074c30050 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f9933c6044519e1eda37d3ebae3211e4b574a30d6357543bdb10192147e32501
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Library/Frameworks/MasKit.framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/Library/Frameworks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/build/Release/MasKit.framework ${destroot}${prefix}/Library/Frameworks
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # other resources
</span> xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -W ${worksrcpath} README.md LICENSE \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md \
</span> ${destroot}${prefix}/share/doc/${name}
}
</pre><pre style='margin:0'>
</pre>