aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tokunaga <tokusan441@gmail.com>2024-07-15 23:26:05 +0900
committerHiroki Tokunaga <tokusan441@gmail.com>2024-07-15 23:26:05 +0900
commit64593c3c7abfbbd58e4e26ff75a26324134b4647 (patch)
tree78e4c28d7927c8795ed8f4a4b3cf5a3dbe15f1f7
parentapp-crypt/certbot-dns-cloudflare: remove unneeded depends (diff)
downloadguru-64593c3c7abfbbd58e4e26ff75a26324134b4647.tar.gz
guru-64593c3c7abfbbd58e4e26ff75a26324134b4647.tar.bz2
guru-64593c3c7abfbbd58e4e26ff75a26324134b4647.zip
dev-ml/ocaml-syntax-shims: new package, add 1.0.0
Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com>
-rw-r--r--dev-ml/ocaml-syntax-shims/Manifest1
-rw-r--r--dev-ml/ocaml-syntax-shims/metadata.xml13
-rw-r--r--dev-ml/ocaml-syntax-shims/ocaml-syntax-shims-1.0.0.ebuild19
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/ocaml-syntax-shims/Manifest b/dev-ml/ocaml-syntax-shims/Manifest
new file mode 100644
index 000000000..fe76e58b8
--- /dev/null
+++ b/dev-ml/ocaml-syntax-shims/Manifest
@@ -0,0 +1 @@
+DIST ocaml-syntax-shims-1.0.0.tar.gz 5806 BLAKE2B b5dc2795a4b28283b24e608ef74566a184caf1f20d2d5c75a77a5050b509f0235a7ada03e112b112e985b7a49dd8000cfafd0bba42d454ae1b2fb97254f9008a SHA512 fa3ba304f1fcc751d41d45687b57e8c5511bbc1b644ea14807f884cf2c6c5275c324ec5f9f55b02b56195af803b2bce7f07afea408fb36f9a6d5d9b85edf6719
diff --git a/dev-ml/ocaml-syntax-shims/metadata.xml b/dev-ml/ocaml-syntax-shims/metadata.xml
new file mode 100644
index 000000000..d50963512
--- /dev/null
+++ b/dev-ml/ocaml-syntax-shims/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">This package provides a small utility that backports some of the newer OCaml syntax to older OCaml compilers. This allows adopting new features such as let+ while still keeping compatibility with older OCaml compiler.</longdescription>
+ <upstream>
+ <bugs-to>https://github.com/ocaml-ppx/ocaml-syntax-shims/issues</bugs-to>
+ <remote-id type="github">ocaml-ppx/ocaml-syntax-shims</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-syntax-shims/ocaml-syntax-shims-1.0.0.ebuild b/dev-ml/ocaml-syntax-shims/ocaml-syntax-shims-1.0.0.ebuild
new file mode 100644
index 000000000..523ddf2b3
--- /dev/null
+++ b/dev-ml/ocaml-syntax-shims/ocaml-syntax-shims-1.0.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Backport new syntax to older compilers"
+HOMEPAGE="https://github.com/ocaml-ppx/ocaml-syntax-shims"
+SRC_URI="https://github.com/ocaml-ppx/ocaml-syntax-shims/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+
+SLOT="0/${PV}"
+
+KEYWORDS="~amd64"
+IUSE="ocamlopt test"
+
+RESTRICT="!test? ( test )"