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://zshipko.github.io/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.05.0"}
  "dune" {>= "2.0"}
  "ctypes" {>= "0.13.0"}
  "ctypes-foreign" {>= "0.4.0"}
  "conf-python-3-dev"
]

build:
[
  ["dune" "build" "-p" name "-j" jobs]
  ["dune" "runtest" "-p" name "-j" jobs] {with-test}
]

post-messages: [
    "Py requires Python 3.5 or greater"
]

synopsis: "Ctypes bindings to Python 3.5 or greater"
description: "Simplifies the process of calling into Python from OCaml"
url {
  src:
    "https://github.com/zshipko/ocaml-py/releases/download/v1.3/py-v1.3.tbz"
  checksum: [
    "sha256=bbba9188bf6dd1e573368918982ac07cab1cccde6a0a44382ca83aa4214fb2ee"
    "sha512=459f744b8d9367692e23be0374e265f75bd356857883e7db8359061c3525011dbe99d24a52ede0fa5a37eaf04c1b72f5cba56fad94b8c85de2b46a178a996afa"
  ]
}
