rdkit_chem 2025.09.3.1-x86_64-linux → 2025.09.3.2-x86_64-linux
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d62f2f061e4277e4e994d3931d10805e087ef737a3b54a5105efaabbcb8cebc0
|
|
4
|
+
data.tar.gz: f80cd8ee0bef5011700e7f8825ab4c3b43119ffd83ae5497697083f63da37ac1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09af157258961ccc28af47c70ba124a65b6688bcc8ce6f992ede4138d667c6fdbf93be219bdab2bceede01cbbf960a7c84104dd44fa5b5b52aec0f3ddfea852e'
|
|
7
|
+
data.tar.gz: cf1f9bdc6d3d51b5a7414a9a2a7aa1a3052608e1b4f00efbfa6664baeb614d3388743733f14fc76323d39e8422e4a6e0592bd24ff0a7eaa6540f7aef883f007c
|
data/Rakefile
CHANGED
|
@@ -10,6 +10,12 @@ require 'rdkit_chem/version'
|
|
|
10
10
|
VERSION = RDKitChem::GEMVERSION
|
|
11
11
|
NATIVE_DIR = 'rdkit_chem/lib'
|
|
12
12
|
|
|
13
|
+
# System libraries that need to be bundled for portability
|
|
14
|
+
BUNDLED_SYSTEM_LIBS = %w[
|
|
15
|
+
libboost_serialization.so*
|
|
16
|
+
libboost_iostreams.so*
|
|
17
|
+
].freeze
|
|
18
|
+
|
|
13
19
|
desc 'Run tests'
|
|
14
20
|
Rake::TestTask.new(:test) do |t|
|
|
15
21
|
t.libs << 'lib'
|
|
@@ -69,6 +75,40 @@ task :build_native do
|
|
|
69
75
|
puts "\nBuilt: rdkit_chem-#{VERSION}-#{Gem::Platform.local}.gem"
|
|
70
76
|
end
|
|
71
77
|
|
|
78
|
+
desc 'Bundle system libraries (Boost) into native directory'
|
|
79
|
+
task :bundle_system_libs do
|
|
80
|
+
so_file = File.join(NATIVE_DIR, 'RDKitChem.so')
|
|
81
|
+
unless File.exist?(so_file)
|
|
82
|
+
abort "ERROR: #{so_file} not found"
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
puts "Finding and bundling system library dependencies..."
|
|
86
|
+
|
|
87
|
+
# Find library paths using ldd
|
|
88
|
+
ldd_output = `ldd #{so_file} 2>/dev/null`
|
|
89
|
+
|
|
90
|
+
BUNDLED_SYSTEM_LIBS.each do |lib_pattern|
|
|
91
|
+
lib_name = lib_pattern.gsub('*', '')
|
|
92
|
+
# Extract actual library path from ldd output
|
|
93
|
+
match = ldd_output.match(/#{Regexp.escape(lib_name)}[^\s]* => ([^\s]+)/)
|
|
94
|
+
if match
|
|
95
|
+
src_path = match[1]
|
|
96
|
+
if File.exist?(src_path)
|
|
97
|
+
dest = File.join(NATIVE_DIR, File.basename(src_path))
|
|
98
|
+
unless File.exist?(dest)
|
|
99
|
+
FileUtils.cp(src_path, dest, verbose: true)
|
|
100
|
+
else
|
|
101
|
+
puts "Already exists: #{dest}"
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
else
|
|
105
|
+
puts "WARNING: Could not find #{lib_pattern} in ldd output"
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
puts "Done bundling system libraries."
|
|
110
|
+
end
|
|
111
|
+
|
|
72
112
|
desc 'Apply RPATH fix to existing native extension (no recompile needed)'
|
|
73
113
|
task :fix_rpath do
|
|
74
114
|
so_file = File.join(NATIVE_DIR, 'RDKitChem.so')
|
|
Binary file
|
|
Binary file
|
data/lib/rdkit_chem/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdkit_chem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2025.09.3.
|
|
4
|
+
version: 2025.09.3.2
|
|
5
5
|
platform: x86_64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- An Nguyen
|
|
@@ -337,6 +337,8 @@ files:
|
|
|
337
337
|
- lib/rdkit_chem/3.3.0/libRDKitpubchem_align3d.so
|
|
338
338
|
- lib/rdkit_chem/3.3.0/libRDKitpubchem_align3d.so.1
|
|
339
339
|
- lib/rdkit_chem/3.3.0/libRDKitpubchem_align3d.so.1.2026.03.1pre
|
|
340
|
+
- lib/rdkit_chem/3.3.0/libboost_iostreams.so.1.83.0
|
|
341
|
+
- lib/rdkit_chem/3.3.0/libboost_serialization.so.1.83.0
|
|
340
342
|
- lib/rdkit_chem/version.rb
|
|
341
343
|
- test/test_rdkit_chem.rb
|
|
342
344
|
homepage: https://github.com/CamAnNguyen/rdkit-chem
|