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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Graham James Addis <grahamjamesaddis@HIDDEN>; Keywords: patch; dated Mon, 24 Apr 2023 09:15:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
bug reassigned from package 'debbugs.gnu.org' to 'guix-patches'. Request was from Felix Lechner <felix.lechner@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Apr 2023 09:14:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 24 05:14:08 2023
Received: from localhost ([127.0.0.1]:47517 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pqsGt-0008Bg-NI
	for submit <at> debbugs.gnu.org; Mon, 24 Apr 2023 05:14:08 -0400
Received: from lists.gnu.org ([209.51.188.17]:58646)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <grahamjamesaddis@HIDDEN>) id 1pqrIb-0003xJ-68
 for submit <at> debbugs.gnu.org; Mon, 24 Apr 2023 04:11:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <grahamjamesaddis@HIDDEN>)
 id 1pqrIa-0007Qn-SC
 for guix-patches@HIDDEN; Mon, 24 Apr 2023 04:11:48 -0400
Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <grahamjamesaddis@HIDDEN>)
 id 1pqrIZ-0002Tz-6R
 for guix-patches@HIDDEN; Mon, 24 Apr 2023 04:11:48 -0400
Received: by mail-wm1-x32e.google.com with SMTP id
 5b1f17b1804b1-3f1763ee8f8so26815715e9.1
 for <guix-patches@HIDDEN>; Mon, 24 Apr 2023 01:11:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1682323905; x=1684915905;
 h=subject:date:from:message-id:from:to:cc:subject:date:message-id
 :reply-to; bh=d2Df5QocUk+65bXFrUfnngSlD9jLX2tNDo+cXaar3+o=;
 b=YYeC5P6OC+YZAb9SXjxa2RHKs/DA/+UFU4tyvV9lZDDibDwLshV3D2ZjtWhRpwFpeG
 elP+hqwPGbTX58CJ9y3B+pLfGGFav0iylL1YXRt3o/Cw9SEAKbgOu9uhwG+Q/oMZ1Mm2
 FenwQFenjj9YHhL/ESEG9c9nvm5RcGbjcxEBSJtKfmEds0USVOvgzahkDU5dDl68eBM3
 73/K6IaHjrPSuIxEBgdexFs1Okh1bOxL7Aik3bf7rPWBiXugLqoTumo/ysKe0Yiw1vr3
 pXP6lDOKkFDteLvMupxr3eDOLb/LQh39POa960H4vLKhJB4ngWHZbdozUV6rGY05jk8x
 cUfg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1682323905; x=1684915905;
 h=subject:date:from:message-id:x-gm-message-state:from:to:cc:subject
 :date:message-id:reply-to;
 bh=d2Df5QocUk+65bXFrUfnngSlD9jLX2tNDo+cXaar3+o=;
 b=K4gWX474X21DfNY+6cItQazs0UP/PP3y8B277xa7qyXNlq/fQsaslc4TdwjjiUXWWT
 mQk9QQ7NF8pnQLuppy51uC+y7nnVq4kLOECQYEDx1Jd8capBt5HoqNAmd6CXTZLaQyjt
 XZWrWZkR5GFuTTv/DwOyByrMO5kbEnZ6MLkDfxKQd2KtyNopppS1rR2mpne0lqv/QIQ1
 U4HR5iqJoVti/48/aDPTNgH62kBiRD7zv4/GvpKlWmwTnm454rmEylVmkbtth/9j5cZc
 pCr4LoUHwNgwQxv6eeFGYX0xkHjMvbuZD9zXDJ16C2ieD+WEGCY3FRdOADpgE+crfssX
 6xRw==
X-Gm-Message-State: AAQBX9c1TVQ0HCtwibbucOtKHTzt37JwxCV7SFabRWGHhxPr7Wwx5h4J
 IjGr7Pk+vnWDYn3MlORv8XYrhujXXy/V/Q==
X-Google-Smtp-Source: AKy350Z54AeQRxQOSWGxBTrvMNsxHvC9I1YBDYPf4gQO1lXSBBKt7YKThSl3WxUakicJofxU3vRzuA==
X-Received: by 2002:a7b:c38b:0:b0:3f2:4f24:5f61 with SMTP id
 s11-20020a7bc38b000000b003f24f245f61mr1962887wmj.38.1682323905226; 
 Mon, 24 Apr 2023 01:11:45 -0700 (PDT)
Received: from localhost ([2a00:23c7:59a9:c901:c658:7c99:6008:7cb0])
 by smtp.gmail.com with ESMTPSA id
 14-20020a05600c028e00b003f18b942338sm11210889wmk.3.2023.04.24.01.11.44
 for <guix-patches@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 24 Apr 2023 01:11:44 -0700 (PDT)
Message-ID: <644639c0.050a0220.aa986.1564@HIDDEN>
From: Graham James Addis <grahamjamesaddis@HIDDEN>
X-Google-Original-From: Graham James Addis <graham@HIDDEN>
Date: Fri, 21 Apr 2023 16:53:55 +0100
Subject: [PATCH] Add support for the python i18n package to Guix
Received-SPF: pass client-ip=2a00:1450:4864:20::32e;
 envelope-from=grahamjamesaddis@HIDDEN; helo=mail-wm1-x32e.google.com
X-Spam_score_int: -6
X-Spam_score: -0.7
X-Spam_bar: /
X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 MISSING_HEADERS=1.021, PP_MIME_FAKE_ASCII_TEXT=0.387,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.1 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 24 Apr 2023 05:14:06 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.1 (-)

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@HIDDEN>
 ;;; Copyright © 2023 Amade Nemes <nemesamade@HIDDEN>
 ;;; Copyright © 2023 Bruno Victal <mirai@HIDDEN>
+;;; Copyright © 2023 Graham James Addis <graham@HIDDEN>
 ;;;
 ;;; 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






Acknowledgement sent to Graham James Addis <grahamjamesaddis@HIDDEN>:
New bug report received and forwarded. Copy sent to help-debbugs@HIDDEN. Full text available.
Report forwarded to help-debbugs@HIDDEN:
bug#63049; Package debbugs.gnu.org. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 29 Nov 2023 18:15:01 UTC

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