diff options
author | 2024-07-29 00:53:32 +0900 | |
---|---|---|
committer | 2024-07-29 00:53:32 +0900 | |
commit | cb2ecdebe5f74ec48583eee4389c62cc409cbefc (patch) | |
tree | 7e8901ce477773252d5953e6968ff37290a33734 /dev-util | |
parent | dev-ml/ocamlformat-lib: new package, add 0.26.2 (diff) | |
download | guru-cb2ecdebe5f74ec48583eee4389c62cc409cbefc.tar.gz guru-cb2ecdebe5f74ec48583eee4389c62cc409cbefc.tar.bz2 guru-cb2ecdebe5f74ec48583eee4389c62cc409cbefc.zip |
dev-util/ocamlformat: decouple libraries
Some OCaml packages need only its libraries.
Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ocamlformat/ocamlformat-0.26.2.ebuild | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/dev-util/ocamlformat/ocamlformat-0.26.2.ebuild b/dev-util/ocamlformat/ocamlformat-0.26.2.ebuild index 6ab97c5a6..77cd36a73 100644 --- a/dev-util/ocamlformat/ocamlformat-0.26.2.ebuild +++ b/dev-util/ocamlformat/ocamlformat-0.26.2.ebuild @@ -19,23 +19,9 @@ IUSE="ocamlopt test" RESTRICT="!test? ( test )" RDEPEND=" - dev-ml/cmdliner:= - dev-ml/csexp:= - dev-ml/re:= - - dev-ml/base:= - dev-ml/dune-build-info:= - dev-ml/either:= - dev-ml/fix:= - dev-ml/fpath:= - dev-ml/menhir:= - dev-ml/ocaml-version:= - dev-util/ocp-indent:= - dev-ml/stdio:= - dev-ml/uuseg:= - dev-ml/uutf:= - dev-ml/astring:= - dev-ml/camlp-streams:= + >=dev-ml/cmdliner-1.1.0:= + ~dev-ml/ocamlformat-lib-${PV}:= + >=dev-ml/re-1.10.3:= " DEPEND=" @@ -44,6 +30,15 @@ DEPEND=" BDEPEND=" test? ( - dev-ml/alcotest:= + >=dev-ml/cmdliner-1.2.0:= + ~dev-ml/ocamlformat-rpc-lib-${PV}:= ) " + +src_compile() { + dune-compile ocamlformat +} + +src_install() { + dune-install ocamlformat +} |