Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / 
opam-file-format


Commits:
3040d5d0 by Stephane Glondu at 2023-07-21T06:36:12+02:00
New upstream version 2.1.6
- - - - -
0e0bac98 by Stephane Glondu at 2023-07-21T06:36:12+02:00
Update upstream source from tag '2.1.6'

Update to upstream version '2.1.6'
with Debian dir 263ee09cb04b4882b68793a9ff4e6796a9670da6
- - - - -
7fdf765b by Stephane Glondu at 2023-07-21T06:36:19+02:00
New upstream release

- - - - -
ce509b00 by Stephane Glondu at 2023-07-21T06:37:38+02:00
Update packaging

- - - - -
2080ed08 by Stephane Glondu at 2023-07-21T06:38:16+02:00
Update changelog and prepare upload to unstable

- - - - -


6 changed files:

- CHANGES
- debian/changelog
- debian/control
- opam-file-format.opam
- src/opamLexer.mll
- tests/legacy/Makefile


Changes:

=====================================
CHANGES
=====================================
@@ -1,3 +1,7 @@
+2.1.6 [20 March 2023]
+------------------------
+* Remove deprecated usage of `Printf.ksprintf`, ocaml 5 compatibility
+
 2.1.5 [14 December 2022]
 ------------------------
 * Fix extra lines on non empty headers [#49 @hhugo]


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+opam-file-format (2.1.6-1) unstable; urgency=medium
+
+  * Team upload
+  * New upstream release
+  * Bump Standards-Version to 4.6.2
+
+ -- Stéphane Glondu <[email protected]>  Fri, 21 Jul 2023 06:38:12 +0200
+
 opam-file-format (2.1.5-1) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -6,9 +6,9 @@ Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-ocaml,
                ocaml-findlib,
-               ocaml-nox
+               ocaml
 Rules-Requires-Root: no
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
 Homepage: https://github.com/ocaml/opam-file-format/
 Vcs-Git: https://salsa.debian.org/ocaml-team/opam-file-format.git
 Vcs-Browser: https://salsa.debian.org/ocaml-team/opam-file-format


=====================================
opam-file-format.opam
=====================================
@@ -1,5 +1,5 @@
 opam-version: "2.0"
-version: "2.1.5"
+version: "2.1.6"
 synopsis: "Parser and printer for the opam file syntax"
 maintainer: "Louis Gesbert <[email protected]>"
 authors: "Louis Gesbert <[email protected]>"
@@ -14,7 +14,7 @@ build: [
 ]
 install: [make "install" "PREFIX=%{prefix}%"] {!dune:installed}
 depends: [
-  "ocaml"
+  "ocaml" {>= "3.09.0"}
   "alcotest" {with-test}
 ]
 depopts: [


=====================================
src/opamLexer.mll
=====================================
@@ -18,7 +18,7 @@ exception Error of string
 
 let newline lexbuf = Lexing.new_line lexbuf
 let error fmt =
-  Printf.kprintf (fun msg -> raise (Error msg)) fmt
+  Printf.ksprintf (fun msg -> raise (Error msg)) fmt
 
 let relop = function
   | "="  -> `Eq


=====================================
tests/legacy/Makefile
=====================================
@@ -1,5 +1,9 @@
 .PHONY: test
-test: legacy.byte legacy.native
+test:: legacy.byte
+
+ifneq "$(shell ocamlopt -vnum 2>/dev/null)" ""
+test:: legacy.native
+endif
 
 src/%:
        $(MAKE) -C src $*



View it on GitLab: 
https://salsa.debian.org/ocaml-team/opam-file-format/-/compare/5e380891a27168d980612c60c05d509a6a4f73d1...2080ed08f8907374c447d876ca710d2bce4e3a66

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/opam-file-format/-/compare/5e380891a27168d980612c60c05d509a6a4f73d1...2080ed08f8907374c447d876ca710d2bce4e3a66
You're receiving this email because of your account on salsa.debian.org.


Reply via email to