dev-ml/posix-socket - 4.0.2 (nest)

Search

Install

Install this version:

emerge -a =dev-ml/posix-socket-4.0.2

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

autounmask =dev-ml/posix-socket-4.0.2

Or alternatively:

emerge --autounmask-write -a =dev-ml/posix-socket-4.0.2

Package Information

Description:
OCaml bindings for posix sockets
Homepage:
https://github.com/savonet/ocaml-posix
License:
MIT

Ebuild Details

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

EAPI=8

DUNE_PKG_NAME="posix-socket"

inherit dune

MY_PN="ocaml-${PN/-socket/}"

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

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

RDEPEND="dev-ml/ocaml-ctypes:=[ocamlopt?]
	dev-ml/unix-errno:0=[ocamlopt?]"
BDEPEND="dev-ml/dune-configurator
	test? ( dev-ml/ocaml-process
		dev-ml/ounit2 )"

USE Flags

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

Global/Standard Flags

ocamlopt
❓ Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

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

BDEPEND

dev-ml/dune-configurator
	test? ( dev-ml/ocaml-process
		dev-ml/ounit2 )

Manifest for 4.0.2

Type File Size Source URLs
DIST posix-socket-4.0.2.tar.gz 100916 bytes https://github.com/savonet/ocaml-posix/archive/v4.0.2/posix-socket-4.0.2.tar.gz