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


Commits:
63c3f85d by Stephane Glondu at 2023-08-07T08:24:37+02:00
Update packaging

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+cppo (1.6.9-3) unstable; urgency=medium
+
+  * Team upload
+  * Use ocaml_dune DH buildsystem
+  * Bump Standards-Version to 4.6.2
+
+ -- Stéphane Glondu <[email protected]>  Mon, 07 Aug 2023 08:24:34 +0200
+
 cppo (1.6.9-2) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -3,13 +3,13 @@ Section: ocaml
 Priority: optional
 Maintainer: Debian OCaml Maintainers <[email protected]>
 Build-Depends:
-  ocaml-nox (>= 4),
+  ocaml (>= 4),
   ocaml-findlib (>= 1.4),
-  dh-ocaml,
+  dh-ocaml (>= 1.2.2),
   debhelper-compat (= 13),
   ocaml-dune,
   ocamlbuild
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://github.com/ocaml-community/cppo
 Vcs-Git: https://salsa.debian.org/ocaml-team/cppo.git


=====================================
debian/debian-dune
=====================================
@@ -0,0 +1,2 @@
+cppo
+cppo_ocamlbuild


=====================================
debian/rules
=====================================
@@ -1,20 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-#export DH_OPTIONS=-v
-
 include /usr/share/ocaml/ocamlvars.mk
 
-DESTDIR := $(CURDIR)/debian/tmp
-export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)/cppo_ocamlbuild
-BUILD_PATH=_build/install/default/lib/cppo_ocamlbuild
-
 %:
-       dh $@ --with ocaml
-
-.PHONY: override_dh_auto_install
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=$(OCAML_STDLIB_DIR)
-       rm -f $(DESTDIR)/usr/doc/*/LICENSE.md
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/cppo/-/commit/63c3f85dd0ce7df0bced35cd27990a992a565297

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


Reply via email to