commit:     66839132074e3c7dcd3200239308987005a7012a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 14 18:05:28 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jul 14 21:13:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66839132

dev-ml/ppx_deriving_yojson: bump to 3.10.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-ml/ppx_deriving_yojson/Manifest                |  1 +
 .../ppx_deriving_yojson-3.10.0.ebuild              | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-ml/ppx_deriving_yojson/Manifest 
b/dev-ml/ppx_deriving_yojson/Manifest
index c06159aa7195..bf1ea48c83f6 100644
--- a/dev-ml/ppx_deriving_yojson/Manifest
+++ b/dev-ml/ppx_deriving_yojson/Manifest
@@ -1 +1,2 @@
+DIST ppx_deriving_yojson-3.10.0.gh.tar.gz 21122 BLAKE2B 
129be748970c2c0bf991cc4281464c0cf84d173ee89fc7a5b7c787f2f85dae3a7fb8891a6cad87086d161a1116ea7a2fbeeef181160e017a07c6561354d19290
 SHA512 
a3233fb7c93be0cbd5d787aef05a21b0ea8d860b6908451faf16418cb07059495cfabef3e32ba644528c67b31963df67cef4e2b1e8df72071c6bf09cf7eb5bfa
 DIST ppx_deriving_yojson-3.9.0.tar.gz 20979 BLAKE2B 
4182701c4346a2820f6f27abf11f457d4c24dcff7c2ef55e234331126b38ae39d84a98fba6f0c12dc854c50216054cf3ab45e0d1d36b62654b5ce1dcc6eac3be
 SHA512 
a046aabe09175638ca8cea5907bfd4b4a057e0be181008dae3dd0bd32a23808fa815d820e7ca98c2e15a4f8ef2a1f66cd421aced6c68fd6a3cf7e31c261d81da

diff --git a/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.10.0.ebuild 
b/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.10.0.ebuild
new file mode 100644
index 000000000000..297fb2c10fef
--- /dev/null
+++ b/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.10.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="JSON codec generator for OCaml"
+HOMEPAGE="https://github.com/ocaml-ppx/ppx_deriving_yojson/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/ocaml-ppx/${PN}";
+else
+       SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+# RESTRICT="!test? ( test )"
+RESTRICT="test"
+
+RDEPEND="
+       dev-ml/ppx_deriving:=[ocamlopt?]
+       dev-ml/ppxlib:=[ocamlopt?]
+       dev-ml/yojson:=[ocamlopt?]
+"
+DEPEND="
+       ${RDEPEND}
+"
+BDEPEND="
+       test? ( dev-ml/ounit2 )
+"
+
+src_prepare() {
+       # One test file, this one fails:
+       echo "" > ./src_test/test_ppx_yojson.ml || die
+
+       default
+}

Reply via email to