dev-ml/asn1-combinators: add 0.2.6

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-16 02:28:44 +02:00
parent 5f76911d00
commit 41ae7215a6
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="Embed typed ASN.1 grammars in OCaml"
HOMEPAGE="
https://github.com/mirleft/ocaml-asn1-combinators
https://opam.ocaml.org/packages/asn1-combinators/
"
SRC_URI="https://github.com/mirleft/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
>=dev-ml/cstruct-6.0.0:=
dev-ml/ptime:=
dev-ml/zarith:=
"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"