dev-ml/ocaml-ctypes: add 0.24.0

Drops dev-ml/bigarray-compat as a dependency.

Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/360
Merges: https://codeberg.org/gentoo/gentoo/pulls/360
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Thomas Bracht Laumann Jespersen
2026-03-15 07:03:00 +01:00
committed by Maciej Barć
parent 5697e43c91
commit fd4984aaf1
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST ocaml-ctypes-0.23.0.tar.gz 200133 BLAKE2B c079c64584a2293ee0ef3d3a2d08472728ff3891b65773a97c23af0039dd4693b3c909d969ac006c976bad9af8b2743dfa03acddb8ed74f2405e60ef1cdb0f40 SHA512 0c287cd3162d092b37bd6d4b24c196d41c93b792c4aa77938fde60f5dbc7eedde588097493a645af9bffc0ed722eadd0fa90e04b04d5e36e78e6467ae9e4baf8
DIST ocaml-ctypes-0.24.0.tar.gz 200058 BLAKE2B 1d376c2937195edd0b2a89e0b8e5d58485039c9d546fd668de2562c3b62c42d8be023b171430ced6aacdbe066bfda8013d12be401b75f6d57bc9a792ccac90a5 SHA512 0fa640f00e2960a8ceae3bb9835c5318d3718e748f40adc3f0a50dcb9b38a696de2442f2e75a6ce2356bab7e7eb5edea5486a757e553c17207191a49ceaa307d

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME=ctypes
inherit dune
DESCRIPTION="Library for binding to C libraries using pure OCaml"
HOMEPAGE="https://github.com/yallop/ocaml-ctypes/"
SRC_URI="https://github.com/yallop/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-libs/libffi-3.3_rc0:=
dev-ml/integers:=
dev-ml/dune-configurator:=
"
DEPEND="
${RDEPEND}
test? (
dev-ml/ounit2
dev-ml/lwt
)
"
REQUIRED_USE="ocamlopt"
src_install() {
dune-install ctypes ctypes-foreign
}