summaryrefslogtreecommitdiff
path: root/dev-ml/yojson
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/yojson')
-rw-r--r--dev-ml/yojson/Manifest7
-rw-r--r--dev-ml/yojson/files/yojson-2.1.1-dune-seq.patch9
-rw-r--r--dev-ml/yojson/yojson-1.7.0.ebuild36
-rw-r--r--dev-ml/yojson/yojson-2.1.1.ebuild (renamed from dev-ml/yojson/yojson-2.0.2-r3.ebuild)4
4 files changed, 14 insertions, 42 deletions
diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest
index ee173731672d..70dbf15bd9e9 100644
--- a/dev-ml/yojson/Manifest
+++ b/dev-ml/yojson/Manifest
@@ -1,8 +1,7 @@
AUX yojson-2.0.2-dune-seq.patch 175 BLAKE2B 51c940fccee438dedbe21919d61af12e16fba1349d014bdee714ac4d6dcef5a2a9cef241ea68364c7017697617916b6642171ae91879f2e24b5792d96781570a SHA512 a6994048ff3d0cbf2d79ab60ceeb54dfb66b04e0e9ac00446d6337f1a0fd85d2edf5d9d398ae850ebfce2dc182d059ebb1d50a580304bdc6b4d3842fa96a8d13
-DIST yojson-1.7.0.tar.gz 29704 BLAKE2B edbd7f66d69a85880fc8ee9bb25a993744a310887024f7af63665ba8f5067f1b9383ec4d6dd5f4ca3376d698665a8f605c078f7597ddd4e71857c1a20143c2e5 SHA512 25eedb64e4bf7c7e8d5a5a115812cd502540afbdeb7c947da3a14e5968aa0a7db8ab402425662571d8935b9cd6a19796ce81dd80a65dc614f156626c60e7036e
-DIST yojson-2.0.2.tar.gz 46731 BLAKE2B adca246c055efe04b63e694b7735fc81a714ae3b3ab164152797cc1eff1e483976b80ff31d0ac90f9d4ac234304ec805abb118bb231d0479bc738ddeb56a236c SHA512 61e8084d66d62d05a7802ee82a414807a76959ce6e0b14fd01f1c9c71ea69976d8a2cf3d5718e4059da4161786136a08624cd8470693ef2893b862efa7d6ffd2
+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
-EBUILD yojson-1.7.0.ebuild 767 BLAKE2B 7cd6e84710e5dd9a6bcee87d1cd8e7f593e28a68935bf1a970979ccc88b9816c86568d556c526ec0296033b8dc80aed2d3d9ff3437d7d7f0314a9d953365deb7 SHA512 239fc8c92a3b66d5e1cb3452010f8c444c560e4dc99b4f454499287cc03eb606124eea147556a1d825a25070e1fc329f94d4415edd0f508741c72b831976f3b4
-EBUILD yojson-2.0.2-r3.ebuild 856 BLAKE2B 8bbd368fb2d5d6251df105f1d9e71cb3b9c6c3dc0cd5c2b0ca0dc45cd09b52de686c5a1c3d1599003540003fda089114f526004e3b92d2d48f14b8e4cb96c67c SHA512 5b18c577b83e81e7669ab6777e8c32967ebf548f9b37d362118f58e4b90d1fc5d2d4499e150113dff5cdda93b00c5e6d2298807b7afc63e41ef543de67a9ee59
+DIST yojson-2.1.1.tar.gz 49090 BLAKE2B aa11a3d6b786f33fa2da6dbf34f2a496a1796eab64d87069420fc9953fef6442660a58f259c4abcca6373710375723e6965f0ab9c9dbcafea46eb6e03147fb54 SHA512 935014c43bca83201b0e9d3399e751ae5667ac12bc7fe3d8777b6a84a1216a7325b3cdafb8f9650a4c3979d0e2df6fdeae3cc894c92a175f7ee75ee6303b46c2
EBUILD yojson-2.1.0.ebuild 863 BLAKE2B a0930f9107f0c127535821bcc516f83d57353520ed53b61e69d0ad9c3536ed96cfcd3fefd07e751cdeab10ed26b3020441586fb0dd078eb050137404516642a4 SHA512 741571b7d14a2d9d1054f9162cb4202669340e21ee163e0c23777a082eb31b33d150628fb1dbcd1eb0204e915187053dd38bd568d10a8d0b8ee81c714f0061cc
+EBUILD yojson-2.1.1.ebuild 864 BLAKE2B 9ee836565ab3f9a4d30958e489c52a908c0e44ff1e9fd09f67e81e9746ad28f1b3474adaa54de9efcd071607a6cafff717f6e2833177856daab0e4edb0571fd3 SHA512 9c4481737e3faaeb33eec3acb2e080322c3a3bd51af7837589862cd3e864b2056e3b72d8b5968adbb0415df28ba27dee549a675af8fb8b3559f50c3bff842603
MISC metadata.xml 529 BLAKE2B 4cfc5392ca4b4402f01251818c776c63d607c2e1b8d216930db594ffe2e1146ac52f9492823e5ef97ba7b6f89b2ee8eaf367e785120ca5fcabdb36549ffb6ebd SHA512 7c415ac7330d8d3397911ddd213da9a6cd5dfe76fa2530ab22cbd70cd8f411fbfdb9d40aa8ca66dc202227799fe0b8ff81c81e57815f5e206c7f424b6218baf1
diff --git a/dev-ml/yojson/files/yojson-2.1.1-dune-seq.patch b/dev-ml/yojson/files/yojson-2.1.1-dune-seq.patch
new file mode 100644
index 000000000000..d2ad6e750eb1
--- /dev/null
+++ b/dev-ml/yojson/files/yojson-2.1.1-dune-seq.patch
@@ -0,0 +1,9 @@
+--- a/lib/dune
++++ b/lib/dune
+@@ -113,6 +113,5 @@
+ (public_name yojson)
+ (modules yojson t basic safe raw common codec lexer_utils)
+ (synopsis "JSON parsing and printing")
+- (libraries seq)
+ (flags
+ (:standard -w -27-32)))
diff --git a/dev-ml/yojson/yojson-1.7.0.ebuild b/dev-ml/yojson/yojson-1.7.0.ebuild
deleted file mode 100644
index 4dc18fce3727..000000000000
--- a/dev-ml/yojson/yojson-1.7.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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/yojson/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.02.3:=[ocamlopt?]
- dev-ml/easy-format:=[ocamlopt?]
- >=dev-ml/biniou-1.2:=[ocamlopt?]
-"
-DEPEND="
- ${RDEPEND}
- test? ( dev-ml/alcotest )
-"
-BDEPEND=">=dev-ml/cppo-1.6.1"
-
-src_install() {
- dune_src_install
-
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}
diff --git a/dev-ml/yojson/yojson-2.0.2-r3.ebuild b/dev-ml/yojson/yojson-2.1.1.ebuild
index 0841dc6efbf3..ade0eaed42a7 100644
--- a/dev-ml/yojson/yojson-2.0.2-r3.ebuild
+++ b/dev-ml/yojson/yojson-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/ocaml-community/${PN}/archive/${PV}.tar.gz
LICENSE="BSD"
SLOT="0/${PV}"
-KEYWORDS="amd64"
+KEYWORDS="~amd64"
IUSE="examples +ocamlopt test"
RESTRICT="!test? ( test )"
@@ -26,7 +26,7 @@ BDEPEND="
test? ( dev-ml/alcotest )
"
-PATCHES=( "${FILESDIR}"/${P}-dune-seq.patch )
+PATCHES=( "${FILESDIR}/${PN}-2.1.1-dune-seq.patch" )
src_prepare() {
default