git: 3fbe1b532ddc - main - x11-toolkits/rubygem-gtksourceview4: Update to 4.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 03:54:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3fbe1b532ddccab34d91b23833f5fa797ef68d39

commit 3fbe1b532ddccab34d91b23833f5fa797ef68d39
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-04 03:48:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-04 03:48:03 +0000

    x11-toolkits/rubygem-gtksourceview4: Update to 4.0.0
    
    - Fix pkg-descr
    - Update WWW
    
    Changes:        https://github.com/ruby-gnome/ruby-gnome/releases
---
 x11-toolkits/rubygem-gtksourceview4/Makefile                  |  3 +--
 x11-toolkits/rubygem-gtksourceview4/distinfo                  |  6 +++---
 .../files/patch-dependency-check-Rakefile                     | 11 +++++++++++
 x11-toolkits/rubygem-gtksourceview4/files/patch-gemspec       | 10 ----------
 x11-toolkits/rubygem-gtksourceview4/pkg-descr                 |  4 ++--
 5 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/x11-toolkits/rubygem-gtksourceview4/Makefile b/x11-toolkits/rubygem-gtksourceview4/Makefile
index 8f8391c47e5e..9d24a771d178 100644
--- a/x11-toolkits/rubygem-gtksourceview4/Makefile
+++ b/x11-toolkits/rubygem-gtksourceview4/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gtksourceview4
-PORTVERSION=	3.5.1
-PORTREVISION=	2
+PORTVERSION=	4.0.0
 CATEGORIES=	x11-toolkits rubygems
 MASTER_SITES=	RG
 
diff --git a/x11-toolkits/rubygem-gtksourceview4/distinfo b/x11-toolkits/rubygem-gtksourceview4/distinfo
index b82d01a86620..27df98caca0f 100644
--- a/x11-toolkits/rubygem-gtksourceview4/distinfo
+++ b/x11-toolkits/rubygem-gtksourceview4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643134045
-SHA256 (rubygem/gtksourceview4-3.5.1.gem) = 3c3ac022efc5c91bde402ce4af1697b50a3d60d7fadedb3b557775041acd047e
-SIZE (rubygem/gtksourceview4-3.5.1.gem) = 16896
+TIMESTAMP = 1662212280
+SHA256 (rubygem/gtksourceview4-4.0.0.gem) = e27c3635f684f7742b5a1d6e0bd1ad68e51d5aa1c420236c93934d6770f5b6aa
+SIZE (rubygem/gtksourceview4-4.0.0.gem) = 16896
diff --git a/x11-toolkits/rubygem-gtksourceview4/files/patch-dependency-check-Rakefile b/x11-toolkits/rubygem-gtksourceview4/files/patch-dependency-check-Rakefile
new file mode 100644
index 000000000000..2ceb8e41cfb1
--- /dev/null
+++ b/x11-toolkits/rubygem-gtksourceview4/files/patch-dependency-check-Rakefile
@@ -0,0 +1,11 @@
+--- dependency-check/Rakefile.orig	2022-09-02 14:02:46 UTC
++++ dependency-check/Rakefile
+@@ -29,7 +29,7 @@ end
+ namespace :dependency do
+   desc "Check dependency"
+   task :check do
+-    package_id = "gtksourceview-4.0"
++    package_id = "gtksourceview-4"
+     unless PKGConfig.check_version?(package_id)
+       unless NativePackageInstaller.install(:alt_linux => "libgtksourceview4-devel",
+                                             :debian => "libgtksourceview-4-dev",
diff --git a/x11-toolkits/rubygem-gtksourceview4/files/patch-gemspec b/x11-toolkits/rubygem-gtksourceview4/files/patch-gemspec
deleted file mode 100644
index 14c1d0955abb..000000000000
--- a/x11-toolkits/rubygem-gtksourceview4/files/patch-gemspec
+++ /dev/null
@@ -1,10 +0,0 @@
---- gtksourceview4.gemspec.orig	2021-07-10 12:35:16 UTC
-+++ gtksourceview4.gemspec
-@@ -13,7 +13,6 @@ Gem::Specification.new do |s|
-   s.date = "2021-04-22"
-   s.description = "Ruby/GtkSourceView4 is a Ruby binding of gtksourceview-4.x.".freeze
-   s.email = "ruby-gnome2-devel-en@lists.sourceforge.net".freeze
--  s.extensions = ["dependency-check/Rakefile".freeze]
-   s.files = ["COPYING.LIB".freeze, "README.md".freeze, "Rakefile".freeze, "dependency-check/Rakefile".freeze, "gtksourceview4.gemspec".freeze, "lib/gtksourceview4.rb".freeze, "lib/gtksourceview4/deprecated.rb".freeze, "lib/gtksourceview4/loader.rb".freeze, "lib/gtksourceview4/mark-attributes.rb".freeze, "test/run-test.rb".freeze, "test/test-mark-attributes.rb".freeze, "test/test-source-gutter-renderer.rb".freeze, "test/test-source-language-manager.rb".freeze, "test/test-source-view.rb".freeze]
-   s.homepage = "https://ruby-gnome2.osdn.jp/".freeze
-   s.licenses = ["LGPL-2.1+".freeze]
diff --git a/x11-toolkits/rubygem-gtksourceview4/pkg-descr b/x11-toolkits/rubygem-gtksourceview4/pkg-descr
index f2492ade6d04..0e9f9d7de216 100644
--- a/x11-toolkits/rubygem-gtksourceview4/pkg-descr
+++ b/x11-toolkits/rubygem-gtksourceview4/pkg-descr
@@ -1,3 +1,3 @@
-Ruby/GtkSourceView3 is a Ruby binding of gtksourceview-3.x.
+Ruby/GtkSourceView3 is a Ruby binding of gtksourceview-4.x.
 
-WWW: https://ruby-gnome2.osdn.jp/
+WWW: https://ruby-gnome.github.io/