commit: e8e8a627cf4e54b5bffe761ef800aab4ae66d8e9 Author: Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com> AuthorDate: Tue Jul 30 15:30:07 2024 +0000 Commit: Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com> CommitDate: Tue Jul 30 15:30:07 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8e8a627
dev-ml/merlin-lib: new package, add 4.16 Signed-off-by: Hiroki Tokunaga <tokusan441 <AT> gmail.com> dev-ml/merlin-lib/Manifest | 1 + dev-ml/merlin-lib/merlin-lib-4.16.ebuild | 40 ++++++++++++++++++++++++++++++++ dev-ml/merlin-lib/metadata.xml | 13 +++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-ml/merlin-lib/Manifest b/dev-ml/merlin-lib/Manifest new file mode 100644 index 000000000..907cbd12e --- /dev/null +++ b/dev-ml/merlin-lib/Manifest @@ -0,0 +1 @@ +DIST merlin-lib-4.16.tar.gz 2465694 BLAKE2B 7babd3e6f480f8e00b006efcfa584c8587324f4d5dcbdbe357ccaf438b28bd1f92cfa9d5e914997ef43f8473fd493c84ca1287cae164cd8aa0e5ab9b3bf6c2be SHA512 5b1cee72bfb76e999c1e448fb2d7b3dd9593f66641ec3d8a3c90a20b6e7c85d2acd21fd0f506bfda386292228415637acc3e4abfc91211cb4eaf0af01965d6b4 diff --git a/dev-ml/merlin-lib/merlin-lib-4.16.ebuild b/dev-ml/merlin-lib/merlin-lib-4.16.ebuild new file mode 100644 index 000000000..75f7ccc44 --- /dev/null +++ b/dev-ml/merlin-lib/merlin-lib-4.16.ebuild @@ -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 +} diff --git a/dev-ml/merlin-lib/metadata.xml b/dev-ml/merlin-lib/metadata.xml new file mode 100644 index 000000000..0f02c4195 --- /dev/null +++ b/dev-ml/merlin-lib/metadata.xml @@ -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>tokusan...@gmail.com</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>