unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
To: 27637@debbugs.gnu.org
Subject: [bug#27637] [PATCH 1/5] gnu: Add python-pytz
Date: Tue, 18 Jul 2017 11:37:05 +0300	[thread overview]
Message-ID: <20170718083709.5062-1-fredmanglis@gmail.com> (raw)
In-Reply-To: <CALjrZwYaq9=tb3ni7bmhLDxA+9BKpFGLGTO6qeBQy7wADdvyTg@mail.gmail.com>

* gnu/packages/package-management.scm (python-pytz, python2-pytz): New
* variables.
* Add expat license.
---
 gnu/packages/package-management.scm | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index d2e30781b..e8a401f1c 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -25,7 +25,7 @@
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
-  #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0))
+  #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat))
   #:use-module (gnu packages)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages file)
@@ -516,3 +516,28 @@ different.  It recursively unpacks archives of many kinds and transforms
 various binary formats into more human readable forms to compare them.  It can
 compare two tarballs, ISO images, or PDFs just as easily.")
     (license gpl3+)))
+
+(define-public python-pytz
+  (package
+    (name "python-pytz")
+    (version "2017.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytz" version ".zip"))
+       (sha256
+        (base32
+         "12cmd3j46d2gcw08bspvp6s9icfcvx88zjz52n1bli9dyvl5dh7m"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (home-page "http://pythonhosted.org/pytz")
+    (synopsis "World timezone definitions, modern and historical")
+    (description "This library brings the Olson tz database into Python.  It
+allows accurate and cross platform timezone calculations using Python 2.4 or
+higher.  It also solves the issue of ambiguous times at the end of daylight
+saving time.  Almost all of the Olson timezones are supported.")
+    (license expat)))
+
+(define-public python2-pytz
+  (package-with-python2 python-pytz))
-- 
2.13.2

  parent reply	other threads:[~2017-07-18  8:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10  7:29 [bug#27637] [PATCH] gnu: Add python-conda Frederick Muriithi
2017-07-11 19:32 ` Marius Bakke
2017-07-12 15:35   ` Frederick Muriithi
2017-07-13  1:47 ` [bug#27637] [PATCH 1/2] " Muriithi Frederick Muriuki
2017-07-13  1:47   ` [bug#27637] [PATCH 2/2] gnu: Add conda Muriithi Frederick Muriuki
2017-07-16 21:09     ` Marius Bakke
2017-07-17  6:17       ` Frederick Muriithi
2017-07-17 23:04         ` Marius Bakke
     [not found]           ` <CALjrZwaCshpenigzqh8qacedK09OYL0nFxeL0KGTzLvHgn5=Dg@mail.gmail.com>
     [not found]             ` <CALjrZwZ9Zcu313vXXKKZ7SooWiK1On8LDUQtw_-pcO3o8MWM4A@mail.gmail.com>
     [not found]               ` <CALjrZwbWHvkpb8bafQKfX=O0aPpF_KTFEhGohJf2JYdoPmZbHg@mail.gmail.com>
     [not found]                 ` <CALjrZwZE4WKT8d15aZAW1Et_g-Uiq3+FqVC9=dYOR87Jp+N2Bw@mail.gmail.com>
2017-07-18  7:53                   ` Frederick Muriithi
2017-07-18  8:37 ` Muriithi Frederick Muriuki [this message]
2017-07-18  8:37   ` [bug#27637] [PATCH 2/5] gnu: Add python-clyent Muriithi Frederick Muriuki
2017-07-21  5:45     ` Pjotr Prins
2017-07-18  8:37   ` [bug#27637] [PATCH 3/5] gnu: Add python-anaconda-client Muriithi Frederick Muriuki
2017-07-21  5:45     ` Pjotr Prins
2017-07-18  8:37   ` [bug#27637] [PATCH 4/5] gnu: Add python-conda Muriithi Frederick Muriuki
2017-07-21  5:46     ` Pjotr Prins
2017-07-18  8:37   ` [bug#27637] [PATCH 5/5] gnu: Add conda Muriithi Frederick Muriuki
2017-07-21  5:48     ` Pjotr Prins
2017-07-22  8:39       ` Ricardo Wurmus
2017-07-22  9:49         ` bug#27637: " Ricardo Wurmus
2017-07-22 10:27           ` [bug#27637] " Ricardo Wurmus
2017-07-22 21:07             ` Pjotr Prins
2017-07-21  5:44   ` [bug#27637] [PATCH 1/5] gnu: Add python-pytz Pjotr Prins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170718083709.5062-1-fredmanglis@gmail.com \
    --to=fredmanglis@gmail.com \
    --cc=27637@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).