[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: import: opam: Remove initial "v" in some version numbers.
From: |
guix-commits |
Subject: |
01/10: import: opam: Remove initial "v" in some version numbers. |
Date: |
Wed, 4 Sep 2019 17:09:20 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit d3366a8ee8cec53cfb982855aaeb30244d3f1aa2
Author: Julien Lepiller <address@hidden>
Date: Wed Sep 4 21:01:04 2019 +0200
import: opam: Remove initial "v" in some version numbers.
* guix/import/opam.scm (opam-fetch): Remove initial "v" in some version
numbers.
---
guix/import/opam.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index 5dcc0e9..7c533a4 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -238,7 +238,9 @@ path to the repository."
(version (find-latest-version name repository))
(file (string-append repository "/packages/" name "/" name "."
version "/opam")))
`(("metadata" ,@(get-metadata file))
- ("version" . ,version))))
+ ("version" . ,(if (string-prefix? "v" version)
+ (substring version 1)
+ version)))))
(define (opam->guix-package name)
(and-let* ((opam-file (opam-fetch name))
- branch master updated (11d73fb -> ce50277), guix-commits, 2019/09/04
- 07/10: gnu: opam: Update to 2.0.5., guix-commits, 2019/09/04
- 03/10: gnu: ocaml-biniou: Update to 1.2.1., guix-commits, 2019/09/04
- 08/10: gnu: ocaml-ssl: Update to 0.5.9., guix-commits, 2019/09/04
- 09/10: gnu: ocaml-frontc: Update to 3.4.2., guix-commits, 2019/09/04
- 02/10: import: opam: Use propagated-inputs instead of inputs., guix-commits, 2019/09/04
- 06/10: gnu: ocaml-stringext: Update to 1.6.0., guix-commits, 2019/09/04
- 04/10: gnu: ocaml-lwt-log: Update to 1.1.1., guix-commits, 2019/09/04
- 01/10: import: opam: Remove initial "v" in some version numbers.,
guix-commits <=
- 10/10: gnu: ocaml-easy-format: Update to 1.3.2., guix-commits, 2019/09/04
- 05/10: gnu: ocaml-markup: Update to 0.8.1., guix-commits, 2019/09/04