dev-ml/mdx: new package, add 2.5.1

Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
This commit is contained in:
Thomas Bracht Laumann Jespersen
2025-10-21 19:15:13 +00:00
parent cd764a5324
commit c174859e25
3 changed files with 50 additions and 0 deletions

1
dev-ml/mdx/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST mdx-2.5.1.gh.tar.gz 115228 BLAKE2B 95ed607564e33fa884aae7b7326257cd565acc67a2581ac4b9d88a710c6c77cc66375f8f019b5eae5a145617b681b0500a3fa81c0710d1304d731fbcc2013f3d SHA512 3679407c75730fd32c30b1e8bc9c4313d551e9386a999982315ef94ecc71eadc0cadfeddc736cbbc64126008b8776ad3aa326c199dae3344beab5d72bc52e7c2

View File

@@ -0,0 +1,38 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Execute code blocks inside your documentation"
HOMEPAGE="https://github.com/realworldocaml/mdx"
SRC_URI="https://github.com/realworldocaml/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-ml/dune-3.5
>=dev-lang/ocaml-4.08.0
dev-ml/findlib:=[ocamlopt?]
>=dev-ml/fmt-0.8.7:=[ocamlopt?]
>=dev-ml/csexp-1.3.2:=[ocamlopt?]
dev-ml/astring
>=dev-ml/logs-0.7.0:=[cli,ocamlopt?]
>=dev-ml/cmdliner-1.1.0:=[ocamlopt?]
>=dev-ml/re-1.7.2:=[ocamlopt?]
dev-ml/camlp-streams:=[ocamlopt?]
dev-ml/result:=[ocamlopt?]
dev-ml/ocaml-version:=[ocamlopt?]
"
DEPEND="
${RDEPEND}
>=dev-ml/cppo-1.1.0:=[ocamlopt?]
test? (
dev-ml/lwt:=[ocamlopt?]
)
"

11
dev-ml/mdx/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>t@laumann.xyz</email>
<name>Thomas Bracht Laumann Jespersen</name>
</maintainer>
<upstream>
<remote-id type="github">realworldocaml/mdx</remote-id>
</upstream>
</pkgmetadata>