GNU bug report logs - #30369
[PATCH] gnu: Add python-isoweek.

Previous Next

Package: guix-patches;

Reported by: Konrad Hinsen <konrad.hinsen <at> fastmail.net>

Date: Tue, 6 Feb 2018 10:56:01 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
To: 30369 <at> debbugs.gnu.org
Subject: [bug#30369] [PATCH] gnu: Add python-isoweek.
Date: Tue, 6 Feb 2018 11:52:42 +0100
* gnu/packages/python.scm (python-isoweek, python2-isoweek): New variables.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9483ad6b1..fddbe6af0 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12417,3 +12417,26 @@ style guide, even if the original code didn't violate the style guide.")
 
 (define-public python2-yapf
   (package-with-python2 python-yapf))
+
+(define-public python-isoweek
+  (package
+    (name "python-isoweek")
+    (version "1.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "isoweek" version))
+       (sha256
+        (base32
+         "1s7zsf0pab0l9gn6456qadnz5i5h90hafcjwnhx5mq23qjxggwvk"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/gisle/isoweek")
+    (synopsis "Objects representing a week")
+    (description "The isoweek module provide the class Week that implements
+the week definition of ISO 8601.  This standard also define a notation
+for identifying weeks; yyyyWww (where the “W” is a literal).  Week instances
+stringify to this form.")
+    (license license:bsd-3)))
+
+(define-public python2-isoweek
+  (package-with-python2 python-isoweek))
-- 
2.14.3 (Apple Git-98)





This bug report was last modified 7 years and 107 days ago.

Previous Next


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