[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: guile-json: Deprecate the 'guile-json' variable.
From: |
guix-commits |
Subject: |
03/06: gnu: guile-json: Deprecate the 'guile-json' variable. |
Date: |
Tue, 22 Oct 2019 12:33:12 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 84af1e74029fd4c43636f7d8d3e6f82ddab9ce82
Author: Ludovic Courtès <address@hidden>
Date: Tue Oct 22 17:51:23 2019 +0200
gnu: guile-json: Deprecate the 'guile-json' variable.
* gnu/packages/guile.scm (guile-json): Rename to...
(guile-json-1): ... this.
(guile-json): Define as a deprecated alias for 'guile-json-1'.
(guile2.0-json, guile-json-3): Explicitly refer to 'guile-json-1'.
---
gnu/packages/guile.scm | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 49a6e96..5fa149a 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -59,6 +59,7 @@
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system guile)
+ #:use-module (guix deprecation)
#:use-module (guix utils)
#:use-module (ice-9 match)
#:use-module ((srfi srfi-1) #:prefix srfi-1:))
@@ -413,7 +414,7 @@ GNU@tie{}Guile. Use the @code{(ice-9 readline)} module and
call its
;;; Extensions.
;;;
-(define-public guile-json
+(define-public guile-json-1
(package
(name "guile-json")
(version "1.2.0")
@@ -444,17 +445,20 @@ specification. These are the main features:
;; Version 1.2.0 switched to GPLv3+ (from LGPLv3+).
(license license:gpl3+)))
-(define-public guile-json-1
- ;; This is the 1.x branch of Guile-JSON.
- guile-json)
+;; Deprecate the 'guile-json' alias to force the use 'guile-json-1' or
+;; 'guile-json-3'. In the future, we may reuse 'guile-json' as an alias for
+;; 'guile-json-3'.
+(define-deprecated guile-json
+ guile-json-1
+ guile-json-1)
(define-public guile2.0-json
- (package-for-guile-2.0 guile-json))
+ (package-for-guile-2.0 guile-json-1))
(define-public guile-json-3
;; This version is incompatible with 1.x; see the 'NEWS' file.
(package
- (inherit guile-json)
+ (inherit guile-json-1)
(name "guile-json")
(version "3.2.0")
(source (origin
- branch master updated (73f0ed8 -> c93994b), guix-commits, 2019/10/22
- 06/06: machine: digital-ocean: Rename 'enable-ipv6' to 'enable-ipv6?'., guix-commits, 2019/10/22
- 02/06: doc: Use the right title in HTML indices for the cookbook., guix-commits, 2019/10/22
- 03/06: gnu: guile-json: Deprecate the 'guile-json' variable.,
guix-commits <=
- 01/06: services: elogind, gnome, mate, xfce: Fix config type predicate identifiers., guix-commits, 2019/10/22
- 05/06: machine: Implement 'digital-ocean-environment-type'., guix-commits, 2019/10/22
- 04/06: gnu: seahorse: Update to 3.30.1.1., guix-commits, 2019/10/22