unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 15/17] gnu: Update python-tzlocal to 1.2.
Date: Thu, 7 Jan 2016 11:49:30 -0500	[thread overview]
Message-ID: <20160107164930.GF3632@jasmine> (raw)
In-Reply-To: <20160106211426.12333f16@debian-netbook>

On Wed, Jan 06, 2016 at 09:14:26PM +0200, Efraim Flashner wrote:
> On Sun,  3 Jan 2016 19:05:13 -0500
> Leo Famulari <leo@famulari.name> wrote:
> 
> > * 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 file changed, 4 insertions(+), 19 deletions(-)
> > 
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index fca11c1..4af9354 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")
> 
> This one looks good to me

Agreed, it's nice to get rid of all that.

> 
> -- 
> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted

  reply	other threads:[~2016-01-07 16:49 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-04  0:04 [PATCH 00/17] Add CalDAV and CardDAV programs Leo Famulari
2016-01-04  0:04 ` [PATCH 01/17] gnu: Add python-atomicwrites Leo Famulari
2016-01-06 19:02   ` Efraim Flashner
2016-01-07 16:48     ` Leo Famulari
2016-01-10  2:48       ` Leo Famulari
2016-01-04  0:05 ` [PATCH 02/17] gnu: Add python-requests-toolbelt Leo Famulari
2016-01-04  0:05 ` [PATCH 03/17] gnu: Add python-click-threading Leo Famulari
2016-01-06 18:48   ` Eric Bavier
2016-01-07 16:48     ` Leo Famulari
2016-01-04  0:05 ` [PATCH 04/17] gnu: Add python-click-log Leo Famulari
2016-01-06 19:04   ` Efraim Flashner
2016-01-07 16:49     ` Leo Famulari
2016-01-04  0:05 ` [PATCH 05/17] gnu: Add python-apipkg Leo Famulari
2016-01-04  0:05 ` [PATCH 06/17] gnu: Add python-execnet Leo Famulari
2016-01-06 18:57   ` Eric Bavier
2016-01-07 16:48     ` Leo Famulari
2016-01-04  0:05 ` [PATCH 07/17] gnu: Add python-pytest-cache Leo Famulari
2016-01-04  0:05 ` [PATCH 08/17] gnu: Add python-pytest-localserver Leo Famulari
2016-01-06 19:09   ` Eric Bavier
2016-01-07 16:49     ` Leo Famulari
2016-01-04  0:05 ` [PATCH 09/17] gnu: Add python-wsgi-intercept Leo Famulari
2016-01-04  0:05 ` [PATCH 10/17] gnu: Add python-pytest-xprocess Leo Famulari
2016-01-04  0:05 ` [PATCH 11/17] gnu: Add radicale Leo Famulari
2016-01-04  0:05 ` [PATCH 12/17] gnu: Add vdirsyncer Leo Famulari
2016-01-06 19:11   ` Efraim Flashner
2016-01-04  0:05 ` [PATCH 13/17] gnu: Add python-icalendar Leo Famulari
2016-01-04  0:05 ` [PATCH 14/17] gnu: Add python-sphinxcontrib-newsfeed Leo Famulari
2016-01-04  0:05 ` [PATCH 15/17] gnu: Update python-tzlocal to 1.2 Leo Famulari
2016-01-06 19:14   ` Efraim Flashner
2016-01-07 16:49     ` Leo Famulari [this message]
2016-01-04  0:05 ` [PATCH 16/17] gnu: python-urwid: Disable failing test test_remove_watch_file Leo Famulari
2016-01-04  0:05 ` [PATCH 17/17] gnu: Add khal Leo Famulari
2016-01-06 19:23   ` Efraim Flashner
2016-01-07 16:49     ` Leo Famulari
2016-01-06 19:31   ` Eric Bavier
2016-01-07 16:50     ` Leo Famulari

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=20160107164930.GF3632@jasmine \
    --to=leo@famulari.name \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@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).