GNU bug report logs - #63049
[PATCH] Add support for the python i18n package to Guix

Previous Next

Package: guix-patches;

Reported by: Graham James Addis <grahamjamesaddis <at> gmail.com>

Date: Mon, 24 Apr 2023 09:15:02 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Graham James Addis <grahamjamesaddis <at> gmail.com>
Subject: [PATCH] Add support for the python i18n package to Guix
Date: Fri, 21 Apr 2023 16:53:55 +0100
The package is built from source at https://github.com/danhper/python-i18n
and is available on PyPi here: https://pypi.org/project/python-i18n/
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 284f8019bb..ace316d746 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -135,6 +135,7 @@
 ;;; Copyright © 2023 Gabriel Wicki <gabriel <at> erlikon.ch>
 ;;; Copyright © 2023 Amade Nemes <nemesamade <at> gmail.com>
 ;;; Copyright © 2023 Bruno Victal <mirai <at> makinata.eu>
+;;; Copyright © 2023 Graham James Addis <graham <at> addis.org.uk>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1600,6 +1601,29 @@ (define-public python-clyent
 by @code{binstar}, @code{binstar-build}, and @code{chalmers}.")
     (license license:bsd-3)))
 
+(define-public python-i18n
+  (package
+    (name "python-i18n")
+    (version "v0.3.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/danhper/python-i18n")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0c7fjx3znyp0d8p5c8nlny8bcaa4q2i4dzd436cfas3afsha2mp8"))))
+    (build-system python-build-system)
+
+    (inputs (list python-pyyaml))
+    (synopsis
+     "This library provides i18n functionality for Python 3 out of the box")
+    (description (string-append
+                  "This library provides i18n functionality for Python 3 out of the box.
The usage is mostly based on Rails i18n library."))
+    (home-page "https://github.com/danhper/python-i18n")
+    (license license:expat)))
+
 (define-public python-babel
   (package
     (name "python-babel")
-- 
2.39.2






This bug report was last modified 1 year and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.