summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dune.eclass: filter TEXTRELS warnings on 32 bit archAlfredo Tupone2024-06-011-1/+5
| | | | | Closes: https://bugs.gentoo.org/928104 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* dune.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-1/+1
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/dune.eclass: introduce edune and dune-compileMaciej Barć2023-01-121-11/+103
| | | | | | | | | | | | | | edune is a thin wrapper for dune, which will help to run special, uncommon dune commands; dune-compile is a function to selectively pick which packages will be compiled "for-release" (as dune tends to call it); dune-compile without any arguments replaces the current dune_src_compile; dune-test without any arguments replaces the current dune_src_test; dune-release is a specialized function that helps to execute dune subcommands in a "for-release" mode, it is used by dune-compile and dune-test Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* dune.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-25/+29
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* dune.eclass: fix typo in @DESCRIPTIONSam James2022-12-101-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-1/+1
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/dune.eclass: inherit multiprocessingMaciej Barć2022-02-131-3/+5
| | | | | | | in order to run up to makeopts_jobs number of jobs in dune_src_compile and dune_src_test Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* dune.eclass: enhance build and test logsAlfredo Tupone2022-02-021-2/+2
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass/dune.eclass: src_test do not change warn to errAlfredo Tupone2022-01-101-1/+1
| | | | | | Closes: https://bugs.gentoo.org/822876 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* dune.eclass: fix default value of DUNE_PKG_NAMESam James2021-12-171-1/+3
| | | | | | | | | | We need to use :=, not :-, because we want to reassign DUNE_PKG_NAME, not just return the new value. Closes: https://bugs.gentoo.org/829199 Closes: https://bugs.gentoo.org/829299 Closes: https://bugs.gentoo.org/829327 Signed-off-by: Sam James <sam@gentoo.org>
* eclass/dune.eclass: fix dune-install functionMaciej Barć2021-12-141-21/+35
| | | | | | | | | | | Support EAPI 8 and drop support for EAPI 5. Set DUNE_PKG_NAME to PN by default. Move "Move docs to the appropriate place" block to dune-install to make dune-install now handle a list of subpackages correctly. Use ebegin and eend for dune calls instead of "|| die". Thanks to ULM for bash fixes. Signed-off-by: Maciej Barć <xgqt@gentoo.org>
* eclass/dune.eclass: build with release profileAlfredo Tupone2021-10-031-1/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* dune.eclass: add REDEPEND on dev-ml/dune:=Alfredo Tupone2021-07-271-1/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* dune.eclass: change case style, remove already unsupported EAPIsSam James2021-04-041-6/+11
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dune.eclass: mark DUNE_PKG_NAME as @PRE_INHERITSam James2021-03-311-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dune.eclass: Add ml@ maintainerSam James2021-02-251-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* eclass: ignore CFLAGS warningsAlfredo Tupone2021-01-231-0/+3
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* dune.eclass: pass --mandir to dune installRafael Kitover2020-10-311-0/+1
| | | | | | Closes: https://bugs.gentoo.org/749615 Signed-off-by: Rafael Kitover <rkitover@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* eclass/dune.eclass: Add BDEPENDMark Wright2020-10-131-2/+5
| | | | Signed-off-by: Mark Wright <gienah@gentoo.org>
* dune.eclass: new eclassRafael Kitover2020-06-241-0/+65
New eclass for the Dune build system for OCaml. https://github.com/ocaml/dune Based on oasis.eclass and opam.eclass for OCaml. Signed-off-by: Rafael Kitover <rkitover@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>