git: 0bc51fa51267 - main - databases/rubygem-sqlite3: Update to 2.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 28 May 2024 10:23:41 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0bc51fa51267978ca636c2382a062612f9ace340

commit 0bc51fa51267978ca636c2382a062612f9ace340
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-28 10:01:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-28 10:21:38 +0000

    databases/rubygem-sqlite3: Update to 2.0.1
    
    Changes:        https://github.com/sparklemotion/sqlite3-ruby/releases
---
 databases/rubygem-sqlite3/Makefile                        |  3 +--
 databases/rubygem-sqlite3/distinfo                        |  6 +++---
 .../rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb    |  4 ++--
 databases/rubygem-sqlite3/files/patch-gemspec             | 15 +++++++--------
 4 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/databases/rubygem-sqlite3/Makefile b/databases/rubygem-sqlite3/Makefile
index 57bdd304fb9e..2546b8a1b0b3 100644
--- a/databases/rubygem-sqlite3/Makefile
+++ b/databases/rubygem-sqlite3/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	sqlite3
-PORTVERSION=	1.7.3
-PORTREVISION=	1
+PORTVERSION=	2.0.1
 CATEGORIES=	databases rubygems
 MASTER_SITES=	RG
 
diff --git a/databases/rubygem-sqlite3/distinfo b/databases/rubygem-sqlite3/distinfo
index 52b54fd5c69c..b4ad150cdae0 100644
--- a/databases/rubygem-sqlite3/distinfo
+++ b/databases/rubygem-sqlite3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711466256
-SHA256 (rubygem/sqlite3-1.7.3.gem) = fa77f63c709548f46d4e9b6bb45cda52aa3881aa12cc85991132758e8968701c
-SIZE (rubygem/sqlite3-1.7.3.gem) = 3307008
+TIMESTAMP = 1716448738
+SHA256 (rubygem/sqlite3-2.0.1.gem) = 6c5ff93b951ce521d8b3c6d05df46a15d97ec241c6cff5950c1a628ff7957922
+SIZE (rubygem/sqlite3-2.0.1.gem) = 3295744
diff --git a/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb b/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
index 7a946b9d0a06..0b92283c6b02 100644
--- a/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
+++ b/databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
@@ -1,6 +1,6 @@
---- ext/sqlite3/extconf.rb.orig	2023-04-08 07:40:49 UTC
+--- ext/sqlite3/extconf.rb.orig	2024-05-22 11:16:02 UTC
 +++ ext/sqlite3/extconf.rb
-@@ -130,8 +130,6 @@ module Sqlite3
+@@ -136,8 +136,6 @@ module Sqlite3
        end
  
        def minimal_recipe
diff --git a/databases/rubygem-sqlite3/files/patch-gemspec b/databases/rubygem-sqlite3/files/patch-gemspec
index f794d37bb4b9..5b81592e5a7b 100644
--- a/databases/rubygem-sqlite3/files/patch-gemspec
+++ b/databases/rubygem-sqlite3/files/patch-gemspec
@@ -1,21 +1,20 @@
-% sed -i .orig 's|, "ports/[^"]*".freeze||g' sqlite3.gemspec
+% sed -i .orig 's|, "ports/[^"]*".freeze||g; /mini_portile2/d' sqlite3.gemspec
 
---- sqlite3.gemspec.orig	2024-04-19 04:56:31 UTC
+--- sqlite3.gemspec.orig	2024-05-22 11:16:02 UTC
 +++ sqlite3.gemspec
 @@ -14,7 +14,7 @@ Gem::Specification.new do |s|
    s.description = "Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org). Precompiled\nbinaries are available for common platforms for recent versions of Ruby.\n".freeze
    s.extensions = ["ext/sqlite3/extconf.rb".freeze]
-   s.extra_rdoc_files = ["API_CHANGES.md".freeze, "CHANGELOG.md".freeze, "README.md".freeze, "ext/sqlite3/aggregator.c".freeze, "ext/sqlite3/backup.c".freeze, "ext/sqlite3/database.c".freeze, "ext/sqlite3/exception.c".freeze, "ext/sqlite3/sqlite3.c".freeze, "ext/sqlite3/statement.c".freeze]
--  s.files = [".gemtest".freeze, "API_CHANGES.md".freeze, "CHANGELOG.md".freeze, "CONTRIBUTING.md".freeze, "ChangeLog.cvs".freeze, "FAQ.md".freeze, "Gemfile".freeze, "INSTALLATION.md".freeze, "LICENSE".freeze, "LICENSE-DEPENDENCIES".freeze, "README.md".freeze, "dependencies.yml".freeze, "ext/sqlite3/aggregator.c".freeze, "ext/sqlite3/aggregator.h".freeze, "ext/sqlite3/backup.c".freeze, "ext/sqlite3/backup.h".freeze, "ext/sqlite3/database.c".freeze, "ext/sqlite3/database.h".freeze, "ext/sqlite3/exception.c".freeze, "ext/sqlite3/exception.h".freeze, "ext/sqlite3/extconf.rb".freeze, "ext/sqlite3/sqlite3.c".freeze, "ext/sqlite3/sqlite3_ruby.h".freeze, "ext/sqlite3/statement.c".freeze, "ext/sqlite3/statement.h".freeze, "lib/sqlite3.rb".freeze, "lib/sqlite3/constants.rb".freeze, "lib/sqlite3/database.rb".freeze, "lib/sqlite3/errors.rb".freeze, "lib/sqlite3/pragmas.rb".freeze, "lib/sqlite3/resultset.rb".freeze, "lib/sqlite3/statement.rb".freeze, "lib/sqlite3/translator.rb".freeze, "lib/sql
 ite3/value.rb".freeze, "lib/sqlite3/version.rb".freeze, "ports/archives/sqlite-autoconf-3450200.tar.gz".freeze, "test/helper.rb".freeze, "test/test_backup.rb".freeze, "test/test_collation.rb".freeze, "test/test_database.rb".freeze, "test/test_database_flags.rb".freeze, "test/test_database_readonly.rb".freeze, "test/test_database_readwrite.rb".freeze, "test/test_deprecated.rb".freeze, "test/test_encoding.rb".freeze, "test/test_integration.rb".freeze, "test/test_integration_aggregate.rb".freeze, "test/test_integration_open_close.rb".freeze, "test/test_integration_pending.rb".freeze, "test/test_integration_resultset.rb".freeze, "test/test_integration_statement.rb".freeze, "test/test_pragmas.rb".freeze, "test/test_result_set.rb".freeze, "test/test_sqlite3.rb".freeze, "test/test_statement.rb".freeze, "test/test_statement_execute.rb".freeze]
-+  s.files = [".gemtest".freeze, "API_CHANGES.md".freeze, "CHANGELOG.md".freeze, "CONTRIBUTING.md".freeze, "ChangeLog.cvs".freeze, "FAQ.md".freeze, "Gemfile".freeze, "INSTALLATION.md".freeze, "LICENSE".freeze, "LICENSE-DEPENDENCIES".freeze, "README.md".freeze, "dependencies.yml".freeze, "ext/sqlite3/aggregator.c".freeze, "ext/sqlite3/aggregator.h".freeze, "ext/sqlite3/backup.c".freeze, "ext/sqlite3/backup.h".freeze, "ext/sqlite3/database.c".freeze, "ext/sqlite3/database.h".freeze, "ext/sqlite3/exception.c".freeze, "ext/sqlite3/exception.h".freeze, "ext/sqlite3/extconf.rb".freeze, "ext/sqlite3/sqlite3.c".freeze, "ext/sqlite3/sqlite3_ruby.h".freeze, "ext/sqlite3/statement.c".freeze, "ext/sqlite3/statement.h".freeze, "lib/sqlite3.rb".freeze, "lib/sqlite3/constants.rb".freeze, "lib/sqlite3/database.rb".freeze, "lib/sqlite3/errors.rb".freeze, "lib/sqlite3/pragmas.rb".freeze, "lib/sqlite3/resultset.rb".freeze, "lib/sqlite3/statement.rb".freeze, "lib/sqlite3/translator.rb".freeze, "lib/sql
 ite3/value.rb".freeze, "lib/sqlite3/version.rb".freeze, "test/helper.rb".freeze, "test/test_backup.rb".freeze, "test/test_collation.rb".freeze, "test/test_database.rb".freeze, "test/test_database_flags.rb".freeze, "test/test_database_readonly.rb".freeze, "test/test_database_readwrite.rb".freeze, "test/test_deprecated.rb".freeze, "test/test_encoding.rb".freeze, "test/test_integration.rb".freeze, "test/test_integration_aggregate.rb".freeze, "test/test_integration_open_close.rb".freeze, "test/test_integration_pending.rb".freeze, "test/test_integration_resultset.rb".freeze, "test/test_integration_statement.rb".freeze, "test/test_pragmas.rb".freeze, "test/test_result_set.rb".freeze, "test/test_sqlite3.rb".freeze, "test/test_statement.rb".freeze, "test/test_statement_execute.rb".freeze]
+   s.extra_rdoc_files = ["CHANGELOG.md".freeze, "README.md".freeze, "ext/sqlite3/aggregator.c".freeze, "ext/sqlite3/backup.c".freeze, "ext/sqlite3/database.c".freeze, "ext/sqlite3/exception.c".freeze, "ext/sqlite3/sqlite3.c".freeze, "ext/sqlite3/statement.c".freeze]
+-  s.files = [".gemtest".freeze, "CHANGELOG.md".freeze, "CONTRIBUTING.md".freeze, "FAQ.md".freeze, "INSTALLATION.md".freeze, "LICENSE".freeze, "README.md".freeze, "dependencies.yml".freeze, "ext/sqlite3/aggregator.c".freeze, "ext/sqlite3/aggregator.h".freeze, "ext/sqlite3/backup.c".freeze, "ext/sqlite3/backup.h".freeze, "ext/sqlite3/database.c".freeze, "ext/sqlite3/database.h".freeze, "ext/sqlite3/exception.c".freeze, "ext/sqlite3/exception.h".freeze, "ext/sqlite3/extconf.rb".freeze, "ext/sqlite3/sqlite3.c".freeze, "ext/sqlite3/sqlite3_ruby.h".freeze, "ext/sqlite3/statement.c".freeze, "ext/sqlite3/statement.h".freeze, "ext/sqlite3/timespec.h".freeze, "lib/sqlite3.rb".freeze, "lib/sqlite3/constants.rb".freeze, "lib/sqlite3/database.rb".freeze, "lib/sqlite3/errors.rb".freeze, "lib/sqlite3/pragmas.rb".freeze, "lib/sqlite3/resultset.rb".freeze, "lib/sqlite3/statement.rb".freeze, "lib/sqlite3/value.rb".freeze, "lib/sqlite3/version.rb".freeze, "ports/archives/sqlite-autoconf-3450300.tar.g
 z".freeze]
++  s.files = [".gemtest".freeze, "CHANGELOG.md".freeze, "CONTRIBUTING.md".freeze, "FAQ.md".freeze, "INSTALLATION.md".freeze, "LICENSE".freeze, "README.md".freeze, "dependencies.yml".freeze, "ext/sqlite3/aggregator.c".freeze, "ext/sqlite3/aggregator.h".freeze, "ext/sqlite3/backup.c".freeze, "ext/sqlite3/backup.h".freeze, "ext/sqlite3/database.c".freeze, "ext/sqlite3/database.h".freeze, "ext/sqlite3/exception.c".freeze, "ext/sqlite3/exception.h".freeze, "ext/sqlite3/extconf.rb".freeze, "ext/sqlite3/sqlite3.c".freeze, "ext/sqlite3/sqlite3_ruby.h".freeze, "ext/sqlite3/statement.c".freeze, "ext/sqlite3/statement.h".freeze, "ext/sqlite3/timespec.h".freeze, "lib/sqlite3.rb".freeze, "lib/sqlite3/constants.rb".freeze, "lib/sqlite3/database.rb".freeze, "lib/sqlite3/errors.rb".freeze, "lib/sqlite3/pragmas.rb".freeze, "lib/sqlite3/resultset.rb".freeze, "lib/sqlite3/statement.rb".freeze, "lib/sqlite3/value.rb".freeze, "lib/sqlite3/version.rb".freeze]
    s.homepage = "https://github.com/sparklemotion/sqlite3-ruby".freeze
    s.licenses = ["BSD-3-Clause".freeze]
    s.rdoc_options = ["--main".freeze, "README.md".freeze]
-@@ -23,7 +23,5 @@ Gem::Specification.new do |s|
-   s.summary = "Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org).".freeze
+@@ -24,6 +24,5 @@ Gem::Specification.new do |s|
  
    s.specification_version = 4
--
+ 
 -  s.add_runtime_dependency(%q<mini_portile2>.freeze, ["~> 2.8.0".freeze])
  end