red-arrow 19.0.1 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -4
- data/ext/arrow/extconf.rb +20 -24
- data/lib/arrow/version.rb +1 -1
- data/red-arrow.gemspec +54 -3
- metadata +19 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97d92d4ff479fffe98db8bb4b0c055d43ac815e28f5c078d0febfadd725855ad
|
4
|
+
data.tar.gz: ab2ca838c0840266285221ac761cdc2f2c1985a6e11270a18cb180e7f2d8ab5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ee678d7d8968636c84843093d9de27679210743d0a8a154cf5644098ed8ae16d519ce53e39c7c1b98d0b2ffe2ea83cf30078aee214b28d0105fbafd043b997a
|
7
|
+
data.tar.gz: 30a998ea024b996752b1c4c6291cf6fb6ee38c10ed838f2ade9e0c41d22bdd9501ffc744049a1212993edf4ea3da605b5dff024051b0b423762e5988c4d2413c
|
data/README.md
CHANGED
@@ -33,12 +33,20 @@ gobject-introspection gem is a Ruby bindings of GObject Introspection. Red Arrow
|
|
33
33
|
|
34
34
|
## Install
|
35
35
|
|
36
|
-
|
36
|
+
You need to install Apache Arrow GLib to install Red Arrow. You can automate it by enabling [rubygems-requirements-system](https://github.com/ruby-gnome/rubygems-requirements-system/). If you want to install Apache Arrow GLib manually, see [Apache Arrow install document](https://arrow.apache.org/install/) for details.
|
37
37
|
|
38
|
-
|
38
|
+
If you want to install Red Arrow by Bundler, you can add the followings to your `Gemfile`:
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
plugin "rubygems-requirements-system"
|
42
|
+
|
43
|
+
gem "red-arrow"
|
44
|
+
```
|
45
|
+
|
46
|
+
If you want to install Red Arrow by RubyGems, you can use the following command line:
|
39
47
|
|
40
48
|
```console
|
41
|
-
|
49
|
+
$ gem install rubygems-requirements-system red-arrow
|
42
50
|
```
|
43
51
|
|
44
52
|
## Usage
|
@@ -72,4 +80,4 @@ $ bundle install
|
|
72
80
|
$ brew install apache-arrow --head
|
73
81
|
$ brew install apache-arrow-glib --head
|
74
82
|
$ bundle exec rake test
|
75
|
-
```
|
83
|
+
```
|
data/ext/arrow/extconf.rb
CHANGED
@@ -38,32 +38,28 @@ checking_for(checking_message("Homebrew")) do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
unless
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
fedora: "libarrow-devel",
|
48
|
-
homebrew: "apache-arrow",
|
49
|
-
msys2: "arrow",
|
50
|
-
redhat: "arrow-devel")
|
51
|
-
exit(false)
|
41
|
+
unless PKGConfig.have_package("arrow", Arrow::Version::MAJOR)
|
42
|
+
raise <<-MESSAGE
|
43
|
+
Apache Arrow C++ >= #{Arrow::Version::MAJOR} isn't found.
|
44
|
+
You can install it automatically by enabling rubygems-requirements-system.
|
45
|
+
See https://github.com/ruby-gnome/rubygems-requirements-system/ how to enable it.
|
46
|
+
MESSAGE
|
52
47
|
end
|
53
48
|
|
54
|
-
unless
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
49
|
+
unless PKGConfig.have_package("arrow-glib",
|
50
|
+
Arrow::Version::MAJOR,
|
51
|
+
Arrow::Version::MINOR,
|
52
|
+
Arrow::Version::MICRO)
|
53
|
+
verison = [
|
54
|
+
Arrow::Version::MAJOR,
|
55
|
+
Arrow::Version::MINOR,
|
56
|
+
Arrow::Version::MICRO,
|
57
|
+
].join(".")
|
58
|
+
raise <<-MESSAGE
|
59
|
+
Apache Arrow GLib >= #{version} isn't found.
|
60
|
+
You can install it automatically by enabling rubygems-requirements-system.
|
61
|
+
See https://github.com/ruby-gnome/rubygems-requirements-system/ how to enable it.
|
62
|
+
MESSAGE
|
67
63
|
end
|
68
64
|
|
69
65
|
# Old re2.pc (e.g. re2.pc on Ubuntu 20.04) may add -std=c++11. It
|
data/lib/arrow/version.rb
CHANGED
data/red-arrow.gemspec
CHANGED
@@ -49,6 +49,8 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.files += Dir.glob("doc/text/*")
|
50
50
|
spec.extensions = ["ext/arrow/extconf.rb"] unless is_jruby
|
51
51
|
|
52
|
+
required_arrow_glib_version = version_components[0, 3].join(".")
|
53
|
+
|
52
54
|
spec.add_runtime_dependency("bigdecimal", ">= 3.1.0")
|
53
55
|
spec.add_runtime_dependency("csv")
|
54
56
|
if is_jruby
|
@@ -58,11 +60,60 @@ Gem::Specification.new do |spec|
|
|
58
60
|
else
|
59
61
|
spec.add_runtime_dependency("extpp", ">= 0.1.1")
|
60
62
|
spec.add_runtime_dependency("gio2", ">= 4.2.3")
|
61
|
-
spec.add_runtime_dependency("native-package-installer")
|
62
63
|
spec.add_runtime_dependency("pkg-config")
|
64
|
+
|
65
|
+
repository_url_prefix = "https://packages.apache.org/artifactory/arrow"
|
66
|
+
[
|
67
|
+
# Try without additional repository
|
68
|
+
["amazon_linux", "arrow-glib-devel"],
|
69
|
+
# Retry with additional repository
|
70
|
+
[
|
71
|
+
"amazon_linux",
|
72
|
+
"#{repository_url_prefix}/amazon-linux/%{version}/" +
|
73
|
+
"apache-arrow-release-latest.rpm",
|
74
|
+
],
|
75
|
+
["amazon_linux", "arrow-glib-devel"],
|
76
|
+
|
77
|
+
# Try without additional repository
|
78
|
+
["centos", "arrow-glib-devel"],
|
79
|
+
# Retry with additional repository
|
80
|
+
[
|
81
|
+
"centos",
|
82
|
+
"#{repository_url_prefix}/centos/%{major_version}-stream/" +
|
83
|
+
"apache-arrow-release-latest.rpm",
|
84
|
+
],
|
85
|
+
["centos", "arrow-glib-devel"],
|
86
|
+
|
87
|
+
["conda", "arrow-c-glib"],
|
88
|
+
|
89
|
+
# Try without additional repository
|
90
|
+
["debian", "libarrow-glib-dev"],
|
91
|
+
# Retry with additional repository
|
92
|
+
[
|
93
|
+
"debian",
|
94
|
+
"#{repository_url_prefix}/%{distribution}/" +
|
95
|
+
"apache-arrow-apt-source-latest-%{code_name}.deb",
|
96
|
+
],
|
97
|
+
["debian", "libarrow-glib-dev"],
|
98
|
+
|
99
|
+
["fedora", "libarrow-glib-devel"],
|
100
|
+
|
101
|
+
# Try without additional repository
|
102
|
+
["rhel", "arrow-glib-devel"],
|
103
|
+
# Retry with additional repository
|
104
|
+
[
|
105
|
+
"rhel",
|
106
|
+
"#{repository_url_prefix}/almalinux/%{major_version}/" +
|
107
|
+
"apache-arrow-release-latest.rpm",
|
108
|
+
],
|
109
|
+
["rhel", "arrow-glib-devel"],
|
110
|
+
].each do |platform, package|
|
111
|
+
spec.requirements <<
|
112
|
+
"system: arrow-glib>=#{required_arrow_glib_version}: " +
|
113
|
+
"#{platform}: #{package}"
|
114
|
+
end
|
63
115
|
end
|
64
116
|
|
65
|
-
required_msys2_package_version = version_components[0, 3].join(".")
|
66
117
|
spec.metadata["msys2_mingw_dependencies"] =
|
67
|
-
"arrow>=#{
|
118
|
+
"arrow>=#{required_arrow_glib_version}"
|
68
119
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-arrow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 20.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: bigdecimal
|
@@ -66,20 +65,6 @@ dependencies:
|
|
66
65
|
- - ">="
|
67
66
|
- !ruby/object:Gem::Version
|
68
67
|
version: 4.2.3
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: native-package-installer
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
68
|
- !ruby/object:Gem::Dependency
|
84
69
|
name: pkg-config
|
85
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -260,8 +245,7 @@ homepage: https://arrow.apache.org/
|
|
260
245
|
licenses:
|
261
246
|
- Apache-2.0
|
262
247
|
metadata:
|
263
|
-
msys2_mingw_dependencies: arrow>=
|
264
|
-
post_install_message:
|
248
|
+
msys2_mingw_dependencies: arrow>=20.0.0
|
265
249
|
rdoc_options: []
|
266
250
|
require_paths:
|
267
251
|
- lib
|
@@ -275,9 +259,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
259
|
- - ">="
|
276
260
|
- !ruby/object:Gem::Version
|
277
261
|
version: '0'
|
278
|
-
requirements:
|
279
|
-
|
280
|
-
|
262
|
+
requirements:
|
263
|
+
- 'system: arrow-glib>=20.0.0: amazon_linux: arrow-glib-devel'
|
264
|
+
- 'system: arrow-glib>=20.0.0: amazon_linux: https://packages.apache.org/artifactory/arrow/amazon-linux/%{version}/apache-arrow-release-latest.rpm'
|
265
|
+
- 'system: arrow-glib>=20.0.0: amazon_linux: arrow-glib-devel'
|
266
|
+
- 'system: arrow-glib>=20.0.0: centos: arrow-glib-devel'
|
267
|
+
- 'system: arrow-glib>=20.0.0: centos: https://packages.apache.org/artifactory/arrow/centos/%{major_version}-stream/apache-arrow-release-latest.rpm'
|
268
|
+
- 'system: arrow-glib>=20.0.0: centos: arrow-glib-devel'
|
269
|
+
- 'system: arrow-glib>=20.0.0: conda: arrow-c-glib'
|
270
|
+
- 'system: arrow-glib>=20.0.0: debian: libarrow-glib-dev'
|
271
|
+
- 'system: arrow-glib>=20.0.0: debian: https://packages.apache.org/artifactory/arrow/%{distribution}/apache-arrow-apt-source-latest-%{code_name}.deb'
|
272
|
+
- 'system: arrow-glib>=20.0.0: debian: libarrow-glib-dev'
|
273
|
+
- 'system: arrow-glib>=20.0.0: fedora: libarrow-glib-devel'
|
274
|
+
- 'system: arrow-glib>=20.0.0: rhel: arrow-glib-devel'
|
275
|
+
- 'system: arrow-glib>=20.0.0: rhel: https://packages.apache.org/artifactory/arrow/almalinux/%{major_version}/apache-arrow-release-latest.rpm'
|
276
|
+
- 'system: arrow-glib>=20.0.0: rhel: arrow-glib-devel'
|
277
|
+
rubygems_version: 3.7.0.dev
|
281
278
|
specification_version: 4
|
282
279
|
summary: Red Arrow is the Ruby bindings of Apache Arrow
|
283
280
|
test_files: []
|