File tree Expand file tree Collapse file tree 3 files changed +16
-17
lines changed Expand file tree Collapse file tree 3 files changed +16
-17
lines changed Original file line number Diff line number Diff line change
1
+ sqlite3 :
2
+ # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
3
+ #
4
+ # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390400.tar.gz
5
+ # 431328e30d12c551da9ba7ef2122b269076058512014afa799caaf62ca567090 ports/archives/sqlite-autoconf-3390400.tar.gz
6
+ #
7
+ # $ sha256sum ports/archives/sqlite-autoconf-3390400.tar.gz
8
+ # f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb ports/archives/sqlite-autoconf-3390400.tar.gz
9
+ #
10
+ version : " 3.39.4"
11
+ files :
12
+ - url : " https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz"
13
+ sha256 : " f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb"
Original file line number Diff line number Diff line change 1
1
require "mkmf"
2
2
require "mini_portile2"
3
+ require "yaml"
3
4
4
5
module Sqlite3
5
6
module ExtConf
@@ -131,23 +132,7 @@ def sqlite3_config
131
132
end
132
133
133
134
def mini_portile_config
134
- {
135
- sqlite3 : {
136
- # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
137
- #
138
- # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390400.tar.gz
139
- # 431328e30d12c551da9ba7ef2122b269076058512014afa799caaf62ca567090 ports/archives/sqlite-autoconf-3390400.tar.gz
140
- #
141
- # $ sha256sum ports/archives/sqlite-autoconf-3390400.tar.gz
142
- # f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb ports/archives/sqlite-autoconf-3390400.tar.gz
143
- #
144
- version : "3.39.4" ,
145
- files : [ {
146
- url : "https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz" ,
147
- sha256 : "f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb" ,
148
- } ] ,
149
- }
150
- }
135
+ YAML . load_file ( File . join ( package_root_dir , "dependencies.yml" ) , symbolize_names : true )
151
136
end
152
137
153
138
def abort_could_not_find ( missing )
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ Gem::Specification.new do |s|
44
44
"LICENSE" ,
45
45
"LICENSE-DEPENDENCIES" ,
46
46
"README.md" ,
47
+ "dependencies.yml" ,
47
48
"ext/sqlite3/aggregator.c" ,
48
49
"ext/sqlite3/aggregator.h" ,
49
50
"ext/sqlite3/backup.c" ,
You can’t perform that action at this time.
0 commit comments