commit: 80b0c405dfe9ed8b3317a349a1098e8dc63f709e Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz> AuthorDate: Fri Oct 10 04:55:49 2025 +0000 Commit: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz> CommitDate: Fri Oct 10 14:02:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80b0c405
dev-ml/ocaml-hex: new package, add 1.5.0 Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz> dev-ml/ocaml-hex/Manifest | 1 + dev-ml/ocaml-hex/metadata.xml | 11 +++++++++++ dev-ml/ocaml-hex/ocaml-hex-1.5.0.ebuild | 24 ++++++++++++++++++++++++ 3 files changed, 36 insertions(+) diff --git a/dev-ml/ocaml-hex/Manifest b/dev-ml/ocaml-hex/Manifest new file mode 100644 index 0000000000..78cd449184 --- /dev/null +++ b/dev-ml/ocaml-hex/Manifest @@ -0,0 +1 @@ +DIST ocaml-hex-1.5.0.gh.tar.gz 6913 BLAKE2B e0d4dde127cc152a2ab20d33f1e877897b3bf3a920d94264814aaa60562b160f7a3b59f97343b32b14eec08a7588fe7d88472faa424c19e5f916af86e147e0ab SHA512 ea0e0e87023de0d53b68fa67d2674cf02d6c8e373188fc8515a579314fc1914ae1fd9c4eeae9ed8e62818385000a97e3951a44234c62fc06bb6fe5f745b8bd1d diff --git a/dev-ml/ocaml-hex/metadata.xml b/dev-ml/ocaml-hex/metadata.xml new file mode 100644 index 0000000000..c9d7b6955c --- /dev/null +++ b/dev-ml/ocaml-hex/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="person"> + <email>[email protected]</email> + <name>Thomas Bracht Laumann Jespersen</name> + </maintainer> + <upstream> + <remote-id type="github">mirage/ocaml-hex</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/ocaml-hex/ocaml-hex-1.5.0.ebuild b/dev-ml/ocaml-hex/ocaml-hex-1.5.0.ebuild new file mode 100644 index 0000000000..a7759dfcf8 --- /dev/null +++ b/dev-ml/ocaml-hex/ocaml-hex-1.5.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DUNE_PKG_NAME="hex" +inherit dune + +DESCRIPTION="Hexadecimal converter" +HOMEPAGE="https://github.com/mirage/ocaml-hex" +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +DOCS=( README.md CHANGES.md ) + +DEPEND=" + >=dev-lang/ocaml-4.08.0[ocamlopt?] + >=dev-ml/cstruct-1.7.0 +" +RDEPEND="${DEPEND}"
