Subject: bug#38631: closed (Re: [bug#38631] [PATCH] gnu: Add python-sphinx-intl)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 16 Dec 2019 04:57:02 +0000

Your bug report

#38631: [PATCH] gnu: Add python-sphinx-intl

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38631: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38631
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#38631] [PATCH] gnu: Add python-sphinx-intl
From: Brett Gilio <[email-masked]>
To: Alexandros Theodotou <[email-masked]>
Cc: [email-masked]
Date: Sun, 15 Dec 2019 22:56:16 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks, pushed with 90ee17cdac77e48603b93ab30b71c4ba7ce2db42.

-- 
Brett M. Gilio
Homepage -- https://scm.pw/
GNU Guix -- https://guix.gnu.org/

Subject: [PATCH] gnu: Add python-sphinx-intl
From: Alexandros Theodotou <[email-masked]>
To: Guix patches <[email-masked]>
Date: Mon, 16 Dec 2019 04:42:22 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From 4b2f0f172bf69f24c92273a2307a05ad18bf0bcb Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Mon, 16 Dec 2019 04:39:44 +0000
Subject: [PATCH] gnu: Add python-sphinx-intl

* gnu/packages/sphinx.scm (python-sphinx-intl): New variable.
---
 gnu/packages/sphinx.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index b74137362c..d424d94414 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2017 Julien Lepiller <[email-masked]>
 ;;; Copyright © 2019 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2019 Nicolas Goaziou <[email-masked]>
+;;; Copyright © 2019 Alexandros Theodotou <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -565,3 +566,26 @@ and several other projects.")
     (description "This package is an extension to reStructuredText and Sphinx
 to be able to read and render the Doxygen xml output.")
     (license license:bsd-3)))
+
+(define-public python-sphinx-intl
+  (package
+    (name "python-sphinx-intl")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sphinx-intl" version))
+       (sha256
+        (base32
+         "0zbf1bh23b3kza8bnjykmv2k21xmmr4gamhi3lnicnr6ypnrphr5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-sphinx" ,python-sphinx)
+       ("python-click" ,python-click)))
+    (home-page "https://github.com/sphinx-doc/sphinx-intl")
+    (synopsis
+      "Sphinx utility that makes it easy to translate and to apply translation")
+    (description
+      "sphinx-intl is a utility tool that provides several features that make
+it easy to translate and to apply translation to Sphinx generated document.")
+    (license license:bsd-2)))
-- 
2.24.1