dev-ml/py - 1.3 (nest)

Search

Install

Install this version:

emerge -a =dev-ml/py-1.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-ml/py-1.3

Or alternatively:

emerge --autounmask-write -a =dev-ml/py-1.3

Package Information

Description:
Python bindings for OCaml
Homepage:
https://github.com/zshipko/ocaml-py
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
1.3 8 ~amd64 ~x86 0/1.3
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..15} )

inherit dune python-any-r1

MY_PN="ocaml-${PN}"

DESCRIPTION="Python bindings for OCaml"
HOMEPAGE="https://github.com/zshipko/ocaml-py"
SRC_URI="https://github.com/zshipko/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"

DEPEND="${PYTHON_DEPS}"
RDEPEND="dev-ml/ocaml-ctypes:0=[ocamlopt?]"

pkg_setup() {
	python-any-r1_pkg_setup
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-ml/py | euse -E <flag> -p dev-ml/py | euse -D <flag> -p dev-ml/py

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

dev-ml/ocaml-ctypes:0=[ocamlopt?]

Manifest for 1.3

Type File Size Source URLs
DIST py-1.3.tar.gz 21509 bytes https://github.com/zshipko/ocaml-py/archive/v1.3.tar.gz