Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / ocaml-dune
Commits: 3ddff6fb by Stéphane Glondu at 2022-11-21T09:34:38+01:00 Add pkg.ocaml-dune.nocsexp build profile - - - - - ead92aee by Stéphane Glondu at 2022-11-21T09:42:21+01:00 Update changelog - - - - - 3 changed files: - debian/changelog - debian/control - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +ocaml-dune (2.9.1-2) UNRELEASED; urgency=medium + + * Add pkg.ocaml-dune.nocsexp build profile, to cut build-dependency + loop if needed + + -- Stéphane Glondu <[email protected]> Mon, 21 Nov 2022 09:41:55 +0100 + ocaml-dune (2.9.1-1) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -6,7 +6,7 @@ Uploaders: Stéphane Glondu <[email protected]> Build-Depends: debhelper-compat (= 13), ocaml-nox, - libcsexp-ocaml-dev, + libcsexp-ocaml-dev <!pkg.ocaml-dune.nocsexp>, dh-ocaml Standards-Version: 4.5.0 Rules-Requires-Root: no @@ -36,6 +36,7 @@ Description: composable build system for OCaml projects Package: libdune-ocaml-dev Architecture: any +Build-Profiles: <!pkg.ocaml-dune.nocsexp> Depends: ${ocaml:Depends}, ${shlibs:Depends}, ===================================== debian/rules ===================================== @@ -25,10 +25,12 @@ override_dh_auto_build: ocaml bootstrap.ml ./dune.exe build -p dune --profile dune-bootstrap ./dune.exe install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) dune +ifneq (,$(filter libdune-ocaml-dev,$(shell dh_listpackages))) PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p dune-private-libs PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) dune-private-libs PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p dune-configurator PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) dune-configurator +endif override_dh_auto_install: rm -rf debian/tmp View it on GitLab: https://salsa.debian.org/ocaml-team/ocaml-dune/-/compare/3337a3092df41bf57b4e112aed7bc1cfec276c2f...ead92aeeb070e516db90b40915ac2eab5c6ade1a -- View it on GitLab: https://salsa.debian.org/ocaml-team/ocaml-dune/-/compare/3337a3092df41bf57b4e112aed7bc1cfec276c2f...ead92aeeb070e516db90b40915ac2eab5c6ade1a You're receiving this email because of your account on salsa.debian.org.

