Install this version:
emerge -a =dev-ml/tyxml-4.6.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-ml/tyxml-4.6.0
Or alternatively:
emerge --autounmask-write -a =dev-ml/tyxml-4.6.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME="tyxml tyxml-jsx tyxml-ppx tyxml-syntax"
inherit dune
DESCRIPTION="A library for building correct HTML and SVG documents"
HOMEPAGE="https://github.com/ocsigen/tyxml"
SRC_URI="https://github.com/ocsigen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/markup:0=[ocamlopt?]
dev-ml/ppxlib:0=[ocamlopt?]
dev-ml/seq:0=[ocamlopt?]
dev-ml/re:0=[ocamlopt?]
dev-ml/uutf:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/alcotest
dev-ml/reason )"
src_prepare() {
default
has_version "=dev-ml/ppxlib-0.36*" && \
eapply "${FILESDIR}/${PN}"-4.6.0-ocaml5.2.patch
}
Manage flags for this package:
euse -i <flag> -p dev-ml/tyxml |
euse -E <flag> -p dev-ml/tyxml |
euse -D <flag> -p dev-ml/tyxml
dev-ml/markup:0=[ocamlopt?] dev-ml/ppxlib:0=[ocamlopt?] dev-ml/seq:0=[ocamlopt?] dev-ml/re:0=[ocamlopt?] dev-ml/uutf:0=[ocamlopt?]
test? ( dev-ml/alcotest dev-ml/reason )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tyxml-4.6.0.tar.gz | 129629 bytes | https://github.com/ocsigen/tyxml/archive/4.6.0.tar.gz |