diff options
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/stdlib-shims/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/stdlib-shims/metadata.xml | 26 | ||||
-rw-r--r-- | dev-ml/stdlib-shims/stdlib-shims-0.2.0.ebuild | 17 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-ml/stdlib-shims/Manifest b/dev-ml/stdlib-shims/Manifest new file mode 100644 index 000000000000..e61e7814fb14 --- /dev/null +++ b/dev-ml/stdlib-shims/Manifest @@ -0,0 +1 @@ +DIST stdlib-shims-0.2.0.tbz 15980 BLAKE2B 4d83b8642a4bccc9f090c0a2f23a4d2f16bbf2ec686ab41e357f5f544d659e82f10cba85f9d578c939a2a874d0006b7fd17846bb8ffe1b6fc7cb760e4aa33db1 SHA512 19e8d8e004583e94ce060d3598c886dae1c24dd79dfd177aab4bd2865846f668a83071f087d9371393f226c14c90042eb2ec76619654c655995aeff9d4765621 diff --git a/dev-ml/stdlib-shims/metadata.xml b/dev-ml/stdlib-shims/metadata.xml new file mode 100644 index 000000000000..bf7379a1dd2b --- /dev/null +++ b/dev-ml/stdlib-shims/metadata.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + Compatibility library for OCaml compilers before 4.08 to allow calling + Pervasives module functions on Stdlib, which is the API in newer compilers. + Does not add newer Stdlib functions. + </longdescription> + <maintainer type="person"> + <email>rkitover@gmail.com</email> + <name>Rafael Kitover</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">ocaml/stdlib-shims</remote-id> + </upstream> + <use> + <flag name="ocamlopt"> + Whether the OCaml native code compiler is used. Must be set globally and + match dev-lang/ocaml. + </flag> + </use> +</pkgmetadata> diff --git a/dev-ml/stdlib-shims/stdlib-shims-0.2.0.ebuild b/dev-ml/stdlib-shims/stdlib-shims-0.2.0.ebuild new file mode 100644 index 000000000000..bedd6b873ecc --- /dev/null +++ b/dev-ml/stdlib-shims/stdlib-shims-0.2.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="Pure OCaml library that allows replacing Pervasives with Stdlib before 4.08" +HOMEPAGE="https://github.com/ocaml/stdlib-shims" +SRC_URI="https://github.com/ocaml/${PN}/releases/download/${PV}/${P}.tbz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ocamlopt" + +DOCS=( "README.md" "CHANGES.md" "LICENSE" ) |