-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ml/merlin-lib: new package, add 4.16
Signed-off-by: Hiroki Tokunaga <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |