[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/17: gnu: Update python-tzlocal to 1.2.
From: |
Leo Famulari |
Subject: |
15/17: gnu: Update python-tzlocal to 1.2. |
Date: |
Fri, 15 Jan 2016 22:16:28 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit 226d333103dd648b0efa86345da751abb763b6a4
Author: Leo Famulari <address@hidden>
Date: Tue Dec 29 06:11:33 2015 -0500
gnu: Update python-tzlocal to 1.2.
* gnu/packages/python.scm (python-tzlocal): Update to 1.2.
[source]: Use pypi-uri.
[arguments]: Remove the custom 'unpack phase.
[native-inputs]: Remove unzip, python-setuptools.
[propagated-inputs]: Add python-pytz.
---
gnu/packages/python.scm | 23 ++++-------------------
1 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2e10233..32da247 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1014,31 +1014,16 @@ doing practical, real world data analysis in Python.")
(define-public python-tzlocal
(package
(name "python-tzlocal")
- (version "1.1.1")
+ (version "1.2")
(source
(origin
(method url-fetch)
- (uri (string-append "https://pypi.python.org/packages/source/t/"
- "tzlocal/tzlocal-" version ".zip"))
+ (uri (pypi-uri "tzlocal" version))
(sha256
(base32
- "1m3y918c3chf41fwg2bx4w42bqsjzn3dyvvcmwwy13c8gj6zssv9"))))
+ "12wsw2fl3adrqrwghasld57bhqdrzn0crblqrci1p5acd0ni53s3"))))
(build-system python-build-system)
- (native-inputs
- `(("unzip" ,unzip)
- ("python-setuptools" ,python-setuptools)))
- (inputs `(("python-pytz" ,python-pytz)))
- (arguments
- `(#:phases
- (alist-replace
- 'unpack
- (lambda _
- (let ((unzip (string-append (assoc-ref %build-inputs "unzip")
- "/bin/unzip"))
- (source (assoc-ref %build-inputs "source")))
- (and (zero? (system* unzip source))
- (chdir (string-append "tzlocal-" ,version)))))
- %standard-phases)))
+ (propagated-inputs `(("python-pytz" ,python-pytz)))
(home-page "https://github.com/regebro/tzlocal")
(synopsis
"Local timezone information for Python")
- 05/17: gnu: Add python-apipkg., (continued)
- 05/17: gnu: Add python-apipkg., Leo Famulari, 2016/01/15
- 04/17: gnu: Add python-click-log., Leo Famulari, 2016/01/15
- 08/17: gnu: Add python-pytest-localserver., Leo Famulari, 2016/01/15
- 10/17: gnu: Add python-pytest-xprocess., Leo Famulari, 2016/01/15
- 09/17: gnu: Add python-wsgi-intercept., Leo Famulari, 2016/01/15
- 13/17: gnu: Add python-icalendar., Leo Famulari, 2016/01/15
- 11/17: gnu: Add radicale., Leo Famulari, 2016/01/15
- 14/17: gnu: Add python-sphinxcontrib-newsfeed., Leo Famulari, 2016/01/15
- 12/17: gnu: Add vdirsyncer., Leo Famulari, 2016/01/15
- 16/17: gnu: python-urwid: Disable failing test test_remove_watch_file., Leo Famulari, 2016/01/15
- 15/17: gnu: Update python-tzlocal to 1.2.,
Leo Famulari <=
- 17/17: gnu: Add khal., Leo Famulari, 2016/01/15