openbabel 2.3.2.0 → 2.3.2.1
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/ext/openbabel/extconf.rb +4 -1
- data/lib/openbabel/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be4c03f43400bcca6ea043742d88a91f0ffb4b27
|
|
4
|
+
data.tar.gz: d716ff0e870245cd5566b6c9e338fdd640a9eb17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d76d501a8d0f959d27ed0e1be4b9ec997f0deadd2f8ca658f99f93635d09bde8908298c7ca109ff36985a8ab248b32aaeda91c18d9935ee4680601dddbb04c5
|
|
7
|
+
data.tar.gz: 070471fa2298ad01ad3d8c5fb028b7d6a6093b07a7e778930658e65febf469b3fee6844315c176c050c67b8f6afdd21b708341ecaff8aad53844a90c4d5910c9
|
data/ext/openbabel/extconf.rb
CHANGED
|
@@ -30,6 +30,8 @@ begin
|
|
|
30
30
|
system "curl -L -d use_mirror=netcologne 'http://downloads.sourceforge.net/project/openbabel/openbabel/#{ob_num_ver}/openbabel-#{ob_num_ver}.tar.gz' | tar xz"
|
|
31
31
|
system "sed -i -e 's/-Wl,-flat_namespace//;s/-flat_namespace//' #{File.join ruby_src_dir, "extconf.rb"}" # remove unrecognized compiler option
|
|
32
32
|
system "sed -i -e 's/Init_OpenBabel/Init_openbabel/g' #{File.join ruby_src_dir,"*cpp"}" # fix swig bindings
|
|
33
|
+
system "sed -i -e 's/Config::CONFIG/RbConfig::CONFIG/' #{File.join src_dir, "scripts", "CMakeLists.txt" }" # fix Ruby Config
|
|
34
|
+
system "sed -i -e 's/Config::CONFIG/RbConfig::CONFIG/' #{File.join ruby_src_dir, "extconf.rb" }" # fix Ruby Config
|
|
33
35
|
end
|
|
34
36
|
FileUtils.mkdir_p build_dir
|
|
35
37
|
FileUtils.mkdir_p install_dir
|
|
@@ -74,7 +76,8 @@ install:
|
|
|
74
76
|
mkdir -p #{lib_dir}
|
|
75
77
|
mv openbabel.#{RbConfig::CONFIG["DLEXT"]} #{lib_dir}
|
|
76
78
|
EOF
|
|
79
|
+
FileUtils.remove_entry_secure src_dir, build_dir
|
|
77
80
|
end
|
|
78
81
|
ensure
|
|
79
|
-
|
|
82
|
+
# Do NOT remove scr_dir and build_dir after build fails, they are necessary for debugging.
|
|
80
83
|
end
|
data/lib/openbabel/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openbabel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.2.
|
|
4
|
+
version: 2.3.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andreas Maunz, Christoph Helma, Katsuhiko Nishimra
|
|
@@ -20,10 +20,10 @@ extensions:
|
|
|
20
20
|
extra_rdoc_files: []
|
|
21
21
|
files:
|
|
22
22
|
- Rakefile
|
|
23
|
+
- ext/openbabel/extconf.rb
|
|
23
24
|
- lib/openbabel.rb
|
|
24
25
|
- lib/openbabel/version.rb
|
|
25
26
|
- test/test_openbabel.rb
|
|
26
|
-
- ext/openbabel/extconf.rb
|
|
27
27
|
homepage: http://github.com/opentox/openbabel-gem
|
|
28
28
|
licenses:
|
|
29
29
|
- GPL-3
|
|
@@ -34,17 +34,17 @@ require_paths:
|
|
|
34
34
|
- lib
|
|
35
35
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- -
|
|
37
|
+
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '0'
|
|
40
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
requirements:
|
|
42
|
-
- -
|
|
42
|
+
- - ">="
|
|
43
43
|
- !ruby/object:Gem::Version
|
|
44
44
|
version: '0'
|
|
45
45
|
requirements: []
|
|
46
46
|
rubyforge_project:
|
|
47
|
-
rubygems_version: 2.
|
|
47
|
+
rubygems_version: 2.4.5
|
|
48
48
|
signing_key:
|
|
49
49
|
specification_version: 4
|
|
50
50
|
summary: OpenBabel!
|