public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-ml/ocamlformat-rpc-lib/
@ 2024-07-28 21:21 Lucio Sauer
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio Sauer @ 2024-07-28 21:21 UTC (permalink / raw
  To: gentoo-commits

commit:     18bcbdffa6509f097fd129659706e7036f20caa0
Author:     Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com>
AuthorDate: Sun Jul 28 15:53:18 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Jul 28 15:53:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18bcbdff

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

Signed-off-by: Hiroki Tokunaga <tokusan441 <AT> gmail.com>

 dev-ml/ocamlformat-rpc-lib/Manifest                |  1 +
 dev-ml/ocamlformat-rpc-lib/metadata.xml            | 13 +++++++
 .../ocamlformat-rpc-lib-0.26.2.ebuild              | 40 ++++++++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/dev-ml/ocamlformat-rpc-lib/Manifest b/dev-ml/ocamlformat-rpc-lib/Manifest
new file mode 100644
index 000000000..1b3a2aa44
--- /dev/null
+++ b/dev-ml/ocamlformat-rpc-lib/Manifest
@@ -0,0 +1 @@
+DIST ocamlformat-rpc-lib-0.26.2.tar.gz 901463 BLAKE2B 619838f68f6031d8e98319a66c3a906b46e1c394c5d7ddce18a4c91029522add716f298d18b232503a84c1a0f6384edd280cc20faf0974f5b8c019e2e827a083 SHA512 c6df074b69a35a545898961f8cd578a5cafbf4a382bd0b9783a770a40072bdd91be864a53c27c175ceef7ffff5a25b165b475c7a92ac4f790bf19abc74897bbe

diff --git a/dev-ml/ocamlformat-rpc-lib/metadata.xml b/dev-ml/ocamlformat-rpc-lib/metadata.xml
new file mode 100644
index 000000000..446b3e4f2
--- /dev/null
+++ b/dev-ml/ocamlformat-rpc-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>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>

diff --git a/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild b/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild
new file mode 100644
index 000000000..9f5a24ff4
--- /dev/null
+++ b/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.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="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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-ml/ocamlformat-rpc-lib/
@ 2024-07-30 16:54 David Roman
  0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2024-07-30 16:54 UTC (permalink / raw
  To: gentoo-commits

commit:     8d7bec694c774feb6856b2c9637c4b6bede65b59
Author:     Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com>
AuthorDate: Mon Jul 29 11:41:36 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Jul 29 11:41:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d7bec69

dev-ml/ocamlformat-rpc-lib: disable testing

Closes: https://bugs.gentoo.org/936867
Signed-off-by: Hiroki Tokunaga <tokusan441 <AT> gmail.com>

 dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild b/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild
index 9f5a24ff4..ded2cb747 100644
--- a/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild
+++ b/dev-ml/ocamlformat-rpc-lib/ocamlformat-rpc-lib-0.26.2.ebuild
@@ -21,7 +21,8 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="ocamlopt test"
 
-RESTRICT="!test? ( test )"
+# Tests are covered in the tests of `dev-ml/ocamlformat`.
+RESTRICT="test"
 
 RDEPEND="
 	>=dev-ml/csexp-1.4.0:=


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-30 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30 16:54 [gentoo-commits] repo/proj/guru:master commit in: dev-ml/ocamlformat-rpc-lib/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-07-28 21:21 Lucio Sauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox