summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/camlp5/Manifest1
-rw-r--r--dev-ml/camlp5/camlp5-8.03.01-r1.ebuild (renamed from dev-ml/camlp5/camlp5-8.03.01.ebuild)3
-rw-r--r--dev-ml/camlp5/camlp5-8.03.06-r1.ebuild71
-rw-r--r--dev-ml/camlp5/camlp5-8.04.00.ebuild (renamed from dev-ml/camlp5/camlp5-8.03.06.ebuild)1
-rw-r--r--dev-ml/gapi-ocaml/Manifest2
-rw-r--r--dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild1
-rw-r--r--dev-ml/gapi-ocaml/gapi-ocaml-0.4.7.ebuild (renamed from dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild)2
-rw-r--r--dev-ml/lablgl/lablgl-1.07-r1.ebuild (renamed from dev-ml/lablgl/lablgl-1.07.ebuild)12
-rw-r--r--dev-ml/lwt/lwt-5.9.0.ebuild2
-rw-r--r--dev-ml/ppx_import/Manifest1
-rw-r--r--dev-ml/ppx_import/ppx_import-1.10.0-r1.ebuild (renamed from dev-ml/ppx_import/ppx_import-1.10.0.ebuild)8
-rw-r--r--dev-ml/ppx_import/ppx_import-1.11.0-r1.ebuild (renamed from dev-ml/ppx_import/ppx_import-1.11.0.ebuild)5
-rw-r--r--dev-ml/ppx_import/ppx_import-1.12.0.ebuild31
-rw-r--r--dev-ml/ppx_import/ppx_import-1.9.1-r2.ebuild (renamed from dev-ml/ppx_import/ppx_import-1.9.1-r1.ebuild)3
-rw-r--r--dev-ml/ppx_js_style/Manifest1
-rw-r--r--dev-ml/ppx_js_style/ppx_js_style-0.16.0-r1.ebuild (renamed from dev-ml/ppx_js_style/ppx_js_style-0.16.0.ebuild)8
-rw-r--r--dev-ml/ppx_js_style/ppx_js_style-0.17.1.ebuild26
17 files changed, 165 insertions, 13 deletions
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest
index 310c8de868e9..2e8a3dd7e0e2 100644
--- a/dev-ml/camlp5/Manifest
+++ b/dev-ml/camlp5/Manifest
@@ -1,2 +1,3 @@
DIST camlp5-8.03.01.tar.gz 1308092 BLAKE2B 1cb69bf407eb40c3646098431a4e6b3e35f78a5ce2880399c2034ce0a50ec5650c86216029a8521af97cbc92bf4be3d8b2180336c0decaddab30822232f1a2da SHA512 144ab15e18673fa485d08cf37c6ba69146db7db4be9e7031e202e0747d922e223396b83881b1d65cf27bedb2115d91e5eb62b5a22e2d57dda838013ebd398ff2
DIST camlp5-8.03.06.tar.gz 1361806 BLAKE2B e1bdd28a7b7e64f3104d92fcc83ac8929e24dc09af7fd10c96dfba63ee3ebe7669346842e8805f1a039ea8e770c4c9fa853c51cbc38ed107fb933743993e1a4b SHA512 eb4b665e5e3360320a1d87e458385bf521bcb1a0f569637e6f9436aedd027fb264ad4c2b6b60f77aa32ea3c2670827573b6a02acf1ee3258a4734012647803fd
+DIST camlp5-8.04.00.tar.gz 1438379 BLAKE2B 8e06efb0348823cbc9c250946ea001b462ff44df03602635db8cde763f96b65d2cd3f68e337113baed547f32e6fa64b746ff460dd14aa9b02aa72d47c9a4e358 SHA512 ecec87b75290c00f80f02c1eece8cef763673b7b2fd65a109c1ed1cae33998dec44dac2e600fec1897fca0a7545a42402ada8d73a0780d6b7171e01aa906fb31
diff --git a/dev-ml/camlp5/camlp5-8.03.01.ebuild b/dev-ml/camlp5/camlp5-8.03.01-r1.ebuild
index 49822c242478..8d11f52ec5de 100644
--- a/dev-ml/camlp5/camlp5-8.03.01.ebuild
+++ b/dev-ml/camlp5/camlp5-8.03.01-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,6 +16,7 @@ KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
IUSE="doc +ocamlopt"
RDEPEND="
+ <dev-lang/ocaml-5
dev-ml/bos:=
dev-ml/camlp-streams:=[ocamlopt?]
dev-ml/fmt:=[ocamlopt?]
diff --git a/dev-ml/camlp5/camlp5-8.03.06-r1.ebuild b/dev-ml/camlp5/camlp5-8.03.06-r1.ebuild
new file mode 100644
index 000000000000..aef373488367
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-8.03.06-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib vcs-clean
+
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="https://camlp5.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="doc +ocamlopt"
+
+RDEPEND="
+ <dev-lang/ocaml-5.4
+ dev-ml/bos:=
+ dev-ml/camlp-streams:=[ocamlopt?]
+ dev-ml/fmt:=[ocamlopt?]
+ dev-ml/fpath:=
+ dev-ml/logs:=[ocamlopt?]
+ dev-ml/pcre2-ocaml:=[ocamlopt?]
+ dev-ml/re:=[ocamlopt?]
+ dev-ml/rresult:=
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ egit_clean
+ default
+}
+
+src_configure() {
+ ./configure \
+ --strict \
+ -prefix /usr \
+ -bindir /usr/bin \
+ -libdir /usr/$(get_libdir)/ocaml \
+ -mandir /usr/share/man || die "configure failed"
+}
+
+src_compile() {
+ ulimit -s 11530000
+ emake out
+ if use ocamlopt; then
+ emake opt
+ emake opt.opt
+ fi
+}
+
+src_test() {
+ ulimit -s 11530000
+ emake bootstrap
+ if use ocamlopt; then
+ emake opt
+ emake opt.opt
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+ # findlib support
+ insinto "$(ocamlfind printconf destdir)/${PN}"
+ doins etc/META
+
+ dodoc -r doc/*
+ dodoc CHANGES DEVEL ICHANGES README.md UPGRADING MODE
+}
diff --git a/dev-ml/camlp5/camlp5-8.03.06.ebuild b/dev-ml/camlp5/camlp5-8.04.00.ebuild
index ad8123503b59..1b9c54055a36 100644
--- a/dev-ml/camlp5/camlp5-8.03.06.ebuild
+++ b/dev-ml/camlp5/camlp5-8.04.00.ebuild
@@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="doc +ocamlopt"
RDEPEND="
+ <dev-lang/ocaml-5
dev-ml/bos:=
dev-ml/camlp-streams:=[ocamlopt?]
dev-ml/fmt:=[ocamlopt?]
diff --git a/dev-ml/gapi-ocaml/Manifest b/dev-ml/gapi-ocaml/Manifest
index 15c4573e573f..e6f492d3a7c0 100644
--- a/dev-ml/gapi-ocaml/Manifest
+++ b/dev-ml/gapi-ocaml/Manifest
@@ -1,2 +1,2 @@
-DIST gapi-ocaml-0.4.5.tar.gz 788573 BLAKE2B 7c1b422b94c5c8f42cb3994624d7b31089a6662bd1e14c08a542320e7104d660ebf9bf3ace7d6068920a6a1ab67a11dfc237de0b5f81205130b015aa89ee76eb SHA512 3bc282cc316c8c76852404e427e046c44a644f74df8b5278c62e6d0a2df44af37e478841435e9ef919af7a94b23e8e937e0448d34ded9e07f48025546131ee28
DIST gapi-ocaml-0.4.6.tar.gz 891545 BLAKE2B 40e6494ac8fdd7d114e0fa81170a38e7589ef77676fa63922dc99d5328dc431b9bf4c997c31ca87d716a80ca13c88e258155694f7ffd6553e79fea63d06c6bb9 SHA512 403850772c510c7a7284f73bd08317323b2c5892ef4ba6aeb162f2b5ae5a1f373bc17c94e7176c5972c88a9d8141d0699277d88bdaa0c8d4598aeeab705f26f9
+DIST gapi-ocaml-0.4.7.tar.gz 891465 BLAKE2B 8cb36318214cdfefb65eeb46771599084b7eeea5a0a7814b696d6e89bd6535bd38ac2700db7d9304e8ba69455d9d60565e0ec8998f211208e9e9fd5181ec4f03 SHA512 294422519f60374b7228ee04a317755f003b20abc61ad7ba6d167f96d3273807461cd1ffd309b61af3f1d60a12b01b5ac06b8e31714653a279cfe76516730458
diff --git a/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
index d2f82ac6ce27..91308dd72ec1 100644
--- a/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
+++ b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.6.ebuild
@@ -19,6 +19,7 @@ KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
+ <dev-lang/ocaml-5.4
dev-ml/ocurl:=[ocamlopt?]
dev-ml/cryptokit:=[ocamlopt?]
dev-ml/yojson:=[ocamlopt?]
diff --git a/dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.7.ebuild
index 6bd44fca60de..d2f82ac6ce27 100644
--- a/dev-ml/gapi-ocaml/gapi-ocaml-0.4.5.ebuild
+++ b/dev-ml/gapi-ocaml/gapi-ocaml-0.4.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
diff --git a/dev-ml/lablgl/lablgl-1.07.ebuild b/dev-ml/lablgl/lablgl-1.07-r1.ebuild
index 0f941c2e7fad..2f6fb48ec466 100644
--- a/dev-ml/lablgl/lablgl-1.07.ebuild
+++ b/dev-ml/lablgl/lablgl-1.07-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit dot-a toolchain-funcs
DESCRIPTION="Objective CAML interface for OpenGL"
HOMEPAGE="https://github.com/garrigue/lablgl"
@@ -11,11 +11,12 @@ SRC_URI="https://github.com/garrigue/lablgl/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc glut +ocamlopt tk"
RDEPEND="
>=dev-lang/ocaml-4.14:=[ocamlopt?]
+ dev-ml/camlp-streams
x11-libs/libXext
x11-libs/libXmu
x11-libs/libX11
@@ -28,11 +29,15 @@ RDEPEND="
dev-ml/labltk:=
)
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ dev-ml/findlib
+"
PATCHES=( "${FILESDIR}"/${PN}-1.06-makefile.patch )
src_configure() {
+ lto-guarantee-fat
# make configuration file
echo "BINDIR=/usr/bin" > Makefile.config || die
echo "GLLIBS = -lGL -lGLU" >> Makefile.config || die
@@ -84,6 +89,7 @@ src_install() {
BINDIR="${ED}/usr/bin"
BASE="${ED}/usr/$(get_libdir)/ocaml"
emake BINDIR="${BINDIR}" INSTALLDIR="${BASE}/lablGL" DLLDIR="${BASE}/stublibs" install
+ strip-lto-bytecode
dodoc README CHANGES
diff --git a/dev-ml/lwt/lwt-5.9.0.ebuild b/dev-ml/lwt/lwt-5.9.0.ebuild
index dc7d0eebe0c7..887a2aa137c3 100644
--- a/dev-ml/lwt/lwt-5.9.0.ebuild
+++ b/dev-ml/lwt/lwt-5.9.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
IUSE="+ocamlopt"
DEPEND="
diff --git a/dev-ml/ppx_import/Manifest b/dev-ml/ppx_import/Manifest
index 9d293629579c..1987cf2611f1 100644
--- a/dev-ml/ppx_import/Manifest
+++ b/dev-ml/ppx_import/Manifest
@@ -1,3 +1,4 @@
DIST ppx_import-1.10.0.tar.gz 13927 BLAKE2B d036b730dd9c7b5be9fcbf175103ec6f1e2a14111575135a9cfaf935b936165418b34a4b0a37e0d112b7fbc1315526ce21a9db5bebbd99e1898c4a3c245dcf94 SHA512 7d4aeab6512014b5a16fdcc4d26ac29cc22223e18c7ab26e26f9fdd5bcd625c22aa9ff2e6c2106f45408316eaaf755437979961d97139da5973026038c210935
DIST ppx_import-1.11.0.tar.gz 14018 BLAKE2B 4a1265d1364c51bc18351f964a0f6ffcaca4d866389479583353282f939f11001096b815a80c5d7f8b326a9987cd46cb7a897ca02b84458666bc54f2b350bffb SHA512 e8ba55fa89a1ca546107238c1141d4df1b371418fe901f1172458ba5b2b50160e9a9650f38639bc633e183494c4d728e9ccf3ec6ded5a7bd9cc923bd806a1156
+DIST ppx_import-1.12.0.tar.gz 14378 BLAKE2B 0163f1e08417511b050baaf1816388a8be089502356d808263062cfe2da3678ecd02bdbdb58ae37d6a95b07a157e7442c0bb4d992599ab3709a87c924fea530e SHA512 793f5f2571bb38d8353b572684c0bee8a00aca8edefbe2969018db485fb828828418ec4881772c6342486de50f55119d247c89abdb6058c844d3a982b6f2bfd2
DIST ppx_import-1.9.1.tar.gz 13820 BLAKE2B 295796041ecad89c95bd6a6fe14a9d9bb969f7d984388cca5181c31b8358affeb92a4d200bb9e11449a0216995a8477b809acf251b049e8331eea9e6bb918cb7 SHA512 37bd54bc477b91a3aa4b2433a9817c6d939f1e4a1d950b83b05964d22540296582cec6513a0959fd036f738dbd6ef9df13430183b8bdaa9425c7640a5fddf4b3
diff --git a/dev-ml/ppx_import/ppx_import-1.10.0.ebuild b/dev-ml/ppx_import/ppx_import-1.10.0-r1.ebuild
index 76c36a3692e4..89420ed90291 100644
--- a/dev-ml/ppx_import/ppx_import-1.10.0.ebuild
+++ b/dev-ml/ppx_import/ppx_import-1.10.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,7 +16,11 @@ KEYWORDS="amd64 x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
-RDEPEND=">=dev-ml/ppxlib-0.26:="
+RDEPEND="
+ >=dev-ml/ppxlib-0.26:=
+ <dev-ml/ppxlib-0.32
+ <dev-lang/ocaml-5.2
+"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
diff --git a/dev-ml/ppx_import/ppx_import-1.11.0.ebuild b/dev-ml/ppx_import/ppx_import-1.11.0-r1.ebuild
index 51d2493ec85c..1707f58701ff 100644
--- a/dev-ml/ppx_import/ppx_import-1.11.0.ebuild
+++ b/dev-ml/ppx_import/ppx_import-1.11.0-r1.ebuild
@@ -16,7 +16,10 @@ KEYWORDS="amd64 arm64 x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
-RDEPEND=">=dev-ml/ppxlib-0.26:="
+RDEPEND="
+ >=dev-ml/ppxlib-0.26:=
+ <dev-lang/ocaml-5.4
+"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
diff --git a/dev-ml/ppx_import/ppx_import-1.12.0.ebuild b/dev-ml/ppx_import/ppx_import-1.12.0.ebuild
new file mode 100644
index 000000000000..2349b1825a08
--- /dev/null
+++ b/dev-ml/ppx_import/ppx_import-1.12.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="A syntax extension for importing declarations from interface files"
+HOMEPAGE="https://github.com/ocaml-ppx/ppx_import/"
+SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-ml/ppxlib-0.34:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ dev-ml/ounit2
+ dev-ml/ppx_deriving
+ dev-ml/ppx_sexp_conv
+ )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-dune-ounit2.patch )
diff --git a/dev-ml/ppx_import/ppx_import-1.9.1-r1.ebuild b/dev-ml/ppx_import/ppx_import-1.9.1-r2.ebuild
index c548ecf42c83..274c26600e2b 100644
--- a/dev-ml/ppx_import/ppx_import-1.9.1-r1.ebuild
+++ b/dev-ml/ppx_import/ppx_import-1.9.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,6 +19,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
>=dev-ml/ppxlib-0.24:=
<dev-ml/ppxlib-0.26
+ <dev-lang/ocaml-5.4
"
DEPEND="${RDEPEND}"
BDEPEND="
diff --git a/dev-ml/ppx_js_style/Manifest b/dev-ml/ppx_js_style/Manifest
index 57d62795b3eb..2d656aee9114 100644
--- a/dev-ml/ppx_js_style/Manifest
+++ b/dev-ml/ppx_js_style/Manifest
@@ -1,2 +1,3 @@
DIST ppx_js_style-0.16.0.tar.gz 10782 BLAKE2B f8d2cf691792240bb88094e3f3e09a82d2f947ac0fc2dafbf99351943e069cb237fcf17c45d1d097f3d78bafe4ef286acc931578180695cd7c237f4f45ddf7e8 SHA512 5a77fb8d8f7f4713a30d202d8edc16f11509cc9a6b4fb54609c774bb78f0dc1bb22d7064b5a2ea0c080aea32b626acae7a20af8e16913607c01e285134bead2d
DIST ppx_js_style-0.17.0.tar.gz 10758 BLAKE2B db3710441f75cfa0e9af4589bd061896cdc384d5abcf255e46ea67846df0c18290257b5fb17e57790ad8bc8543832ca95be425e918aa8a5175440236ee0fecaa SHA512 e5abb24b5a445a1f8e30ade007f2b44e7f0dd0151b2a902943f056d338d8dbb9c17f614e270797f6fe52362a24b4fb56787ba891e5aadec673afde5c46dbd8a5
+DIST ppx_js_style-0.17.1.tar.gz 10758 BLAKE2B 4de7c22c5c85f0ec337ec62ee23b1e526471cb7bd1d53340c992a1fc784ce28db3c4fc5f31bdfaa569ba40e3d166a448176609546dee150e4aadd852b8bd35ec SHA512 7df4fb48935eaa505be37689cf01c2ae87ede67847e7574357d291a6d1a03fda4da589d9b6d2233992fbf8aaad5e2ad07e197b1e6aa6a92622347aa552fb7fcf
diff --git a/dev-ml/ppx_js_style/ppx_js_style-0.16.0.ebuild b/dev-ml/ppx_js_style/ppx_js_style-0.16.0-r1.ebuild
index 1797befead51..74ec32f1abd2 100644
--- a/dev-ml/ppx_js_style/ppx_js_style-0.16.0.ebuild
+++ b/dev-ml/ppx_js_style/ppx_js_style-0.16.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,12 +14,16 @@ SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv x86"
IUSE="+ocamlopt"
+# Jane Street Minor
+JSM=$(ver_cut 1-2)*
+
DEPEND="
>=dev-lang/ocaml-4.14
- dev-ml/base:${SLOT}
+ =dev-ml/base-${JSM}:=[ocamlopt?]
dev-ml/findlib:=
dev-ml/octavius:=
>=dev-ml/ppxlib-0.28.0:=
+ <dev-ml/ppxlib-0.36
>=dev-ml/ocaml-compiler-libs-0.11.0:=
"
RDEPEND="${DEPEND}"
diff --git a/dev-ml/ppx_js_style/ppx_js_style-0.17.1.ebuild b/dev-ml/ppx_js_style/ppx_js_style-0.17.1.ebuild
new file mode 100644
index 000000000000..8d2b25f86823
--- /dev/null
+++ b/dev-ml/ppx_js_style/ppx_js_style-0.17.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Code style checker for Jane Street Packages"
+HOMEPAGE="https://github.com/janestreet/ppx_js_style"
+SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64"
+IUSE="+ocamlopt"
+
+# Jane Street Minor
+JSM=$(ver_cut 1-2)*
+
+RDEPEND="
+ >=dev-lang/ocaml-5.3.0
+ =dev-ml/base-${JSM}:=[ocamlopt?]
+ dev-ml/octavius:=[ocamlopt?]
+ >=dev-ml/ppxlib-0.36.0:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"