dev-ml/odoc-parser: new package, add 2.0.0

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2022-12-21 12:34:34 +01:00
parent e33bfdf162
commit 3f1ee29dd4
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST odoc-parser-2.0.0.tbz 34826 BLAKE2B 0d167fa7d768dfac3b45740707b0a84d300999ef4334ade70286675d906cd7d8c70fcd27e563fb0ab4450f6a0ff8097884af267b376b51e7a91ccfbecb8ac06c SHA512 d2bffa3e9f30471045682e390dcee7a2c1caf3831bca4bd57c16939e782c2e23434e6f1c9887580a1804800b3629ef4c4311a9d418fca5a939f324650d54006e

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>ML</name>
</maintainer>
<longdescription>
Odoc_parser is a library for parsing the contents of OCaml
documentation comments, formatted using 'odoc' syntax, an extension
of the language understood by ocamldoc.
</longdescription>
<upstream>
<bugs-to>https://github.com/ocaml-doc/odoc-parser/issues/</bugs-to>
<remote-id type="github">ocaml-doc/odoc-parser</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Parser for ocaml documentation comments"
HOMEPAGE="https://github.com/ocaml-doc/odoc-parser"
SRC_URI="https://github.com/ocaml-doc/odoc-parser/releases/download/${PV}/${P}.tbz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-ml/astring:=
dev-ml/result:=
dev-ml/camlp-streams:=
"
DEPEND="${RDEPEND}"
BDEPEND="test? (
dev-ml/ppx_expect
)"