aboutsummaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/either/Manifest1
-rw-r--r--dev-ml/either/either-1.0.0.ebuild19
-rw-r--r--dev-ml/either/metadata.xml13
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/either/Manifest b/dev-ml/either/Manifest
new file mode 100644
index 000000000..d8275d11f
--- /dev/null
+++ b/dev-ml/either/Manifest
@@ -0,0 +1 @@
+DIST either-1.0.0.tar.gz 3272 BLAKE2B 0ac6ffc11a600533d0d665907bca26e940e3b9029cd3bbc87a8b7eee2e3d9cf46aa42308e25ed7c9676f20aaa036f747681a581743ab84ea280303705f5b84cb SHA512 ae3c69dbd9219dc459d321c5c3fab5d73ead799b78956cd13de7716967dadbc17007808e980f9811c6fa5918267ab1a7efa747aac50cb6e1b62f29881a93bece
diff --git a/dev-ml/either/either-1.0.0.ebuild b/dev-ml/either/either-1.0.0.ebuild
new file mode 100644
index 000000000..bad2c833c
--- /dev/null
+++ b/dev-ml/either/either-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="Compatibility module for Either in OCaml 4.12 "
+HOMEPAGE="https://github.com/mirage/either"
+SRC_URI="https://github.com/mirage/either/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+
+SLOT="0/${PV}"
+
+KEYWORDS="~amd64"
+IUSE="ocamlopt test"
+
+RESTRICT="!test? ( test )"
diff --git a/dev-ml/either/metadata.xml b/dev-ml/either/metadata.xml
new file mode 100644
index 000000000..deeeab0fa
--- /dev/null
+++ b/dev-ml/either/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">Projects that want to use the Either module defined in OCaml 4.12.0 while staying compatible with older versions of OCaml should use this library instead. On OCaml versions 4.12 and above, this library defines an alias Either to the standard library's definition of the module. Otherwise, it provides an equivalent definition of Either.</longdescription>
+ <upstream>
+ <bugs-to>https://github.com/mirage/either/issues</bugs-to>
+ <remote-id type="github">mirage/either</remote-id>
+ </upstream>
+</pkgmetadata>