[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: gnu: asciidoc: Remove Python 2 variant.
From: |
guix-commits |
Subject: |
12/14: gnu: asciidoc: Remove Python 2 variant. |
Date: |
Tue, 18 May 2021 16:25:52 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit c2649f2811c4d2931a406f272c4af74dfd05cd1a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue May 18 19:35:14 2021 +0200
gnu: asciidoc: Remove Python 2 variant.
* gnu/packages/documentation.scm (asciidoc): Update to 9.1.0.
[inputs]: Replace PYTHON-2 with PYTHON.
(asciidoc-py3): Define as deprecated alias for ASCIIDOC.
* gnu/packages/version-control.scm (git)[native-inputs]: Change from
ASCIIDOC-PY3 to ASCIIDOC.
* gnu/packages/wm.scm (i3-wm)[native-inputs]: Likewise.
---
gnu/packages/documentation.scm | 44 ++++++++++++----------------------------
gnu/packages/version-control.scm | 2 +-
gnu/packages/wm.scm | 2 +-
3 files changed, 15 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index 17f73aa..3951031 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -34,6 +35,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix build-system qt)
+ #:use-module (guix deprecation)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages backup)
@@ -101,16 +103,16 @@ pages in HTML.")
(define-public asciidoc
(package
(name "asciidoc")
- (version "8.6.10")
+ (version "9.1.0")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/asciidoc-py/asciidoc-py2")
- (commit version)))
+ (url "https://github.com/asciidoc/asciidoc-py")
+ (commit version)))
(file-name (git-file-name name version))
(sha256
(base32
- "1hrqkgjmp1gq3f9rkbr8l0y62fzvwb9n8ys35s25bg2ld04y4g4y"))))
+ "1clf1axkns23wfmh48xfspzsnw04pjh4mq1pshpzvj0cwxhz0yaq"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no 'check' target
@@ -159,11 +161,12 @@ release/xsl/current")
#t)))))
(native-inputs
`(("autoconf" ,autoconf)))
- (inputs `(("python" ,python-2)
- ("docbook-xml" ,docbook-xml)
- ("docbook-xsl" ,docbook-xsl)
- ("libxml2" ,libxml2)
- ("libxslt" ,libxslt)))
+ (inputs
+ `(("python" ,python)
+ ("docbook-xml" ,docbook-xml)
+ ("docbook-xsl" ,docbook-xsl)
+ ("libxml2" ,libxml2)
+ ("libxslt" ,libxslt)))
(home-page "https://asciidoc.org/")
(synopsis "Text-based document generation system")
(description
@@ -177,28 +180,7 @@ the backend output markups (which can be almost any type
of SGML/XML
markup) can be customized and extended by the user.")
(license gpl2+)))
-(define-public asciidoc-py3
- (package (inherit asciidoc)
- (name "asciidoc-py3")
- (version "9.1.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/asciidoc/asciidoc-py")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1clf1axkns23wfmh48xfspzsnw04pjh4mq1pshpzvj0cwxhz0yaq"))))
- (build-system gnu-build-system)
- (native-inputs
- `(("autoconf" ,autoconf)))
- (inputs
- `(("python" ,python)
- ("docbook-xml" ,docbook-xml)
- ("docbook-xsl" ,docbook-xsl)
- ("libxml2" ,libxml2)
- ("libxslt" ,libxslt)))))
+(define-deprecated asciidoc-py3 asciidoc)
(define-public doxygen
(package
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 167495c..80842ec 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -204,7 +204,7 @@ as well as the classic centralized workflow.")
(base32
"00n7vbfmd3ywgjksgwrszwj0l2niba64qkaq07ra4p8mawy483ax"))))
;; For subtree documentation.
- ("asciidoc" ,asciidoc-py3)
+ ("asciidoc" ,asciidoc)
("docbook-xsl" ,docbook-xsl)
("xmlto" ,xmlto)
("pkg-config" ,pkg-config)))
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index da850ac..c7a1c5a 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -334,7 +334,7 @@ commands would.")
`(("which" ,which)
("perl" ,perl)
("pkg-config" ,pkg-config)
- ("asciidoc-py3" ,asciidoc-py3)
+ ("asciidoc" ,asciidoc)
;; For building the documentation.
("libxml2" ,libxml2)
("docbook-xsl" ,docbook-xsl)))
- 04/14: gnu: hdf5: Fix invalid regex range., (continued)
- 04/14: gnu: hdf5: Fix invalid regex range., guix-commits, 2021/05/18
- 03/14: gnu: universal-ctags: Update to 5.9.20210509.0., guix-commits, 2021/05/18
- 05/14: gnu: yubikey-personalization: Update to 1.20.0., guix-commits, 2021/05/18
- 07/14: gnu: ucx: Update to 1.9.0., guix-commits, 2021/05/18
- 09/14: gnu: iwd: Update to 1.14., guix-commits, 2021/05/18
- 06/14: gnu: yubikey-personalization: Fix build with GCC 10., guix-commits, 2021/05/18
- 11/14: gnu: asciidoc-py3: Update to 9.1.0., guix-commits, 2021/05/18
- 08/14: gnu: ell: Update to 0.40., guix-commits, 2021/05/18
- 10/14: gnu: asciidoc-py3: Fix source URI., guix-commits, 2021/05/18
- 13/14: gnu: kbd: Update to 2.4.0., guix-commits, 2021/05/18
- 12/14: gnu: asciidoc: Remove Python 2 variant.,
guix-commits <=
- 14/14: gnu: Add libxml2-xpath0., guix-commits, 2021/05/18