<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9812727b24011439f153378457091397a45a382a">https://github.com/macports/macports-ports/commit/9812727b24011439f153378457091397a45a382a</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 9812727b240 go-migrate: new port
</span>9812727b240 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9812727b24011439f153378457091397a45a382a
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Fri Jul 3 08:28:29 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> go-migrate: new port
</span>---
devel/go-migrate/Portfile | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/go-migrate/Portfile b/devel/go-migrate/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c165734df50
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/go-migrate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,45 @@
</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 golang 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/golang-migrate/migrate 4.11.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name go-migrate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel databases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description CLI for Go library performing database migrations.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description} Migrate reads migrations from sources \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and applies them in the correct order to the database. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Sources include the filesystem, go-bindata, GitHub \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ repositories, Gitlab repositories, AWS S3 & Google Cloud \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Storage.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e18987257659ebd27ba4dd4517951451d037bd35 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 28c65abb86ae6a9d7b56fb77bf69f33956f395490435cbb7d7bc5d4f5e7e7ac6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 143355
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args VERSION=${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args build-cli
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Comment out builds for non-Darwin platforms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s/(\s*)(.*GOOS=\[^d\]\[^a\]\[^r\]\[^w\])/\\1#\\2/g" Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Comment out build steps that create tarballs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s/(\s*)(.*cli\\/build.*tar czf)/\\1#\\2/g" Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Comment out any build steps involved with generating the SHA sums text file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s/(\s*)(.*sha256sum)/\\1#\\2/g" Makefile
</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;'>+ xinstall -m 755 ${worksrcpath}/cli/build/migrate.darwin-amd64 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/bin/migrate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>