-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
40 lines (40 loc) · 1.22 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
opam-version: "2.0"
maintainer: "Zach Shipko <zachshipko@gmail.com>"
authors: ["Zach Shipko <zachshipko@gmail.com>"]
homepage: "https://github.com/zshipko/ocaml-py"
doc: "https://github.com/zshipko/ocaml-py/doc"
license: "ISC"
dev-repo: "git+https://github.com/zshipko/ocaml-py.git"
bug-reports: "https://github.com/zshipko/ocaml-py/issues"
tags: ["python"]
depends: [
"ocaml" {>= "4.03.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build & >= "0.9.1"}
"ctypes" {>= "0.13.0" & < "0.18.0"}
"ctypes-foreign" {>= "0.4.0"}
]
depexts: [
["python3-dev"] {os-family = "debian"}
["python3-devel"] {os-distribution = "fedora"}
["python3-dev"] {os-distribution = "alpine"}
]
build: [
["ocaml" "pkg/pkg.ml" "build"]
["ocaml" "pkg/pkg.ml" "build" "--tests" "true"] {with-test}
["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
post-messages: [
"Py requires Python 3.5 or greater"
]
synopsis: "Python 3.5+ bindings for OCaml"
description:
"Py provides a nice interface for interacting with Python libraries in OCaml"
url {
src: "https://github.com/zshipko/ocaml-py/archive/v1.0.tar.gz"
checksum: [
"sha256=15063002d47dca99878b0cd8f812f6a05f038126ccd0db67539cc3b8ca579ab2"
"md5=e924b70d6cfcec304a7416d5bee0500d"
]
}