dev-ml/ppx_variants_conv: drop 0.14.1, 0.14.1-r2, 0.14.2-r1

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2025-04-14 19:26:05 +02:00
parent f0b8409333
commit 2a59fd3014
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
5 changed files with 0 additions and 116 deletions

View File

@ -1,5 +1,3 @@
DIST ppx_variants_conv-0.14.1.tar.gz 9640 BLAKE2B a73241a8dfc1cf41d2ad184f7e321484525794e66a1e881c822616aca6f8d221e9e699464716410a71ae3cbd542eef6315e0d183447e5e0e49bdb02935876375 SHA512 2ee21751de1595e56b151d87413554af5c0aaf92053ddd2834cadea812f1f59fcd078f6f4a9e9894eca9ffbf211ed2de996df065534c84256dc9670ee8fcbed5
DIST ppx_variants_conv-0.14.2.tar.gz 9626 BLAKE2B 1effb717e72237ec5522034d5885e6f2919eb80d16266b14cb4c2b9bf6b2d6e8792f3a8232130de7a1b6c51233add4984add36f8da74dd526d9e3cbbe0f14cd7 SHA512 1ae714bea76ba4856c5ab1a7266b28f0ca4462dea26afefe6953eae1ac683f98748cb6281155cc89380d25c81311f78afa6f44e39413fafa63bf043623538a48
DIST ppx_variants_conv-0.15.0.tar.gz 10530 BLAKE2B 5947ce3056639ae54f7fb7aea16f1657997ef631f4544baae849023b3d9cc29c8711cc3913e3583b58db99afea793d4cfe13c189e3f0ca44e5ddb0e9515a0507 SHA512 549b8d7af75cb98bc6cfe3bc53d43a9bee5c767de149905faf76c0a97c5be86d14d784377805c3932423d4dc698375edbd52f1cf508a4d0f3ea8e79f7e284224
DIST ppx_variants_conv-0.16.0.tar.gz 12331 BLAKE2B d8b454b1d489dede40ea0d43f6d9f8ee30784b975ac388f0c05c3d4778690a102ee8105d888edec0fe899906c8b7e3d083eb6ff0b79d5ee85b5af57ecada0495 SHA512 56a4e1da5cc855549e59adcbe25dfc175c7c2bd989f0b984182e2c7d35d5fa19829b38cbbd64104f22dfe06b4460f20ad66e922a553061cabde3d73473cdf33a
DIST ppx_variants_conv-0.17.0.tar.gz 12377 BLAKE2B 15fb5b071aa785682433100cd225a840f708411d4cbb63ffc4fa6541b9f6cf5804b03aa9e9c6c106a0cfe2e69da7d805c316d9ea88fdd1a2336d50dc48cca70c SHA512 5b0e414b10e1911048090ddf208e9eaecb1fadb0b2665c0cd69883d260f2fb4f3d0ccebd051c4f2caadf4c4c18dcb46d4880560acbe297c4fff65c582c756d3c

View File

@ -1,31 +0,0 @@
From 6103f6fc56f978c847ba7c1f2d9f38ee93a5e337 Mon Sep 17 00:00:00 2001
From: Sonja Heinze <sonjaleaheinze@gmail.com>
Date: Tue, 9 Mar 2021 12:57:47 +0100
Subject: [PATCH] Adapt to Ppxlib's API change
Ppxlib is removing Lexer.keyword_table from the API in exchange for
the more lightweight Keyword.is_keyword.
Signed-off-by: Sonja Heinze <sonjaleaheinze@gmail.com>
--- a/ppx_variants_conv.opam
+++ b/ppx_variants_conv.opam
@@ -15,7 +15,7 @@ depends: [
"base" {>= "v0.14" & < "v0.15"}
"variantslib" {>= "v0.14" & < "v0.15"}
"dune" {>= "2.0.0"}
- "ppxlib" {>= "0.14.0"}
+ "ppxlib" {>= "0.23.0"}
]
synopsis: "Generation of accessor and iteration functions for ocaml variant types"
description: "
--- a/src/ppx_variants_conv.ml
+++ b/src/ppx_variants_conv.ml
@@ -66,7 +66,7 @@ end
let variant_name_to_string v =
let s = String.lowercase v in
- if Caml.Hashtbl.mem Lexer.keyword_table s
+ if Keyword.is_keyword s
then s ^ "_"
else s

View File

@ -1,30 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="Generation of accessor and iteration functions for ocaml variant types"
HOMEPAGE="https://github.com/janestreet/ppx_variants_conv"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
DEPEND="
>=dev-ml/base-0.14.0:=
>=dev-ml/variantslib-0.14.0:=
>=dev-ml/ppxlib-0.23.0:=
>=dev-ml/ocaml-compiler-libs-0.11.0:=
>=dev-ml/ocaml-migrate-parsetree-2.0.0:=
dev-ml/cinaps:=
dev-ml/sexplib0:=
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-0.14.1-ppxlib-0.23-compatibility.patch
)

View File

@ -1,27 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="Generation of accessor and iteration functions for ocaml variant types"
HOMEPAGE="https://github.com/janestreet/ppx_variants_conv"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
IUSE="+ocamlopt"
DEPEND="
>=dev-ml/base-0.14.0:=
>=dev-ml/variantslib-0.14.0:=
>=dev-ml/ppxlib-0.18.0:=
<dev-ml/ppxlib-0.23.0:=
>=dev-ml/ocaml-compiler-libs-0.11.0:=
>=dev-ml/ocaml-migrate-parsetree-2.0.0:=
dev-ml/cinaps:=
dev-ml/sexplib0:=
"
RDEPEND="${DEPEND}"

View File

@ -1,26 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit dune
DESCRIPTION="Generation of accessor and iteration functions for ocaml variant types"
HOMEPAGE="https://github.com/janestreet/ppx_variants_conv"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="+ocamlopt"
DEPEND="
>=dev-ml/base-0.14.0:=
>=dev-ml/variantslib-0.14.0:=
>=dev-ml/ppxlib-0.23.0:=
>=dev-ml/ocaml-compiler-libs-0.11.0:=
>=dev-ml/ocaml-migrate-parsetree-2.0.0:=
dev-ml/cinaps:=
dev-ml/sexplib0:=
"
RDEPEND="${DEPEND}"