Skip to content

Commit

Permalink
databases/rubygem-sqlite3: Update to 1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Dec 30, 2022
1 parent a15d2e0 commit 1fc4aee
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion databases/rubygem-sqlite3/Makefile
@@ -1,5 +1,5 @@
PORTNAME= sqlite3
PORTVERSION= 1.5.3
PORTVERSION= 1.5.4
CATEGORIES= databases rubygems
MASTER_SITES= RG

Expand Down
6 changes: 3 additions & 3 deletions databases/rubygem-sqlite3/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1665648419
SHA256 (rubygem/sqlite3-1.5.3.gem) = 66524f404db0b697620b601dea6381b139e9ce6f47e8eb628759c8d6ddcb25c5
SIZE (rubygem/sqlite3-1.5.3.gem) = 3134976
TIMESTAMP = 1669058033
SHA256 (rubygem/sqlite3-1.5.4.gem) = 5d4f6bed23a629651c965f5107861f11df479d74eeef3a70d6ec702f28112101
SIZE (rubygem/sqlite3-1.5.4.gem) = 3167744
22 changes: 15 additions & 7 deletions databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
@@ -1,4 +1,4 @@
--- ext/sqlite3/extconf.rb.orig 2022-10-13 10:19:00 UTC
--- ext/sqlite3/extconf.rb.orig 2022-11-27 23:59:11 UTC
+++ ext/sqlite3/extconf.rb
@@ -1,5 +1,4 @@
require "mkmf"
Expand Down Expand Up @@ -49,19 +49,23 @@ def configure_packaged_libraries
end

def configure_extension
@@ -125,11 +88,6 @@ module Sqlite3
@@ -125,15 +88,6 @@ module Sqlite3
end

def minimal_recipe
- MiniPortile.new(libname, sqlite3_config[:version]).tap do |recipe|
- recipe.files = sqlite3_config[:files]
- recipe.target = File.join(package_root_dir, "ports")
- recipe.patch_files = Dir[File.join(package_root_dir, "patches", "*.patch")].sort
- if sqlite_source_dir
- recipe.source_directory = sqlite_source_dir
- else
- recipe.files = sqlite3_config[:files]
- recipe.target = File.join(package_root_dir, "ports")
- recipe.patch_files = Dir[File.join(package_root_dir, "patches", "*.patch")].sort
- end
- end
end

def package_root_dir
@@ -137,12 +95,9 @@ module Sqlite3
@@ -141,12 +95,9 @@ module Sqlite3
end

def sqlite3_config
Expand All @@ -74,13 +78,17 @@ def mini_portile_config
end

def abort_could_not_find(missing)
@@ -154,11 +109,9 @@ module Sqlite3
@@ -158,7 +109,6 @@ module Sqlite3
end

def cross_build?
- enable_config("cross-build")
end

def sqlite_source_dir
@@ -166,7 +116,6 @@ module Sqlite3
end

def download
- minimal_recipe.download
end
Expand Down

0 comments on commit 1fc4aee

Please sign in to comment.