summaryrefslogtreecommitdiff
path: root/dev-ml/yojson
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-25 00:12:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-25 00:12:20 +0100
commit996a2bda06cb164877d5d952774a6db1b271c2f3 (patch)
tree31930352b48fc7622d658ae37658c57ad9511ef6 /dev-ml/yojson
parent67e5603b2844a6657dd0438fa26626b013e5567f (diff)
gentoo auto-resync : 25:06:2024 - 00:12:20
Diffstat (limited to 'dev-ml/yojson')
-rw-r--r--dev-ml/yojson/Manifest2
-rw-r--r--dev-ml/yojson/yojson-2.2.1.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest
index 80bd0c11d2ef..3e2440a2d0f1 100644
--- a/dev-ml/yojson/Manifest
+++ b/dev-ml/yojson/Manifest
@@ -2,6 +2,8 @@ AUX yojson-2.0.2-dune-seq.patch 175 BLAKE2B 51c940fccee438dedbe21919d61af12e16fb
AUX yojson-2.1.1-dune-seq.patch 229 BLAKE2B 8c47b5ca554109575572ba2b0d46b60b022d158f635dfe47a8c4208a77ee50da82c9fadbbe80cf3615b54991e12dfed52b93664a58c67c0e983930708cc3554d SHA512 980b40fe624081cff22f5fa61a16caddff37051ad449e78851dabff0e8c6ac20c7f51865b457238e53a09392809b971ac1d1d2336a8bf4cdaffded145f4ba1d4
DIST yojson-2.1.0.tar.gz 48316 BLAKE2B 49634800de95035624803883b7f44eda1dd4ba8c050efc52ba31246aba7c37b57d717ebc6d487a9c99ba55ab416a5b196974b0bac09bc6a74992356840e4ae52 SHA512 d52e4fcac41165f9fb74e922d35dd247e1622674f74d6e80978fbc1f42b45f45797965e41129e7acd049451ef5fcec48021ca7c866e36a4e8c4c51e78bab9d7f
DIST yojson-2.1.1.tar.gz 49090 BLAKE2B aa11a3d6b786f33fa2da6dbf34f2a496a1796eab64d87069420fc9953fef6442660a58f259c4abcca6373710375723e6965f0ab9c9dbcafea46eb6e03147fb54 SHA512 935014c43bca83201b0e9d3399e751ae5667ac12bc7fe3d8777b6a84a1216a7325b3cdafb8f9650a4c3979d0e2df6fdeae3cc894c92a175f7ee75ee6303b46c2
+DIST yojson-2.2.1.tar.gz 58073 BLAKE2B d53f2fd2743ffa239fc177f1ae6d612d0dd4cb2c85f3f172c8b36da883b0329cb0113b87a6b1e706f2877fc59d88b94c22f9cf97636ecc5137f9e06722b7d6a9 SHA512 17a141d002afcc3feb536747e259dfe4ad248495fcad00484324a28ed52975d34c8e332af4b794f7e8d7c27da4f4f4d75149929aeb7fd97db86f9df41a2b6e99
EBUILD yojson-2.1.0.ebuild 863 BLAKE2B a0930f9107f0c127535821bcc516f83d57353520ed53b61e69d0ad9c3536ed96cfcd3fefd07e751cdeab10ed26b3020441586fb0dd078eb050137404516642a4 SHA512 741571b7d14a2d9d1054f9162cb4202669340e21ee163e0c23777a082eb31b33d150628fb1dbcd1eb0204e915187053dd38bd568d10a8d0b8ee81c714f0061cc
EBUILD yojson-2.1.1.ebuild 863 BLAKE2B 419f028d91029e07c5eb5bba867be34f39b0530cb90502e11d152ae408884aa350e8ad760ffa94d0513affab1354fd3a79ad98bde8bbd62f61835e3d0dba1c44 SHA512 e4de4198d0e7c270c5948cbc14d17e27286c64d6a53852d72bb2fd749b9ccf0ac72e322ba88272db999767f7a8d07b2a9700c428d68dc24cd00a71fd48447e18
+EBUILD yojson-2.2.1.ebuild 860 BLAKE2B 678894c9d5e870e52606b281e1cf50288506f469f173dafa90fabbc1bab1f4aed4041f626b3aef68de6af91f7284fbf375490d2c76cbb2af6aecd338b8c0e1bc SHA512 3a9c0507652681ba6b8fcdc81b0065579b84d83b8038e7a502d38a833672aeac573bb7a70ad22793d5f2e033fe37684e07f54492626c20f3de694121c489bb56
MISC metadata.xml 529 BLAKE2B 4cfc5392ca4b4402f01251818c776c63d607c2e1b8d216930db594ffe2e1146ac52f9492823e5ef97ba7b6f89b2ee8eaf367e785120ca5fcabdb36549ffb6ebd SHA512 7c415ac7330d8d3397911ddd213da9a6cd5dfe76fa2530ab22cbd70cd8f411fbfdb9d40aa8ca66dc202227799fe0b8ff81c81e57815f5e206c7f424b6218baf1
diff --git a/dev-ml/yojson/yojson-2.2.1.ebuild b/dev-ml/yojson/yojson-2.2.1.ebuild
new file mode 100644
index 000000000000..13f7fb0fb563
--- /dev/null
+++ b/dev-ml/yojson/yojson-2.2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="JSON parsing and pretty-printing library for OCaml"
+HOMEPAGE="https://github.com/ocaml-community/yojson"
+SRC_URI="https://github.com/ocaml-community/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples +ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.07:=[ocamlopt?]
+ dev-ml/sedlex:=
+ !!<dev-ml/seq-0.3
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? ( dev-ml/alcotest )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-2.1.1-dune-seq.patch" )
+
+src_prepare() {
+ default
+ # let's not build this
+ rm bench/dune yojson-bench.opam || die
+}
+
+src_install() {
+ dune_src_install
+
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}