aboutsummaryrefslogtreecommitdiff
path: root/Formula/chemicalite.rb
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-04-03 02:11:48 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-04-03 02:11:48 -0600
commit721376bf55f2ee22bcae969a98dafe5bbb05aebc (patch)
treec487da2cadd679240587c81995f47ac0853f2743 /Formula/chemicalite.rb
parent98a6ee343a69859697e463d1658d4b895858a686 (diff)
Diffstat (limited to 'Formula/chemicalite.rb')
-rw-r--r--Formula/chemicalite.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/Formula/chemicalite.rb b/Formula/chemicalite.rb
deleted file mode 100644
index 6c94a38..0000000
--- a/Formula/chemicalite.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-class Chemicalite < Formula
- desc "SQLite extension for chemoinformatics applications"
- homepage "https://chemicalite.readthedocs.io/en/latest/"
- url "https://github.com/rvianello/chemicalite/archive/refs/tags/2024.02.1.tar.gz"
- sha256 "fa254bb9a9b15b8fb4befefc28ff12225fdf99ddcf3ee0a5bd749be72283c9e7"
- license "BSD-3-Clause"
-
- depends_on "catch2" => [:build, :test]
- depends_on "cmake" => :build
- depends_on "sqlite" => [:build, :test]
- depends_on "python3" => [:test]
- depends_on "boost"
- depends_on "rdkit"
-
- def install
- system "cmake", "-S", ".", "-B", "build", "-DCHEMICALITE_ENABLE_TESTS=OFF", *std_cmake_args
- system "cmake", "--build", "build"
- system "cmake", "--install", "build"
- end
-
- test do
- system "python3", "-c", "import sqlite3; \
- con = sqlite3.connect('chembldb.sql'); \
- con.enable_load_extension(True); \
- con.load_extension('chemicalite'); \
- con.execute( \
- 'CREATE TABLE chembl(id INTEGER PRIMARY KEY, chembl_id TEXT, molecule MOL)')"
- end
-end