<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6269e00da5507bd8ffe49a679ce291cc21bfa843">https://github.com/macports/macports-ports/commit/6269e00da5507bd8ffe49a679ce291cc21bfa843</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6269e00da5507bd8ffe49a679ce291cc21bfa843
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 15 13:16:41 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> rb-ffi-libarchive: new port
</span>---
ruby/rb-ffi-libarchive/Portfile | 29 ++++++++++++++++++++++
.../rb-ffi-libarchive/files/patch-gemspec-3.1.diff | 13 ++++++++++
.../rb-ffi-libarchive/files/patch-gemspec-3.2.diff | 9 +++++++
.../rb-ffi-libarchive/files/patch-gemspec-3.3.diff | 9 +++++++
4 files changed, 60 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-libarchive/Portfile b/ruby/rb-ffi-libarchive/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d30a721efd2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-libarchive/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</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 ruby 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ruby.branches 3.3 3.2 3.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ruby.setup ffi-libarchive 1.1.14 gem {} rubygems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories-append archivers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Ruby FFI binding to libarchive
</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://github.com/chef/ffi-libarchive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 9d89ece10efaf224637e305d4a6a74d5cfdaaf9a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a3e4ca9484ee4ad754ad04fcc14a12686d48d1463c264173d6f8ff0a4df816a6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 16384
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</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;'>+ depends_run-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libarchive \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:rb${ruby.suffix}-ffi
</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;'>+ system -W ${destroot}${ruby.gemdir}/specifications \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
</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;color:#808080;'>diff --git a/ruby/rb-ffi-libarchive/files/patch-gemspec-3.1.diff b/ruby/rb-ffi-libarchive/files/patch-gemspec-3.1.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7c6d684ae28
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-libarchive/files/patch-gemspec-3.1.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-libarchive-1.1.14.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-libarchive-1.1.14.gemspec 2024-04-15 13:14:33
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,8 +24,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if s.respond_to? :add_runtime_dependency then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_runtime_dependency(%q<ffi>.freeze, ["~> 1.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_dependency(%q<ffi>.freeze, ["~> 1.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_dependency(%q<ffi>.freeze, [">= 1.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-libarchive/files/patch-gemspec-3.2.diff b/ruby/rb-ffi-libarchive/files/patch-gemspec-3.2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..541720a8f1e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-libarchive/files/patch-gemspec-3.2.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-libarchive-1.1.14.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-libarchive-1.1.14.gemspec 2024-04-15 13:13:15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,5 +21,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.specification_version = 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_runtime_dependency(%q<ffi>.freeze, ["~> 1.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.0"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-ffi-libarchive/files/patch-gemspec-3.3.diff b/ruby/rb-ffi-libarchive/files/patch-gemspec-3.3.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..633643acb76
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-ffi-libarchive/files/patch-gemspec-3.3.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ffi-libarchive-1.1.14.gemspec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ffi-libarchive-1.1.14.gemspec 2024-04-15 13:11:38
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,5 +21,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ s.specification_version = 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s.add_runtime_dependency(%q<ffi>.freeze, ["~> 1.0".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s.add_runtime_dependency(%q<ffi>.freeze, [">= 1.0".freeze])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ end
</span></pre><pre style='margin:0'>
</pre>