Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / parmap


Commits:
a5052495 by Stephane Glondu at 2023-08-13T19:05:44+02:00
Use ocaml_dune DH buildsystem

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/debian-dune
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+parmap (1.2.5-3) UNRELEASED; urgency=medium
+
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sun, 13 Aug 2023 19:05:41 +0200
+
 parmap (1.2.5-2) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -8,7 +8,7 @@ Build-Depends:
  ocaml,
  ocaml-dune,
  libdune-ocaml-dev,
- dh-ocaml
+ dh-ocaml (>= 1.2)
 Standards-Version: 4.6.0
 Rules-Requires-Root: no
 Homepage: https://rdicosmo.github.io/parmap/


=====================================
debian/debian-dune
=====================================
@@ -0,0 +1 @@
+parmap


=====================================
debian/rules
=====================================
@@ -1,19 +1,10 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-DESTDIR=$(CURDIR)/debian/tmp
-
 include /usr/share/ocaml/ocamlvars.mk
 
 %:
-       dh $@ --with ocaml
-
-override_dh_auto_build:
-       dune build -p parmap
+       dh $@ --with ocaml --buildsystem ocaml_dune
 
 override_dh_auto_test:
-       nData=1000 dune runtest -p parmap -j 1 --verbose
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=$(OCAML_STDLIB_DIR)
-       rm -f $(DESTDIR)/usr/doc/parmap/LICENSE
+       nData=1000 dh_auto_test



View it on GitLab: 
https://salsa.debian.org/ocaml-team/parmap/-/commit/a505249569943f4ffab8ab30230c3db044ca85ef

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/parmap/-/commit/a505249569943f4ffab8ab30230c3db044ca85ef
You're receiving this email because of your account on salsa.debian.org.


Reply via email to