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

To reply to this bug, email your comments to 63049 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to help-debbugs <at> gnu.org:
bug#63049; Package debbugs.gnu.org. (Mon, 24 Apr 2023 09:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Graham James Addis <grahamjamesaddis <at> gmail.com>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Mon, 24 Apr 2023 09:15:02 GMT) Full text and rfc822 format available.

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






bug reassigned from package 'debbugs.gnu.org' to 'guix-patches'. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 18:05:01 GMT) Full text and rfc822 format available.

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

Previous Next


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