diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-06-15 16:21:02 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-06-15 17:55:17 +0200 |
commit | f073314a646a5556a76a0f4c235fff6a2eb85ee9 (patch) | |
tree | 2080debd0bcce8b87876000c9c8a1ad264aa5b3c /dev-ml | |
parent | dev-ml/core: add 0.17.1 (diff) | |
download | gentoo-f073314a646a5556a76a0f4c235fff6a2eb85ee9.tar.gz gentoo-f073314a646a5556a76a0f4c235fff6a2eb85ee9.tar.bz2 gentoo-f073314a646a5556a76a0f4c235fff6a2eb85ee9.zip |
dev-ml/uopt: new package, add 0.17.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/uopt/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/uopt/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ml/uopt/uopt-0.17.0.ebuild | 23 |
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-ml/uopt/Manifest b/dev-ml/uopt/Manifest new file mode 100644 index 000000000000..4e83cef130a4 --- /dev/null +++ b/dev-ml/uopt/Manifest @@ -0,0 +1 @@ +DIST uopt-0.17.0.tar.gz 5880 BLAKE2B d1e18fafad21ad98d7d5a7f2c39121c6b097a3f295616a6ebc33c438452f2c35e1d6040a5bf893d3d4e889e3783283f36c7571b3b676f5dd81517b2a2ede49a3 SHA512 ccee93d326f3ceb9d844b3470f27d7f1eb7fd20818be564557293373c544ac2dc6d1db48f1972f5525a11c7976711eb903dd4be0afd17c9b0118dc62be193811 diff --git a/dev-ml/uopt/metadata.xml b/dev-ml/uopt/metadata.xml new file mode 100644 index 000000000000..0357c74bd81b --- /dev/null +++ b/dev-ml/uopt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> + <upstream> + <remote-id type="github">janestreet/uopt</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/uopt/uopt-0.17.0.ebuild b/dev-ml/uopt/uopt-0.17.0.ebuild new file mode 100644 index 000000000000..5788d919c172 --- /dev/null +++ b/dev-ml/uopt/uopt-0.17.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="An [option]-like type that incurs no allocation" +HOMEPAGE="https://github.com/janestreet/uopt" +SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" +IUSE="+ocamlopt" + +RDEPEND=" + >=dev-lang/ocaml-5 + dev-ml/base:${SLOT}[ocamlopt?] + dev-ml/ppx_jane:${SLOT}[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-ml/dune-3.11" |