Skip to content

Commit 19b14a1

Browse files
authored
Merge pull request #8142 from thierry-martinez/master
Add pyml.20161224
2 parents 3784525 + aa8743d commit 19b14a1

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

packages/pyml/pyml.20161224/descr

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
``py.ml``: OCaml bindings for Python
2+
====================================
3+
4+
``py.ml`` provides OCaml bindings for ``Python 2`` and ``Python
5+
3``. This library subsumes the ``pycaml`` library, which is no longer
6+
actively maintained.
7+
8+
*Homepage:* http://pyml.gforge.inria.fr
9+
10+
*Documentation:* http://pyml.gforge.inria.fr/doc
11+
12+
*Git:* ``git clone http://pyml.gforge.inria.fr/pyml.git``
13+
14+
*Git Repository Browser:* http://pyml.gforge.inria.fr/browser
15+
16+
*Tracker for bug reports and feature requests:*
17+
http://pyml.gforge.inria.fr/tracker
18+
19+
*OPAM:* ``opam install pyml``
20+
21+
The Python library is linked at runtime and the same executable can be
22+
run in a Python 2 or a Python 3 environment. ``py.ml`` does not
23+
require any Python library at compile time, nor any other
24+
dependency.
25+
26+
Bindings are split in three modules:
27+
28+
- ``Py`` provides the initialization functions and some high-level
29+
bindings, with error handling and naming conventions closer to OCaml
30+
usages.
31+
32+
- ``Pycaml`` provides a signature close to the old ``Pycaml``
33+
module, so as to ease migration.
34+
35+
- ``Pywrappers`` provides low-level bindings, which follow closely the
36+
conventions of the C bindings for Python. Submodules
37+
``Pywrappers.Python2`` and ``Pywrappers.Python3`` contain version-specific
38+
bindings.

packages/pyml/pyml.20161224/opam

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
opam-version: "1.2"
2+
name: "pyml"
3+
maintainer: "Thierry Martinez <martinez@nsup.org>"
4+
authors: "Thierry Martinez <martinez@nsup.org>"
5+
homepage: "http://pyml.gforge.inria.fr"
6+
bug-reports: "http://pyml.gforge.inria.fr/tracker"
7+
license: "BSD"
8+
dev-repo: "https://scm.gforge.inria.fr/anonscm/git/pyml/pyml.git"
9+
build: [
10+
[make]
11+
]
12+
install: [make "install"]
13+
remove: ["ocamlfind" "remove" "pyml"]
14+
depends: [
15+
"ocamlfind" {build}
16+
]
17+
version: "20161224"

packages/pyml/pyml.20161224/url

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
http: "http://pyml.gforge.inria.fr/pyml-20161224.tar.gz"
2+
checksum: "ea8f445792ba5c8a7d5b6f4bf6bb31cd"
3+

0 commit comments

Comments
 (0)