dev-ml/ocaml-version: new package, add 3.6.7

Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com>
This commit is contained in:
Hiroki Tokunaga
2024-07-27 12:07:48 +09:00
parent 0caf5e235c
commit 7fcad03c22
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ocaml-version-3.6.7.tar.gz 14315 BLAKE2B 6b6599ad17bbf3f023e809ae522db44d32632c6bcc9e09fcb7515bb9219658b36eb6cc1d9da4beff9d1843b1333642b207331c7c98ac07d81279b73e07a3c726 SHA512 879e0eac5ea672b98dc9ba7f236fc048ed829271fe5d95909f23b64e180d64d407684de83684fc0f07373a25feda3ae679daf005f72421a3f1173aa097be8c03

View File

@@ -0,0 +1,26 @@
<?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">This library provides facilities to parse version numbers of the OCaml compiler, and enumerates the various official OCaml releases and configuration variants.
OCaml version numbers are of the form `major.minor.patch+extra`, where the `patch` and `extra` fields are optional. This library offers the following functionality:
- Functions to parse and serialise OCaml compiler version numbers.
- Enumeration of official OCaml compiler version releases.
- Test compiler versions for a particular feature (e.g. the `bytes` type)
- [opam](https://opam.ocaml.org) compiler switch enumeration.
### Further information
- **Discussion:** Post on https://discuss.ocaml.org/ with the `ocaml` tag under the Ecosystem category.
- **Bugs:** https://github.com/ocurrent/ocaml-version/issues
- **Docs:** http://docs.mirage.io/ocaml-version</longdescription>
<upstream>
<bugs-to>https://github.com/ocurrent/ocaml-version/issues</bugs-to>
<remote-id type="github">ocurrent/ocaml-version</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Library to parse and enumerate releases of the OCaml compiler"
HOMEPAGE="https://github.com/ocurrent/ocaml-version"
SRC_URI="https://github.com/ocurrent/ocaml-version/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-ml/alcotest:=
)
"