dev-ml/patch - 3.0.1 (gentoo)

Search

Package Information

Description:
Patch library purely in OCaml
Homepage:
https://github.com/hannesm/patch/

Ebuild Details

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

EAPI=8

inherit dune

DESCRIPTION="Patch library purely in OCaml"
HOMEPAGE="https://github.com/hannesm/patch/"

if [[ "${PV}" == *9999* ]] ; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/hannesm/${PN}"
else
	SRC_URI="https://github.com/hannesm/${PN}/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.tar.gz"

	KEYWORDS="~amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"

BDEPEND="
	test? (
		dev-ml/alcotest
	)
"

USE Flags

ocamlopt
Default: Enabled (+)

Dependencies

BDEPEND

	test? (
		dev-ml/alcotest
	)

Manifest for 3.0.1

Type File Size Source URLs
DIST patch-3.0.1.tar.gz 28358 bytes https://github.com/hannesm/patch/archive/refs/tags/v3.0.1.tar.gz