dev-ml/either: new package, add 1.0.0

Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com>
This commit is contained in:
Hiroki Tokunaga 2024-07-24 00:55:34 +09:00
parent 204154a626
commit 3aaf542dba
No known key found for this signature in database
GPG Key ID: E276791E129FF601
3 changed files with 33 additions and 0 deletions

1
dev-ml/either/Manifest Normal file
View File

@ -0,0 +1 @@
DIST either-1.0.0.tar.gz 3272 BLAKE2B 0ac6ffc11a600533d0d665907bca26e940e3b9029cd3bbc87a8b7eee2e3d9cf46aa42308e25ed7c9676f20aaa036f747681a581743ab84ea280303705f5b84cb SHA512 ae3c69dbd9219dc459d321c5c3fab5d73ead799b78956cd13de7716967dadbc17007808e980f9811c6fa5918267ab1a7efa747aac50cb6e1b62f29881a93bece

View File

@ -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 )"

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">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>