dev-ml/ocamlformat-rpc-lib: new package, add 0.26.2

Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com>
This commit is contained in:
Hiroki Tokunaga
2024-07-29 00:53:18 +09:00
parent 2f3ac3c6e4
commit 18bcbdffa6
3 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ocamlformat-rpc-lib-0.26.2.tar.gz 901463 BLAKE2B 619838f68f6031d8e98319a66c3a906b46e1c394c5d7ddce18a4c91029522add716f298d18b232503a84c1a0f6384edd280cc20faf0974f5b8c019e2e827a083 SHA512 c6df074b69a35a545898961f8cd578a5cafbf4a382bd0b9783a770a40072bdd91be864a53c27c175ceef7ffff5a25b165b475c7a92ac4f790bf19abc74897bbe

View File

@@ -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>tokusan441@gmail.com</email>
<name>Hiroki Tokunaga</name>
</maintainer>
<longdescription lang="en">OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat.</longdescription>
<upstream>
<bugs-to>https://github.com/ocaml-ppx/ocamlformat/issues</bugs-to>
<remote-id type="github">ocaml-ppx/ocamlformat</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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="Auto-formatter for OCaml code (RPC mode)"
HOMEPAGE="
https://opam.ocaml.org/packages/ocamlformat-rpc-lib
https://github.com/ocaml-ppx/ocamlformat
"
SRC_URI="https://github.com/ocaml-ppx/ocamlformat/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocamlformat-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-ml/csexp-1.4.0:=
"
DEPEND="
${RDEPEND}
"
src_compile() {
dune-compile ocamlformat-rpc-lib
}
src_install() {
dune-install ocamlformat-rpc-lib
}