this repo has no description
1opam-version: "2.0"
2authors: "https://github.com/rdkit/rdkit/graphs/contributors"
3homepage: "http://www.rdkit.org/"
4maintainer: "unixjunkie@sdf.org"
5bug-reports: "https://github.com/ocaml/opam-repository/issues"
6license: "BSD-3-Clause"
7build: [
8 ["sh" "-c" "c++ test.cpp -o test -I/usr/local/include/rdkit -L/usr/local/lib -lRDKitRDGeneral -DSWIG"] {os = "macos"}
9 ["sh" "-c" "c++ test.cpp -o test -I/usr/include/rdkit -lRDKitRDGeneral -DSWIG || c++ test.cpp -o test -I/usr/include/rdkit -lRDGeneral -DSWIG"] {os = "linux"}
10 ["sh" "-c" "c++ test.cpp -o test -I/usr/local/include -I/usr/local/include/rdkit -L/usr/local/lib -lRDKitRDGeneral -DSWIG"] {os = "freebsd"}
11 ["./test"]
12]
13depexts: [
14 ["librdkit-dev" "python-rdkit"] {os-distribution = "debian" & os-version < "11"}
15 ["librdkit-dev" "python3-rdkit"] {os-distribution = "debian" & os-version >= "11"}
16 ["librdkit-dev" "python-rdkit"] {os-distribution = "ubuntu" & os-version < "20.04"}
17 ["librdkit-dev" "python3-rdkit"] {os-distribution = "ubuntu" & os-version >= "20.04"}
18 ["librdkit-dev" "python3-rdkit"] {(os-family = "debian" | os-family = "ubuntu") & os-distribution != "debian" & os-distribution != "ubuntu"}
19 ["rdkit-devel" "python3-rdkit"] {os-distribution = "fedora"}
20 ["rdkit"] {os = "freebsd"}
21]
22x-ci-accept-failures: [ # RDKit does not exist by default on these distributions
23 "alpine-3.12"
24 "alpine-3.18"
25 "archlinux"
26 "centos-7"
27 "centos-8"
28 "fedora-37"
29 "fedora-38"
30 "opensuse-15.2"
31 "opensuse-15.5"
32 "oraclelinux-7"
33 "oraclelinux-8"
34 "oraclelinux-9"
35]
36post-messages:
37 "This package requires rdkit to be installed. You might want to try:
38 'pip3 install rdkit; opam install --fake conf-rdkit'"
39 {failure}
40synopsis: "Virtual package relying on rdkit library installation"
41description: """
42This package can only install if the rdkit devel library is installed
43on the system."""
44flags: conf
45extra-source "test.cpp" {
46 src:
47 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-rdkit/test.cpp"
48 checksum: [
49 "sha256=c4f43a4a0d5898ee6226aa928a840b53c3148edb6243e444bbeb6945d2736c92"
50 "md5=8079a0c593690540fbcb2f848f5b43d5"
51 ]
52}