commit: 64593c3c7abfbbd58e4e26ff75a26324134b4647 Author: Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com> AuthorDate: Mon Jul 15 14:26:05 2024 +0000 Commit: Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com> CommitDate: Mon Jul 15 14:26:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64593c3c
dev-ml/ocaml-syntax-shims: new package, add 1.0.0 Signed-off-by: Hiroki Tokunaga <tokusan441 <AT> gmail.com> dev-ml/ocaml-syntax-shims/Manifest | 1 + dev-ml/ocaml-syntax-shims/metadata.xml | 13 +++++++++++++ .../ocaml-syntax-shims-1.0.0.ebuild | 19 +++++++++++++++++++ 3 files changed, 33 insertions(+) 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>[email protected]</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 )"
