summaryrefslogtreecommitdiff
path: root/dev-ml/ppx_deriving_yojson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-ml/ppx_deriving_yojson
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-ml/ppx_deriving_yojson')
-rw-r--r--dev-ml/ppx_deriving_yojson/Manifest4
-rw-r--r--dev-ml/ppx_deriving_yojson/files/ppx_deriving_yojson-3.6.1-src_test_dune-ounit2.patch10
-rw-r--r--dev-ml/ppx_deriving_yojson/metadata.xml13
-rw-r--r--dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.6.1.ebuild27
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-ml/ppx_deriving_yojson/Manifest b/dev-ml/ppx_deriving_yojson/Manifest
new file mode 100644
index 000000000000..19c0fb93b1b6
--- /dev/null
+++ b/dev-ml/ppx_deriving_yojson/Manifest
@@ -0,0 +1,4 @@
+AUX ppx_deriving_yojson-3.6.1-src_test_dune-ounit2.patch 251 BLAKE2B eb17ca6a958d9a5e763812d93d1c51cfeeb256bb7444a0a7f4349f3e0e830d605e024b17b5165dd01fae0ed78ae225783a936f91375120c55dee6092c187f823 SHA512 d1a5233ee7dde5367644277a9995e8a2127a8b672ffb384225dca7c0d708dd53e39596a0736213435a7c5e25d7589d367542e841c446805df9fdf4a0d2d21190
+DIST ppx_deriving_yojson-3.6.1.tar.gz 19477 BLAKE2B f7b4e34e1c5ca77af6dbe6f4639c00a3b47076e2cf1f79b157a4c8f9aef34ec0e95e2c6c805fe9d0f9fa0ec72ea0672696b7e7a21d0a7d93764fad2e8d89a15a SHA512 b1bf04f77e1c1a887352b21cfd43a67d37de9f61a70f89d06828c7d9611027711a600b22e4bbc95ab128511a48fce3ae1a1c7a655f25c4bb2b6944444cea4989
+EBUILD ppx_deriving_yojson-3.6.1.ebuild 635 BLAKE2B 42c5a5ad8d4f018780173b14c1c62d4340ba3cfbeffb342a928f908a2279c716c07850e026071143eac849b8187fd987cd781b202e7fb9da266cbd4d7d9b360d SHA512 1f6b8857d2cee27a702066ac731041134bbeac131bc47dced25e376b48b70df8ee9c20f51c86d654bb1a4b0e380824fd6609f0199695da0478ba7b06d9fd992c
+MISC metadata.xml 417 BLAKE2B 13cc573ade509da2ca964fc97824fe0ab1d8d5bf44e0192eb379c3354b3736bf2dbb7d888a0053d5a8fc3c244516565d1e517ce831e50f7c99c4a7648374776e SHA512 4c2c7a85baf1e7787f7284061aa0ddb8e9307a39543315345f72b44e889c44b713d4b3400d884a678784df174384a2cb4cf8b2e461f6db7c19d5264749fd9600
diff --git a/dev-ml/ppx_deriving_yojson/files/ppx_deriving_yojson-3.6.1-src_test_dune-ounit2.patch b/dev-ml/ppx_deriving_yojson/files/ppx_deriving_yojson-3.6.1-src_test_dune-ounit2.patch
new file mode 100644
index 000000000000..fe5bcab48afc
--- /dev/null
+++ b/dev-ml/ppx_deriving_yojson/files/ppx_deriving_yojson-3.6.1-src_test_dune-ounit2.patch
@@ -0,0 +1,10 @@
+--- a/src_test/dune
++++ b/src_test/dune
+@@ -1,6 +1,6 @@
+ (executable
+ (name test_ppx_yojson)
+- (libraries oUnit result)
++ (libraries ounit2 result)
+ (preprocess (pps ppx_deriving.show ppx_deriving_yojson))
+ (flags (:standard -w -9-39-27-34-37)))
+
diff --git a/dev-ml/ppx_deriving_yojson/metadata.xml b/dev-ml/ppx_deriving_yojson/metadata.xml
new file mode 100644
index 000000000000..3db44a512450
--- /dev/null
+++ b/dev-ml/ppx_deriving_yojson/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/ocaml-ppx/ppx_deriving_yojson/issues</bugs-to>
+ <remote-id type="github">ocaml-ppx/ppx_deriving_yojson</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.6.1.ebuild b/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.6.1.ebuild
new file mode 100644
index 000000000000..33642a0ef4b8
--- /dev/null
+++ b/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.6.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="JSON codec generator for OCaml"
+HOMEPAGE="https://github.com/ocaml-ppx/ppx_deriving_yojson/"
+SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ <dev-ml/yojson-2.0.0:=
+ >=dev-ml/ppxlib-0.20.0:=
+ dev-ml/ppx_deriving:=
+ dev-ml/result:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-ml/ounit2 )"
+
+PATCHES=( "${FILESDIR}"/${PN}-${PV}-src_test_dune-ounit2.patch )