Skip to content

Commit

Permalink
databases/rubygem-sqlite3: Update to 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Oct 3, 2022
1 parent d78b10f commit 88d986e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 31 deletions.
2 changes: 1 addition & 1 deletion databases/rubygem-sqlite3/Makefile
@@ -1,5 +1,5 @@
PORTNAME= sqlite3
PORTVERSION= 1.5.0
PORTVERSION= 1.5.2
CATEGORIES= databases rubygems
MASTER_SITES= RG

Expand Down
6 changes: 3 additions & 3 deletions databases/rubygem-sqlite3/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1662820076
SHA256 (rubygem/sqlite3-1.5.0.gem) = 8eeb6dab3c7ff6b1aa88f8a4a3879b33048c74b309077dba67fa71b72352048a
SIZE (rubygem/sqlite3-1.5.0.gem) = 3102720
TIMESTAMP = 1664768028
SHA256 (rubygem/sqlite3-1.5.2.gem) = 9b3153b5703b4619534135c16ff7c4e8ba1adbd8548ff61bb4a002dd632bcd5e
SIZE (rubygem/sqlite3-1.5.2.gem) = 3134976
40 changes: 13 additions & 27 deletions databases/rubygem-sqlite3/files/patch-ext-sqlite3-extconf.rb
@@ -1,12 +1,12 @@
--- ext/sqlite3/extconf.rb.orig 2022-09-10 15:17:36 UTC
--- ext/sqlite3/extconf.rb.orig 2022-10-03 13:15:30 UTC
+++ ext/sqlite3/extconf.rb
@@ -1,5 +1,4 @@
require "mkmf"
-require "mini_portile2"
require "yaml"

module Sqlite3
module ExtConf
@@ -48,33 +47,6 @@ module Sqlite3
@@ -49,33 +48,6 @@ module Sqlite3
end

def configure_packaged_libraries
Expand Down Expand Up @@ -40,7 +40,7 @@ def configure_packaged_libraries
end

def configure_extension
@@ -115,11 +87,6 @@ module Sqlite3
@@ -116,11 +88,6 @@ module Sqlite3
end

def minimal_recipe
Expand All @@ -52,41 +52,27 @@ def minimal_recipe
end

def package_root_dir
@@ -127,27 +94,9 @@ module Sqlite3
@@ -128,12 +95,9 @@ module Sqlite3
end

def sqlite3_config
- mini_portile_config[:sqlite3]
end

def mini_portile_config
- {
- sqlite3: {
- # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
- #
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390300.tar.gz
- # dfa055c70724cd63f0b7da6e9f53530d8da51fe021e3f864d58c7c847d590e1d ports/archives/sqlite-autoconf-3390300.tar.gz
- #
- # $ sha256sum ports/archives/sqlite-autoconf-3390300.tar.gz
- # 7868fb3082be3f2cf4491c6fba6de2bddcbc293a35fefb0624ee3c13f01422b9 ports/archives/sqlite-autoconf-3390300.tar.gz
- #
- version: "3.39.3",
- files: [{
- url: "https://www.sqlite.org/2022/sqlite-autoconf-3390300.tar.gz",
- sha256: "7868fb3082be3f2cf4491c6fba6de2bddcbc293a35fefb0624ee3c13f01422b9",
- }],
- }
- }
- # TODO: once Ruby 2.7 is no longer supported, use symbolize_names: true
- YAML.load_file(File.join(package_root_dir, "dependencies.yml"))
end

def abort_could_not_find(missing)
@@ -156,10 +105,6 @@ module Sqlite3
@@ -141,11 +105,9 @@ module Sqlite3
end

def cross_build?
enable_config("cross-build")
- end
-
- def download
- enable_config("cross-build")
end
def download
- minimal_recipe.download
end

Expand Down

0 comments on commit 88d986e

Please sign in to comment.