From 5ce0ea98fe6caac8207fa60b003946763b31f4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Tue, 24 Mar 2026 16:39:18 +0100 Subject: [PATCH] dev-ml/ocaml-markdown: new package; add version 0.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-ml/ocaml-markdown/Manifest | 1 + dev-ml/ocaml-markdown/metadata.xml | 13 ++++++ .../ocaml-markdown-0.2.1.ebuild | 46 +++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 dev-ml/ocaml-markdown/Manifest create mode 100644 dev-ml/ocaml-markdown/metadata.xml create mode 100644 dev-ml/ocaml-markdown/ocaml-markdown-0.2.1.ebuild diff --git a/dev-ml/ocaml-markdown/Manifest b/dev-ml/ocaml-markdown/Manifest new file mode 100644 index 0000000000000..f6e2e3192ecf9 --- /dev/null +++ b/dev-ml/ocaml-markdown/Manifest @@ -0,0 +1 @@ +DIST ocaml-markdown-0.2.1.gh.tar.gz 9192 BLAKE2B 07839e6a5966a73c300432f8b6b8340ce54045cb2e08e962c7029a5caa74756d6dc302c37f34f16f06f936373a110a2316e84f2f0263556d52ba04c4799c5250 SHA512 48aa7332f04cf880046e2647c99a6ff60b026cf9e3130173713f431ebb68b3d394dd83290e5e4f9359faa1381115798548d85c7b4b3b121afcbbb78b8b757fa3 diff --git a/dev-ml/ocaml-markdown/metadata.xml b/dev-ml/ocaml-markdown/metadata.xml new file mode 100644 index 0000000000000..98ef686b30486 --- /dev/null +++ b/dev-ml/ocaml-markdown/metadata.xml @@ -0,0 +1,13 @@ + + + + + + ml@gentoo.org + ML + + + https://github.com/gildor478/ocaml-markdown/issues/ + gildor478/ocaml-markdown + + diff --git a/dev-ml/ocaml-markdown/ocaml-markdown-0.2.1.ebuild b/dev-ml/ocaml-markdown/ocaml-markdown-0.2.1.ebuild new file mode 100644 index 0000000000000..93d50693e5264 --- /dev/null +++ b/dev-ml/ocaml-markdown/ocaml-markdown-0.2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DUNE_PKG_NAME="markdown" + +inherit dune + +DESCRIPTION="Markdown parser and printer in OCaml" +HOMEPAGE="https://github.com/gildor478/ocaml-markdown/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gildor478/${PN}" +else + SRC_URI="https://github.com/gildor478/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-ml/batteries-2.10:= + >=dev-ml/tyxml-4.3:= +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + test? ( + >=dev-ml/ounit2-2.0.8 + ) +" + +DOCS=( CHANGES.md README.md ) + +src_install() { + dune_src_install + einstalldocs +}