dev-ml/tyxml - 4.6.0 (nest)

Search

Install

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

Package Information

Description:
A library for building correct HTML and SVG documents
Homepage:
https://github.com/ocsigen/tyxml
License:
LGPL-2.1-with-linking-exception

Ebuild Details

Version EAPI Keywords Slot
4.6.0 8 ~amd64 ~x86 0/4.6.0
View Raw Ebuild
# 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
}

USE Flags

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

Global/Standard Flags

ocamlopt
Default: Enabled (+)

Inherited Eclasses

Dependencies

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 )

Manifest for 4.6.0

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