<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/e5dd6105acf09d657712669e735199b9cceda5de">https://github.com/macports/macports-ports/commit/e5dd6105acf09d657712669e735199b9cceda5de</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e5dd6105acf09d657712669e735199b9cceda5de
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Wed Jan 24 10:44:25 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> rb-json_pure: update to 2.7.1, support modern Ruby
</span>---
ruby/rb-json_pure/Portfile | 31 +++++++++++++------------------
1 file changed, 13 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/ruby/rb-json_pure/Portfile b/ruby/rb-json_pure/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 561ef8be090..6ba987c262a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/ruby/rb-json_pure/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/ruby/rb-json_pure/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,15 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup ruby 1.0
</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: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 json_pure 2.7.1 gem {} rubygems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 075eab66b392105bb594b14c1b3f49c0fa87bae7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 61649599e4af74f85e6e07545cabdc929d006d061f6ea5688e492b46fb718727 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 39936
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.setup json_pure 1.4.6 gem {} rubygems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span> description This is a JSON implementation in pure Ruby.
long_description \
This is a implementation of the JSON specification according to RFC 4627. \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,22 +18,10 @@ long_description \
</span> markup language.
license Ruby
maintainers {kimuraw @kimuraw} openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms any
</span> supported_archs noarch
homepage https://flori.github.io/json/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 efc352b7e48263cba1d4e7d96c7721b1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 9fe74cdffaba077e1209f9222e8b7ddd282966df \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 2ce9c5c4315c330a0f9dac5592e4c8d6c134efc6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # avoid conflict against a command from port:rb-json
<span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.link_binaries no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach dir [list ${ruby.gemdir}/bin ${ruby.bindir}] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach cmd {edit_json prettify_json} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move "${destroot}/${dir}/${cmd}.rb" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${destroot}/${dir}/${cmd}_pure.rb"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ruby.link_binaries no
</span></pre><pre style='margin:0'>
</pre>