dev-ml/ocaml-gettext - 0.4.2.1 (gentoo)

Search

Package Information

Description:
Provides support for internationalization of OCaml program
Homepage:
https://github.com/gildor478/ocaml-gettext
License:
LGPL-2.1-with-linking-exception

Ebuild Details

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

EAPI=8

DUNE_PKG_NAME="gettext"
inherit dune
comId=d566551bc2e2f5e6e61d24e05d314ff57eaea6bf

DESCRIPTION="Provides support for internationalization of OCaml program"
HOMEPAGE="https://github.com/gildor478/ocaml-gettext"
SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/${comId}.tar.gz
	-> ${P}.tar.gz"

S="${WORKDIR}"/${PN}-${comId}

LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="test"  # Tests fail

RDEPEND="
	>=dev-lang/ocaml-4.14.0:=[ocamlopt?]
	dev-ml/base:=
	>=dev-ml/ocaml-fileutils-0.6.6:=[ocamlopt=]
	sys-devel/gettext
"
DEPEND="${RDEPEND}"
BDEPEND="
	>=dev-ml/cppo-1.8.0
	test? ( dev-ml/ounit2[ocamlopt=] )
"

PATCHES=(
	"${FILESDIR}"/${PN}-ocaml-5.4.patch
)

src_compile() {
	dune-compile ${DUNE_PKG_NAME}
}

USE Flags

ocamlopt
Default: Enabled (+)

Dependencies

DEPEND

	>=dev-lang/ocaml-4.14.0:=[ocamlopt?]
	dev-ml/base:=
	>=dev-ml/ocaml-fileutils-0.6.6:=[ocamlopt=]
	sys-devel/gettext

RDEPEND

	>=dev-lang/ocaml-4.14.0:=[ocamlopt?]
	dev-ml/base:=
	>=dev-ml/ocaml-fileutils-0.6.6:=[ocamlopt=]
	sys-devel/gettext

BDEPEND

	>=dev-ml/cppo-1.8.0
	test? ( dev-ml/ounit2[ocamlopt=] )

Manifest for 0.4.2.1

Type File Size Source URLs
DIST ocaml-gettext-0.4.2.1.tar.gz 110349 bytes https://github.com/gildor478/ocaml-gettext/archive/d566551bc2e2f5e6e61d24e05d314ff57eaea6bf.tar.gz