Skip to content

Commit

Permalink
dev-ml/merlin-lib: new package, add 4.16
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroki Tokunaga <[email protected]>
  • Loading branch information
toku-sa-n committed Jul 30, 2024
1 parent 349ab0f commit e8e8a62
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/merlin-lib/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST merlin-lib-4.16.tar.gz 2465694 BLAKE2B 7babd3e6f480f8e00b006efcfa584c8587324f4d5dcbdbe357ccaf438b28bd1f92cfa9d5e914997ef43f8473fd493c84ca1287cae164cd8aa0e5ab9b3bf6c2be SHA512 5b1cee72bfb76e999c1e448fb2d7b3dd9593f66641ec3d8a3c90a20b6e7c85d2acd21fd0f506bfda386292228415637acc3e4abfc91211cb4eaf0af01965d6b4
40 changes: 40 additions & 0 deletions dev-ml/merlin-lib/merlin-lib-4.16.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Merlin's libraries"
HOMEPAGE="
https://opam.ocaml.org/packages/merlin-lib/
https://github.com/ocaml/merlin/
"
SRC_URI="https://github.com/ocaml/merlin/archive/v${PV}-414.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/merlin-${PV}-414"

LICENSE="MIT"

SLOT="0/${PV}"

KEYWORDS="~amd64"
IUSE="ocamlopt"

# Tests require `menhir-20201216` which is not in the Gentoo repository,
# though the opam file says more recent versions are supported.
RESTRICT="test"

RDEPEND="
=dev-lang/ocaml-4.14*:=
>=dev-ml/dune-2.9.0:=
>=dev-ml/csexp-1.5.1:=
"

DEPEND="
${RDEPEND}
"

src_compile() {
dune-compile merlin-lib
}
13 changes: 13 additions & 0 deletions dev-ml/merlin-lib/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Hiroki Tokunaga</name>
</maintainer>
<longdescription lang="en">These libraries provides access to low-level compiler interfaces and the standard higher-level merlin protocol. The library is provided as-is, is not thoroughly documented, and its public API might break with any new release.</longdescription>
<upstream>
<bugs-to>https://github.com/ocaml/merlin/issues</bugs-to>
<remote-id type="github">ocaml/merlin</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit e8e8a62

Please sign in to comment.