[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ocaml-team/parmap][master] Use ocaml_dune DH buildsystem



Title: GitLab

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:

Changes:

  • debian/changelog
    1
    +parmap (1.2.5-3) UNRELEASED; urgency=medium
    
    2
    +
    
    3
    +  * Use ocaml_dune DH buildsystem
    
    4
    +
    
    5
    + -- Stéphane Glondu <glondu@debian.org>  Sun, 13 Aug 2023 19:05:41 +0200
    
    6
    +
    
    1 7
     parmap (1.2.5-2) unstable; urgency=medium
    
    2 8
     
    
    3 9
       * Team upload
    

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

  • debian/debian-dune
    1
    +parmap

  • debian/rules
    1 1
     #!/usr/bin/make -f
    
    2 2
     # -*- makefile -*-
    
    3 3
     
    
    4
    -DESTDIR=$(CURDIR)/debian/tmp
    
    5
    -
    
    6 4
     include /usr/share/ocaml/ocamlvars.mk
    
    7 5
     
    
    8 6
     %:
    
    9
    -	dh $@ --with ocaml
    
    10
    -
    
    11
    -override_dh_auto_build:
    
    12
    -	dune build -p parmap
    
    7
    +	dh $@ --with ocaml --buildsystem ocaml_dune
    
    13 8
     
    
    14 9
     override_dh_auto_test:
    
    15
    -	nData=1000 dune runtest -p parmap -j 1 --verbose
    
    16
    -
    
    17
    -override_dh_auto_install:
    
    18
    -	dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
    
    19
    -	rm -f $(DESTDIR)/usr/doc/parmap/LICENSE
    10
    +	nData=1000 dh_auto_test


  • Reply to: