dev-ml/sedlex: add 3.6

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-08-27 19:47:28 +02:00
parent 61aeb7fdda
commit db41c7e281
2 changed files with 37 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST sedlex-3.3.tar.gz 128967 BLAKE2B aab0e15246dbdd5eb442be930483bf3b8950a13189b0175d9c1af90f1a42cff1b39337284dd69e10b06fd94b7889e749faad0d97279675482dc776621d12e686 SHA512 791b172b59256cb77df1bbd9e3136aa79e65bcb3df1f64bbe10933d624bad59a7d8b358c35abd07c267b89a3feb01f935e927ffc4fe9c6eb2ac6637cfa9b42cd
DIST sedlex-3.6.tar.gz 141746 BLAKE2B 38dbff064865e00be58571689ddb5171abe0f8f61e659cdb10a713ac7a3db97d08e4330c6d3ddabd7934f96d300d26f776c52861a5c1cdc5e7ad0e2df1aabc92 SHA512 f3062175e9914b692426ddad215efe2d8f3d269a648f1faf86771d56452d8dbd7edb040409773a19e77bd21e4143281dff94a6800ddb7d5fb50170ab5616c63b

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Using "--for-release-of-packages" skips the regeneration of "unicode.ml" file
# (using curl), see "src_compile" and "src_test" and "dune-release".
DUNE_PKG_NAME=${PN}
inherit dune
DESCRIPTION="An OCaml lexer generator for Unicode"
HOMEPAGE="https://github.com/ocaml-community/sedlex/"
SRC_URI="https://github.com/ocaml-community/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
DEPEND="
dev-ml/gen:=
>=dev-ml/ppxlib-0.26:=[ocamlopt?]
"
RDEPEND="${DEPEND}"
BDEPEND="test? ( dev-ml/ppx_expect )"
src_compile() {
dune-compile ${DUNE_PKG_NAME}
}
src_test() {
dune-test ${DUNE_PKG_NAME}
}